@bagelink/vue 0.0.206 → 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/ModalBglForm.vue.d.ts +45 -0
- package/dist/components/ModalBglForm.vue.d.ts.map +1 -0
- package/dist/components/form/index.d.ts +1 -0
- package/dist/components/form/index.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 +167 -60
- package/dist/index.mjs +167 -60
- package/dist/plugins/modal.d.ts +3 -1
- package/dist/plugins/modal.d.ts.map +1 -1
- package/dist/style.css +9 -0
- 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/package.json +1 -1
- package/src/components/ModalBglForm.vue +121 -0
- package/src/components/form/index.ts +1 -0
- 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
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { BtnOptions } from '..';
|
|
2
|
+
import { BglFormSchemaT } from 'dist';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
side?: boolean | undefined;
|
|
5
|
+
title?: string | undefined;
|
|
6
|
+
dismissable?: boolean | undefined;
|
|
7
|
+
actions?: BtnOptions[] | undefined;
|
|
8
|
+
schema: BglFormSchemaT | (() => BglFormSchemaT);
|
|
9
|
+
modelValue?: Record<string, any> | undefined;
|
|
10
|
+
onSubmit?: ((formData: any) => Promise<void>) | undefined;
|
|
11
|
+
onDelete?: ((id: string) => void) | undefined;
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:isModalVisible": (...args: any[]) => void;
|
|
14
|
+
"update:modelValue": (...args: any[]) => void;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
16
|
+
side?: boolean | undefined;
|
|
17
|
+
title?: string | undefined;
|
|
18
|
+
dismissable?: boolean | undefined;
|
|
19
|
+
actions?: BtnOptions[] | undefined;
|
|
20
|
+
schema: BglFormSchemaT | (() => BglFormSchemaT);
|
|
21
|
+
modelValue?: Record<string, any> | undefined;
|
|
22
|
+
onSubmit?: ((formData: any) => Promise<void>) | undefined;
|
|
23
|
+
onDelete?: ((id: string) => void) | undefined;
|
|
24
|
+
}>>> & {
|
|
25
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
"onUpdate:isModalVisible"?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
}, {}, {}>, {
|
|
28
|
+
toolbar?(_: {}): any;
|
|
29
|
+
}>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
33
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
|
+
} : {
|
|
36
|
+
type: import('vue').PropType<T[K]>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=ModalBglForm.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModalBglForm.vue.d.ts","sourceRoot":"","sources":["../../src/components/ModalBglForm.vue"],"names":[],"mappings":"AAiCA;AAGA,OAAO,EACD,UAAU,EACf,MAAM,eAAe,CAAC;AACvB,OAAO,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+OtC,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -2,6 +2,7 @@ export { default as ItemRef } from './ItemRef.vue';
|
|
|
2
2
|
export { default as MaterialIcon } from './MaterialIcon.vue';
|
|
3
3
|
export { default as PlainInputField } from './PlainInputField.vue';
|
|
4
4
|
export { default as BglForm } from './BglForm.vue';
|
|
5
|
+
export { default as BagelForm } from './BglForm.vue';
|
|
5
6
|
export { default as BglField } from './BglField.vue';
|
|
6
7
|
export * from './inputs';
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,cAAc,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,cAAc,UAAU,CAAC"}
|
|
@@ -4,6 +4,7 @@ export { default as MaterialIcon } from './MaterialIcon.vue';
|
|
|
4
4
|
export { default as NavBar } from './NavBar.vue';
|
|
5
5
|
export { default as Btn } from './Btn.vue';
|
|
6
6
|
export { default as Modal } from './Modal.vue';
|
|
7
|
+
export { default as ModalBglForm } from './ModalBglForm.vue';
|
|
7
8
|
export { default as DropDown } from './DropDown.vue';
|
|
8
9
|
export { default as ListView } from './ListView.vue';
|
|
9
10
|
export { default as ListItem } from './ListItem.vue';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAE3D,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAE3D,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -2279,16 +2279,17 @@ const ModalPlugin = {
|
|
|
2279
2279
|
const hideModal = (index2) => {
|
|
2280
2280
|
modalStack.value.splice(index2, 1);
|
|
2281
2281
|
};
|
|
2282
|
-
const showModal = (
|
|
2282
|
+
const showModal = (modalType, options, slots = {}) => {
|
|
2283
2283
|
modalStack.value.push({
|
|
2284
2284
|
modalOptions: options,
|
|
2285
|
-
|
|
2285
|
+
modalType,
|
|
2286
2286
|
componentSlots: slots
|
|
2287
2287
|
});
|
|
2288
2288
|
};
|
|
2289
2289
|
app.provide(ModalSymbol, {
|
|
2290
|
-
modalForm: (options, slots) => showModal(
|
|
2291
|
-
showModal: (options, slots) => showModal(
|
|
2290
|
+
modalForm: (options, slots) => showModal(1, options, slots),
|
|
2291
|
+
showModal: (options, slots) => showModal(0, options, slots),
|
|
2292
|
+
showModalForm: (options, slots) => showModal(2, options, slots),
|
|
2292
2293
|
hideModal: (index2 = modalStack.value.length - 1) => hideModal(index2)
|
|
2293
2294
|
// modalOptions,
|
|
2294
2295
|
});
|
|
@@ -2300,7 +2301,13 @@ const ModalPlugin = {
|
|
|
2300
2301
|
},
|
|
2301
2302
|
render() {
|
|
2302
2303
|
return modalStack.value.map((modal, index2) => {
|
|
2303
|
-
|
|
2304
|
+
let renderComponent;
|
|
2305
|
+
if (modal.modalType === 1)
|
|
2306
|
+
renderComponent = ModalForm;
|
|
2307
|
+
else if (modal.modalType === 2)
|
|
2308
|
+
renderComponent = ModalBglForm;
|
|
2309
|
+
else
|
|
2310
|
+
renderComponent = _sfc_main$U;
|
|
2304
2311
|
return vue.h(
|
|
2305
2312
|
renderComponent,
|
|
2306
2313
|
{
|
|
@@ -2364,8 +2371,8 @@ function bindAttrs(attrs, fieldVal, row) {
|
|
|
2364
2371
|
const resolvedAttrs = Object.fromEntries(arr);
|
|
2365
2372
|
return resolvedAttrs;
|
|
2366
2373
|
}
|
|
2367
|
-
const _hoisted_1$
|
|
2368
|
-
const _sfc_main$
|
|
2374
|
+
const _hoisted_1$12 = { ref: "el" };
|
|
2375
|
+
const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
2369
2376
|
__name: "LangText",
|
|
2370
2377
|
props: {
|
|
2371
2378
|
input: {}
|
|
@@ -2373,7 +2380,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
|
2373
2380
|
setup(__props) {
|
|
2374
2381
|
return (_ctx, _cache) => {
|
|
2375
2382
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
2376
|
-
vue.createElementVNode("span", _hoisted_1$
|
|
2383
|
+
vue.createElementVNode("span", _hoisted_1$12, null, 512),
|
|
2377
2384
|
vue.createTextVNode(" " + vue.toDisplayString(_ctx.input), 1)
|
|
2378
2385
|
], 64);
|
|
2379
2386
|
};
|
|
@@ -14486,8 +14493,8 @@ const marks = {
|
|
|
14486
14493
|
}
|
|
14487
14494
|
};
|
|
14488
14495
|
const schema = new Schema({ nodes, marks });
|
|
14489
|
-
const _hoisted_1$
|
|
14490
|
-
const _sfc_main$
|
|
14496
|
+
const _hoisted_1$11 = ["id"];
|
|
14497
|
+
const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
14491
14498
|
__name: "RTXEditor",
|
|
14492
14499
|
props: {
|
|
14493
14500
|
elementId: { default: Math.random().toString(36).substr(2, 9) },
|
|
@@ -14564,11 +14571,11 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
|
14564
14571
|
onClick: focusEditor,
|
|
14565
14572
|
id: `canvas-${_ctx.elementId}`,
|
|
14566
14573
|
onKeydown: _cache[0] || (_cache[0] = vue.withKeys(vue.withModifiers(($event) => _ctx.$emit("keydown.meta.enter"), ["meta"]), ["enter"]))
|
|
14567
|
-
}, null, 40, _hoisted_1$
|
|
14574
|
+
}, null, 40, _hoisted_1$11);
|
|
14568
14575
|
};
|
|
14569
14576
|
}
|
|
14570
14577
|
});
|
|
14571
|
-
const _sfc_main$
|
|
14578
|
+
const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
14572
14579
|
__name: "MaterialIcon",
|
|
14573
14580
|
props: {
|
|
14574
14581
|
icon: {},
|
|
@@ -14583,9 +14590,9 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
|
|
|
14583
14590
|
};
|
|
14584
14591
|
}
|
|
14585
14592
|
});
|
|
14586
|
-
const _hoisted_1
|
|
14587
|
-
const _hoisted_2$
|
|
14588
|
-
_hoisted_1
|
|
14593
|
+
const _hoisted_1$10 = /* @__PURE__ */ vue.createElementVNode("div", { class: "icon-font top-arrow" }, "chevron_right", -1);
|
|
14594
|
+
const _hoisted_2$T = [
|
|
14595
|
+
_hoisted_1$10
|
|
14589
14596
|
];
|
|
14590
14597
|
const _hoisted_3$K = { class: "full-nav" };
|
|
14591
14598
|
const _hoisted_4$t = { class: "nav-scroll" };
|
|
@@ -14593,7 +14600,7 @@ const _hoisted_5$o = { class: "nav-links-wrapper" };
|
|
|
14593
14600
|
const _hoisted_6$i = { class: "icon-font" };
|
|
14594
14601
|
const _hoisted_7$d = { class: "tooltip" };
|
|
14595
14602
|
const _hoisted_8$7 = { class: "bot-buttons-wrapper" };
|
|
14596
|
-
const _sfc_main$
|
|
14603
|
+
const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
|
|
14597
14604
|
__name: "NavBar",
|
|
14598
14605
|
props: {
|
|
14599
14606
|
links: {},
|
|
@@ -14617,7 +14624,7 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
|
14617
14624
|
role: "button",
|
|
14618
14625
|
"aria-label": "Toggle Navigation",
|
|
14619
14626
|
tabindex: "0"
|
|
14620
|
-
}, _hoisted_2$
|
|
14627
|
+
}, _hoisted_2$T, 32),
|
|
14621
14628
|
vue.createElementVNode("div", _hoisted_3$K, [
|
|
14622
14629
|
vue.createElementVNode("div", _hoisted_4$t, [
|
|
14623
14630
|
vue.createElementVNode("div", _hoisted_5$o, [
|
|
@@ -14644,15 +14651,15 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
|
14644
14651
|
};
|
|
14645
14652
|
}
|
|
14646
14653
|
});
|
|
14647
|
-
const _hoisted_1
|
|
14654
|
+
const _hoisted_1$$ = {
|
|
14648
14655
|
key: 0,
|
|
14649
14656
|
class: "loading"
|
|
14650
14657
|
};
|
|
14651
|
-
const _hoisted_2$
|
|
14658
|
+
const _hoisted_2$S = {
|
|
14652
14659
|
key: 1,
|
|
14653
14660
|
class: "btn-flex"
|
|
14654
14661
|
};
|
|
14655
|
-
const _sfc_main$
|
|
14662
|
+
const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
14656
14663
|
__name: "Btn",
|
|
14657
14664
|
props: {
|
|
14658
14665
|
disabled: { type: Boolean, default: false },
|
|
@@ -14732,8 +14739,8 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
|
14732
14739
|
})
|
|
14733
14740
|
}, {
|
|
14734
14741
|
default: vue.withCtx(() => [
|
|
14735
|
-
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1
|
|
14736
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
14742
|
+
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$$)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$S, [
|
|
14743
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$X), {
|
|
14737
14744
|
key: 0,
|
|
14738
14745
|
icon: _ctx.icon
|
|
14739
14746
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -14741,7 +14748,7 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
|
14741
14748
|
!vue.unref(slots)["default"] && _ctx.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
14742
14749
|
vue.createTextVNode(vue.toDisplayString(_ctx.value), 1)
|
|
14743
14750
|
], 64)) : vue.createCommentVNode("", true),
|
|
14744
|
-
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
14751
|
+
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$X), {
|
|
14745
14752
|
key: 2,
|
|
14746
14753
|
icon: props2["icon.end"]
|
|
14747
14754
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true)
|
|
@@ -14759,11 +14766,11 @@ const _export_sfc = (sfc, props2) => {
|
|
|
14759
14766
|
}
|
|
14760
14767
|
return target;
|
|
14761
14768
|
};
|
|
14762
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14763
|
-
const _hoisted_1$
|
|
14764
|
-
const _hoisted_2$
|
|
14769
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-0ca0d3de"]]);
|
|
14770
|
+
const _hoisted_1$_ = { class: "tool-bar" };
|
|
14771
|
+
const _hoisted_2$R = { class: "modal-title" };
|
|
14765
14772
|
const _hoisted_3$J = { class: "modal-footer mt-3" };
|
|
14766
|
-
const _sfc_main$
|
|
14773
|
+
const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
14767
14774
|
__name: "Modal",
|
|
14768
14775
|
props: {
|
|
14769
14776
|
side: { type: Boolean },
|
|
@@ -14809,7 +14816,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
14809
14816
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
14810
14817
|
}, ["stop"]))
|
|
14811
14818
|
}, [
|
|
14812
|
-
vue.createElementVNode("header", _hoisted_1$
|
|
14819
|
+
vue.createElementVNode("header", _hoisted_1$_, [
|
|
14813
14820
|
vue.renderSlot(_ctx.$slots, "toolbar"),
|
|
14814
14821
|
vue.createVNode(vue.unref(Btn), {
|
|
14815
14822
|
style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -14817,7 +14824,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
14817
14824
|
icon: "close",
|
|
14818
14825
|
onClick: closeModal
|
|
14819
14826
|
}, null, 8, ["style"]),
|
|
14820
|
-
vue.createElementVNode("h3", _hoisted_2$
|
|
14827
|
+
vue.createElementVNode("h3", _hoisted_2$R, vue.toDisplayString(_ctx.title), 1)
|
|
14821
14828
|
]),
|
|
14822
14829
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
14823
14830
|
vue.createElementVNode("footer", _hoisted_3$J, [
|
|
@@ -14835,6 +14842,104 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
14835
14842
|
};
|
|
14836
14843
|
}
|
|
14837
14844
|
});
|
|
14845
|
+
const _hoisted_1$Z = { class: "tool-bar" };
|
|
14846
|
+
const _hoisted_2$Q = { class: "modal-title" };
|
|
14847
|
+
const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
14848
|
+
__name: "ModalBglForm",
|
|
14849
|
+
props: {
|
|
14850
|
+
side: { type: Boolean },
|
|
14851
|
+
title: {},
|
|
14852
|
+
dismissable: { type: Boolean },
|
|
14853
|
+
actions: {},
|
|
14854
|
+
schema: { type: Function },
|
|
14855
|
+
modelValue: {},
|
|
14856
|
+
onSubmit: { type: Function },
|
|
14857
|
+
onDelete: { type: Function }
|
|
14858
|
+
},
|
|
14859
|
+
emits: ["update:isModalVisible", "update:modelValue"],
|
|
14860
|
+
setup(__props, { emit: __emit }) {
|
|
14861
|
+
const props2 = __props;
|
|
14862
|
+
const computedFormSchema = vue.computed(() => {
|
|
14863
|
+
if (typeof props2.schema === "function") {
|
|
14864
|
+
return props2.schema();
|
|
14865
|
+
}
|
|
14866
|
+
return props2.schema;
|
|
14867
|
+
});
|
|
14868
|
+
let isActive = vue.ref(false);
|
|
14869
|
+
const emit2 = __emit;
|
|
14870
|
+
const handleEmit = (value) => {
|
|
14871
|
+
emit2("update:modelValue", value);
|
|
14872
|
+
};
|
|
14873
|
+
const closeModal = () => {
|
|
14874
|
+
isActive.value = false;
|
|
14875
|
+
setTimeout(() => {
|
|
14876
|
+
emit2("update:isModalVisible", false);
|
|
14877
|
+
}, 200);
|
|
14878
|
+
};
|
|
14879
|
+
const runSubmit = async (formData) => {
|
|
14880
|
+
var _a2;
|
|
14881
|
+
try {
|
|
14882
|
+
await ((_a2 = props2.onSubmit) == null ? void 0 : _a2.call(props2, formData));
|
|
14883
|
+
closeModal();
|
|
14884
|
+
} catch (err) {
|
|
14885
|
+
console.error(err);
|
|
14886
|
+
}
|
|
14887
|
+
};
|
|
14888
|
+
const runDelete = () => {
|
|
14889
|
+
var _a2, _b;
|
|
14890
|
+
(_b = props2.onDelete) == null ? void 0 : _b.call(props2, (_a2 = props2.modelValue) == null ? void 0 : _a2.id);
|
|
14891
|
+
closeModal();
|
|
14892
|
+
};
|
|
14893
|
+
const escapeKeyClose = (e3) => (props2 == null ? void 0 : props2.dismissable) && useEscape(e3, () => closeModal());
|
|
14894
|
+
vue.onMounted(() => {
|
|
14895
|
+
setTimeout(() => {
|
|
14896
|
+
isActive.value = true;
|
|
14897
|
+
}, 1);
|
|
14898
|
+
document.addEventListener(
|
|
14899
|
+
"keydown",
|
|
14900
|
+
escapeKeyClose
|
|
14901
|
+
);
|
|
14902
|
+
});
|
|
14903
|
+
vue.onUnmounted(() => {
|
|
14904
|
+
document.removeEventListener(
|
|
14905
|
+
"keydown",
|
|
14906
|
+
escapeKeyClose
|
|
14907
|
+
);
|
|
14908
|
+
});
|
|
14909
|
+
return (_ctx, _cache) => {
|
|
14910
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
14911
|
+
class: vue.normalizeClass(["bg-dark", { "is-side": _ctx.side, "is-active": vue.unref(isActive) }]),
|
|
14912
|
+
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
14913
|
+
onKeydown: vue.withKeys(closeModal, ["esc"])
|
|
14914
|
+
}, [
|
|
14915
|
+
vue.createElementVNode("div", {
|
|
14916
|
+
class: "card modal",
|
|
14917
|
+
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
14918
|
+
}, ["stop"]))
|
|
14919
|
+
}, [
|
|
14920
|
+
vue.createElementVNode("header", _hoisted_1$Z, [
|
|
14921
|
+
vue.renderSlot(_ctx.$slots, "toolbar", {}, void 0, true),
|
|
14922
|
+
vue.createVNode(vue.unref(Btn), {
|
|
14923
|
+
style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
14924
|
+
flat: "",
|
|
14925
|
+
icon: "close",
|
|
14926
|
+
onClick: closeModal
|
|
14927
|
+
}, null, 8, ["style"]),
|
|
14928
|
+
vue.createElementVNode("h3", _hoisted_2$Q, vue.toDisplayString(_ctx.title), 1)
|
|
14929
|
+
]),
|
|
14930
|
+
vue.createVNode(vue.unref(_sfc_main$r), {
|
|
14931
|
+
onDelete: _ctx.onDelete ? runDelete : void 0,
|
|
14932
|
+
modelValue: _ctx.modelValue,
|
|
14933
|
+
"onUpdate:modelValue": handleEmit,
|
|
14934
|
+
onSubmit: runSubmit,
|
|
14935
|
+
schema: computedFormSchema.value
|
|
14936
|
+
}, null, 8, ["onDelete", "modelValue", "schema"])
|
|
14937
|
+
])
|
|
14938
|
+
], 34);
|
|
14939
|
+
};
|
|
14940
|
+
}
|
|
14941
|
+
});
|
|
14942
|
+
const ModalBglForm = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-93c9eab1"]]);
|
|
14838
14943
|
const _hoisted_1$Y = { class: "dropdown-title" };
|
|
14839
14944
|
const _hoisted_2$P = { class: "dropdown-body" };
|
|
14840
14945
|
const _hoisted_3$I = ["onClick"];
|
|
@@ -14866,7 +14971,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
|
14866
14971
|
}, [
|
|
14867
14972
|
vue.createElementVNode("div", _hoisted_1$Y, [
|
|
14868
14973
|
vue.createTextVNode(vue.toDisplayString(vue.unref(selectedOption) || __props.placeholder) + " ", 1),
|
|
14869
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
14974
|
+
vue.createVNode(vue.unref(_sfc_main$X), { icon: "keyboard_arrow_down" })
|
|
14870
14975
|
]),
|
|
14871
14976
|
vue.createElementVNode("div", _hoisted_2$P, [
|
|
14872
14977
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.options, (option2, index2) => {
|
|
@@ -14914,7 +15019,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
14914
15019
|
}, null, 40, _hoisted_4$s), [
|
|
14915
15020
|
[vue.vModelText, searchTerm.value]
|
|
14916
15021
|
]),
|
|
14917
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15022
|
+
vue.createVNode(vue.unref(_sfc_main$X), {
|
|
14918
15023
|
class: "txtgray",
|
|
14919
15024
|
icon: "search"
|
|
14920
15025
|
})
|
|
@@ -15090,19 +15195,19 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
15090
15195
|
vue.createElementVNode("div", _hoisted_4$r, vue.toDisplayString(comment.sender.first_name) + " " + vue.toDisplayString(comment.sender.last_name), 1),
|
|
15091
15196
|
vue.createElementVNode("div", _hoisted_5$m, vue.toDisplayString(comment.updated_at.split("T")[0]), 1),
|
|
15092
15197
|
vue.createElementVNode("div", _hoisted_6$h, [
|
|
15093
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15198
|
+
vue.createVNode(vue.unref(_sfc_main$X), {
|
|
15094
15199
|
size: 1,
|
|
15095
15200
|
class: "edit",
|
|
15096
15201
|
icon: "edit",
|
|
15097
15202
|
onClick: ($event) => vue.isRef(editComment) ? editComment.value = comment : editComment = comment
|
|
15098
15203
|
}, null, 8, ["onClick"]),
|
|
15099
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15204
|
+
vue.createVNode(vue.unref(_sfc_main$X), {
|
|
15100
15205
|
size: 1.2,
|
|
15101
15206
|
class: "delete",
|
|
15102
15207
|
icon: "delete",
|
|
15103
15208
|
onClick: ($event) => deleteComment(comment.id)
|
|
15104
15209
|
}, null, 8, ["onClick"]),
|
|
15105
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15210
|
+
vue.createVNode(vue.unref(_sfc_main$X), {
|
|
15106
15211
|
size: 1.2,
|
|
15107
15212
|
class: "save",
|
|
15108
15213
|
icon: "save",
|
|
@@ -15110,7 +15215,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
15110
15215
|
})
|
|
15111
15216
|
])
|
|
15112
15217
|
]),
|
|
15113
|
-
vue.unref(editComment) !== null && ((_c = vue.unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
15218
|
+
vue.unref(editComment) !== null && ((_c = vue.unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$Y), {
|
|
15114
15219
|
key: 0,
|
|
15115
15220
|
modelValue: vue.unref(editComment).body_html,
|
|
15116
15221
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(editComment).body_html = $event),
|
|
@@ -15124,7 +15229,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
15124
15229
|
}), 128))
|
|
15125
15230
|
]),
|
|
15126
15231
|
vue.createElementVNode("div", _hoisted_8$6, [
|
|
15127
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15232
|
+
vue.createVNode(vue.unref(_sfc_main$Y), {
|
|
15128
15233
|
class: "comment-input",
|
|
15129
15234
|
modelValue: vue.unref(bodyHtml),
|
|
15130
15235
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(bodyHtml) ? bodyHtml.value = $event : bodyHtml = $event),
|
|
@@ -15404,7 +15509,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
15404
15509
|
vue.createElementVNode("div", {
|
|
15405
15510
|
class: vue.normalizeClass(["list-arrows", { sorted: vue.unref(sortField) === field.id }])
|
|
15406
15511
|
}, [
|
|
15407
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15512
|
+
vue.createVNode(vue.unref(_sfc_main$X), {
|
|
15408
15513
|
class: vue.normalizeClass({ desc: vue.unref(sortDirection) === "DESC" }),
|
|
15409
15514
|
icon: "keyboard_arrow_up"
|
|
15410
15515
|
}, null, 8, ["class"])
|
|
@@ -15608,7 +15713,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
15608
15713
|
]),
|
|
15609
15714
|
vue.createElementVNode("div", _hoisted_5$k, [
|
|
15610
15715
|
((_a2 = _ctx.person.phone) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$f, [
|
|
15611
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15716
|
+
vue.createVNode(vue.unref(_sfc_main$X), { icon: "phone" }),
|
|
15612
15717
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.person.phone, (phone) => {
|
|
15613
15718
|
return vue.openBlock(), vue.createElementBlock("p", {
|
|
15614
15719
|
key: phone.id
|
|
@@ -15616,7 +15721,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
15616
15721
|
}), 128))
|
|
15617
15722
|
])) : vue.createCommentVNode("", true),
|
|
15618
15723
|
((_b = _ctx.person.email) == null ? void 0 : _b.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$a, [
|
|
15619
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15724
|
+
vue.createVNode(vue.unref(_sfc_main$X), { icon: "email" }),
|
|
15620
15725
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.person.email, (email) => {
|
|
15621
15726
|
return vue.openBlock(), vue.createElementBlock("p", {
|
|
15622
15727
|
key: email.id
|
|
@@ -15624,7 +15729,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
15624
15729
|
}), 128))
|
|
15625
15730
|
])) : vue.createCommentVNode("", true),
|
|
15626
15731
|
_ctx.person.date_of_birth || _ctx.person.gender ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$5, [
|
|
15627
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15732
|
+
vue.createVNode(vue.unref(_sfc_main$X), { icon: "badge" }),
|
|
15628
15733
|
_ctx.person.date_of_birth ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_9$3, vue.toDisplayString(_ctx.person.date_of_birth), 1)) : vue.createCommentVNode("", true),
|
|
15629
15734
|
_ctx.person.gender ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_10$3, vue.toDisplayString(_ctx.person.gender), 1)) : vue.createCommentVNode("", true)
|
|
15630
15735
|
])) : vue.createCommentVNode("", true)
|
|
@@ -17128,7 +17233,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
17128
17233
|
[vue.vModelCheckbox, vue.unref(val)]
|
|
17129
17234
|
]),
|
|
17130
17235
|
vue.createElementVNode("span", null, [
|
|
17131
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17236
|
+
vue.createVNode(vue.unref(_sfc_main$X), { icon: "check" })
|
|
17132
17237
|
])
|
|
17133
17238
|
]);
|
|
17134
17239
|
};
|
|
@@ -17986,7 +18091,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
17986
18091
|
style: vue.normalizeStyle([`--p:${item.progress}`, { "--b": "2px" }])
|
|
17987
18092
|
}, [
|
|
17988
18093
|
item.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$4, vue.toDisplayString(`${item.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
|
|
17989
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18094
|
+
vue.createVNode(vue.unref(_sfc_main$X), {
|
|
17990
18095
|
class: "success",
|
|
17991
18096
|
icon: "check"
|
|
17992
18097
|
})
|
|
@@ -18093,7 +18198,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
18093
18198
|
]),
|
|
18094
18199
|
vue.createElementVNode("div", _hoisted_5$d, [
|
|
18095
18200
|
((_a2 = person.value.phone) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$8, [
|
|
18096
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18201
|
+
vue.createVNode(vue.unref(_sfc_main$X), { icon: "phone" }),
|
|
18097
18202
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(person.value.phone, (phone) => {
|
|
18098
18203
|
return vue.openBlock(), vue.createElementBlock("p", {
|
|
18099
18204
|
key: phone.id
|
|
@@ -18101,7 +18206,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
18101
18206
|
}), 128))
|
|
18102
18207
|
])) : vue.createCommentVNode("", true),
|
|
18103
18208
|
((_b = person.value.email) == null ? void 0 : _b.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$3, [
|
|
18104
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18209
|
+
vue.createVNode(vue.unref(_sfc_main$X), { icon: "email" }),
|
|
18105
18210
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(person.value.email, (email) => {
|
|
18106
18211
|
return vue.openBlock(), vue.createElementBlock("p", {
|
|
18107
18212
|
key: email.id
|
|
@@ -18109,7 +18214,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
18109
18214
|
}), 128))
|
|
18110
18215
|
])) : vue.createCommentVNode("", true),
|
|
18111
18216
|
person.value.date_of_birth || person.value.gender ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
|
|
18112
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18217
|
+
vue.createVNode(vue.unref(_sfc_main$X), { icon: "badge" }),
|
|
18113
18218
|
person.value.date_of_birth ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_9, vue.toDisplayString(person.value.date_of_birth), 1)) : vue.createCommentVNode("", true),
|
|
18114
18219
|
person.value.gender ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_10, vue.toDisplayString(person.value.gender), 1)) : vue.createCommentVNode("", true)
|
|
18115
18220
|
])) : vue.createCommentVNode("", true)
|
|
@@ -18251,7 +18356,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
18251
18356
|
}, {
|
|
18252
18357
|
default: vue.withCtx(() => [
|
|
18253
18358
|
vue.createTextVNode(vue.toDisplayString(content.value) + " ", 1),
|
|
18254
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18359
|
+
vue.createVNode(vue.unref(_sfc_main$X), { icon: "arrow_forward" })
|
|
18255
18360
|
]),
|
|
18256
18361
|
_: 1
|
|
18257
18362
|
})) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$D, vue.toDisplayString(content.value), 1))
|
|
@@ -18314,7 +18419,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
18314
18419
|
vue.createElementVNode("label", {
|
|
18315
18420
|
for: vue.unref(formatString)(_ctx.name, "pascal")
|
|
18316
18421
|
}, [
|
|
18317
|
-
vue.createVNode(_sfc_main$
|
|
18422
|
+
vue.createVNode(_sfc_main$Z, {
|
|
18318
18423
|
input: vue.unref(formatString)(_ctx.name, "titleCase")
|
|
18319
18424
|
}, null, 8, ["input"])
|
|
18320
18425
|
], 8, _hoisted_2$y),
|
|
@@ -18355,7 +18460,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
18355
18460
|
onInput: handleInput
|
|
18356
18461
|
}, null, 40, _hoisted_6$7)) : vue.createCommentVNode("", true),
|
|
18357
18462
|
vue.createElementVNode("div", null, [
|
|
18358
|
-
vue.createVNode(_sfc_main$
|
|
18463
|
+
vue.createVNode(_sfc_main$Z, { input: _ctx.errorMessage }, null, 8, ["input"])
|
|
18359
18464
|
])
|
|
18360
18465
|
]);
|
|
18361
18466
|
};
|
|
@@ -19205,7 +19310,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
19205
19310
|
[vue.vModelDynamic, inputVal.value]
|
|
19206
19311
|
])
|
|
19207
19312
|
], 8, _hoisted_2$n),
|
|
19208
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
19313
|
+
vue.createVNode(vue.unref(_sfc_main$X), {
|
|
19209
19314
|
onClick: showPassword,
|
|
19210
19315
|
icon: vue.unref(seePassword) ? "visibility" : "visibility_off"
|
|
19211
19316
|
}, null, 8, ["icon"])
|
|
@@ -19354,7 +19459,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
19354
19459
|
for: "label",
|
|
19355
19460
|
class: vue.normalizeClass({ active: showList.value })
|
|
19356
19461
|
}, [
|
|
19357
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
19462
|
+
vue.createVNode(vue.unref(_sfc_main$Z), { input: _ctx.label }, null, 8, ["input"])
|
|
19358
19463
|
], 2)) : vue.createCommentVNode("", true),
|
|
19359
19464
|
vue.createElementVNode("div", {
|
|
19360
19465
|
class: vue.normalizeClass(["custom-select", { "open-select": showList.value && _ctx.editMode }]),
|
|
@@ -19366,7 +19471,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
19366
19471
|
class: vue.normalizeClass(["input", { active: showList.value }]),
|
|
19367
19472
|
name: "select-input"
|
|
19368
19473
|
}, [
|
|
19369
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
19474
|
+
vue.createVNode(vue.unref(_sfc_main$Z), { input: displayValue.value }, null, 8, ["input"])
|
|
19370
19475
|
], 2),
|
|
19371
19476
|
(vue.openBlock(), vue.createBlock(vue.Teleport, { to: "#app" }, [
|
|
19372
19477
|
vue.createElementVNode("div", {
|
|
@@ -19379,7 +19484,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
19379
19484
|
key: option2.value,
|
|
19380
19485
|
onClick: ($event) => handleSelect(option2)
|
|
19381
19486
|
}, [
|
|
19382
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
19487
|
+
vue.createVNode(vue.unref(_sfc_main$Z), {
|
|
19383
19488
|
input: option2.label
|
|
19384
19489
|
}, null, 8, ["input"])
|
|
19385
19490
|
], 8, _hoisted_2$l);
|
|
@@ -22264,12 +22369,12 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
22264
22369
|
[vue.vModelText, vue.unref(inputVal)]
|
|
22265
22370
|
])
|
|
22266
22371
|
], 8, _hoisted_2$h),
|
|
22267
|
-
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
22372
|
+
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$X), {
|
|
22268
22373
|
key: 0,
|
|
22269
22374
|
class: "iconStart",
|
|
22270
22375
|
icon: _ctx.iconStart
|
|
22271
22376
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
22272
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
22377
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$X), {
|
|
22273
22378
|
key: 1,
|
|
22274
22379
|
icon: _ctx.icon
|
|
22275
22380
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -22319,7 +22424,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
22319
22424
|
title: _ctx.description
|
|
22320
22425
|
}, [
|
|
22321
22426
|
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$g, [
|
|
22322
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
22427
|
+
vue.createVNode(vue.unref(_sfc_main$Z), { input: _ctx.label }, null, 8, ["input"])
|
|
22323
22428
|
])) : vue.createCommentVNode("", true),
|
|
22324
22429
|
_ctx.showCharacterLimit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$e, vue.toDisplayString((_a2 = _ctx.modelValue) == null ? void 0 : _a2.length) + " " + vue.toDisplayString(((_b = _ctx.nativeInputAttrs) == null ? void 0 : _b.maxlength) ? `/${_ctx.nativeInputAttrs.maxlength}` : ""), 1)) : vue.createCommentVNode("", true),
|
|
22325
22430
|
vue.createElementVNode("textarea", vue.mergeProps({
|
|
@@ -38653,6 +38758,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
38653
38758
|
});
|
|
38654
38759
|
const MsgTemplate = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7031e613"]]);
|
|
38655
38760
|
exports.AddressInput = AddressInput;
|
|
38761
|
+
exports.BagelForm = _sfc_main$r;
|
|
38656
38762
|
exports.BagelVue = BagelVue;
|
|
38657
38763
|
exports.BankDetailsInput = BankDetailsInput;
|
|
38658
38764
|
exports.BarChart = BarChart;
|
|
@@ -38682,18 +38788,19 @@ exports.FormSchema = _sfc_main$L;
|
|
|
38682
38788
|
exports.IntInput = _sfc_main$j;
|
|
38683
38789
|
exports.ItemRef = _sfc_main$u;
|
|
38684
38790
|
exports.JSONInput = JSONInput;
|
|
38685
|
-
exports.LangText = _sfc_main$
|
|
38791
|
+
exports.LangText = _sfc_main$Z;
|
|
38686
38792
|
exports.Lineart = _sfc_main$1;
|
|
38687
38793
|
exports.LinkField = LinkField;
|
|
38688
38794
|
exports.ListItem = _sfc_main$Q;
|
|
38689
38795
|
exports.ListView = _sfc_main$R;
|
|
38690
|
-
exports.MaterialIcon = _sfc_main$
|
|
38796
|
+
exports.MaterialIcon = _sfc_main$X;
|
|
38691
38797
|
exports.MiscFieldsInput = MiscFieldsInput;
|
|
38692
|
-
exports.Modal = _sfc_main$
|
|
38798
|
+
exports.Modal = _sfc_main$U;
|
|
38799
|
+
exports.ModalBglForm = ModalBglForm;
|
|
38693
38800
|
exports.ModalForm = ModalForm;
|
|
38694
38801
|
exports.ModalPlugin = ModalPlugin;
|
|
38695
38802
|
exports.MsgTemplate = MsgTemplate;
|
|
38696
|
-
exports.NavBar = _sfc_main$
|
|
38803
|
+
exports.NavBar = _sfc_main$W;
|
|
38697
38804
|
exports.PageTitle = _sfc_main$N;
|
|
38698
38805
|
exports.Password = Password;
|
|
38699
38806
|
exports.PasswordInput = PasswordInput;
|
|
@@ -38701,7 +38808,7 @@ exports.PersonPreview = _sfc_main$G;
|
|
|
38701
38808
|
exports.PersonPreviewInput = PersonPreviewInput;
|
|
38702
38809
|
exports.PlainInputField = _sfc_main$s;
|
|
38703
38810
|
exports.PlainText = PlainText;
|
|
38704
|
-
exports.RTXEditor = _sfc_main$
|
|
38811
|
+
exports.RTXEditor = _sfc_main$Y;
|
|
38705
38812
|
exports.RadioPillsInput = RadioPillsInput;
|
|
38706
38813
|
exports.ReadOnlyInput = ReadOnlyInput;
|
|
38707
38814
|
exports.RichTextEditor = RichTextEditor;
|