@bagelink/vue 0.0.1043 → 0.0.1048
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/BglComponent.vue.d.ts.map +1 -1
- package/dist/components/form/BglField.vue.d.ts +2 -4
- package/dist/components/form/BglField.vue.d.ts.map +1 -1
- package/dist/components/form/BglForm.vue.d.ts +3 -1
- package/dist/components/form/BglForm.vue.d.ts.map +1 -1
- package/dist/components/form/BglMultiStepForm.vue.d.ts +2 -1
- package/dist/components/form/BglMultiStepForm.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RangeInput.vue.d.ts +46 -1
- package/dist/components/form/inputs/RangeInput.vue.d.ts.map +1 -1
- package/dist/index.cjs +103 -55
- package/dist/index.mjs +103 -55
- package/dist/style.css +10 -10
- package/dist/types/BagelForm.d.ts +1 -1
- package/dist/types/BagelForm.d.ts.map +1 -1
- package/dist/utils/BagelFormUtils.d.ts +18 -6
- package/dist/utils/BagelFormUtils.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/form/BglField.vue +14 -16
- package/src/components/form/BglForm.vue +8 -6
- package/src/components/form/inputs/RangeInput.vue +15 -4
- package/src/types/BagelForm.ts +1 -1
- package/src/utils/BagelFormUtils.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BglComponent.vue.d.ts","sourceRoot":"","sources":["../../src/components/BglComponent.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BglComponent.vue.d.ts","sourceRoot":"","sources":["../../src/components/BglComponent.vue"],"names":[],"mappings":"AAAA,OAgLO,EAIN,KAAK,KAAK,EAYV,MAAM,eAAe,CAAA;yBAGL,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,eAChC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAiNxD,mBAAmB,CAAC;;;eA7MtB,KAAK,CAAC,CAAC,CAAC;aACV,MAAM;qBACE,GAAG;qBACH,MAAM;KA0MmG,CAAC,4BAA2B;oBAChI,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;yBAhCgB,GAAG;;;OAqCpB,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AA3NzE,wBA2N4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -4,15 +4,13 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
|
|
|
4
4
|
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
5
5
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & Partial<{}> & {
|
|
6
6
|
field: Field<T>;
|
|
7
|
-
|
|
7
|
+
fieldID?: string;
|
|
8
8
|
modelValue?: any;
|
|
9
9
|
parentPath?: string;
|
|
10
10
|
}> & import('vue').PublicProps;
|
|
11
11
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
12
12
|
attrs: any;
|
|
13
|
-
slots: {
|
|
14
|
-
default?(_: {}): any;
|
|
15
|
-
};
|
|
13
|
+
slots: {};
|
|
16
14
|
emit: (evt: "update:modelValue", value: any) => void;
|
|
17
15
|
}>) => import('vue').VNode & {
|
|
18
16
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BglField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/BglField.vue"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"BglField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/BglField.vue"],"names":[],"mappings":"AAAA,OAuIO,EAIN,KAAK,KAAK,EAYV,MAAM,eAAe,CAAA;yBAML,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,eAChC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAwKxD,mBAAmB,CAAC;;;eApKtB,KAAK,CAAC,CAAC,CAAC;kBACL,MAAM;qBACH,GAAG;qBACH,MAAM;KAiKmG,CAAC,4BAA2B;oBAChI,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;OAKD,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAlLzE,wBAkL4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { BglFormSchemaFnT } from '../..';
|
|
|
2
2
|
export type FormStatus = 'idle' | 'loading' | 'success' | 'error';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
label?: string;
|
|
5
|
-
|
|
5
|
+
fieldID?: string;
|
|
6
6
|
schema: BglFormSchemaFnT<any>;
|
|
7
7
|
modelValue?: {
|
|
8
8
|
[key: string]: any;
|
|
@@ -10,6 +10,7 @@ type __VLS_Props = {
|
|
|
10
10
|
onDelete?: (id: string) => void;
|
|
11
11
|
onSubmit?: (data: any) => void;
|
|
12
12
|
status?: FormStatus;
|
|
13
|
+
tag?: 'template' | 'form';
|
|
13
14
|
};
|
|
14
15
|
declare function validateForm(): boolean;
|
|
15
16
|
declare function clearForm(): void;
|
|
@@ -52,6 +53,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
52
53
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
53
54
|
onDirty?: ((...args: any[]) => any) | undefined;
|
|
54
55
|
}>, {
|
|
56
|
+
tag: "template" | "form";
|
|
55
57
|
modelValue: {
|
|
56
58
|
[key: string]: any;
|
|
57
59
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BglForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/BglForm.vue"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"BglForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/BglForm.vue"],"names":[],"mappings":"AAAA,OA6JO,EAAY,KAAK,gBAAgB,EAAiC,MAAM,eAAe,CAAA;AAI9F,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAA;AAIjE,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,gBAAgB,CAAC,GAAG,CAAC,CAAA;IAC7B,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAA;IACnC,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAA;IAC9B,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,GAAG,CAAC,EAAE,UAAU,GAAG,MAAM,CAAA;CACzB,CAAC;AA4CH,iBAAS,YAAY,YAIpB;AAED,iBAAS,SAAS,SAIjB;AAaD,iBAAS,SAAS,SAOjB;AAID,iBAAS,UAAU,SAgBlB;AA6BD,iBAAS,cAAc;WA+ET,OAAO,IAA6B;;;;;;YAZtB,GAAG;;;;;YACF,GAAG;yBACF,GAAG;uBACL,GAAG;;;;;;EAc9B;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;SAnOb,UAAU,GAAG,MAAM;gBAJZ;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE;6EAgPnC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -8,7 +8,7 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
|
|
|
8
8
|
} & {
|
|
9
9
|
bagelFormProps?: Omit<{
|
|
10
10
|
readonly label?: string | undefined;
|
|
11
|
-
readonly
|
|
11
|
+
readonly fieldID?: string | undefined;
|
|
12
12
|
readonly schema: BglFormSchemaFnT<any>;
|
|
13
13
|
readonly modelValue?: {
|
|
14
14
|
[key: string]: any;
|
|
@@ -16,6 +16,7 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
|
|
|
16
16
|
readonly onDelete?: ((id: string) => void) | undefined;
|
|
17
17
|
readonly onSubmit?: (((data: any) => void) & ((...args: any[]) => any)) | undefined;
|
|
18
18
|
readonly status?: import('./BglForm.vue').FormStatus | undefined;
|
|
19
|
+
readonly tag?: "template" | "form" | undefined;
|
|
19
20
|
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
20
21
|
readonly onDirty?: ((...args: any[]) => any) | undefined;
|
|
21
22
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, ("schema" | `${string}modelValue` | `ref${string}` | `onVnode${string}` | "onSubmit")>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BglMultiStepForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/BglMultiStepForm.vue"],"names":[],"mappings":"AA6HA,OAAO,EAAa,KAAK,gBAAgB,EAAqB,MAAM,eAAe,CAAA;yBAIlE,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,eAChC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA+QxD,mBAAmB,CAAC;;;;oBA3KhB,CAAC;;yBA9FI,IAAI
|
|
1
|
+
{"version":3,"file":"BglMultiStepForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/BglMultiStepForm.vue"],"names":[],"mappings":"AA6HA,OAAO,EAAa,KAAK,gBAAgB,EAAqB,MAAM,eAAe,CAAA;yBAIlE,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,eAChC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA+QxD,mBAAmB,CAAC;;;;oBA3KhB,CAAC;;yBA9FI,IAAI;;;;;;;;;;;;;iHAEpB,CACA,QAAQ,GAAG,GAAG,MAAM,YAAY,GAAG,MAAM,MAAM,EAAE,GAAG,UAAU,MAAM,EAAE,GAAG,UAAU,CAClF,CACD;gBACO,gBAAgB,CAAC,CAAC,CAAC;MAmQ0F,CAAC,4BAA2B;oBAChI,OAAO,KAAK,EAAE,gBAAgB;;;;;;MAAsB,GAAG,IAAI;WACpE,GAAG;;yBA5CiB,GAAG;uBACL,GAAG;;;;;YACA,GAAG;;UA4CzB,4FAAqC;OAGlC,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAzRzE,wBAyR4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -11,10 +11,55 @@ export interface RangeInputProps {
|
|
|
11
11
|
multiRange?: boolean;
|
|
12
12
|
formatValue?: (value: number) => string;
|
|
13
13
|
}
|
|
14
|
-
declare
|
|
14
|
+
declare function __VLS_template(): {
|
|
15
|
+
attrs: Partial<{}>;
|
|
16
|
+
slots: {
|
|
17
|
+
progress?(_: {
|
|
18
|
+
progress: import('@vue-macros/reactivity-transform/macros.js').ComputedVariable<string>;
|
|
19
|
+
min: string;
|
|
20
|
+
max: string;
|
|
21
|
+
}): any;
|
|
22
|
+
from?(_: {
|
|
23
|
+
from: import('@vue-macros/reactivity-transform/macros.js').ComputedVariable<string>;
|
|
24
|
+
to: import('@vue-macros/reactivity-transform/macros.js').ComputedVariable<string>;
|
|
25
|
+
min: string;
|
|
26
|
+
max: string;
|
|
27
|
+
}): any;
|
|
28
|
+
to?(_: {
|
|
29
|
+
to: import('@vue-macros/reactivity-transform/macros.js').ComputedVariable<string>;
|
|
30
|
+
from: import('@vue-macros/reactivity-transform/macros.js').ComputedVariable<string>;
|
|
31
|
+
min: string;
|
|
32
|
+
max: string;
|
|
33
|
+
}): any;
|
|
34
|
+
min?(_: {
|
|
35
|
+
max: string;
|
|
36
|
+
min: string;
|
|
37
|
+
from: import('@vue-macros/reactivity-transform/macros.js').ComputedVariable<string>;
|
|
38
|
+
to: import('@vue-macros/reactivity-transform/macros.js').ComputedVariable<string>;
|
|
39
|
+
progress: import('@vue-macros/reactivity-transform/macros.js').ComputedVariable<string>;
|
|
40
|
+
}): any;
|
|
41
|
+
max?(_: {
|
|
42
|
+
max: string;
|
|
43
|
+
min: string;
|
|
44
|
+
from: import('@vue-macros/reactivity-transform/macros.js').ComputedVariable<string>;
|
|
45
|
+
to: import('@vue-macros/reactivity-transform/macros.js').ComputedVariable<string>;
|
|
46
|
+
progress: import('@vue-macros/reactivity-transform/macros.js').ComputedVariable<string>;
|
|
47
|
+
}): any;
|
|
48
|
+
};
|
|
49
|
+
refs: {};
|
|
50
|
+
rootEl: HTMLDivElement;
|
|
51
|
+
};
|
|
52
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
53
|
+
declare const __VLS_component: import('vue').DefineComponent<RangeInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
54
|
"update:modelValue": (...args: any[]) => void;
|
|
16
55
|
}, string, import('vue').PublicProps, Readonly<RangeInputProps> & Readonly<{
|
|
17
56
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
18
57
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
58
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
59
|
export default _default;
|
|
60
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
61
|
+
new (): {
|
|
62
|
+
$slots: S;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
20
65
|
//# sourceMappingURL=RangeInput.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangeInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/RangeInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RangeInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/RangeInput.vue"],"names":[],"mappings":"AA2NA,MAAM,WAAW,eAAe;IAC/B,UAAU,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACrC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,GAAG,CAAC,EAAE,OAAO,CAAA;IACb,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;CACvC;AAqED,iBAAS,cAAc;WAuHT,OAAO,IAA6B;;;;;;YAZpB,GAAG;;;;;;YACP,GAAG;;;;;;YACL,GAAG;;;;;;;YACF,GAAG;;;;;;;YACH,GAAG;;;;EAa3B;AA0BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;6FAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -61,7 +61,7 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
|
-
const _hoisted_1$
|
|
64
|
+
const _hoisted_1$U = ["aria-expanded", "aria-controls"];
|
|
65
65
|
const _hoisted_2$B = { class: "accordion-label" };
|
|
66
66
|
const _hoisted_3$s = ["id", "aria-hidden"];
|
|
67
67
|
const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -138,7 +138,7 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
|
138
138
|
}, [
|
|
139
139
|
vue.createVNode(vue.unref(_sfc_main$d), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
140
140
|
], 2)) : vue.createCommentVNode("", true)
|
|
141
|
-
], 8, _hoisted_1$
|
|
141
|
+
], 8, _hoisted_1$U),
|
|
142
142
|
vue.createVNode(vue.Transition, { name: "expand" }, {
|
|
143
143
|
default: vue.withCtx(() => [
|
|
144
144
|
vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -164,7 +164,7 @@ const _export_sfc = (sfc, props2) => {
|
|
|
164
164
|
return target;
|
|
165
165
|
};
|
|
166
166
|
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-1e73ca3e"]]);
|
|
167
|
-
const _hoisted_1$
|
|
167
|
+
const _hoisted_1$T = { class: "relative" };
|
|
168
168
|
const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
169
169
|
__name: "AddressSearch",
|
|
170
170
|
emits: ["addressSelected"],
|
|
@@ -187,7 +187,7 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
|
187
187
|
(_a2 = suggestion.value) == null ? void 0 : _a2.show();
|
|
188
188
|
}
|
|
189
189
|
return (_ctx, _cache) => {
|
|
190
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
190
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$T, [
|
|
191
191
|
vue.createVNode(vue.unref(_sfc_main$W), {
|
|
192
192
|
ref_key: "suggestion",
|
|
193
193
|
ref: suggestion,
|
|
@@ -223,7 +223,7 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
225
|
});
|
|
226
|
-
const _hoisted_1$
|
|
226
|
+
const _hoisted_1$S = {
|
|
227
227
|
key: 1,
|
|
228
228
|
class: "bgl_btn-flex"
|
|
229
229
|
};
|
|
@@ -292,7 +292,7 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
|
|
|
292
292
|
_ctx.loading ? (vue.openBlock(), vue.createBlock(vue.unref(Loading), {
|
|
293
293
|
key: 0,
|
|
294
294
|
size: "15"
|
|
295
|
-
})) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
295
|
+
})) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$S, [
|
|
296
296
|
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$d), {
|
|
297
297
|
key: 0,
|
|
298
298
|
icon: _ctx.icon
|
|
@@ -315,7 +315,7 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
|
|
|
315
315
|
}
|
|
316
316
|
});
|
|
317
317
|
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-c23a3626"]]);
|
|
318
|
-
const _hoisted_1$
|
|
318
|
+
const _hoisted_1$R = ["dismissable"];
|
|
319
319
|
const _hoisted_2$A = { class: "m-0" };
|
|
320
320
|
const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
321
321
|
__name: "Alert",
|
|
@@ -353,12 +353,12 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
|
353
353
|
icon: "close",
|
|
354
354
|
onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
|
|
355
355
|
})
|
|
356
|
-
], 10, _hoisted_1$
|
|
356
|
+
], 10, _hoisted_1$R)) : vue.createCommentVNode("", true);
|
|
357
357
|
};
|
|
358
358
|
}
|
|
359
359
|
});
|
|
360
360
|
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-57141c32"]]);
|
|
361
|
-
const _hoisted_1$
|
|
361
|
+
const _hoisted_1$Q = ["src", "alt"];
|
|
362
362
|
const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
|
|
363
363
|
__name: "Avatar",
|
|
364
364
|
props: {
|
|
@@ -377,7 +377,7 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
|
|
|
377
377
|
key: 0,
|
|
378
378
|
src: _ctx.src,
|
|
379
379
|
alt: _ctx.name
|
|
380
|
-
}, null, 8, _hoisted_1$
|
|
380
|
+
}, null, 8, _hoisted_1$Q)) : (vue.openBlock(), vue.createElementBlock("p", {
|
|
381
381
|
key: 1,
|
|
382
382
|
style: vue.normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
|
|
383
383
|
}, vue.toDisplayString((_ctx.fallback || vue.unref(initials)(_ctx.name || "")).toUpperCase()), 5))
|
|
@@ -561,7 +561,7 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
|
561
561
|
};
|
|
562
562
|
}
|
|
563
563
|
});
|
|
564
|
-
const _hoisted_1$
|
|
564
|
+
const _hoisted_1$P = ["src"];
|
|
565
565
|
const _hoisted_2$z = ["autoplay", "muted", "loop", "controls", "playsinline"];
|
|
566
566
|
const _hoisted_3$r = ["src", "type"];
|
|
567
567
|
const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -641,7 +641,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
|
641
641
|
allowfullscreen: "",
|
|
642
642
|
title: "Video",
|
|
643
643
|
allow: "autoplay"
|
|
644
|
-
}, null, 12, _hoisted_1$
|
|
644
|
+
}, null, 12, _hoisted_1$P)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
|
|
645
645
|
key: 1,
|
|
646
646
|
ref_key: "video",
|
|
647
647
|
ref: video,
|
|
@@ -662,7 +662,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
|
662
662
|
}
|
|
663
663
|
});
|
|
664
664
|
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-006552f6"]]);
|
|
665
|
-
const _hoisted_1$
|
|
665
|
+
const _hoisted_1$O = {
|
|
666
666
|
key: 0,
|
|
667
667
|
class: "card_label"
|
|
668
668
|
};
|
|
@@ -695,7 +695,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
695
695
|
}])
|
|
696
696
|
}, {
|
|
697
697
|
default: vue.withCtx(() => [
|
|
698
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
698
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$O, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
699
699
|
vue.renderSlot(_ctx.$slots, "default")
|
|
700
700
|
]),
|
|
701
701
|
_: 3
|
|
@@ -705,7 +705,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
705
705
|
};
|
|
706
706
|
}
|
|
707
707
|
});
|
|
708
|
-
const _hoisted_1$
|
|
708
|
+
const _hoisted_1$N = ["dir"];
|
|
709
709
|
const _hoisted_2$y = {
|
|
710
710
|
key: 0,
|
|
711
711
|
class: "blocker"
|
|
@@ -918,7 +918,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
918
918
|
}, void 0, true)
|
|
919
919
|
])
|
|
920
920
|
])
|
|
921
|
-
], 14, _hoisted_1$
|
|
921
|
+
], 14, _hoisted_1$N);
|
|
922
922
|
};
|
|
923
923
|
}
|
|
924
924
|
});
|
|
@@ -6866,13 +6866,13 @@ var script = vue.defineComponent({
|
|
|
6866
6866
|
return { bar, canvas, direction, mouse };
|
|
6867
6867
|
}
|
|
6868
6868
|
});
|
|
6869
|
-
const _hoisted_1$
|
|
6869
|
+
const _hoisted_1$M = {
|
|
6870
6870
|
key: 0,
|
|
6871
6871
|
class: "layer-hover-bar"
|
|
6872
6872
|
};
|
|
6873
6873
|
const _hoisted_2$x = ["x", "y", "width", "height"];
|
|
6874
6874
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6875
|
-
return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$
|
|
6875
|
+
return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$M, [
|
|
6876
6876
|
vue.createElementVNode("rect", vue.mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
|
|
6877
6877
|
x: _ctx.bar.x,
|
|
6878
6878
|
y: _ctx.bar.y,
|
|
@@ -7024,7 +7024,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
|
7024
7024
|
};
|
|
7025
7025
|
}
|
|
7026
7026
|
});
|
|
7027
|
-
const _hoisted_1$
|
|
7027
|
+
const _hoisted_1$L = {
|
|
7028
7028
|
key: 0,
|
|
7029
7029
|
class: "data"
|
|
7030
7030
|
};
|
|
@@ -7081,7 +7081,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
|
7081
7081
|
const computedSchema = vue.computed(() => getFallbackSchema([itemData.value], props2.showFields));
|
|
7082
7082
|
return (_ctx, _cache) => {
|
|
7083
7083
|
var _a2;
|
|
7084
|
-
return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
7084
|
+
return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L, [
|
|
7085
7085
|
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$4), {
|
|
7086
7086
|
key: 0,
|
|
7087
7087
|
label: _ctx.title
|
|
@@ -9737,7 +9737,7 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
|
|
|
9737
9737
|
};
|
|
9738
9738
|
}
|
|
9739
9739
|
});
|
|
9740
|
-
const _hoisted_1$
|
|
9740
|
+
const _hoisted_1$K = { class: "px-1 pt-025 pb-1" };
|
|
9741
9741
|
const _hoisted_2$v = { class: "ms-1" };
|
|
9742
9742
|
const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
9743
9743
|
__name: "FieldSetVue",
|
|
@@ -9747,7 +9747,7 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
|
9747
9747
|
},
|
|
9748
9748
|
setup(__props) {
|
|
9749
9749
|
return (_ctx, _cache) => {
|
|
9750
|
-
return vue.openBlock(), vue.createElementBlock("fieldset", _hoisted_1$
|
|
9750
|
+
return vue.openBlock(), vue.createElementBlock("fieldset", _hoisted_1$K, [
|
|
9751
9751
|
vue.createElementVNode("legend", _hoisted_2$v, vue.toDisplayString(_ctx.legend || _ctx.label), 1),
|
|
9752
9752
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
9753
9753
|
]);
|
|
@@ -9799,7 +9799,7 @@ function useTabs(group) {
|
|
|
9799
9799
|
});
|
|
9800
9800
|
return { currentTab };
|
|
9801
9801
|
}
|
|
9802
|
-
const _hoisted_1$
|
|
9802
|
+
const _hoisted_1$J = ["onClick"];
|
|
9803
9803
|
const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
9804
9804
|
__name: "TabsNav",
|
|
9805
9805
|
props: {
|
|
@@ -9882,7 +9882,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
9882
9882
|
icon: tab.icon
|
|
9883
9883
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
9884
9884
|
vue.createTextVNode(" " + vue.toDisplayString(tabLabel(tab)), 1)
|
|
9885
|
-
], 10, _hoisted_1$
|
|
9885
|
+
], 10, _hoisted_1$J);
|
|
9886
9886
|
}), 128))
|
|
9887
9887
|
], true)
|
|
9888
9888
|
], 2);
|
|
@@ -9951,11 +9951,12 @@ function useBagelFormState() {
|
|
|
9951
9951
|
if (!state2) throw new Error("BagelFormState must be provided");
|
|
9952
9952
|
return state2;
|
|
9953
9953
|
}
|
|
9954
|
+
const _hoisted_1$I = { key: 1 };
|
|
9954
9955
|
const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
9955
9956
|
__name: "BglField",
|
|
9956
9957
|
props: {
|
|
9957
9958
|
field: {},
|
|
9958
|
-
|
|
9959
|
+
fieldID: {},
|
|
9959
9960
|
modelValue: {},
|
|
9960
9961
|
parentPath: {}
|
|
9961
9962
|
},
|
|
@@ -9981,25 +9982,25 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
|
9981
9982
|
if (props2.field.$el === "file") return FileUpload;
|
|
9982
9983
|
if (props2.field.$el === "date") return _sfc_main$K;
|
|
9983
9984
|
if (props2.field.$el === "tabs") return TabsNav;
|
|
9984
|
-
if (props2.field.$el === "
|
|
9985
|
+
if (props2.field.$el === "bglform") return _sfc_main$R;
|
|
9985
9986
|
return props2.field.$el ?? "div";
|
|
9986
9987
|
});
|
|
9987
9988
|
const fieldData = vue.computed({
|
|
9988
9989
|
get: () => {
|
|
9989
|
-
if (!props2.
|
|
9990
|
-
const value = formState == null ? void 0 : formState.getFieldData(props2.
|
|
9990
|
+
if (!props2.fieldID) return props2.field.defaultValue ?? (props2.field.$el === "form" ? {} : "");
|
|
9991
|
+
const value = formState == null ? void 0 : formState.getFieldData(props2.fieldID);
|
|
9991
9992
|
if (props2.field.$el === "form" && !value) return {};
|
|
9992
9993
|
return value ?? "";
|
|
9993
9994
|
},
|
|
9994
9995
|
set: (val) => {
|
|
9995
|
-
if (!props2.
|
|
9996
|
-
const currentValue = formState == null ? void 0 : formState.getFieldData(props2.
|
|
9996
|
+
if (!props2.fieldID) return;
|
|
9997
|
+
const currentValue = formState == null ? void 0 : formState.getFieldData(props2.fieldID);
|
|
9997
9998
|
if (JSON.stringify(val) === JSON.stringify(currentValue)) return;
|
|
9998
9999
|
emit2("update:modelValue", val);
|
|
9999
10000
|
if (props2.field.onUpdate) {
|
|
10000
10001
|
props2.field.onUpdate(val, currentValue);
|
|
10001
10002
|
}
|
|
10002
|
-
formState == null ? void 0 : formState.updateField(props2.
|
|
10003
|
+
formState == null ? void 0 : formState.updateField(props2.fieldID, val);
|
|
10003
10004
|
}
|
|
10004
10005
|
});
|
|
10005
10006
|
const vIf = vue.computed(() => {
|
|
@@ -10021,6 +10022,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
|
10021
10022
|
);
|
|
10022
10023
|
const computedAttrs = vue.computed(() => {
|
|
10023
10024
|
const attrs = { ...customAttrs.value, ...props2.field.attrs };
|
|
10025
|
+
delete attrs.schema;
|
|
10024
10026
|
return bindAttrs(attrs, fieldData.value, formState == null ? void 0 : formState.data.value);
|
|
10025
10027
|
});
|
|
10026
10028
|
const computedClass = vue.computed(
|
|
@@ -10033,9 +10035,9 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
|
10033
10035
|
var _a2;
|
|
10034
10036
|
const _component_BglField = vue.resolveComponent("BglField", true);
|
|
10035
10037
|
return vIf.value ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(is4.value), vue.mergeProps({ key: 0 }, computedAttrs.value, {
|
|
10036
|
-
id: props2.id,
|
|
10037
10038
|
modelValue: fieldData.value,
|
|
10038
10039
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => fieldData.value = $event),
|
|
10040
|
+
fieldID: props2.fieldID,
|
|
10039
10041
|
required: _ctx.field.required,
|
|
10040
10042
|
class: computedClass.value,
|
|
10041
10043
|
label: _ctx.field.label,
|
|
@@ -10047,17 +10049,19 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
|
10047
10049
|
schema: ((_a2 = _ctx.field.attrs) == null ? void 0 : _a2.schema) ?? void 0
|
|
10048
10050
|
}), {
|
|
10049
10051
|
default: vue.withCtx(() => [
|
|
10050
|
-
|
|
10051
|
-
return vue.openBlock(), vue.
|
|
10052
|
-
|
|
10053
|
-
|
|
10054
|
-
|
|
10055
|
-
|
|
10056
|
-
|
|
10052
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.field.children, (child, ii) => {
|
|
10053
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: ii }, [
|
|
10054
|
+
typeof child !== "string" ? (vue.openBlock(), vue.createBlock(_component_BglField, {
|
|
10055
|
+
key: 0,
|
|
10056
|
+
fieldID: [props2.fieldID, child.id].filter(Boolean).join("."),
|
|
10057
|
+
field: child,
|
|
10058
|
+
"parent-path": props2.fieldID
|
|
10059
|
+
}, null, 8, ["fieldID", "field", "parent-path"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$I, vue.toDisplayString(child), 1))
|
|
10060
|
+
], 64);
|
|
10057
10061
|
}), 128))
|
|
10058
10062
|
]),
|
|
10059
|
-
_:
|
|
10060
|
-
}, 16, ["
|
|
10063
|
+
_: 1
|
|
10064
|
+
}, 16, ["modelValue", "fieldID", "required", "class", "label", "placeholder", "defaultValue", "disabled", "options", "helptext", "schema"])) : vue.createCommentVNode("", true);
|
|
10061
10065
|
};
|
|
10062
10066
|
}
|
|
10063
10067
|
});
|
|
@@ -10065,12 +10069,13 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
10065
10069
|
__name: "BglForm",
|
|
10066
10070
|
props: {
|
|
10067
10071
|
label: {},
|
|
10068
|
-
|
|
10072
|
+
fieldID: {},
|
|
10069
10073
|
schema: {},
|
|
10070
10074
|
modelValue: { default: () => ({}) },
|
|
10071
10075
|
onDelete: {},
|
|
10072
10076
|
onSubmit: {},
|
|
10073
|
-
status: {}
|
|
10077
|
+
status: {},
|
|
10078
|
+
tag: { default: "form" }
|
|
10074
10079
|
},
|
|
10075
10080
|
emits: ["update:modelValue", "submit", "dirty"],
|
|
10076
10081
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -10081,7 +10086,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
10081
10086
|
const instAt = /* @__PURE__ */ new Date();
|
|
10082
10087
|
const timeSinceInst = () => Date.now() - instAt.getTime();
|
|
10083
10088
|
const existingFormState = vue.inject(FORM_STATE_KEY);
|
|
10084
|
-
const isNested = Boolean(existingFormState && props2.
|
|
10089
|
+
const isNested = Boolean(existingFormState && props2.fieldID);
|
|
10085
10090
|
const { data: data2, isDirty } = isNested ? existingFormState : provideBagelFormState(props2.modelValue);
|
|
10086
10091
|
if (!isNested) {
|
|
10087
10092
|
vue.watch(() => props2.modelValue, (newVal) => {
|
|
@@ -10159,13 +10164,13 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
10159
10164
|
});
|
|
10160
10165
|
return (_ctx, _cache) => {
|
|
10161
10166
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
10162
|
-
_ctx.
|
|
10167
|
+
_ctx.tag === "template" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
10163
10168
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field, i2) => {
|
|
10164
10169
|
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
10165
|
-
id: [_ctx.id, field.id].filter(Boolean).join("."),
|
|
10166
10170
|
key: field.id || `${i2}p`,
|
|
10171
|
+
fieldID: field.id,
|
|
10167
10172
|
field
|
|
10168
|
-
}, null, 8, ["
|
|
10173
|
+
}, null, 8, ["fieldID", "field"]);
|
|
10169
10174
|
}), 128)),
|
|
10170
10175
|
vue.renderSlot(_ctx.$slots, "submit", {
|
|
10171
10176
|
submit: runSubmit,
|
|
@@ -10185,10 +10190,10 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
10185
10190
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true),
|
|
10186
10191
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field, i2) => {
|
|
10187
10192
|
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
10188
|
-
id: field.id,
|
|
10189
10193
|
key: field.id || `${i2}p`,
|
|
10194
|
+
fieldID: field.id,
|
|
10190
10195
|
field
|
|
10191
|
-
}, null, 8, ["
|
|
10196
|
+
}, null, 8, ["fieldID", "field"]);
|
|
10192
10197
|
}), 128)),
|
|
10193
10198
|
vue.renderSlot(_ctx.$slots, "submit", {
|
|
10194
10199
|
submit: runSubmit,
|
|
@@ -20547,22 +20552,65 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
20547
20552
|
key: 1,
|
|
20548
20553
|
class: "txt-center txt-12 range-slider-position-txt absolute line-height-1 opacity-0",
|
|
20549
20554
|
style: vue.normalizeStyle({ "--progress": `${fromPercentage.value}` })
|
|
20550
|
-
},
|
|
20555
|
+
}, [
|
|
20556
|
+
!vue.unref(multiRange) ? vue.renderSlot(_ctx.$slots, "progress", {
|
|
20557
|
+
key: 0,
|
|
20558
|
+
progress: displayFrom.value,
|
|
20559
|
+
min: vue.unref(formatValue)(vue.unref(min2)),
|
|
20560
|
+
max: vue.unref(formatValue)(vue.unref(max2))
|
|
20561
|
+
}, () => [
|
|
20562
|
+
vue.createTextVNode(vue.toDisplayString(displayFrom.value), 1)
|
|
20563
|
+
], true) : vue.createCommentVNode("", true),
|
|
20564
|
+
vue.unref(multiRange) ? vue.renderSlot(_ctx.$slots, "from", {
|
|
20565
|
+
key: 1,
|
|
20566
|
+
from: displayFrom.value,
|
|
20567
|
+
to: displayTo.value,
|
|
20568
|
+
min: vue.unref(formatValue)(vue.unref(min2)),
|
|
20569
|
+
max: vue.unref(formatValue)(vue.unref(max2))
|
|
20570
|
+
}, () => [
|
|
20571
|
+
vue.createTextVNode(vue.toDisplayString(displayFrom.value), 1)
|
|
20572
|
+
], true) : vue.createCommentVNode("", true)
|
|
20573
|
+
], 4)) : vue.createCommentVNode("", true),
|
|
20551
20574
|
vue.unref(multiRange) && validTo.value !== vue.unref(max2) ? (vue.openBlock(), vue.createElementBlock("p", {
|
|
20552
20575
|
key: 2,
|
|
20553
20576
|
class: "txt-center txt-12 range-slider-position-txt opacity-0 line-height-1 absolute",
|
|
20554
20577
|
style: vue.normalizeStyle({ "--progress": `${toPercentage.value}` })
|
|
20555
|
-
},
|
|
20578
|
+
}, [
|
|
20579
|
+
vue.renderSlot(_ctx.$slots, "to", {
|
|
20580
|
+
to: displayTo.value,
|
|
20581
|
+
from: displayFrom.value,
|
|
20582
|
+
min: vue.unref(formatValue)(vue.unref(min2)),
|
|
20583
|
+
max: vue.unref(formatValue)(vue.unref(max2))
|
|
20584
|
+
}, () => [
|
|
20585
|
+
vue.createTextVNode(vue.toDisplayString(displayTo.value), 1)
|
|
20586
|
+
], true)
|
|
20587
|
+
], 4)) : vue.createCommentVNode("", true)
|
|
20556
20588
|
], 8, _hoisted_2$i),
|
|
20557
20589
|
vue.createElementVNode("p", _hoisted_6$8, [
|
|
20558
|
-
vue.
|
|
20559
|
-
|
|
20590
|
+
vue.renderSlot(_ctx.$slots, "min", {
|
|
20591
|
+
max: vue.unref(formatValue)(vue.unref(max2)),
|
|
20592
|
+
min: vue.unref(formatValue)(vue.unref(min2)),
|
|
20593
|
+
from: displayFrom.value,
|
|
20594
|
+
to: displayTo.value,
|
|
20595
|
+
progress: displayFrom.value
|
|
20596
|
+
}, () => [
|
|
20597
|
+
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(formatValue)(vue.unref(min2))), 1)
|
|
20598
|
+
], true),
|
|
20599
|
+
vue.renderSlot(_ctx.$slots, "max", {
|
|
20600
|
+
max: vue.unref(formatValue)(vue.unref(max2)),
|
|
20601
|
+
min: vue.unref(formatValue)(vue.unref(min2)),
|
|
20602
|
+
from: displayFrom.value,
|
|
20603
|
+
to: displayTo.value,
|
|
20604
|
+
progress: displayFrom.value
|
|
20605
|
+
}, () => [
|
|
20606
|
+
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(formatValue)(vue.unref(max2))), 1)
|
|
20607
|
+
], true)
|
|
20560
20608
|
])
|
|
20561
20609
|
]);
|
|
20562
20610
|
};
|
|
20563
20611
|
}
|
|
20564
20612
|
});
|
|
20565
|
-
const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-
|
|
20613
|
+
const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-c427a28c"]]);
|
|
20566
20614
|
const tableTools = [
|
|
20567
20615
|
"mergeCells",
|
|
20568
20616
|
"splitCells",
|
|
@@ -34350,7 +34398,7 @@ function findBglFieldById(id, _schema) {
|
|
|
34350
34398
|
for (const field of _schema) {
|
|
34351
34399
|
if (field.id === id) return field;
|
|
34352
34400
|
if (field.children && Number(field.children.length) > 0) {
|
|
34353
|
-
const child = findBglFieldById(id, field.children);
|
|
34401
|
+
const child = findBglFieldById(id, field.children.filter((c2) => typeof c2 !== "string"));
|
|
34354
34402
|
if (child) return child;
|
|
34355
34403
|
}
|
|
34356
34404
|
}
|