@bagelink/vue 1.0.24 → 1.0.30
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/AddressSearch.vue.d.ts +3 -0
- package/dist/components/AddressSearch.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTable.vue.d.ts.map +1 -1
- package/dist/components/DataTable/tableTypes.d.ts +9 -9
- package/dist/components/DataTable/tableTypes.d.ts.map +1 -1
- package/dist/components/DataTable/useTableData.d.ts +10 -5
- package/dist/components/DataTable/useTableData.d.ts.map +1 -1
- package/dist/components/DropDown.vue.d.ts +2 -1
- package/dist/components/DropDown.vue.d.ts.map +1 -1
- package/dist/components/Icon/Icon.vue.d.ts.map +1 -1
- package/dist/components/Spreadsheet/Index.vue.d.ts.map +1 -1
- package/dist/components/form/BagelForm.vue.d.ts +1 -0
- package/dist/components/form/BagelForm.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/CheckInput.vue.d.ts +22 -30
- package/dist/components/form/inputs/CheckInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/ColorInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DateInput.vue.d.ts +1 -0
- package/dist/components/form/inputs/DateInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DatePick.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/NumberInput.vue.d.ts +1 -1
- package/dist/components/form/inputs/NumberInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/PasswordInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts +15 -6
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TelInput.vue.d.ts.map +1 -1
- package/dist/components/layout/TabsNav.vue.d.ts.map +1 -1
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.d.ts.map +1 -1
- package/dist/index.cjs +287 -243
- package/dist/index.mjs +287 -243
- package/dist/style.css +232 -142
- package/dist/types/TableSchema.d.ts +2 -2
- package/dist/types/TableSchema.d.ts.map +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/timeAgo.d.ts +1 -1
- package/dist/utils/timeAgo.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/DataPreview.vue +1 -1
- package/src/components/DataTable/DataTable.vue +6 -9
- package/src/components/DataTable/tableTypes.ts +10 -10
- package/src/components/DataTable/useTableData.ts +25 -10
- package/src/components/Dropdown.vue +3 -1
- package/src/components/Icon/Icon.vue +1 -1
- package/src/components/Modal.vue +1 -1
- package/src/components/Spreadsheet/Index.vue +1 -0
- package/src/components/form/BagelForm.vue +5 -3
- package/src/components/form/inputs/CheckInput.vue +7 -7
- package/src/components/form/inputs/ColorInput.vue +33 -5
- package/src/components/form/inputs/DateInput.vue +14 -33
- package/src/components/form/inputs/DatePick.vue +10 -27
- package/src/components/form/inputs/NumberInput.vue +1 -1
- package/src/components/form/inputs/PasswordInput.vue +1 -2
- package/src/components/form/inputs/SelectInput.vue +4 -1
- package/src/components/form/inputs/TelInput.vue +1 -2
- package/src/components/layout/TabsNav.vue +15 -6
- package/src/composables/index.ts +5 -5
- package/src/styles/inputs.css +1 -0
- package/src/styles/layout.css +45 -0
- package/src/styles/mobilLayout.css +45 -0
- package/src/styles/theme.css +13 -0
- package/src/types/TableSchema.ts +2 -2
- package/src/utils/index.ts +3 -3
- package/src/utils/timeAgo.ts +87 -25
package/dist/index.cjs
CHANGED
|
@@ -21,7 +21,7 @@ const _sfc_main$1n = /* @__PURE__ */ vue.defineComponent({
|
|
|
21
21
|
});
|
|
22
22
|
const _hoisted_1$1a = ["aria-expanded", "aria-controls"];
|
|
23
23
|
const _hoisted_2$S = { class: "accordion-label" };
|
|
24
|
-
const _hoisted_3$
|
|
24
|
+
const _hoisted_3$I = ["id", "aria-hidden"];
|
|
25
25
|
const _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
|
|
26
26
|
__name: "AccordionItem",
|
|
27
27
|
props: {
|
|
@@ -85,7 +85,7 @@ const _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
|
|
|
85
85
|
key: 0,
|
|
86
86
|
class: vue.normalizeClass(["accordion-icon", [_ctx.iconClass, { open: vue.unref(isOpen) && _ctx.iconType === "expand_more" }]])
|
|
87
87
|
}, [
|
|
88
|
-
vue.createVNode(vue.unref(
|
|
88
|
+
vue.createVNode(vue.unref(_sfc_main$s), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
89
89
|
], 2)) : vue.createCommentVNode("", true),
|
|
90
90
|
vue.renderSlot(_ctx.$slots, "head", {}, () => [
|
|
91
91
|
vue.createElementVNode("span", _hoisted_2$S, vue.toDisplayString(_ctx.label), 1)
|
|
@@ -94,7 +94,7 @@ const _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
|
|
|
94
94
|
key: 1,
|
|
95
95
|
class: vue.normalizeClass(["accordion-icon", [_ctx.iconClass, { open: vue.unref(isOpen) && _ctx.iconType === "expand_more" }]])
|
|
96
96
|
}, [
|
|
97
|
-
vue.createVNode(vue.unref(
|
|
97
|
+
vue.createVNode(vue.unref(_sfc_main$s), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
98
98
|
], 2)) : vue.createCommentVNode("", true)
|
|
99
99
|
], 8, _hoisted_1$1a),
|
|
100
100
|
vue.createVNode(vue.Transition, { name: "expand" }, {
|
|
@@ -106,7 +106,7 @@ const _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
|
|
|
106
106
|
"aria-hidden": vue.unref(isOpen) ? "false" : "true"
|
|
107
107
|
}, [
|
|
108
108
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
109
|
-
], 8, _hoisted_3$
|
|
109
|
+
], 8, _hoisted_3$I)) : vue.createCommentVNode("", true)
|
|
110
110
|
]),
|
|
111
111
|
_: 3
|
|
112
112
|
})
|
|
@@ -252,7 +252,7 @@ const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
|
|
|
252
252
|
class: "h-100p",
|
|
253
253
|
size: "15"
|
|
254
254
|
})) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$18, [
|
|
255
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
255
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
256
256
|
key: 0,
|
|
257
257
|
icon: _ctx.icon,
|
|
258
258
|
class: "transition-400"
|
|
@@ -261,7 +261,7 @@ const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
|
|
|
261
261
|
!vue.unref(slots).default && _ctx.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
262
262
|
vue.createTextVNode(vue.toDisplayString(_ctx.value), 1)
|
|
263
263
|
], 64)) : vue.createCommentVNode("", true),
|
|
264
|
-
_ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
264
|
+
_ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
265
265
|
key: 2,
|
|
266
266
|
icon: _ctx.iconEnd,
|
|
267
267
|
class: "transition-400"
|
|
@@ -299,7 +299,7 @@ const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
|
|
|
299
299
|
class: vue.normalizeClass(["alert", [_ctx.type]]),
|
|
300
300
|
dismissable: _ctx.dismissable
|
|
301
301
|
}, [
|
|
302
|
-
_ctx.icon !== "none" ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
302
|
+
_ctx.icon !== "none" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
303
303
|
key: 0,
|
|
304
304
|
class: "alert_icon",
|
|
305
305
|
icon: _ctx.icon || _ctx.type,
|
|
@@ -361,13 +361,13 @@ const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
|
|
|
361
361
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
362
362
|
class: vue.normalizeClass(["pill", [_ctx.color]])
|
|
363
363
|
}, [
|
|
364
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
364
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
365
365
|
key: 0,
|
|
366
366
|
class: "inline",
|
|
367
367
|
icon: _ctx.icon
|
|
368
368
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
369
369
|
vue.createTextVNode(" " + vue.toDisplayString(_ctx.text) + " ", 1),
|
|
370
|
-
_ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
370
|
+
_ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
371
371
|
key: 1,
|
|
372
372
|
class: "inline",
|
|
373
373
|
icon: _ctx.iconEnd
|
|
@@ -379,7 +379,7 @@ const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
|
|
|
379
379
|
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-689f051f"]]);
|
|
380
380
|
const _hoisted_1$15 = ["src"];
|
|
381
381
|
const _hoisted_2$Q = ["autoplay", "muted", "loop", "controls", "playsinline"];
|
|
382
|
-
const _hoisted_3$
|
|
382
|
+
const _hoisted_3$H = ["src", "type"];
|
|
383
383
|
const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
|
|
384
384
|
__name: "BglVideo",
|
|
385
385
|
props: {
|
|
@@ -471,7 +471,7 @@ const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
|
|
|
471
471
|
vue.createElementVNode("source", {
|
|
472
472
|
src: _ctx.src,
|
|
473
473
|
type: `video/${videoFormat.value}`
|
|
474
|
-
}, null, 8, _hoisted_3$
|
|
474
|
+
}, null, 8, _hoisted_3$H)
|
|
475
475
|
], 12, _hoisted_2$Q)) : vue.createCommentVNode("", true)
|
|
476
476
|
], 2);
|
|
477
477
|
};
|
|
@@ -741,7 +741,7 @@ const DATE_TIME_STRING_PATTERN = /^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$/;
|
|
|
741
741
|
const DATE_TIME_STRING_FULL_DAY_PATTERN = /^\d{4}-\d{2}-\d{2}$/;
|
|
742
742
|
const _hoisted_1$13 = ["id"];
|
|
743
743
|
const _hoisted_2$O = { class: "flex txt14 flex column align-items-start gap-025 opacity-6" };
|
|
744
|
-
const _hoisted_3$
|
|
744
|
+
const _hoisted_3$G = {
|
|
745
745
|
key: 0,
|
|
746
746
|
class: "agenda__event-time flex gap-025"
|
|
747
747
|
};
|
|
@@ -830,15 +830,15 @@ const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
|
|
|
830
830
|
onClick: vue.withModifiers(handleClickOnEvent, ["prevent"])
|
|
831
831
|
}, [
|
|
832
832
|
vue.createElementVNode("div", _hoisted_2$O, [
|
|
833
|
-
eventTime.value && !__props.calendarEvent.originalEvent ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$
|
|
834
|
-
vue.createVNode(vue.unref(
|
|
833
|
+
eventTime.value && !__props.calendarEvent.originalEvent ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$G, [
|
|
834
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
835
835
|
icon: icons.clock,
|
|
836
836
|
size: 0.8
|
|
837
837
|
}, null, 8, ["icon"]),
|
|
838
838
|
vue.createTextVNode(" " + vue.toDisplayString(eventTime.value), 1)
|
|
839
839
|
])) : vue.createCommentVNode("", true),
|
|
840
840
|
__props.calendarEvent.location ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$t, [
|
|
841
|
-
vue.createVNode(vue.unref(
|
|
841
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
842
842
|
icon: icons.location,
|
|
843
843
|
size: 1
|
|
844
844
|
}, null, 8, ["icon"]),
|
|
@@ -848,7 +848,7 @@ const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
|
|
|
848
848
|
vue.createElementVNode("div", null, [
|
|
849
849
|
vue.createElementVNode("div", _hoisted_5$p, vue.toDisplayString(__props.calendarEvent.title), 1),
|
|
850
850
|
__props.calendarEvent.with ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$l, [
|
|
851
|
-
vue.createVNode(vue.unref(
|
|
851
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
852
852
|
icon: icons.user
|
|
853
853
|
}, null, 8, ["icon"]),
|
|
854
854
|
vue.createTextVNode(" " + vue.toDisplayString(__props.calendarEvent.with), 1)
|
|
@@ -861,7 +861,7 @@ const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
|
|
|
861
861
|
const AgendaEventTile = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-5740437b"]]);
|
|
862
862
|
const _hoisted_1$12 = { class: "agenda__wrapper grid align-items-start gap-1 h-100p" };
|
|
863
863
|
const _hoisted_2$N = { class: "m_sticky" };
|
|
864
|
-
const _hoisted_3$
|
|
864
|
+
const _hoisted_3$F = { class: "agenda__header-day-name txt-center" };
|
|
865
865
|
const _hoisted_4$s = { class: "agenda__header-date flex justify-content-center rounded p-025 txt24 line-height-04" };
|
|
866
866
|
const _hoisted_5$o = { class: "agenda__content flex column w-100p h-100p min-h-100px pt-05 border-start ps-1 m_pt-0 min-h-50px" };
|
|
867
867
|
const _hoisted_6$k = {
|
|
@@ -894,7 +894,7 @@ const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
|
|
|
894
894
|
return (_ctx, _cache) => {
|
|
895
895
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$12, [
|
|
896
896
|
vue.createElementVNode("header", _hoisted_2$N, [
|
|
897
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
897
|
+
vue.createElementVNode("div", _hoisted_3$F, vue.toDisplayString(__props.day.dayName.slice(0, 3)), 1),
|
|
898
898
|
vue.createElementVNode("div", _hoisted_4$s, vue.toDisplayString(__props.day.dateTimeString.substring(8, 10)), 1)
|
|
899
899
|
]),
|
|
900
900
|
vue.createElementVNode("div", _hoisted_5$o, [
|
|
@@ -1599,7 +1599,7 @@ const _hoisted_1$11 = {
|
|
|
1599
1599
|
class: "event-flyout__relative-wrapper"
|
|
1600
1600
|
};
|
|
1601
1601
|
const _hoisted_2$M = { class: "event-flyout__menu" };
|
|
1602
|
-
const _hoisted_3$
|
|
1602
|
+
const _hoisted_3$E = {
|
|
1603
1603
|
key: 0,
|
|
1604
1604
|
class: "event-flyout__menu-editable"
|
|
1605
1605
|
};
|
|
@@ -1808,20 +1808,20 @@ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
|
|
|
1808
1808
|
}, [
|
|
1809
1809
|
!__props.config.eventDialog || !__props.config.eventDialog.isCustom ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$11, [
|
|
1810
1810
|
vue.createElementVNode("div", _hoisted_2$M, [
|
|
1811
|
-
isEditable.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$
|
|
1812
|
-
vue.createVNode(vue.unref(
|
|
1811
|
+
isEditable.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$E, [
|
|
1812
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
1813
1813
|
class: "event-flyout__menu-item is-edit-icon",
|
|
1814
1814
|
icon: icons.edit,
|
|
1815
1815
|
onClick: editEvent
|
|
1816
1816
|
}, null, 8, ["icon"]),
|
|
1817
|
-
vue.createVNode(vue.unref(
|
|
1817
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
1818
1818
|
class: "event-flyout__menu-item is-trash-icon",
|
|
1819
1819
|
icon: icons.trash,
|
|
1820
1820
|
onClick: deleteEvent
|
|
1821
1821
|
}, null, 8, ["icon"])
|
|
1822
1822
|
])) : vue.createCommentVNode("", true),
|
|
1823
1823
|
vue.createElementVNode("span", _hoisted_4$r, [
|
|
1824
|
-
vue.createVNode(vue.unref(
|
|
1824
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
1825
1825
|
class: "event-flyout__menu-item is-times-icon",
|
|
1826
1826
|
icon: icons.times,
|
|
1827
1827
|
onClick: closeFlyout
|
|
@@ -1838,25 +1838,25 @@ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
|
|
|
1838
1838
|
])) : vue.createCommentVNode("", true),
|
|
1839
1839
|
calendarEvent.value.time ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$f, vue.toDisplayString(getEventTime.value), 1)) : vue.createCommentVNode("", true),
|
|
1840
1840
|
calendarEvent.value.location ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$9, [
|
|
1841
|
-
vue.createVNode(vue.unref(
|
|
1841
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
1842
1842
|
icon: icons.location
|
|
1843
1843
|
}, null, 8, ["icon"]),
|
|
1844
1844
|
vue.createTextVNode(" " + vue.toDisplayString(calendarEvent.value.location), 1)
|
|
1845
1845
|
])) : vue.createCommentVNode("", true),
|
|
1846
1846
|
calendarEvent.value.with ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$7, [
|
|
1847
|
-
vue.createVNode(vue.unref(
|
|
1847
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
1848
1848
|
icon: icons.user
|
|
1849
1849
|
}, null, 8, ["icon"]),
|
|
1850
1850
|
vue.createTextVNode(" " + vue.toDisplayString(calendarEvent.value.with), 1)
|
|
1851
1851
|
])) : vue.createCommentVNode("", true),
|
|
1852
1852
|
calendarEvent.value.topic ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$7, [
|
|
1853
|
-
vue.createVNode(vue.unref(
|
|
1853
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
1854
1854
|
icon: icons.topic
|
|
1855
1855
|
}, null, 8, ["icon"]),
|
|
1856
1856
|
vue.createTextVNode(" " + vue.toDisplayString(calendarEvent.value.topic), 1)
|
|
1857
1857
|
])) : vue.createCommentVNode("", true),
|
|
1858
1858
|
calendarEvent.value.description ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11$6, [
|
|
1859
|
-
vue.createVNode(vue.unref(
|
|
1859
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
1860
1860
|
icon: icons.description
|
|
1861
1861
|
}, null, 8, ["icon"]),
|
|
1862
1862
|
vue.createElementVNode("p", {
|
|
@@ -1878,7 +1878,7 @@ const _hoisted_1$10 = {
|
|
|
1878
1878
|
class: "calendar-month__event"
|
|
1879
1879
|
};
|
|
1880
1880
|
const _hoisted_2$L = ["id", "draggable"];
|
|
1881
|
-
const _hoisted_3$
|
|
1881
|
+
const _hoisted_3$D = ["id", "draggable"];
|
|
1882
1882
|
const _hoisted_4$q = {
|
|
1883
1883
|
key: 0,
|
|
1884
1884
|
class: "calendar-month__event-time opacity-6 flex-shrink-0"
|
|
@@ -1988,7 +1988,7 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
|
1988
1988
|
_cache[0] || (_cache[0] = vue.createElementVNode("span", { class: "calendar-month__event-color round flex-shrink-0" }, null, -1)),
|
|
1989
1989
|
eventTimeStart.value && !__props.calendarEvent.originalEvent ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$q, vue.toDisplayString(eventTimeStart.value), 1)) : vue.createCommentVNode("", true),
|
|
1990
1990
|
vue.createElementVNode("span", _hoisted_5$m, vue.toDisplayString(__props.calendarEvent.title), 1)
|
|
1991
|
-
], 42, _hoisted_3$
|
|
1991
|
+
], 42, _hoisted_3$D))
|
|
1992
1992
|
], 64));
|
|
1993
1993
|
};
|
|
1994
1994
|
}
|
|
@@ -1996,7 +1996,7 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
|
1996
1996
|
const Event = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-3c4101df"]]);
|
|
1997
1997
|
const _hoisted_1$$ = ["id"];
|
|
1998
1998
|
const _hoisted_2$K = { class: "w-100p flex justify-content-end txt14 p-025 m_h-100p" };
|
|
1999
|
-
const _hoisted_3$
|
|
1999
|
+
const _hoisted_3$C = { class: "calendar-month_events" };
|
|
2000
2000
|
const _hoisted_4$p = {
|
|
2001
2001
|
key: 1,
|
|
2002
2002
|
class: "space-reserver"
|
|
@@ -2104,7 +2104,7 @@ const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
|
|
|
2104
2104
|
onClick: emitDayWasClicked
|
|
2105
2105
|
}, vue.toDisplayString(__props.day.dateTimeString.substring(8, 10).startsWith("0") ? __props.day.dateTimeString.substring(9, 10) : __props.day.dateTimeString.substring(8, 10)), 1)
|
|
2106
2106
|
]),
|
|
2107
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
2107
|
+
vue.createElementVNode("div", _hoisted_3$C, [
|
|
2108
2108
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.day.events, (calendarEvent, index2) => {
|
|
2109
2109
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
2110
2110
|
index2 < 3 ? (vue.openBlock(), vue.createBlock(Event, {
|
|
@@ -2150,7 +2150,7 @@ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2150
2150
|
});
|
|
2151
2151
|
const _hoisted_1$Z = { class: "calendar-month relative column w-100p h-100p overflow-y flex flex-stretch" };
|
|
2152
2152
|
const _hoisted_2$J = { class: "flex space-between" };
|
|
2153
|
-
const _hoisted_3$
|
|
2153
|
+
const _hoisted_3$B = { class: "calendar-month__weeks h-100p flex-grow flex flex-stretch column space-between" };
|
|
2154
2154
|
const _hoisted_4$o = {
|
|
2155
2155
|
key: 0,
|
|
2156
2156
|
class: "calendar-month__day_events w-100p pt-1 m_pb-1"
|
|
@@ -2269,7 +2269,7 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2269
2269
|
}, null, 8, ["config", "day", "time"]);
|
|
2270
2270
|
}), 128))
|
|
2271
2271
|
]),
|
|
2272
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
2272
|
+
vue.createElementVNode("div", _hoisted_3$B, [
|
|
2273
2273
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(month.value, (week, weekIndex) => {
|
|
2274
2274
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
2275
2275
|
key: weekIndex,
|
|
@@ -2536,7 +2536,7 @@ class EventChange {
|
|
|
2536
2536
|
}
|
|
2537
2537
|
const _hoisted_1$Y = ["data-ref"];
|
|
2538
2538
|
const _hoisted_2$I = { class: "calendar-week__event-row is-title" };
|
|
2539
|
-
const _hoisted_3$
|
|
2539
|
+
const _hoisted_3$A = { class: "calendar-week__event-row is-time flex" };
|
|
2540
2540
|
const _hoisted_4$n = {
|
|
2541
2541
|
key: 0,
|
|
2542
2542
|
class: "calendar-week__event-row is-location"
|
|
@@ -2897,36 +2897,36 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2897
2897
|
})
|
|
2898
2898
|
}, [
|
|
2899
2899
|
vue.createElementVNode("div", _hoisted_2$I, vue.toDisplayString(event.value.title), 1),
|
|
2900
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
2901
|
-
vue.createVNode(vue.unref(
|
|
2900
|
+
vue.createElementVNode("div", _hoisted_3$A, [
|
|
2901
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
2902
2902
|
icon: icons.value.clock,
|
|
2903
2903
|
class: "calendar-week__event-icon"
|
|
2904
2904
|
}, null, 8, ["icon"]),
|
|
2905
2905
|
vue.createElementVNode("span", null, vue.toDisplayString(getEventTime.value), 1)
|
|
2906
2906
|
]),
|
|
2907
2907
|
event.value.location ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$n, [
|
|
2908
|
-
vue.createVNode(vue.unref(
|
|
2908
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
2909
2909
|
icon: icons.value.location,
|
|
2910
2910
|
class: "calendar-week__event-icon"
|
|
2911
2911
|
}, null, 8, ["icon"]),
|
|
2912
2912
|
vue.createElementVNode("span", null, vue.toDisplayString(event.value.location), 1)
|
|
2913
2913
|
])) : vue.createCommentVNode("", true),
|
|
2914
2914
|
event.value.with ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$l, [
|
|
2915
|
-
vue.createVNode(vue.unref(
|
|
2915
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
2916
2916
|
icon: icons.value.user,
|
|
2917
2917
|
class: "calendar-week__event-icon"
|
|
2918
2918
|
}, null, 8, ["icon"]),
|
|
2919
2919
|
vue.createElementVNode("span", null, vue.toDisplayString(event.value.with), 1)
|
|
2920
2920
|
])) : vue.createCommentVNode("", true),
|
|
2921
2921
|
event.value.topic ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$i, [
|
|
2922
|
-
vue.createVNode(vue.unref(
|
|
2922
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
2923
2923
|
icon: icons.value.topic,
|
|
2924
2924
|
class: "calendar-week__event-icon"
|
|
2925
2925
|
}, null, 8, ["icon"]),
|
|
2926
2926
|
vue.createElementVNode("span", null, vue.toDisplayString(event.value.topic), 1)
|
|
2927
2927
|
])) : vue.createCommentVNode("", true),
|
|
2928
2928
|
event.value.description ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$e, [
|
|
2929
|
-
vue.createVNode(vue.unref(
|
|
2929
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
2930
2930
|
icon: icons.value.description,
|
|
2931
2931
|
class: "calendar-week__event-icon"
|
|
2932
2932
|
}, null, 8, ["icon"]),
|
|
@@ -3229,7 +3229,7 @@ const _hoisted_1$U = {
|
|
|
3229
3229
|
style: { "margin-inline-end": "0.5em" }
|
|
3230
3230
|
};
|
|
3231
3231
|
const _hoisted_2$F = ["onClick"];
|
|
3232
|
-
const _hoisted_3$
|
|
3232
|
+
const _hoisted_3$z = { class: "flex justify-content-center gap-025 txt12 pb-025" };
|
|
3233
3233
|
const _hoisted_4$m = { class: "" };
|
|
3234
3234
|
const _hoisted_5$k = { class: "week-timeline__date txt14 round inline-flex justify-content-center" };
|
|
3235
3235
|
const _hoisted_6$h = { class: "week-timeline__events" };
|
|
@@ -3263,7 +3263,7 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3263
3263
|
}]),
|
|
3264
3264
|
onClick: ($event) => emit2("dayWasClicked", _ctx.time.dateStringFrom(day.dateTimeString))
|
|
3265
3265
|
}, [
|
|
3266
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
3266
|
+
vue.createElementVNode("div", _hoisted_3$z, [
|
|
3267
3267
|
vue.createElementVNode("div", _hoisted_4$m, vue.toDisplayString(day.dayName.charAt(0).toUpperCase() + day.dayName.slice(1, 3).toLowerCase()), 1),
|
|
3268
3268
|
vue.createElementVNode("div", _hoisted_5$k, vue.toDisplayString(getDaysDate(day)), 1)
|
|
3269
3269
|
]),
|
|
@@ -3289,7 +3289,7 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3289
3289
|
const WeekTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-18ecf6c3"]]);
|
|
3290
3290
|
const _hoisted_1$T = { class: "calendar-week__wrapper relative ps-3-5" };
|
|
3291
3291
|
const _hoisted_2$E = { class: "calendar-week" };
|
|
3292
|
-
const _hoisted_3$
|
|
3292
|
+
const _hoisted_3$y = { class: "calendar-week__events" };
|
|
3293
3293
|
const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
|
|
3294
3294
|
__name: "Week",
|
|
3295
3295
|
props: {
|
|
@@ -3555,7 +3555,7 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3555
3555
|
"day-intervals": dayIntervals.value,
|
|
3556
3556
|
"week-height": weekHeight.value
|
|
3557
3557
|
}, null, 8, ["time", "day-intervals", "week-height"])),
|
|
3558
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
3558
|
+
vue.createElementVNode("div", _hoisted_3$y, [
|
|
3559
3559
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(days.value, (day, dayIndex) => {
|
|
3560
3560
|
return vue.openBlock(), vue.createBlock(Day, {
|
|
3561
3561
|
key: day.dateTimeString + mode.value + weekVersion.value,
|
|
@@ -3639,7 +3639,7 @@ ${_Errors.SUFFIX}`);
|
|
|
3639
3639
|
let Errors = _Errors;
|
|
3640
3640
|
const _hoisted_1$S = { class: "calendar-root-wrapper txt16" };
|
|
3641
3641
|
const _hoisted_2$D = ["data-lang"];
|
|
3642
|
-
const _hoisted_3$
|
|
3642
|
+
const _hoisted_3$x = {
|
|
3643
3643
|
key: 0,
|
|
3644
3644
|
class: "top-bar-loader"
|
|
3645
3645
|
};
|
|
@@ -3831,7 +3831,7 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3831
3831
|
}, [
|
|
3832
3832
|
vue.createVNode(vue.Transition, { name: "loading" }, {
|
|
3833
3833
|
default: vue.withCtx(() => [
|
|
3834
|
-
__props.isLoading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
3834
|
+
__props.isLoading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$x)) : vue.createCommentVNode("", true)
|
|
3835
3835
|
]),
|
|
3836
3836
|
_: 1
|
|
3837
3837
|
}),
|
|
@@ -3969,7 +3969,7 @@ const _hoisted_2$C = {
|
|
|
3969
3969
|
key: 0,
|
|
3970
3970
|
class: "dots"
|
|
3971
3971
|
};
|
|
3972
|
-
const _hoisted_3$
|
|
3972
|
+
const _hoisted_3$w = ["onClick"];
|
|
3973
3973
|
const _hoisted_4$l = { class: "Handlers" };
|
|
3974
3974
|
const GAP_PERCENT = 1;
|
|
3975
3975
|
const VELOCITY_SAMPLE_DURATION = 100;
|
|
@@ -4405,7 +4405,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
|
4405
4405
|
key: i2,
|
|
4406
4406
|
class: vue.normalizeClass(["dot", { current: vue.unref(activeSlideIndex) === i2 - 1 }]),
|
|
4407
4407
|
onClick: ($event) => goToSlide(i2 - 1)
|
|
4408
|
-
}, null, 10, _hoisted_3$
|
|
4408
|
+
}, null, 10, _hoisted_3$w);
|
|
4409
4409
|
}), 128))
|
|
4410
4410
|
])) : vue.createCommentVNode("", true),
|
|
4411
4411
|
vue.createElementVNode("div", _hoisted_4$l, [
|
|
@@ -10260,7 +10260,7 @@ const _hoisted_1$1$1 = {
|
|
|
10260
10260
|
style: { display: "flex", position: "relative" }
|
|
10261
10261
|
};
|
|
10262
10262
|
const _hoisted_2$1$1 = ["width", "height", "viewBox"];
|
|
10263
|
-
const _hoisted_3$
|
|
10263
|
+
const _hoisted_3$v = { class: "layer-rectangles" };
|
|
10264
10264
|
const _hoisted_4$k = ["transform", "onMouseover"];
|
|
10265
10265
|
const _hoisted_5$j = ["width", "height"];
|
|
10266
10266
|
const _hoisted_6$g = {
|
|
@@ -10278,7 +10278,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10278
10278
|
viewBox: `0 0 ${_ctx.size.width} ${_ctx.size.height}`,
|
|
10279
10279
|
ref: "el"
|
|
10280
10280
|
}, [
|
|
10281
|
-
vue.createElementVNode("g", _hoisted_3$
|
|
10281
|
+
vue.createElementVNode("g", _hoisted_3$v, [
|
|
10282
10282
|
(vue.openBlock(true), vue.createElementBlock(
|
|
10283
10283
|
vue.Fragment,
|
|
10284
10284
|
null,
|
|
@@ -10688,11 +10688,16 @@ const SRC_VALUE_COMPONENTS = /* @__PURE__ */ new Set(["img", "iframe"]);
|
|
|
10688
10688
|
function useTableData(options) {
|
|
10689
10689
|
const sortField = vue.ref("");
|
|
10690
10690
|
const sortDirection = vue.ref("ASC");
|
|
10691
|
-
|
|
10692
|
-
|
|
10693
|
-
|
|
10694
|
-
|
|
10695
|
-
|
|
10691
|
+
function getValue(value) {
|
|
10692
|
+
return value.value !== void 0 ? value.value : value;
|
|
10693
|
+
}
|
|
10694
|
+
const computedSchema = vue.computed(() => {
|
|
10695
|
+
return useBglSchema({
|
|
10696
|
+
schema: getValue(options.schema),
|
|
10697
|
+
columns: getValue(options.columns),
|
|
10698
|
+
data: options.data.value
|
|
10699
|
+
});
|
|
10700
|
+
});
|
|
10696
10701
|
function transform(rowData) {
|
|
10697
10702
|
const transformed = { ...rowData };
|
|
10698
10703
|
const schemaFields = computedSchema.value.filter((f2) => f2.id);
|
|
@@ -10720,7 +10725,8 @@ function useTableData(options) {
|
|
|
10720
10725
|
const computedSortField = vue.computed(() => sortField.value ? `_transformed_${sortField.value}` : "");
|
|
10721
10726
|
const computedData = vue.computed(() => {
|
|
10722
10727
|
const currentData = options.data.value;
|
|
10723
|
-
|
|
10728
|
+
const useServerSortValue = getValue(options.useServerSort);
|
|
10729
|
+
if (!sortField.value || useServerSortValue === true) {
|
|
10724
10730
|
return currentData.map(transform);
|
|
10725
10731
|
}
|
|
10726
10732
|
return currentData.map(transform).sort((a2, z2) => {
|
|
@@ -10768,7 +10774,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
10768
10774
|
__name: "DataPreview",
|
|
10769
10775
|
props: {
|
|
10770
10776
|
schema: { type: Function },
|
|
10771
|
-
|
|
10777
|
+
columns: {},
|
|
10772
10778
|
useServerSort: { type: Boolean },
|
|
10773
10779
|
selectable: { type: Boolean },
|
|
10774
10780
|
onLastItemVisible: { type: Function },
|
|
@@ -10785,7 +10791,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
10785
10791
|
} = useTableData({
|
|
10786
10792
|
data: data2,
|
|
10787
10793
|
schema: props2.schema,
|
|
10788
|
-
|
|
10794
|
+
columns: props2.columns,
|
|
10789
10795
|
useServerSort: false
|
|
10790
10796
|
});
|
|
10791
10797
|
const firstItem = vue.computed(() => computedData.value[0] || {});
|
|
@@ -10805,7 +10811,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
10805
10811
|
};
|
|
10806
10812
|
}
|
|
10807
10813
|
});
|
|
10808
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-
|
|
10814
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-88ed9d8d"]]);
|
|
10809
10815
|
function useTableSelection(options) {
|
|
10810
10816
|
const allSelectorEl = vue.ref();
|
|
10811
10817
|
const computedSelectedItems = vue.computed(() => options.selectedItems.value);
|
|
@@ -11439,7 +11445,7 @@ const _hoisted_1$N = {
|
|
|
11439
11445
|
class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
|
|
11440
11446
|
};
|
|
11441
11447
|
const _hoisted_2$A = { class: "infinite-wrapper" };
|
|
11442
|
-
const _hoisted_3$
|
|
11448
|
+
const _hoisted_3$u = { class: "row first-row" };
|
|
11443
11449
|
const _hoisted_4$j = { key: 0 };
|
|
11444
11450
|
const _hoisted_5$i = ["onClick"];
|
|
11445
11451
|
const _hoisted_6$f = { class: "flex" };
|
|
@@ -11452,7 +11458,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
|
11452
11458
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
11453
11459
|
data: {},
|
|
11454
11460
|
schema: { type: Function },
|
|
11455
|
-
|
|
11461
|
+
columns: {},
|
|
11456
11462
|
useServerSort: { type: Boolean },
|
|
11457
11463
|
selectable: { type: Boolean },
|
|
11458
11464
|
onLastItemVisible: { type: Function }
|
|
@@ -11469,7 +11475,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
|
11469
11475
|
emits: /* @__PURE__ */ vue.mergeModels(["update:selectedItems", "orderBy", "select", "lastItemVisible"], ["update:loading", "update:itemHeight", "update:selectedItems"]),
|
|
11470
11476
|
setup(__props, { emit: __emit }) {
|
|
11471
11477
|
vue.useCssVars((_ctx) => ({
|
|
11472
|
-
"
|
|
11478
|
+
"53d3340a": vue.unref(computedItemHeight)
|
|
11473
11479
|
}));
|
|
11474
11480
|
const props2 = __props;
|
|
11475
11481
|
const emit2 = __emit;
|
|
@@ -11484,21 +11490,18 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
|
11484
11490
|
}
|
|
11485
11491
|
);
|
|
11486
11492
|
const data2 = vue.computed(() => props2.data);
|
|
11493
|
+
const schema = vue.computed(() => props2.schema);
|
|
11494
|
+
const columns = vue.computed(() => props2.columns);
|
|
11495
|
+
const useServerSort = vue.computed(() => props2.useServerSort);
|
|
11487
11496
|
const {
|
|
11488
11497
|
computedSchema,
|
|
11489
11498
|
computedData,
|
|
11490
11499
|
sortField,
|
|
11491
11500
|
sortDirection,
|
|
11492
11501
|
toggleSort
|
|
11493
|
-
} = useTableData({
|
|
11494
|
-
|
|
11495
|
-
|
|
11496
|
-
showFields: props2.showFields,
|
|
11497
|
-
useServerSort: props2.useServerSort,
|
|
11498
|
-
onSort: (field, direction) => {
|
|
11499
|
-
emit2("orderBy", `${field} ${direction}`.trim());
|
|
11500
|
-
}
|
|
11501
|
-
});
|
|
11502
|
+
} = useTableData({ data: data2, schema, columns, useServerSort, onSort: (field, direction) => {
|
|
11503
|
+
emit2("orderBy", `${field} ${direction}`.trim());
|
|
11504
|
+
} });
|
|
11502
11505
|
const {
|
|
11503
11506
|
computedSelectedItems,
|
|
11504
11507
|
isSelectable,
|
|
@@ -11571,7 +11574,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
|
11571
11574
|
vue.createElementVNode("div", { class: "loading-table-animation absolute oval" }, null, -1)
|
|
11572
11575
|
]))) : (vue.openBlock(), vue.createElementBlock("div", vue.normalizeProps(vue.mergeProps({ key: 1 }, vue.unref(wrapperProps))), [
|
|
11573
11576
|
vue.createElementVNode("table", _hoisted_2$A, [
|
|
11574
|
-
vue.createElementVNode("thead", _hoisted_3$
|
|
11577
|
+
vue.createElementVNode("thead", _hoisted_3$u, [
|
|
11575
11578
|
vue.unref(isSelectable) ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_4$j, [
|
|
11576
11579
|
vue.createElementVNode("input", {
|
|
11577
11580
|
ref_key: "allSelectorEl",
|
|
@@ -11594,7 +11597,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
|
11594
11597
|
vue.createElementVNode("div", {
|
|
11595
11598
|
class: vue.normalizeClass(["list-arrows", { sorted: vue.unref(sortField) === field.id }])
|
|
11596
11599
|
}, [
|
|
11597
|
-
vue.createVNode(vue.unref(
|
|
11600
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
11598
11601
|
class: vue.normalizeClass({ desc: vue.unref(sortDirection) === "DESC" }),
|
|
11599
11602
|
icon: "keyboard_arrow_up"
|
|
11600
11603
|
}, null, 8, ["class"])
|
|
@@ -11653,7 +11656,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
|
11653
11656
|
};
|
|
11654
11657
|
}
|
|
11655
11658
|
});
|
|
11656
|
-
const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-
|
|
11659
|
+
const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-c730b48b"]]);
|
|
11657
11660
|
function useDraggable(options = {}) {
|
|
11658
11661
|
const isDragging = vue.ref(false);
|
|
11659
11662
|
const dragElement = vue.ref(null);
|
|
@@ -14756,6 +14759,7 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
|
|
|
14756
14759
|
flat: { type: Boolean },
|
|
14757
14760
|
disabled: { type: Boolean },
|
|
14758
14761
|
icon: {},
|
|
14762
|
+
color: {},
|
|
14759
14763
|
triggerClass: {},
|
|
14760
14764
|
iconEnd: {},
|
|
14761
14765
|
border: { type: Boolean },
|
|
@@ -14822,8 +14826,9 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
|
|
|
14822
14826
|
thin: _ctx.thin,
|
|
14823
14827
|
flat: _ctx.flat,
|
|
14824
14828
|
outline: _ctx.outline,
|
|
14825
|
-
round: _ctx.round
|
|
14826
|
-
|
|
14829
|
+
round: _ctx.round,
|
|
14830
|
+
color: _ctx.color
|
|
14831
|
+
}, null, 8, ["class", "iconEnd", "icon", "value", "thin", "flat", "outline", "round", "color"])
|
|
14827
14832
|
])
|
|
14828
14833
|
]),
|
|
14829
14834
|
_: 3
|
|
@@ -15203,7 +15208,7 @@ function denullify(itemData, fieldID) {
|
|
|
15203
15208
|
return itemData ? itemData[fieldID] : void 0;
|
|
15204
15209
|
}
|
|
15205
15210
|
const isDate$1 = (dateToTest) => !Number.isNaN(Date.parse(dateToTest));
|
|
15206
|
-
function getFallbackSchema(data2,
|
|
15211
|
+
function getFallbackSchema(data2, columns) {
|
|
15207
15212
|
const keys4 = Array.from(new Set((data2 ?? []).flatMap(Object.keys)));
|
|
15208
15213
|
const schema = keys4.map((id) => ({
|
|
15209
15214
|
id,
|
|
@@ -15214,7 +15219,7 @@ function getFallbackSchema(data2, showFields) {
|
|
|
15214
15219
|
return val;
|
|
15215
15220
|
}
|
|
15216
15221
|
}));
|
|
15217
|
-
return
|
|
15222
|
+
return columns ? schema.filter((f2) => columns.includes(f2.id) || !f2.id) : schema;
|
|
15218
15223
|
}
|
|
15219
15224
|
function sleep(ms = 100) {
|
|
15220
15225
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
@@ -15295,6 +15300,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
15295
15300
|
modelValue: { default: void 0 },
|
|
15296
15301
|
schema: { default: void 0 },
|
|
15297
15302
|
tag: { default: "form" },
|
|
15303
|
+
class: { default: "" },
|
|
15298
15304
|
onSubmit: {}
|
|
15299
15305
|
},
|
|
15300
15306
|
emits: ["update:modelValue"],
|
|
@@ -15398,6 +15404,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
15398
15404
|
key: 0,
|
|
15399
15405
|
ref_key: "form",
|
|
15400
15406
|
ref: form,
|
|
15407
|
+
class: vue.normalizeClass(props2.class),
|
|
15401
15408
|
onSubmit: vue.withModifiers(handleSubmit, ["prevent"])
|
|
15402
15409
|
}, [
|
|
15403
15410
|
resolvedSchema.value ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(resolvedSchema.value, (field) => {
|
|
@@ -15411,10 +15418,11 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
15411
15418
|
validateForm,
|
|
15412
15419
|
formState: formState.value
|
|
15413
15420
|
})
|
|
15414
|
-
],
|
|
15421
|
+
], 34)) : (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 1 }, vue.renderList(resolvedSchema.value, (field) => {
|
|
15415
15422
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(renderSchemaField(field)), {
|
|
15416
|
-
key: field.id
|
|
15417
|
-
|
|
15423
|
+
key: field.id,
|
|
15424
|
+
class: vue.normalizeClass(props2.class)
|
|
15425
|
+
}, null, 8, ["class"]);
|
|
15418
15426
|
}), 128))
|
|
15419
15427
|
], 64)) : vue.createCommentVNode("", true),
|
|
15420
15428
|
formState.value === "success" ? vue.renderSlot(_ctx.$slots, "success", { key: 1 }) : vue.createCommentVNode("", true),
|
|
@@ -15428,7 +15436,7 @@ const _hoisted_2$y = {
|
|
|
15428
15436
|
key: 0,
|
|
15429
15437
|
class: "ps-025 border-start mb-05"
|
|
15430
15438
|
};
|
|
15431
|
-
const _hoisted_3$
|
|
15439
|
+
const _hoisted_3$t = { class: "bg-gray-80 -my-05 px-025 pt-065 txt-center" };
|
|
15432
15440
|
const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
15433
15441
|
__name: "FieldArray",
|
|
15434
15442
|
props: {
|
|
@@ -15511,7 +15519,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
|
15511
15519
|
"onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
|
|
15512
15520
|
schema: _ctx.schema
|
|
15513
15521
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "schema"]),
|
|
15514
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
15522
|
+
vue.createElementVNode("div", _hoisted_3$t, [
|
|
15515
15523
|
props2.delete ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
15516
15524
|
key: 0,
|
|
15517
15525
|
icon: "delete",
|
|
@@ -15572,7 +15580,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
15572
15580
|
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-73f1d9ad"]]);
|
|
15573
15581
|
const _hoisted_1$J = ["title"];
|
|
15574
15582
|
const _hoisted_2$x = ["id", "value", "required"];
|
|
15575
|
-
const _hoisted_3$
|
|
15583
|
+
const _hoisted_3$s = ["for"];
|
|
15576
15584
|
const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
15577
15585
|
__name: "CheckInput",
|
|
15578
15586
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -15581,19 +15589,18 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
|
15581
15589
|
title: {},
|
|
15582
15590
|
small: { type: Boolean },
|
|
15583
15591
|
required: { type: Boolean },
|
|
15584
|
-
defaultValue: {
|
|
15592
|
+
defaultValue: { default: false },
|
|
15585
15593
|
value: {}
|
|
15586
15594
|
}, {
|
|
15587
|
-
"modelValue": {
|
|
15595
|
+
"modelValue": { default: void 0 },
|
|
15588
15596
|
"modelModifiers": {}
|
|
15589
15597
|
}),
|
|
15590
15598
|
emits: ["update:modelValue"],
|
|
15591
15599
|
setup(__props) {
|
|
15592
|
-
const
|
|
15593
|
-
const inputId = vue.computed(() => props2.id || Math.random().toString(36).slice(7));
|
|
15600
|
+
const inputId = vue.computed(() => __props.id || Math.random().toString(36).slice(7));
|
|
15594
15601
|
const checked = vue.useModel(__props, "modelValue");
|
|
15595
15602
|
vue.onMounted(() => {
|
|
15596
|
-
if (checked.value === void 0) checked.value =
|
|
15603
|
+
if (checked.value === void 0) checked.value = __props.defaultValue;
|
|
15597
15604
|
});
|
|
15598
15605
|
return (_ctx, _cache) => {
|
|
15599
15606
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -15614,18 +15621,18 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
|
15614
15621
|
vue.renderSlot(_ctx.$slots, "label", {}, () => [
|
|
15615
15622
|
vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
|
|
15616
15623
|
], true)
|
|
15617
|
-
], 8, _hoisted_3$
|
|
15624
|
+
], 8, _hoisted_3$s)
|
|
15618
15625
|
], 10, _hoisted_1$J);
|
|
15619
15626
|
};
|
|
15620
15627
|
}
|
|
15621
15628
|
});
|
|
15622
|
-
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-
|
|
15629
|
+
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-0c86700b"]]);
|
|
15623
15630
|
const _hoisted_1$I = { class: "mb-05" };
|
|
15624
15631
|
const _hoisted_2$w = {
|
|
15625
15632
|
key: 0,
|
|
15626
15633
|
class: "label txt-start"
|
|
15627
15634
|
};
|
|
15628
|
-
const _hoisted_3$
|
|
15635
|
+
const _hoisted_3$r = {
|
|
15629
15636
|
key: 1,
|
|
15630
15637
|
class: "code-editor-wrap grid rounded p-1 overflow hm-300px ltr txt-start relative h-100p"
|
|
15631
15638
|
};
|
|
@@ -15716,7 +15723,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
15716
15723
|
return (_ctx, _cache) => {
|
|
15717
15724
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [
|
|
15718
15725
|
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$w, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
15719
|
-
vue.unref(loaded) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
15726
|
+
vue.unref(loaded) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$r, [
|
|
15720
15727
|
vue.createElementVNode("div", {
|
|
15721
15728
|
class: "relative block h-100",
|
|
15722
15729
|
style: vue.normalizeStyle({ height: `calc(${vue.unref(elHeight)} - 2rem)` })
|
|
@@ -15752,7 +15759,8 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
15752
15759
|
});
|
|
15753
15760
|
const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-1fbc9b61"]]);
|
|
15754
15761
|
const _hoisted_1$H = ["title"];
|
|
15755
|
-
const _hoisted_2$v =
|
|
15762
|
+
const _hoisted_2$v = { class: "flex bg-input rounded px-025 colorInputPickWrap" };
|
|
15763
|
+
const _hoisted_3$q = ["id", "placeholder", "required"];
|
|
15756
15764
|
const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
15757
15765
|
__name: "ColorInput",
|
|
15758
15766
|
props: {
|
|
@@ -15783,15 +15791,34 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
15783
15791
|
}, [
|
|
15784
15792
|
vue.createElementVNode("label", null, [
|
|
15785
15793
|
vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
|
|
15786
|
-
vue.
|
|
15787
|
-
|
|
15788
|
-
|
|
15789
|
-
|
|
15790
|
-
|
|
15791
|
-
|
|
15792
|
-
|
|
15793
|
-
|
|
15794
|
-
|
|
15794
|
+
vue.createElementVNode("div", _hoisted_2$v, [
|
|
15795
|
+
vue.withDirectives(vue.createElementVNode("input", vue.mergeProps({
|
|
15796
|
+
id: _ctx.id,
|
|
15797
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputVal.value = $event),
|
|
15798
|
+
class: ["border", { "no-edit": !_ctx.editMode, "opacity-1": !inputVal.value }],
|
|
15799
|
+
type: "color",
|
|
15800
|
+
placeholder: _ctx.placeholder || _ctx.label,
|
|
15801
|
+
required: _ctx.required
|
|
15802
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$q), [
|
|
15803
|
+
[vue.vModelText, inputVal.value]
|
|
15804
|
+
]),
|
|
15805
|
+
vue.withDirectives(vue.createElementVNode("input", {
|
|
15806
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => inputVal.value = $event),
|
|
15807
|
+
class: "flex-grow-4 border colorInputPick",
|
|
15808
|
+
style: { "width": "50px" },
|
|
15809
|
+
type: "text",
|
|
15810
|
+
placeholder: "Enter color"
|
|
15811
|
+
}, null, 512), [
|
|
15812
|
+
[vue.vModelText, inputVal.value]
|
|
15813
|
+
]),
|
|
15814
|
+
vue.createVNode(vue.unref(Btn), {
|
|
15815
|
+
class: vue.normalizeClass({ "not-allowed opacity-3": !inputVal.value }),
|
|
15816
|
+
round: "",
|
|
15817
|
+
flat: "",
|
|
15818
|
+
thin: "",
|
|
15819
|
+
icon: "clear",
|
|
15820
|
+
onClick: _cache[2] || (_cache[2] = ($event) => inputVal.value = "")
|
|
15821
|
+
}, null, 8, ["class"])
|
|
15795
15822
|
])
|
|
15796
15823
|
])
|
|
15797
15824
|
], 10, _hoisted_1$H);
|
|
@@ -15842,6 +15869,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
15842
15869
|
max: {},
|
|
15843
15870
|
timezone: { default: "UTC" },
|
|
15844
15871
|
mode: { default: "day" },
|
|
15872
|
+
defaultValue: {},
|
|
15845
15873
|
firstDayOfWeek: { default: WEEK_START_DAY.SUNDAY },
|
|
15846
15874
|
locale: { default: "" },
|
|
15847
15875
|
center: { type: Boolean }
|
|
@@ -15857,23 +15885,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
15857
15885
|
function useFormatting() {
|
|
15858
15886
|
const formatDisplayDate = (date2) => {
|
|
15859
15887
|
if (!date2) return "";
|
|
15860
|
-
|
|
15861
|
-
const options = {
|
|
15862
|
-
year: "numeric",
|
|
15863
|
-
month: "short",
|
|
15864
|
-
day: "numeric",
|
|
15865
|
-
...props2.enableTime && {
|
|
15866
|
-
hour: "2-digit",
|
|
15867
|
-
minute: "2-digit"
|
|
15868
|
-
},
|
|
15869
|
-
timeZone: props2.timezone
|
|
15870
|
-
};
|
|
15871
|
-
return dateObj.toLocaleString(props2.locale || void 0, options);
|
|
15872
|
-
};
|
|
15873
|
-
const formatDate2 = (date2) => {
|
|
15874
|
-
if (!date2) return "";
|
|
15875
|
-
const dateObj = typeof date2 === "string" ? new Date(date2) : date2;
|
|
15876
|
-
return props2.enableTime ? dateObj.toISOString().slice(0, 16) : dateObj.toISOString().split("T")[0];
|
|
15888
|
+
return formatDate(date2, props2.enableTime ? "dd.mm.yy HH:MM" : "dd.mm.yy");
|
|
15877
15889
|
};
|
|
15878
15890
|
const parseUserInput = (input) => {
|
|
15879
15891
|
const date2 = new Date(input);
|
|
@@ -15894,7 +15906,6 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
15894
15906
|
};
|
|
15895
15907
|
return {
|
|
15896
15908
|
formatDisplayDate,
|
|
15897
|
-
formatDate: formatDate2,
|
|
15898
15909
|
parseUserInput
|
|
15899
15910
|
};
|
|
15900
15911
|
}
|
|
@@ -15920,13 +15931,14 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
15920
15931
|
};
|
|
15921
15932
|
}
|
|
15922
15933
|
function useDateState() {
|
|
15923
|
-
const { formatDisplayDate
|
|
15934
|
+
const { formatDisplayDate } = useFormatting();
|
|
15924
15935
|
const formattedDisplayValue2 = vue.computed(() => formatDisplayDate(props2.modelValue));
|
|
15925
|
-
const formattedMin2 = vue.computed(() =>
|
|
15926
|
-
const formattedMax2 = vue.computed(() =>
|
|
15936
|
+
const formattedMin2 = vue.computed(() => formatDate(props2.min, props2.enableTime ? "dd.mm.yy HH:MM" : "dd.mm.yy"));
|
|
15937
|
+
const formattedMax2 = vue.computed(() => formatDate(props2.max, props2.enableTime ? "dd.mm.yy HH:MM" : "dd.mm.yy"));
|
|
15927
15938
|
const selectedDate2 = vue.computed(() => {
|
|
15928
|
-
|
|
15929
|
-
|
|
15939
|
+
const value = props2.modelValue || props2.defaultValue;
|
|
15940
|
+
if (!value) return null;
|
|
15941
|
+
return typeof value === "string" ? new Date(value) : value;
|
|
15930
15942
|
});
|
|
15931
15943
|
return {
|
|
15932
15944
|
formattedDisplayValue: formattedDisplayValue2,
|
|
@@ -16131,14 +16143,14 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
16131
16143
|
function selectDate(date2) {
|
|
16132
16144
|
var _a, _b;
|
|
16133
16145
|
if (!date2 || !props2.editMode) return;
|
|
16134
|
-
const tzOffset = (/* @__PURE__ */ new Date()).getTimezoneOffset();
|
|
16135
|
-
const newDate = new Date(date2.getFullYear(), date2.getMonth(), date2.getDate());
|
|
16136
16146
|
if (props2.enableTime) {
|
|
16147
|
+
const newDate = new Date(date2.getFullYear(), date2.getMonth(), date2.getDate());
|
|
16137
16148
|
const currentHours = ((_a = selectedDate.value) == null ? void 0 : _a.getHours()) ?? (/* @__PURE__ */ new Date()).getHours();
|
|
16138
16149
|
const currentMinutes = ((_b = selectedDate.value) == null ? void 0 : _b.getMinutes()) ?? (/* @__PURE__ */ new Date()).getMinutes();
|
|
16139
16150
|
newDate.setHours(currentHours);
|
|
16140
16151
|
newDate.setMinutes(currentMinutes);
|
|
16141
16152
|
if (props2.timezone === "UTC") {
|
|
16153
|
+
const tzOffset = (/* @__PURE__ */ new Date()).getTimezoneOffset();
|
|
16142
16154
|
newDate.setMinutes(newDate.getMinutes() + tzOffset);
|
|
16143
16155
|
}
|
|
16144
16156
|
emit2("update:modelValue", newDate.toISOString());
|
|
@@ -16356,7 +16368,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
16356
16368
|
};
|
|
16357
16369
|
}
|
|
16358
16370
|
});
|
|
16359
|
-
const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-
|
|
16371
|
+
const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-ca4c1d9b"]]);
|
|
16360
16372
|
const _hoisted_1$F = ["title"];
|
|
16361
16373
|
const _hoisted_2$t = { key: 0 };
|
|
16362
16374
|
const _hoisted_3$o = {
|
|
@@ -16418,32 +16430,12 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
16418
16430
|
const time = new Time(props2.firstDayOfWeek, props2.locale);
|
|
16419
16431
|
function formatDisplayDate(date2) {
|
|
16420
16432
|
if (!date2) return "";
|
|
16421
|
-
|
|
16422
|
-
|
|
16423
|
-
return dateObj.toLocaleString(props2.locale || void 0, {
|
|
16424
|
-
year: "numeric",
|
|
16425
|
-
month: "short",
|
|
16426
|
-
day: "numeric",
|
|
16427
|
-
hour: "2-digit",
|
|
16428
|
-
minute: "2-digit",
|
|
16429
|
-
timeZone: props2.timezone
|
|
16430
|
-
});
|
|
16431
|
-
}
|
|
16432
|
-
return dateObj.toLocaleString(props2.locale || void 0, {
|
|
16433
|
-
year: "numeric",
|
|
16434
|
-
month: "short",
|
|
16435
|
-
day: "numeric",
|
|
16436
|
-
timeZone: props2.timezone
|
|
16437
|
-
});
|
|
16438
|
-
}
|
|
16439
|
-
function formatDate2(date2) {
|
|
16440
|
-
if (!date2) return "";
|
|
16441
|
-
const dateObj = typeof date2 === "string" ? new Date(date2) : date2;
|
|
16442
|
-
return props2.enableTime ? dateObj.toISOString().slice(0, 16) : dateObj.toISOString().split("T")[0];
|
|
16433
|
+
console.log("date", date2);
|
|
16434
|
+
return formatDate(date2, props2.enableTime ? "dd.mm.yy HH:MM" : "dd.mm.yy", props2.locale);
|
|
16443
16435
|
}
|
|
16444
16436
|
const formattedDisplayValue = vue.computed(() => formatDisplayDate(props2.modelValue));
|
|
16445
|
-
const formattedMin = vue.computed(() =>
|
|
16446
|
-
const formattedMax = vue.computed(() =>
|
|
16437
|
+
const formattedMin = vue.computed(() => formatDate(props2.min, props2.enableTime ? "dd.mm.yy HH:MM" : "dd.mm.yy"));
|
|
16438
|
+
const formattedMax = vue.computed(() => formatDate(props2.max, props2.enableTime ? "dd.mm.yy HH:MM" : "dd.mm.yy"));
|
|
16447
16439
|
const selectedDate = vue.computed(() => {
|
|
16448
16440
|
if (!props2.modelValue) return null;
|
|
16449
16441
|
return typeof props2.modelValue === "string" ? new Date(props2.modelValue) : props2.modelValue;
|
|
@@ -16753,7 +16745,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
16753
16745
|
};
|
|
16754
16746
|
}
|
|
16755
16747
|
});
|
|
16756
|
-
const DatePick = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-
|
|
16748
|
+
const DatePick = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-2550becf"]]);
|
|
16757
16749
|
const _hoisted_1$E = { class: "datetime-wrap" };
|
|
16758
16750
|
const _hoisted_2$s = {
|
|
16759
16751
|
key: 0,
|
|
@@ -17079,7 +17071,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
17079
17071
|
[_directive_lightbox, { src: file.url, download: true }]
|
|
17080
17072
|
]),
|
|
17081
17073
|
vue.createElementVNode("div", _hoisted_5$e, [
|
|
17082
|
-
vue.createVNode(vue.unref(
|
|
17074
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
17083
17075
|
icon: "draft",
|
|
17084
17076
|
size: 1.5
|
|
17085
17077
|
}),
|
|
@@ -17130,7 +17122,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
17130
17122
|
class: "multi-preview",
|
|
17131
17123
|
src: file.url,
|
|
17132
17124
|
alt: ""
|
|
17133
|
-
}, null, 8, ["src"])) : (vue.openBlock(), vue.createBlock(vue.unref(
|
|
17125
|
+
}, null, 8, ["src"])) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
17134
17126
|
key: 1,
|
|
17135
17127
|
icon: "draft",
|
|
17136
17128
|
class: "multi-preview"
|
|
@@ -17160,7 +17152,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
17160
17152
|
src: fileToUrl(fileQ.file),
|
|
17161
17153
|
alt: ""
|
|
17162
17154
|
}, null, 8, ["width", "src"])) : vue.createCommentVNode("", true)
|
|
17163
|
-
], 64)) : (vue.openBlock(), vue.createBlock(vue.unref(
|
|
17155
|
+
], 64)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
17164
17156
|
key: 1,
|
|
17165
17157
|
icon: "draft",
|
|
17166
17158
|
class: "multi-preview"
|
|
@@ -17171,7 +17163,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
17171
17163
|
style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
|
|
17172
17164
|
}, [
|
|
17173
17165
|
fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_11$3, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
|
|
17174
|
-
vue.createVNode(vue.unref(
|
|
17166
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
17175
17167
|
class: "success",
|
|
17176
17168
|
icon: "check"
|
|
17177
17169
|
})
|
|
@@ -17223,7 +17215,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
17223
17215
|
}, null, 8, ["src"]), [
|
|
17224
17216
|
[_directive_lightbox, { src: file.url, download: true }]
|
|
17225
17217
|
])
|
|
17226
|
-
])) : vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(
|
|
17218
|
+
])) : vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
17227
17219
|
key: 1,
|
|
17228
17220
|
size: 4,
|
|
17229
17221
|
weight: "2",
|
|
@@ -17244,7 +17236,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
17244
17236
|
style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
|
|
17245
17237
|
}, [
|
|
17246
17238
|
fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15$1, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
|
|
17247
|
-
vue.createVNode(vue.unref(
|
|
17239
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
17248
17240
|
class: "success",
|
|
17249
17241
|
icon: "check"
|
|
17250
17242
|
})
|
|
@@ -17268,7 +17260,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
17268
17260
|
browse
|
|
17269
17261
|
}, () => [
|
|
17270
17262
|
vue.createElementVNode("p", _hoisted_16$1, [
|
|
17271
|
-
vue.createVNode(vue.unref(
|
|
17263
|
+
vue.createVNode(vue.unref(_sfc_main$s), { icon: "upload_2" }),
|
|
17272
17264
|
vue.createElementVNode("span", _hoisted_17$1, vue.toDisplayString(_ctx.dropPlaceholder || "Drag and Drop files here or click to upload"), 1)
|
|
17273
17265
|
])
|
|
17274
17266
|
], true) : vue.createCommentVNode("", true)
|
|
@@ -17484,12 +17476,12 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
17484
17476
|
]
|
|
17485
17477
|
]),
|
|
17486
17478
|
_ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_4$d, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true),
|
|
17487
|
-
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
17479
|
+
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
17488
17480
|
key: 2,
|
|
17489
17481
|
class: "iconStart",
|
|
17490
17482
|
icon: _ctx.iconStart
|
|
17491
17483
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
17492
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
17484
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
17493
17485
|
key: 3,
|
|
17494
17486
|
icon: _ctx.icon
|
|
17495
17487
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -17527,7 +17519,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
17527
17519
|
};
|
|
17528
17520
|
}
|
|
17529
17521
|
});
|
|
17530
|
-
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-
|
|
17522
|
+
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-af266bf2"]]);
|
|
17531
17523
|
const _hoisted_1$A = ["value", "autofocus", "onKeydown", "onPaste"];
|
|
17532
17524
|
const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
17533
17525
|
__name: "OTP",
|
|
@@ -17671,9 +17663,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
17671
17663
|
const props2 = __props;
|
|
17672
17664
|
const password = vue.useModel(__props, "modelValue");
|
|
17673
17665
|
const showPwd = vue.useModel(__props, "showPwd");
|
|
17674
|
-
const toggleShowPwdIcon = vue.computed(
|
|
17675
|
-
() => showPwd.value ? "visibility_off" : "visibility"
|
|
17676
|
-
);
|
|
17666
|
+
const toggleShowPwdIcon = vue.computed(() => showPwd.value ? "visibility_off" : "visibility");
|
|
17677
17667
|
const inputType = vue.computed(() => showPwd.value ? "text" : "password");
|
|
17678
17668
|
return (_ctx, _cache) => {
|
|
17679
17669
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [
|
|
@@ -19730,6 +19720,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
19730
19720
|
hideLabel: { type: Boolean },
|
|
19731
19721
|
defaultValue: {},
|
|
19732
19722
|
clearable: { type: Boolean },
|
|
19723
|
+
placement: { default: "bottom-start" },
|
|
19733
19724
|
searchPlaceholder: {},
|
|
19734
19725
|
onSearch: {}
|
|
19735
19726
|
},
|
|
@@ -19895,7 +19886,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
19895
19886
|
ref: dropdown,
|
|
19896
19887
|
shown: vue.unref(open),
|
|
19897
19888
|
"onUpdate:shown": _cache[9] || (_cache[9] = ($event) => vue.isRef(open) ? open.value = $event : open = $event),
|
|
19898
|
-
placement:
|
|
19889
|
+
placement: _ctx.placement,
|
|
19899
19890
|
class: "bagel-input selectinput",
|
|
19900
19891
|
"no-auto-focus": ""
|
|
19901
19892
|
}, {
|
|
@@ -19929,7 +19920,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
19929
19920
|
_cache[6] || (_cache[6] = vue.withKeys(vue.withModifiers(($event) => navigate("up"), ["prevent"]), ["up"]))
|
|
19930
19921
|
]
|
|
19931
19922
|
}, [
|
|
19932
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
19923
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
19933
19924
|
key: 0,
|
|
19934
19925
|
icon: _ctx.icon
|
|
19935
19926
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -19946,7 +19937,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
19946
19937
|
})
|
|
19947
19938
|
})
|
|
19948
19939
|
])) : vue.createCommentVNode("", true),
|
|
19949
|
-
!_ctx.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
19940
|
+
!_ctx.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), vue.mergeProps({
|
|
19950
19941
|
key: 3,
|
|
19951
19942
|
thin: ""
|
|
19952
19943
|
}, { icon: vue.unref(open) ? "unfold_less" : "unfold_more" }), null, 16)) : vue.createCommentVNode("", true)
|
|
@@ -19994,12 +19985,12 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
19994
19985
|
]
|
|
19995
19986
|
}, [
|
|
19996
19987
|
_ctx.multiselect ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
19997
|
-
isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
19988
|
+
isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
19998
19989
|
key: 0,
|
|
19999
19990
|
size: 1.1,
|
|
20000
19991
|
icon: "select_check_box"
|
|
20001
19992
|
})) : vue.createCommentVNode("", true),
|
|
20002
|
-
!isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
19993
|
+
!isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
20003
19994
|
key: 1,
|
|
20004
19995
|
class: "opacity-3",
|
|
20005
19996
|
icon: "check_box_outline_blank",
|
|
@@ -20016,11 +20007,11 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
20016
20007
|
}, 8, ["style"])
|
|
20017
20008
|
]),
|
|
20018
20009
|
_: 3
|
|
20019
|
-
}, 8, ["shown"]);
|
|
20010
|
+
}, 8, ["shown", "placement"]);
|
|
20020
20011
|
};
|
|
20021
20012
|
}
|
|
20022
20013
|
});
|
|
20023
|
-
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-
|
|
20014
|
+
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-44384e8f"]]);
|
|
20024
20015
|
/*!
|
|
20025
20016
|
* Signature Pad v5.0.4 | https://github.com/szimek/signature_pad
|
|
20026
20017
|
* (c) 2024 Szymon Nowak | Released under the MIT license
|
|
@@ -23409,7 +23400,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
23409
23400
|
class: "flex table-row"
|
|
23410
23401
|
}, [
|
|
23411
23402
|
vue.createElementVNode("div", _hoisted_5$8, [
|
|
23412
|
-
vue.createVNode(vue.unref(
|
|
23403
|
+
vue.createVNode(vue.unref(_sfc_main$s), { icon: "more_vert" })
|
|
23413
23404
|
]),
|
|
23414
23405
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a2 = vue.unref(entityMeta)) == null ? void 0 : _a2.fields, (field) => {
|
|
23415
23406
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -23426,7 +23417,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
23426
23417
|
], 2);
|
|
23427
23418
|
}), 128)),
|
|
23428
23419
|
vue.createElementVNode("div", _hoisted_6$7, [
|
|
23429
|
-
vue.createVNode(vue.unref(
|
|
23420
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
23430
23421
|
icon: "delete",
|
|
23431
23422
|
onClick: ($event) => removeRow(index2)
|
|
23432
23423
|
}, null, 8, ["onClick"])
|
|
@@ -28218,7 +28209,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
28218
28209
|
}, {
|
|
28219
28210
|
trigger: vue.withCtx(() => [
|
|
28220
28211
|
vue.createElementVNode("span", _hoisted_2$f, [
|
|
28221
|
-
vue.createVNode(vue.unref(
|
|
28212
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
28222
28213
|
icon: open.value ? "collapse_all" : "expand_all"
|
|
28223
28214
|
}, null, 8, ["icon"]),
|
|
28224
28215
|
vue.unref(computedDropDownOptions).showFlags && vue.unref(activeCountryCode) ? (vue.openBlock(), vue.createBlock(vue.unref(Flag), {
|
|
@@ -28245,7 +28236,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
28245
28236
|
return vue.openBlock(), vue.createElementBlock("li", {
|
|
28246
28237
|
key: pb.iso2 + isPreferred(pb),
|
|
28247
28238
|
role: "option",
|
|
28248
|
-
class: "flex gap-075",
|
|
28239
|
+
class: "flex gap-075 pointer hover",
|
|
28249
28240
|
tabindex: "-1",
|
|
28250
28241
|
"aria-selected": vue.unref(activeCountryCode) === pb.iso2 && !isPreferred(pb),
|
|
28251
28242
|
onClick: ($event) => vue.unref(chooseCountry)(pb.iso2),
|
|
@@ -28272,7 +28263,6 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
28272
28263
|
disabled: _ctx.disabled,
|
|
28273
28264
|
type: "tel",
|
|
28274
28265
|
autocomplete: _ctx.autocomplete,
|
|
28275
|
-
class: "vti__input",
|
|
28276
28266
|
pattern: vue.unref(computedInputOptions).pattern,
|
|
28277
28267
|
minlength: vue.unref(computedInputOptions).minlength,
|
|
28278
28268
|
maxlength: vue.unref(computedInputOptions).maxlength,
|
|
@@ -28297,7 +28287,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
28297
28287
|
};
|
|
28298
28288
|
}
|
|
28299
28289
|
});
|
|
28300
|
-
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-
|
|
28290
|
+
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-133e2b3f"]]);
|
|
28301
28291
|
const _hoisted_1$o = ["title"];
|
|
28302
28292
|
const _hoisted_2$e = ["for"];
|
|
28303
28293
|
const _hoisted_3$b = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
|
|
@@ -28434,12 +28424,12 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
28434
28424
|
[vue.vModelText, vue.unref(inputVal)]
|
|
28435
28425
|
]),
|
|
28436
28426
|
_ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$6, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true),
|
|
28437
|
-
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
28427
|
+
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
28438
28428
|
key: 3,
|
|
28439
28429
|
class: "iconStart",
|
|
28440
28430
|
icon: _ctx.iconStart
|
|
28441
28431
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
28442
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
28432
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
28443
28433
|
key: 4,
|
|
28444
28434
|
icon: _ctx.icon
|
|
28445
28435
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true)
|
|
@@ -28728,7 +28718,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
28728
28718
|
download: path_key.split("/").pop()
|
|
28729
28719
|
}, null, 8, ["href", "download"]),
|
|
28730
28720
|
vue.createElementVNode("div", _hoisted_5$5, [
|
|
28731
|
-
vue.createVNode(vue.unref(
|
|
28721
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
28732
28722
|
icon: "draft",
|
|
28733
28723
|
size: 1.5
|
|
28734
28724
|
}),
|
|
@@ -28771,7 +28761,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
28771
28761
|
key: 0,
|
|
28772
28762
|
pathKey: path_key,
|
|
28773
28763
|
class: "multi-preview"
|
|
28774
|
-
}, null, 8, ["pathKey"])) : (vue.openBlock(), vue.createBlock(vue.unref(
|
|
28764
|
+
}, null, 8, ["pathKey"])) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
28775
28765
|
key: 1,
|
|
28776
28766
|
icon: "description",
|
|
28777
28767
|
class: "multi-preview"
|
|
@@ -28798,7 +28788,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
28798
28788
|
class: "multi-preview",
|
|
28799
28789
|
src: fileToUrl(file.file),
|
|
28800
28790
|
alt: ""
|
|
28801
|
-
}, null, 8, ["src"])) : (vue.openBlock(), vue.createBlock(vue.unref(
|
|
28791
|
+
}, null, 8, ["src"])) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
28802
28792
|
key: 1,
|
|
28803
28793
|
icon: "description",
|
|
28804
28794
|
class: "multi-preview"
|
|
@@ -28809,7 +28799,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
28809
28799
|
style: vue.normalizeStyle([{ "--p": file.progress }, { "--b": "2px" }])
|
|
28810
28800
|
}, [
|
|
28811
28801
|
file.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_11$2, vue.toDisplayString(file.progress.toFixed(0)), 1)) : vue.createCommentVNode("", true),
|
|
28812
|
-
vue.createVNode(vue.unref(
|
|
28802
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
28813
28803
|
class: "success",
|
|
28814
28804
|
icon: "check_circle"
|
|
28815
28805
|
})
|
|
@@ -28857,7 +28847,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
28857
28847
|
}, null, 8, ["pathKey"]), [
|
|
28858
28848
|
[_directive_lightbox, { src: vue.unref(pathKeyToURL)(path_key), download: true }]
|
|
28859
28849
|
])
|
|
28860
|
-
])) : vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(
|
|
28850
|
+
])) : vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
28861
28851
|
key: 1,
|
|
28862
28852
|
size: 4,
|
|
28863
28853
|
weight: "2",
|
|
@@ -28878,7 +28868,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
28878
28868
|
style: vue.normalizeStyle([{ "--p": file.progress }, { "--b": "2px" }])
|
|
28879
28869
|
}, [
|
|
28880
28870
|
file.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15, vue.toDisplayString(file.progress.toFixed(0)), 1)) : vue.createCommentVNode("", true),
|
|
28881
|
-
vue.createVNode(vue.unref(
|
|
28871
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
28882
28872
|
class: "success",
|
|
28883
28873
|
icon: "check_circle"
|
|
28884
28874
|
})
|
|
@@ -28902,7 +28892,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
28902
28892
|
browse
|
|
28903
28893
|
}, () => [
|
|
28904
28894
|
vue.createElementVNode("p", _hoisted_16, [
|
|
28905
|
-
vue.createVNode(vue.unref(
|
|
28895
|
+
vue.createVNode(vue.unref(_sfc_main$s), { icon: "upload_2" }),
|
|
28906
28896
|
vue.createElementVNode("span", _hoisted_17, vue.toDisplayString(_ctx.dropPlaceholder || "Drag and Drop files here or click to upload"), 1)
|
|
28907
28897
|
])
|
|
28908
28898
|
], true) : vue.createCommentVNode("", true)
|
|
@@ -33368,7 +33358,6 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
33368
33358
|
};
|
|
33369
33359
|
}
|
|
33370
33360
|
});
|
|
33371
|
-
const Icon = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-b28cd148"]]);
|
|
33372
33361
|
const _hoisted_1$l = ["src", "title", "width", "height", "marginwidth", "marginheight", "csp", "scrolling", "srcset"];
|
|
33373
33362
|
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
33374
33363
|
__name: "IframeVue",
|
|
@@ -33541,7 +33530,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
33541
33530
|
height: vue.unref(normalizeDimension)(_ctx.height)
|
|
33542
33531
|
})
|
|
33543
33532
|
}, [
|
|
33544
|
-
vue.createVNode(vue.unref(
|
|
33533
|
+
vue.createVNode(vue.unref(_sfc_main$s), { name: "broken_image" })
|
|
33545
33534
|
], 4)) : (vue.openBlock(), vue.createBlock(vue.unref(Skeleton), {
|
|
33546
33535
|
key: 3,
|
|
33547
33536
|
class: "img-web-kit",
|
|
@@ -33571,7 +33560,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
33571
33560
|
onClick: nav.onClick
|
|
33572
33561
|
}, {
|
|
33573
33562
|
default: vue.withCtx(() => [
|
|
33574
|
-
vue.createVNode(vue.unref(
|
|
33563
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
33575
33564
|
icon: nav.icon,
|
|
33576
33565
|
size: 1.4,
|
|
33577
33566
|
class: "m-0 line-height-14"
|
|
@@ -33673,7 +33662,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
33673
33662
|
class: "nav-button px-075 me-auto w-100"
|
|
33674
33663
|
}, {
|
|
33675
33664
|
default: vue.withCtx(() => [
|
|
33676
|
-
vue.createVNode(vue.unref(
|
|
33665
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
33677
33666
|
icon: nav.icon,
|
|
33678
33667
|
size: 1.4
|
|
33679
33668
|
}, null, 8, ["icon"]),
|
|
@@ -33900,14 +33889,15 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
33900
33889
|
const tabsWrap = vue.ref(void 0);
|
|
33901
33890
|
const tabs = vue.ref([]);
|
|
33902
33891
|
function updateIndicator() {
|
|
33903
|
-
|
|
33904
|
-
|
|
33905
|
-
const
|
|
33906
|
-
|
|
33907
|
-
|
|
33892
|
+
vue.nextTick(() => {
|
|
33893
|
+
if (!tabsWrap.value) return;
|
|
33894
|
+
const activeTab = tabs.value.find((tab) => tab.classList.contains("active"));
|
|
33895
|
+
if (activeTab) {
|
|
33896
|
+
const { offsetLeft, offsetWidth } = activeTab;
|
|
33897
|
+
tabsWrap.value.style.setProperty("--indicator-left", `${offsetLeft}px`);
|
|
33908
33898
|
tabsWrap.value.style.setProperty("--indicator-width", `${offsetWidth}px`);
|
|
33909
33899
|
}
|
|
33910
|
-
}
|
|
33900
|
+
});
|
|
33911
33901
|
}
|
|
33912
33902
|
function selectTab(tab) {
|
|
33913
33903
|
currentTab.value = typeof tab === "string" ? tab : tab.id;
|
|
@@ -33940,6 +33930,15 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
33940
33930
|
updateIndicator();
|
|
33941
33931
|
window.addEventListener("resize", updateIndicator);
|
|
33942
33932
|
});
|
|
33933
|
+
vue.watch(
|
|
33934
|
+
() => tabs.value,
|
|
33935
|
+
() => {
|
|
33936
|
+
vue.nextTick(() => {
|
|
33937
|
+
updateIndicator();
|
|
33938
|
+
});
|
|
33939
|
+
},
|
|
33940
|
+
{ deep: true }
|
|
33941
|
+
);
|
|
33943
33942
|
vue.onBeforeUnmount(() => {
|
|
33944
33943
|
window.removeEventListener("resize", updateIndicator);
|
|
33945
33944
|
});
|
|
@@ -33957,7 +33956,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
33957
33956
|
class: vue.normalizeClass([{ active: isActive(tab) }, "bgl_tab relative z-1"]),
|
|
33958
33957
|
onClick: ($event) => selectTab(tab)
|
|
33959
33958
|
}, [
|
|
33960
|
-
typeof tab !== "string" && tab.icon ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
33959
|
+
typeof tab !== "string" && tab.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
33961
33960
|
key: 0,
|
|
33962
33961
|
icon: tab.icon
|
|
33963
33962
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -33969,7 +33968,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
33969
33968
|
};
|
|
33970
33969
|
}
|
|
33971
33970
|
});
|
|
33972
|
-
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-
|
|
33971
|
+
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-6ece2018"]]);
|
|
33973
33972
|
const _hoisted_1$e = { class: "no-margin ellipsis line-height-14 pb-025" };
|
|
33974
33973
|
const _hoisted_2$9 = { class: "txt12 no-margin txt-gray ellipsis" };
|
|
33975
33974
|
const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -33999,7 +33998,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
33999
33998
|
src: _ctx.src,
|
|
34000
33999
|
size: 40
|
|
34001
34000
|
}, null, 8, ["name", "src"])) : vue.createCommentVNode("", true),
|
|
34002
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
34001
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
34003
34002
|
key: 1,
|
|
34004
34003
|
size: "1.2",
|
|
34005
34004
|
class: "color-primary",
|
|
@@ -34206,7 +34205,7 @@ const _hoisted_1$a = {
|
|
|
34206
34205
|
};
|
|
34207
34206
|
const _hoisted_2$7 = {
|
|
34208
34207
|
key: 1,
|
|
34209
|
-
class: "sticky
|
|
34208
|
+
class: "sticky z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
|
|
34210
34209
|
};
|
|
34211
34210
|
const _hoisted_3$5 = {
|
|
34212
34211
|
key: 2,
|
|
@@ -34554,7 +34553,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
34554
34553
|
onClick: toggleMenu,
|
|
34555
34554
|
onKeypress: vue.withKeys(toggleMenu, ["enter"])
|
|
34556
34555
|
}, [
|
|
34557
|
-
vue.createVNode(vue.unref(
|
|
34556
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
34558
34557
|
icon: "chevron_right",
|
|
34559
34558
|
class: "top-arrow"
|
|
34560
34559
|
})
|
|
@@ -34573,7 +34572,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
34573
34572
|
}
|
|
34574
34573
|
}, {
|
|
34575
34574
|
default: vue.withCtx(() => [
|
|
34576
|
-
vue.createVNode(vue.unref(
|
|
34575
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
34577
34576
|
icon: link.icon
|
|
34578
34577
|
}, null, 8, ["icon"]),
|
|
34579
34578
|
vue.createElementVNode("div", _hoisted_4$4, vue.toDisplayString(link.label), 1)
|
|
@@ -34595,7 +34594,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
34595
34594
|
}
|
|
34596
34595
|
}, {
|
|
34597
34596
|
default: vue.withCtx(() => [
|
|
34598
|
-
vue.createVNode(vue.unref(
|
|
34597
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
34599
34598
|
icon: link.icon
|
|
34600
34599
|
}, null, 8, ["icon"]),
|
|
34601
34600
|
vue.createElementVNode("div", _hoisted_6$4, vue.toDisplayString(link.label), 1)
|
|
@@ -34740,7 +34739,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
34740
34739
|
}, _ctx.btn), null, 16)
|
|
34741
34740
|
])) : vue.createCommentVNode("", true)
|
|
34742
34741
|
])),
|
|
34743
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
34742
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
34744
34743
|
key: 2,
|
|
34745
34744
|
icon: _ctx.icon
|
|
34746
34745
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -34748,7 +34747,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
34748
34747
|
!vue.unref(slots).default ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 3 }, [
|
|
34749
34748
|
vue.createTextVNode(vue.toDisplayString(_ctx.value || _ctx.modelValue), 1)
|
|
34750
34749
|
], 64)) : vue.createCommentVNode("", true),
|
|
34751
|
-
_ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
34750
|
+
_ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
34752
34751
|
key: 4,
|
|
34753
34752
|
icon: _ctx.iconEnd
|
|
34754
34753
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -34890,7 +34889,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
34890
34889
|
vue.createElementVNode("span", {
|
|
34891
34890
|
onClick: ($event) => col.sortable && _ctx.$emit("sortColumn", col.key)
|
|
34892
34891
|
}, vue.toDisplayString(col.label || col.key), 9, _hoisted_3$2),
|
|
34893
|
-
_ctx.sortColumn === col.key ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
34892
|
+
_ctx.sortColumn === col.key ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
34894
34893
|
key: 0,
|
|
34895
34894
|
class: vue.normalizeClass(["line-height-0 transition-400", { "rotate-180": _ctx.sortDirection === "desc" }]),
|
|
34896
34895
|
name: "keyboard_arrow_down"
|
|
@@ -35484,7 +35483,10 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
35484
35483
|
return vue.openBlock(), vue.createBlock(vue.unref(CheckInput), {
|
|
35485
35484
|
key: col.key,
|
|
35486
35485
|
modelValue: visibleColumns.value,
|
|
35487
|
-
"onUpdate:modelValue":
|
|
35486
|
+
"onUpdate:modelValue": [
|
|
35487
|
+
_cache[2] || (_cache[2] = ($event) => visibleColumns.value = $event),
|
|
35488
|
+
_cache[3] || (_cache[3] = (val) => void 0)
|
|
35489
|
+
],
|
|
35488
35490
|
value: col.key,
|
|
35489
35491
|
label: col.label || col.key
|
|
35490
35492
|
}, null, 8, ["modelValue", "value", "label"]);
|
|
@@ -35497,7 +35499,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
35497
35499
|
ref_key: "searchInputRef",
|
|
35498
35500
|
ref: searchInputRef,
|
|
35499
35501
|
modelValue: search.value,
|
|
35500
|
-
"onUpdate:modelValue": _cache[
|
|
35502
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => search.value = $event),
|
|
35501
35503
|
icon: "search",
|
|
35502
35504
|
placeholder: "Search",
|
|
35503
35505
|
class: "m-0 max-w200px"
|
|
@@ -35613,7 +35615,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
35613
35615
|
};
|
|
35614
35616
|
}
|
|
35615
35617
|
});
|
|
35616
|
-
const Index = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
35618
|
+
const Index = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-42b4475d"]]);
|
|
35617
35619
|
const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
35618
35620
|
__name: "Title",
|
|
35619
35621
|
props: {
|
|
@@ -36131,15 +36133,15 @@ function useBagelFormState() {
|
|
|
36131
36133
|
if (!state2) throw new Error("BagelFormState must be provided");
|
|
36132
36134
|
return state2;
|
|
36133
36135
|
}
|
|
36134
|
-
function useBglSchema({ schema,
|
|
36136
|
+
function useBglSchema({ schema, columns, data: data2 } = {}) {
|
|
36135
36137
|
let _schema = schema;
|
|
36136
36138
|
if (typeof _schema === "function") {
|
|
36137
36139
|
_schema = _schema();
|
|
36138
36140
|
}
|
|
36139
36141
|
if (_schema) {
|
|
36140
|
-
return
|
|
36142
|
+
return columns && columns.length > 0 ? _schema.filter((f2) => columns.includes(f2.id)) : _schema;
|
|
36141
36143
|
}
|
|
36142
|
-
return getFallbackSchema(data2,
|
|
36144
|
+
return getFallbackSchema(data2, columns);
|
|
36143
36145
|
}
|
|
36144
36146
|
function localRef(key, initialValue) {
|
|
36145
36147
|
const storedValue = localStorage.getItem(key);
|
|
@@ -36597,13 +36599,13 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
36597
36599
|
title: item == null ? void 0 : item.name,
|
|
36598
36600
|
class: "vw90"
|
|
36599
36601
|
}, null, 8, _hoisted_5)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
|
|
36600
|
-
vue.createVNode(vue.unref(
|
|
36602
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
36601
36603
|
class: "m-0 m_none",
|
|
36602
36604
|
icon: "draft",
|
|
36603
36605
|
size: 10,
|
|
36604
36606
|
weight: "12"
|
|
36605
36607
|
}),
|
|
36606
|
-
vue.createVNode(vue.unref(
|
|
36608
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
36607
36609
|
class: "m-0 none m_block m_-mb-1",
|
|
36608
36610
|
icon: "draft",
|
|
36609
36611
|
size: 4,
|
|
@@ -36642,7 +36644,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
36642
36644
|
src: item.src,
|
|
36643
36645
|
alt: "",
|
|
36644
36646
|
onClick: ($event) => selectItem(index2)
|
|
36645
|
-
}, null, 8, ["src", "class", "onClick"])) : (vue.openBlock(), vue.createBlock(vue.unref(
|
|
36647
|
+
}, null, 8, ["src", "class", "onClick"])) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
36646
36648
|
key: 1,
|
|
36647
36649
|
class: vue.normalizeClass(["thumbnail object-fit-cover hover opacity-5 ed flex bg-popup justify-content-center align-items-center flex-shrink-0", { active: vue.unref(currentIndex) === index2 }]),
|
|
36648
36650
|
icon: "description",
|
|
@@ -37451,34 +37453,76 @@ function timeAgo(date2, lang = "en") {
|
|
|
37451
37453
|
}
|
|
37452
37454
|
return selectedLang.justNow;
|
|
37453
37455
|
}
|
|
37454
|
-
|
|
37455
|
-
|
|
37456
|
-
|
|
37457
|
-
|
|
37458
|
-
|
|
37459
|
-
|
|
37460
|
-
mmmm: { type: "month", format: "long" },
|
|
37461
|
-
yy: { type: "year", format: "2-digit" },
|
|
37462
|
-
yyyy: { type: "year", format: "numeric" },
|
|
37463
|
-
HH: { type: "hour", format: "2-digit" },
|
|
37464
|
-
hh: { type: "hour", format: "2-digit" },
|
|
37465
|
-
MM: { type: "minute", format: "2-digit" },
|
|
37466
|
-
ss: { type: "second", format: "2-digit" },
|
|
37467
|
-
ampm: { type: "dayPeriod", format: "short" }
|
|
37468
|
-
};
|
|
37469
|
-
function formatDate(date2, format2 = "dd.mm.yy") {
|
|
37456
|
+
function getBrowserNavigatorLocale() {
|
|
37457
|
+
if (typeof navigator !== "object") return "en-US";
|
|
37458
|
+
return navigator.languages && navigator.languages.length ? navigator.languages[0] : navigator.language;
|
|
37459
|
+
}
|
|
37460
|
+
function formatDate(date2, format2 = "dd.mm.yy", locale2) {
|
|
37461
|
+
var _a;
|
|
37470
37462
|
if (!date2) return "";
|
|
37463
|
+
locale2 = locale2 || getBrowserNavigatorLocale();
|
|
37471
37464
|
try {
|
|
37472
|
-
const formatParts = format2.split(/[.\s:]/);
|
|
37473
|
-
const formatObject = {};
|
|
37474
|
-
for (const part of formatParts) {
|
|
37475
|
-
const formatInfo = formatMap[part];
|
|
37476
|
-
if (!formatInfo) continue;
|
|
37477
|
-
formatObject[formatInfo.type] = formatInfo.format;
|
|
37478
|
-
}
|
|
37479
37465
|
const d2 = typeof date2 === "string" ? new Date(date2) : date2;
|
|
37480
|
-
|
|
37466
|
+
if (Number.isNaN(d2.getTime())) {
|
|
37467
|
+
console.warn("Invalid date provided to formatDate:", date2);
|
|
37468
|
+
return "";
|
|
37469
|
+
}
|
|
37470
|
+
const separator = ((_a = format2.match(/[^\w\s]/)) == null ? void 0 : _a[0]) || ".";
|
|
37471
|
+
const formatParts = format2.split(/[^\w\s]/);
|
|
37472
|
+
const datePartsMap = {
|
|
37473
|
+
dd: String(d2.getDate()).padStart(2, "0"),
|
|
37474
|
+
ddd: d2.toLocaleString(locale2, { weekday: "short" }),
|
|
37475
|
+
dddd: d2.toLocaleString(locale2, { weekday: "long" }),
|
|
37476
|
+
mm: String(d2.getMonth() + 1).padStart(2, "0"),
|
|
37477
|
+
mmm: d2.toLocaleString(locale2, { month: "short" }),
|
|
37478
|
+
mmmm: d2.toLocaleString(locale2, { month: "long" }),
|
|
37479
|
+
yy: String(d2.getFullYear()).slice(-2),
|
|
37480
|
+
yyyy: String(d2.getFullYear()),
|
|
37481
|
+
HH: String(d2.getHours()).padStart(2, "0"),
|
|
37482
|
+
MM: String(d2.getMinutes()).padStart(2, "0"),
|
|
37483
|
+
ss: String(d2.getSeconds()).padStart(2, "0")
|
|
37484
|
+
};
|
|
37485
|
+
const formatter = new Intl.DateTimeFormat(locale2, {
|
|
37486
|
+
weekday: "long",
|
|
37487
|
+
month: "long",
|
|
37488
|
+
day: "numeric",
|
|
37489
|
+
year: "numeric",
|
|
37490
|
+
hour: "2-digit",
|
|
37491
|
+
minute: "2-digit",
|
|
37492
|
+
second: "2-digit",
|
|
37493
|
+
hour12: true
|
|
37494
|
+
});
|
|
37495
|
+
const formattedParts = formatter.formatToParts(d2);
|
|
37496
|
+
const partsMap = {};
|
|
37497
|
+
formattedParts.forEach((part) => {
|
|
37498
|
+
if (part.type !== "literal") {
|
|
37499
|
+
partsMap[part.type] = part.value;
|
|
37500
|
+
}
|
|
37501
|
+
});
|
|
37502
|
+
if (partsMap.month) {
|
|
37503
|
+
datePartsMap.mmm = partsMap.month.substring(0, 3);
|
|
37504
|
+
datePartsMap.mmmm = partsMap.month;
|
|
37505
|
+
}
|
|
37506
|
+
if (partsMap.weekday) {
|
|
37507
|
+
datePartsMap.ddd = partsMap.weekday.substring(0, 3);
|
|
37508
|
+
datePartsMap.dddd = partsMap.weekday;
|
|
37509
|
+
}
|
|
37510
|
+
if (partsMap.dayPeriod) {
|
|
37511
|
+
datePartsMap.ampm = partsMap.dayPeriod;
|
|
37512
|
+
}
|
|
37513
|
+
let formattedDate = "";
|
|
37514
|
+
for (let i2 = 0; i2 < formatParts.length; i2++) {
|
|
37515
|
+
const part = formatParts[i2];
|
|
37516
|
+
if (datePartsMap[part]) {
|
|
37517
|
+
formattedDate += datePartsMap[part];
|
|
37518
|
+
}
|
|
37519
|
+
if (i2 < formatParts.length - 1) {
|
|
37520
|
+
formattedDate += separator;
|
|
37521
|
+
}
|
|
37522
|
+
}
|
|
37523
|
+
return formattedDate;
|
|
37481
37524
|
} catch (error) {
|
|
37525
|
+
console.warn("Error formatting date", error);
|
|
37482
37526
|
return "";
|
|
37483
37527
|
}
|
|
37484
37528
|
}
|
|
@@ -37515,7 +37559,7 @@ exports.FileUpload = FileUpload;
|
|
|
37515
37559
|
exports.Flag = Flag;
|
|
37516
37560
|
exports.IMAGE_FORMATS = IMAGE_FORMATS;
|
|
37517
37561
|
exports.IMAGE_FORMATS_REGEXP = IMAGE_FORMATS_REGEXP;
|
|
37518
|
-
exports.Icon =
|
|
37562
|
+
exports.Icon = _sfc_main$s;
|
|
37519
37563
|
exports.IframeVue = _sfc_main$r;
|
|
37520
37564
|
exports.Image = Image$1;
|
|
37521
37565
|
exports.JSONInput = JSONInput;
|