@bagelink/vue 0.0.204 → 0.0.211
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/Btn.vue.d.ts +3 -0
- package/dist/components/Btn.vue.d.ts.map +1 -1
- package/dist/components/ModalBglForm.vue.d.ts +45 -0
- package/dist/components/ModalBglForm.vue.d.ts.map +1 -0
- package/dist/components/TabbedLayout.vue.d.ts +5 -3
- package/dist/components/TabbedLayout.vue.d.ts.map +1 -1
- package/dist/components/form/BglField.vue.d.ts.map +1 -1
- package/dist/components/form/index.d.ts +1 -0
- package/dist/components/form/index.d.ts.map +1 -1
- package/dist/components/form/inputs/RadioPillsInput.vue.d.ts +5 -3
- package/dist/components/form/inputs/RadioPillsInput.vue.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.cjs +303 -183
- package/dist/index.mjs +303 -183
- package/dist/plugins/modal.d.ts +3 -1
- package/dist/plugins/modal.d.ts.map +1 -1
- package/dist/style.css +68 -47
- package/dist/types/BagelForm.d.ts +2 -0
- package/dist/types/BagelForm.d.ts.map +1 -1
- package/dist/types/BtnOptions.d.ts +1 -0
- package/dist/types/BtnOptions.d.ts.map +1 -1
- package/dist/types/materialIcons.d.ts +1 -1
- package/dist/types/materialIcons.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Btn.vue +1 -0
- package/src/components/ModalBglForm.vue +121 -0
- package/src/components/TabbedLayout.vue +58 -45
- package/src/components/form/BglField.vue +1 -0
- package/src/components/form/index.ts +1 -0
- package/src/components/form/inputs/RadioPillsInput.vue +20 -14
- package/src/components/index.ts +1 -0
- package/src/plugins/modal.ts +16 -8
- package/src/types/BagelForm.ts +2 -0
- package/src/types/BtnOptions.ts +1 -1
- package/src/types/materialIcons.ts +1 -0
package/dist/index.mjs
CHANGED
|
@@ -2277,16 +2277,17 @@ const ModalPlugin = {
|
|
|
2277
2277
|
const hideModal = (index2) => {
|
|
2278
2278
|
modalStack.value.splice(index2, 1);
|
|
2279
2279
|
};
|
|
2280
|
-
const showModal = (
|
|
2280
|
+
const showModal = (modalType, options, slots = {}) => {
|
|
2281
2281
|
modalStack.value.push({
|
|
2282
2282
|
modalOptions: options,
|
|
2283
|
-
|
|
2283
|
+
modalType,
|
|
2284
2284
|
componentSlots: slots
|
|
2285
2285
|
});
|
|
2286
2286
|
};
|
|
2287
2287
|
app.provide(ModalSymbol, {
|
|
2288
|
-
modalForm: (options, slots) => showModal(
|
|
2289
|
-
showModal: (options, slots) => showModal(
|
|
2288
|
+
modalForm: (options, slots) => showModal(1, options, slots),
|
|
2289
|
+
showModal: (options, slots) => showModal(0, options, slots),
|
|
2290
|
+
showModalForm: (options, slots) => showModal(2, options, slots),
|
|
2290
2291
|
hideModal: (index2 = modalStack.value.length - 1) => hideModal(index2)
|
|
2291
2292
|
// modalOptions,
|
|
2292
2293
|
});
|
|
@@ -2298,7 +2299,13 @@ const ModalPlugin = {
|
|
|
2298
2299
|
},
|
|
2299
2300
|
render() {
|
|
2300
2301
|
return modalStack.value.map((modal, index2) => {
|
|
2301
|
-
|
|
2302
|
+
let renderComponent;
|
|
2303
|
+
if (modal.modalType === 1)
|
|
2304
|
+
renderComponent = ModalForm;
|
|
2305
|
+
else if (modal.modalType === 2)
|
|
2306
|
+
renderComponent = ModalBglForm;
|
|
2307
|
+
else
|
|
2308
|
+
renderComponent = _sfc_main$U;
|
|
2302
2309
|
return h(
|
|
2303
2310
|
renderComponent,
|
|
2304
2311
|
{
|
|
@@ -2362,8 +2369,8 @@ function bindAttrs(attrs, fieldVal, row) {
|
|
|
2362
2369
|
const resolvedAttrs = Object.fromEntries(arr);
|
|
2363
2370
|
return resolvedAttrs;
|
|
2364
2371
|
}
|
|
2365
|
-
const _hoisted_1$
|
|
2366
|
-
const _sfc_main$
|
|
2372
|
+
const _hoisted_1$12 = { ref: "el" };
|
|
2373
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
2367
2374
|
__name: "LangText",
|
|
2368
2375
|
props: {
|
|
2369
2376
|
input: {}
|
|
@@ -2371,7 +2378,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
2371
2378
|
setup(__props) {
|
|
2372
2379
|
return (_ctx, _cache) => {
|
|
2373
2380
|
return openBlock(), createElementBlock(Fragment$1, null, [
|
|
2374
|
-
createElementVNode("span", _hoisted_1$
|
|
2381
|
+
createElementVNode("span", _hoisted_1$12, null, 512),
|
|
2375
2382
|
createTextVNode(" " + toDisplayString(_ctx.input), 1)
|
|
2376
2383
|
], 64);
|
|
2377
2384
|
};
|
|
@@ -14484,8 +14491,8 @@ const marks = {
|
|
|
14484
14491
|
}
|
|
14485
14492
|
};
|
|
14486
14493
|
const schema = new Schema({ nodes, marks });
|
|
14487
|
-
const _hoisted_1$
|
|
14488
|
-
const _sfc_main$
|
|
14494
|
+
const _hoisted_1$11 = ["id"];
|
|
14495
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
14489
14496
|
__name: "RTXEditor",
|
|
14490
14497
|
props: {
|
|
14491
14498
|
elementId: { default: Math.random().toString(36).substr(2, 9) },
|
|
@@ -14562,11 +14569,11 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
14562
14569
|
onClick: focusEditor,
|
|
14563
14570
|
id: `canvas-${_ctx.elementId}`,
|
|
14564
14571
|
onKeydown: _cache[0] || (_cache[0] = withKeys(withModifiers(($event) => _ctx.$emit("keydown.meta.enter"), ["meta"]), ["enter"]))
|
|
14565
|
-
}, null, 40, _hoisted_1$
|
|
14572
|
+
}, null, 40, _hoisted_1$11);
|
|
14566
14573
|
};
|
|
14567
14574
|
}
|
|
14568
14575
|
});
|
|
14569
|
-
const _sfc_main$
|
|
14576
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
14570
14577
|
__name: "MaterialIcon",
|
|
14571
14578
|
props: {
|
|
14572
14579
|
icon: {},
|
|
@@ -14581,17 +14588,17 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
14581
14588
|
};
|
|
14582
14589
|
}
|
|
14583
14590
|
});
|
|
14584
|
-
const _hoisted_1
|
|
14585
|
-
const _hoisted_2$
|
|
14586
|
-
_hoisted_1
|
|
14591
|
+
const _hoisted_1$10 = /* @__PURE__ */ createElementVNode("div", { class: "icon-font top-arrow" }, "chevron_right", -1);
|
|
14592
|
+
const _hoisted_2$T = [
|
|
14593
|
+
_hoisted_1$10
|
|
14587
14594
|
];
|
|
14588
14595
|
const _hoisted_3$K = { class: "full-nav" };
|
|
14589
14596
|
const _hoisted_4$t = { class: "nav-scroll" };
|
|
14590
|
-
const _hoisted_5$
|
|
14597
|
+
const _hoisted_5$o = { class: "nav-links-wrapper" };
|
|
14591
14598
|
const _hoisted_6$i = { class: "icon-font" };
|
|
14592
14599
|
const _hoisted_7$d = { class: "tooltip" };
|
|
14593
14600
|
const _hoisted_8$7 = { class: "bot-buttons-wrapper" };
|
|
14594
|
-
const _sfc_main$
|
|
14601
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
14595
14602
|
__name: "NavBar",
|
|
14596
14603
|
props: {
|
|
14597
14604
|
links: {},
|
|
@@ -14615,10 +14622,10 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
14615
14622
|
role: "button",
|
|
14616
14623
|
"aria-label": "Toggle Navigation",
|
|
14617
14624
|
tabindex: "0"
|
|
14618
|
-
}, _hoisted_2$
|
|
14625
|
+
}, _hoisted_2$T, 32),
|
|
14619
14626
|
createElementVNode("div", _hoisted_3$K, [
|
|
14620
14627
|
createElementVNode("div", _hoisted_4$t, [
|
|
14621
|
-
createElementVNode("div", _hoisted_5$
|
|
14628
|
+
createElementVNode("div", _hoisted_5$o, [
|
|
14622
14629
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList((_a2 = _ctx.links) == null ? void 0 : _a2.call(_ctx), (link) => {
|
|
14623
14630
|
return openBlock(), createBlock(_component_RouterLink, {
|
|
14624
14631
|
class: "nav-button",
|
|
@@ -14642,15 +14649,15 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
14642
14649
|
};
|
|
14643
14650
|
}
|
|
14644
14651
|
});
|
|
14645
|
-
const _hoisted_1
|
|
14652
|
+
const _hoisted_1$$ = {
|
|
14646
14653
|
key: 0,
|
|
14647
14654
|
class: "loading"
|
|
14648
14655
|
};
|
|
14649
|
-
const _hoisted_2$
|
|
14656
|
+
const _hoisted_2$S = {
|
|
14650
14657
|
key: 1,
|
|
14651
14658
|
class: "btn-flex"
|
|
14652
14659
|
};
|
|
14653
|
-
const _sfc_main$
|
|
14660
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
14654
14661
|
__name: "Btn",
|
|
14655
14662
|
props: {
|
|
14656
14663
|
disabled: { type: Boolean, default: false },
|
|
@@ -14659,7 +14666,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
14659
14666
|
color: {},
|
|
14660
14667
|
theme: {},
|
|
14661
14668
|
flat: { type: Boolean },
|
|
14662
|
-
border: { type: Boolean },
|
|
14669
|
+
border: { type: Boolean, default: false },
|
|
14663
14670
|
thin: { type: Boolean },
|
|
14664
14671
|
type: { default: "button" },
|
|
14665
14672
|
loading: { type: Boolean, default: false },
|
|
@@ -14671,8 +14678,8 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
14671
14678
|
},
|
|
14672
14679
|
setup(__props) {
|
|
14673
14680
|
useCssVars((_ctx) => ({
|
|
14674
|
-
"
|
|
14675
|
-
"
|
|
14681
|
+
"0b5510c0": computedBackgroundColor.value,
|
|
14682
|
+
"18db167b": cumputedTextColor.value
|
|
14676
14683
|
}));
|
|
14677
14684
|
const slots = useSlots();
|
|
14678
14685
|
const props2 = __props;
|
|
@@ -14730,8 +14737,8 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
14730
14737
|
})
|
|
14731
14738
|
}, {
|
|
14732
14739
|
default: withCtx(() => [
|
|
14733
|
-
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1
|
|
14734
|
-
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
14740
|
+
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$$)) : (openBlock(), createElementBlock("div", _hoisted_2$S, [
|
|
14741
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$X), {
|
|
14735
14742
|
key: 0,
|
|
14736
14743
|
icon: _ctx.icon
|
|
14737
14744
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
@@ -14739,7 +14746,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
14739
14746
|
!unref(slots)["default"] && _ctx.value ? (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
|
|
14740
14747
|
createTextVNode(toDisplayString(_ctx.value), 1)
|
|
14741
14748
|
], 64)) : createCommentVNode("", true),
|
|
14742
|
-
props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$
|
|
14749
|
+
props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$X), {
|
|
14743
14750
|
key: 2,
|
|
14744
14751
|
icon: props2["icon.end"]
|
|
14745
14752
|
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
@@ -14757,11 +14764,11 @@ const _export_sfc = (sfc, props2) => {
|
|
|
14757
14764
|
}
|
|
14758
14765
|
return target;
|
|
14759
14766
|
};
|
|
14760
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14761
|
-
const _hoisted_1$
|
|
14762
|
-
const _hoisted_2$
|
|
14767
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-0ca0d3de"]]);
|
|
14768
|
+
const _hoisted_1$_ = { class: "tool-bar" };
|
|
14769
|
+
const _hoisted_2$R = { class: "modal-title" };
|
|
14763
14770
|
const _hoisted_3$J = { class: "modal-footer mt-3" };
|
|
14764
|
-
const _sfc_main$
|
|
14771
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
14765
14772
|
__name: "Modal",
|
|
14766
14773
|
props: {
|
|
14767
14774
|
side: { type: Boolean },
|
|
@@ -14807,7 +14814,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
14807
14814
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
14808
14815
|
}, ["stop"]))
|
|
14809
14816
|
}, [
|
|
14810
|
-
createElementVNode("header", _hoisted_1$
|
|
14817
|
+
createElementVNode("header", _hoisted_1$_, [
|
|
14811
14818
|
renderSlot(_ctx.$slots, "toolbar"),
|
|
14812
14819
|
createVNode(unref(Btn), {
|
|
14813
14820
|
style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -14815,7 +14822,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
14815
14822
|
icon: "close",
|
|
14816
14823
|
onClick: closeModal
|
|
14817
14824
|
}, null, 8, ["style"]),
|
|
14818
|
-
createElementVNode("h3", _hoisted_2$
|
|
14825
|
+
createElementVNode("h3", _hoisted_2$R, toDisplayString(_ctx.title), 1)
|
|
14819
14826
|
]),
|
|
14820
14827
|
renderSlot(_ctx.$slots, "default"),
|
|
14821
14828
|
createElementVNode("footer", _hoisted_3$J, [
|
|
@@ -14833,6 +14840,104 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
14833
14840
|
};
|
|
14834
14841
|
}
|
|
14835
14842
|
});
|
|
14843
|
+
const _hoisted_1$Z = { class: "tool-bar" };
|
|
14844
|
+
const _hoisted_2$Q = { class: "modal-title" };
|
|
14845
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
14846
|
+
__name: "ModalBglForm",
|
|
14847
|
+
props: {
|
|
14848
|
+
side: { type: Boolean },
|
|
14849
|
+
title: {},
|
|
14850
|
+
dismissable: { type: Boolean },
|
|
14851
|
+
actions: {},
|
|
14852
|
+
schema: { type: Function },
|
|
14853
|
+
modelValue: {},
|
|
14854
|
+
onSubmit: { type: Function },
|
|
14855
|
+
onDelete: { type: Function }
|
|
14856
|
+
},
|
|
14857
|
+
emits: ["update:isModalVisible", "update:modelValue"],
|
|
14858
|
+
setup(__props, { emit: __emit }) {
|
|
14859
|
+
const props2 = __props;
|
|
14860
|
+
const computedFormSchema = computed(() => {
|
|
14861
|
+
if (typeof props2.schema === "function") {
|
|
14862
|
+
return props2.schema();
|
|
14863
|
+
}
|
|
14864
|
+
return props2.schema;
|
|
14865
|
+
});
|
|
14866
|
+
let isActive = ref(false);
|
|
14867
|
+
const emit2 = __emit;
|
|
14868
|
+
const handleEmit = (value) => {
|
|
14869
|
+
emit2("update:modelValue", value);
|
|
14870
|
+
};
|
|
14871
|
+
const closeModal = () => {
|
|
14872
|
+
isActive.value = false;
|
|
14873
|
+
setTimeout(() => {
|
|
14874
|
+
emit2("update:isModalVisible", false);
|
|
14875
|
+
}, 200);
|
|
14876
|
+
};
|
|
14877
|
+
const runSubmit = async (formData) => {
|
|
14878
|
+
var _a2;
|
|
14879
|
+
try {
|
|
14880
|
+
await ((_a2 = props2.onSubmit) == null ? void 0 : _a2.call(props2, formData));
|
|
14881
|
+
closeModal();
|
|
14882
|
+
} catch (err) {
|
|
14883
|
+
console.error(err);
|
|
14884
|
+
}
|
|
14885
|
+
};
|
|
14886
|
+
const runDelete = () => {
|
|
14887
|
+
var _a2, _b;
|
|
14888
|
+
(_b = props2.onDelete) == null ? void 0 : _b.call(props2, (_a2 = props2.modelValue) == null ? void 0 : _a2.id);
|
|
14889
|
+
closeModal();
|
|
14890
|
+
};
|
|
14891
|
+
const escapeKeyClose = (e3) => (props2 == null ? void 0 : props2.dismissable) && useEscape(e3, () => closeModal());
|
|
14892
|
+
onMounted(() => {
|
|
14893
|
+
setTimeout(() => {
|
|
14894
|
+
isActive.value = true;
|
|
14895
|
+
}, 1);
|
|
14896
|
+
document.addEventListener(
|
|
14897
|
+
"keydown",
|
|
14898
|
+
escapeKeyClose
|
|
14899
|
+
);
|
|
14900
|
+
});
|
|
14901
|
+
onUnmounted(() => {
|
|
14902
|
+
document.removeEventListener(
|
|
14903
|
+
"keydown",
|
|
14904
|
+
escapeKeyClose
|
|
14905
|
+
);
|
|
14906
|
+
});
|
|
14907
|
+
return (_ctx, _cache) => {
|
|
14908
|
+
return openBlock(), createElementBlock("div", {
|
|
14909
|
+
class: normalizeClass(["bg-dark", { "is-side": _ctx.side, "is-active": unref(isActive) }]),
|
|
14910
|
+
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
14911
|
+
onKeydown: withKeys(closeModal, ["esc"])
|
|
14912
|
+
}, [
|
|
14913
|
+
createElementVNode("div", {
|
|
14914
|
+
class: "card modal",
|
|
14915
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
14916
|
+
}, ["stop"]))
|
|
14917
|
+
}, [
|
|
14918
|
+
createElementVNode("header", _hoisted_1$Z, [
|
|
14919
|
+
renderSlot(_ctx.$slots, "toolbar", {}, void 0, true),
|
|
14920
|
+
createVNode(unref(Btn), {
|
|
14921
|
+
style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
14922
|
+
flat: "",
|
|
14923
|
+
icon: "close",
|
|
14924
|
+
onClick: closeModal
|
|
14925
|
+
}, null, 8, ["style"]),
|
|
14926
|
+
createElementVNode("h3", _hoisted_2$Q, toDisplayString(_ctx.title), 1)
|
|
14927
|
+
]),
|
|
14928
|
+
createVNode(unref(_sfc_main$r), {
|
|
14929
|
+
onDelete: _ctx.onDelete ? runDelete : void 0,
|
|
14930
|
+
modelValue: _ctx.modelValue,
|
|
14931
|
+
"onUpdate:modelValue": handleEmit,
|
|
14932
|
+
onSubmit: runSubmit,
|
|
14933
|
+
schema: computedFormSchema.value
|
|
14934
|
+
}, null, 8, ["onDelete", "modelValue", "schema"])
|
|
14935
|
+
])
|
|
14936
|
+
], 34);
|
|
14937
|
+
};
|
|
14938
|
+
}
|
|
14939
|
+
});
|
|
14940
|
+
const ModalBglForm = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-93c9eab1"]]);
|
|
14836
14941
|
const _hoisted_1$Y = { class: "dropdown-title" };
|
|
14837
14942
|
const _hoisted_2$P = { class: "dropdown-body" };
|
|
14838
14943
|
const _hoisted_3$I = ["onClick"];
|
|
@@ -14864,7 +14969,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
14864
14969
|
}, [
|
|
14865
14970
|
createElementVNode("div", _hoisted_1$Y, [
|
|
14866
14971
|
createTextVNode(toDisplayString(unref(selectedOption) || __props.placeholder) + " ", 1),
|
|
14867
|
-
createVNode(unref(_sfc_main$
|
|
14972
|
+
createVNode(unref(_sfc_main$X), { icon: "keyboard_arrow_down" })
|
|
14868
14973
|
]),
|
|
14869
14974
|
createElementVNode("div", _hoisted_2$P, [
|
|
14870
14975
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(__props.options, (option2, index2) => {
|
|
@@ -14885,7 +14990,7 @@ const _hoisted_3$H = {
|
|
|
14885
14990
|
class: "bagel-input search-wrap"
|
|
14886
14991
|
};
|
|
14887
14992
|
const _hoisted_4$s = ["placeholder"];
|
|
14888
|
-
const _hoisted_5$
|
|
14993
|
+
const _hoisted_5$n = { class: "list-content grid auto-flow-rows align-items-start" };
|
|
14889
14994
|
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
14890
14995
|
__name: "ListView",
|
|
14891
14996
|
props: {
|
|
@@ -14912,7 +15017,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
14912
15017
|
}, null, 40, _hoisted_4$s), [
|
|
14913
15018
|
[vModelText, searchTerm.value]
|
|
14914
15019
|
]),
|
|
14915
|
-
createVNode(unref(_sfc_main$
|
|
15020
|
+
createVNode(unref(_sfc_main$X), {
|
|
14916
15021
|
class: "txtgray",
|
|
14917
15022
|
icon: "search"
|
|
14918
15023
|
})
|
|
@@ -14923,7 +15028,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
14923
15028
|
onClick: _cache[2] || (_cache[2] = ($event) => emit2("add"))
|
|
14924
15029
|
})) : createCommentVNode("", true)
|
|
14925
15030
|
]),
|
|
14926
|
-
createElementVNode("div", _hoisted_5$
|
|
15031
|
+
createElementVNode("div", _hoisted_5$n, [
|
|
14927
15032
|
renderSlot(_ctx.$slots, "default")
|
|
14928
15033
|
])
|
|
14929
15034
|
]);
|
|
@@ -14956,17 +15061,17 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
14956
15061
|
};
|
|
14957
15062
|
}
|
|
14958
15063
|
});
|
|
14959
|
-
const _hoisted_1$V = { class: "
|
|
14960
|
-
const _hoisted_2$M = { class: "
|
|
14961
|
-
const _hoisted_3$G =
|
|
14962
|
-
const _hoisted_4$r = ["onClick"];
|
|
15064
|
+
const _hoisted_1$V = { class: "card tabs-top" };
|
|
15065
|
+
const _hoisted_2$M = { class: "tabs grid auto-flow-columns fit-content" };
|
|
15066
|
+
const _hoisted_3$G = ["onClick"];
|
|
14963
15067
|
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
14964
15068
|
__name: "TabbedLayout",
|
|
14965
15069
|
props: {
|
|
14966
15070
|
title: {},
|
|
14967
15071
|
tabs: {},
|
|
14968
15072
|
modelValue: {},
|
|
14969
|
-
router: {}
|
|
15073
|
+
router: {},
|
|
15074
|
+
sideTabs: { type: Boolean }
|
|
14970
15075
|
},
|
|
14971
15076
|
emits: ["update:modelValue"],
|
|
14972
15077
|
setup(__props, { emit: __emit }) {
|
|
@@ -14974,32 +15079,38 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
14974
15079
|
let activeTab = ref();
|
|
14975
15080
|
const props2 = __props;
|
|
14976
15081
|
function changeTab(tab) {
|
|
14977
|
-
|
|
15082
|
+
var _a2;
|
|
14978
15083
|
activeTab.value = tab;
|
|
14979
|
-
void router.push({
|
|
14980
|
-
path: router.currentRoute.value.path,
|
|
14981
|
-
query: { ...router.currentRoute.value.query, t: tab },
|
|
14982
|
-
hash: router.currentRoute.value.hash
|
|
14983
|
-
});
|
|
14984
15084
|
emit2("update:modelValue", activeTab.value);
|
|
15085
|
+
if (!props2.router)
|
|
15086
|
+
return;
|
|
15087
|
+
void ((_a2 = props2.router) == null ? void 0 : _a2.push({
|
|
15088
|
+
path: props2.router.currentRoute.value.path,
|
|
15089
|
+
query: { ...props2.router.currentRoute.value.query, t: tab },
|
|
15090
|
+
hash: props2.router.currentRoute.value.hash
|
|
15091
|
+
}));
|
|
14985
15092
|
}
|
|
14986
15093
|
onMounted(() => {
|
|
14987
|
-
|
|
15094
|
+
var _a2;
|
|
15095
|
+
const firstTab = props2.modelValue || ((_a2 = props2.router) == null ? void 0 : _a2.currentRoute.value.query.t) || props2.tabs[0];
|
|
14988
15096
|
activeTab.value = firstTab;
|
|
14989
15097
|
});
|
|
14990
15098
|
return (_ctx, _cache) => {
|
|
14991
|
-
return openBlock(), createElementBlock("div",
|
|
14992
|
-
|
|
15099
|
+
return openBlock(), createElementBlock("div", {
|
|
15100
|
+
class: normalizeClass(["h-100 grid list-view gap-3", { "side-tabs": _ctx.sideTabs }])
|
|
15101
|
+
}, [
|
|
15102
|
+
createElementVNode("div", _hoisted_1$V, [
|
|
14993
15103
|
renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
|
|
14994
|
-
createElementVNode("div",
|
|
15104
|
+
createElementVNode("div", _hoisted_2$M, [
|
|
14995
15105
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.tabs, (tab) => {
|
|
15106
|
+
var _a2;
|
|
14996
15107
|
return openBlock(), createElementBlock("div", {
|
|
14997
15108
|
class: normalizeClass([{
|
|
14998
|
-
active: tab === unref(activeTab) || tab === _ctx.router.currentRoute.value.path.split("/").slice(-1)[0]
|
|
15109
|
+
active: tab === unref(activeTab) || tab === ((_a2 = _ctx.router) == null ? void 0 : _a2.currentRoute.value.path.split("/").slice(-1)[0])
|
|
14999
15110
|
}, "tab"]),
|
|
15000
15111
|
key: tab,
|
|
15001
15112
|
onClick: ($event) => changeTab(tab)
|
|
15002
|
-
}, toDisplayString(tab), 11,
|
|
15113
|
+
}, toDisplayString(tab), 11, _hoisted_3$G);
|
|
15003
15114
|
}), 128))
|
|
15004
15115
|
])
|
|
15005
15116
|
]),
|
|
@@ -15011,16 +15122,16 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
15011
15122
|
renderSlot(_ctx.$slots, tab, { key: tab }, void 0, true)
|
|
15012
15123
|
]);
|
|
15013
15124
|
}), 128))
|
|
15014
|
-
]);
|
|
15125
|
+
], 2);
|
|
15015
15126
|
};
|
|
15016
15127
|
}
|
|
15017
15128
|
});
|
|
15018
|
-
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-
|
|
15129
|
+
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-09fce741"]]);
|
|
15019
15130
|
const _hoisted_1$U = { class: "comments-wrap" };
|
|
15020
15131
|
const _hoisted_2$L = { class: "comment-list" };
|
|
15021
15132
|
const _hoisted_3$F = { class: "comment-top" };
|
|
15022
|
-
const _hoisted_4$
|
|
15023
|
-
const _hoisted_5$
|
|
15133
|
+
const _hoisted_4$r = { class: "comment-owner" };
|
|
15134
|
+
const _hoisted_5$m = { class: "comment-time" };
|
|
15024
15135
|
const _hoisted_6$h = { class: "comment-actions" };
|
|
15025
15136
|
const _hoisted_7$c = ["innerHTML"];
|
|
15026
15137
|
const _hoisted_8$6 = { class: "new-comment" };
|
|
@@ -15079,22 +15190,22 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
15079
15190
|
key: comment.id
|
|
15080
15191
|
}, [
|
|
15081
15192
|
createElementVNode("div", _hoisted_3$F, [
|
|
15082
|
-
createElementVNode("div", _hoisted_4$
|
|
15083
|
-
createElementVNode("div", _hoisted_5$
|
|
15193
|
+
createElementVNode("div", _hoisted_4$r, toDisplayString(comment.sender.first_name) + " " + toDisplayString(comment.sender.last_name), 1),
|
|
15194
|
+
createElementVNode("div", _hoisted_5$m, toDisplayString(comment.updated_at.split("T")[0]), 1),
|
|
15084
15195
|
createElementVNode("div", _hoisted_6$h, [
|
|
15085
|
-
createVNode(unref(_sfc_main$
|
|
15196
|
+
createVNode(unref(_sfc_main$X), {
|
|
15086
15197
|
size: 1,
|
|
15087
15198
|
class: "edit",
|
|
15088
15199
|
icon: "edit",
|
|
15089
15200
|
onClick: ($event) => isRef(editComment) ? editComment.value = comment : editComment = comment
|
|
15090
15201
|
}, null, 8, ["onClick"]),
|
|
15091
|
-
createVNode(unref(_sfc_main$
|
|
15202
|
+
createVNode(unref(_sfc_main$X), {
|
|
15092
15203
|
size: 1.2,
|
|
15093
15204
|
class: "delete",
|
|
15094
15205
|
icon: "delete",
|
|
15095
15206
|
onClick: ($event) => deleteComment(comment.id)
|
|
15096
15207
|
}, null, 8, ["onClick"]),
|
|
15097
|
-
createVNode(unref(_sfc_main$
|
|
15208
|
+
createVNode(unref(_sfc_main$X), {
|
|
15098
15209
|
size: 1.2,
|
|
15099
15210
|
class: "save",
|
|
15100
15211
|
icon: "save",
|
|
@@ -15102,7 +15213,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
15102
15213
|
})
|
|
15103
15214
|
])
|
|
15104
15215
|
]),
|
|
15105
|
-
unref(editComment) !== null && ((_c = unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (openBlock(), createBlock(unref(_sfc_main$
|
|
15216
|
+
unref(editComment) !== null && ((_c = unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (openBlock(), createBlock(unref(_sfc_main$Y), {
|
|
15106
15217
|
key: 0,
|
|
15107
15218
|
modelValue: unref(editComment).body_html,
|
|
15108
15219
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(editComment).body_html = $event),
|
|
@@ -15116,7 +15227,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
15116
15227
|
}), 128))
|
|
15117
15228
|
]),
|
|
15118
15229
|
createElementVNode("div", _hoisted_8$6, [
|
|
15119
|
-
createVNode(unref(_sfc_main$
|
|
15230
|
+
createVNode(unref(_sfc_main$Y), {
|
|
15120
15231
|
class: "comment-input",
|
|
15121
15232
|
modelValue: unref(bodyHtml),
|
|
15122
15233
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(bodyHtml) ? bodyHtml.value = $event : bodyHtml = $event),
|
|
@@ -15332,8 +15443,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
15332
15443
|
const _hoisted_1$R = { class: "table-list-wrap h-100" };
|
|
15333
15444
|
const _hoisted_2$I = { class: "infinite-wrapper" };
|
|
15334
15445
|
const _hoisted_3$E = { class: "row first-row" };
|
|
15335
|
-
const _hoisted_4$
|
|
15336
|
-
const _hoisted_5$
|
|
15446
|
+
const _hoisted_4$q = ["onClick"];
|
|
15447
|
+
const _hoisted_5$l = { class: "flex" };
|
|
15337
15448
|
const _hoisted_6$g = ["onClick"];
|
|
15338
15449
|
const _hoisted_7$b = { key: 1 };
|
|
15339
15450
|
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
@@ -15391,18 +15502,18 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
15391
15502
|
key: field.id,
|
|
15392
15503
|
onClick: ($event) => sort2(field.id)
|
|
15393
15504
|
}, [
|
|
15394
|
-
createElementVNode("div", _hoisted_5$
|
|
15505
|
+
createElementVNode("div", _hoisted_5$l, [
|
|
15395
15506
|
createTextVNode(toDisplayString((field == null ? void 0 : field.label) || (field == null ? void 0 : field.id)) + " ", 1),
|
|
15396
15507
|
createElementVNode("div", {
|
|
15397
15508
|
class: normalizeClass(["list-arrows", { sorted: unref(sortField) === field.id }])
|
|
15398
15509
|
}, [
|
|
15399
|
-
createVNode(unref(_sfc_main$
|
|
15510
|
+
createVNode(unref(_sfc_main$X), {
|
|
15400
15511
|
class: normalizeClass({ desc: unref(sortDirection) === "DESC" }),
|
|
15401
15512
|
icon: "keyboard_arrow_up"
|
|
15402
15513
|
}, null, 8, ["class"])
|
|
15403
15514
|
], 2)
|
|
15404
15515
|
])
|
|
15405
|
-
], 8, _hoisted_4$
|
|
15516
|
+
], 8, _hoisted_4$q);
|
|
15406
15517
|
}), 128))
|
|
15407
15518
|
]),
|
|
15408
15519
|
createElementVNode("tbody", {
|
|
@@ -15531,8 +15642,8 @@ const _hoisted_1$O = {
|
|
|
15531
15642
|
};
|
|
15532
15643
|
const _hoisted_2$H = { class: "person-card-icon-wrap" };
|
|
15533
15644
|
const _hoisted_3$D = { class: "person-card-icon" };
|
|
15534
|
-
const _hoisted_4$
|
|
15535
|
-
const _hoisted_5$
|
|
15645
|
+
const _hoisted_4$p = { class: "person-card-name txt20" };
|
|
15646
|
+
const _hoisted_5$k = { class: "person-card-details-wrap" };
|
|
15536
15647
|
const _hoisted_6$f = {
|
|
15537
15648
|
key: 0,
|
|
15538
15649
|
class: "person-card-details"
|
|
@@ -15596,11 +15707,11 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
15596
15707
|
])) : createCommentVNode("", true),
|
|
15597
15708
|
createElementVNode("div", _hoisted_2$H, [
|
|
15598
15709
|
createElementVNode("p", _hoisted_3$D, toDisplayString(unref(initials)(_ctx.person.first_name, _ctx.person.last_name)), 1),
|
|
15599
|
-
createElementVNode("p", _hoisted_4$
|
|
15710
|
+
createElementVNode("p", _hoisted_4$p, toDisplayString(_ctx.person.first_name) + " " + toDisplayString(_ctx.person.last_name), 1)
|
|
15600
15711
|
]),
|
|
15601
|
-
createElementVNode("div", _hoisted_5$
|
|
15712
|
+
createElementVNode("div", _hoisted_5$k, [
|
|
15602
15713
|
((_a2 = _ctx.person.phone) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_6$f, [
|
|
15603
|
-
createVNode(unref(_sfc_main$
|
|
15714
|
+
createVNode(unref(_sfc_main$X), { icon: "phone" }),
|
|
15604
15715
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.person.phone, (phone) => {
|
|
15605
15716
|
return openBlock(), createElementBlock("p", {
|
|
15606
15717
|
key: phone.id
|
|
@@ -15608,7 +15719,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
15608
15719
|
}), 128))
|
|
15609
15720
|
])) : createCommentVNode("", true),
|
|
15610
15721
|
((_b = _ctx.person.email) == null ? void 0 : _b.length) ? (openBlock(), createElementBlock("div", _hoisted_7$a, [
|
|
15611
|
-
createVNode(unref(_sfc_main$
|
|
15722
|
+
createVNode(unref(_sfc_main$X), { icon: "email" }),
|
|
15612
15723
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.person.email, (email) => {
|
|
15613
15724
|
return openBlock(), createElementBlock("p", {
|
|
15614
15725
|
key: email.id
|
|
@@ -15616,7 +15727,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
15616
15727
|
}), 128))
|
|
15617
15728
|
])) : createCommentVNode("", true),
|
|
15618
15729
|
_ctx.person.date_of_birth || _ctx.person.gender ? (openBlock(), createElementBlock("div", _hoisted_8$5, [
|
|
15619
|
-
createVNode(unref(_sfc_main$
|
|
15730
|
+
createVNode(unref(_sfc_main$X), { icon: "badge" }),
|
|
15620
15731
|
_ctx.person.date_of_birth ? (openBlock(), createElementBlock("p", _hoisted_9$3, toDisplayString(_ctx.person.date_of_birth), 1)) : createCommentVNode("", true),
|
|
15621
15732
|
_ctx.person.gender ? (openBlock(), createElementBlock("p", _hoisted_10$3, toDisplayString(_ctx.person.gender), 1)) : createCommentVNode("", true)
|
|
15622
15733
|
])) : createCommentVNode("", true)
|
|
@@ -15637,8 +15748,8 @@ const _hoisted_3$C = {
|
|
|
15637
15748
|
key: 0,
|
|
15638
15749
|
class: "data-row"
|
|
15639
15750
|
};
|
|
15640
|
-
const _hoisted_4$
|
|
15641
|
-
const _hoisted_5$
|
|
15751
|
+
const _hoisted_4$o = { class: "key" };
|
|
15752
|
+
const _hoisted_5$j = { key: 1 };
|
|
15642
15753
|
const _hoisted_6$e = { class: "key" };
|
|
15643
15754
|
const _hoisted_7$9 = { class: "vlue" };
|
|
15644
15755
|
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
@@ -15670,7 +15781,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
15670
15781
|
key: field.id
|
|
15671
15782
|
}, [
|
|
15672
15783
|
(field["v-if"] ? field["v-if"](itemData.value[field.id], itemData.value) : true) ? (openBlock(), createElementBlock("div", _hoisted_3$C, [
|
|
15673
|
-
createElementVNode("div", _hoisted_4$
|
|
15784
|
+
createElementVNode("div", _hoisted_4$o, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1),
|
|
15674
15785
|
(openBlock(), createBlock(resolveDynamicComponent(field.$el || "div"), mergeProps({
|
|
15675
15786
|
class: "vlue",
|
|
15676
15787
|
modelValue: itemData.value[field.id],
|
|
@@ -15690,7 +15801,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
15690
15801
|
])) : createCommentVNode("", true)
|
|
15691
15802
|
], 64);
|
|
15692
15803
|
}), 128)),
|
|
15693
|
-
!((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
15804
|
+
!((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_5$j, [
|
|
15694
15805
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(Object.entries(itemData.value).filter(
|
|
15695
15806
|
([key]) => !keysToIgnore.includes(key)
|
|
15696
15807
|
), ([key, value]) => {
|
|
@@ -15716,11 +15827,11 @@ const _hoisted_2$F = {
|
|
|
15716
15827
|
class: "group-wrap"
|
|
15717
15828
|
};
|
|
15718
15829
|
const _hoisted_3$B = { class: "group-title" };
|
|
15719
|
-
const _hoisted_4$
|
|
15830
|
+
const _hoisted_4$n = {
|
|
15720
15831
|
key: 1,
|
|
15721
15832
|
class: "bar-wrap"
|
|
15722
15833
|
};
|
|
15723
|
-
const _hoisted_5$
|
|
15834
|
+
const _hoisted_5$i = { class: "bar-txt" };
|
|
15724
15835
|
const _hoisted_6$d = { class: "factor" };
|
|
15725
15836
|
const _hoisted_7$8 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "red-bar" }, null, -1));
|
|
15726
15837
|
const _hoisted_8$4 = { class: "bar-lines" };
|
|
@@ -15802,7 +15913,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
15802
15913
|
}, null, 4)) : createCommentVNode("", true)
|
|
15803
15914
|
]);
|
|
15804
15915
|
}), 128))
|
|
15805
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_4$
|
|
15916
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_4$n, [
|
|
15806
15917
|
createElementVNode("div", {
|
|
15807
15918
|
class: "bar",
|
|
15808
15919
|
style: normalizeStyle({ height: loaded.value ? `${percent(item.value)}%` : "0" })
|
|
@@ -15812,7 +15923,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
15812
15923
|
class: "bar compare",
|
|
15813
15924
|
style: normalizeStyle({ height: loaded.value ? `${percent(item.compareValue)}%` : "0" })
|
|
15814
15925
|
}, null, 4)) : createCommentVNode("", true),
|
|
15815
|
-
createElementVNode("p", _hoisted_5$
|
|
15926
|
+
createElementVNode("p", _hoisted_5$i, toDisplayString(item.title), 1)
|
|
15816
15927
|
]))
|
|
15817
15928
|
]);
|
|
15818
15929
|
}), 128)),
|
|
@@ -17120,7 +17231,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
17120
17231
|
[vModelCheckbox, unref(val)]
|
|
17121
17232
|
]),
|
|
17122
17233
|
createElementVNode("span", null, [
|
|
17123
|
-
createVNode(unref(_sfc_main$
|
|
17234
|
+
createVNode(unref(_sfc_main$X), { icon: "check" })
|
|
17124
17235
|
])
|
|
17125
17236
|
]);
|
|
17126
17237
|
};
|
|
@@ -17133,8 +17244,8 @@ const _hoisted_3$A = {
|
|
|
17133
17244
|
key: 0,
|
|
17134
17245
|
class: "bglform-contact-confirm"
|
|
17135
17246
|
};
|
|
17136
|
-
const _hoisted_4$
|
|
17137
|
-
const _hoisted_5$
|
|
17247
|
+
const _hoisted_4$m = { class: "txt14" };
|
|
17248
|
+
const _hoisted_5$h = ["onUpdate:modelValue", "placeholder"];
|
|
17138
17249
|
const _hoisted_6$c = ["onUpdate:modelValue", "placeholder"];
|
|
17139
17250
|
const _hoisted_7$7 = ["onUpdate:modelValue", "placeholder"];
|
|
17140
17251
|
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
@@ -17199,7 +17310,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
17199
17310
|
key: i3
|
|
17200
17311
|
}, [
|
|
17201
17312
|
unref(deleteCandidate) === i3 ? (openBlock(), createElementBlock("div", _hoisted_3$A, [
|
|
17202
|
-
createElementVNode("p", _hoisted_4$
|
|
17313
|
+
createElementVNode("p", _hoisted_4$m, toDisplayString((_a2 = formPlaceholders.value) == null ? void 0 : _a2.sure), 1),
|
|
17203
17314
|
createVNode(unref(Btn), {
|
|
17204
17315
|
thin: "",
|
|
17205
17316
|
color: "red",
|
|
@@ -17235,7 +17346,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
17235
17346
|
"onUpdate:modelValue": ($event) => contact.label = $event,
|
|
17236
17347
|
type: "text",
|
|
17237
17348
|
placeholder: (_b = formPlaceholders.value) == null ? void 0 : _b.label
|
|
17238
|
-
}, null, 8, _hoisted_5$
|
|
17349
|
+
}, null, 8, _hoisted_5$h), [
|
|
17239
17350
|
[vModelText, contact.label]
|
|
17240
17351
|
]),
|
|
17241
17352
|
((_c = _ctx.context) == null ? void 0 : _c.id) === "email" ? withDirectives((openBlock(), createElementBlock("input", {
|
|
@@ -17289,8 +17400,8 @@ const _hoisted_3$z = {
|
|
|
17289
17400
|
key: 0,
|
|
17290
17401
|
class: "bglform-contact-confirm"
|
|
17291
17402
|
};
|
|
17292
|
-
const _hoisted_4$
|
|
17293
|
-
const _hoisted_5$
|
|
17403
|
+
const _hoisted_4$l = { class: "txt14" };
|
|
17404
|
+
const _hoisted_5$g = ["onUpdate:modelValue", "placeholder"];
|
|
17294
17405
|
const _hoisted_6$b = { class: "bglform-contact-address" };
|
|
17295
17406
|
const _hoisted_7$6 = ["onUpdate:modelValue", "placeholder"];
|
|
17296
17407
|
const _hoisted_8$3 = { class: "bglform-contact-address-flex" };
|
|
@@ -17366,7 +17477,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
17366
17477
|
key: i3
|
|
17367
17478
|
}, [
|
|
17368
17479
|
unref(deleteCandidate) === i3 ? (openBlock(), createElementBlock("div", _hoisted_3$z, [
|
|
17369
|
-
createElementVNode("p", _hoisted_4$
|
|
17480
|
+
createElementVNode("p", _hoisted_4$l, toDisplayString((_a2 = formPlaceholders.value) == null ? void 0 : _a2.sure), 1),
|
|
17370
17481
|
createVNode(unref(Btn), {
|
|
17371
17482
|
thin: "",
|
|
17372
17483
|
color: "red",
|
|
@@ -17402,7 +17513,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
17402
17513
|
"onUpdate:modelValue": ($event) => address.label = $event,
|
|
17403
17514
|
type: "text",
|
|
17404
17515
|
placeholder: (_b = formPlaceholders.value) == null ? void 0 : _b.label
|
|
17405
|
-
}, null, 8, _hoisted_5$
|
|
17516
|
+
}, null, 8, _hoisted_5$g), [
|
|
17406
17517
|
[vModelText, address.label]
|
|
17407
17518
|
]),
|
|
17408
17519
|
createElementVNode("div", _hoisted_6$b, [
|
|
@@ -17473,8 +17584,8 @@ const _hoisted_3$y = {
|
|
|
17473
17584
|
key: 0,
|
|
17474
17585
|
class: "bglform-contact-confirm"
|
|
17475
17586
|
};
|
|
17476
|
-
const _hoisted_4$
|
|
17477
|
-
const _hoisted_5$
|
|
17587
|
+
const _hoisted_4$k = { class: "txt14" };
|
|
17588
|
+
const _hoisted_5$f = ["onUpdate:modelValue", "placeholder"];
|
|
17478
17589
|
const _hoisted_6$a = { class: "bglform-contact-address" };
|
|
17479
17590
|
const _hoisted_7$5 = ["onUpdate:modelValue", "placeholder"];
|
|
17480
17591
|
const _hoisted_8$2 = { class: "bglform-contact-address-flex" };
|
|
@@ -17549,7 +17660,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
17549
17660
|
key: i3
|
|
17550
17661
|
}, [
|
|
17551
17662
|
unref(deleteCandidate) === i3 ? (openBlock(), createElementBlock("div", _hoisted_3$y, [
|
|
17552
|
-
createElementVNode("p", _hoisted_4$
|
|
17663
|
+
createElementVNode("p", _hoisted_4$k, toDisplayString((_a2 = formPlaceholders.value) == null ? void 0 : _a2.sure), 1),
|
|
17553
17664
|
createVNode(unref(Btn), {
|
|
17554
17665
|
thin: "",
|
|
17555
17666
|
color: "red",
|
|
@@ -17585,7 +17696,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
17585
17696
|
"onUpdate:modelValue": ($event) => bank_account.label = $event,
|
|
17586
17697
|
type: "text",
|
|
17587
17698
|
placeholder: (_b = formPlaceholders.value) == null ? void 0 : _b.label
|
|
17588
|
-
}, null, 8, _hoisted_5$
|
|
17699
|
+
}, null, 8, _hoisted_5$f), [
|
|
17589
17700
|
[vModelText, bank_account.label]
|
|
17590
17701
|
]),
|
|
17591
17702
|
createElementVNode("div", _hoisted_6$a, [
|
|
@@ -17735,7 +17846,7 @@ const _withScopeId$1 = (n) => (pushScopeId("data-v-d0543d4b"), n = n(), popScope
|
|
|
17735
17846
|
const _hoisted_1$G = ["title"];
|
|
17736
17847
|
const _hoisted_2$B = { class: "switch" };
|
|
17737
17848
|
const _hoisted_3$x = ["id"];
|
|
17738
|
-
const _hoisted_4$
|
|
17849
|
+
const _hoisted_4$j = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "slider round" }, null, -1));
|
|
17739
17850
|
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
17740
17851
|
__name: "Toggle",
|
|
17741
17852
|
props: {
|
|
@@ -17772,7 +17883,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
17772
17883
|
}, null, 40, _hoisted_3$x), [
|
|
17773
17884
|
[vModelCheckbox, unref(inputVal)]
|
|
17774
17885
|
]),
|
|
17775
|
-
_hoisted_4$
|
|
17886
|
+
_hoisted_4$j
|
|
17776
17887
|
])
|
|
17777
17888
|
], 10, _hoisted_1$G);
|
|
17778
17889
|
};
|
|
@@ -17785,8 +17896,8 @@ const _hoisted_2$A = {
|
|
|
17785
17896
|
class: "img-label"
|
|
17786
17897
|
};
|
|
17787
17898
|
const _hoisted_3$w = { class: "uploading-wrap" };
|
|
17788
|
-
const _hoisted_4$
|
|
17789
|
-
const _hoisted_5$
|
|
17899
|
+
const _hoisted_4$i = { class: "load-file-bar" };
|
|
17900
|
+
const _hoisted_5$e = ["src", "alt"];
|
|
17790
17901
|
const _hoisted_6$9 = { class: "flex" };
|
|
17791
17902
|
const _hoisted_7$4 = {
|
|
17792
17903
|
key: 0,
|
|
@@ -17963,14 +18074,14 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
17963
18074
|
class: normalizeClass({ uploading: item.uploading }),
|
|
17964
18075
|
key: index2
|
|
17965
18076
|
}, [
|
|
17966
|
-
createElementVNode("div", _hoisted_4$
|
|
18077
|
+
createElementVNode("div", _hoisted_4$i, [
|
|
17967
18078
|
isImg(item) ? (openBlock(), createElementBlock("img", {
|
|
17968
18079
|
key: 0,
|
|
17969
18080
|
width: "40",
|
|
17970
18081
|
src: item.dataUrl,
|
|
17971
18082
|
alt: item.name,
|
|
17972
18083
|
style: { "margin-inline-end": "10px" }
|
|
17973
|
-
}, null, 8, _hoisted_5$
|
|
18084
|
+
}, null, 8, _hoisted_5$e)) : createCommentVNode("", true),
|
|
17974
18085
|
createElementVNode("p", null, toDisplayString(item.name), 1),
|
|
17975
18086
|
createElementVNode("div", _hoisted_6$9, [
|
|
17976
18087
|
createElementVNode("div", {
|
|
@@ -17978,7 +18089,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
17978
18089
|
style: normalizeStyle([`--p:${item.progress}`, { "--b": "2px" }])
|
|
17979
18090
|
}, [
|
|
17980
18091
|
item.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_7$4, toDisplayString(`${item.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
|
|
17981
|
-
createVNode(unref(_sfc_main$
|
|
18092
|
+
createVNode(unref(_sfc_main$X), {
|
|
17982
18093
|
class: "success",
|
|
17983
18094
|
icon: "check"
|
|
17984
18095
|
})
|
|
@@ -18014,8 +18125,8 @@ const _hoisted_1$E = {
|
|
|
18014
18125
|
};
|
|
18015
18126
|
const _hoisted_2$z = { class: "person-card-icon-wrap" };
|
|
18016
18127
|
const _hoisted_3$v = { class: "person-card-icon" };
|
|
18017
|
-
const _hoisted_4$
|
|
18018
|
-
const _hoisted_5$
|
|
18128
|
+
const _hoisted_4$h = { class: "person-card-name txt20" };
|
|
18129
|
+
const _hoisted_5$d = { class: "person-card-details-wrap" };
|
|
18019
18130
|
const _hoisted_6$8 = {
|
|
18020
18131
|
key: 0,
|
|
18021
18132
|
class: "person-card-details"
|
|
@@ -18081,11 +18192,11 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
18081
18192
|
])) : createCommentVNode("", true),
|
|
18082
18193
|
createElementVNode("div", _hoisted_2$z, [
|
|
18083
18194
|
createElementVNode("p", _hoisted_3$v, toDisplayString(unref(initials)(person.value.first_name, person.value.last_name)), 1),
|
|
18084
|
-
createElementVNode("p", _hoisted_4$
|
|
18195
|
+
createElementVNode("p", _hoisted_4$h, toDisplayString(person.value.first_name) + " " + toDisplayString(person.value.last_name), 1)
|
|
18085
18196
|
]),
|
|
18086
|
-
createElementVNode("div", _hoisted_5$
|
|
18197
|
+
createElementVNode("div", _hoisted_5$d, [
|
|
18087
18198
|
((_a2 = person.value.phone) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_6$8, [
|
|
18088
|
-
createVNode(unref(_sfc_main$
|
|
18199
|
+
createVNode(unref(_sfc_main$X), { icon: "phone" }),
|
|
18089
18200
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(person.value.phone, (phone) => {
|
|
18090
18201
|
return openBlock(), createElementBlock("p", {
|
|
18091
18202
|
key: phone.id
|
|
@@ -18093,7 +18204,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
18093
18204
|
}), 128))
|
|
18094
18205
|
])) : createCommentVNode("", true),
|
|
18095
18206
|
((_b = person.value.email) == null ? void 0 : _b.length) ? (openBlock(), createElementBlock("div", _hoisted_7$3, [
|
|
18096
|
-
createVNode(unref(_sfc_main$
|
|
18207
|
+
createVNode(unref(_sfc_main$X), { icon: "email" }),
|
|
18097
18208
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(person.value.email, (email) => {
|
|
18098
18209
|
return openBlock(), createElementBlock("p", {
|
|
18099
18210
|
key: email.id
|
|
@@ -18101,7 +18212,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
18101
18212
|
}), 128))
|
|
18102
18213
|
])) : createCommentVNode("", true),
|
|
18103
18214
|
person.value.date_of_birth || person.value.gender ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
18104
|
-
createVNode(unref(_sfc_main$
|
|
18215
|
+
createVNode(unref(_sfc_main$X), { icon: "badge" }),
|
|
18105
18216
|
person.value.date_of_birth ? (openBlock(), createElementBlock("p", _hoisted_9, toDisplayString(person.value.date_of_birth), 1)) : createCommentVNode("", true),
|
|
18106
18217
|
person.value.gender ? (openBlock(), createElementBlock("p", _hoisted_10, toDisplayString(person.value.gender), 1)) : createCommentVNode("", true)
|
|
18107
18218
|
])) : createCommentVNode("", true)
|
|
@@ -18243,7 +18354,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
18243
18354
|
}, {
|
|
18244
18355
|
default: withCtx(() => [
|
|
18245
18356
|
createTextVNode(toDisplayString(content.value) + " ", 1),
|
|
18246
|
-
createVNode(unref(_sfc_main$
|
|
18357
|
+
createVNode(unref(_sfc_main$X), { icon: "arrow_forward" })
|
|
18247
18358
|
]),
|
|
18248
18359
|
_: 1
|
|
18249
18360
|
})) : (openBlock(), createElementBlock("span", _hoisted_1$D, toDisplayString(content.value), 1))
|
|
@@ -18269,8 +18380,8 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
18269
18380
|
const _hoisted_1$C = { class: "bagel-input" };
|
|
18270
18381
|
const _hoisted_2$y = ["for"];
|
|
18271
18382
|
const _hoisted_3$u = ["checked"];
|
|
18272
|
-
const _hoisted_4$
|
|
18273
|
-
const _hoisted_5$
|
|
18383
|
+
const _hoisted_4$g = ["name", "type", "value"];
|
|
18384
|
+
const _hoisted_5$c = ["name", "type", "value"];
|
|
18274
18385
|
const _hoisted_6$7 = ["name", "type", "value"];
|
|
18275
18386
|
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
18276
18387
|
__name: "PlainInputField",
|
|
@@ -18306,7 +18417,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
18306
18417
|
createElementVNode("label", {
|
|
18307
18418
|
for: unref(formatString)(_ctx.name, "pascal")
|
|
18308
18419
|
}, [
|
|
18309
|
-
createVNode(_sfc_main$
|
|
18420
|
+
createVNode(_sfc_main$Z, {
|
|
18310
18421
|
input: unref(formatString)(_ctx.name, "titleCase")
|
|
18311
18422
|
}, null, 8, ["input"])
|
|
18312
18423
|
], 8, _hoisted_2$y),
|
|
@@ -18327,7 +18438,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
18327
18438
|
value: _ctx.modelValue,
|
|
18328
18439
|
class: "ctl",
|
|
18329
18440
|
onInput: handleInput
|
|
18330
|
-
}, null, 40, _hoisted_4$
|
|
18441
|
+
}, null, 40, _hoisted_4$g)) : _ctx.type === "text" ? (openBlock(), createElementBlock("input", {
|
|
18331
18442
|
key: 2,
|
|
18332
18443
|
ref_key: "el",
|
|
18333
18444
|
ref: el2,
|
|
@@ -18336,7 +18447,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
18336
18447
|
value: _ctx.modelValue,
|
|
18337
18448
|
class: "ctl",
|
|
18338
18449
|
onInput: handleInput
|
|
18339
|
-
}, null, 40, _hoisted_5$
|
|
18450
|
+
}, null, 40, _hoisted_5$c)) : _ctx.type === "textarea" ? (openBlock(), createElementBlock("textarea", {
|
|
18340
18451
|
key: 3,
|
|
18341
18452
|
ref_key: "el",
|
|
18342
18453
|
ref: el2,
|
|
@@ -18347,7 +18458,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
18347
18458
|
onInput: handleInput
|
|
18348
18459
|
}, null, 40, _hoisted_6$7)) : createCommentVNode("", true),
|
|
18349
18460
|
createElementVNode("div", null, [
|
|
18350
|
-
createVNode(_sfc_main$
|
|
18461
|
+
createVNode(_sfc_main$Z, { input: _ctx.errorMessage }, null, 8, ["input"])
|
|
18351
18462
|
])
|
|
18352
18463
|
]);
|
|
18353
18464
|
};
|
|
@@ -18454,6 +18565,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
18454
18565
|
required: _ctx.field.required
|
|
18455
18566
|
}, unref(bindAttrs)(((_a2 = _ctx.field) == null ? void 0 : _a2.attrs) || {}, props2.modelValue[_ctx.field.id || ""], props2.modelValue), {
|
|
18456
18567
|
label: _ctx.field.label,
|
|
18568
|
+
id: _ctx.field.id,
|
|
18457
18569
|
placeholder: _ctx.field.placeholder || _ctx.field.label,
|
|
18458
18570
|
modelValue: props2.modelValue[_ctx.field.id || ""],
|
|
18459
18571
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => emits("update:modelValue", $event))
|
|
@@ -18469,7 +18581,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
18469
18581
|
}), 128))
|
|
18470
18582
|
]),
|
|
18471
18583
|
_: 1
|
|
18472
|
-
}, 16, ["required", "label", "placeholder", "modelValue"]);
|
|
18584
|
+
}, 16, ["required", "label", "id", "placeholder", "modelValue"]);
|
|
18473
18585
|
};
|
|
18474
18586
|
}
|
|
18475
18587
|
});
|
|
@@ -18477,8 +18589,8 @@ const _withScopeId = (n) => (pushScopeId("data-v-0dacba34"), n = n(), popScopeId
|
|
|
18477
18589
|
const _hoisted_1$A = ["title"];
|
|
18478
18590
|
const _hoisted_2$x = ["for"];
|
|
18479
18591
|
const _hoisted_3$t = { class: "switch" };
|
|
18480
|
-
const _hoisted_4$
|
|
18481
|
-
const _hoisted_5$
|
|
18592
|
+
const _hoisted_4$f = ["id"];
|
|
18593
|
+
const _hoisted_5$b = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "slider round" }, null, -1));
|
|
18482
18594
|
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
18483
18595
|
__name: "CheckInput",
|
|
18484
18596
|
props: {
|
|
@@ -18519,10 +18631,10 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
18519
18631
|
type: "checkbox",
|
|
18520
18632
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputVal.value = $event),
|
|
18521
18633
|
class: normalizeClass({ "no-edit": !_ctx.editMode })
|
|
18522
|
-
}, null, 10, _hoisted_4$
|
|
18634
|
+
}, null, 10, _hoisted_4$f), [
|
|
18523
18635
|
[vModelCheckbox, inputVal.value]
|
|
18524
18636
|
]),
|
|
18525
|
-
_hoisted_5$
|
|
18637
|
+
_hoisted_5$b
|
|
18526
18638
|
])
|
|
18527
18639
|
], 10, _hoisted_1$A);
|
|
18528
18640
|
};
|
|
@@ -18532,8 +18644,8 @@ const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data
|
|
|
18532
18644
|
const _hoisted_1$z = ["title"];
|
|
18533
18645
|
const _hoisted_2$w = { key: 0 };
|
|
18534
18646
|
const _hoisted_3$s = { class: "flex gap-3" };
|
|
18535
|
-
const _hoisted_4$
|
|
18536
|
-
const _hoisted_5$
|
|
18647
|
+
const _hoisted_4$e = ["value", "placeholder"];
|
|
18648
|
+
const _hoisted_5$a = { class: "currency" };
|
|
18537
18649
|
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
18538
18650
|
__name: "CurrencyInput",
|
|
18539
18651
|
props: {
|
|
@@ -18643,8 +18755,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
18643
18755
|
onInput: handleInput,
|
|
18644
18756
|
placeholder: _ctx.placeholder,
|
|
18645
18757
|
class: normalizeClass({ "no-edit": !_ctx.editMode })
|
|
18646
|
-
}, null, 42, _hoisted_4$
|
|
18647
|
-
createElementVNode("p", _hoisted_5$
|
|
18758
|
+
}, null, 42, _hoisted_4$e),
|
|
18759
|
+
createElementVNode("p", _hoisted_5$a, toDisplayString(((_a2 = currencies.find((c2) => c2.symbol === _ctx.field.currency)) == null ? void 0 : _a2.character) || _ctx.field.currency), 1)
|
|
18648
18760
|
])
|
|
18649
18761
|
], 10, _hoisted_1$z);
|
|
18650
18762
|
};
|
|
@@ -18909,8 +19021,8 @@ const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-
|
|
|
18909
19021
|
const _hoisted_1$s = ["title"];
|
|
18910
19022
|
const _hoisted_2$p = { key: 0 };
|
|
18911
19023
|
const _hoisted_3$l = ["disabled"];
|
|
18912
|
-
const _hoisted_4$
|
|
18913
|
-
const _hoisted_5$
|
|
19024
|
+
const _hoisted_4$d = ["onClick"];
|
|
19025
|
+
const _hoisted_5$9 = {
|
|
18914
19026
|
key: 0,
|
|
18915
19027
|
class: "option-label"
|
|
18916
19028
|
};
|
|
@@ -19075,12 +19187,12 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
19075
19187
|
key: unref(formatString)(option2.value, "pascal"),
|
|
19076
19188
|
onClick: withModifiers(($event) => handleSelect(option2), ["stop"])
|
|
19077
19189
|
}, [
|
|
19078
|
-
option2.label ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
19190
|
+
option2.label ? (openBlock(), createElementBlock("div", _hoisted_5$9, [
|
|
19079
19191
|
createTextVNode(toDisplayString(option2.label), 1),
|
|
19080
19192
|
createElementVNode("span", null, "ID: " + toDisplayString(option2.value), 1)
|
|
19081
19193
|
])) : (openBlock(), createElementBlock("div", _hoisted_6$6, " ID: " + toDisplayString(option2.value), 1)),
|
|
19082
19194
|
createElementVNode("div", _hoisted_7$2, toDisplayString(option2.description), 1)
|
|
19083
|
-
], 8, _hoisted_4$
|
|
19195
|
+
], 8, _hoisted_4$d);
|
|
19084
19196
|
}), 128))
|
|
19085
19197
|
], 2)
|
|
19086
19198
|
]))
|
|
@@ -19093,7 +19205,7 @@ const LinkField = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-
|
|
|
19093
19205
|
const _hoisted_1$r = ["title"];
|
|
19094
19206
|
const _hoisted_2$o = { key: 0 };
|
|
19095
19207
|
const _hoisted_3$k = { class: "password-input-wrap" };
|
|
19096
|
-
const _hoisted_4$
|
|
19208
|
+
const _hoisted_4$c = ["value", "type", "placeholder"];
|
|
19097
19209
|
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
19098
19210
|
__name: "PasswordInput",
|
|
19099
19211
|
props: {
|
|
@@ -19138,7 +19250,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19138
19250
|
onInput: handleInput,
|
|
19139
19251
|
placeholder: _ctx.placeholder,
|
|
19140
19252
|
class: normalizeClass({ "no-edit": !_ctx.editMode })
|
|
19141
|
-
}, null, 42, _hoisted_4$
|
|
19253
|
+
}, null, 42, _hoisted_4$c),
|
|
19142
19254
|
createElementVNode("div", {
|
|
19143
19255
|
class: "icon-font password-icon",
|
|
19144
19256
|
onMousedown: toggleInputType
|
|
@@ -19196,7 +19308,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19196
19308
|
[vModelDynamic, inputVal.value]
|
|
19197
19309
|
])
|
|
19198
19310
|
], 8, _hoisted_2$n),
|
|
19199
|
-
createVNode(unref(_sfc_main$
|
|
19311
|
+
createVNode(unref(_sfc_main$X), {
|
|
19200
19312
|
onClick: showPassword,
|
|
19201
19313
|
icon: unref(seePassword) ? "visibility" : "visibility_off"
|
|
19202
19314
|
}, null, 8, ["icon"])
|
|
@@ -19345,7 +19457,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
19345
19457
|
for: "label",
|
|
19346
19458
|
class: normalizeClass({ active: showList.value })
|
|
19347
19459
|
}, [
|
|
19348
|
-
createVNode(unref(_sfc_main$
|
|
19460
|
+
createVNode(unref(_sfc_main$Z), { input: _ctx.label }, null, 8, ["input"])
|
|
19349
19461
|
], 2)) : createCommentVNode("", true),
|
|
19350
19462
|
createElementVNode("div", {
|
|
19351
19463
|
class: normalizeClass(["custom-select", { "open-select": showList.value && _ctx.editMode }]),
|
|
@@ -19357,7 +19469,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
19357
19469
|
class: normalizeClass(["input", { active: showList.value }]),
|
|
19358
19470
|
name: "select-input"
|
|
19359
19471
|
}, [
|
|
19360
|
-
createVNode(unref(_sfc_main$
|
|
19472
|
+
createVNode(unref(_sfc_main$Z), { input: displayValue.value }, null, 8, ["input"])
|
|
19361
19473
|
], 2),
|
|
19362
19474
|
(openBlock(), createBlock(Teleport, { to: "#app" }, [
|
|
19363
19475
|
createElementVNode("div", {
|
|
@@ -19370,7 +19482,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
19370
19482
|
key: option2.value,
|
|
19371
19483
|
onClick: ($event) => handleSelect(option2)
|
|
19372
19484
|
}, [
|
|
19373
|
-
createVNode(unref(_sfc_main$
|
|
19485
|
+
createVNode(unref(_sfc_main$Z), {
|
|
19374
19486
|
input: option2.label
|
|
19375
19487
|
}, null, 8, ["input"])
|
|
19376
19488
|
], 8, _hoisted_2$l);
|
|
@@ -21948,8 +22060,8 @@ const VueDraggableNext = defineComponent({
|
|
|
21948
22060
|
const _hoisted_1$m = ["title"];
|
|
21949
22061
|
const _hoisted_2$j = { class: "bagel-input" };
|
|
21950
22062
|
const _hoisted_3$h = { class: "table-side-scroll" };
|
|
21951
|
-
const _hoisted_4$
|
|
21952
|
-
const _hoisted_5$
|
|
22063
|
+
const _hoisted_4$b = { class: "table-header" };
|
|
22064
|
+
const _hoisted_5$8 = { class: "table-reorder" };
|
|
21953
22065
|
const _hoisted_6$5 = { class: "table-action" };
|
|
21954
22066
|
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
21955
22067
|
__name: "TableField",
|
|
@@ -22020,7 +22132,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
22020
22132
|
createElementVNode("label", null, toDisplayString((_a2 = unref(fieldMeta)) == null ? void 0 : _a2.label), 1)
|
|
22021
22133
|
]),
|
|
22022
22134
|
createElementVNode("div", _hoisted_3$h, [
|
|
22023
|
-
createElementVNode("div", _hoisted_4$
|
|
22135
|
+
createElementVNode("div", _hoisted_4$b, [
|
|
22024
22136
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList((_b = unref(entityMeta)) == null ? void 0 : _b.fields, (field) => {
|
|
22025
22137
|
return openBlock(), createElementBlock("div", {
|
|
22026
22138
|
class: normalizeClass(["header-col", unref(formatString)(field.fieldtype, "pascal")]),
|
|
@@ -22047,7 +22159,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
22047
22159
|
class: "flex table-row",
|
|
22048
22160
|
key: row.id
|
|
22049
22161
|
}, [
|
|
22050
|
-
createElementVNode("div", _hoisted_5$
|
|
22162
|
+
createElementVNode("div", _hoisted_5$8, [
|
|
22051
22163
|
createVNode(_sfc_main$t, { icon: "more_vert" })
|
|
22052
22164
|
]),
|
|
22053
22165
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList((_a3 = unref(entityMeta)) == null ? void 0 : _a3.fields, (field) => {
|
|
@@ -22144,7 +22256,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
22144
22256
|
const _hoisted_1$k = ["title"];
|
|
22145
22257
|
const _hoisted_2$h = ["for"];
|
|
22146
22258
|
const _hoisted_3$f = ["autocomplete", "id", "type", "placeholder", "disabled", "required", "pattern"];
|
|
22147
|
-
const _hoisted_4$
|
|
22259
|
+
const _hoisted_4$a = ["id", "type", "rows", "placeholder", "disabled", "required", "pattern"];
|
|
22148
22260
|
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
22149
22261
|
__name: "TextInput",
|
|
22150
22262
|
props: {
|
|
@@ -22251,16 +22363,16 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
22251
22363
|
disabled: !unref(editMode),
|
|
22252
22364
|
required: _ctx.required,
|
|
22253
22365
|
pattern: _ctx.pattern
|
|
22254
|
-
}, _ctx.nativeInputAttrs, { onDblclick: toggleEditAction }), null, 16, _hoisted_4$
|
|
22366
|
+
}, _ctx.nativeInputAttrs, { onDblclick: toggleEditAction }), null, 16, _hoisted_4$a)), [
|
|
22255
22367
|
[vModelText, unref(inputVal)]
|
|
22256
22368
|
])
|
|
22257
22369
|
], 8, _hoisted_2$h),
|
|
22258
|
-
_ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$
|
|
22370
|
+
_ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$X), {
|
|
22259
22371
|
key: 0,
|
|
22260
22372
|
class: "iconStart",
|
|
22261
22373
|
icon: _ctx.iconStart
|
|
22262
22374
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
22263
|
-
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
22375
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$X), {
|
|
22264
22376
|
key: 1,
|
|
22265
22377
|
icon: _ctx.icon
|
|
22266
22378
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
@@ -22283,7 +22395,7 @@ const _hoisted_3$e = {
|
|
|
22283
22395
|
key: 1,
|
|
22284
22396
|
class: "character-limit"
|
|
22285
22397
|
};
|
|
22286
|
-
const _hoisted_4$
|
|
22398
|
+
const _hoisted_4$9 = ["value"];
|
|
22287
22399
|
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
22288
22400
|
__name: "TextArea",
|
|
22289
22401
|
props: {
|
|
@@ -22310,14 +22422,14 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
22310
22422
|
title: _ctx.description
|
|
22311
22423
|
}, [
|
|
22312
22424
|
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$g, [
|
|
22313
|
-
createVNode(unref(_sfc_main$
|
|
22425
|
+
createVNode(unref(_sfc_main$Z), { input: _ctx.label }, null, 8, ["input"])
|
|
22314
22426
|
])) : createCommentVNode("", true),
|
|
22315
22427
|
_ctx.showCharacterLimit ? (openBlock(), createElementBlock("span", _hoisted_3$e, toDisplayString((_a2 = _ctx.modelValue) == null ? void 0 : _a2.length) + " " + toDisplayString(((_b = _ctx.nativeInputAttrs) == null ? void 0 : _b.maxlength) ? `/${_ctx.nativeInputAttrs.maxlength}` : ""), 1)) : createCommentVNode("", true),
|
|
22316
22428
|
createElementVNode("textarea", mergeProps({
|
|
22317
22429
|
value: _ctx.modelValue,
|
|
22318
22430
|
onInput: handleInput,
|
|
22319
22431
|
class: { "no-edit": !_ctx.editMode }
|
|
22320
|
-
}, _ctx.nativeInputAttrs), null, 16, _hoisted_4$
|
|
22432
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_4$9)
|
|
22321
22433
|
], 10, _hoisted_1$j);
|
|
22322
22434
|
};
|
|
22323
22435
|
}
|
|
@@ -22374,7 +22486,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
22374
22486
|
const _hoisted_1$h = { key: 0 };
|
|
22375
22487
|
const _hoisted_2$e = ["disabled"];
|
|
22376
22488
|
const _hoisted_3$c = { class: "custom-select-drop" };
|
|
22377
|
-
const _hoisted_4$
|
|
22489
|
+
const _hoisted_4$8 = ["onClick"];
|
|
22378
22490
|
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
22379
22491
|
__name: "DynamicLinkField",
|
|
22380
22492
|
props: {
|
|
@@ -22475,7 +22587,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
22475
22587
|
return openBlock(), createElementBlock("div", {
|
|
22476
22588
|
key: unref(formatString)(item2.value, "pascal"),
|
|
22477
22589
|
onClick: withModifiers(($event) => handleSelect(item2), ["stop"])
|
|
22478
|
-
}, toDisplayString(_ctx.useId || _ctx.entity === "Entity" ? item2.value : item2.label || item2.description || item2.value), 9, _hoisted_4$
|
|
22590
|
+
}, toDisplayString(_ctx.useId || _ctx.entity === "Entity" ? item2.value : item2.label || item2.description || item2.value), 9, _hoisted_4$8);
|
|
22479
22591
|
}), 128))
|
|
22480
22592
|
])
|
|
22481
22593
|
], 2)
|
|
@@ -31923,8 +32035,8 @@ const _hoisted_3$a = {
|
|
|
31923
32035
|
key: 0,
|
|
31924
32036
|
class: "time-wrap"
|
|
31925
32037
|
};
|
|
31926
|
-
const _hoisted_4$
|
|
31927
|
-
const _hoisted_5$
|
|
32038
|
+
const _hoisted_4$7 = ["id", "name", "value"];
|
|
32039
|
+
const _hoisted_5$7 = ["for"];
|
|
31928
32040
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
31929
32041
|
__name: "DatePicker",
|
|
31930
32042
|
props: {
|
|
@@ -31966,12 +32078,12 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
31966
32078
|
name: _ctx.name,
|
|
31967
32079
|
value: hr2,
|
|
31968
32080
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => selectedHour.value = $event)
|
|
31969
|
-
}, null, 8, _hoisted_4$
|
|
32081
|
+
}, null, 8, _hoisted_4$7), [
|
|
31970
32082
|
[vModelRadio, selectedHour.value]
|
|
31971
32083
|
]),
|
|
31972
32084
|
createElementVNode("label", {
|
|
31973
32085
|
for: `${hr2}_${_ctx.name}`
|
|
31974
|
-
}, toDisplayString(hr2), 9, _hoisted_5$
|
|
32086
|
+
}, toDisplayString(hr2), 9, _hoisted_5$7)
|
|
31975
32087
|
], 64);
|
|
31976
32088
|
}), 128))
|
|
31977
32089
|
])) : createCommentVNode("", true)
|
|
@@ -31979,23 +32091,26 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
31979
32091
|
};
|
|
31980
32092
|
}
|
|
31981
32093
|
});
|
|
31982
|
-
const _hoisted_1$e = { class: "
|
|
31983
|
-
const _hoisted_2$b =
|
|
31984
|
-
const _hoisted_3$9 =
|
|
32094
|
+
const _hoisted_1$e = { class: "bagel-input" };
|
|
32095
|
+
const _hoisted_2$b = { class: "pb-025" };
|
|
32096
|
+
const _hoisted_3$9 = { class: "flex gap-2 flex-wrap" };
|
|
32097
|
+
const _hoisted_4$6 = ["id", "name", "value", "checked"];
|
|
32098
|
+
const _hoisted_5$6 = ["for"];
|
|
31985
32099
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
31986
32100
|
__name: "RadioPillsInput",
|
|
31987
32101
|
props: {
|
|
31988
32102
|
options: {},
|
|
31989
32103
|
stringOptions: {},
|
|
31990
32104
|
modelValue: {},
|
|
31991
|
-
|
|
32105
|
+
id: {},
|
|
32106
|
+
label: {}
|
|
31992
32107
|
},
|
|
31993
32108
|
emits: ["update:modelValue"],
|
|
31994
32109
|
setup(__props, { emit: __emit }) {
|
|
31995
32110
|
const emits = __emit;
|
|
31996
32111
|
const props2 = __props;
|
|
31997
32112
|
const cumputedOptions = computed(() => props2.options || props2.stringOptions.map((v) => ({
|
|
31998
|
-
|
|
32113
|
+
optioId: v,
|
|
31999
32114
|
label: v,
|
|
32000
32115
|
value: v
|
|
32001
32116
|
})));
|
|
@@ -32021,27 +32136,30 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
32021
32136
|
});
|
|
32022
32137
|
return (_ctx, _cache) => {
|
|
32023
32138
|
return openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
32024
|
-
(
|
|
32025
|
-
|
|
32026
|
-
|
|
32027
|
-
|
|
32028
|
-
|
|
32029
|
-
|
|
32030
|
-
|
|
32031
|
-
|
|
32032
|
-
|
|
32033
|
-
|
|
32034
|
-
|
|
32035
|
-
|
|
32036
|
-
|
|
32037
|
-
|
|
32038
|
-
|
|
32039
|
-
|
|
32139
|
+
createElementVNode("label", _hoisted_2$b, toDisplayString(_ctx.label), 1),
|
|
32140
|
+
createElementVNode("div", _hoisted_3$9, [
|
|
32141
|
+
(openBlock(true), createElementBlock(Fragment$1, null, renderList(cumputedOptions.value, ({ optioId, label: label2, value }, index2) => {
|
|
32142
|
+
return openBlock(), createElementBlock("div", {
|
|
32143
|
+
class: "radio-pill",
|
|
32144
|
+
key: index2
|
|
32145
|
+
}, [
|
|
32146
|
+
createElementVNode("input", {
|
|
32147
|
+
type: "radio",
|
|
32148
|
+
id: optioId,
|
|
32149
|
+
name: _ctx.id,
|
|
32150
|
+
value,
|
|
32151
|
+
checked: unref(selectedValue) === value,
|
|
32152
|
+
onChange: handleSelect
|
|
32153
|
+
}, null, 40, _hoisted_4$6),
|
|
32154
|
+
createElementVNode("label", { for: optioId }, toDisplayString(label2), 9, _hoisted_5$6)
|
|
32155
|
+
]);
|
|
32156
|
+
}), 128))
|
|
32157
|
+
])
|
|
32040
32158
|
]);
|
|
32041
32159
|
};
|
|
32042
32160
|
}
|
|
32043
32161
|
});
|
|
32044
|
-
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
32162
|
+
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-15351d79"]]);
|
|
32045
32163
|
const _hoisted_1$d = { class: "bagel-input" };
|
|
32046
32164
|
const _hoisted_2$a = { key: 0 };
|
|
32047
32165
|
const _hoisted_3$8 = { class: "imagePreviewWrap" };
|
|
@@ -38639,6 +38757,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38639
38757
|
const MsgTemplate = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7031e613"]]);
|
|
38640
38758
|
export {
|
|
38641
38759
|
AddressInput,
|
|
38760
|
+
_sfc_main$r as BagelForm,
|
|
38642
38761
|
BagelVue,
|
|
38643
38762
|
BankDetailsInput,
|
|
38644
38763
|
BarChart,
|
|
@@ -38668,18 +38787,19 @@ export {
|
|
|
38668
38787
|
_sfc_main$j as IntInput,
|
|
38669
38788
|
_sfc_main$u as ItemRef,
|
|
38670
38789
|
JSONInput,
|
|
38671
|
-
_sfc_main$
|
|
38790
|
+
_sfc_main$Z as LangText,
|
|
38672
38791
|
_sfc_main$1 as Lineart,
|
|
38673
38792
|
LinkField,
|
|
38674
38793
|
_sfc_main$Q as ListItem,
|
|
38675
38794
|
_sfc_main$R as ListView,
|
|
38676
|
-
_sfc_main$
|
|
38795
|
+
_sfc_main$X as MaterialIcon,
|
|
38677
38796
|
MiscFieldsInput,
|
|
38678
|
-
_sfc_main$
|
|
38797
|
+
_sfc_main$U as Modal,
|
|
38798
|
+
ModalBglForm,
|
|
38679
38799
|
ModalForm,
|
|
38680
38800
|
ModalPlugin,
|
|
38681
38801
|
MsgTemplate,
|
|
38682
|
-
_sfc_main$
|
|
38802
|
+
_sfc_main$W as NavBar,
|
|
38683
38803
|
_sfc_main$N as PageTitle,
|
|
38684
38804
|
Password,
|
|
38685
38805
|
PasswordInput,
|
|
@@ -38687,7 +38807,7 @@ export {
|
|
|
38687
38807
|
PersonPreviewInput,
|
|
38688
38808
|
_sfc_main$s as PlainInputField,
|
|
38689
38809
|
PlainText,
|
|
38690
|
-
_sfc_main$
|
|
38810
|
+
_sfc_main$Y as RTXEditor,
|
|
38691
38811
|
RadioPillsInput,
|
|
38692
38812
|
ReadOnlyInput,
|
|
38693
38813
|
RichTextEditor,
|