@bagelink/vue 0.0.130 → 0.0.134
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/DataPreview.vue.d.ts.map +1 -1
- package/dist/components/TableSchema.vue.d.ts.map +1 -1
- 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/index.d.ts +2 -0
- package/dist/components/formkit/index.d.ts.map +1 -1
- package/dist/index.cjs +54 -48
- package/dist/index.mjs +54 -48
- package/dist/style.css +50 -50
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/DataPreview.vue +2 -2
- package/src/components/FileUploader.vue +5 -5
- package/src/components/FormKitTable.vue +1 -1
- package/src/components/TableSchema.vue +2 -3
- 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/index.ts +3 -0
- package/src/utils/index.ts +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataPreview.vue.d.ts","sourceRoot":"","sources":["../../src/components/DataPreview.vue"],"names":[],"mappings":"AA6CA;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"DataPreview.vue.d.ts","sourceRoot":"","sources":["../../src/components/DataPreview.vue"],"names":[],"mappings":"AA6CA;;;;;;;;;;;;;;;;;;;;AAsMA,wBAAwG;AAGxG,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;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -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":"AA+DA;;;;;;;;;;;;;;;AAwUA,wBAAwG;AAGxG,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,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"}
|
|
@@ -7,4 +7,6 @@ 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';
|
|
10
12
|
//# 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"}
|
package/dist/index.cjs
CHANGED
|
@@ -2364,12 +2364,6 @@ const useFormkit = () => {
|
|
|
2364
2364
|
return formkit;
|
|
2365
2365
|
};
|
|
2366
2366
|
const initials = (...strArr) => strArr.map((str) => str == null ? void 0 : str.charAt(0)).join("");
|
|
2367
|
-
const parseLocale = (str, i18nT = (_str) => _str) => {
|
|
2368
|
-
const [_, w] = str.split(/\$t\('?"?|'?"?\)/);
|
|
2369
|
-
if (!w)
|
|
2370
|
-
return str;
|
|
2371
|
-
return i18nT(w);
|
|
2372
|
-
};
|
|
2373
2367
|
const _hoisted_1$V = { ref: "el" };
|
|
2374
2368
|
const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
2375
2369
|
__name: "LangText",
|
|
@@ -15230,7 +15224,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
15230
15224
|
key: field.id,
|
|
15231
15225
|
class: "data-row"
|
|
15232
15226
|
}, [
|
|
15233
|
-
vue.createElementVNode("div", _hoisted_3$y, vue.toDisplayString(field
|
|
15227
|
+
vue.createElementVNode("div", _hoisted_3$y, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1),
|
|
15234
15228
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(field.$el || "div"), { class: "vlue" }, {
|
|
15235
15229
|
default: vue.withCtx(() => [
|
|
15236
15230
|
vue.createTextVNode(vue.toDisplayString(_ctx.data[field.id] || field.defaultValue), 1)
|
|
@@ -15257,7 +15251,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
15257
15251
|
};
|
|
15258
15252
|
}
|
|
15259
15253
|
});
|
|
15260
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-
|
|
15254
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-0350cc0c"]]);
|
|
15261
15255
|
const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
15262
15256
|
__name: "FormSchema",
|
|
15263
15257
|
props: {
|
|
@@ -15398,7 +15392,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
15398
15392
|
onClick: ($event) => sort2(field.id)
|
|
15399
15393
|
}, [
|
|
15400
15394
|
vue.createElementVNode("div", _hoisted_5$h, [
|
|
15401
|
-
vue.createTextVNode(vue.toDisplayString(
|
|
15395
|
+
vue.createTextVNode(vue.toDisplayString((field == null ? void 0 : field.label) || (field == null ? void 0 : field.id)) + " ", 1),
|
|
15402
15396
|
vue.createElementVNode("div", {
|
|
15403
15397
|
class: vue.normalizeClass(["list-arrows", { sorted: vue.unref(sortField) === field.id }])
|
|
15404
15398
|
}, [
|
|
@@ -15454,7 +15448,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
15454
15448
|
};
|
|
15455
15449
|
}
|
|
15456
15450
|
});
|
|
15457
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-
|
|
15451
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-fa7146ce"]]);
|
|
15458
15452
|
const _sfc_main$z = {};
|
|
15459
15453
|
const _hoisted_1$H = { class: "flex space-between" };
|
|
15460
15454
|
function _sfc_render$1(_ctx, _cache) {
|
|
@@ -17202,8 +17196,7 @@ const _hoisted_12$1 = { class: "bglform-address-del" };
|
|
|
17202
17196
|
const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
17203
17197
|
__name: "AddressArray",
|
|
17204
17198
|
props: {
|
|
17205
|
-
context: {}
|
|
17206
|
-
form: {}
|
|
17199
|
+
context: {}
|
|
17207
17200
|
},
|
|
17208
17201
|
setup(__props) {
|
|
17209
17202
|
const bagel = useBagel();
|
|
@@ -17256,29 +17249,36 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
17256
17249
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
|
|
17257
17250
|
vue.createElementVNode("div", _hoisted_2$w, [
|
|
17258
17251
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(val), (address, i2) => {
|
|
17252
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
17259
17253
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
17260
17254
|
class: "bglform-contact mb-3",
|
|
17261
17255
|
key: i2
|
|
17262
17256
|
}, [
|
|
17263
17257
|
vue.unref(deleteCandidate) === i2 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$t, [
|
|
17264
|
-
vue.createElementVNode("p", _hoisted_4$f, vue.toDisplayString(_ctx.
|
|
17258
|
+
vue.createElementVNode("p", _hoisted_4$f, vue.toDisplayString((_b = (_a = _ctx.context) == null ? void 0 : _a.formPlaceholders) == null ? void 0 : _b.sure), 1),
|
|
17265
17259
|
vue.createVNode(vue.unref(Btn), {
|
|
17266
17260
|
thin: "",
|
|
17267
17261
|
color: "red",
|
|
17268
17262
|
onClick: ($event) => deleteContact(address.id)
|
|
17269
17263
|
}, {
|
|
17270
|
-
default: vue.withCtx(() =>
|
|
17271
|
-
|
|
17272
|
-
|
|
17264
|
+
default: vue.withCtx(() => {
|
|
17265
|
+
var _a2, _b2;
|
|
17266
|
+
return [
|
|
17267
|
+
vue.createTextVNode(vue.toDisplayString((_b2 = (_a2 = _ctx.context) == null ? void 0 : _a2.formPlaceholders) == null ? void 0 : _b2.delete), 1)
|
|
17268
|
+
];
|
|
17269
|
+
}),
|
|
17273
17270
|
_: 2
|
|
17274
17271
|
}, 1032, ["onClick"]),
|
|
17275
17272
|
vue.createVNode(vue.unref(Btn), {
|
|
17276
17273
|
thin: "",
|
|
17277
17274
|
onClick: _cache[0] || (_cache[0] = ($event) => vue.isRef(deleteCandidate) ? deleteCandidate.value = -1 : deleteCandidate = -1)
|
|
17278
17275
|
}, {
|
|
17279
|
-
default: vue.withCtx(() =>
|
|
17280
|
-
|
|
17281
|
-
|
|
17276
|
+
default: vue.withCtx(() => {
|
|
17277
|
+
var _a2, _b2;
|
|
17278
|
+
return [
|
|
17279
|
+
vue.createTextVNode(vue.toDisplayString((_b2 = (_a2 = _ctx.context) == null ? void 0 : _a2.formPlaceholders) == null ? void 0 : _b2.cancel), 1)
|
|
17280
|
+
];
|
|
17281
|
+
}),
|
|
17282
17282
|
_: 1
|
|
17283
17283
|
})
|
|
17284
17284
|
])) : vue.createCommentVNode("", true),
|
|
@@ -17290,14 +17290,14 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
17290
17290
|
class: "bglform-contact-label",
|
|
17291
17291
|
"onUpdate:modelValue": ($event) => address.label = $event,
|
|
17292
17292
|
type: "text",
|
|
17293
|
-
placeholder: _ctx.
|
|
17293
|
+
placeholder: (_d = (_c = _ctx.context) == null ? void 0 : _c.formPlaceholders) == null ? void 0 : _d.label
|
|
17294
17294
|
}, null, 8, _hoisted_5$d), [
|
|
17295
17295
|
[vue.vModelText, address.label]
|
|
17296
17296
|
]),
|
|
17297
17297
|
vue.createElementVNode("div", _hoisted_6$a, [
|
|
17298
17298
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
17299
17299
|
"onUpdate:modelValue": ($event) => address.street = $event,
|
|
17300
|
-
placeholder: _ctx.
|
|
17300
|
+
placeholder: (_f = (_e = _ctx.context) == null ? void 0 : _e.formPlaceholders) == null ? void 0 : _f.street,
|
|
17301
17301
|
type: "text"
|
|
17302
17302
|
}, null, 8, _hoisted_7$6), [
|
|
17303
17303
|
[vue.vModelText, address.street]
|
|
@@ -17305,14 +17305,14 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
17305
17305
|
vue.createElementVNode("div", _hoisted_8$3, [
|
|
17306
17306
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
17307
17307
|
"onUpdate:modelValue": ($event) => address.city = $event,
|
|
17308
|
-
placeholder: _ctx.
|
|
17308
|
+
placeholder: (_h = (_g = _ctx.context) == null ? void 0 : _g.formPlaceholders) == null ? void 0 : _h.city,
|
|
17309
17309
|
type: "text"
|
|
17310
17310
|
}, null, 8, _hoisted_9$3), [
|
|
17311
17311
|
[vue.vModelText, address.city]
|
|
17312
17312
|
]),
|
|
17313
17313
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
17314
17314
|
"onUpdate:modelValue": ($event) => address.postal_code = $event,
|
|
17315
|
-
placeholder: _ctx.
|
|
17315
|
+
placeholder: (_j = (_i = _ctx.context) == null ? void 0 : _i.formPlaceholders) == null ? void 0 : _j.zip,
|
|
17316
17316
|
type: "text"
|
|
17317
17317
|
}, null, 8, _hoisted_10$2), [
|
|
17318
17318
|
[vue.vModelText, address.postal_code]
|
|
@@ -17320,7 +17320,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
17320
17320
|
]),
|
|
17321
17321
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
17322
17322
|
"onUpdate:modelValue": ($event) => address.country = $event,
|
|
17323
|
-
placeholder: _ctx.
|
|
17323
|
+
placeholder: (_l = (_k = _ctx.context) == null ? void 0 : _k.formPlaceholders) == null ? void 0 : _l.country,
|
|
17324
17324
|
type: "text"
|
|
17325
17325
|
}, null, 8, _hoisted_11$1), [
|
|
17326
17326
|
[vue.vModelText, address.country]
|
|
@@ -17344,9 +17344,9 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
17344
17344
|
onClick: addNew
|
|
17345
17345
|
}, {
|
|
17346
17346
|
default: vue.withCtx(() => {
|
|
17347
|
-
var _a;
|
|
17347
|
+
var _a, _b, _c;
|
|
17348
17348
|
return [
|
|
17349
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.
|
|
17349
|
+
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)
|
|
17350
17350
|
];
|
|
17351
17351
|
}),
|
|
17352
17352
|
_: 1
|
|
@@ -17356,7 +17356,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
17356
17356
|
};
|
|
17357
17357
|
}
|
|
17358
17358
|
});
|
|
17359
|
-
const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-
|
|
17359
|
+
const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-0b835e6e"]]);
|
|
17360
17360
|
const _hoisted_1$A = { class: "bagel-input" };
|
|
17361
17361
|
const _hoisted_2$v = { class: "mt-1" };
|
|
17362
17362
|
const _hoisted_3$s = {
|
|
@@ -17380,8 +17380,7 @@ const _hoisted_17 = { class: "bglform-address-del" };
|
|
|
17380
17380
|
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
17381
17381
|
__name: "BankDetailsArray",
|
|
17382
17382
|
props: {
|
|
17383
|
-
context: {}
|
|
17384
|
-
form: {}
|
|
17383
|
+
context: {}
|
|
17385
17384
|
},
|
|
17386
17385
|
setup(__props) {
|
|
17387
17386
|
const bagel = useBagel();
|
|
@@ -17428,29 +17427,36 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
17428
17427
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
|
|
17429
17428
|
vue.createElementVNode("div", _hoisted_2$v, [
|
|
17430
17429
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(val), (bank_account, i2) => {
|
|
17430
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
|
|
17431
17431
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
17432
17432
|
class: "bglform-contact mb-3",
|
|
17433
17433
|
key: i2
|
|
17434
17434
|
}, [
|
|
17435
17435
|
vue.unref(deleteCandidate) === i2 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$s, [
|
|
17436
|
-
vue.createElementVNode("p", _hoisted_4$e, vue.toDisplayString(_ctx.
|
|
17436
|
+
vue.createElementVNode("p", _hoisted_4$e, vue.toDisplayString((_b = (_a = _ctx.context) == null ? void 0 : _a.formPlaceholders) == null ? void 0 : _b.sure), 1),
|
|
17437
17437
|
vue.createVNode(vue.unref(Btn), {
|
|
17438
17438
|
thin: "",
|
|
17439
17439
|
color: "red",
|
|
17440
17440
|
onClick: ($event) => deleteContact(bank_account.id)
|
|
17441
17441
|
}, {
|
|
17442
|
-
default: vue.withCtx(() =>
|
|
17443
|
-
|
|
17444
|
-
|
|
17442
|
+
default: vue.withCtx(() => {
|
|
17443
|
+
var _a2, _b2;
|
|
17444
|
+
return [
|
|
17445
|
+
vue.createTextVNode(vue.toDisplayString((_b2 = (_a2 = _ctx.context) == null ? void 0 : _a2.formPlaceholders) == null ? void 0 : _b2.delete), 1)
|
|
17446
|
+
];
|
|
17447
|
+
}),
|
|
17445
17448
|
_: 2
|
|
17446
17449
|
}, 1032, ["onClick"]),
|
|
17447
17450
|
vue.createVNode(vue.unref(Btn), {
|
|
17448
17451
|
thin: "",
|
|
17449
17452
|
onClick: _cache[0] || (_cache[0] = ($event) => vue.isRef(deleteCandidate) ? deleteCandidate.value = -1 : deleteCandidate = -1)
|
|
17450
17453
|
}, {
|
|
17451
|
-
default: vue.withCtx(() =>
|
|
17452
|
-
|
|
17453
|
-
|
|
17454
|
+
default: vue.withCtx(() => {
|
|
17455
|
+
var _a2, _b2;
|
|
17456
|
+
return [
|
|
17457
|
+
vue.createTextVNode(vue.toDisplayString((_b2 = (_a2 = _ctx.context) == null ? void 0 : _a2.formPlaceholders) == null ? void 0 : _b2.cancel), 1)
|
|
17458
|
+
];
|
|
17459
|
+
}),
|
|
17454
17460
|
_: 1
|
|
17455
17461
|
})
|
|
17456
17462
|
])) : vue.createCommentVNode("", true),
|
|
@@ -17462,14 +17468,14 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
17462
17468
|
class: "bglform-contact-label",
|
|
17463
17469
|
"onUpdate:modelValue": ($event) => bank_account.label = $event,
|
|
17464
17470
|
type: "text",
|
|
17465
|
-
placeholder: _ctx.
|
|
17471
|
+
placeholder: (_d = (_c = _ctx.context) == null ? void 0 : _c.formPlaceholders) == null ? void 0 : _d.label
|
|
17466
17472
|
}, null, 8, _hoisted_5$c), [
|
|
17467
17473
|
[vue.vModelText, bank_account.label]
|
|
17468
17474
|
]),
|
|
17469
17475
|
vue.createElementVNode("div", _hoisted_6$9, [
|
|
17470
17476
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
17471
17477
|
"onUpdate:modelValue": ($event) => bank_account.bank_name = $event,
|
|
17472
|
-
placeholder: _ctx.
|
|
17478
|
+
placeholder: (_f = (_e = _ctx.context) == null ? void 0 : _e.formPlaceholders) == null ? void 0 : _f.bankName,
|
|
17473
17479
|
type: "text",
|
|
17474
17480
|
required: ""
|
|
17475
17481
|
}, null, 8, _hoisted_7$5), [
|
|
@@ -17478,7 +17484,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
17478
17484
|
vue.createElementVNode("div", _hoisted_8$2, [
|
|
17479
17485
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
17480
17486
|
"onUpdate:modelValue": ($event) => bank_account.branch = $event,
|
|
17481
|
-
placeholder: _ctx.
|
|
17487
|
+
placeholder: (_h = (_g = _ctx.context) == null ? void 0 : _g.formPlaceholders) == null ? void 0 : _h.bankBranch,
|
|
17482
17488
|
type: "text",
|
|
17483
17489
|
required: ""
|
|
17484
17490
|
}, null, 8, _hoisted_9$2), [
|
|
@@ -17486,7 +17492,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
17486
17492
|
]),
|
|
17487
17493
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
17488
17494
|
"onUpdate:modelValue": ($event) => bank_account.account_number = $event,
|
|
17489
|
-
placeholder: _ctx.
|
|
17495
|
+
placeholder: (_j = (_i = _ctx.context) == null ? void 0 : _i.formPlaceholders) == null ? void 0 : _j.bankAccount,
|
|
17490
17496
|
type: "text",
|
|
17491
17497
|
required: ""
|
|
17492
17498
|
}, null, 8, _hoisted_10$1), [
|
|
@@ -17496,7 +17502,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
17496
17502
|
vue.createElementVNode("div", _hoisted_11, [
|
|
17497
17503
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
17498
17504
|
"onUpdate:modelValue": ($event) => bank_account.bank_account_holder = $event,
|
|
17499
|
-
placeholder: _ctx.
|
|
17505
|
+
placeholder: (_l = (_k = _ctx.context) == null ? void 0 : _k.formPlaceholders) == null ? void 0 : _l.bankAccountHolder,
|
|
17500
17506
|
type: "text",
|
|
17501
17507
|
required: ""
|
|
17502
17508
|
}, null, 8, _hoisted_12), [
|
|
@@ -17504,7 +17510,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
17504
17510
|
]),
|
|
17505
17511
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
17506
17512
|
"onUpdate:modelValue": ($event) => bank_account.bank_account_holder_id = $event,
|
|
17507
|
-
placeholder: _ctx.
|
|
17513
|
+
placeholder: (_n = (_m = _ctx.context) == null ? void 0 : _m.formPlaceholders) == null ? void 0 : _n.bankAccountHolderID,
|
|
17508
17514
|
type: "text"
|
|
17509
17515
|
}, null, 8, _hoisted_13), [
|
|
17510
17516
|
[vue.vModelText, bank_account.bank_account_holder_id]
|
|
@@ -17525,7 +17531,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
17525
17531
|
]),
|
|
17526
17532
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
17527
17533
|
"onUpdate:modelValue": ($event) => bank_account.bank_address = $event,
|
|
17528
|
-
placeholder: _ctx.
|
|
17534
|
+
placeholder: (_p = (_o = _ctx.context) == null ? void 0 : _o.formPlaceholders) == null ? void 0 : _p.bankAddress,
|
|
17529
17535
|
type: "text"
|
|
17530
17536
|
}, null, 8, _hoisted_16), [
|
|
17531
17537
|
[vue.vModelText, bank_account.bank_address]
|
|
@@ -17550,9 +17556,9 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
17550
17556
|
onClick: _cache[1] || (_cache[1] = ($event) => vue.unref(val).push({}))
|
|
17551
17557
|
}, {
|
|
17552
17558
|
default: vue.withCtx(() => {
|
|
17553
|
-
var _a;
|
|
17559
|
+
var _a, _b, _c;
|
|
17554
17560
|
return [
|
|
17555
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.
|
|
17561
|
+
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)
|
|
17556
17562
|
];
|
|
17557
17563
|
}),
|
|
17558
17564
|
_: 1
|
|
@@ -17562,7 +17568,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
17562
17568
|
};
|
|
17563
17569
|
}
|
|
17564
17570
|
});
|
|
17565
|
-
const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-
|
|
17571
|
+
const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-60b0c498"]]);
|
|
17566
17572
|
const _hoisted_1$z = { class: "misc-wrap" };
|
|
17567
17573
|
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
17568
17574
|
__name: "MiscFields",
|
|
@@ -18100,8 +18106,9 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
18100
18106
|
void props2.router.push(`/${props2.field.refCollection}/${(_b = props2.modelValue) == null ? void 0 : _b.id}`);
|
|
18101
18107
|
};
|
|
18102
18108
|
return (_ctx, _cache) => {
|
|
18109
|
+
var _a;
|
|
18103
18110
|
return vue.openBlock(), vue.createElementBlock("div", null, [
|
|
18104
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.field.label || _ctx.field.id) + " ", 1),
|
|
18111
|
+
vue.createTextVNode(vue.toDisplayString(((_a = _ctx.field) == null ? void 0 : _a.label) || _ctx.field.id) + " ", 1),
|
|
18105
18112
|
_ctx.field.refCollection ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
18106
18113
|
key: 0,
|
|
18107
18114
|
color: "gray",
|
|
@@ -28500,7 +28507,6 @@ exports.debounce = debounce;
|
|
|
28500
28507
|
exports.formatString = formatString;
|
|
28501
28508
|
exports.initials = initials;
|
|
28502
28509
|
exports.keyToLabel = keyToLabel;
|
|
28503
|
-
exports.parseLocale = parseLocale;
|
|
28504
28510
|
exports.useBagel = useBagel;
|
|
28505
28511
|
exports.useFormkit = useFormkit;
|
|
28506
28512
|
exports.useModal = useModal;
|