@bagelink/vue 0.0.132 → 0.0.136
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/formkit/AddressArray.vue.d.ts +17 -24
- package/dist/components/formkit/AddressArray.vue.d.ts.map +1 -1
- package/dist/components/formkit/BankDetailsArray.vue.d.ts +19 -28
- package/dist/components/formkit/BankDetailsArray.vue.d.ts.map +1 -1
- package/dist/components/formkit/ContactArrayFormKit.vue.d.ts +15 -20
- package/dist/components/formkit/ContactArrayFormKit.vue.d.ts.map +1 -1
- package/dist/components/formkit/index.d.ts +3 -0
- package/dist/components/formkit/index.d.ts.map +1 -1
- package/dist/index.cjs +73 -55
- package/dist/index.mjs +73 -55
- package/dist/style.css +35 -35
- package/package.json +1 -1
- package/src/components/FileUploader.vue +5 -5
- package/src/components/FormKitTable.vue +1 -1
- package/src/components/form/ItemRef.vue +1 -1
- package/src/components/form/inputs/ColorPicker.vue +1 -1
- package/src/components/formkit/AddressArray.vue +27 -21
- package/src/components/formkit/BankDetailsArray.vue +29 -25
- package/src/components/formkit/ContactArrayFormKit.vue +21 -17
- package/src/components/formkit/index.ts +4 -0
|
@@ -1,29 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
add
|
|
5
|
-
cancel
|
|
6
|
-
city
|
|
7
|
-
country
|
|
8
|
-
delete
|
|
9
|
-
label
|
|
10
|
-
sure
|
|
11
|
-
zip
|
|
12
|
-
street
|
|
1
|
+
export interface AddressArrContext {
|
|
2
|
+
label?: string;
|
|
3
|
+
formPlaceholders?: {
|
|
4
|
+
add?: string;
|
|
5
|
+
cancel?: string;
|
|
6
|
+
city?: string;
|
|
7
|
+
country?: string;
|
|
8
|
+
delete?: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
sure?: string;
|
|
11
|
+
zip?: string;
|
|
12
|
+
street?: string;
|
|
13
13
|
};
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
}
|
|
16
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
17
|
+
context: AddressArrContext;
|
|
14
18
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
15
|
-
context:
|
|
16
|
-
form: {
|
|
17
|
-
add: string;
|
|
18
|
-
cancel: string;
|
|
19
|
-
city: string;
|
|
20
|
-
country: string;
|
|
21
|
-
delete: string;
|
|
22
|
-
label: string;
|
|
23
|
-
sure: string;
|
|
24
|
-
zip: string;
|
|
25
|
-
street: string;
|
|
26
|
-
};
|
|
19
|
+
context: AddressArrContext;
|
|
27
20
|
}>>>, {}, {}>;
|
|
28
21
|
export default _default;
|
|
29
22
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddressArray.vue.d.ts","sourceRoot":"","sources":["../../../src/components/formkit/AddressArray.vue"],"names":[],"mappings":"AAqFA
|
|
1
|
+
{"version":3,"file":"AddressArray.vue.d.ts","sourceRoot":"","sources":["../../../src/components/formkit/AddressArray.vue"],"names":[],"mappings":"AAqFA;AAQA,MAAM,WAAW,iBAAiB;IAEjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE;QAClB,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,MAAM,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CAEnB;;aA4US,iBAAiB;;aAAjB,iBAAiB;;AAF3B,wBAQG;AAGH,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"}
|
|
@@ -1,33 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
sure
|
|
5
|
-
delete
|
|
6
|
-
cancel
|
|
7
|
-
label
|
|
8
|
-
bankName
|
|
9
|
-
bankBranch
|
|
10
|
-
bankAccount
|
|
11
|
-
bankAccountHolder
|
|
12
|
-
bankAccountHolderID
|
|
13
|
-
bankAddress
|
|
14
|
-
add
|
|
1
|
+
export interface BankDetailsContext {
|
|
2
|
+
label?: string;
|
|
3
|
+
formPlaceholders?: {
|
|
4
|
+
sure?: string;
|
|
5
|
+
delete?: string;
|
|
6
|
+
cancel?: string;
|
|
7
|
+
label?: string;
|
|
8
|
+
bankName?: string;
|
|
9
|
+
bankBranch?: string;
|
|
10
|
+
bankAccount?: string;
|
|
11
|
+
bankAccountHolder?: string;
|
|
12
|
+
bankAccountHolderID?: string;
|
|
13
|
+
bankAddress?: string;
|
|
14
|
+
add?: string;
|
|
15
15
|
};
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
}
|
|
18
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
19
|
+
context: BankDetailsContext;
|
|
16
20
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
17
|
-
context:
|
|
18
|
-
form: {
|
|
19
|
-
sure: string;
|
|
20
|
-
delete: string;
|
|
21
|
-
cancel: string;
|
|
22
|
-
label: string;
|
|
23
|
-
bankName: string;
|
|
24
|
-
bankBranch: string;
|
|
25
|
-
bankAccount: string;
|
|
26
|
-
bankAccountHolder: string;
|
|
27
|
-
bankAccountHolderID: string;
|
|
28
|
-
bankAddress: string;
|
|
29
|
-
add: string;
|
|
30
|
-
};
|
|
21
|
+
context: BankDetailsContext;
|
|
31
22
|
}>>>, {}, {}>;
|
|
32
23
|
export default _default;
|
|
33
24
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BankDetailsArray.vue.d.ts","sourceRoot":"","sources":["../../../src/components/formkit/BankDetailsArray.vue"],"names":[],"mappings":"AA8GA
|
|
1
|
+
{"version":3,"file":"BankDetailsArray.vue.d.ts","sourceRoot":"","sources":["../../../src/components/formkit/BankDetailsArray.vue"],"names":[],"mappings":"AA8GA;AAQA,MAAM,WAAW,kBAAkB;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE;QAClB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;QAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,GAAG,CAAC,EAAE,MAAM,CAAC;KACb,CAAC;IACF,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACnB;;aAwXS,kBAAkB;;aAAlB,kBAAkB;;AAF5B,wBAQG;AAGH,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"}
|
|
@@ -1,25 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
sure
|
|
5
|
-
delete
|
|
6
|
-
cancel
|
|
7
|
-
label
|
|
8
|
-
email
|
|
9
|
-
phone
|
|
10
|
-
add
|
|
1
|
+
export interface ContactArrContext {
|
|
2
|
+
label?: string;
|
|
3
|
+
formPlaceholders?: {
|
|
4
|
+
sure?: string;
|
|
5
|
+
delete?: string;
|
|
6
|
+
cancel?: string;
|
|
7
|
+
label?: string;
|
|
8
|
+
email?: string;
|
|
9
|
+
phone?: string;
|
|
10
|
+
add?: string;
|
|
11
11
|
};
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}
|
|
14
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
15
|
+
context: ContactArrContext;
|
|
12
16
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
-
context:
|
|
14
|
-
form: {
|
|
15
|
-
sure: string;
|
|
16
|
-
delete: string;
|
|
17
|
-
cancel: string;
|
|
18
|
-
label: string;
|
|
19
|
-
email: string;
|
|
20
|
-
phone: string;
|
|
21
|
-
add: string;
|
|
22
|
-
};
|
|
17
|
+
context: ContactArrContext;
|
|
23
18
|
}>>>, {}, {}>;
|
|
24
19
|
export default _default;
|
|
25
20
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContactArrayFormKit.vue.d.ts","sourceRoot":"","sources":["../../../src/components/formkit/ContactArrayFormKit.vue"],"names":[],"mappings":"AA2EA
|
|
1
|
+
{"version":3,"file":"ContactArrayFormKit.vue.d.ts","sourceRoot":"","sources":["../../../src/components/formkit/ContactArrayFormKit.vue"],"names":[],"mappings":"AA2EA;AAQA,MAAM,WAAW,iBAAiB;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE;QAClB,IAAI,CAAC,EAAE,MAAM,CAAA;QACb,MAAM,CAAC,EAAE,MAAM,CAAA;QACf,MAAM,CAAC,EAAE,MAAM,CAAA;QACf,KAAK,CAAC,EAAE,MAAM,CAAA;QACd,KAAK,CAAC,EAAE,MAAM,CAAA;QACd,KAAK,CAAC,EAAE,MAAM,CAAA;QACd,GAAG,CAAC,EAAE,MAAM,CAAA;KACZ,CAAC;IACF,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACnB;;aA0SS,iBAAiB;;aAAjB,iBAAiB;;AAF3B,wBAQG;AAGH,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,4 +7,7 @@ declare const FileUploadInput: import("@formkit/core").FormKitTypeDefinition;
|
|
|
7
7
|
declare const TextVariablesInput: import("@formkit/core").FormKitTypeDefinition;
|
|
8
8
|
declare const PersonPreviewInput: import("@formkit/core").FormKitTypeDefinition;
|
|
9
9
|
export { TextVariablesInput, ContactArrayInput, PersonPreviewInput, AddressInput, BankDetailsInput, MiscFieldsInput, ToggleSwitchInput, FileUploadInput, };
|
|
10
|
+
export type { BankDetailsContext } from './BankDetailsArray.vue';
|
|
11
|
+
export type { AddressArrContext } from './AddressArray.vue';
|
|
12
|
+
export type { ContactArrContext } from './ContactArrayFormKit.vue';
|
|
10
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/formkit/index.ts"],"names":[],"mappings":"AAUA,QAAA,MAAM,iBAAiB,+CAAmC,CAAC;AAC3D,QAAA,MAAM,YAAY,+CAA4B,CAAC;AAC/C,QAAA,MAAM,gBAAgB,+CAAgC,CAAC;AACvD,QAAA,MAAM,eAAe,+CAA8B,CAAC;AACpD,QAAA,MAAM,iBAAiB,+CAAsB,CAAC;AAC9C,QAAA,MAAM,eAAe,+CAA4B,CAAC;AAClD,QAAA,MAAM,kBAAkB,+CAAoC,CAAC;AAC7D,QAAA,MAAM,kBAAkB,+CAAmB,CAAC;AAE5C,OAAO,EACN,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,eAAe,GACf,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/formkit/index.ts"],"names":[],"mappings":"AAUA,QAAA,MAAM,iBAAiB,+CAAmC,CAAC;AAC3D,QAAA,MAAM,YAAY,+CAA4B,CAAC;AAC/C,QAAA,MAAM,gBAAgB,+CAAgC,CAAC;AACvD,QAAA,MAAM,eAAe,+CAA8B,CAAC;AACpD,QAAA,MAAM,iBAAiB,+CAAsB,CAAC;AAC9C,QAAA,MAAM,eAAe,+CAA4B,CAAC;AAClD,QAAA,MAAM,kBAAkB,+CAAoC,CAAC;AAC7D,QAAA,MAAM,kBAAkB,+CAAmB,CAAC;AAE5C,OAAO,EACN,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,eAAe,GACf,CAAC;AAEF,YAAW,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAChE,YAAW,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,YAAW,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -17045,8 +17045,7 @@ const _hoisted_7$7 = ["onUpdate:modelValue", "placeholder"];
|
|
|
17045
17045
|
const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
17046
17046
|
__name: "ContactArrayFormKit",
|
|
17047
17047
|
props: {
|
|
17048
|
-
context: {}
|
|
17049
|
-
form: {}
|
|
17048
|
+
context: {}
|
|
17050
17049
|
},
|
|
17051
17050
|
setup(__props) {
|
|
17052
17051
|
const bagel = useBagel();
|
|
@@ -17093,30 +17092,36 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
17093
17092
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$C, [
|
|
17094
17093
|
vue.createElementVNode("div", _hoisted_2$x, [
|
|
17095
17094
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(val), (contact, i2) => {
|
|
17096
|
-
var _a, _b;
|
|
17095
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
17097
17096
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
17098
17097
|
class: "bglform-contact mb-2",
|
|
17099
17098
|
key: i2
|
|
17100
17099
|
}, [
|
|
17101
17100
|
vue.unref(deleteCandidate) === i2 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$u, [
|
|
17102
|
-
vue.createElementVNode("p", _hoisted_4$g, vue.toDisplayString(_ctx.
|
|
17101
|
+
vue.createElementVNode("p", _hoisted_4$g, vue.toDisplayString((_b = (_a = _ctx.context) == null ? void 0 : _a.formPlaceholders) == null ? void 0 : _b.sure), 1),
|
|
17103
17102
|
vue.createVNode(vue.unref(Btn), {
|
|
17104
17103
|
thin: "",
|
|
17105
17104
|
color: "red",
|
|
17106
17105
|
onClick: ($event) => deleteContact(contact.id)
|
|
17107
17106
|
}, {
|
|
17108
|
-
default: vue.withCtx(() =>
|
|
17109
|
-
|
|
17110
|
-
|
|
17107
|
+
default: vue.withCtx(() => {
|
|
17108
|
+
var _a2, _b2;
|
|
17109
|
+
return [
|
|
17110
|
+
vue.createTextVNode(vue.toDisplayString((_b2 = (_a2 = _ctx.context) == null ? void 0 : _a2.formPlaceholders) == null ? void 0 : _b2.delete), 1)
|
|
17111
|
+
];
|
|
17112
|
+
}),
|
|
17111
17113
|
_: 2
|
|
17112
17114
|
}, 1032, ["onClick"]),
|
|
17113
17115
|
vue.createVNode(vue.unref(Btn), {
|
|
17114
17116
|
thin: "",
|
|
17115
17117
|
onClick: _cache[0] || (_cache[0] = ($event) => vue.isRef(deleteCandidate) ? deleteCandidate.value = -1 : deleteCandidate = -1)
|
|
17116
17118
|
}, {
|
|
17117
|
-
default: vue.withCtx(() =>
|
|
17118
|
-
|
|
17119
|
-
|
|
17119
|
+
default: vue.withCtx(() => {
|
|
17120
|
+
var _a2, _b2;
|
|
17121
|
+
return [
|
|
17122
|
+
vue.createTextVNode(vue.toDisplayString((_b2 = (_a2 = _ctx.context) == null ? void 0 : _a2.formPlaceholders) == null ? void 0 : _b2.cancel), 1)
|
|
17123
|
+
];
|
|
17124
|
+
}),
|
|
17120
17125
|
_: 1
|
|
17121
17126
|
})
|
|
17122
17127
|
])) : vue.createCommentVNode("", true),
|
|
@@ -17128,22 +17133,22 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
17128
17133
|
class: "bglform-contact-label",
|
|
17129
17134
|
"onUpdate:modelValue": ($event) => contact.label = $event,
|
|
17130
17135
|
type: "text",
|
|
17131
|
-
placeholder: _ctx.
|
|
17136
|
+
placeholder: (_d = (_c = _ctx.context) == null ? void 0 : _c.formPlaceholders) == null ? void 0 : _d.label
|
|
17132
17137
|
}, null, 8, _hoisted_5$e), [
|
|
17133
17138
|
[vue.vModelText, contact.label]
|
|
17134
17139
|
]),
|
|
17135
|
-
((
|
|
17140
|
+
((_e = _ctx.context) == null ? void 0 : _e.id) === "email" ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
17136
17141
|
key: 1,
|
|
17137
17142
|
"onUpdate:modelValue": ($event) => contact.email = $event,
|
|
17138
|
-
placeholder: _ctx.
|
|
17143
|
+
placeholder: (_g = (_f = _ctx.context) == null ? void 0 : _f.formPlaceholders) == null ? void 0 : _g.email,
|
|
17139
17144
|
type: "email"
|
|
17140
17145
|
}, null, 8, _hoisted_6$b)), [
|
|
17141
17146
|
[vue.vModelText, contact.email]
|
|
17142
17147
|
]) : vue.createCommentVNode("", true),
|
|
17143
|
-
((
|
|
17148
|
+
((_h = _ctx.context) == null ? void 0 : _h.id) === "phone" ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
17144
17149
|
key: 2,
|
|
17145
17150
|
"onUpdate:modelValue": ($event) => contact.phone = $event,
|
|
17146
|
-
placeholder: _ctx.
|
|
17151
|
+
placeholder: (_j = (_i = _ctx.context) == null ? void 0 : _i.formPlaceholders) == null ? void 0 : _j.phone,
|
|
17147
17152
|
type: "tel"
|
|
17148
17153
|
}, null, 8, _hoisted_7$7)), [
|
|
17149
17154
|
[vue.vModelText, contact.phone]
|
|
@@ -17165,9 +17170,9 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
17165
17170
|
onClick: _cache[1] || (_cache[1] = ($event) => vue.unref(val).push({}))
|
|
17166
17171
|
}, {
|
|
17167
17172
|
default: vue.withCtx(() => {
|
|
17168
|
-
var _a;
|
|
17173
|
+
var _a, _b, _c;
|
|
17169
17174
|
return [
|
|
17170
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.
|
|
17175
|
+
vue.createTextVNode(vue.toDisplayString((_b = (_a = _ctx.context) == null ? void 0 : _a.formPlaceholders) == null ? void 0 : _b.add) + " " + vue.toDisplayString((_c = _ctx.context) == null ? void 0 : _c.label), 1)
|
|
17171
17176
|
];
|
|
17172
17177
|
}),
|
|
17173
17178
|
_: 1
|
|
@@ -17177,7 +17182,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
17177
17182
|
};
|
|
17178
17183
|
}
|
|
17179
17184
|
});
|
|
17180
|
-
const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-
|
|
17185
|
+
const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-33e63930"]]);
|
|
17181
17186
|
const _hoisted_1$B = { class: "bagel-input" };
|
|
17182
17187
|
const _hoisted_2$w = { class: "mt-1" };
|
|
17183
17188
|
const _hoisted_3$t = {
|
|
@@ -17196,8 +17201,7 @@ const _hoisted_12$1 = { class: "bglform-address-del" };
|
|
|
17196
17201
|
const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
17197
17202
|
__name: "AddressArray",
|
|
17198
17203
|
props: {
|
|
17199
|
-
context: {}
|
|
17200
|
-
form: {}
|
|
17204
|
+
context: {}
|
|
17201
17205
|
},
|
|
17202
17206
|
setup(__props) {
|
|
17203
17207
|
const bagel = useBagel();
|
|
@@ -17250,29 +17254,36 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
17250
17254
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
|
|
17251
17255
|
vue.createElementVNode("div", _hoisted_2$w, [
|
|
17252
17256
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(val), (address, i2) => {
|
|
17257
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
17253
17258
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
17254
17259
|
class: "bglform-contact mb-3",
|
|
17255
17260
|
key: i2
|
|
17256
17261
|
}, [
|
|
17257
17262
|
vue.unref(deleteCandidate) === i2 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$t, [
|
|
17258
|
-
vue.createElementVNode("p", _hoisted_4$f, vue.toDisplayString(_ctx.
|
|
17263
|
+
vue.createElementVNode("p", _hoisted_4$f, vue.toDisplayString((_b = (_a = _ctx.context) == null ? void 0 : _a.formPlaceholders) == null ? void 0 : _b.sure), 1),
|
|
17259
17264
|
vue.createVNode(vue.unref(Btn), {
|
|
17260
17265
|
thin: "",
|
|
17261
17266
|
color: "red",
|
|
17262
17267
|
onClick: ($event) => deleteContact(address.id)
|
|
17263
17268
|
}, {
|
|
17264
|
-
default: vue.withCtx(() =>
|
|
17265
|
-
|
|
17266
|
-
|
|
17269
|
+
default: vue.withCtx(() => {
|
|
17270
|
+
var _a2, _b2;
|
|
17271
|
+
return [
|
|
17272
|
+
vue.createTextVNode(vue.toDisplayString((_b2 = (_a2 = _ctx.context) == null ? void 0 : _a2.formPlaceholders) == null ? void 0 : _b2.delete), 1)
|
|
17273
|
+
];
|
|
17274
|
+
}),
|
|
17267
17275
|
_: 2
|
|
17268
17276
|
}, 1032, ["onClick"]),
|
|
17269
17277
|
vue.createVNode(vue.unref(Btn), {
|
|
17270
17278
|
thin: "",
|
|
17271
17279
|
onClick: _cache[0] || (_cache[0] = ($event) => vue.isRef(deleteCandidate) ? deleteCandidate.value = -1 : deleteCandidate = -1)
|
|
17272
17280
|
}, {
|
|
17273
|
-
default: vue.withCtx(() =>
|
|
17274
|
-
|
|
17275
|
-
|
|
17281
|
+
default: vue.withCtx(() => {
|
|
17282
|
+
var _a2, _b2;
|
|
17283
|
+
return [
|
|
17284
|
+
vue.createTextVNode(vue.toDisplayString((_b2 = (_a2 = _ctx.context) == null ? void 0 : _a2.formPlaceholders) == null ? void 0 : _b2.cancel), 1)
|
|
17285
|
+
];
|
|
17286
|
+
}),
|
|
17276
17287
|
_: 1
|
|
17277
17288
|
})
|
|
17278
17289
|
])) : vue.createCommentVNode("", true),
|
|
@@ -17284,14 +17295,14 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
17284
17295
|
class: "bglform-contact-label",
|
|
17285
17296
|
"onUpdate:modelValue": ($event) => address.label = $event,
|
|
17286
17297
|
type: "text",
|
|
17287
|
-
placeholder: _ctx.
|
|
17298
|
+
placeholder: (_d = (_c = _ctx.context) == null ? void 0 : _c.formPlaceholders) == null ? void 0 : _d.label
|
|
17288
17299
|
}, null, 8, _hoisted_5$d), [
|
|
17289
17300
|
[vue.vModelText, address.label]
|
|
17290
17301
|
]),
|
|
17291
17302
|
vue.createElementVNode("div", _hoisted_6$a, [
|
|
17292
17303
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
17293
17304
|
"onUpdate:modelValue": ($event) => address.street = $event,
|
|
17294
|
-
placeholder: _ctx.
|
|
17305
|
+
placeholder: (_f = (_e = _ctx.context) == null ? void 0 : _e.formPlaceholders) == null ? void 0 : _f.street,
|
|
17295
17306
|
type: "text"
|
|
17296
17307
|
}, null, 8, _hoisted_7$6), [
|
|
17297
17308
|
[vue.vModelText, address.street]
|
|
@@ -17299,14 +17310,14 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
17299
17310
|
vue.createElementVNode("div", _hoisted_8$3, [
|
|
17300
17311
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
17301
17312
|
"onUpdate:modelValue": ($event) => address.city = $event,
|
|
17302
|
-
placeholder: _ctx.
|
|
17313
|
+
placeholder: (_h = (_g = _ctx.context) == null ? void 0 : _g.formPlaceholders) == null ? void 0 : _h.city,
|
|
17303
17314
|
type: "text"
|
|
17304
17315
|
}, null, 8, _hoisted_9$3), [
|
|
17305
17316
|
[vue.vModelText, address.city]
|
|
17306
17317
|
]),
|
|
17307
17318
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
17308
17319
|
"onUpdate:modelValue": ($event) => address.postal_code = $event,
|
|
17309
|
-
placeholder: _ctx.
|
|
17320
|
+
placeholder: (_j = (_i = _ctx.context) == null ? void 0 : _i.formPlaceholders) == null ? void 0 : _j.zip,
|
|
17310
17321
|
type: "text"
|
|
17311
17322
|
}, null, 8, _hoisted_10$2), [
|
|
17312
17323
|
[vue.vModelText, address.postal_code]
|
|
@@ -17314,7 +17325,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
17314
17325
|
]),
|
|
17315
17326
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
17316
17327
|
"onUpdate:modelValue": ($event) => address.country = $event,
|
|
17317
|
-
placeholder: _ctx.
|
|
17328
|
+
placeholder: (_l = (_k = _ctx.context) == null ? void 0 : _k.formPlaceholders) == null ? void 0 : _l.country,
|
|
17318
17329
|
type: "text"
|
|
17319
17330
|
}, null, 8, _hoisted_11$1), [
|
|
17320
17331
|
[vue.vModelText, address.country]
|
|
@@ -17338,9 +17349,9 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
17338
17349
|
onClick: addNew
|
|
17339
17350
|
}, {
|
|
17340
17351
|
default: vue.withCtx(() => {
|
|
17341
|
-
var _a;
|
|
17352
|
+
var _a, _b, _c;
|
|
17342
17353
|
return [
|
|
17343
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.
|
|
17354
|
+
vue.createTextVNode(vue.toDisplayString((_b = (_a = _ctx.context) == null ? void 0 : _a.formPlaceholders) == null ? void 0 : _b.add) + " " + vue.toDisplayString((_c = _ctx.context) == null ? void 0 : _c.label), 1)
|
|
17344
17355
|
];
|
|
17345
17356
|
}),
|
|
17346
17357
|
_: 1
|
|
@@ -17350,7 +17361,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
17350
17361
|
};
|
|
17351
17362
|
}
|
|
17352
17363
|
});
|
|
17353
|
-
const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-
|
|
17364
|
+
const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-0b835e6e"]]);
|
|
17354
17365
|
const _hoisted_1$A = { class: "bagel-input" };
|
|
17355
17366
|
const _hoisted_2$v = { class: "mt-1" };
|
|
17356
17367
|
const _hoisted_3$s = {
|
|
@@ -17374,8 +17385,7 @@ const _hoisted_17 = { class: "bglform-address-del" };
|
|
|
17374
17385
|
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
17375
17386
|
__name: "BankDetailsArray",
|
|
17376
17387
|
props: {
|
|
17377
|
-
context: {}
|
|
17378
|
-
form: {}
|
|
17388
|
+
context: {}
|
|
17379
17389
|
},
|
|
17380
17390
|
setup(__props) {
|
|
17381
17391
|
const bagel = useBagel();
|
|
@@ -17422,29 +17432,36 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
17422
17432
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
|
|
17423
17433
|
vue.createElementVNode("div", _hoisted_2$v, [
|
|
17424
17434
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(val), (bank_account, i2) => {
|
|
17435
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
|
|
17425
17436
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
17426
17437
|
class: "bglform-contact mb-3",
|
|
17427
17438
|
key: i2
|
|
17428
17439
|
}, [
|
|
17429
17440
|
vue.unref(deleteCandidate) === i2 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$s, [
|
|
17430
|
-
vue.createElementVNode("p", _hoisted_4$e, vue.toDisplayString(_ctx.
|
|
17441
|
+
vue.createElementVNode("p", _hoisted_4$e, vue.toDisplayString((_b = (_a = _ctx.context) == null ? void 0 : _a.formPlaceholders) == null ? void 0 : _b.sure), 1),
|
|
17431
17442
|
vue.createVNode(vue.unref(Btn), {
|
|
17432
17443
|
thin: "",
|
|
17433
17444
|
color: "red",
|
|
17434
17445
|
onClick: ($event) => deleteContact(bank_account.id)
|
|
17435
17446
|
}, {
|
|
17436
|
-
default: vue.withCtx(() =>
|
|
17437
|
-
|
|
17438
|
-
|
|
17447
|
+
default: vue.withCtx(() => {
|
|
17448
|
+
var _a2, _b2;
|
|
17449
|
+
return [
|
|
17450
|
+
vue.createTextVNode(vue.toDisplayString((_b2 = (_a2 = _ctx.context) == null ? void 0 : _a2.formPlaceholders) == null ? void 0 : _b2.delete), 1)
|
|
17451
|
+
];
|
|
17452
|
+
}),
|
|
17439
17453
|
_: 2
|
|
17440
17454
|
}, 1032, ["onClick"]),
|
|
17441
17455
|
vue.createVNode(vue.unref(Btn), {
|
|
17442
17456
|
thin: "",
|
|
17443
17457
|
onClick: _cache[0] || (_cache[0] = ($event) => vue.isRef(deleteCandidate) ? deleteCandidate.value = -1 : deleteCandidate = -1)
|
|
17444
17458
|
}, {
|
|
17445
|
-
default: vue.withCtx(() =>
|
|
17446
|
-
|
|
17447
|
-
|
|
17459
|
+
default: vue.withCtx(() => {
|
|
17460
|
+
var _a2, _b2;
|
|
17461
|
+
return [
|
|
17462
|
+
vue.createTextVNode(vue.toDisplayString((_b2 = (_a2 = _ctx.context) == null ? void 0 : _a2.formPlaceholders) == null ? void 0 : _b2.cancel), 1)
|
|
17463
|
+
];
|
|
17464
|
+
}),
|
|
17448
17465
|
_: 1
|
|
17449
17466
|
})
|
|
17450
17467
|
])) : vue.createCommentVNode("", true),
|
|
@@ -17456,14 +17473,14 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
17456
17473
|
class: "bglform-contact-label",
|
|
17457
17474
|
"onUpdate:modelValue": ($event) => bank_account.label = $event,
|
|
17458
17475
|
type: "text",
|
|
17459
|
-
placeholder: _ctx.
|
|
17476
|
+
placeholder: (_d = (_c = _ctx.context) == null ? void 0 : _c.formPlaceholders) == null ? void 0 : _d.label
|
|
17460
17477
|
}, null, 8, _hoisted_5$c), [
|
|
17461
17478
|
[vue.vModelText, bank_account.label]
|
|
17462
17479
|
]),
|
|
17463
17480
|
vue.createElementVNode("div", _hoisted_6$9, [
|
|
17464
17481
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
17465
17482
|
"onUpdate:modelValue": ($event) => bank_account.bank_name = $event,
|
|
17466
|
-
placeholder: _ctx.
|
|
17483
|
+
placeholder: (_f = (_e = _ctx.context) == null ? void 0 : _e.formPlaceholders) == null ? void 0 : _f.bankName,
|
|
17467
17484
|
type: "text",
|
|
17468
17485
|
required: ""
|
|
17469
17486
|
}, null, 8, _hoisted_7$5), [
|
|
@@ -17472,7 +17489,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
17472
17489
|
vue.createElementVNode("div", _hoisted_8$2, [
|
|
17473
17490
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
17474
17491
|
"onUpdate:modelValue": ($event) => bank_account.branch = $event,
|
|
17475
|
-
placeholder: _ctx.
|
|
17492
|
+
placeholder: (_h = (_g = _ctx.context) == null ? void 0 : _g.formPlaceholders) == null ? void 0 : _h.bankBranch,
|
|
17476
17493
|
type: "text",
|
|
17477
17494
|
required: ""
|
|
17478
17495
|
}, null, 8, _hoisted_9$2), [
|
|
@@ -17480,7 +17497,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
17480
17497
|
]),
|
|
17481
17498
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
17482
17499
|
"onUpdate:modelValue": ($event) => bank_account.account_number = $event,
|
|
17483
|
-
placeholder: _ctx.
|
|
17500
|
+
placeholder: (_j = (_i = _ctx.context) == null ? void 0 : _i.formPlaceholders) == null ? void 0 : _j.bankAccount,
|
|
17484
17501
|
type: "text",
|
|
17485
17502
|
required: ""
|
|
17486
17503
|
}, null, 8, _hoisted_10$1), [
|
|
@@ -17490,7 +17507,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
17490
17507
|
vue.createElementVNode("div", _hoisted_11, [
|
|
17491
17508
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
17492
17509
|
"onUpdate:modelValue": ($event) => bank_account.bank_account_holder = $event,
|
|
17493
|
-
placeholder: _ctx.
|
|
17510
|
+
placeholder: (_l = (_k = _ctx.context) == null ? void 0 : _k.formPlaceholders) == null ? void 0 : _l.bankAccountHolder,
|
|
17494
17511
|
type: "text",
|
|
17495
17512
|
required: ""
|
|
17496
17513
|
}, null, 8, _hoisted_12), [
|
|
@@ -17498,7 +17515,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
17498
17515
|
]),
|
|
17499
17516
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
17500
17517
|
"onUpdate:modelValue": ($event) => bank_account.bank_account_holder_id = $event,
|
|
17501
|
-
placeholder: _ctx.
|
|
17518
|
+
placeholder: (_n = (_m = _ctx.context) == null ? void 0 : _m.formPlaceholders) == null ? void 0 : _n.bankAccountHolderID,
|
|
17502
17519
|
type: "text"
|
|
17503
17520
|
}, null, 8, _hoisted_13), [
|
|
17504
17521
|
[vue.vModelText, bank_account.bank_account_holder_id]
|
|
@@ -17519,7 +17536,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
17519
17536
|
]),
|
|
17520
17537
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
17521
17538
|
"onUpdate:modelValue": ($event) => bank_account.bank_address = $event,
|
|
17522
|
-
placeholder: _ctx.
|
|
17539
|
+
placeholder: (_p = (_o = _ctx.context) == null ? void 0 : _o.formPlaceholders) == null ? void 0 : _p.bankAddress,
|
|
17523
17540
|
type: "text"
|
|
17524
17541
|
}, null, 8, _hoisted_16), [
|
|
17525
17542
|
[vue.vModelText, bank_account.bank_address]
|
|
@@ -17544,9 +17561,9 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
17544
17561
|
onClick: _cache[1] || (_cache[1] = ($event) => vue.unref(val).push({}))
|
|
17545
17562
|
}, {
|
|
17546
17563
|
default: vue.withCtx(() => {
|
|
17547
|
-
var _a;
|
|
17564
|
+
var _a, _b, _c;
|
|
17548
17565
|
return [
|
|
17549
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.
|
|
17566
|
+
vue.createTextVNode(vue.toDisplayString((_b = (_a = _ctx.context) == null ? void 0 : _a.formPlaceholders) == null ? void 0 : _b.add) + " " + vue.toDisplayString((_c = _ctx.context) == null ? void 0 : _c.label), 1)
|
|
17550
17567
|
];
|
|
17551
17568
|
}),
|
|
17552
17569
|
_: 1
|
|
@@ -17556,7 +17573,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
17556
17573
|
};
|
|
17557
17574
|
}
|
|
17558
17575
|
});
|
|
17559
|
-
const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-
|
|
17576
|
+
const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-60b0c498"]]);
|
|
17560
17577
|
const _hoisted_1$z = { class: "misc-wrap" };
|
|
17561
17578
|
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
17562
17579
|
__name: "MiscFields",
|
|
@@ -18094,8 +18111,9 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
18094
18111
|
void props2.router.push(`/${props2.field.refCollection}/${(_b = props2.modelValue) == null ? void 0 : _b.id}`);
|
|
18095
18112
|
};
|
|
18096
18113
|
return (_ctx, _cache) => {
|
|
18114
|
+
var _a;
|
|
18097
18115
|
return vue.openBlock(), vue.createElementBlock("div", null, [
|
|
18098
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.field.label || _ctx.field.id) + " ", 1),
|
|
18116
|
+
vue.createTextVNode(vue.toDisplayString(((_a = _ctx.field) == null ? void 0 : _a.label) || _ctx.field.id) + " ", 1),
|
|
18099
18117
|
_ctx.field.refCollection ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
18100
18118
|
key: 0,
|
|
18101
18119
|
color: "gray",
|