@bagelink/vue 0.0.755 → 0.0.757
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/layout/Tabs.vue.d.ts +2 -0
- package/dist/components/layout/Tabs.vue.d.ts.map +1 -1
- package/dist/index.cjs +23 -21
- package/dist/index.mjs +23 -21
- package/dist/style.css +122 -97
- package/package.json +1 -1
- package/src/components/Btn.vue +1 -1
- package/src/components/form/inputs/RadioGroup.vue +2 -2
- package/src/components/form/inputs/RichText2/Toolbar.vue +1 -1
- package/src/components/form/inputs/RichText2/index.vue +3 -3
- package/src/components/form/inputs/ToggleInput.vue +1 -1
- package/src/components/formkit/Toggle.vue +1 -1
- package/src/components/layout/SidebarMenu.vue +1 -1
- package/src/components/layout/Tabs.vue +6 -3
- package/src/components/lightbox/Lightbox.vue +2 -2
- package/src/styles/layout.css +18 -2
- package/src/styles/mobilLayout.css +16 -2
- package/src/utils/BagelFormUtils.ts +1 -1
|
@@ -8,11 +8,13 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
8
8
|
declare const __VLS_component: import('vue').DefineComponent<{
|
|
9
9
|
tabs: Tab[];
|
|
10
10
|
modelValue?: string;
|
|
11
|
+
flat?: boolean;
|
|
11
12
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
13
|
"update:modelValue": (...args: any[]) => void;
|
|
13
14
|
}, string, import('vue').PublicProps, Readonly<{
|
|
14
15
|
tabs: Tab[];
|
|
15
16
|
modelValue?: string;
|
|
17
|
+
flat?: boolean;
|
|
16
18
|
}> & Readonly<{
|
|
17
19
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
18
20
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Tabs.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Tabs.vue"],"names":[],"mappings":"AAsDA,OAAO,EAAE,KAAK,GAAG,EAAW,MAAM,eAAe,CAAA;AA8CjD,iBAAS,cAAc;0CA2C6D,GAAG;;WAUzE,OAAO,IAA6B;EAEjD;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;UA5Gd,GAAG,EAAE;iBACE,MAAM;WACZ,OAAO;;;;UAFR,GAAG,EAAE;iBACE,MAAM;WACZ,OAAO;;;kFAiHb,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -227,8 +227,8 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
|
227
227
|
},
|
|
228
228
|
setup(__props) {
|
|
229
229
|
vue.useCssVars((_ctx) => ({
|
|
230
|
-
"
|
|
231
|
-
"
|
|
230
|
+
"4cc6fa2a": computedBackgroundColor.value,
|
|
231
|
+
"0ff33606": cumputedTextColor.value
|
|
232
232
|
}));
|
|
233
233
|
const props2 = __props;
|
|
234
234
|
const isComponent = vue.computed(() => {
|
|
@@ -317,7 +317,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
|
317
317
|
};
|
|
318
318
|
}
|
|
319
319
|
});
|
|
320
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-
|
|
320
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-a73ad8c2"]]);
|
|
321
321
|
const _hoisted_1$G = ["dismissable"];
|
|
322
322
|
const _hoisted_2$r = { class: "m-0" };
|
|
323
323
|
const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -19010,7 +19010,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
19010
19010
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, (opt) => {
|
|
19011
19011
|
return vue.openBlock(), vue.createElementBlock("label", {
|
|
19012
19012
|
key: opt.id,
|
|
19013
|
-
class: "border
|
|
19013
|
+
class: "border rounded p-1 flex bg-gray-light mb-05 gap-075 active-list-item hover",
|
|
19014
19014
|
for: opt.id
|
|
19015
19015
|
}, [
|
|
19016
19016
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
@@ -19026,7 +19026,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
19026
19026
|
vue.createElementVNode("div", _hoisted_3$d, [
|
|
19027
19027
|
opt.imgSrc ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
19028
19028
|
key: 0,
|
|
19029
|
-
class: "bg-popup shadow-light py-025
|
|
19029
|
+
class: "bg-popup shadow-light py-025 radius-05 m_w40",
|
|
19030
19030
|
width: "60",
|
|
19031
19031
|
src: opt.imgSrc,
|
|
19032
19032
|
alt: opt.imgAlt
|
|
@@ -19051,7 +19051,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
19051
19051
|
};
|
|
19052
19052
|
}
|
|
19053
19053
|
});
|
|
19054
|
-
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-
|
|
19054
|
+
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-3e9e030f"]]);
|
|
19055
19055
|
const _hoisted_1$p = { class: "bagel-input" };
|
|
19056
19056
|
const _hoisted_2$f = { class: "pb-025" };
|
|
19057
19057
|
const _hoisted_3$c = { class: "flex gap-05 flex-wrap" };
|
|
@@ -43670,7 +43670,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
43670
43670
|
key: action.name,
|
|
43671
43671
|
thin: "",
|
|
43672
43672
|
flat: "",
|
|
43673
|
-
class: vue.normalizeClass([action.class, "
|
|
43673
|
+
class: vue.normalizeClass([action.class, "radius-05"]),
|
|
43674
43674
|
"aria-label": action.name,
|
|
43675
43675
|
icon: action.icon,
|
|
43676
43676
|
onClick: ($event) => emit2("action", action.name)
|
|
@@ -43687,12 +43687,12 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
43687
43687
|
};
|
|
43688
43688
|
}
|
|
43689
43689
|
});
|
|
43690
|
-
const _hoisted_1$l = { class: "rich-text-editor
|
|
43690
|
+
const _hoisted_1$l = { class: "rich-text-editor rounded pt-05 px-1 pb-1" };
|
|
43691
43691
|
const _hoisted_2$c = { class: "editor-container flex flex-stretch gap-1 m_column" };
|
|
43692
|
-
const _hoisted_3$a = { class: "content-area
|
|
43692
|
+
const _hoisted_3$a = { class: "content-area radius-05 p-1 shadow-light w-100 grid" };
|
|
43693
43693
|
const _hoisted_4$6 = {
|
|
43694
43694
|
key: 0,
|
|
43695
|
-
class: "preview-area w-100
|
|
43695
|
+
class: "preview-area w-100 radius-05 p-1"
|
|
43696
43696
|
};
|
|
43697
43697
|
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
43698
43698
|
__name: "index",
|
|
@@ -43853,7 +43853,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
43853
43853
|
};
|
|
43854
43854
|
}
|
|
43855
43855
|
});
|
|
43856
|
-
const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-
|
|
43856
|
+
const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-9c94183b"]]);
|
|
43857
43857
|
/*!
|
|
43858
43858
|
* Signature Pad v5.0.3 | https://github.com/szimek/signature_pad
|
|
43859
43859
|
* (c) 2024 Szymon Nowak | Released under the MIT license
|
|
@@ -52214,7 +52214,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
52214
52214
|
vue.createElementVNode("div", {
|
|
52215
52215
|
class: vue.normalizeClass(["switch", { checked: checked.value }])
|
|
52216
52216
|
}, _cache[1] || (_cache[1] = [
|
|
52217
|
-
vue.createElementVNode("span", { class: "slider
|
|
52217
|
+
vue.createElementVNode("span", { class: "slider rounded" }, null, -1)
|
|
52218
52218
|
]), 2),
|
|
52219
52219
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
52220
52220
|
id: inputId.value,
|
|
@@ -52233,7 +52233,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
52233
52233
|
};
|
|
52234
52234
|
}
|
|
52235
52235
|
});
|
|
52236
|
-
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-
|
|
52236
|
+
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-683b2f6d"]]);
|
|
52237
52237
|
const _hoisted_1$f = { class: "m-0 pb-025 txt14 line-height-1" };
|
|
52238
52238
|
const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
52239
52239
|
__name: "BottomMenu",
|
|
@@ -52342,7 +52342,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
52342
52342
|
icon: "keyboard_arrow_right",
|
|
52343
52343
|
onClick: toggleMenu
|
|
52344
52344
|
}),
|
|
52345
|
-
vue.createVNode(vue.unref(_sfc_main$N), { class: "py-1 px-05 h-100 flex column gap-05
|
|
52345
|
+
vue.createVNode(vue.unref(_sfc_main$N), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
|
|
52346
52346
|
default: vue.withCtx(() => [
|
|
52347
52347
|
!vue.unref(isOpen) || !vue.unref(slots)["brand-open"] ? vue.renderSlot(_ctx.$slots, "brand", { key: 0 }, void 0, true) : vue.createCommentVNode("", true),
|
|
52348
52348
|
vue.unref(isOpen) ? vue.renderSlot(_ctx.$slots, "brand-open", { key: 1 }, void 0, true) : vue.createCommentVNode("", true),
|
|
@@ -52388,7 +52388,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
52388
52388
|
};
|
|
52389
52389
|
}
|
|
52390
52390
|
});
|
|
52391
|
-
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-
|
|
52391
|
+
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-3ee4f3f7"]]);
|
|
52392
52392
|
const _hoisted_1$d = { class: "bgl_card tabs-top" };
|
|
52393
52393
|
const _hoisted_2$7 = { class: "tabs grid auto-flow-columns fit-content" };
|
|
52394
52394
|
const _hoisted_3$5 = ["onClick"];
|
|
@@ -52471,7 +52471,8 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
52471
52471
|
__name: "Tabs",
|
|
52472
52472
|
props: {
|
|
52473
52473
|
tabs: {},
|
|
52474
|
-
modelValue: {}
|
|
52474
|
+
modelValue: {},
|
|
52475
|
+
flat: { type: Boolean }
|
|
52475
52476
|
},
|
|
52476
52477
|
emits: ["update:modelValue"],
|
|
52477
52478
|
setup(__props, { emit: __emit }) {
|
|
@@ -52503,10 +52504,11 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
52503
52504
|
vue.createVNode(vue.unref(TabsNav), {
|
|
52504
52505
|
modelValue: slctTab.value,
|
|
52505
52506
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => slctTab.value = $event),
|
|
52507
|
+
flat: _ctx.flat,
|
|
52506
52508
|
tabs: _ctx.tabs,
|
|
52507
52509
|
group: vue.unref(group),
|
|
52508
52510
|
class: "mb-05"
|
|
52509
|
-
}, null, 8, ["modelValue", "tabs", "group"]),
|
|
52511
|
+
}, null, 8, ["modelValue", "flat", "tabs", "group"]),
|
|
52510
52512
|
vue.unref(currentTab) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [
|
|
52511
52513
|
vue.unref(slots)[vue.unref(currentTab)] ? vue.renderSlot(_ctx.$slots, vue.unref(currentTab), { key: 0 }) : vue.unref(currentTab) ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(tabComponent)), { key: 1 })) : vue.createCommentVNode("", true)
|
|
52512
52514
|
])) : vue.createCommentVNode("", true)
|
|
@@ -54659,13 +54661,13 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
54659
54661
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
54660
54662
|
item.type === "image" ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
54661
54663
|
key: 0,
|
|
54662
|
-
class: vue.normalizeClass(["thumbnail object-fit-cover hover opacity-5
|
|
54664
|
+
class: vue.normalizeClass(["thumbnail object-fit-cover hover opacity-5 rounded flex bg-popup justify-content-center align-items-center flex-shrink-0", { active: vue.unref(currentIndex) === index2 }]),
|
|
54663
54665
|
src: item.src,
|
|
54664
54666
|
alt: "",
|
|
54665
54667
|
onClick: ($event) => selectItem(index2)
|
|
54666
54668
|
}, null, 10, _hoisted_11)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$b), {
|
|
54667
54669
|
key: 1,
|
|
54668
|
-
class: vue.normalizeClass(["thumbnail object-fit-cover hover opacity-5
|
|
54670
|
+
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 }]),
|
|
54669
54671
|
icon: "description",
|
|
54670
54672
|
onClick: ($event) => selectItem(index2)
|
|
54671
54673
|
}, null, 8, ["class", "onClick"]))
|
|
@@ -54681,7 +54683,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
54681
54683
|
};
|
|
54682
54684
|
}
|
|
54683
54685
|
});
|
|
54684
|
-
const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
54686
|
+
const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-68949c15"]]);
|
|
54685
54687
|
const groups = {};
|
|
54686
54688
|
const lightboxDirective = {
|
|
54687
54689
|
mounted(el, binding) {
|
|
@@ -54851,7 +54853,7 @@ function numField(id, label, options) {
|
|
|
54851
54853
|
function frmRow(...children2) {
|
|
54852
54854
|
return {
|
|
54853
54855
|
$el: "div",
|
|
54854
|
-
class: "flex gap-1 m_block",
|
|
54856
|
+
class: "flex gap-1 m_block align-items-end",
|
|
54855
54857
|
children: children2
|
|
54856
54858
|
};
|
|
54857
54859
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -225,8 +225,8 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
225
225
|
},
|
|
226
226
|
setup(__props) {
|
|
227
227
|
useCssVars((_ctx) => ({
|
|
228
|
-
"
|
|
229
|
-
"
|
|
228
|
+
"4cc6fa2a": computedBackgroundColor.value,
|
|
229
|
+
"0ff33606": cumputedTextColor.value
|
|
230
230
|
}));
|
|
231
231
|
const props2 = __props;
|
|
232
232
|
const isComponent = computed(() => {
|
|
@@ -315,7 +315,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
315
315
|
};
|
|
316
316
|
}
|
|
317
317
|
});
|
|
318
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-
|
|
318
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-a73ad8c2"]]);
|
|
319
319
|
const _hoisted_1$G = ["dismissable"];
|
|
320
320
|
const _hoisted_2$r = { class: "m-0" };
|
|
321
321
|
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
@@ -19008,7 +19008,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
19008
19008
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.options, (opt) => {
|
|
19009
19009
|
return openBlock(), createElementBlock("label", {
|
|
19010
19010
|
key: opt.id,
|
|
19011
|
-
class: "border
|
|
19011
|
+
class: "border rounded p-1 flex bg-gray-light mb-05 gap-075 active-list-item hover",
|
|
19012
19012
|
for: opt.id
|
|
19013
19013
|
}, [
|
|
19014
19014
|
withDirectives(createElementVNode("input", {
|
|
@@ -19024,7 +19024,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
19024
19024
|
createElementVNode("div", _hoisted_3$d, [
|
|
19025
19025
|
opt.imgSrc ? (openBlock(), createElementBlock("img", {
|
|
19026
19026
|
key: 0,
|
|
19027
|
-
class: "bg-popup shadow-light py-025
|
|
19027
|
+
class: "bg-popup shadow-light py-025 radius-05 m_w40",
|
|
19028
19028
|
width: "60",
|
|
19029
19029
|
src: opt.imgSrc,
|
|
19030
19030
|
alt: opt.imgAlt
|
|
@@ -19049,7 +19049,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
19049
19049
|
};
|
|
19050
19050
|
}
|
|
19051
19051
|
});
|
|
19052
|
-
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-
|
|
19052
|
+
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-3e9e030f"]]);
|
|
19053
19053
|
const _hoisted_1$p = { class: "bagel-input" };
|
|
19054
19054
|
const _hoisted_2$f = { class: "pb-025" };
|
|
19055
19055
|
const _hoisted_3$c = { class: "flex gap-05 flex-wrap" };
|
|
@@ -43668,7 +43668,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
43668
43668
|
key: action.name,
|
|
43669
43669
|
thin: "",
|
|
43670
43670
|
flat: "",
|
|
43671
|
-
class: normalizeClass([action.class, "
|
|
43671
|
+
class: normalizeClass([action.class, "radius-05"]),
|
|
43672
43672
|
"aria-label": action.name,
|
|
43673
43673
|
icon: action.icon,
|
|
43674
43674
|
onClick: ($event) => emit2("action", action.name)
|
|
@@ -43685,12 +43685,12 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
43685
43685
|
};
|
|
43686
43686
|
}
|
|
43687
43687
|
});
|
|
43688
|
-
const _hoisted_1$l = { class: "rich-text-editor
|
|
43688
|
+
const _hoisted_1$l = { class: "rich-text-editor rounded pt-05 px-1 pb-1" };
|
|
43689
43689
|
const _hoisted_2$c = { class: "editor-container flex flex-stretch gap-1 m_column" };
|
|
43690
|
-
const _hoisted_3$a = { class: "content-area
|
|
43690
|
+
const _hoisted_3$a = { class: "content-area radius-05 p-1 shadow-light w-100 grid" };
|
|
43691
43691
|
const _hoisted_4$6 = {
|
|
43692
43692
|
key: 0,
|
|
43693
|
-
class: "preview-area w-100
|
|
43693
|
+
class: "preview-area w-100 radius-05 p-1"
|
|
43694
43694
|
};
|
|
43695
43695
|
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
43696
43696
|
__name: "index",
|
|
@@ -43851,7 +43851,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
43851
43851
|
};
|
|
43852
43852
|
}
|
|
43853
43853
|
});
|
|
43854
|
-
const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-
|
|
43854
|
+
const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-9c94183b"]]);
|
|
43855
43855
|
/*!
|
|
43856
43856
|
* Signature Pad v5.0.3 | https://github.com/szimek/signature_pad
|
|
43857
43857
|
* (c) 2024 Szymon Nowak | Released under the MIT license
|
|
@@ -52212,7 +52212,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
52212
52212
|
createElementVNode("div", {
|
|
52213
52213
|
class: normalizeClass(["switch", { checked: checked.value }])
|
|
52214
52214
|
}, _cache[1] || (_cache[1] = [
|
|
52215
|
-
createElementVNode("span", { class: "slider
|
|
52215
|
+
createElementVNode("span", { class: "slider rounded" }, null, -1)
|
|
52216
52216
|
]), 2),
|
|
52217
52217
|
withDirectives(createElementVNode("input", {
|
|
52218
52218
|
id: inputId.value,
|
|
@@ -52231,7 +52231,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
52231
52231
|
};
|
|
52232
52232
|
}
|
|
52233
52233
|
});
|
|
52234
|
-
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-
|
|
52234
|
+
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-683b2f6d"]]);
|
|
52235
52235
|
const _hoisted_1$f = { class: "m-0 pb-025 txt14 line-height-1" };
|
|
52236
52236
|
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
52237
52237
|
__name: "BottomMenu",
|
|
@@ -52340,7 +52340,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
52340
52340
|
icon: "keyboard_arrow_right",
|
|
52341
52341
|
onClick: toggleMenu
|
|
52342
52342
|
}),
|
|
52343
|
-
createVNode(unref(_sfc_main$N), { class: "py-1 px-05 h-100 flex column gap-05
|
|
52343
|
+
createVNode(unref(_sfc_main$N), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
|
|
52344
52344
|
default: withCtx(() => [
|
|
52345
52345
|
!unref(isOpen) || !unref(slots)["brand-open"] ? renderSlot(_ctx.$slots, "brand", { key: 0 }, void 0, true) : createCommentVNode("", true),
|
|
52346
52346
|
unref(isOpen) ? renderSlot(_ctx.$slots, "brand-open", { key: 1 }, void 0, true) : createCommentVNode("", true),
|
|
@@ -52386,7 +52386,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
52386
52386
|
};
|
|
52387
52387
|
}
|
|
52388
52388
|
});
|
|
52389
|
-
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-
|
|
52389
|
+
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-3ee4f3f7"]]);
|
|
52390
52390
|
const _hoisted_1$d = { class: "bgl_card tabs-top" };
|
|
52391
52391
|
const _hoisted_2$7 = { class: "tabs grid auto-flow-columns fit-content" };
|
|
52392
52392
|
const _hoisted_3$5 = ["onClick"];
|
|
@@ -52469,7 +52469,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
52469
52469
|
__name: "Tabs",
|
|
52470
52470
|
props: {
|
|
52471
52471
|
tabs: {},
|
|
52472
|
-
modelValue: {}
|
|
52472
|
+
modelValue: {},
|
|
52473
|
+
flat: { type: Boolean }
|
|
52473
52474
|
},
|
|
52474
52475
|
emits: ["update:modelValue"],
|
|
52475
52476
|
setup(__props, { emit: __emit }) {
|
|
@@ -52501,10 +52502,11 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
52501
52502
|
createVNode(unref(TabsNav), {
|
|
52502
52503
|
modelValue: slctTab.value,
|
|
52503
52504
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => slctTab.value = $event),
|
|
52505
|
+
flat: _ctx.flat,
|
|
52504
52506
|
tabs: _ctx.tabs,
|
|
52505
52507
|
group: unref(group),
|
|
52506
52508
|
class: "mb-05"
|
|
52507
|
-
}, null, 8, ["modelValue", "tabs", "group"]),
|
|
52509
|
+
}, null, 8, ["modelValue", "flat", "tabs", "group"]),
|
|
52508
52510
|
unref(currentTab) ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
52509
52511
|
unref(slots)[unref(currentTab)] ? renderSlot(_ctx.$slots, unref(currentTab), { key: 0 }) : unref(currentTab) ? (openBlock(), createBlock(resolveDynamicComponent(unref(tabComponent)), { key: 1 })) : createCommentVNode("", true)
|
|
52510
52512
|
])) : createCommentVNode("", true)
|
|
@@ -54657,13 +54659,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
54657
54659
|
return openBlock(), createElementBlock(Fragment$1, { key: index2 }, [
|
|
54658
54660
|
item.type === "image" ? (openBlock(), createElementBlock("img", {
|
|
54659
54661
|
key: 0,
|
|
54660
|
-
class: normalizeClass(["thumbnail object-fit-cover hover opacity-5
|
|
54662
|
+
class: normalizeClass(["thumbnail object-fit-cover hover opacity-5 rounded flex bg-popup justify-content-center align-items-center flex-shrink-0", { active: unref(currentIndex) === index2 }]),
|
|
54661
54663
|
src: item.src,
|
|
54662
54664
|
alt: "",
|
|
54663
54665
|
onClick: ($event) => selectItem(index2)
|
|
54664
54666
|
}, null, 10, _hoisted_11)) : (openBlock(), createBlock(unref(_sfc_main$b), {
|
|
54665
54667
|
key: 1,
|
|
54666
|
-
class: normalizeClass(["thumbnail object-fit-cover hover opacity-5
|
|
54668
|
+
class: normalizeClass(["thumbnail object-fit-cover hover opacity-5 ed flex bg-popup justify-content-center align-items-center flex-shrink-0", { active: unref(currentIndex) === index2 }]),
|
|
54667
54669
|
icon: "description",
|
|
54668
54670
|
onClick: ($event) => selectItem(index2)
|
|
54669
54671
|
}, null, 8, ["class", "onClick"]))
|
|
@@ -54679,7 +54681,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
54679
54681
|
};
|
|
54680
54682
|
}
|
|
54681
54683
|
});
|
|
54682
|
-
const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
54684
|
+
const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-68949c15"]]);
|
|
54683
54685
|
const groups = {};
|
|
54684
54686
|
const lightboxDirective = {
|
|
54685
54687
|
mounted(el, binding) {
|
|
@@ -54849,7 +54851,7 @@ function numField(id, label, options) {
|
|
|
54849
54851
|
function frmRow(...children2) {
|
|
54850
54852
|
return {
|
|
54851
54853
|
$el: "div",
|
|
54852
|
-
class: "flex gap-1 m_block",
|
|
54854
|
+
class: "flex gap-1 m_block align-items-end",
|
|
54853
54855
|
children: children2
|
|
54854
54856
|
};
|
|
54855
54857
|
}
|
package/dist/style.css
CHANGED
|
@@ -46,19 +46,19 @@
|
|
|
46
46
|
max-height: 300px;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
a[data-v-
|
|
49
|
+
a[data-v-a73ad8c2] {
|
|
50
50
|
text-decoration: none;
|
|
51
51
|
}
|
|
52
|
-
.loading[data-v-
|
|
52
|
+
.loading[data-v-a73ad8c2] {
|
|
53
53
|
border: 1px solid var(--bgl-light-text);
|
|
54
54
|
border-bottom: 2px solid var(--bgl-light-text);
|
|
55
|
-
animation: spin-
|
|
55
|
+
animation: spin-a73ad8c2 1s linear infinite;
|
|
56
56
|
border-radius: 100px;
|
|
57
57
|
width: 1rem;
|
|
58
58
|
height: 1rem;
|
|
59
59
|
margin: auto;
|
|
60
60
|
}
|
|
61
|
-
@keyframes spin-
|
|
61
|
+
@keyframes spin-a73ad8c2 {
|
|
62
62
|
0% {
|
|
63
63
|
transform: rotate(0deg);
|
|
64
64
|
}
|
|
@@ -66,7 +66,7 @@ a[data-v-7463197f] {
|
|
|
66
66
|
transform: rotate(360deg);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
.bgl_btn-icon[data-v-
|
|
69
|
+
.bgl_btn-icon[data-v-a73ad8c2] {
|
|
70
70
|
height: var(--btn-height);
|
|
71
71
|
width: var(--btn-height);
|
|
72
72
|
border-radius: 100%;
|
|
@@ -76,108 +76,108 @@ a[data-v-7463197f] {
|
|
|
76
76
|
flex-shrink: 0;
|
|
77
77
|
transition: var(--bgl-transition);
|
|
78
78
|
}
|
|
79
|
-
.bgl_btn[data-v-
|
|
79
|
+
.bgl_btn[data-v-a73ad8c2] {
|
|
80
80
|
padding-left: var(--btn-padding);
|
|
81
81
|
padding-right: var(--btn-padding);
|
|
82
82
|
transition: var(--bgl-transition);
|
|
83
83
|
text-decoration: none;
|
|
84
84
|
}
|
|
85
|
-
.bgl_btn[disabled="true"][data-v-
|
|
85
|
+
.bgl_btn[disabled="true"][data-v-a73ad8c2] {
|
|
86
86
|
opacity: 0.5;
|
|
87
87
|
cursor: not-allowed;
|
|
88
88
|
}
|
|
89
|
-
.bgl_btn-flex[data-v-
|
|
89
|
+
.bgl_btn-flex[data-v-a73ad8c2] {
|
|
90
90
|
display: flex;
|
|
91
91
|
align-items: center;
|
|
92
92
|
gap: 0.5rem;
|
|
93
93
|
justify-content: center;
|
|
94
94
|
height: 100%;
|
|
95
95
|
}
|
|
96
|
-
.bgl_btn .bgl_.bgl_icon-font[data-v-
|
|
96
|
+
.bgl_btn .bgl_.bgl_icon-font[data-v-a73ad8c2] {
|
|
97
97
|
font-size: calc(var(--input-font-size) * 1.3);
|
|
98
98
|
}
|
|
99
|
-
.bgl_btn[data-v-
|
|
100
|
-
.bgl_btn-icon[data-v-
|
|
101
|
-
background-color: var(--
|
|
102
|
-
color: var(--
|
|
99
|
+
.bgl_btn[data-v-a73ad8c2],
|
|
100
|
+
.bgl_btn-icon[data-v-a73ad8c2] {
|
|
101
|
+
background-color: var(--4cc6fa2a);
|
|
102
|
+
color: var(--0ff33606);
|
|
103
103
|
}
|
|
104
|
-
.bgl_btn[data-v-
|
|
105
|
-
.bgl_btn-icon[data-v-
|
|
104
|
+
.bgl_btn[data-v-a73ad8c2]:hover,
|
|
105
|
+
.bgl_btn-icon[data-v-a73ad8c2]:hover {
|
|
106
106
|
filter: var(--bgl-hover-filter);
|
|
107
107
|
}
|
|
108
|
-
.bgl_btn[data-v-
|
|
109
|
-
.bgl_btn-icon[data-v-
|
|
108
|
+
.bgl_btn[data-v-a73ad8c2]:active,
|
|
109
|
+
.bgl_btn-icon[data-v-a73ad8c2]:active {
|
|
110
110
|
filter: var(--bgl-active-filter);
|
|
111
111
|
}
|
|
112
|
-
.bgl_btn.bgl_flatBtn[data-v-
|
|
112
|
+
.bgl_btn.bgl_flatBtn[data-v-a73ad8c2] {
|
|
113
113
|
padding-left: var(--btn-padding);
|
|
114
114
|
padding-right: var(--btn-padding);
|
|
115
115
|
background: transparent;
|
|
116
116
|
}
|
|
117
|
-
.bgl_btn-icon.bgl_flatBtn[data-v-
|
|
117
|
+
.bgl_btn-icon.bgl_flatBtn[data-v-a73ad8c2] {
|
|
118
118
|
background: transparent;
|
|
119
119
|
}
|
|
120
|
-
.bgl_btn.bgl_flatBtn[data-v-
|
|
121
|
-
.bgl_btn-icon.bgl_flatBtn[data-v-
|
|
120
|
+
.bgl_btn.bgl_flatBtn[data-v-a73ad8c2]:hover,
|
|
121
|
+
.bgl_btn-icon.bgl_flatBtn[data-v-a73ad8c2]:hover {
|
|
122
122
|
filter: var(--bgl-hover-filter);
|
|
123
123
|
background: var(--bgl-gray-20);
|
|
124
124
|
color: var(--bgl-primary);
|
|
125
125
|
}
|
|
126
|
-
.bgl_btn.bgl_flatBtn[data-v-
|
|
127
|
-
.bgl_btn-icon.bgl_flatBtn[data-v-
|
|
126
|
+
.bgl_btn.bgl_flatBtn[data-v-a73ad8c2]:active,
|
|
127
|
+
.bgl_btn-icon.bgl_flatBtn[data-v-a73ad8c2]:active {
|
|
128
128
|
background: var(--bgl-gray-40);
|
|
129
129
|
filter: var(--bgl-active-filter);
|
|
130
130
|
color: var(--bgl-primary);
|
|
131
131
|
}
|
|
132
|
-
.bgl_btn.bgl_flatBtn.red[data-v-
|
|
133
|
-
.bgl_btn-icon.bgl_flatBtn.red[data-v-
|
|
132
|
+
.bgl_btn.bgl_flatBtn.red[data-v-a73ad8c2],
|
|
133
|
+
.bgl_btn-icon.bgl_flatBtn.red[data-v-a73ad8c2] {
|
|
134
134
|
color: var(--bgl-red);
|
|
135
135
|
}
|
|
136
|
-
.bgl_btn.bgl_flatBtn.white[data-v-
|
|
137
|
-
.bgl_btn-icon.bgl_flatBtn.white[data-v-
|
|
136
|
+
.bgl_btn.bgl_flatBtn.white[data-v-a73ad8c2],
|
|
137
|
+
.bgl_btn-icon.bgl_flatBtn.white[data-v-a73ad8c2] {
|
|
138
138
|
color: var(--bgl-light-text);
|
|
139
139
|
}
|
|
140
|
-
.bgl_btn.bgl_flatBtn.light[data-v-
|
|
141
|
-
.bgl_btn-icon.bgl_flatBtn.light[data-v-
|
|
140
|
+
.bgl_btn.bgl_flatBtn.light[data-v-a73ad8c2],
|
|
141
|
+
.bgl_btn-icon.bgl_flatBtn.light[data-v-a73ad8c2] {
|
|
142
142
|
color: var(--bgl-primary-tint);
|
|
143
143
|
}
|
|
144
|
-
.bgl_btn.bgl_flatBtn.black[data-v-
|
|
145
|
-
.bgl_btn-icon.bgl_flatBtn.black[data-v-
|
|
144
|
+
.bgl_btn.bgl_flatBtn.black[data-v-a73ad8c2],
|
|
145
|
+
.bgl_btn-icon.bgl_flatBtn.black[data-v-a73ad8c2] {
|
|
146
146
|
color: var(--bgl-text-color);
|
|
147
147
|
}
|
|
148
|
-
.bgl_btn.bgl_flatBtn.gray[data-v-
|
|
149
|
-
.bgl_btn-icon.bgl_flatBtn.gray[data-v-
|
|
148
|
+
.bgl_btn.bgl_flatBtn.gray[data-v-a73ad8c2],
|
|
149
|
+
.bgl_btn-icon.bgl_flatBtn.gray[data-v-a73ad8c2] {
|
|
150
150
|
color: var(--bgl-gray);
|
|
151
151
|
}
|
|
152
|
-
.bgl_btn.thin[data-v-
|
|
152
|
+
.bgl_btn.thin[data-v-a73ad8c2] {
|
|
153
153
|
padding-inline: calc(var(--btn-padding) / 3);
|
|
154
154
|
border-radius: calc(var(--btn-border-radius) / 1.5);
|
|
155
155
|
}
|
|
156
|
-
.bgl_btn.round[data-v-
|
|
157
|
-
border-radius:
|
|
156
|
+
.bgl_btn.round[data-v-a73ad8c2] {
|
|
157
|
+
border-radius: 1000px;
|
|
158
158
|
}
|
|
159
|
-
.bgl_btn-icon.thin[data-v-
|
|
159
|
+
.bgl_btn-icon.thin[data-v-a73ad8c2] {
|
|
160
160
|
height: calc(var(--btn-height) / 1.5);
|
|
161
161
|
width: calc(var(--btn-height) / 1.5);
|
|
162
162
|
line-height: normal;
|
|
163
163
|
}
|
|
164
|
-
.bgl_btn-icon.thin .bgl_btn-flex[data-v-
|
|
164
|
+
.bgl_btn-icon.thin .bgl_btn-flex[data-v-a73ad8c2] {
|
|
165
165
|
height: 100%;
|
|
166
166
|
}
|
|
167
|
-
[dir="rtl"] .bgl_.bgl_icon-font[data-v-
|
|
167
|
+
[dir="rtl"] .bgl_.bgl_icon-font[data-v-a73ad8c2] {
|
|
168
168
|
transform: rotateY(180deg);
|
|
169
169
|
}
|
|
170
|
-
.bgl_btn-border[data-v-
|
|
171
|
-
outline: 1px solid var(--
|
|
172
|
-
color: var(--
|
|
170
|
+
.bgl_btn-border[data-v-a73ad8c2] {
|
|
171
|
+
outline: 1px solid var(--4cc6fa2a);
|
|
172
|
+
color: var(--4cc6fa2a);
|
|
173
173
|
background: transparent;
|
|
174
174
|
}
|
|
175
|
-
.bgl_btn-border[data-v-
|
|
175
|
+
.bgl_btn-border[data-v-a73ad8c2]:hover {
|
|
176
176
|
color: var(--bgl-light-text);
|
|
177
|
-
background: var(--
|
|
177
|
+
background: var(--4cc6fa2a);
|
|
178
178
|
filter: brightness(100%);
|
|
179
179
|
}
|
|
180
|
-
.bgl_btn-border[data-v-
|
|
180
|
+
.bgl_btn-border[data-v-a73ad8c2]:active {
|
|
181
181
|
filter: brightness(80%);
|
|
182
182
|
}
|
|
183
183
|
|
|
@@ -918,12 +918,12 @@ data[data-v-2da95d24] {
|
|
|
918
918
|
margin-block: calc(var(--input-height) / 2 - 15px);
|
|
919
919
|
}
|
|
920
920
|
|
|
921
|
-
.radio-input-list[data-v-
|
|
921
|
+
.radio-input-list[data-v-3e9e030f]{
|
|
922
922
|
width: auto;
|
|
923
923
|
transform: scale(1.4);
|
|
924
924
|
margin-inline-end: 0.6rem;
|
|
925
925
|
}
|
|
926
|
-
.active-list-item[data-v-
|
|
926
|
+
.active-list-item[data-v-3e9e030f]:has(:checked){
|
|
927
927
|
background: var(--bgl-primary-light) !important;
|
|
928
928
|
border-color: var(--bgl-primary) !important;
|
|
929
929
|
accent-color: var(--bgl-accent-color);
|
|
@@ -1205,29 +1205,29 @@ p {
|
|
|
1205
1205
|
8 #818181 /* few chars */
|
|
1206
1206
|
;
|
|
1207
1207
|
}
|
|
1208
|
-
.preview-area[data-v-
|
|
1208
|
+
.preview-area[data-v-9c94183b]{
|
|
1209
1209
|
font-family: "FontWithASyntaxHighlighter", monospace;
|
|
1210
1210
|
font-palette: --myCustomPalette;
|
|
1211
1211
|
background: var(--bgl-code-bg);
|
|
1212
1212
|
color: var(--bgl-code-color)
|
|
1213
1213
|
}
|
|
1214
|
-
.rich-text-editor[data-v-
|
|
1214
|
+
.rich-text-editor[data-v-9c94183b] {
|
|
1215
1215
|
background: var(--input-bg);
|
|
1216
1216
|
margin-bottom: 0.5rem;
|
|
1217
1217
|
width: 100%;
|
|
1218
1218
|
}
|
|
1219
|
-
.editableContent[data-v-
|
|
1219
|
+
.editableContent[data-v-9c94183b]{
|
|
1220
1220
|
min-height: 100%;
|
|
1221
1221
|
white-space: pre-wrap;
|
|
1222
1222
|
outline: none;
|
|
1223
1223
|
}
|
|
1224
|
-
.content-area[data-v-
|
|
1224
|
+
.content-area[data-v-9c94183b]{
|
|
1225
1225
|
background: var(--bgl-richtext-color);
|
|
1226
1226
|
}
|
|
1227
|
-
.content-area[data-v-
|
|
1227
|
+
.content-area[data-v-9c94183b], .preview-area[data-v-9c94183b]{
|
|
1228
1228
|
min-height: 200px;
|
|
1229
1229
|
}
|
|
1230
|
-
.fullscreen-mode[data-v-
|
|
1230
|
+
.fullscreen-mode[data-v-9c94183b] {
|
|
1231
1231
|
position: fixed;
|
|
1232
1232
|
top: 0;
|
|
1233
1233
|
left: 0;
|
|
@@ -1239,14 +1239,14 @@ p {
|
|
|
1239
1239
|
overflow: auto;
|
|
1240
1240
|
border-radius: 0;
|
|
1241
1241
|
}
|
|
1242
|
-
.fullscreen-mode .content-area[data-v-
|
|
1242
|
+
.fullscreen-mode .content-area[data-v-9c94183b]{
|
|
1243
1243
|
height: calc(100vh - 5rem);
|
|
1244
1244
|
padding: 4rem !important;
|
|
1245
1245
|
max-width: 900px;
|
|
1246
1246
|
margin-inline: auto ;
|
|
1247
1247
|
overflow-y: auto;
|
|
1248
1248
|
}
|
|
1249
|
-
.fullscreen-mode .toolbar[data-v-
|
|
1249
|
+
.fullscreen-mode .toolbar[data-v-9c94183b]{
|
|
1250
1250
|
max-width: 900px;
|
|
1251
1251
|
margin-inline: auto ;
|
|
1252
1252
|
/* border-bottom: 1px solid var(--border-color); */
|
|
@@ -1567,17 +1567,17 @@ p {
|
|
|
1567
1567
|
height: 30px;
|
|
1568
1568
|
}
|
|
1569
1569
|
|
|
1570
|
-
.bagel-input.bgl-toggle[data-v-
|
|
1570
|
+
.bagel-input.bgl-toggle[data-v-683b2f6d]{
|
|
1571
1571
|
display: unset !important;
|
|
1572
1572
|
}
|
|
1573
|
-
.bagel-input.bgl-toggle[data-v-
|
|
1573
|
+
.bagel-input.bgl-toggle[data-v-683b2f6d] *{
|
|
1574
1574
|
cursor: pointer !important;
|
|
1575
1575
|
}
|
|
1576
|
-
.bagel-input.bgl-toggle input[data-v-
|
|
1576
|
+
.bagel-input.bgl-toggle input[data-v-683b2f6d]{
|
|
1577
1577
|
padding: unset !important;
|
|
1578
1578
|
min-width: unset !important;
|
|
1579
1579
|
}
|
|
1580
|
-
.bgl-toggle input[data-v-
|
|
1580
|
+
.bgl-toggle input[data-v-683b2f6d] {
|
|
1581
1581
|
appearance: none;
|
|
1582
1582
|
position: relative;
|
|
1583
1583
|
display: inline-block;
|
|
@@ -1590,7 +1590,7 @@ p {
|
|
|
1590
1590
|
transition: 0.25s linear all;
|
|
1591
1591
|
outline: 1px solid var(--border-color);
|
|
1592
1592
|
}
|
|
1593
|
-
.bgl-toggle input[data-v-
|
|
1593
|
+
.bgl-toggle input[data-v-683b2f6d]::before {
|
|
1594
1594
|
position: absolute;
|
|
1595
1595
|
content: "";
|
|
1596
1596
|
height: calc(var(--input-height) / 2 - 2px);
|
|
@@ -1603,7 +1603,7 @@ p {
|
|
|
1603
1603
|
transition: 0.2s;
|
|
1604
1604
|
box-shadow:0 1px 5px 0 rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1);
|
|
1605
1605
|
}
|
|
1606
|
-
.bgl-toggle label[data-v-
|
|
1606
|
+
.bgl-toggle label[data-v-683b2f6d] {
|
|
1607
1607
|
padding-inline-start: 0.5rem;
|
|
1608
1608
|
transition: var(--bgl-transition);
|
|
1609
1609
|
cursor: pointer;
|
|
@@ -1611,30 +1611,30 @@ p {
|
|
|
1611
1611
|
line-height: var(--input-height);
|
|
1612
1612
|
font-size: var(--input-font-size);
|
|
1613
1613
|
}
|
|
1614
|
-
.bgl-toggle label[data-v-
|
|
1614
|
+
.bgl-toggle label[data-v-683b2f6d]:hover {
|
|
1615
1615
|
filter: brightness(90%);
|
|
1616
1616
|
}
|
|
1617
|
-
.bgl-toggle label[data-v-
|
|
1617
|
+
.bgl-toggle label[data-v-683b2f6d]:active {
|
|
1618
1618
|
filter: var(--bgl-active-filter);
|
|
1619
1619
|
}
|
|
1620
|
-
.bgl-toggle input[data-v-
|
|
1620
|
+
.bgl-toggle input[data-v-683b2f6d]:focus-visible {
|
|
1621
1621
|
outline: -webkit-focus-ring-color auto 1px;
|
|
1622
1622
|
outline-offset: 2px
|
|
1623
1623
|
}
|
|
1624
|
-
.bgl-toggle input[data-v-
|
|
1624
|
+
.bgl-toggle input[data-v-683b2f6d]:focus {
|
|
1625
1625
|
outline-color: transparent;
|
|
1626
1626
|
}
|
|
1627
|
-
.bgl-toggle input[data-v-
|
|
1627
|
+
.bgl-toggle input[data-v-683b2f6d]:focus-visible {
|
|
1628
1628
|
outline: -webkit-focus-ring-color auto 1px;
|
|
1629
1629
|
outline-offset: 2px
|
|
1630
1630
|
}
|
|
1631
|
-
.bgl-toggle[data-v-
|
|
1631
|
+
.bgl-toggle[data-v-683b2f6d] :checked{
|
|
1632
1632
|
background: var(--bgl-primary);
|
|
1633
1633
|
}
|
|
1634
|
-
.bgl-toggle[data-v-
|
|
1634
|
+
.bgl-toggle[data-v-683b2f6d] :checked::before{
|
|
1635
1635
|
margin-inline-start:calc(var(--input-height) / 2 - 2px) ;
|
|
1636
1636
|
}
|
|
1637
|
-
.bgl-toggle input:checked + label[data-v-
|
|
1637
|
+
.bgl-toggle input:checked + label[data-v-683b2f6d] {
|
|
1638
1638
|
color: var(--bgl-primary) !important;
|
|
1639
1639
|
}
|
|
1640
1640
|
|
|
@@ -1696,33 +1696,33 @@ p {
|
|
|
1696
1696
|
justify-content: flex-start !important;
|
|
1697
1697
|
}
|
|
1698
1698
|
|
|
1699
|
-
.bgl_sidebar[data-v-
|
|
1699
|
+
.bgl_sidebar[data-v-3ee4f3f7] {
|
|
1700
1700
|
}
|
|
1701
|
-
.toggleNav[data-v-
|
|
1701
|
+
.toggleNav[data-v-3ee4f3f7] {
|
|
1702
1702
|
height: 22px !important;
|
|
1703
1703
|
width: 22px !important;
|
|
1704
1704
|
transition: var(--bgl-transition);
|
|
1705
1705
|
top: 2rem;
|
|
1706
1706
|
inset-inline-end: -3px;
|
|
1707
1707
|
}
|
|
1708
|
-
.toggleNav[data-v-
|
|
1708
|
+
.toggleNav[data-v-3ee4f3f7]:hover {
|
|
1709
1709
|
opacity: 1;
|
|
1710
1710
|
}
|
|
1711
|
-
.wideNav .toggleNav[data-v-
|
|
1711
|
+
.wideNav .toggleNav[data-v-3ee4f3f7] {
|
|
1712
1712
|
transform: rotate(180deg);
|
|
1713
1713
|
}
|
|
1714
|
-
[dir='rtl'] .toggleNav[data-v-
|
|
1714
|
+
[dir='rtl'] .toggleNav[data-v-3ee4f3f7] {
|
|
1715
1715
|
transform: rotate(180deg);
|
|
1716
1716
|
}
|
|
1717
|
-
[dir='rtl'] .wideNav .toggleNav[data-v-
|
|
1717
|
+
[dir='rtl'] .wideNav .toggleNav[data-v-3ee4f3f7] {
|
|
1718
1718
|
transform: rotate(0deg);
|
|
1719
1719
|
}
|
|
1720
|
-
.showP-enter-active[data-v-
|
|
1721
|
-
.showP-leave-active[data-v-
|
|
1720
|
+
.showP-enter-active[data-v-3ee4f3f7],
|
|
1721
|
+
.showP-leave-active[data-v-3ee4f3f7] {
|
|
1722
1722
|
transition: all 0.5s ease;
|
|
1723
1723
|
}
|
|
1724
|
-
.showP-enter-from[data-v-
|
|
1725
|
-
.showP-leave-to[data-v-
|
|
1724
|
+
.showP-enter-from[data-v-3ee4f3f7],
|
|
1725
|
+
.showP-leave-to[data-v-3ee4f3f7] {
|
|
1726
1726
|
opacity: 0;
|
|
1727
1727
|
transform: translateX(-20px);
|
|
1728
1728
|
}
|
|
@@ -3301,19 +3301,19 @@ tbody tr[data-v-680da9b9]:hover {
|
|
|
3301
3301
|
-moz-user-drag: none;
|
|
3302
3302
|
}
|
|
3303
3303
|
|
|
3304
|
-
.lightbox-image[data-v-
|
|
3304
|
+
.lightbox-image[data-v-68949c15]{
|
|
3305
3305
|
object-fit: contain;
|
|
3306
3306
|
}
|
|
3307
|
-
.bgl-lightbox-overlay[data-v-
|
|
3307
|
+
.bgl-lightbox-overlay[data-v-68949c15] {
|
|
3308
3308
|
background: rgba(0, 0, 0, 0.8);
|
|
3309
3309
|
}
|
|
3310
|
-
.bgl-lightbox[data-v-
|
|
3310
|
+
.bgl-lightbox[data-v-68949c15] {
|
|
3311
3311
|
max-height: 90%;
|
|
3312
3312
|
}
|
|
3313
|
-
.bgl-lightbox-item[data-v-
|
|
3314
|
-
animation: 500ms ease bgl-lightbox-load-
|
|
3313
|
+
.bgl-lightbox-item[data-v-68949c15]{
|
|
3314
|
+
animation: 500ms ease bgl-lightbox-load-68949c15;
|
|
3315
3315
|
}
|
|
3316
|
-
@keyframes bgl-lightbox-load-
|
|
3316
|
+
@keyframes bgl-lightbox-load-68949c15 {
|
|
3317
3317
|
from {
|
|
3318
3318
|
scale:0.7;
|
|
3319
3319
|
}
|
|
@@ -3321,32 +3321,32 @@ to {
|
|
|
3321
3321
|
scale:1;
|
|
3322
3322
|
}
|
|
3323
3323
|
}
|
|
3324
|
-
.bgl-lightbox-item[data-v-
|
|
3324
|
+
.bgl-lightbox-item[data-v-68949c15] * {
|
|
3325
3325
|
max-width: 90%;
|
|
3326
3326
|
max-height: calc(80vh - 90px);
|
|
3327
3327
|
border-radius: 3px;
|
|
3328
3328
|
margin: auto;
|
|
3329
|
-
animation: 200ms ease bgl-lightbox-load-
|
|
3329
|
+
animation: 200ms ease bgl-lightbox-load-68949c15;
|
|
3330
3330
|
}
|
|
3331
|
-
.navigation[data-v-
|
|
3331
|
+
.navigation[data-v-68949c15] {
|
|
3332
3332
|
top: 50%;
|
|
3333
3333
|
transform: translateY(-50%);
|
|
3334
3334
|
}
|
|
3335
|
-
.navigation-btn[data-v-
|
|
3335
|
+
.navigation-btn[data-v-68949c15] {
|
|
3336
3336
|
width: var(--input-height);
|
|
3337
3337
|
height: var(--input-height);
|
|
3338
3338
|
}
|
|
3339
|
-
.thumbnail[data-v-
|
|
3339
|
+
.thumbnail[data-v-68949c15] {
|
|
3340
3340
|
height: 50px;
|
|
3341
3341
|
width: 50px;
|
|
3342
3342
|
}
|
|
3343
|
-
.thumbnail[data-v-
|
|
3343
|
+
.thumbnail[data-v-68949c15]:hover {
|
|
3344
3344
|
opacity: 1;
|
|
3345
3345
|
}
|
|
3346
|
-
.thumbnail[data-v-
|
|
3346
|
+
.thumbnail[data-v-68949c15]:active {
|
|
3347
3347
|
opacity: 0.8;
|
|
3348
3348
|
}
|
|
3349
|
-
.thumbnail.active[data-v-
|
|
3349
|
+
.thumbnail.active[data-v-68949c15] {
|
|
3350
3350
|
opacity: 1;
|
|
3351
3351
|
outline: 2px solid white;
|
|
3352
3352
|
}
|
|
@@ -3363,14 +3363,25 @@ to {
|
|
|
3363
3363
|
height: 100vh;
|
|
3364
3364
|
}
|
|
3365
3365
|
.round {
|
|
3366
|
+
border-radius: 1000px;
|
|
3367
|
+
}
|
|
3368
|
+
.rounded,
|
|
3369
|
+
.radius,
|
|
3370
|
+
.radius-1 {
|
|
3366
3371
|
border-radius: var(--btn-border-radius) !important;
|
|
3367
3372
|
}
|
|
3368
|
-
.
|
|
3373
|
+
.radius-05 {
|
|
3369
3374
|
border-radius: calc(var(--btn-border-radius) / 2) !important;
|
|
3370
3375
|
}
|
|
3371
|
-
.
|
|
3376
|
+
.radius-2 {
|
|
3372
3377
|
border-radius: calc(var(--btn-border-radius) * 2) !important;
|
|
3373
3378
|
}
|
|
3379
|
+
.radius-3 {
|
|
3380
|
+
border-radius: calc(var(--btn-border-radius) * 3) !important;
|
|
3381
|
+
}
|
|
3382
|
+
.radius-4 {
|
|
3383
|
+
border-radius: calc(var(--btn-border-radius) * 4) !important;
|
|
3384
|
+
}
|
|
3374
3385
|
.round-none {
|
|
3375
3386
|
border-radius: 0;
|
|
3376
3387
|
}
|
|
@@ -5161,17 +5172,31 @@ to {
|
|
|
5161
5172
|
}
|
|
5162
5173
|
|
|
5163
5174
|
.m_round {
|
|
5175
|
+
border-radius: 1000px;
|
|
5176
|
+
}
|
|
5177
|
+
|
|
5178
|
+
.m_rounded,
|
|
5179
|
+
.m_radius,
|
|
5180
|
+
.m_radius-1 {
|
|
5164
5181
|
border-radius: var(--btn-border-radius) !important;
|
|
5165
5182
|
}
|
|
5166
5183
|
|
|
5167
|
-
.
|
|
5184
|
+
.m_radius-05 {
|
|
5168
5185
|
border-radius: calc(var(--btn-border-radius) / 2) !important;
|
|
5169
5186
|
}
|
|
5170
5187
|
|
|
5171
|
-
.
|
|
5188
|
+
.m_radius-2 {
|
|
5172
5189
|
border-radius: calc(var(--btn-border-radius) * 2) !important;
|
|
5173
5190
|
}
|
|
5174
5191
|
|
|
5192
|
+
.m_radius-3 {
|
|
5193
|
+
border-radius: calc(var(--btn-border-radius) * 3) !important;
|
|
5194
|
+
}
|
|
5195
|
+
|
|
5196
|
+
.m_radius-4 {
|
|
5197
|
+
border-radius: calc(var(--btn-border-radius) * 4) !important;
|
|
5198
|
+
}
|
|
5199
|
+
|
|
5175
5200
|
.m_round-none {
|
|
5176
5201
|
border-radius: 0 !important;
|
|
5177
5202
|
}
|
package/package.json
CHANGED
package/src/components/Btn.vue
CHANGED
|
@@ -26,7 +26,7 @@ const selectedOption = defineModel('modelValue')
|
|
|
26
26
|
<label
|
|
27
27
|
v-for="opt in options"
|
|
28
28
|
:key="opt.id"
|
|
29
|
-
class="border
|
|
29
|
+
class="border rounded p-1 flex bg-gray-light mb-05 gap-075 active-list-item hover"
|
|
30
30
|
:for="opt.id"
|
|
31
31
|
>
|
|
32
32
|
<input
|
|
@@ -40,7 +40,7 @@ const selectedOption = defineModel('modelValue')
|
|
|
40
40
|
<div class="flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025">
|
|
41
41
|
<img
|
|
42
42
|
v-if="opt.imgSrc"
|
|
43
|
-
class="bg-popup shadow-light py-025
|
|
43
|
+
class="bg-popup shadow-light py-025 radius-05 m_w40"
|
|
44
44
|
width="60"
|
|
45
45
|
:src="opt.imgSrc"
|
|
46
46
|
:alt="opt.imgAlt"
|
|
@@ -134,10 +134,10 @@ function handleKeyDown(event: KeyboardEvent) {
|
|
|
134
134
|
</script>
|
|
135
135
|
|
|
136
136
|
<template>
|
|
137
|
-
<div class="rich-text-editor
|
|
137
|
+
<div class="rich-text-editor rounded pt-05 px-1 pb-1">
|
|
138
138
|
<Toolbar :config @action="handleToolbarAction" />
|
|
139
139
|
<div class="editor-container flex flex-stretch gap-1 m_column">
|
|
140
|
-
<div class="content-area
|
|
140
|
+
<div class="content-area radius-05 p-1 shadow-light w-100 grid">
|
|
141
141
|
<textarea v-if="isCodeView" v-model="contentHtml" @input="updateContent" />
|
|
142
142
|
<div
|
|
143
143
|
v-else
|
|
@@ -151,7 +151,7 @@ function handleKeyDown(event: KeyboardEvent) {
|
|
|
151
151
|
@keydown="handleKeyDown"
|
|
152
152
|
/>
|
|
153
153
|
</div>
|
|
154
|
-
<code v-if="isSplitView" class="preview-area w-100
|
|
154
|
+
<code v-if="isSplitView" class="preview-area w-100 radius-05 p-1">{{ contentHtml }}</code>
|
|
155
155
|
</div>
|
|
156
156
|
</div>
|
|
157
157
|
</template>
|
|
@@ -14,7 +14,7 @@ const inputVal = defineModel('modelValue', {
|
|
|
14
14
|
<div class="bagel-input checkbox" :title="label">
|
|
15
15
|
<label class="switch">
|
|
16
16
|
<input :id="id" v-model="inputVal" type="checkbox">
|
|
17
|
-
<span class="slider
|
|
17
|
+
<span class="slider rounded" />
|
|
18
18
|
</label>
|
|
19
19
|
</div>
|
|
20
20
|
</template>
|
|
@@ -32,7 +32,7 @@ function toggleMenu() {
|
|
|
32
32
|
@click="toggleMenu"
|
|
33
33
|
/>
|
|
34
34
|
<Card
|
|
35
|
-
class="py-1 px-05 h-100 flex column gap-05
|
|
35
|
+
class="py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y "
|
|
36
36
|
>
|
|
37
37
|
<slot v-if="!isOpen || !slots['brand-open']" name="brand" />
|
|
38
38
|
<slot v-if="isOpen" name="brand-open" />
|
|
@@ -8,6 +8,7 @@ import { useTabs } from './tabsManager'
|
|
|
8
8
|
const props = defineProps<{
|
|
9
9
|
tabs: Tab[]
|
|
10
10
|
modelValue?: string
|
|
11
|
+
flat?: boolean
|
|
11
12
|
}>()
|
|
12
13
|
|
|
13
14
|
const emit = defineEmits(['update:modelValue'])
|
|
@@ -19,13 +20,15 @@ const tabValue = (tab: Tab) => (typeof tab === 'string' ? tab : tab.id)
|
|
|
19
20
|
|
|
20
21
|
const slctTab = $computed({
|
|
21
22
|
get: () => props.modelValue || tabValue(props.tabs[0]),
|
|
22
|
-
set:
|
|
23
|
+
set: value => {
|
|
24
|
+
emit('update:modelValue', value)
|
|
25
|
+
},
|
|
23
26
|
})
|
|
24
27
|
|
|
25
28
|
const tabComponent = defineComponent({
|
|
26
29
|
render() {
|
|
27
30
|
const currentTabIndex = props.tabs.findIndex(
|
|
28
|
-
tab => tabValue(tab) === currentTab.value
|
|
31
|
+
tab => tabValue(tab) === currentTab.value
|
|
29
32
|
)
|
|
30
33
|
if (currentTabIndex === -1) return null
|
|
31
34
|
const slotChildren = slots.default?.()[1]?.children
|
|
@@ -37,7 +40,7 @@ const tabComponent = defineComponent({
|
|
|
37
40
|
|
|
38
41
|
z
|
|
39
42
|
<template>
|
|
40
|
-
<TabsNav v-model="slctTab" :tabs :group class="mb-05" />
|
|
43
|
+
<TabsNav v-model="slctTab" :flat :tabs :group class="mb-05" />
|
|
41
44
|
<div v-if="currentTab">
|
|
42
45
|
<template v-if="slots[currentTab]">
|
|
43
46
|
<slot :name="currentTab" />
|
|
@@ -155,7 +155,7 @@ defineExpose({ open, close })
|
|
|
155
155
|
<img
|
|
156
156
|
v-if="item.type === 'image'"
|
|
157
157
|
class="thumbnail object-fit-cover hover
|
|
158
|
-
opacity-5
|
|
158
|
+
opacity-5 rounded flex bg-popup justify-content-center align-items-center flex-shrink-0"
|
|
159
159
|
:src="item.src"
|
|
160
160
|
alt=""
|
|
161
161
|
:class="{ active: currentIndex === index }"
|
|
@@ -164,7 +164,7 @@ defineExpose({ open, close })
|
|
|
164
164
|
<Icon
|
|
165
165
|
v-else
|
|
166
166
|
class="thumbnail object-fit-cover hover
|
|
167
|
-
opacity-5
|
|
167
|
+
opacity-5 ed flex bg-popup justify-content-center align-items-center flex-shrink-0"
|
|
168
168
|
icon="description"
|
|
169
169
|
:class="{ active: currentIndex === index }"
|
|
170
170
|
@click="selectItem(index)"
|
package/src/styles/layout.css
CHANGED
|
@@ -11,18 +11,34 @@
|
|
|
11
11
|
height: 100vh;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
|
|
14
15
|
.round {
|
|
16
|
+
border-radius: 1000px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.rounded,
|
|
20
|
+
.radius,
|
|
21
|
+
.radius-1 {
|
|
15
22
|
border-radius: var(--btn-border-radius) !important;
|
|
16
23
|
}
|
|
17
24
|
|
|
18
|
-
.
|
|
25
|
+
.radius-05 {
|
|
19
26
|
border-radius: calc(var(--btn-border-radius) / 2) !important;
|
|
20
27
|
}
|
|
21
28
|
|
|
22
|
-
.
|
|
29
|
+
.radius-2 {
|
|
23
30
|
border-radius: calc(var(--btn-border-radius) * 2) !important;
|
|
24
31
|
}
|
|
25
32
|
|
|
33
|
+
.radius-3 {
|
|
34
|
+
border-radius: calc(var(--btn-border-radius) * 3) !important;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.radius-4 {
|
|
38
|
+
border-radius: calc(var(--btn-border-radius) * 4) !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
|
|
26
42
|
.round-none {
|
|
27
43
|
border-radius: 0;
|
|
28
44
|
}
|
|
@@ -35,17 +35,31 @@
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.m_round {
|
|
38
|
+
border-radius: 1000px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.m_rounded,
|
|
42
|
+
.m_radius,
|
|
43
|
+
.m_radius-1 {
|
|
38
44
|
border-radius: var(--btn-border-radius) !important;
|
|
39
45
|
}
|
|
40
46
|
|
|
41
|
-
.
|
|
47
|
+
.m_radius-05 {
|
|
42
48
|
border-radius: calc(var(--btn-border-radius) / 2) !important;
|
|
43
49
|
}
|
|
44
50
|
|
|
45
|
-
.
|
|
51
|
+
.m_radius-2 {
|
|
46
52
|
border-radius: calc(var(--btn-border-radius) * 2) !important;
|
|
47
53
|
}
|
|
48
54
|
|
|
55
|
+
.m_radius-3 {
|
|
56
|
+
border-radius: calc(var(--btn-border-radius) * 3) !important;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.m_radius-4 {
|
|
60
|
+
border-radius: calc(var(--btn-border-radius) * 4) !important;
|
|
61
|
+
}
|
|
62
|
+
|
|
49
63
|
.m_round-none {
|
|
50
64
|
border-radius: 0 !important;
|
|
51
65
|
}
|