@bagelink/vue 0.0.1236 → 0.0.1238
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.
- package/dist/components/Calendar/components/header/Header.vue.d.ts.map +1 -1
- package/dist/components/Calendar/components/month/AgendaEvents.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/Upload/upload.d.ts +1 -0
- package/dist/components/form/inputs/Upload/upload.d.ts.map +1 -1
- package/dist/index.cjs +16 -12
- package/dist/index.mjs +16 -12
- package/dist/style.css +53 -43
- package/package.json +1 -1
- package/src/components/Calendar/components/header/Header.vue +4 -3
- package/src/components/Calendar/components/month/AgendaEvents.vue +16 -5
- package/src/components/Calendar/components/month/Month.vue +1 -1
- package/src/components/Calendar/components/week/WeekTimeline.vue +4 -4
- package/src/components/form/inputs/Upload/UploadInput.vue +4 -4
- package/src/components/form/inputs/Upload/upload.ts +11 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/components/header/Header.vue"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"Header.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/components/header/Header.vue"],"names":[],"mappings":"AAAA,OA2JO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,IAAI,MAAM,oBAAoB,CAAA;AAC1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AACrE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAA;AAChF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;;;cA4SjC,QAAQ,CAAC,eAAe,CAAC;;;;cAIzB,QAAQ,CAAC,QAAQ,CAAC;;;;cAIlB,QAAQ,CAAC,IAAI,CAAC;;;;cAId,QAAQ,CAAC,eAAe,CAAC;;;;;;;;;;;;cAZzB,QAAQ,CAAC,eAAe,CAAC;;;;cAIzB,QAAQ,CAAC,QAAQ,CAAC;;;;cAIlB,QAAQ,CAAC,IAAI,CAAC;;;;cAId,QAAQ,CAAC,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AApB3C,wBA8BG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgendaEvents.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/components/month/AgendaEvents.vue"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"AgendaEvents.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/components/month/AgendaEvents.vue"],"names":[],"mappings":"AAAA,OA0EO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,IAAI,MAAM,oBAAoB,CAAA;AAC1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAA;;;cA+IxD,QAAQ,CAAC,eAAe,CAAC;;;;cAIzB,QAAQ,CAAC,IAAI,CAAC;;;;cAId,QAAQ,CAAC,YAAY,CAAC;;;;;;;cARtB,QAAQ,CAAC,eAAe,CAAC;;;;cAIzB,QAAQ,CAAC,IAAI,CAAC;;;;cAId,QAAQ,CAAC,YAAY,CAAC;;;;;;AAhBxC,wBAqBG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/inputs/Upload/upload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAG/E,eAAO,MAAM,KAAK;2BACM,MAAM;
|
|
1
|
+
{"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/inputs/Upload/upload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAG/E,eAAO,MAAM,KAAK;2BACM,MAAM;oBAMP,MAAM,KAAG,OAAO,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;wBAEpC,YAAY,YAAY,MAAM,KAAG,OAAO,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;uBAEjE,MAAM;mBAEV,IAAI,YAAY,aAAa,GAAG;QAAE,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,KAAG,OAAO,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;qBAWrG,MAAM,KAAG,OAAO,CAAC,aAAa,CAAC,OAAO,EAAE,CAAC,CAAC;CAGjE,CAAA"}
|
package/dist/index.cjs
CHANGED
|
@@ -801,7 +801,7 @@ function translate(key, locale2 = "en-US") {
|
|
|
801
801
|
return language[locale2] || key;
|
|
802
802
|
}
|
|
803
803
|
const _hoisted_1$13 = { class: "flex gap-05 space-between pb-1 datePick" };
|
|
804
|
-
const _hoisted_2$O = { class: "flex gap-1" };
|
|
804
|
+
const _hoisted_2$O = { class: "flex gap-1 m_gap-025" };
|
|
805
805
|
const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
|
|
806
806
|
__name: "Header",
|
|
807
807
|
props: {
|
|
@@ -912,7 +912,7 @@ const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
|
|
|
912
912
|
_cache[1] || (_cache[1] = ($event) => currentPeriod.value.selectedDate = $event),
|
|
913
913
|
handlePeriodChange
|
|
914
914
|
],
|
|
915
|
-
class: "m-0 bg-input-transparent m_w-max-
|
|
915
|
+
class: "m-0 bg-input-transparent m_w-max-100px txt10 p-0",
|
|
916
916
|
mode: __props.mode,
|
|
917
917
|
center: ""
|
|
918
918
|
}, null, 8, ["modelValue", "mode"]),
|
|
@@ -1062,14 +1062,14 @@ const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
|
|
|
1062
1062
|
}
|
|
1063
1063
|
});
|
|
1064
1064
|
const AgendaEventTile = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-7667cd3d"]]);
|
|
1065
|
-
const _hoisted_1$11 = { class: "agenda__wrapper
|
|
1065
|
+
const _hoisted_1$11 = { class: "agenda__wrapper grid align-items-start gap-1 h-100p" };
|
|
1066
1066
|
const _hoisted_2$M = { class: "" };
|
|
1067
1067
|
const _hoisted_3$C = { class: "agenda__header-day-name txt-center" };
|
|
1068
1068
|
const _hoisted_4$q = { class: "agenda__header-date flex justify-content-center rounded p-025 txt24 line-height-04" };
|
|
1069
|
-
const _hoisted_5$m = { class: "agenda__content flex column w-100p h-100p min-h-100px pt-05" };
|
|
1069
|
+
const _hoisted_5$m = { class: "agenda__content flex column w-100p h-100p min-h-100px pt-05 border-start ps-1" };
|
|
1070
1070
|
const _hoisted_6$i = {
|
|
1071
1071
|
key: 0,
|
|
1072
|
-
class: "align-items-center flex justify-content-center h-100p"
|
|
1072
|
+
class: "align-items-center flex justify-content-center h-100p opacity-6"
|
|
1073
1073
|
};
|
|
1074
1074
|
const _hoisted_7$d = {
|
|
1075
1075
|
key: 1,
|
|
@@ -1118,6 +1118,7 @@ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
|
|
|
1118
1118
|
};
|
|
1119
1119
|
}
|
|
1120
1120
|
});
|
|
1121
|
+
const AgendaEvents = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-01274c4e"]]);
|
|
1121
1122
|
class EDate extends Date {
|
|
1122
1123
|
get fullYear() {
|
|
1123
1124
|
return this.getFullYear();
|
|
@@ -2504,7 +2505,7 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2504
2505
|
}), 128))
|
|
2505
2506
|
]),
|
|
2506
2507
|
!(((_a2 = __props.config.month) == null ? void 0 : _a2.showEventsOnMobileView) === false) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$m, [
|
|
2507
|
-
selectedDay.value ? (vue.openBlock(), vue.createBlock(
|
|
2508
|
+
selectedDay.value ? (vue.openBlock(), vue.createBlock(AgendaEvents, {
|
|
2508
2509
|
key: 0,
|
|
2509
2510
|
config: __props.config,
|
|
2510
2511
|
time: __props.time,
|
|
@@ -3433,7 +3434,7 @@ const _hoisted_1$T = {
|
|
|
3433
3434
|
style: { "margin-inline-end": "0.5em" }
|
|
3434
3435
|
};
|
|
3435
3436
|
const _hoisted_2$E = ["onClick"];
|
|
3436
|
-
const _hoisted_3$w = { class: "flex justify-content-center gap-025 txt12" };
|
|
3437
|
+
const _hoisted_3$w = { class: "flex justify-content-center gap-025 txt12 pb-025" };
|
|
3437
3438
|
const _hoisted_4$k = { class: "" };
|
|
3438
3439
|
const _hoisted_5$i = { class: "week-timeline__date txt14 round inline-flex justify-content-center" };
|
|
3439
3440
|
const _hoisted_6$f = { class: "week-timeline__events" };
|
|
@@ -3490,7 +3491,7 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3490
3491
|
};
|
|
3491
3492
|
}
|
|
3492
3493
|
});
|
|
3493
|
-
const WeekTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-
|
|
3494
|
+
const WeekTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-18ecf6c3"]]);
|
|
3494
3495
|
const _hoisted_1$S = { class: "calendar-week__wrapper relative ps-3-5" };
|
|
3495
3496
|
const _hoisted_2$D = { class: "calendar-week" };
|
|
3496
3497
|
const _hoisted_3$v = { class: "calendar-week__events" };
|
|
@@ -4055,7 +4056,7 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
|
4055
4056
|
onChangeMode: handleChangeMode,
|
|
4056
4057
|
onUpdatedPeriod: handleUpdatedPeriod
|
|
4057
4058
|
}, null, 8, ["config", "mode", "time", "period", "is-small"])),
|
|
4058
|
-
mode.value === "agenda" ? (vue.openBlock(), vue.createBlock(
|
|
4059
|
+
mode.value === "agenda" ? (vue.openBlock(), vue.createBlock(AgendaEvents, {
|
|
4059
4060
|
key: 0,
|
|
4060
4061
|
"events-prop": eventsDataProperty.value,
|
|
4061
4062
|
period: period.value,
|
|
@@ -35880,6 +35881,9 @@ const files = {
|
|
|
35880
35881
|
onUploadProgress: options == null ? void 0 : options.onUploadProgress,
|
|
35881
35882
|
params: { dir_path: options == null ? void 0 : options.dirPath, tags: options == null ? void 0 : options.tags }
|
|
35882
35883
|
});
|
|
35884
|
+
},
|
|
35885
|
+
list: async (dirPath) => {
|
|
35886
|
+
return axios$1.get("/files_v2/list", { params: { dir_path: dirPath } });
|
|
35883
35887
|
}
|
|
35884
35888
|
};
|
|
35885
35889
|
const _hoisted_1$l = { class: "bagel-input" };
|
|
@@ -36022,11 +36026,11 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
36022
36026
|
isDragOver.value = false;
|
|
36023
36027
|
}
|
|
36024
36028
|
if (props2.dirPath) {
|
|
36025
|
-
files.
|
|
36029
|
+
files.list(props2.dirPath).then((response) => storageFiles.value.push(...[response.data].flat())).catch(console.error);
|
|
36026
36030
|
}
|
|
36027
36031
|
vue.watch(() => props2.dirPath, () => {
|
|
36028
36032
|
if (props2.dirPath) {
|
|
36029
|
-
files.
|
|
36033
|
+
files.list(props2.dirPath).then((response) => storageFiles.value.push(...[response.data].flat())).catch(console.error);
|
|
36030
36034
|
}
|
|
36031
36035
|
});
|
|
36032
36036
|
return (_ctx, _cache) => {
|
|
@@ -36264,7 +36268,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
36264
36268
|
};
|
|
36265
36269
|
}
|
|
36266
36270
|
});
|
|
36267
|
-
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-
|
|
36271
|
+
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-67dd9abe"]]);
|
|
36268
36272
|
const FONT_AWESOME_ICONS = [
|
|
36269
36273
|
"trash-can",
|
|
36270
36274
|
"message",
|
package/dist/index.mjs
CHANGED
|
@@ -799,7 +799,7 @@ function translate(key, locale2 = "en-US") {
|
|
|
799
799
|
return language[locale2] || key;
|
|
800
800
|
}
|
|
801
801
|
const _hoisted_1$13 = { class: "flex gap-05 space-between pb-1 datePick" };
|
|
802
|
-
const _hoisted_2$O = { class: "flex gap-1" };
|
|
802
|
+
const _hoisted_2$O = { class: "flex gap-1 m_gap-025" };
|
|
803
803
|
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
804
804
|
__name: "Header",
|
|
805
805
|
props: {
|
|
@@ -910,7 +910,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
910
910
|
_cache[1] || (_cache[1] = ($event) => currentPeriod.value.selectedDate = $event),
|
|
911
911
|
handlePeriodChange
|
|
912
912
|
],
|
|
913
|
-
class: "m-0 bg-input-transparent m_w-max-
|
|
913
|
+
class: "m-0 bg-input-transparent m_w-max-100px txt10 p-0",
|
|
914
914
|
mode: __props.mode,
|
|
915
915
|
center: ""
|
|
916
916
|
}, null, 8, ["modelValue", "mode"]),
|
|
@@ -1060,14 +1060,14 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
1060
1060
|
}
|
|
1061
1061
|
});
|
|
1062
1062
|
const AgendaEventTile = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-7667cd3d"]]);
|
|
1063
|
-
const _hoisted_1$11 = { class: "agenda__wrapper
|
|
1063
|
+
const _hoisted_1$11 = { class: "agenda__wrapper grid align-items-start gap-1 h-100p" };
|
|
1064
1064
|
const _hoisted_2$M = { class: "" };
|
|
1065
1065
|
const _hoisted_3$C = { class: "agenda__header-day-name txt-center" };
|
|
1066
1066
|
const _hoisted_4$q = { class: "agenda__header-date flex justify-content-center rounded p-025 txt24 line-height-04" };
|
|
1067
|
-
const _hoisted_5$m = { class: "agenda__content flex column w-100p h-100p min-h-100px pt-05" };
|
|
1067
|
+
const _hoisted_5$m = { class: "agenda__content flex column w-100p h-100p min-h-100px pt-05 border-start ps-1" };
|
|
1068
1068
|
const _hoisted_6$i = {
|
|
1069
1069
|
key: 0,
|
|
1070
|
-
class: "align-items-center flex justify-content-center h-100p"
|
|
1070
|
+
class: "align-items-center flex justify-content-center h-100p opacity-6"
|
|
1071
1071
|
};
|
|
1072
1072
|
const _hoisted_7$d = {
|
|
1073
1073
|
key: 1,
|
|
@@ -1116,6 +1116,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
1116
1116
|
};
|
|
1117
1117
|
}
|
|
1118
1118
|
});
|
|
1119
|
+
const AgendaEvents = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-01274c4e"]]);
|
|
1119
1120
|
class EDate extends Date {
|
|
1120
1121
|
get fullYear() {
|
|
1121
1122
|
return this.getFullYear();
|
|
@@ -2502,7 +2503,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
2502
2503
|
}), 128))
|
|
2503
2504
|
]),
|
|
2504
2505
|
!(((_a2 = __props.config.month) == null ? void 0 : _a2.showEventsOnMobileView) === false) ? (openBlock(), createElementBlock("div", _hoisted_4$m, [
|
|
2505
|
-
selectedDay.value ? (openBlock(), createBlock(
|
|
2506
|
+
selectedDay.value ? (openBlock(), createBlock(AgendaEvents, {
|
|
2506
2507
|
key: 0,
|
|
2507
2508
|
config: __props.config,
|
|
2508
2509
|
time: __props.time,
|
|
@@ -3431,7 +3432,7 @@ const _hoisted_1$T = {
|
|
|
3431
3432
|
style: { "margin-inline-end": "0.5em" }
|
|
3432
3433
|
};
|
|
3433
3434
|
const _hoisted_2$E = ["onClick"];
|
|
3434
|
-
const _hoisted_3$w = { class: "flex justify-content-center gap-025 txt12" };
|
|
3435
|
+
const _hoisted_3$w = { class: "flex justify-content-center gap-025 txt12 pb-025" };
|
|
3435
3436
|
const _hoisted_4$k = { class: "" };
|
|
3436
3437
|
const _hoisted_5$i = { class: "week-timeline__date txt14 round inline-flex justify-content-center" };
|
|
3437
3438
|
const _hoisted_6$f = { class: "week-timeline__events" };
|
|
@@ -3488,7 +3489,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
3488
3489
|
};
|
|
3489
3490
|
}
|
|
3490
3491
|
});
|
|
3491
|
-
const WeekTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-
|
|
3492
|
+
const WeekTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-18ecf6c3"]]);
|
|
3492
3493
|
const _hoisted_1$S = { class: "calendar-week__wrapper relative ps-3-5" };
|
|
3493
3494
|
const _hoisted_2$D = { class: "calendar-week" };
|
|
3494
3495
|
const _hoisted_3$v = { class: "calendar-week__events" };
|
|
@@ -4053,7 +4054,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
4053
4054
|
onChangeMode: handleChangeMode,
|
|
4054
4055
|
onUpdatedPeriod: handleUpdatedPeriod
|
|
4055
4056
|
}, null, 8, ["config", "mode", "time", "period", "is-small"])),
|
|
4056
|
-
mode.value === "agenda" ? (openBlock(), createBlock(
|
|
4057
|
+
mode.value === "agenda" ? (openBlock(), createBlock(AgendaEvents, {
|
|
4057
4058
|
key: 0,
|
|
4058
4059
|
"events-prop": eventsDataProperty.value,
|
|
4059
4060
|
period: period.value,
|
|
@@ -35878,6 +35879,9 @@ const files = {
|
|
|
35878
35879
|
onUploadProgress: options == null ? void 0 : options.onUploadProgress,
|
|
35879
35880
|
params: { dir_path: options == null ? void 0 : options.dirPath, tags: options == null ? void 0 : options.tags }
|
|
35880
35881
|
});
|
|
35882
|
+
},
|
|
35883
|
+
list: async (dirPath) => {
|
|
35884
|
+
return axios$1.get("/files_v2/list", { params: { dir_path: dirPath } });
|
|
35881
35885
|
}
|
|
35882
35886
|
};
|
|
35883
35887
|
const _hoisted_1$l = { class: "bagel-input" };
|
|
@@ -36020,11 +36024,11 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
36020
36024
|
isDragOver.value = false;
|
|
36021
36025
|
}
|
|
36022
36026
|
if (props2.dirPath) {
|
|
36023
|
-
files.
|
|
36027
|
+
files.list(props2.dirPath).then((response) => storageFiles.value.push(...[response.data].flat())).catch(console.error);
|
|
36024
36028
|
}
|
|
36025
36029
|
watch(() => props2.dirPath, () => {
|
|
36026
36030
|
if (props2.dirPath) {
|
|
36027
|
-
files.
|
|
36031
|
+
files.list(props2.dirPath).then((response) => storageFiles.value.push(...[response.data].flat())).catch(console.error);
|
|
36028
36032
|
}
|
|
36029
36033
|
});
|
|
36030
36034
|
return (_ctx, _cache) => {
|
|
@@ -36262,7 +36266,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
36262
36266
|
};
|
|
36263
36267
|
}
|
|
36264
36268
|
});
|
|
36265
|
-
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-
|
|
36269
|
+
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-67dd9abe"]]);
|
|
36266
36270
|
const FONT_AWESOME_ICONS = [
|
|
36267
36271
|
"trash-can",
|
|
36268
36272
|
"message",
|
package/dist/style.css
CHANGED
|
@@ -316,6 +316,7 @@ display: block;
|
|
|
316
316
|
@media screen and (max-width: 910px) {
|
|
317
317
|
.datePick{
|
|
318
318
|
--input-font-size: 0.75rem;
|
|
319
|
+
--btn-padding: 20px;
|
|
319
320
|
}
|
|
320
321
|
}
|
|
321
322
|
|
|
@@ -324,6 +325,15 @@ display: block;
|
|
|
324
325
|
color: var(--13d56971);
|
|
325
326
|
}
|
|
326
327
|
|
|
328
|
+
.agenda__wrapper[data-v-01274c4e] {
|
|
329
|
+
grid-template-columns: 100px 1fr;
|
|
330
|
+
}
|
|
331
|
+
@media screen and (max-width: 910px) {
|
|
332
|
+
.agenda__wrapper[data-v-01274c4e] {
|
|
333
|
+
grid-template-columns: 40px 1fr;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
327
337
|
.event-flyout {
|
|
328
338
|
position: fixed;
|
|
329
339
|
z-index: 50;
|
|
@@ -646,26 +656,26 @@ display: block;
|
|
|
646
656
|
cursor: not-allowed;
|
|
647
657
|
}
|
|
648
658
|
|
|
649
|
-
.week-timeline[data-v-
|
|
659
|
+
.week-timeline[data-v-18ecf6c3] {
|
|
650
660
|
height: fit-content;
|
|
651
661
|
display: flex;
|
|
652
662
|
justify-content: space-evenly;
|
|
653
663
|
}
|
|
654
|
-
.mode-is-day .week-timeline[data-v-
|
|
655
|
-
width: calc(100% - 3.5em);
|
|
664
|
+
.mode-is-day .week-timeline[data-v-18ecf6c3] {
|
|
665
|
+
/* width: calc(100% - 3.5em); */
|
|
656
666
|
}
|
|
657
|
-
.week-timeline__day[data-v-
|
|
667
|
+
.week-timeline__day[data-v-18ecf6c3] {
|
|
658
668
|
width: 100%;
|
|
659
669
|
}
|
|
660
|
-
.week-timeline__date[data-v-
|
|
661
|
-
height:
|
|
662
|
-
width:
|
|
670
|
+
.week-timeline__date[data-v-18ecf6c3] {
|
|
671
|
+
height: 1.5rem;
|
|
672
|
+
width: 1.5rem;
|
|
663
673
|
}
|
|
664
|
-
.is-today .week-timeline__date[data-v-
|
|
674
|
+
.is-today .week-timeline__date[data-v-18ecf6c3] {
|
|
665
675
|
background: var(--bgl-primary);
|
|
666
676
|
color: var(--bgl-white);
|
|
667
677
|
}
|
|
668
|
-
.week-timeline__events[data-v-
|
|
678
|
+
.week-timeline__events[data-v-18ecf6c3] {
|
|
669
679
|
}
|
|
670
680
|
|
|
671
681
|
.calendar-week__wrapper[data-v-f1208dd2] {
|
|
@@ -2454,7 +2464,7 @@ line-height: 1.65;
|
|
|
2454
2464
|
.bgl-toggle input:checked + label[data-v-ebe691ee] {
|
|
2455
2465
|
color: var(--bgl-primary) !important;
|
|
2456
2466
|
}
|
|
2457
|
-
.fileUploadWrap[data-v-
|
|
2467
|
+
.fileUploadWrap[data-v-67dd9abe] {
|
|
2458
2468
|
outline: 1px solid var(--border-color);
|
|
2459
2469
|
border-radius: var(--input-border-radius);
|
|
2460
2470
|
text-align: center;
|
|
@@ -2466,7 +2476,7 @@ line-height: 1.65;
|
|
|
2466
2476
|
background: var(--input-bg);
|
|
2467
2477
|
height: 215px;
|
|
2468
2478
|
}
|
|
2469
|
-
.bagel-input .fileUploadWrap.fileDropZone[data-v-
|
|
2479
|
+
.bagel-input .fileUploadWrap.fileDropZone[data-v-67dd9abe] {
|
|
2470
2480
|
background: var(--input-bg);
|
|
2471
2481
|
display: flex;
|
|
2472
2482
|
align-items: center;
|
|
@@ -2474,14 +2484,14 @@ line-height: 1.65;
|
|
|
2474
2484
|
color: var(--bgl-gray);
|
|
2475
2485
|
flex-direction: column;
|
|
2476
2486
|
}
|
|
2477
|
-
.fileUploadWrap.dragover[data-v-
|
|
2478
|
-
.fileUploadWrap[data-v-
|
|
2487
|
+
.fileUploadWrap.dragover[data-v-67dd9abe],
|
|
2488
|
+
.fileUploadWrap[data-v-67dd9abe]:hover {
|
|
2479
2489
|
box-shadow: inset 0 0 10px #00000012;
|
|
2480
2490
|
}
|
|
2481
|
-
.fileUploadWrap[style*='height: auto;'][data-v-
|
|
2491
|
+
.fileUploadWrap[style*='height: auto;'][data-v-67dd9abe] {
|
|
2482
2492
|
min-height: 215px;
|
|
2483
2493
|
}
|
|
2484
|
-
.multi-image-item-preview[data-v-
|
|
2494
|
+
.multi-image-item-preview[data-v-67dd9abe] {
|
|
2485
2495
|
border: 1px solid var(--border-color) !important;
|
|
2486
2496
|
border-radius: var(--input-border-radius);
|
|
2487
2497
|
margin: 0.5rem !important;
|
|
@@ -2495,12 +2505,12 @@ line-height: 1.65;
|
|
|
2495
2505
|
gap: 1rem;
|
|
2496
2506
|
align-items: center;
|
|
2497
2507
|
}
|
|
2498
|
-
.multi-image-item-preview p[data-v-
|
|
2508
|
+
.multi-image-item-preview p[data-v-67dd9abe] {
|
|
2499
2509
|
overflow: hidden;
|
|
2500
2510
|
text-overflow: ellipsis;
|
|
2501
2511
|
white-space: nowrap;
|
|
2502
2512
|
}
|
|
2503
|
-
.multi-preview[data-v-
|
|
2513
|
+
.multi-preview[data-v-67dd9abe] {
|
|
2504
2514
|
width: 40px;
|
|
2505
2515
|
height: 40px;
|
|
2506
2516
|
border-radius: var(--input-border-radius);
|
|
@@ -2511,17 +2521,17 @@ line-height: 1.65;
|
|
|
2511
2521
|
align-items: center;
|
|
2512
2522
|
display: flex;
|
|
2513
2523
|
}
|
|
2514
|
-
.bgl-single-preview[data-v-
|
|
2524
|
+
.bgl-single-preview[data-v-67dd9abe] {
|
|
2515
2525
|
height: 100%;
|
|
2516
2526
|
position: relative;
|
|
2517
2527
|
}
|
|
2518
|
-
.bgl-single-preview + .fileUploadPlaceHolder[data-v-
|
|
2528
|
+
.bgl-single-preview + .fileUploadPlaceHolder[data-v-67dd9abe] {
|
|
2519
2529
|
position: absolute;
|
|
2520
2530
|
inset: 0;
|
|
2521
2531
|
margin: auto;
|
|
2522
2532
|
top: calc(50% - 2rem);
|
|
2523
2533
|
}
|
|
2524
|
-
.single-image-item-preview[data-v-
|
|
2534
|
+
.single-image-item-preview[data-v-67dd9abe] {
|
|
2525
2535
|
height: 100%;
|
|
2526
2536
|
min-height: 100%;
|
|
2527
2537
|
position: relative;
|
|
@@ -2529,13 +2539,13 @@ line-height: 1.65;
|
|
|
2529
2539
|
align-items: center;
|
|
2530
2540
|
justify-content: center;
|
|
2531
2541
|
}
|
|
2532
|
-
.fileUploadWrap[style*='height: auto'] .single-image-item-preview[data-v-
|
|
2542
|
+
.fileUploadWrap[style*='height: auto'] .single-image-item-preview[data-v-67dd9abe] {
|
|
2533
2543
|
min-height: 215px;
|
|
2534
2544
|
}
|
|
2535
|
-
.fileUploadWrap[style*='height: auto'] .single-preview[data-v-
|
|
2545
|
+
.fileUploadWrap[style*='height: auto'] .single-preview[data-v-67dd9abe] {
|
|
2536
2546
|
margin: 0rem !important;
|
|
2537
2547
|
}
|
|
2538
|
-
.single-preview[data-v-
|
|
2548
|
+
.single-preview[data-v-67dd9abe] {
|
|
2539
2549
|
border-radius: var(--input-border-radius);
|
|
2540
2550
|
margin: 1rem;
|
|
2541
2551
|
padding: 0px;
|
|
@@ -2545,7 +2555,7 @@ line-height: 1.65;
|
|
|
2545
2555
|
background: var(--bgl-gray-light);
|
|
2546
2556
|
width: 90%;
|
|
2547
2557
|
}
|
|
2548
|
-
.single-image-item-preview[data-v-
|
|
2558
|
+
.single-image-item-preview[data-v-67dd9abe]:hover::after {
|
|
2549
2559
|
content: 'zoom_in';
|
|
2550
2560
|
font-size: 32px;
|
|
2551
2561
|
font-family: 'Material Symbols Outlined', serif;
|
|
@@ -2555,20 +2565,20 @@ line-height: 1.65;
|
|
|
2555
2565
|
z-index: 9;
|
|
2556
2566
|
pointer-events: none;
|
|
2557
2567
|
}
|
|
2558
|
-
.single-image-item-preview:hover img[data-v-
|
|
2568
|
+
.single-image-item-preview:hover img[data-v-67dd9abe] {
|
|
2559
2569
|
filter: brightness(70%);
|
|
2560
2570
|
}
|
|
2561
|
-
.bgl_fill-image.single-image-item-preview[data-v-
|
|
2571
|
+
.bgl_fill-image.single-image-item-preview[data-v-67dd9abe] {
|
|
2562
2572
|
height: 100%;
|
|
2563
2573
|
}
|
|
2564
|
-
.bgl_fill-image.single-image-item-preview .single-preview[data-v-
|
|
2574
|
+
.bgl_fill-image.single-image-item-preview .single-preview[data-v-67dd9abe] {
|
|
2565
2575
|
border-radius: unset;
|
|
2566
2576
|
object-fit: cover;
|
|
2567
2577
|
box-shadow: unset;
|
|
2568
2578
|
width: 100%;
|
|
2569
2579
|
height: auto;
|
|
2570
2580
|
}
|
|
2571
|
-
.single-image-item-preview .pie[data-v-
|
|
2581
|
+
.single-image-item-preview .pie[data-v-67dd9abe] {
|
|
2572
2582
|
transform-origin: top;
|
|
2573
2583
|
transform: scale(1.4);
|
|
2574
2584
|
position: absolute;
|
|
@@ -2582,31 +2592,31 @@ line-height: 1.65;
|
|
|
2582
2592
|
border: none !important;
|
|
2583
2593
|
padding: 0 !important;
|
|
2584
2594
|
}
|
|
2585
|
-
.bgl_oval-upload[data-v-
|
|
2595
|
+
.bgl_oval-upload[data-v-67dd9abe] {
|
|
2586
2596
|
border-radius: 100% !important;
|
|
2587
2597
|
overflow: hidden;
|
|
2588
2598
|
}
|
|
2589
|
-
.bgl_oval-upload p[data-v-
|
|
2599
|
+
.bgl_oval-upload p[data-v-67dd9abe] {
|
|
2590
2600
|
padding: 0.75rem !important;
|
|
2591
2601
|
font-size: 12px;
|
|
2592
2602
|
}
|
|
2593
|
-
.bgl_oval-upload .fileUploadPlaceHolder[data-v-
|
|
2603
|
+
.bgl_oval-upload .fileUploadPlaceHolder[data-v-67dd9abe] {
|
|
2594
2604
|
top: 0;
|
|
2595
2605
|
}
|
|
2596
|
-
.bgl_oval-upload .pie[data-v-
|
|
2606
|
+
.bgl_oval-upload .pie[data-v-67dd9abe] {
|
|
2597
2607
|
transform: scale(1);
|
|
2598
2608
|
}
|
|
2599
|
-
.bgl_oval-upload span.bgl_icon-font.color-primary[data-v-
|
|
2609
|
+
.bgl_oval-upload span.bgl_icon-font.color-primary[data-v-67dd9abe] {
|
|
2600
2610
|
transform: scale(0.4) !important;
|
|
2601
2611
|
}
|
|
2602
|
-
.bgl_oval-upload .single-image-item-preview[data-v-
|
|
2612
|
+
.bgl_oval-upload .single-image-item-preview[data-v-67dd9abe] {
|
|
2603
2613
|
height: 100%;
|
|
2604
2614
|
}
|
|
2605
|
-
.bgl_oval-upload .single-preview[data-v-
|
|
2615
|
+
.bgl_oval-upload .single-preview[data-v-67dd9abe] {
|
|
2606
2616
|
margin: 0;
|
|
2607
2617
|
height: 100% !important;
|
|
2608
2618
|
}
|
|
2609
|
-
.pie[data-v-
|
|
2619
|
+
.pie[data-v-67dd9abe] {
|
|
2610
2620
|
width: 30px;
|
|
2611
2621
|
height: 30px;
|
|
2612
2622
|
position: relative;
|
|
@@ -2614,7 +2624,7 @@ line-height: 1.65;
|
|
|
2614
2624
|
align-items: center;
|
|
2615
2625
|
justify-content: center;
|
|
2616
2626
|
}
|
|
2617
|
-
.pie[data-v-
|
|
2627
|
+
.pie[data-v-67dd9abe]:before {
|
|
2618
2628
|
content: '';
|
|
2619
2629
|
position: absolute;
|
|
2620
2630
|
border-radius: 50%;
|
|
@@ -2632,26 +2642,26 @@ line-height: 1.65;
|
|
|
2632
2642
|
#000 calc(100% - var(--b))
|
|
2633
2643
|
);
|
|
2634
2644
|
}
|
|
2635
|
-
.pie .success[data-v-
|
|
2645
|
+
.pie .success[data-v-67dd9abe] {
|
|
2636
2646
|
transform: scale(0);
|
|
2637
2647
|
opacity: 0;
|
|
2638
2648
|
transition: all 0.3s ease-in-out;
|
|
2639
2649
|
}
|
|
2640
|
-
.pie .progress[data-v-
|
|
2650
|
+
.pie .progress[data-v-67dd9abe] {
|
|
2641
2651
|
position: absolute;
|
|
2642
2652
|
font-size: 10px;
|
|
2643
2653
|
}
|
|
2644
|
-
.pie.complete .progress[data-v-
|
|
2654
|
+
.pie.complete .progress[data-v-67dd9abe] {
|
|
2645
2655
|
display: none;
|
|
2646
2656
|
}
|
|
2647
|
-
.pie.complete .success[data-v-
|
|
2657
|
+
.pie.complete .success[data-v-67dd9abe] {
|
|
2648
2658
|
transform: scale(1.3);
|
|
2649
2659
|
opacity: 1;
|
|
2650
2660
|
}
|
|
2651
|
-
.pie.complete[data-v-
|
|
2661
|
+
.pie.complete[data-v-67dd9abe]:before {
|
|
2652
2662
|
background: conic-gradient(var(--bgl-green) calc(var(--p) * 1%), #0000 0);
|
|
2653
2663
|
}
|
|
2654
|
-
.pie.complete[data-v-
|
|
2664
|
+
.pie.complete[data-v-67dd9abe] {
|
|
2655
2665
|
color: var(--bgl-green);
|
|
2656
2666
|
}
|
|
2657
2667
|
|
package/package.json
CHANGED
|
@@ -124,12 +124,12 @@ function goToPeriod(direction: 'previous' | 'next') {
|
|
|
124
124
|
|
|
125
125
|
<template>
|
|
126
126
|
<div class="flex gap-05 space-between pb-1 datePick">
|
|
127
|
-
<div class="flex gap-1">
|
|
127
|
+
<div class="flex gap-1 m_gap-025">
|
|
128
128
|
<Btn flat icon="chevron_left" @click="goToPeriod('previous')" />
|
|
129
129
|
<DatePick
|
|
130
130
|
ref="periodSelect"
|
|
131
131
|
v-model="currentPeriod.selectedDate"
|
|
132
|
-
class="m-0 bg-input-transparent m_w-max-
|
|
132
|
+
class="m-0 bg-input-transparent m_w-max-100px txt10 p-0"
|
|
133
133
|
:mode="mode"
|
|
134
134
|
center
|
|
135
135
|
@update:modelValue="handlePeriodChange"
|
|
@@ -147,6 +147,7 @@ function goToPeriod(direction: 'previous' | 'next') {
|
|
|
147
147
|
@media screen and (max-width: 910px) {
|
|
148
148
|
.datePick{
|
|
149
149
|
--input-font-size: 0.75rem;
|
|
150
|
-
|
|
150
|
+
--btn-padding: 20px;
|
|
151
|
+
}
|
|
151
152
|
}
|
|
152
153
|
</style>
|
|
@@ -25,20 +25,20 @@ const emit = defineEmits(['eventWasClicked'])
|
|
|
25
25
|
</script>
|
|
26
26
|
|
|
27
27
|
<template>
|
|
28
|
-
<div class="agenda__wrapper
|
|
28
|
+
<div class="agenda__wrapper grid align-items-start gap-1 h-100p ">
|
|
29
29
|
<header class="">
|
|
30
|
-
<div class="agenda__header-day-name txt-center">
|
|
30
|
+
<div class="agenda__header-day-name txt-center ">
|
|
31
31
|
{{ day.dayName }}
|
|
32
32
|
</div>
|
|
33
|
-
<div class="agenda__header-date flex justify-content-center rounded p-025 txt24 line-height-04">
|
|
33
|
+
<div class="agenda__header-date flex justify-content-center rounded p-025 txt24 line-height-04 ">
|
|
34
34
|
<!-- Here we want to display leading zero for days 1-9, in order to prevent layout shifts -->
|
|
35
35
|
{{ day.dateTimeString.substring(8, 10) }}
|
|
36
36
|
</div>
|
|
37
37
|
</header>
|
|
38
|
-
<div class="agenda__content flex column w-100p h-100p min-h-100px pt-05">
|
|
38
|
+
<div class="agenda__content flex column w-100p h-100p min-h-100px pt-05 border-start ps-1">
|
|
39
39
|
<div
|
|
40
40
|
v-if="day.events.length === 0"
|
|
41
|
-
class="align-items-center flex justify-content-center h-100p"
|
|
41
|
+
class="align-items-center flex justify-content-center h-100p opacity-6"
|
|
42
42
|
>
|
|
43
43
|
{{ getLanguage(languageKeys.noEvent, time.CALENDAR_LOCALE) }}
|
|
44
44
|
</div>
|
|
@@ -59,3 +59,14 @@ const emit = defineEmits(['eventWasClicked'])
|
|
|
59
59
|
</div>
|
|
60
60
|
</div>
|
|
61
61
|
</template>
|
|
62
|
+
|
|
63
|
+
<style scoped>
|
|
64
|
+
.agenda__wrapper {
|
|
65
|
+
grid-template-columns: 100px 1fr;
|
|
66
|
+
}
|
|
67
|
+
@media screen and (max-width: 910px) {
|
|
68
|
+
.agenda__wrapper {
|
|
69
|
+
grid-template-columns: 40px 1fr;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
</style>
|
|
@@ -150,7 +150,7 @@ onMounted(() => {
|
|
|
150
150
|
:time="time"
|
|
151
151
|
/>
|
|
152
152
|
</div>
|
|
153
|
-
<div class="calendar-month__weeks h-100p flex-grow flex flex-stretch column space-between">
|
|
153
|
+
<div class="calendar-month__weeks h-100p flex-grow flex flex-stretch column space-between ">
|
|
154
154
|
<div
|
|
155
155
|
v-for="(week, weekIndex) in month"
|
|
156
156
|
:key="weekIndex"
|
|
@@ -42,7 +42,7 @@ function getDaysDate(day: DayInterface) {
|
|
|
42
42
|
}"
|
|
43
43
|
@click="emit('dayWasClicked', time.dateStringFrom(day.dateTimeString))"
|
|
44
44
|
>
|
|
45
|
-
<div class="flex justify-content-center gap-025 txt12">
|
|
45
|
+
<div class="flex justify-content-center gap-025 txt12 pb-025">
|
|
46
46
|
<div class="">
|
|
47
47
|
{{ day.dayName.charAt(0).toUpperCase() + day.dayName.slice(1, 3).toLowerCase() }}
|
|
48
48
|
</div>
|
|
@@ -78,7 +78,7 @@ function getDaysDate(day: DayInterface) {
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.mode-is-day .week-timeline {
|
|
81
|
-
width: calc(100% - 3.5em);
|
|
81
|
+
/* width: calc(100% - 3.5em); */
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
.week-timeline__day {
|
|
@@ -86,8 +86,8 @@ function getDaysDate(day: DayInterface) {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
.week-timeline__date {
|
|
89
|
-
height:
|
|
90
|
-
width:
|
|
89
|
+
height: 1.5rem;
|
|
90
|
+
width: 1.5rem;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
.is-today .week-timeline__date {
|
|
@@ -120,15 +120,15 @@ function handleDrop(e: DragEvent) {
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
if (props.dirPath) {
|
|
123
|
-
files.
|
|
124
|
-
.then(response => storageFiles.push(...[response.data].flat()))
|
|
123
|
+
files.list(props.dirPath)
|
|
124
|
+
.then(response => storageFiles.push(...([response.data].flat())))
|
|
125
125
|
.catch(console.error)
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
watch(() => props.dirPath, () => {
|
|
129
129
|
if (props.dirPath) {
|
|
130
|
-
files.
|
|
131
|
-
.then(response => storageFiles.push(...[response.data].flat()))
|
|
130
|
+
files.list(props.dirPath)
|
|
131
|
+
.then(response => storageFiles.push(...([response.data].flat())))
|
|
132
132
|
.catch(console.error)
|
|
133
133
|
}
|
|
134
134
|
})
|
|
@@ -8,15 +8,25 @@ export const files = {
|
|
|
8
8
|
baseUrl = baseUrl.replace(/\/$/, '')
|
|
9
9
|
axios.defaults.baseURL = baseUrl
|
|
10
10
|
},
|
|
11
|
+
|
|
11
12
|
get: async (pathKey?: string): Promise<AxiosResponse<BglFile>> => { return axios.get('/files_v2/', { params: { path_key: pathKey } }) },
|
|
13
|
+
|
|
12
14
|
put: async (bglFilePatch: BglFilePatch, pathKey?: string): Promise<AxiosResponse<BglFile>> => { return axios.put('/files_v2/', bglFilePatch, { params: { path_key: pathKey } }) },
|
|
15
|
+
|
|
13
16
|
delete: async (pathKey?: string) => { return axios.delete('/files_v2/', { params: { path_key: pathKey } }) },
|
|
17
|
+
|
|
14
18
|
upload: async (file: File, options?: UploadOptions & { dirPath?: string, tags?: string[] }): Promise<AxiosResponse<BglFile>> => {
|
|
15
19
|
const formData = new FormData()
|
|
16
20
|
formData.append('upload', file)
|
|
17
21
|
return axios.post('/files_v2/upload', formData, {
|
|
18
22
|
headers: { 'Content-Type': 'multipart/form-data' },
|
|
23
|
+
|
|
19
24
|
onUploadProgress: options?.onUploadProgress,
|
|
20
25
|
params: { dir_path: options?.dirPath, tags: options?.tags },
|
|
21
|
-
|
|
26
|
+
|
|
27
|
+
}) },
|
|
28
|
+
|
|
29
|
+
list: async (dirPath?: string): Promise<AxiosResponse<BglFile[]>> => {
|
|
30
|
+
return axios.get('/files_v2/list', { params: { dir_path: dirPath } })
|
|
31
|
+
}
|
|
22
32
|
}
|