@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
package/dist/index.mjs
CHANGED
|
@@ -17043,8 +17043,7 @@ const _hoisted_7$7 = ["onUpdate:modelValue", "placeholder"];
|
|
|
17043
17043
|
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
17044
17044
|
__name: "ContactArrayFormKit",
|
|
17045
17045
|
props: {
|
|
17046
|
-
context: {}
|
|
17047
|
-
form: {}
|
|
17046
|
+
context: {}
|
|
17048
17047
|
},
|
|
17049
17048
|
setup(__props) {
|
|
17050
17049
|
const bagel = useBagel();
|
|
@@ -17091,30 +17090,36 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
17091
17090
|
return openBlock(), createElementBlock("div", _hoisted_1$C, [
|
|
17092
17091
|
createElementVNode("div", _hoisted_2$x, [
|
|
17093
17092
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(val), (contact, i2) => {
|
|
17094
|
-
var _a, _b;
|
|
17093
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
17095
17094
|
return openBlock(), createElementBlock("div", {
|
|
17096
17095
|
class: "bglform-contact mb-2",
|
|
17097
17096
|
key: i2
|
|
17098
17097
|
}, [
|
|
17099
17098
|
unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$u, [
|
|
17100
|
-
createElementVNode("p", _hoisted_4$g, toDisplayString(_ctx.
|
|
17099
|
+
createElementVNode("p", _hoisted_4$g, toDisplayString((_b = (_a = _ctx.context) == null ? void 0 : _a.formPlaceholders) == null ? void 0 : _b.sure), 1),
|
|
17101
17100
|
createVNode(unref(Btn), {
|
|
17102
17101
|
thin: "",
|
|
17103
17102
|
color: "red",
|
|
17104
17103
|
onClick: ($event) => deleteContact(contact.id)
|
|
17105
17104
|
}, {
|
|
17106
|
-
default: withCtx(() =>
|
|
17107
|
-
|
|
17108
|
-
|
|
17105
|
+
default: withCtx(() => {
|
|
17106
|
+
var _a2, _b2;
|
|
17107
|
+
return [
|
|
17108
|
+
createTextVNode(toDisplayString((_b2 = (_a2 = _ctx.context) == null ? void 0 : _a2.formPlaceholders) == null ? void 0 : _b2.delete), 1)
|
|
17109
|
+
];
|
|
17110
|
+
}),
|
|
17109
17111
|
_: 2
|
|
17110
17112
|
}, 1032, ["onClick"]),
|
|
17111
17113
|
createVNode(unref(Btn), {
|
|
17112
17114
|
thin: "",
|
|
17113
17115
|
onClick: _cache[0] || (_cache[0] = ($event) => isRef(deleteCandidate) ? deleteCandidate.value = -1 : deleteCandidate = -1)
|
|
17114
17116
|
}, {
|
|
17115
|
-
default: withCtx(() =>
|
|
17116
|
-
|
|
17117
|
-
|
|
17117
|
+
default: withCtx(() => {
|
|
17118
|
+
var _a2, _b2;
|
|
17119
|
+
return [
|
|
17120
|
+
createTextVNode(toDisplayString((_b2 = (_a2 = _ctx.context) == null ? void 0 : _a2.formPlaceholders) == null ? void 0 : _b2.cancel), 1)
|
|
17121
|
+
];
|
|
17122
|
+
}),
|
|
17118
17123
|
_: 1
|
|
17119
17124
|
})
|
|
17120
17125
|
])) : createCommentVNode("", true),
|
|
@@ -17126,22 +17131,22 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
17126
17131
|
class: "bglform-contact-label",
|
|
17127
17132
|
"onUpdate:modelValue": ($event) => contact.label = $event,
|
|
17128
17133
|
type: "text",
|
|
17129
|
-
placeholder: _ctx.
|
|
17134
|
+
placeholder: (_d = (_c = _ctx.context) == null ? void 0 : _c.formPlaceholders) == null ? void 0 : _d.label
|
|
17130
17135
|
}, null, 8, _hoisted_5$e), [
|
|
17131
17136
|
[vModelText, contact.label]
|
|
17132
17137
|
]),
|
|
17133
|
-
((
|
|
17138
|
+
((_e = _ctx.context) == null ? void 0 : _e.id) === "email" ? withDirectives((openBlock(), createElementBlock("input", {
|
|
17134
17139
|
key: 1,
|
|
17135
17140
|
"onUpdate:modelValue": ($event) => contact.email = $event,
|
|
17136
|
-
placeholder: _ctx.
|
|
17141
|
+
placeholder: (_g = (_f = _ctx.context) == null ? void 0 : _f.formPlaceholders) == null ? void 0 : _g.email,
|
|
17137
17142
|
type: "email"
|
|
17138
17143
|
}, null, 8, _hoisted_6$b)), [
|
|
17139
17144
|
[vModelText, contact.email]
|
|
17140
17145
|
]) : createCommentVNode("", true),
|
|
17141
|
-
((
|
|
17146
|
+
((_h = _ctx.context) == null ? void 0 : _h.id) === "phone" ? withDirectives((openBlock(), createElementBlock("input", {
|
|
17142
17147
|
key: 2,
|
|
17143
17148
|
"onUpdate:modelValue": ($event) => contact.phone = $event,
|
|
17144
|
-
placeholder: _ctx.
|
|
17149
|
+
placeholder: (_j = (_i = _ctx.context) == null ? void 0 : _i.formPlaceholders) == null ? void 0 : _j.phone,
|
|
17145
17150
|
type: "tel"
|
|
17146
17151
|
}, null, 8, _hoisted_7$7)), [
|
|
17147
17152
|
[vModelText, contact.phone]
|
|
@@ -17163,9 +17168,9 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
17163
17168
|
onClick: _cache[1] || (_cache[1] = ($event) => unref(val).push({}))
|
|
17164
17169
|
}, {
|
|
17165
17170
|
default: withCtx(() => {
|
|
17166
|
-
var _a;
|
|
17171
|
+
var _a, _b, _c;
|
|
17167
17172
|
return [
|
|
17168
|
-
createTextVNode(toDisplayString(_ctx.
|
|
17173
|
+
createTextVNode(toDisplayString((_b = (_a = _ctx.context) == null ? void 0 : _a.formPlaceholders) == null ? void 0 : _b.add) + " " + toDisplayString((_c = _ctx.context) == null ? void 0 : _c.label), 1)
|
|
17169
17174
|
];
|
|
17170
17175
|
}),
|
|
17171
17176
|
_: 1
|
|
@@ -17175,7 +17180,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
17175
17180
|
};
|
|
17176
17181
|
}
|
|
17177
17182
|
});
|
|
17178
|
-
const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-
|
|
17183
|
+
const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-33e63930"]]);
|
|
17179
17184
|
const _hoisted_1$B = { class: "bagel-input" };
|
|
17180
17185
|
const _hoisted_2$w = { class: "mt-1" };
|
|
17181
17186
|
const _hoisted_3$t = {
|
|
@@ -17194,8 +17199,7 @@ const _hoisted_12$1 = { class: "bglform-address-del" };
|
|
|
17194
17199
|
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
17195
17200
|
__name: "AddressArray",
|
|
17196
17201
|
props: {
|
|
17197
|
-
context: {}
|
|
17198
|
-
form: {}
|
|
17202
|
+
context: {}
|
|
17199
17203
|
},
|
|
17200
17204
|
setup(__props) {
|
|
17201
17205
|
const bagel = useBagel();
|
|
@@ -17248,29 +17252,36 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
17248
17252
|
return openBlock(), createElementBlock("div", _hoisted_1$B, [
|
|
17249
17253
|
createElementVNode("div", _hoisted_2$w, [
|
|
17250
17254
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(val), (address, i2) => {
|
|
17255
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
17251
17256
|
return openBlock(), createElementBlock("div", {
|
|
17252
17257
|
class: "bglform-contact mb-3",
|
|
17253
17258
|
key: i2
|
|
17254
17259
|
}, [
|
|
17255
17260
|
unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$t, [
|
|
17256
|
-
createElementVNode("p", _hoisted_4$f, toDisplayString(_ctx.
|
|
17261
|
+
createElementVNode("p", _hoisted_4$f, toDisplayString((_b = (_a = _ctx.context) == null ? void 0 : _a.formPlaceholders) == null ? void 0 : _b.sure), 1),
|
|
17257
17262
|
createVNode(unref(Btn), {
|
|
17258
17263
|
thin: "",
|
|
17259
17264
|
color: "red",
|
|
17260
17265
|
onClick: ($event) => deleteContact(address.id)
|
|
17261
17266
|
}, {
|
|
17262
|
-
default: withCtx(() =>
|
|
17263
|
-
|
|
17264
|
-
|
|
17267
|
+
default: withCtx(() => {
|
|
17268
|
+
var _a2, _b2;
|
|
17269
|
+
return [
|
|
17270
|
+
createTextVNode(toDisplayString((_b2 = (_a2 = _ctx.context) == null ? void 0 : _a2.formPlaceholders) == null ? void 0 : _b2.delete), 1)
|
|
17271
|
+
];
|
|
17272
|
+
}),
|
|
17265
17273
|
_: 2
|
|
17266
17274
|
}, 1032, ["onClick"]),
|
|
17267
17275
|
createVNode(unref(Btn), {
|
|
17268
17276
|
thin: "",
|
|
17269
17277
|
onClick: _cache[0] || (_cache[0] = ($event) => isRef(deleteCandidate) ? deleteCandidate.value = -1 : deleteCandidate = -1)
|
|
17270
17278
|
}, {
|
|
17271
|
-
default: withCtx(() =>
|
|
17272
|
-
|
|
17273
|
-
|
|
17279
|
+
default: withCtx(() => {
|
|
17280
|
+
var _a2, _b2;
|
|
17281
|
+
return [
|
|
17282
|
+
createTextVNode(toDisplayString((_b2 = (_a2 = _ctx.context) == null ? void 0 : _a2.formPlaceholders) == null ? void 0 : _b2.cancel), 1)
|
|
17283
|
+
];
|
|
17284
|
+
}),
|
|
17274
17285
|
_: 1
|
|
17275
17286
|
})
|
|
17276
17287
|
])) : createCommentVNode("", true),
|
|
@@ -17282,14 +17293,14 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
17282
17293
|
class: "bglform-contact-label",
|
|
17283
17294
|
"onUpdate:modelValue": ($event) => address.label = $event,
|
|
17284
17295
|
type: "text",
|
|
17285
|
-
placeholder: _ctx.
|
|
17296
|
+
placeholder: (_d = (_c = _ctx.context) == null ? void 0 : _c.formPlaceholders) == null ? void 0 : _d.label
|
|
17286
17297
|
}, null, 8, _hoisted_5$d), [
|
|
17287
17298
|
[vModelText, address.label]
|
|
17288
17299
|
]),
|
|
17289
17300
|
createElementVNode("div", _hoisted_6$a, [
|
|
17290
17301
|
withDirectives(createElementVNode("input", {
|
|
17291
17302
|
"onUpdate:modelValue": ($event) => address.street = $event,
|
|
17292
|
-
placeholder: _ctx.
|
|
17303
|
+
placeholder: (_f = (_e = _ctx.context) == null ? void 0 : _e.formPlaceholders) == null ? void 0 : _f.street,
|
|
17293
17304
|
type: "text"
|
|
17294
17305
|
}, null, 8, _hoisted_7$6), [
|
|
17295
17306
|
[vModelText, address.street]
|
|
@@ -17297,14 +17308,14 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
17297
17308
|
createElementVNode("div", _hoisted_8$3, [
|
|
17298
17309
|
withDirectives(createElementVNode("input", {
|
|
17299
17310
|
"onUpdate:modelValue": ($event) => address.city = $event,
|
|
17300
|
-
placeholder: _ctx.
|
|
17311
|
+
placeholder: (_h = (_g = _ctx.context) == null ? void 0 : _g.formPlaceholders) == null ? void 0 : _h.city,
|
|
17301
17312
|
type: "text"
|
|
17302
17313
|
}, null, 8, _hoisted_9$3), [
|
|
17303
17314
|
[vModelText, address.city]
|
|
17304
17315
|
]),
|
|
17305
17316
|
withDirectives(createElementVNode("input", {
|
|
17306
17317
|
"onUpdate:modelValue": ($event) => address.postal_code = $event,
|
|
17307
|
-
placeholder: _ctx.
|
|
17318
|
+
placeholder: (_j = (_i = _ctx.context) == null ? void 0 : _i.formPlaceholders) == null ? void 0 : _j.zip,
|
|
17308
17319
|
type: "text"
|
|
17309
17320
|
}, null, 8, _hoisted_10$2), [
|
|
17310
17321
|
[vModelText, address.postal_code]
|
|
@@ -17312,7 +17323,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
17312
17323
|
]),
|
|
17313
17324
|
withDirectives(createElementVNode("input", {
|
|
17314
17325
|
"onUpdate:modelValue": ($event) => address.country = $event,
|
|
17315
|
-
placeholder: _ctx.
|
|
17326
|
+
placeholder: (_l = (_k = _ctx.context) == null ? void 0 : _k.formPlaceholders) == null ? void 0 : _l.country,
|
|
17316
17327
|
type: "text"
|
|
17317
17328
|
}, null, 8, _hoisted_11$1), [
|
|
17318
17329
|
[vModelText, address.country]
|
|
@@ -17336,9 +17347,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
17336
17347
|
onClick: addNew
|
|
17337
17348
|
}, {
|
|
17338
17349
|
default: withCtx(() => {
|
|
17339
|
-
var _a;
|
|
17350
|
+
var _a, _b, _c;
|
|
17340
17351
|
return [
|
|
17341
|
-
createTextVNode(toDisplayString(_ctx.
|
|
17352
|
+
createTextVNode(toDisplayString((_b = (_a = _ctx.context) == null ? void 0 : _a.formPlaceholders) == null ? void 0 : _b.add) + " " + toDisplayString((_c = _ctx.context) == null ? void 0 : _c.label), 1)
|
|
17342
17353
|
];
|
|
17343
17354
|
}),
|
|
17344
17355
|
_: 1
|
|
@@ -17348,7 +17359,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
17348
17359
|
};
|
|
17349
17360
|
}
|
|
17350
17361
|
});
|
|
17351
|
-
const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-
|
|
17362
|
+
const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-0b835e6e"]]);
|
|
17352
17363
|
const _hoisted_1$A = { class: "bagel-input" };
|
|
17353
17364
|
const _hoisted_2$v = { class: "mt-1" };
|
|
17354
17365
|
const _hoisted_3$s = {
|
|
@@ -17372,8 +17383,7 @@ const _hoisted_17 = { class: "bglform-address-del" };
|
|
|
17372
17383
|
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
17373
17384
|
__name: "BankDetailsArray",
|
|
17374
17385
|
props: {
|
|
17375
|
-
context: {}
|
|
17376
|
-
form: {}
|
|
17386
|
+
context: {}
|
|
17377
17387
|
},
|
|
17378
17388
|
setup(__props) {
|
|
17379
17389
|
const bagel = useBagel();
|
|
@@ -17420,29 +17430,36 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
17420
17430
|
return openBlock(), createElementBlock("div", _hoisted_1$A, [
|
|
17421
17431
|
createElementVNode("div", _hoisted_2$v, [
|
|
17422
17432
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(val), (bank_account, i2) => {
|
|
17433
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
|
|
17423
17434
|
return openBlock(), createElementBlock("div", {
|
|
17424
17435
|
class: "bglform-contact mb-3",
|
|
17425
17436
|
key: i2
|
|
17426
17437
|
}, [
|
|
17427
17438
|
unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$s, [
|
|
17428
|
-
createElementVNode("p", _hoisted_4$e, toDisplayString(_ctx.
|
|
17439
|
+
createElementVNode("p", _hoisted_4$e, toDisplayString((_b = (_a = _ctx.context) == null ? void 0 : _a.formPlaceholders) == null ? void 0 : _b.sure), 1),
|
|
17429
17440
|
createVNode(unref(Btn), {
|
|
17430
17441
|
thin: "",
|
|
17431
17442
|
color: "red",
|
|
17432
17443
|
onClick: ($event) => deleteContact(bank_account.id)
|
|
17433
17444
|
}, {
|
|
17434
|
-
default: withCtx(() =>
|
|
17435
|
-
|
|
17436
|
-
|
|
17445
|
+
default: withCtx(() => {
|
|
17446
|
+
var _a2, _b2;
|
|
17447
|
+
return [
|
|
17448
|
+
createTextVNode(toDisplayString((_b2 = (_a2 = _ctx.context) == null ? void 0 : _a2.formPlaceholders) == null ? void 0 : _b2.delete), 1)
|
|
17449
|
+
];
|
|
17450
|
+
}),
|
|
17437
17451
|
_: 2
|
|
17438
17452
|
}, 1032, ["onClick"]),
|
|
17439
17453
|
createVNode(unref(Btn), {
|
|
17440
17454
|
thin: "",
|
|
17441
17455
|
onClick: _cache[0] || (_cache[0] = ($event) => isRef(deleteCandidate) ? deleteCandidate.value = -1 : deleteCandidate = -1)
|
|
17442
17456
|
}, {
|
|
17443
|
-
default: withCtx(() =>
|
|
17444
|
-
|
|
17445
|
-
|
|
17457
|
+
default: withCtx(() => {
|
|
17458
|
+
var _a2, _b2;
|
|
17459
|
+
return [
|
|
17460
|
+
createTextVNode(toDisplayString((_b2 = (_a2 = _ctx.context) == null ? void 0 : _a2.formPlaceholders) == null ? void 0 : _b2.cancel), 1)
|
|
17461
|
+
];
|
|
17462
|
+
}),
|
|
17446
17463
|
_: 1
|
|
17447
17464
|
})
|
|
17448
17465
|
])) : createCommentVNode("", true),
|
|
@@ -17454,14 +17471,14 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
17454
17471
|
class: "bglform-contact-label",
|
|
17455
17472
|
"onUpdate:modelValue": ($event) => bank_account.label = $event,
|
|
17456
17473
|
type: "text",
|
|
17457
|
-
placeholder: _ctx.
|
|
17474
|
+
placeholder: (_d = (_c = _ctx.context) == null ? void 0 : _c.formPlaceholders) == null ? void 0 : _d.label
|
|
17458
17475
|
}, null, 8, _hoisted_5$c), [
|
|
17459
17476
|
[vModelText, bank_account.label]
|
|
17460
17477
|
]),
|
|
17461
17478
|
createElementVNode("div", _hoisted_6$9, [
|
|
17462
17479
|
withDirectives(createElementVNode("input", {
|
|
17463
17480
|
"onUpdate:modelValue": ($event) => bank_account.bank_name = $event,
|
|
17464
|
-
placeholder: _ctx.
|
|
17481
|
+
placeholder: (_f = (_e = _ctx.context) == null ? void 0 : _e.formPlaceholders) == null ? void 0 : _f.bankName,
|
|
17465
17482
|
type: "text",
|
|
17466
17483
|
required: ""
|
|
17467
17484
|
}, null, 8, _hoisted_7$5), [
|
|
@@ -17470,7 +17487,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
17470
17487
|
createElementVNode("div", _hoisted_8$2, [
|
|
17471
17488
|
withDirectives(createElementVNode("input", {
|
|
17472
17489
|
"onUpdate:modelValue": ($event) => bank_account.branch = $event,
|
|
17473
|
-
placeholder: _ctx.
|
|
17490
|
+
placeholder: (_h = (_g = _ctx.context) == null ? void 0 : _g.formPlaceholders) == null ? void 0 : _h.bankBranch,
|
|
17474
17491
|
type: "text",
|
|
17475
17492
|
required: ""
|
|
17476
17493
|
}, null, 8, _hoisted_9$2), [
|
|
@@ -17478,7 +17495,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
17478
17495
|
]),
|
|
17479
17496
|
withDirectives(createElementVNode("input", {
|
|
17480
17497
|
"onUpdate:modelValue": ($event) => bank_account.account_number = $event,
|
|
17481
|
-
placeholder: _ctx.
|
|
17498
|
+
placeholder: (_j = (_i = _ctx.context) == null ? void 0 : _i.formPlaceholders) == null ? void 0 : _j.bankAccount,
|
|
17482
17499
|
type: "text",
|
|
17483
17500
|
required: ""
|
|
17484
17501
|
}, null, 8, _hoisted_10$1), [
|
|
@@ -17488,7 +17505,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
17488
17505
|
createElementVNode("div", _hoisted_11, [
|
|
17489
17506
|
withDirectives(createElementVNode("input", {
|
|
17490
17507
|
"onUpdate:modelValue": ($event) => bank_account.bank_account_holder = $event,
|
|
17491
|
-
placeholder: _ctx.
|
|
17508
|
+
placeholder: (_l = (_k = _ctx.context) == null ? void 0 : _k.formPlaceholders) == null ? void 0 : _l.bankAccountHolder,
|
|
17492
17509
|
type: "text",
|
|
17493
17510
|
required: ""
|
|
17494
17511
|
}, null, 8, _hoisted_12), [
|
|
@@ -17496,7 +17513,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
17496
17513
|
]),
|
|
17497
17514
|
withDirectives(createElementVNode("input", {
|
|
17498
17515
|
"onUpdate:modelValue": ($event) => bank_account.bank_account_holder_id = $event,
|
|
17499
|
-
placeholder: _ctx.
|
|
17516
|
+
placeholder: (_n = (_m = _ctx.context) == null ? void 0 : _m.formPlaceholders) == null ? void 0 : _n.bankAccountHolderID,
|
|
17500
17517
|
type: "text"
|
|
17501
17518
|
}, null, 8, _hoisted_13), [
|
|
17502
17519
|
[vModelText, bank_account.bank_account_holder_id]
|
|
@@ -17517,7 +17534,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
17517
17534
|
]),
|
|
17518
17535
|
withDirectives(createElementVNode("input", {
|
|
17519
17536
|
"onUpdate:modelValue": ($event) => bank_account.bank_address = $event,
|
|
17520
|
-
placeholder: _ctx.
|
|
17537
|
+
placeholder: (_p = (_o = _ctx.context) == null ? void 0 : _o.formPlaceholders) == null ? void 0 : _p.bankAddress,
|
|
17521
17538
|
type: "text"
|
|
17522
17539
|
}, null, 8, _hoisted_16), [
|
|
17523
17540
|
[vModelText, bank_account.bank_address]
|
|
@@ -17542,9 +17559,9 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
17542
17559
|
onClick: _cache[1] || (_cache[1] = ($event) => unref(val).push({}))
|
|
17543
17560
|
}, {
|
|
17544
17561
|
default: withCtx(() => {
|
|
17545
|
-
var _a;
|
|
17562
|
+
var _a, _b, _c;
|
|
17546
17563
|
return [
|
|
17547
|
-
createTextVNode(toDisplayString(_ctx.
|
|
17564
|
+
createTextVNode(toDisplayString((_b = (_a = _ctx.context) == null ? void 0 : _a.formPlaceholders) == null ? void 0 : _b.add) + " " + toDisplayString((_c = _ctx.context) == null ? void 0 : _c.label), 1)
|
|
17548
17565
|
];
|
|
17549
17566
|
}),
|
|
17550
17567
|
_: 1
|
|
@@ -17554,7 +17571,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
17554
17571
|
};
|
|
17555
17572
|
}
|
|
17556
17573
|
});
|
|
17557
|
-
const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-
|
|
17574
|
+
const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-60b0c498"]]);
|
|
17558
17575
|
const _hoisted_1$z = { class: "misc-wrap" };
|
|
17559
17576
|
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
17560
17577
|
__name: "MiscFields",
|
|
@@ -18092,8 +18109,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18092
18109
|
void props2.router.push(`/${props2.field.refCollection}/${(_b = props2.modelValue) == null ? void 0 : _b.id}`);
|
|
18093
18110
|
};
|
|
18094
18111
|
return (_ctx, _cache) => {
|
|
18112
|
+
var _a;
|
|
18095
18113
|
return openBlock(), createElementBlock("div", null, [
|
|
18096
|
-
createTextVNode(toDisplayString(_ctx.field.label || _ctx.field.id) + " ", 1),
|
|
18114
|
+
createTextVNode(toDisplayString(((_a = _ctx.field) == null ? void 0 : _a.label) || _ctx.field.id) + " ", 1),
|
|
18097
18115
|
_ctx.field.refCollection ? (openBlock(), createBlock(unref(Btn), {
|
|
18098
18116
|
key: 0,
|
|
18099
18117
|
color: "gray",
|
package/dist/style.css
CHANGED
|
@@ -1159,34 +1159,34 @@ th[data-v-fa7146ce] {
|
|
|
1159
1159
|
border: none;
|
|
1160
1160
|
}
|
|
1161
1161
|
|
|
1162
|
-
.bglform-contact[data-v-
|
|
1162
|
+
.bglform-contact[data-v-33e63930] {
|
|
1163
1163
|
display: flex;
|
|
1164
1164
|
align-items: center;
|
|
1165
1165
|
gap: 0.5rem;
|
|
1166
1166
|
max-width: 700px;
|
|
1167
1167
|
position: relative;
|
|
1168
1168
|
}
|
|
1169
|
-
.bglform-contact-label[data-v-
|
|
1169
|
+
.bglform-contact-label[data-v-33e63930] {
|
|
1170
1170
|
flex-basis: 140px;
|
|
1171
1171
|
}
|
|
1172
|
-
.bglform-contact input[type='checkbox'][data-v-
|
|
1172
|
+
.bglform-contact input[type='checkbox'][data-v-33e63930] {
|
|
1173
1173
|
width: 30px;
|
|
1174
1174
|
min-width: 0;
|
|
1175
1175
|
}
|
|
1176
|
-
.light.thin.btn-txt.btn[data-v-
|
|
1176
|
+
.light.thin.btn-txt.btn[data-v-33e63930] {
|
|
1177
1177
|
padding-left: calc(var(--btn-padding) / 4);
|
|
1178
1178
|
padding-right: calc(var(--btn-padding) / 4);
|
|
1179
1179
|
}
|
|
1180
|
-
.add-btn[data-v-
|
|
1180
|
+
.add-btn[data-v-33e63930] {
|
|
1181
1181
|
display: flex;
|
|
1182
1182
|
gap: 0.5rem;
|
|
1183
1183
|
align-items: center;
|
|
1184
1184
|
margin-inline-start: 1rem;
|
|
1185
1185
|
}
|
|
1186
|
-
.add-btn[data-v-
|
|
1186
|
+
.add-btn[data-v-33e63930]:active {
|
|
1187
1187
|
background: none !important;
|
|
1188
1188
|
}
|
|
1189
|
-
.add-btn[data-v-
|
|
1189
|
+
.add-btn[data-v-33e63930]::before {
|
|
1190
1190
|
content: '+';
|
|
1191
1191
|
font-size: 10px;
|
|
1192
1192
|
background: var(--bgl-blue-light);
|
|
@@ -1198,12 +1198,12 @@ th[data-v-fa7146ce] {
|
|
|
1198
1198
|
justify-content: center;
|
|
1199
1199
|
color: var(--bgl-blue);
|
|
1200
1200
|
}
|
|
1201
|
-
.add-btn[data-v-
|
|
1201
|
+
.add-btn[data-v-33e63930]:hover::before {
|
|
1202
1202
|
background: var(--bgl-blue);
|
|
1203
1203
|
color: var(--bgl-white);
|
|
1204
1204
|
}
|
|
1205
1205
|
@media screen and (max-width: 910px) {
|
|
1206
|
-
.bglform-contact-label[data-v-
|
|
1206
|
+
.bglform-contact-label[data-v-33e63930] {
|
|
1207
1207
|
min-width: 0;
|
|
1208
1208
|
}
|
|
1209
1209
|
}
|
|
@@ -1220,45 +1220,45 @@ th[data-v-fa7146ce] {
|
|
|
1220
1220
|
backdrop-filter: blur(1px);
|
|
1221
1221
|
}
|
|
1222
1222
|
|
|
1223
|
-
.bglform-contact[data-v-
|
|
1223
|
+
.bglform-contact[data-v-0b835e6e] {
|
|
1224
1224
|
display: flex;
|
|
1225
1225
|
gap: 0.5rem;
|
|
1226
1226
|
max-width: 700px;
|
|
1227
1227
|
position: relative;
|
|
1228
1228
|
}
|
|
1229
|
-
.bglform-contact-label[data-v-
|
|
1229
|
+
.bglform-contact-label[data-v-0b835e6e] {
|
|
1230
1230
|
flex-basis: 140px;
|
|
1231
1231
|
}
|
|
1232
|
-
.bglform-contact-address[data-v-
|
|
1232
|
+
.bglform-contact-address[data-v-0b835e6e] {
|
|
1233
1233
|
display: flex;
|
|
1234
1234
|
flex-direction: column;
|
|
1235
1235
|
gap: 0.5rem;
|
|
1236
1236
|
}
|
|
1237
|
-
.bglform-contact input[type='checkbox'][data-v-
|
|
1237
|
+
.bglform-contact input[type='checkbox'][data-v-0b835e6e] {
|
|
1238
1238
|
width: 30px;
|
|
1239
1239
|
min-width: 0;
|
|
1240
1240
|
}
|
|
1241
|
-
.light.thin.btn-txt.btn[data-v-
|
|
1241
|
+
.light.thin.btn-txt.btn[data-v-0b835e6e] {
|
|
1242
1242
|
padding-left: calc(var(--btn-padding) / 4);
|
|
1243
1243
|
padding-right: calc(var(--btn-padding) / 4);
|
|
1244
1244
|
}
|
|
1245
|
-
.bglform-address-del[data-v-
|
|
1245
|
+
.bglform-address-del[data-v-0b835e6e] {
|
|
1246
1246
|
margin-top: 6px;
|
|
1247
1247
|
}
|
|
1248
|
-
.bglform-contact-address-flex[data-v-
|
|
1248
|
+
.bglform-contact-address-flex[data-v-0b835e6e] {
|
|
1249
1249
|
display: flex;
|
|
1250
1250
|
gap: 0.5rem;
|
|
1251
1251
|
}
|
|
1252
|
-
.add-btn[data-v-
|
|
1252
|
+
.add-btn[data-v-0b835e6e] {
|
|
1253
1253
|
display: flex;
|
|
1254
1254
|
gap: 0.5rem;
|
|
1255
1255
|
align-items: center;
|
|
1256
1256
|
margin-inline-start: 1rem;
|
|
1257
1257
|
}
|
|
1258
|
-
.add-btn[data-v-
|
|
1258
|
+
.add-btn[data-v-0b835e6e]:active {
|
|
1259
1259
|
background: none !important;
|
|
1260
1260
|
}
|
|
1261
|
-
.add-btn[data-v-
|
|
1261
|
+
.add-btn[data-v-0b835e6e]::before {
|
|
1262
1262
|
content: '+';
|
|
1263
1263
|
font-size: 10px;
|
|
1264
1264
|
background: var(--bgl-blue-light);
|
|
@@ -1270,15 +1270,15 @@ th[data-v-fa7146ce] {
|
|
|
1270
1270
|
justify-content: center;
|
|
1271
1271
|
color: var(--bgl-blue);
|
|
1272
1272
|
}
|
|
1273
|
-
.add-btn[data-v-
|
|
1273
|
+
.add-btn[data-v-0b835e6e]:hover::before {
|
|
1274
1274
|
background: var(--bgl-blue);
|
|
1275
1275
|
color: var(--bgl-white);
|
|
1276
1276
|
}
|
|
1277
1277
|
@media screen and (max-width: 910px) {
|
|
1278
|
-
.bglform-contact-address-flex[data-v-
|
|
1278
|
+
.bglform-contact-address-flex[data-v-0b835e6e] {
|
|
1279
1279
|
flex-wrap: wrap;
|
|
1280
1280
|
}
|
|
1281
|
-
.bglform-contact-label[data-v-
|
|
1281
|
+
.bglform-contact-label[data-v-0b835e6e] {
|
|
1282
1282
|
min-width: 0;
|
|
1283
1283
|
}
|
|
1284
1284
|
}
|
|
@@ -1295,45 +1295,45 @@ th[data-v-fa7146ce] {
|
|
|
1295
1295
|
backdrop-filter: blur(1px);
|
|
1296
1296
|
}
|
|
1297
1297
|
|
|
1298
|
-
.bglform-contact[data-v-
|
|
1298
|
+
.bglform-contact[data-v-60b0c498] {
|
|
1299
1299
|
display: flex;
|
|
1300
1300
|
gap: 0.5rem;
|
|
1301
1301
|
max-width: 700px;
|
|
1302
1302
|
position: relative;
|
|
1303
1303
|
}
|
|
1304
|
-
.bglform-contact-label[data-v-
|
|
1304
|
+
.bglform-contact-label[data-v-60b0c498] {
|
|
1305
1305
|
flex-basis: 140px;
|
|
1306
1306
|
}
|
|
1307
|
-
.bglform-contact-address[data-v-
|
|
1307
|
+
.bglform-contact-address[data-v-60b0c498] {
|
|
1308
1308
|
display: flex;
|
|
1309
1309
|
flex-direction: column;
|
|
1310
1310
|
gap: 0.5rem;
|
|
1311
1311
|
}
|
|
1312
|
-
.bglform-contact input[type='checkbox'][data-v-
|
|
1312
|
+
.bglform-contact input[type='checkbox'][data-v-60b0c498] {
|
|
1313
1313
|
width: 30px;
|
|
1314
1314
|
min-width: 0;
|
|
1315
1315
|
}
|
|
1316
|
-
.light.thin.btn-txt.btn[data-v-
|
|
1316
|
+
.light.thin.btn-txt.btn[data-v-60b0c498] {
|
|
1317
1317
|
padding-left: calc(var(--btn-padding) / 4);
|
|
1318
1318
|
padding-right: calc(var(--btn-padding) / 4);
|
|
1319
1319
|
}
|
|
1320
|
-
.bglform-address-del[data-v-
|
|
1320
|
+
.bglform-address-del[data-v-60b0c498] {
|
|
1321
1321
|
margin-top: 6px;
|
|
1322
1322
|
}
|
|
1323
|
-
.bglform-contact-address-flex[data-v-
|
|
1323
|
+
.bglform-contact-address-flex[data-v-60b0c498] {
|
|
1324
1324
|
display: flex;
|
|
1325
1325
|
gap: 0.5rem;
|
|
1326
1326
|
}
|
|
1327
|
-
.add-btn[data-v-
|
|
1327
|
+
.add-btn[data-v-60b0c498] {
|
|
1328
1328
|
display: flex;
|
|
1329
1329
|
gap: 0.5rem;
|
|
1330
1330
|
align-items: center;
|
|
1331
1331
|
margin-inline-start: 1rem;
|
|
1332
1332
|
}
|
|
1333
|
-
.add-btn[data-v-
|
|
1333
|
+
.add-btn[data-v-60b0c498]:active {
|
|
1334
1334
|
background: none !important;
|
|
1335
1335
|
}
|
|
1336
|
-
.add-btn[data-v-
|
|
1336
|
+
.add-btn[data-v-60b0c498]::before {
|
|
1337
1337
|
content: '+';
|
|
1338
1338
|
font-size: 10px;
|
|
1339
1339
|
background: var(--bgl-blue-light);
|
|
@@ -1345,15 +1345,15 @@ th[data-v-fa7146ce] {
|
|
|
1345
1345
|
justify-content: center;
|
|
1346
1346
|
color: var(--bgl-blue);
|
|
1347
1347
|
}
|
|
1348
|
-
.add-btn[data-v-
|
|
1348
|
+
.add-btn[data-v-60b0c498]:hover::before {
|
|
1349
1349
|
background: var(--bgl-blue);
|
|
1350
1350
|
color: var(--bgl-white);
|
|
1351
1351
|
}
|
|
1352
1352
|
@media screen and (max-width: 910px) {
|
|
1353
|
-
.bglform-contact-address-flex[data-v-
|
|
1353
|
+
.bglform-contact-address-flex[data-v-60b0c498] {
|
|
1354
1354
|
flex-wrap: wrap;
|
|
1355
1355
|
}
|
|
1356
|
-
.bglform-contact-label[data-v-
|
|
1356
|
+
.bglform-contact-label[data-v-60b0c498] {
|
|
1357
1357
|
min-width: 0;
|
|
1358
1358
|
}
|
|
1359
1359
|
}
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
</Transition>
|
|
17
17
|
<div class="img-label">
|
|
18
18
|
<p>
|
|
19
|
-
{{
|
|
19
|
+
{{ dragDropLabel }} <span>{{ browseLabel }}</span>
|
|
20
20
|
</p>
|
|
21
21
|
</div>
|
|
22
22
|
<div class="uploading-wrap">
|
|
@@ -75,16 +75,16 @@ const props = withDefaults(
|
|
|
75
75
|
private?: 1 | 0;
|
|
76
76
|
singleFile?: boolean;
|
|
77
77
|
beforeUpload?: () => Promise<any>;
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
browse: string
|
|
81
|
-
}
|
|
78
|
+
dragDropLabel?: string;
|
|
79
|
+
browseLabel?: string;
|
|
82
80
|
}>(),
|
|
83
81
|
{
|
|
84
82
|
private: 0,
|
|
85
83
|
entity: '',
|
|
86
84
|
id: '',
|
|
87
85
|
beforeUpload: async () => { },
|
|
86
|
+
dragDropLabel: 'Drag and drop your files here',
|
|
87
|
+
browseLabel: 'Browse',
|
|
88
88
|
},
|
|
89
89
|
);
|
|
90
90
|
|