@bagelink/vue 0.0.260 → 0.0.264
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/Card.vue.d.ts +2 -2
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/ModalForm.vue.d.ts +10 -1
- package/dist/components/ModalForm.vue.d.ts.map +1 -1
- package/dist/components/TableSchema.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/JSONInput.vue.d.ts +1 -1
- package/dist/components/form/inputs/JSONInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichTextEditor.vue.d.ts +1 -1
- package/dist/components/form/inputs/RichTextEditor.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts +2 -0
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TextArea.vue.d.ts +3 -1
- package/dist/components/form/inputs/TextArea.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
- package/dist/index.cjs +72 -39
- package/dist/index.mjs +72 -39
- package/dist/plugins/modal.d.ts +17 -6
- package/dist/plugins/modal.d.ts.map +1 -1
- package/dist/style.css +42 -42
- package/package.json +1 -1
- package/src/components/Modal.vue +29 -6
- package/src/components/ModalForm.vue +52 -12
- package/src/components/TableSchema.vue +11 -3
- package/src/components/form/BglForm.vue +1 -1
- package/src/components/form/inputs/SelectInput.vue +12 -3
- package/src/components/form/inputs/TextArea.vue +2 -0
- package/src/components/form/inputs/TextInput.vue +55 -15
- package/src/plugins/modal.ts +20 -12
|
@@ -2,12 +2,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
2
2
|
thin?: boolean | undefined;
|
|
3
3
|
border?: boolean | undefined;
|
|
4
4
|
h100?: boolean | undefined;
|
|
5
|
-
bg?: "
|
|
5
|
+
bg?: "info" | "light" | "warning" | "gray" | "primary" | "dark" | "secondary" | "success" | "danger" | "white" | "transparent" | undefined;
|
|
6
6
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
7
|
thin?: boolean | undefined;
|
|
8
8
|
border?: boolean | undefined;
|
|
9
9
|
h100?: boolean | undefined;
|
|
10
|
-
bg?: "
|
|
10
|
+
bg?: "info" | "light" | "warning" | "gray" | "primary" | "dark" | "secondary" | "success" | "danger" | "white" | "transparent" | undefined;
|
|
11
11
|
}>>>, {}, {}>, {
|
|
12
12
|
default?(_: {}): any;
|
|
13
13
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.vue.d.ts","sourceRoot":"","sources":["../../src/components/Modal.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Modal.vue.d.ts","sourceRoot":"","sources":["../../src/components/Modal.vue"],"names":[],"mappings":"AAwCA;AAGA,OAAO,EACN,KAAK,UAAU,EACf,MAAM,eAAe,CAAC;AACvB,OAAO,qBAAqB,CAAC;;;;;;;;;;;;;;;;;;;;;;AAuN7B,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"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type BglFormSchemaT, type BtnOptions } from '..';
|
|
2
|
+
declare function setFormValues(values: Record<string, any>): void;
|
|
2
3
|
declare const _default: import("vue").DefineComponent<{
|
|
3
4
|
modelValue: import("vue").PropType<Record<string, any>>;
|
|
4
5
|
side: {
|
|
@@ -26,7 +27,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
27
|
'onUpdate:isModalVisible': {
|
|
27
28
|
type: import("vue").PropType<(visible: boolean) => void>;
|
|
28
29
|
};
|
|
29
|
-
|
|
30
|
+
onError: {
|
|
31
|
+
type: import("vue").PropType<(err: any) => void>;
|
|
32
|
+
};
|
|
33
|
+
}, {
|
|
34
|
+
setFormValues: typeof setFormValues;
|
|
35
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
36
|
modelValue: import("vue").PropType<Record<string, any>>;
|
|
31
37
|
side: {
|
|
32
38
|
type: import("vue").PropType<boolean>;
|
|
@@ -53,6 +59,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
53
59
|
'onUpdate:isModalVisible': {
|
|
54
60
|
type: import("vue").PropType<(visible: boolean) => void>;
|
|
55
61
|
};
|
|
62
|
+
onError: {
|
|
63
|
+
type: import("vue").PropType<(err: any) => void>;
|
|
64
|
+
};
|
|
56
65
|
}>>, {}, {}>;
|
|
57
66
|
export default _default;
|
|
58
67
|
//# sourceMappingURL=ModalForm.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalForm.vue.d.ts","sourceRoot":"","sources":["../../src/components/ModalForm.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ModalForm.vue.d.ts","sourceRoot":"","sources":["../../src/components/ModalForm.vue"],"names":[],"mappings":"AAyCA;AAEA,OAAO,EACiB,KAAK,cAAc,EAAE,KAAK,UAAU,EAC3D,MAAM,eAAe,CAAC;AAoDvB,iBAAS,aAAa,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAEjD;;;;;;;;;;;;;;;;;;;;gDA4LuB,GAAG,KAAK,QAAQ,IAAI,CAAC;;;0CAE3B,MAAM,KAAK,IAAI;;;+CAEO,OAAO,KAAK,IAAI;;;2CAEtC,GAAG,KAAK,IAAI;;;;;;;;;;;;;;;;;;;;;;;gDANN,GAAG,KAAK,QAAQ,IAAI,CAAC;;;0CAE3B,MAAM,KAAK,IAAI;;;+CAEO,OAAO,KAAK,IAAI;;;2CAEtC,GAAG,KAAK,IAAI;;;AApB9B,wBA2BG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableSchema.vue.d.ts","sourceRoot":"","sources":["../../src/components/TableSchema.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TableSchema.vue.d.ts","sourceRoot":"","sources":["../../src/components/TableSchema.vue"],"names":[],"mappings":"AAmCA;AAGA,OAAO,EACN,KAAK,cAAc,EAGnB,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;AAmTvB,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"}
|
|
@@ -27,9 +27,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
27
27
|
}>>> & {
|
|
28
28
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
29
29
|
}, {
|
|
30
|
-
description: string;
|
|
31
30
|
label: string;
|
|
32
31
|
placeholder: string;
|
|
32
|
+
description: string;
|
|
33
33
|
editMode: boolean;
|
|
34
34
|
}, {}>;
|
|
35
35
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JSONInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/JSONInput.vue"],"names":[],"mappings":"AAiBA;;;;gBA2Ic,GAAG;;;;;;;;;;;;;;gBAAH,GAAG;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"JSONInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/JSONInput.vue"],"names":[],"mappings":"AAiBA;;;;gBA2Ic,GAAG;;;;;;;;;;;;;;gBAAH,GAAG;;;;;;;;;;;;WADP,MAAM;iBAEA,MAAM;iBAHN,MAAM;cAIT,OAAO;;AAVpB,wBAcG;AACH,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,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -27,9 +27,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
27
27
|
}>>> & {
|
|
28
28
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
29
29
|
}, {
|
|
30
|
-
description: string;
|
|
31
30
|
label: string;
|
|
32
31
|
placeholder: string;
|
|
32
|
+
description: string;
|
|
33
33
|
editMode: boolean;
|
|
34
34
|
}, {}>;
|
|
35
35
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RichTextEditor.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/RichTextEditor.vue"],"names":[],"mappings":"AAiBA;;;;gBA0Ic,GAAG;;;;;;;;;;;;;;gBAAH,GAAG;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"RichTextEditor.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/RichTextEditor.vue"],"names":[],"mappings":"AAiBA;;;;gBA0Ic,GAAG;;;;;;;;;;;;;;gBAAH,GAAG;;;;;;;;;;;;WADP,MAAM;iBAEA,MAAM;iBAHN,MAAM;cAIT,OAAO;;AAVpB,wBAcG;AACH,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,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -11,6 +11,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
11
11
|
placeholder?: string | undefined;
|
|
12
12
|
defaultValue?: string | number | undefined;
|
|
13
13
|
options: RawOption[] | string;
|
|
14
|
+
extraProps?: Record<string, any> | undefined;
|
|
14
15
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
16
|
"update:modelValue": (...args: any[]) => void;
|
|
16
17
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -21,6 +22,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
21
22
|
placeholder?: string | undefined;
|
|
22
23
|
defaultValue?: string | number | undefined;
|
|
23
24
|
options: RawOption[] | string;
|
|
25
|
+
extraProps?: Record<string, any> | undefined;
|
|
24
26
|
}>>> & {
|
|
25
27
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
26
28
|
}, {}, {}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/SelectInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SelectInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/SelectInput.vue"],"names":[],"mappings":"AA4BA;AAOA,KAAK,MAAM,GAAG;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB,CAAC;AACF,KAAK,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;;;;;;;;aAmJhC,SAAS,EAAE,GAAG,MAAM;;;;;;;;;;;aAApB,SAAS,EAAE,GAAG,MAAM;;;;;AAZ9B,wBAgBG;AACH,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"}
|
|
@@ -7,6 +7,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
7
7
|
small?: boolean | undefined;
|
|
8
8
|
nativeInputAttrs?: Record<string, any> | undefined;
|
|
9
9
|
showCharacterLimit?: boolean | undefined;
|
|
10
|
+
required?: boolean | undefined;
|
|
10
11
|
}>, {
|
|
11
12
|
description: string;
|
|
12
13
|
editMode: boolean;
|
|
@@ -23,6 +24,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
23
24
|
small?: boolean | undefined;
|
|
24
25
|
nativeInputAttrs?: Record<string, any> | undefined;
|
|
25
26
|
showCharacterLimit?: boolean | undefined;
|
|
27
|
+
required?: boolean | undefined;
|
|
26
28
|
}>, {
|
|
27
29
|
description: string;
|
|
28
30
|
editMode: boolean;
|
|
@@ -31,9 +33,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
31
33
|
}>>> & {
|
|
32
34
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
33
35
|
}, {
|
|
34
|
-
description: string;
|
|
35
36
|
label: string;
|
|
36
37
|
placeholder: string;
|
|
38
|
+
description: string;
|
|
37
39
|
editMode: boolean;
|
|
38
40
|
}, {}>;
|
|
39
41
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/TextArea.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TextArea.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/TextArea.vue"],"names":[],"mappings":"AAyBA;;;;gBAsKc,GAAG;;;;;;;;;;;;;;;;;gBAAH,GAAG;;;;;;;;;;;;;;;WADP,MAAM;iBAEA,MAAM;iBAHN,MAAM;cAIT,OAAO;;AAVpB,wBAiBG;AACH,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,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/TextInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TextInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/TextInput.vue"],"names":[],"mappings":"AA8DA;AAGA,OAAO,EACS,KAAK,aAAa,EACjC,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAmUd,MAAM;gBARA,MAAM,GAAG,MAAM;gBAOf,OAAO;kBASL,MAAM;;AA1BvB,wBA6BG;AACH,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,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -2308,6 +2308,9 @@ const ModalPlugin = {
|
|
|
2308
2308
|
modalType,
|
|
2309
2309
|
componentSlots: slots
|
|
2310
2310
|
});
|
|
2311
|
+
if (modalType === "modalForm")
|
|
2312
|
+
return modalStack.value.at(-1);
|
|
2313
|
+
return modalStack.value.at(-1);
|
|
2311
2314
|
};
|
|
2312
2315
|
app.provide(ModalSymbol, {
|
|
2313
2316
|
showModal: (options, slots) => showModal("modal", options, slots),
|
|
@@ -14621,7 +14624,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
14621
14624
|
});
|
|
14622
14625
|
const _hoisted_1$F = { class: "full-nav" };
|
|
14623
14626
|
const _hoisted_2$z = { class: "nav-scroll" };
|
|
14624
|
-
const _hoisted_3$
|
|
14627
|
+
const _hoisted_3$q = { class: "nav-links-wrapper" };
|
|
14625
14628
|
const _hoisted_4$j = { class: "tooltip" };
|
|
14626
14629
|
const _hoisted_5$g = { class: "bot-buttons-wrapper" };
|
|
14627
14630
|
const _hoisted_6$b = { class: "tooltip" };
|
|
@@ -14656,7 +14659,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
14656
14659
|
], 32),
|
|
14657
14660
|
vue.createElementVNode("div", _hoisted_1$F, [
|
|
14658
14661
|
vue.createElementVNode("div", _hoisted_2$z, [
|
|
14659
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
14662
|
+
vue.createElementVNode("div", _hoisted_3$q, [
|
|
14660
14663
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.links, (link) => {
|
|
14661
14664
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(link.to ? "router-link" : "div"), {
|
|
14662
14665
|
class: "nav-button",
|
|
@@ -14911,13 +14914,16 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
14911
14914
|
schema: { type: Function },
|
|
14912
14915
|
onSubmit: { type: Function },
|
|
14913
14916
|
onDelete: { type: Function },
|
|
14914
|
-
"onUpdate:isModalVisible": { type: Function }
|
|
14917
|
+
"onUpdate:isModalVisible": { type: Function },
|
|
14918
|
+
onError: { type: Function },
|
|
14919
|
+
modelValue: {}
|
|
14915
14920
|
}, {
|
|
14916
14921
|
"modelValue": { default: {} },
|
|
14917
14922
|
"modelModifiers": {}
|
|
14918
14923
|
}),
|
|
14919
14924
|
emits: ["update:modelValue"],
|
|
14920
|
-
setup(__props) {
|
|
14925
|
+
setup(__props, { expose: __expose }) {
|
|
14926
|
+
const bagel = useBagel();
|
|
14921
14927
|
const props2 = __props;
|
|
14922
14928
|
const modal = vue.ref();
|
|
14923
14929
|
const computedFormSchema = vue.computed(() => {
|
|
@@ -14932,14 +14938,17 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
14932
14938
|
return (_a2 = modal.value) == null ? void 0 : _a2.closeModal();
|
|
14933
14939
|
};
|
|
14934
14940
|
const runSubmit = async () => {
|
|
14935
|
-
var _a2, _b, _c;
|
|
14941
|
+
var _a2, _b, _c, _d;
|
|
14936
14942
|
if (((_b = (_a2 = form.value) == null ? void 0 : _a2.validateForm) == null ? void 0 : _b.call(_a2)) === false)
|
|
14937
14943
|
return;
|
|
14938
14944
|
try {
|
|
14939
14945
|
await ((_c = props2.onSubmit) == null ? void 0 : _c.call(props2, formData.value));
|
|
14940
14946
|
closeModal();
|
|
14941
14947
|
} catch (err) {
|
|
14942
|
-
|
|
14948
|
+
if (props2.onError)
|
|
14949
|
+
props2.onError(err);
|
|
14950
|
+
else
|
|
14951
|
+
(_d = bagel == null ? void 0 : bagel.onError) == null ? void 0 : _d.call(bagel, err);
|
|
14943
14952
|
}
|
|
14944
14953
|
};
|
|
14945
14954
|
const runDelete = () => {
|
|
@@ -14947,6 +14956,10 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
14947
14956
|
(_b = props2.onDelete) == null ? void 0 : _b.call(props2, (_a2 = formData.value) == null ? void 0 : _a2.id);
|
|
14948
14957
|
closeModal();
|
|
14949
14958
|
};
|
|
14959
|
+
function setFormValues(values3) {
|
|
14960
|
+
Object.assign(formData, values3);
|
|
14961
|
+
}
|
|
14962
|
+
__expose({ setFormValues });
|
|
14950
14963
|
return (_ctx, _cache) => {
|
|
14951
14964
|
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$y), {
|
|
14952
14965
|
"onOnUpdate:isModalVisible": props2["onUpdate:isModalVisible"],
|
|
@@ -14975,7 +14988,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
14975
14988
|
thin: "",
|
|
14976
14989
|
flat: "",
|
|
14977
14990
|
value: "Cancel",
|
|
14978
|
-
onClick:
|
|
14991
|
+
onClick: closeModal
|
|
14979
14992
|
}),
|
|
14980
14993
|
_ctx.onDelete ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
14981
14994
|
key: 0,
|
|
@@ -14983,13 +14996,13 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
14983
14996
|
icon: "delete",
|
|
14984
14997
|
flat: "",
|
|
14985
14998
|
value: "Delete",
|
|
14986
|
-
onClick:
|
|
14999
|
+
onClick: runDelete,
|
|
14987
15000
|
color: "red"
|
|
14988
15001
|
})) : vue.createCommentVNode("", true)
|
|
14989
15002
|
]),
|
|
14990
15003
|
vue.createVNode(vue.unref(Btn), {
|
|
14991
15004
|
value: "Submit",
|
|
14992
|
-
onClick:
|
|
15005
|
+
onClick: runSubmit
|
|
14993
15006
|
})
|
|
14994
15007
|
]),
|
|
14995
15008
|
key: "0"
|
|
@@ -14998,7 +15011,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
14998
15011
|
};
|
|
14999
15012
|
}
|
|
15000
15013
|
});
|
|
15001
|
-
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-
|
|
15014
|
+
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-5c602c4d"]]);
|
|
15002
15015
|
const _hoisted_1$C = { class: "accordion-item" };
|
|
15003
15016
|
const _hoisted_2$w = {
|
|
15004
15017
|
key: 0,
|
|
@@ -15043,7 +15056,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
15043
15056
|
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-172f43f1"]]);
|
|
15044
15057
|
const _hoisted_1$B = { class: "card list-view grid thin" };
|
|
15045
15058
|
const _hoisted_2$v = { class: "list-header flex gap-3 align-items-top" };
|
|
15046
|
-
const _hoisted_3$
|
|
15059
|
+
const _hoisted_3$p = {
|
|
15047
15060
|
key: 0,
|
|
15048
15061
|
class: "bagel-input search-wrap"
|
|
15049
15062
|
};
|
|
@@ -15067,7 +15080,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
15067
15080
|
return (_ctx, _cache) => {
|
|
15068
15081
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
|
|
15069
15082
|
vue.createElementVNode("div", _hoisted_2$v, [
|
|
15070
|
-
_ctx.enableSearch ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
15083
|
+
_ctx.enableSearch ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$p, [
|
|
15071
15084
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
15072
15085
|
placeholder: _ctx.searchPlaceholder,
|
|
15073
15086
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchTerm.value = $event),
|
|
@@ -15136,7 +15149,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
15136
15149
|
});
|
|
15137
15150
|
const _hoisted_1$z = { class: "card tabs-top" };
|
|
15138
15151
|
const _hoisted_2$t = { class: "tabs grid auto-flow-columns fit-content" };
|
|
15139
|
-
const _hoisted_3$
|
|
15152
|
+
const _hoisted_3$o = ["onClick"];
|
|
15140
15153
|
const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
15141
15154
|
__name: "TabbedLayout",
|
|
15142
15155
|
props: {
|
|
@@ -15183,7 +15196,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
15183
15196
|
}, "tab"]),
|
|
15184
15197
|
key: tab,
|
|
15185
15198
|
onClick: ($event) => changeTab(tab)
|
|
15186
|
-
}, vue.toDisplayString(tab), 11, _hoisted_3$
|
|
15199
|
+
}, vue.toDisplayString(tab), 11, _hoisted_3$o);
|
|
15187
15200
|
}), 128))
|
|
15188
15201
|
])
|
|
15189
15202
|
]),
|
|
@@ -15202,7 +15215,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
15202
15215
|
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-09fce741"]]);
|
|
15203
15216
|
const _hoisted_1$y = { class: "comments-wrap" };
|
|
15204
15217
|
const _hoisted_2$s = { class: "comment-list" };
|
|
15205
|
-
const _hoisted_3$
|
|
15218
|
+
const _hoisted_3$n = { class: "comment-top" };
|
|
15206
15219
|
const _hoisted_4$h = { class: "comment-owner" };
|
|
15207
15220
|
const _hoisted_5$e = { class: "comment-time" };
|
|
15208
15221
|
const _hoisted_6$a = { class: "comment-actions" };
|
|
@@ -15262,7 +15275,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
15262
15275
|
}, "comment"]),
|
|
15263
15276
|
key: comment.id
|
|
15264
15277
|
}, [
|
|
15265
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
15278
|
+
vue.createElementVNode("div", _hoisted_3$n, [
|
|
15266
15279
|
vue.createElementVNode("div", _hoisted_4$h, vue.toDisplayString(comment.sender.first_name) + " " + vue.toDisplayString(comment.sender.last_name), 1),
|
|
15267
15280
|
vue.createElementVNode("div", _hoisted_5$e, vue.toDisplayString(comment.updated_at.split("T")[0]), 1),
|
|
15268
15281
|
vue.createElementVNode("div", _hoisted_6$a, [
|
|
@@ -15344,7 +15357,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
15344
15357
|
});
|
|
15345
15358
|
const _hoisted_1$w = { class: "table-list-wrap h-100" };
|
|
15346
15359
|
const _hoisted_2$q = { class: "infinite-wrapper" };
|
|
15347
|
-
const _hoisted_3$
|
|
15360
|
+
const _hoisted_3$m = { class: "row first-row" };
|
|
15348
15361
|
const _hoisted_4$g = ["onClick"];
|
|
15349
15362
|
const _hoisted_5$d = { class: "flex" };
|
|
15350
15363
|
const _hoisted_6$9 = ["onClick"];
|
|
@@ -15385,7 +15398,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
15385
15398
|
return (_ctx, _cache) => {
|
|
15386
15399
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
|
|
15387
15400
|
vue.createElementVNode("table", _hoisted_2$q, [
|
|
15388
|
-
vue.createElementVNode("thead", _hoisted_3$
|
|
15401
|
+
vue.createElementVNode("thead", _hoisted_3$m, [
|
|
15389
15402
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field) => {
|
|
15390
15403
|
return vue.openBlock(), vue.createElementBlock("th", {
|
|
15391
15404
|
class: "col",
|
|
@@ -15441,7 +15454,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
15441
15454
|
};
|
|
15442
15455
|
}
|
|
15443
15456
|
});
|
|
15444
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-
|
|
15457
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-2137a7a8"]]);
|
|
15445
15458
|
const _sfc_main$p = {};
|
|
15446
15459
|
const _hoisted_1$v = { class: "flex space-between" };
|
|
15447
15460
|
function _sfc_render$1(_ctx, _cache) {
|
|
@@ -15481,7 +15494,7 @@ const _hoisted_2$p = {
|
|
|
15481
15494
|
key: 0,
|
|
15482
15495
|
class: "data-row"
|
|
15483
15496
|
};
|
|
15484
|
-
const _hoisted_3$
|
|
15497
|
+
const _hoisted_3$l = { class: "key" };
|
|
15485
15498
|
const _hoisted_4$f = { key: 1 };
|
|
15486
15499
|
const _hoisted_5$c = { class: "key" };
|
|
15487
15500
|
const _hoisted_6$8 = { class: "vlue" };
|
|
@@ -15509,7 +15522,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
15509
15522
|
key: field.id
|
|
15510
15523
|
}, [
|
|
15511
15524
|
vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$p, [
|
|
15512
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
15525
|
+
vue.createElementVNode("div", _hoisted_3$l, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1),
|
|
15513
15526
|
vue.createVNode(vue.unref(_sfc_main$h), {
|
|
15514
15527
|
field,
|
|
15515
15528
|
modelValue: itemData.value,
|
|
@@ -15615,7 +15628,7 @@ const _hoisted_2$o = {
|
|
|
15615
15628
|
key: 0,
|
|
15616
15629
|
class: "group-wrap"
|
|
15617
15630
|
};
|
|
15618
|
-
const _hoisted_3$
|
|
15631
|
+
const _hoisted_3$k = { class: "group-title" };
|
|
15619
15632
|
const _hoisted_4$e = {
|
|
15620
15633
|
key: 1,
|
|
15621
15634
|
class: "bar-wrap"
|
|
@@ -15683,7 +15696,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
15683
15696
|
key: i2
|
|
15684
15697
|
}, [
|
|
15685
15698
|
item.group ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$o, [
|
|
15686
|
-
vue.createElementVNode("p", _hoisted_3$
|
|
15699
|
+
vue.createElementVNode("p", _hoisted_3$k, vue.toDisplayString(item.group), 1),
|
|
15687
15700
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((item == null ? void 0 : item.data) || [], (nested, i22) => {
|
|
15688
15701
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
15689
15702
|
key: i22,
|
|
@@ -15742,9 +15755,9 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
15742
15755
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
15743
15756
|
const { showModal } = useModal();
|
|
15744
15757
|
const props2 = __props;
|
|
15758
|
+
const instAt = /* @__PURE__ */ new Date();
|
|
15745
15759
|
const timeSinceInst = () => (/* @__PURE__ */ new Date()).getTime() - instAt.getTime();
|
|
15746
15760
|
const emit2 = __emit;
|
|
15747
|
-
const instAt = /* @__PURE__ */ new Date();
|
|
15748
15761
|
let isDirty = vue.ref(false);
|
|
15749
15762
|
const data2 = vue.computed({
|
|
15750
15763
|
set: (val) => {
|
|
@@ -15921,7 +15934,7 @@ const _hoisted_2$n = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.cr
|
|
|
15921
15934
|
}, [
|
|
15922
15935
|
/* @__PURE__ */ vue.createElementVNode("path", { d: "M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z" })
|
|
15923
15936
|
], -1));
|
|
15924
|
-
const _hoisted_3$
|
|
15937
|
+
const _hoisted_3$j = [
|
|
15925
15938
|
_hoisted_2$n
|
|
15926
15939
|
];
|
|
15927
15940
|
const _hoisted_4$d = ["id"];
|
|
@@ -15947,7 +15960,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
15947
15960
|
vue.createElementVNode("div", {
|
|
15948
15961
|
class: vue.normalizeClass(["check-square", { checked: checked.value }]),
|
|
15949
15962
|
onClick: _cache[0] || (_cache[0] = ($event) => checked.value = !checked.value)
|
|
15950
|
-
}, _hoisted_3$
|
|
15963
|
+
}, _hoisted_3$j, 2),
|
|
15951
15964
|
vue.createElementVNode("label", null, [
|
|
15952
15965
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
15953
15966
|
id: _ctx.id,
|
|
@@ -24624,7 +24637,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
24624
24637
|
});
|
|
24625
24638
|
const _hoisted_1$p = ["title"];
|
|
24626
24639
|
const _hoisted_2$l = { key: 0 };
|
|
24627
|
-
const _hoisted_3$
|
|
24640
|
+
const _hoisted_3$i = ["value", "placeholder"];
|
|
24628
24641
|
const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
24629
24642
|
__name: "JSONInput",
|
|
24630
24643
|
props: {
|
|
@@ -24656,7 +24669,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
24656
24669
|
onInput: handleInput,
|
|
24657
24670
|
class: vue.normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
24658
24671
|
placeholder: _ctx.placeholder
|
|
24659
|
-
}, null, 42, _hoisted_3$
|
|
24672
|
+
}, null, 42, _hoisted_3$i)
|
|
24660
24673
|
], 10, _hoisted_1$p);
|
|
24661
24674
|
};
|
|
24662
24675
|
}
|
|
@@ -25654,7 +25667,7 @@ const _hoisted_1$o = {
|
|
|
25654
25667
|
class: "multiselect__tags"
|
|
25655
25668
|
};
|
|
25656
25669
|
const _hoisted_2$k = { class: "multiselect__tags-wrap" };
|
|
25657
|
-
const _hoisted_3$
|
|
25670
|
+
const _hoisted_3$h = { class: "multiselect__spinner" };
|
|
25658
25671
|
const _hoisted_4$c = { key: 0 };
|
|
25659
25672
|
const _hoisted_5$a = { class: "multiselect__option" };
|
|
25660
25673
|
const _hoisted_6$6 = { class: "multiselect__option" };
|
|
@@ -25749,7 +25762,7 @@ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25749
25762
|
vue.renderSlot(_ctx.$slots, "loading", {}, () => [
|
|
25750
25763
|
vue.withDirectives(vue.createVNode(
|
|
25751
25764
|
"div",
|
|
25752
|
-
_hoisted_3$
|
|
25765
|
+
_hoisted_3$h,
|
|
25753
25766
|
null,
|
|
25754
25767
|
512
|
|
25755
25768
|
/* NEED_PATCH */
|
|
@@ -25969,6 +25982,7 @@ script$e.render = render$e;
|
|
|
25969
25982
|
const Multiselect = script$e;
|
|
25970
25983
|
const _hoisted_1$n = { class: "pb-1" };
|
|
25971
25984
|
const _hoisted_2$j = ["for"];
|
|
25985
|
+
const _hoisted_3$g = ["name", "required"];
|
|
25972
25986
|
const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
25973
25987
|
__name: "SelectInput",
|
|
25974
25988
|
props: {
|
|
@@ -25978,7 +25992,8 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
25978
25992
|
modelValue: {},
|
|
25979
25993
|
placeholder: {},
|
|
25980
25994
|
defaultValue: {},
|
|
25981
|
-
options: {}
|
|
25995
|
+
options: {},
|
|
25996
|
+
extraProps: {}
|
|
25982
25997
|
},
|
|
25983
25998
|
emits: ["update:modelValue"],
|
|
25984
25999
|
setup(__props, { emit: __emit }) {
|
|
@@ -26017,7 +26032,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
26017
26032
|
for: _ctx.id
|
|
26018
26033
|
}, [
|
|
26019
26034
|
vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
|
|
26020
|
-
vue.createVNode(vue.unref(Multiselect), {
|
|
26035
|
+
vue.createVNode(vue.unref(Multiselect), vue.mergeProps({
|
|
26021
26036
|
ref_key: "multiselect",
|
|
26022
26037
|
ref: multiselect,
|
|
26023
26038
|
id: _ctx.id,
|
|
@@ -26028,7 +26043,15 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
26028
26043
|
placeholder: _ctx.placeholder,
|
|
26029
26044
|
modelValue: seletValue.value,
|
|
26030
26045
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => seletValue.value = $event)
|
|
26031
|
-
}, null,
|
|
26046
|
+
}, _ctx.extraProps), null, 16, ["id", "options", "required", "placeholder", "modelValue"]),
|
|
26047
|
+
vue.withDirectives(vue.createElementVNode("input", vue.mergeProps({
|
|
26048
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => seletValue.value = $event),
|
|
26049
|
+
type: "hidden",
|
|
26050
|
+
name: _ctx.id,
|
|
26051
|
+
required: _ctx.required
|
|
26052
|
+
}, _ctx.extraProps), null, 16, _hoisted_3$g), [
|
|
26053
|
+
[vue.vModelText, seletValue.value]
|
|
26054
|
+
])
|
|
26032
26055
|
], 8, _hoisted_2$j)
|
|
26033
26056
|
]);
|
|
26034
26057
|
};
|
|
@@ -28830,7 +28853,16 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
28830
28853
|
);
|
|
28831
28854
|
return (_ctx, _cache) => {
|
|
28832
28855
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
28833
|
-
class: vue.normalizeClass(["bagel-input text-input", {
|
|
28856
|
+
class: vue.normalizeClass(["bagel-input text-input", {
|
|
28857
|
+
dense: _ctx.dense,
|
|
28858
|
+
small: _ctx.small,
|
|
28859
|
+
shrink: _ctx.shrink,
|
|
28860
|
+
toggleEdit: _ctx.toggleEdit,
|
|
28861
|
+
editMode: vue.unref(editMode),
|
|
28862
|
+
code: _ctx.code,
|
|
28863
|
+
textInputIconWrap: _ctx.icon,
|
|
28864
|
+
txtInputIconStart: _ctx.iconStart
|
|
28865
|
+
}]),
|
|
28834
28866
|
title: _ctx.title
|
|
28835
28867
|
}, [
|
|
28836
28868
|
vue.createElementVNode("label", { for: _ctx.id }, [
|
|
@@ -28890,14 +28922,14 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
28890
28922
|
};
|
|
28891
28923
|
}
|
|
28892
28924
|
});
|
|
28893
|
-
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-
|
|
28925
|
+
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-e116816b"]]);
|
|
28894
28926
|
const _hoisted_1$j = ["title"];
|
|
28895
28927
|
const _hoisted_2$f = { key: 0 };
|
|
28896
28928
|
const _hoisted_3$c = {
|
|
28897
28929
|
key: 1,
|
|
28898
28930
|
class: "character-limit"
|
|
28899
28931
|
};
|
|
28900
|
-
const _hoisted_4$9 = ["value"];
|
|
28932
|
+
const _hoisted_4$9 = ["value", "required"];
|
|
28901
28933
|
const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
28902
28934
|
__name: "TextArea",
|
|
28903
28935
|
props: {
|
|
@@ -28908,7 +28940,8 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
28908
28940
|
editMode: { type: Boolean, default: true },
|
|
28909
28941
|
small: { type: Boolean },
|
|
28910
28942
|
nativeInputAttrs: {},
|
|
28911
|
-
showCharacterLimit: { type: Boolean }
|
|
28943
|
+
showCharacterLimit: { type: Boolean },
|
|
28944
|
+
required: { type: Boolean }
|
|
28912
28945
|
},
|
|
28913
28946
|
emits: ["update:modelValue"],
|
|
28914
28947
|
setup(__props, { emit: __emit }) {
|
|
@@ -28931,12 +28964,12 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
28931
28964
|
value: _ctx.modelValue,
|
|
28932
28965
|
onInput: handleInput,
|
|
28933
28966
|
class: { "no-edit": !_ctx.editMode }
|
|
28934
|
-
}, _ctx.nativeInputAttrs), null, 16, _hoisted_4$9)
|
|
28967
|
+
}, _ctx.nativeInputAttrs, { required: _ctx.required }), null, 16, _hoisted_4$9)
|
|
28935
28968
|
], 10, _hoisted_1$j);
|
|
28936
28969
|
};
|
|
28937
28970
|
}
|
|
28938
28971
|
});
|
|
28939
|
-
const TextArea = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
28972
|
+
const TextArea = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-64dc9f53"]]);
|
|
28940
28973
|
const _hoisted_1$i = { class: "primary-checkbox" };
|
|
28941
28974
|
const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
28942
28975
|
__name: "Checkbox",
|