@bagelink/vue 0.0.1020 → 0.0.1025
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/Accordion.vue.d.ts +3 -2
- package/dist/components/Accordion.vue.d.ts.map +1 -1
- package/dist/components/AccordionItem.vue.d.ts +14 -20
- package/dist/components/AccordionItem.vue.d.ts.map +1 -1
- package/dist/components/AddressSearch.vue.d.ts +1 -1
- package/dist/components/AddressSearch.vue.d.ts.map +1 -1
- package/dist/components/Alert.vue.d.ts.map +1 -1
- package/dist/components/Avatar.vue.d.ts +4 -8
- package/dist/components/Avatar.vue.d.ts.map +1 -1
- package/dist/components/Badge.vue.d.ts +1 -1
- package/dist/components/Badge.vue.d.ts.map +1 -1
- package/dist/components/BglVideo.vue.d.ts +1 -1
- package/dist/components/BglVideo.vue.d.ts.map +1 -1
- package/dist/components/Btn.vue.d.ts +15 -30
- package/dist/components/Btn.vue.d.ts.map +1 -1
- package/dist/components/Card.vue.d.ts +13 -20
- package/dist/components/Card.vue.d.ts.map +1 -1
- package/dist/components/Carousel.vue.d.ts +12 -2
- package/dist/components/Carousel.vue.d.ts.map +1 -1
- package/dist/components/DataPreview.vue.d.ts +6 -5
- package/dist/components/DataPreview.vue.d.ts.map +1 -1
- package/dist/components/DropDown.vue.d.ts +7 -3
- package/dist/components/DropDown.vue.d.ts.map +1 -1
- package/dist/components/Flag.vue.d.ts +1 -1
- package/dist/components/Flag.vue.d.ts.map +1 -1
- package/dist/components/IframeVue.vue.d.ts +7 -22
- package/dist/components/IframeVue.vue.d.ts.map +1 -1
- package/dist/components/Image.vue.d.ts +4 -7
- package/dist/components/Image.vue.d.ts.map +1 -1
- package/dist/components/ListItem.vue.d.ts +13 -20
- package/dist/components/ListItem.vue.d.ts.map +1 -1
- package/dist/components/ListView.vue.d.ts +3 -2
- package/dist/components/ListView.vue.d.ts.map +1 -1
- package/dist/components/Loading.vue.d.ts +3 -8
- package/dist/components/Loading.vue.d.ts.map +1 -1
- package/dist/components/MapEmbed.vue.d.ts +5 -11
- package/dist/components/MapEmbed.vue.d.ts.map +1 -1
- package/dist/components/MaterialIcon.vue.d.ts +3 -8
- package/dist/components/MaterialIcon.vue.d.ts.map +1 -1
- package/dist/components/Modal.vue.d.ts +13 -18
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/ModalConfirm.vue.d.ts +5 -12
- package/dist/components/ModalConfirm.vue.d.ts.map +1 -1
- package/dist/components/ModalForm.vue.d.ts +9 -3
- package/dist/components/ModalForm.vue.d.ts.map +1 -1
- package/dist/components/NavBar.vue.d.ts +11 -15
- package/dist/components/NavBar.vue.d.ts.map +1 -1
- package/dist/components/PageTitle.vue.d.ts +3 -2
- package/dist/components/PageTitle.vue.d.ts.map +1 -1
- package/dist/components/Pill.vue.d.ts +12 -24
- package/dist/components/Pill.vue.d.ts.map +1 -1
- package/dist/components/RouterWrapper.vue.d.ts.map +1 -1
- package/dist/components/TableSchema.vue.d.ts +4 -8
- package/dist/components/TableSchema.vue.d.ts.map +1 -1
- package/dist/components/Title.vue.d.ts +2 -1
- package/dist/components/Title.vue.d.ts.map +1 -1
- package/dist/components/TopBar.vue.d.ts +3 -2
- package/dist/components/TopBar.vue.d.ts.map +1 -1
- package/dist/components/Zoomer.vue.d.ts +3 -2
- package/dist/components/Zoomer.vue.d.ts.map +1 -1
- package/dist/components/dashboard/Lineart.vue.d.ts +3 -5
- package/dist/components/dashboard/Lineart.vue.d.ts.map +1 -1
- package/dist/components/form/BglField.vue.d.ts +1 -1
- package/dist/components/form/BglField.vue.d.ts.map +1 -1
- package/dist/components/form/BglForm.vue.d.ts +15 -23
- package/dist/components/form/BglForm.vue.d.ts.map +1 -1
- package/dist/components/form/BglMultiStepForm.vue.d.ts +3 -4
- package/dist/components/form/BglMultiStepForm.vue.d.ts.map +1 -1
- package/dist/components/form/FieldArray.vue.d.ts +1 -1
- package/dist/components/form/FieldArray.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/CheckInput.vue.d.ts +7 -6
- package/dist/components/form/inputs/CheckInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/Checkbox.vue.d.ts +5 -4
- package/dist/components/form/inputs/Checkbox.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/CodeEditor/Index.vue.d.ts +4 -9
- package/dist/components/form/inputs/CodeEditor/Index.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/ColorPicker.vue.d.ts +4 -14
- package/dist/components/form/inputs/ColorPicker.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DateInput.vue.d.ts +5 -17
- package/dist/components/form/inputs/DateInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DatePicker.vue.d.ts +5 -14
- package/dist/components/form/inputs/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/FileUpload.vue.d.ts +5 -4
- package/dist/components/form/inputs/FileUpload.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/JSONInput.vue.d.ts +5 -11
- package/dist/components/form/inputs/JSONInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/NumberInput.vue.d.ts +26 -0
- package/dist/components/form/inputs/NumberInput.vue.d.ts.map +1 -0
- package/dist/components/form/inputs/OTP.vue.d.ts +5 -8
- package/dist/components/form/inputs/OTP.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/PasswordInput.vue.d.ts +7 -7
- package/dist/components/form/inputs/PasswordInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RadioGroup.vue.d.ts +3 -4
- package/dist/components/form/inputs/RadioGroup.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RadioPillsInput.vue.d.ts +5 -9
- package/dist/components/form/inputs/RadioPillsInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RangeInput.vue.d.ts +12 -15
- package/dist/components/form/inputs/RangeInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/components/Toolbar.vue.d.ts +5 -7
- package/dist/components/form/inputs/RichText/components/Toolbar.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/components/gridBox.vue.d.ts +1 -1
- package/dist/components/form/inputs/RichText/components/gridBox.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/index.vue.d.ts +5 -7
- package/dist/components/form/inputs/RichText/index.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts +11 -3
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SignaturePad.vue.d.ts +5 -5
- package/dist/components/form/inputs/SignaturePad.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TableField.vue.d.ts +5 -12
- package/dist/components/form/inputs/TableField.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TelInput.vue.d.ts +5 -5
- package/dist/components/form/inputs/TelInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TextInput.vue.d.ts +5 -31
- package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/ToggleInput.vue.d.ts +7 -6
- package/dist/components/form/inputs/ToggleInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/index.d.ts +1 -0
- package/dist/components/form/inputs/index.d.ts.map +1 -1
- package/dist/components/layout/BottomMenu.vue.d.ts +6 -6
- package/dist/components/layout/BottomMenu.vue.d.ts.map +1 -1
- package/dist/components/layout/Layout.vue.d.ts +3 -2
- package/dist/components/layout/Layout.vue.d.ts.map +1 -1
- package/dist/components/layout/SidebarMenu.vue.d.ts +10 -12
- package/dist/components/layout/SidebarMenu.vue.d.ts.map +1 -1
- package/dist/components/layout/Skeleton.vue.d.ts +11 -16
- package/dist/components/layout/Skeleton.vue.d.ts.map +1 -1
- package/dist/components/layout/TabbedLayout.vue.d.ts +12 -16
- package/dist/components/layout/TabbedLayout.vue.d.ts.map +1 -1
- package/dist/components/layout/Tabs.vue.d.ts +9 -11
- package/dist/components/layout/Tabs.vue.d.ts.map +1 -1
- package/dist/components/layout/TabsBody.vue.d.ts +6 -6
- package/dist/components/layout/TabsBody.vue.d.ts.map +1 -1
- package/dist/components/layout/TabsNav.vue.d.ts +30 -12
- package/dist/components/layout/TabsNav.vue.d.ts.map +1 -1
- package/dist/components/lightbox/Lightbox.vue.d.ts.map +1 -1
- package/dist/directives/index.d.ts +3 -0
- package/dist/directives/index.d.ts.map +1 -0
- package/dist/directives/pattern.d.ts +8 -0
- package/dist/directives/pattern.d.ts.map +1 -0
- package/dist/directives/ripple.d.ts +4 -0
- package/dist/directives/ripple.d.ts.map +1 -0
- package/dist/index.cjs +726 -360
- package/dist/index.mjs +726 -360
- package/dist/plugins/bagel.d.ts.map +1 -1
- package/dist/style.css +5019 -2947
- package/dist/utils/BagelFormUtils.d.ts +21 -0
- package/dist/utils/BagelFormUtils.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Btn.vue +5 -3
- package/src/components/Card.vue +0 -1
- package/src/components/Carousel.vue +25 -3
- package/src/components/Dropdown.vue +1 -1
- package/src/components/FieldSet.vue +15 -0
- package/src/components/Image.vue +11 -1
- package/src/components/form/FieldArray.vue +1 -2
- package/src/components/form/inputs/NumberInput.vue +163 -0
- package/src/components/form/inputs/RangeInput.vue +146 -77
- package/src/components/form/inputs/index.ts +1 -0
- package/src/components/layout/TabsNav.vue +14 -12
- package/src/directives/index.ts +2 -0
- package/src/directives/pattern.ts +156 -0
- package/src/plugins/bagel.ts +2 -1
- package/src/styles/appearance.css +25 -0
- package/src/styles/layout.css +2892 -1954
- package/src/styles/mobilLayout.css +3004 -1920
- package/src/styles/theme.css +258 -256
- package/src/utils/BagelFormUtils.ts +16 -0
- package/tsconfig.json +1 -1
- /package/src/{plugins → directives}/ripple.ts +0 -0
package/dist/index.mjs
CHANGED
|
@@ -5,6 +5,9 @@ import { defineComponent, reactive, provide, openBlock, createElementBlock, rend
|
|
|
5
5
|
import { RouterLink } from "vue-router";
|
|
6
6
|
const bagelFormUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7
7
|
__proto__: null,
|
|
8
|
+
get arrField() {
|
|
9
|
+
return arrField;
|
|
10
|
+
},
|
|
8
11
|
get bglForm() {
|
|
9
12
|
return bglForm;
|
|
10
13
|
},
|
|
@@ -39,7 +42,7 @@ const bagelFormUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
|
|
|
39
42
|
return txtField;
|
|
40
43
|
}
|
|
41
44
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
42
|
-
const _sfc_main$
|
|
45
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
43
46
|
__name: "Accordion",
|
|
44
47
|
setup(__props) {
|
|
45
48
|
const state2 = reactive({
|
|
@@ -53,10 +56,10 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
53
56
|
};
|
|
54
57
|
}
|
|
55
58
|
});
|
|
56
|
-
const _hoisted_1$
|
|
57
|
-
const _hoisted_2$
|
|
58
|
-
const _hoisted_3$
|
|
59
|
-
const _sfc_main$
|
|
59
|
+
const _hoisted_1$Q = ["aria-expanded", "aria-controls"];
|
|
60
|
+
const _hoisted_2$y = { class: "accordion-label" };
|
|
61
|
+
const _hoisted_3$r = ["id", "aria-hidden"];
|
|
62
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
60
63
|
__name: "AccordionItem",
|
|
61
64
|
props: {
|
|
62
65
|
label: {},
|
|
@@ -122,7 +125,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
122
125
|
createVNode(unref(_sfc_main$c), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
123
126
|
], 2)) : createCommentVNode("", true),
|
|
124
127
|
renderSlot(_ctx.$slots, "head", {}, () => [
|
|
125
|
-
createElementVNode("span", _hoisted_2$
|
|
128
|
+
createElementVNode("span", _hoisted_2$y, toDisplayString(_ctx.label), 1)
|
|
126
129
|
], true),
|
|
127
130
|
iconPosition.value === "end" ? (openBlock(), createElementBlock("span", {
|
|
128
131
|
key: 1,
|
|
@@ -130,7 +133,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
130
133
|
}, [
|
|
131
134
|
createVNode(unref(_sfc_main$c), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
132
135
|
], 2)) : createCommentVNode("", true)
|
|
133
|
-
], 8, _hoisted_1$
|
|
136
|
+
], 8, _hoisted_1$Q),
|
|
134
137
|
createVNode(Transition, { name: "expand" }, {
|
|
135
138
|
default: withCtx(() => [
|
|
136
139
|
unref(isOpen) ? (openBlock(), createElementBlock("div", {
|
|
@@ -140,7 +143,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
140
143
|
"aria-hidden": unref(isOpen) ? "false" : "true"
|
|
141
144
|
}, [
|
|
142
145
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
143
|
-
], 8, _hoisted_3$
|
|
146
|
+
], 8, _hoisted_3$r)) : createCommentVNode("", true)
|
|
144
147
|
]),
|
|
145
148
|
_: 3
|
|
146
149
|
})
|
|
@@ -155,9 +158,9 @@ const _export_sfc = (sfc, props2) => {
|
|
|
155
158
|
}
|
|
156
159
|
return target;
|
|
157
160
|
};
|
|
158
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
159
|
-
const _hoisted_1$
|
|
160
|
-
const _sfc_main$
|
|
161
|
+
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-1e73ca3e"]]);
|
|
162
|
+
const _hoisted_1$P = { class: "relative" };
|
|
163
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
161
164
|
__name: "AddressSearch",
|
|
162
165
|
emits: ["addressSelected"],
|
|
163
166
|
setup(__props, { emit: __emit }) {
|
|
@@ -179,8 +182,8 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
179
182
|
(_a2 = suggestion.value) == null ? void 0 : _a2.show();
|
|
180
183
|
}
|
|
181
184
|
return (_ctx, _cache) => {
|
|
182
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
183
|
-
createVNode(unref(_sfc_main$
|
|
185
|
+
return openBlock(), createElementBlock("div", _hoisted_1$P, [
|
|
186
|
+
createVNode(unref(_sfc_main$T), {
|
|
184
187
|
ref_key: "suggestion",
|
|
185
188
|
ref: suggestion,
|
|
186
189
|
noAutoFocus: true,
|
|
@@ -215,11 +218,11 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
215
218
|
};
|
|
216
219
|
}
|
|
217
220
|
});
|
|
218
|
-
const _hoisted_1$
|
|
221
|
+
const _hoisted_1$O = {
|
|
219
222
|
key: 1,
|
|
220
223
|
class: "bgl_btn-flex"
|
|
221
224
|
};
|
|
222
|
-
const _sfc_main
|
|
225
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
223
226
|
__name: "Btn",
|
|
224
227
|
props: {
|
|
225
228
|
disabled: { type: Boolean, default: false },
|
|
@@ -239,6 +242,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
239
242
|
href: {},
|
|
240
243
|
round: { type: Boolean, default: false },
|
|
241
244
|
is: { default: "button" },
|
|
245
|
+
ripple: { type: Boolean, default: true },
|
|
242
246
|
onClick: { type: Function, default: () => "" }
|
|
243
247
|
},
|
|
244
248
|
setup(__props) {
|
|
@@ -283,7 +287,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
283
287
|
_ctx.loading ? (openBlock(), createBlock(unref(Loading), {
|
|
284
288
|
key: 0,
|
|
285
289
|
size: "15"
|
|
286
|
-
})) : (openBlock(), createElementBlock("div", _hoisted_1$
|
|
290
|
+
})) : (openBlock(), createElementBlock("div", _hoisted_1$O, [
|
|
287
291
|
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$c), {
|
|
288
292
|
key: 0,
|
|
289
293
|
icon: _ctx.icon
|
|
@@ -300,15 +304,15 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
300
304
|
]),
|
|
301
305
|
_: 3
|
|
302
306
|
}, 16, ["disabled", "class", "tabindex", "onClick", "onKeydown"])), [
|
|
303
|
-
[_directive_ripple]
|
|
307
|
+
[_directive_ripple, _ctx.ripple]
|
|
304
308
|
]);
|
|
305
309
|
};
|
|
306
310
|
}
|
|
307
311
|
});
|
|
308
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
309
|
-
const _hoisted_1$
|
|
310
|
-
const _hoisted_2$
|
|
311
|
-
const _sfc_main
|
|
312
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-c23a3626"]]);
|
|
313
|
+
const _hoisted_1$N = ["dismissable"];
|
|
314
|
+
const _hoisted_2$x = { class: "m-0" };
|
|
315
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
312
316
|
__name: "Alert",
|
|
313
317
|
props: {
|
|
314
318
|
message: {},
|
|
@@ -336,7 +340,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
336
340
|
size: 2,
|
|
337
341
|
color: color2[_ctx.type]
|
|
338
342
|
}, null, 8, ["icon", "color"])) : createCommentVNode("", true),
|
|
339
|
-
createElementVNode("p", _hoisted_2$
|
|
343
|
+
createElementVNode("p", _hoisted_2$x, toDisplayString(_ctx.message), 1),
|
|
340
344
|
createVNode(Btn, {
|
|
341
345
|
flat: "",
|
|
342
346
|
thin: "",
|
|
@@ -344,13 +348,13 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
344
348
|
icon: "close",
|
|
345
349
|
onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
|
|
346
350
|
})
|
|
347
|
-
], 10, _hoisted_1$
|
|
351
|
+
], 10, _hoisted_1$N)) : createCommentVNode("", true);
|
|
348
352
|
};
|
|
349
353
|
}
|
|
350
354
|
});
|
|
351
|
-
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
352
|
-
const _hoisted_1$
|
|
353
|
-
const _sfc_main$
|
|
355
|
+
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-57141c32"]]);
|
|
356
|
+
const _hoisted_1$M = ["src", "alt"];
|
|
357
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
354
358
|
__name: "Avatar",
|
|
355
359
|
props: {
|
|
356
360
|
fallback: {},
|
|
@@ -368,7 +372,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
368
372
|
key: 0,
|
|
369
373
|
src: _ctx.src,
|
|
370
374
|
alt: _ctx.name
|
|
371
|
-
}, null, 8, _hoisted_1$
|
|
375
|
+
}, null, 8, _hoisted_1$M)) : (openBlock(), createElementBlock("p", {
|
|
372
376
|
key: 1,
|
|
373
377
|
style: normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
|
|
374
378
|
}, toDisplayString((_ctx.fallback || unref(initials)(_ctx.name || "")).toUpperCase()), 5))
|
|
@@ -376,8 +380,8 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
376
380
|
};
|
|
377
381
|
}
|
|
378
382
|
});
|
|
379
|
-
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
380
|
-
const _sfc_main$
|
|
383
|
+
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-46ad8c25"]]);
|
|
384
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
381
385
|
__name: "Badge",
|
|
382
386
|
props: {
|
|
383
387
|
color: {},
|
|
@@ -406,11 +410,11 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
406
410
|
};
|
|
407
411
|
}
|
|
408
412
|
});
|
|
409
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
410
|
-
const _hoisted_1$
|
|
411
|
-
const _hoisted_2$
|
|
412
|
-
const _hoisted_3$
|
|
413
|
-
const _sfc_main$
|
|
413
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-2f3caf93"]]);
|
|
414
|
+
const _hoisted_1$L = ["src"];
|
|
415
|
+
const _hoisted_2$w = ["autoplay", "muted", "loop", "controls", "playsinline"];
|
|
416
|
+
const _hoisted_3$q = ["src", "type"];
|
|
417
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
414
418
|
__name: "BglVideo",
|
|
415
419
|
props: {
|
|
416
420
|
src: {},
|
|
@@ -487,7 +491,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
487
491
|
allowfullscreen: "",
|
|
488
492
|
title: "Video",
|
|
489
493
|
allow: "autoplay"
|
|
490
|
-
}, null, 12, _hoisted_1$
|
|
494
|
+
}, null, 12, _hoisted_1$L)) : _ctx.src ? (openBlock(), createElementBlock("video", {
|
|
491
495
|
key: 1,
|
|
492
496
|
ref_key: "video",
|
|
493
497
|
ref: video,
|
|
@@ -501,18 +505,18 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
501
505
|
createElementVNode("source", {
|
|
502
506
|
src: _ctx.src,
|
|
503
507
|
type: `video/${videoFormat.value}`
|
|
504
|
-
}, null, 8, _hoisted_3$
|
|
505
|
-
], 12, _hoisted_2$
|
|
508
|
+
}, null, 8, _hoisted_3$q)
|
|
509
|
+
], 12, _hoisted_2$w)) : createCommentVNode("", true)
|
|
506
510
|
], 2);
|
|
507
511
|
};
|
|
508
512
|
}
|
|
509
513
|
});
|
|
510
|
-
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
511
|
-
const _hoisted_1$
|
|
514
|
+
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-006552f6"]]);
|
|
515
|
+
const _hoisted_1$K = {
|
|
512
516
|
key: 0,
|
|
513
517
|
class: "card_label"
|
|
514
518
|
};
|
|
515
|
-
const _sfc_main$
|
|
519
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
516
520
|
__name: "Card",
|
|
517
521
|
props: {
|
|
518
522
|
label: {},
|
|
@@ -541,7 +545,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
541
545
|
}])
|
|
542
546
|
}, {
|
|
543
547
|
default: withCtx(() => [
|
|
544
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
548
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$K, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
545
549
|
renderSlot(_ctx.$slots, "default")
|
|
546
550
|
]),
|
|
547
551
|
_: 3
|
|
@@ -551,13 +555,18 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
551
555
|
};
|
|
552
556
|
}
|
|
553
557
|
});
|
|
554
|
-
const _hoisted_1$
|
|
555
|
-
const _hoisted_2$
|
|
558
|
+
const _hoisted_1$J = ["dir"];
|
|
559
|
+
const _hoisted_2$v = {
|
|
556
560
|
key: 0,
|
|
557
561
|
class: "blocker"
|
|
558
562
|
};
|
|
559
|
-
const _hoisted_3$
|
|
560
|
-
|
|
563
|
+
const _hoisted_3$p = {
|
|
564
|
+
key: 0,
|
|
565
|
+
class: "dots flex-center gap-05 mt-1"
|
|
566
|
+
};
|
|
567
|
+
const _hoisted_4$h = ["onClick"];
|
|
568
|
+
const _hoisted_5$f = { class: "Handlers" };
|
|
569
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
561
570
|
__name: "Carousel",
|
|
562
571
|
props: {
|
|
563
572
|
autoHeight: { type: Boolean, default: false },
|
|
@@ -567,7 +576,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
567
576
|
index: { type: Number, default: 0 },
|
|
568
577
|
rtl: { type: Boolean, default: false },
|
|
569
578
|
autoplay: { type: Boolean, default: false },
|
|
570
|
-
autoPlaySpeed: { type: Number, default: 4e3 }
|
|
579
|
+
autoPlaySpeed: { type: Number, default: 4e3 },
|
|
580
|
+
dots: { type: Boolean, default: false }
|
|
571
581
|
},
|
|
572
582
|
emits: ["update:index"],
|
|
573
583
|
setup(__props, { emit: __emit }) {
|
|
@@ -581,11 +591,16 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
581
591
|
let startX = ref(0);
|
|
582
592
|
let scrollStart = ref(0);
|
|
583
593
|
let yHeight = ref("auto");
|
|
594
|
+
let slideCount = ref(0);
|
|
584
595
|
let timeout;
|
|
585
596
|
let autoPlayInterval;
|
|
586
597
|
function preventDefaultClick(e) {
|
|
587
598
|
e.preventDefault();
|
|
588
599
|
}
|
|
600
|
+
function countSlides() {
|
|
601
|
+
if (!bglSlider.value) return;
|
|
602
|
+
slideCount.value = bglSlider.value.children.length;
|
|
603
|
+
}
|
|
589
604
|
function disableDrag() {
|
|
590
605
|
var _a2, _b;
|
|
591
606
|
(_a2 = bglSlider.value) == null ? void 0 : _a2.querySelectorAll("img").forEach((img) => {
|
|
@@ -630,7 +645,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
630
645
|
requestAnimationFrame(animate);
|
|
631
646
|
}
|
|
632
647
|
function goToSlide(index2) {
|
|
633
|
-
|
|
648
|
+
countSlides();
|
|
649
|
+
if (!bglSlider.value || index2 < 0 || index2 >= slideCount.value) return;
|
|
634
650
|
const offset2 = bglSlider.value.offsetWidth * index2 * (props2.rtl ? -1 : 1);
|
|
635
651
|
const duration = window.innerWidth < 600 ? 400 : window.innerWidth < 991 ? 500 : 700;
|
|
636
652
|
easeScroll(offset2, duration);
|
|
@@ -684,19 +700,20 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
684
700
|
}
|
|
685
701
|
function next() {
|
|
686
702
|
if (!bglSlider.value) return;
|
|
687
|
-
|
|
688
|
-
goToSlide((activeSlideIndex.value + 1) % slideCount);
|
|
703
|
+
countSlides();
|
|
704
|
+
goToSlide((activeSlideIndex.value + 1) % slideCount.value);
|
|
689
705
|
}
|
|
690
706
|
function prev() {
|
|
691
707
|
if (!bglSlider.value) return;
|
|
692
|
-
|
|
693
|
-
goToSlide((activeSlideIndex.value - 1 + slideCount) % slideCount);
|
|
708
|
+
countSlides();
|
|
709
|
+
goToSlide((activeSlideIndex.value - 1 + slideCount.value) % slideCount.value);
|
|
694
710
|
}
|
|
695
711
|
onMounted(() => {
|
|
696
712
|
window.addEventListener("resize", handleResize);
|
|
697
713
|
disableDrag();
|
|
698
714
|
updateHeight();
|
|
699
715
|
handleResize();
|
|
716
|
+
countSlides();
|
|
700
717
|
if (props2.autoplay) {
|
|
701
718
|
autoPlayInterval = setInterval(next, props2.autoPlaySpeed);
|
|
702
719
|
}
|
|
@@ -725,10 +742,19 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
725
742
|
onMouseover: clearAutoplay,
|
|
726
743
|
onFocusin: clearAutoplay
|
|
727
744
|
}, [
|
|
728
|
-
unref(isDragging) ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
745
|
+
unref(isDragging) ? (openBlock(), createElementBlock("div", _hoisted_2$v)) : createCommentVNode("", true),
|
|
729
746
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
730
747
|
], 38),
|
|
731
|
-
|
|
748
|
+
__props.dots && unref(slideCount) > 1 ? (openBlock(), createElementBlock("div", _hoisted_3$p, [
|
|
749
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(slideCount), (i2) => {
|
|
750
|
+
return openBlock(), createElementBlock("span", {
|
|
751
|
+
key: i2,
|
|
752
|
+
class: normalizeClass(["dot cursor", { current: unref(activeSlideIndex) === i2 - 1 }]),
|
|
753
|
+
onClick: ($event) => goToSlide(i2 - 1)
|
|
754
|
+
}, null, 10, _hoisted_4$h);
|
|
755
|
+
}), 128))
|
|
756
|
+
])) : createCommentVNode("", true),
|
|
757
|
+
createElementVNode("div", _hoisted_5$f, [
|
|
732
758
|
createElementVNode("span", { onClick: prev }, [
|
|
733
759
|
renderSlot(_ctx.$slots, "prev", {
|
|
734
760
|
index: unref(activeSlideIndex),
|
|
@@ -742,11 +768,11 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
742
768
|
}, void 0, true)
|
|
743
769
|
])
|
|
744
770
|
])
|
|
745
|
-
], 14, _hoisted_1$
|
|
771
|
+
], 14, _hoisted_1$J);
|
|
746
772
|
};
|
|
747
773
|
}
|
|
748
774
|
});
|
|
749
|
-
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
775
|
+
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-eec2b184"]]);
|
|
750
776
|
function _isPlaceholder(a2) {
|
|
751
777
|
return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
|
|
752
778
|
}
|
|
@@ -6580,10 +6606,10 @@ const _hoisted_1$1$1 = {
|
|
|
6580
6606
|
style: { display: "flex", position: "relative" }
|
|
6581
6607
|
};
|
|
6582
6608
|
const _hoisted_2$1$1 = ["width", "height", "viewBox"];
|
|
6583
|
-
const _hoisted_3$
|
|
6584
|
-
const _hoisted_4$
|
|
6585
|
-
const _hoisted_5$
|
|
6586
|
-
const _hoisted_6$
|
|
6609
|
+
const _hoisted_3$o = { class: "layer-rectangles" };
|
|
6610
|
+
const _hoisted_4$g = ["transform", "onMouseover"];
|
|
6611
|
+
const _hoisted_5$e = ["width", "height"];
|
|
6612
|
+
const _hoisted_6$b = {
|
|
6587
6613
|
x: 0 + 10,
|
|
6588
6614
|
y: 0 + 20,
|
|
6589
6615
|
"font-size": `15px`,
|
|
@@ -6598,7 +6624,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6598
6624
|
viewBox: `0 0 ${_ctx.size.width} ${_ctx.size.height}`,
|
|
6599
6625
|
ref: "el"
|
|
6600
6626
|
}, [
|
|
6601
|
-
createElementVNode("g", _hoisted_3$
|
|
6627
|
+
createElementVNode("g", _hoisted_3$o, [
|
|
6602
6628
|
(openBlock(true), createElementBlock(
|
|
6603
6629
|
Fragment,
|
|
6604
6630
|
null,
|
|
@@ -6619,21 +6645,21 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6619
6645
|
y: 0,
|
|
6620
6646
|
width: r2.width,
|
|
6621
6647
|
height: r2.height
|
|
6622
|
-
}), null, 16, _hoisted_5$
|
|
6648
|
+
}), null, 16, _hoisted_5$e),
|
|
6623
6649
|
renderSlot(_ctx.$slots, "text", {
|
|
6624
6650
|
r: r2,
|
|
6625
6651
|
selected: _ctx.selected === i2
|
|
6626
6652
|
}, () => [
|
|
6627
6653
|
createElementVNode(
|
|
6628
6654
|
"text",
|
|
6629
|
-
_hoisted_6$
|
|
6655
|
+
_hoisted_6$b,
|
|
6630
6656
|
toDisplayString(r2.data.name),
|
|
6631
6657
|
1
|
|
6632
6658
|
/* TEXT */
|
|
6633
6659
|
)
|
|
6634
6660
|
])
|
|
6635
6661
|
])
|
|
6636
|
-
], 42, _hoisted_4$
|
|
6662
|
+
], 42, _hoisted_4$g);
|
|
6637
6663
|
}),
|
|
6638
6664
|
128
|
|
6639
6665
|
/* KEYED_FRAGMENT */
|
|
@@ -6690,25 +6716,25 @@ var script = defineComponent({
|
|
|
6690
6716
|
return { bar, canvas, direction, mouse };
|
|
6691
6717
|
}
|
|
6692
6718
|
});
|
|
6693
|
-
const _hoisted_1$
|
|
6719
|
+
const _hoisted_1$I = {
|
|
6694
6720
|
key: 0,
|
|
6695
6721
|
class: "layer-hover-bar"
|
|
6696
6722
|
};
|
|
6697
|
-
const _hoisted_2$
|
|
6723
|
+
const _hoisted_2$u = ["x", "y", "width", "height"];
|
|
6698
6724
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6699
|
-
return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$
|
|
6725
|
+
return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$I, [
|
|
6700
6726
|
createElementVNode("rect", mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
|
|
6701
6727
|
x: _ctx.bar.x,
|
|
6702
6728
|
y: _ctx.bar.y,
|
|
6703
6729
|
width: _ctx.bar.width > 0 ? _ctx.bar.width : 0,
|
|
6704
6730
|
height: _ctx.bar.height > 0 ? _ctx.bar.height : 0
|
|
6705
|
-
}), null, 16, _hoisted_2$
|
|
6731
|
+
}), null, 16, _hoisted_2$u)
|
|
6706
6732
|
])) : createCommentVNode("v-if", true);
|
|
6707
6733
|
}
|
|
6708
6734
|
script.render = render;
|
|
6709
6735
|
script.__file = "src/components/HoverBar/index.vue";
|
|
6710
6736
|
const BRAND_COLOR = "var(--bgl-primary)";
|
|
6711
|
-
const _sfc_main$
|
|
6737
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
6712
6738
|
__name: "Lineart",
|
|
6713
6739
|
props: {
|
|
6714
6740
|
data: {},
|
|
@@ -6848,18 +6874,18 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
6848
6874
|
};
|
|
6849
6875
|
}
|
|
6850
6876
|
});
|
|
6851
|
-
const _hoisted_1$
|
|
6877
|
+
const _hoisted_1$H = {
|
|
6852
6878
|
key: 0,
|
|
6853
6879
|
class: "data"
|
|
6854
6880
|
};
|
|
6855
|
-
const _hoisted_2$
|
|
6881
|
+
const _hoisted_2$t = {
|
|
6856
6882
|
key: 0,
|
|
6857
6883
|
class: "data-row m_py-05"
|
|
6858
6884
|
};
|
|
6859
|
-
const _hoisted_3$
|
|
6860
|
-
const _hoisted_4$
|
|
6861
|
-
const _hoisted_5$
|
|
6862
|
-
const _hoisted_6$
|
|
6885
|
+
const _hoisted_3$n = { class: "key" };
|
|
6886
|
+
const _hoisted_4$f = { class: "m-0" };
|
|
6887
|
+
const _hoisted_5$d = { key: 1 };
|
|
6888
|
+
const _hoisted_6$a = {
|
|
6863
6889
|
key: 0,
|
|
6864
6890
|
class: "data-row"
|
|
6865
6891
|
};
|
|
@@ -6869,7 +6895,7 @@ const _hoisted_9$3 = {
|
|
|
6869
6895
|
key: 0,
|
|
6870
6896
|
class: "m-0"
|
|
6871
6897
|
};
|
|
6872
|
-
const _sfc_main$
|
|
6898
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
6873
6899
|
__name: "DataPreview",
|
|
6874
6900
|
props: /* @__PURE__ */ mergeModels({
|
|
6875
6901
|
showFields: {},
|
|
@@ -6905,7 +6931,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
6905
6931
|
const computedSchema = computed(() => getFallbackSchema([itemData.value], props2.showFields));
|
|
6906
6932
|
return (_ctx, _cache) => {
|
|
6907
6933
|
var _a2;
|
|
6908
|
-
return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6934
|
+
return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$H, [
|
|
6909
6935
|
_ctx.title ? (openBlock(), createBlock(unref(_sfc_main$3), {
|
|
6910
6936
|
key: 0,
|
|
6911
6937
|
label: _ctx.title
|
|
@@ -6914,11 +6940,11 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
6914
6940
|
return openBlock(), createElementBlock(Fragment, {
|
|
6915
6941
|
key: field.id
|
|
6916
6942
|
}, [
|
|
6917
|
-
unref(iffer)(field, itemData.value) ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
6918
|
-
createElementVNode("div", _hoisted_3$
|
|
6919
|
-
createElementVNode("p", _hoisted_4$
|
|
6943
|
+
unref(iffer)(field, itemData.value) ? (openBlock(), createElementBlock("div", _hoisted_2$t, [
|
|
6944
|
+
createElementVNode("div", _hoisted_3$n, [
|
|
6945
|
+
createElementVNode("p", _hoisted_4$f, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1)
|
|
6920
6946
|
]),
|
|
6921
|
-
createVNode(unref(_sfc_main$
|
|
6947
|
+
createVNode(unref(_sfc_main$Q), {
|
|
6922
6948
|
modelValue: itemData.value,
|
|
6923
6949
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => itemData.value = $event),
|
|
6924
6950
|
label: "",
|
|
@@ -6928,10 +6954,10 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
6928
6954
|
])) : createCommentVNode("", true)
|
|
6929
6955
|
], 64);
|
|
6930
6956
|
}), 128)),
|
|
6931
|
-
!((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
6957
|
+
!((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_5$d, [
|
|
6932
6958
|
(openBlock(true), createElementBlock(Fragment, null, renderList(computedSchema.value, ({ id, label }) => {
|
|
6933
6959
|
return openBlock(), createElementBlock(Fragment, { key: id }, [
|
|
6934
|
-
!isUnset(itemData.value[id]) ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
6960
|
+
!isUnset(itemData.value[id]) ? (openBlock(), createElementBlock("div", _hoisted_6$a, [
|
|
6935
6961
|
createElementVNode("div", _hoisted_7$6, [
|
|
6936
6962
|
createElementVNode("p", _hoisted_8$4, toDisplayString(label), 1)
|
|
6937
6963
|
]),
|
|
@@ -6947,7 +6973,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
6947
6973
|
};
|
|
6948
6974
|
}
|
|
6949
6975
|
});
|
|
6950
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6976
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-6c27f163"]]);
|
|
6951
6977
|
const sides = ["top", "right", "bottom", "left"];
|
|
6952
6978
|
const alignments = ["start", "end"];
|
|
6953
6979
|
const placements = /* @__PURE__ */ sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
|
|
@@ -9489,7 +9515,7 @@ const Gt$1 = {
|
|
|
9489
9515
|
install: Ct$1,
|
|
9490
9516
|
options: h
|
|
9491
9517
|
};
|
|
9492
|
-
const _sfc_main$
|
|
9518
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
9493
9519
|
__name: "Dropdown",
|
|
9494
9520
|
props: /* @__PURE__ */ mergeModels({
|
|
9495
9521
|
value: {},
|
|
@@ -9503,7 +9529,8 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
9503
9529
|
outline: { type: Boolean },
|
|
9504
9530
|
round: { type: Boolean },
|
|
9505
9531
|
placement: {},
|
|
9506
|
-
noAutoFocus: { type: Boolean }
|
|
9532
|
+
noAutoFocus: { type: Boolean },
|
|
9533
|
+
positioningDisabled: { type: Boolean }
|
|
9507
9534
|
}, {
|
|
9508
9535
|
"shown": {
|
|
9509
9536
|
type: Boolean,
|
|
@@ -9560,7 +9587,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
9560
9587
|
};
|
|
9561
9588
|
}
|
|
9562
9589
|
});
|
|
9563
|
-
const _sfc_main$
|
|
9590
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
9564
9591
|
__name: "Flag",
|
|
9565
9592
|
props: {
|
|
9566
9593
|
country: {},
|
|
@@ -9590,7 +9617,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
9590
9617
|
};
|
|
9591
9618
|
}
|
|
9592
9619
|
});
|
|
9593
|
-
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9620
|
+
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-f99f1900"]]);
|
|
9594
9621
|
const state$1 = reactive(/* @__PURE__ */ new Map());
|
|
9595
9622
|
function useTabs(group) {
|
|
9596
9623
|
if (!state$1.has(group)) {
|
|
@@ -9604,8 +9631,8 @@ function useTabs(group) {
|
|
|
9604
9631
|
});
|
|
9605
9632
|
return { currentTab };
|
|
9606
9633
|
}
|
|
9607
|
-
const _hoisted_1$
|
|
9608
|
-
const _sfc_main$
|
|
9634
|
+
const _hoisted_1$G = ["onClick"];
|
|
9635
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
9609
9636
|
__name: "TabsNav",
|
|
9610
9637
|
props: {
|
|
9611
9638
|
title: {},
|
|
@@ -9674,26 +9701,28 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
9674
9701
|
ref: tabsWrap,
|
|
9675
9702
|
class: normalizeClass(["grid auto-flow-columns relative fit-content bgl_tabs_wrap overflow-hidden", { "bgl_flat-tabs": _ctx.flat, "bgl_vertical-tabs": _ctx.vertical }])
|
|
9676
9703
|
}, [
|
|
9677
|
-
(
|
|
9678
|
-
|
|
9679
|
-
|
|
9680
|
-
|
|
9681
|
-
|
|
9682
|
-
|
|
9683
|
-
|
|
9684
|
-
|
|
9685
|
-
|
|
9686
|
-
|
|
9687
|
-
|
|
9688
|
-
|
|
9689
|
-
|
|
9690
|
-
|
|
9704
|
+
renderSlot(_ctx.$slots, "tabs", normalizeProps(guardReactiveProps({ selectTab, isActive, tabLabel, tabs: tabs.value })), () => [
|
|
9705
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(props2.tabs, (tab, i2) => {
|
|
9706
|
+
return openBlock(), createElementBlock("button", {
|
|
9707
|
+
key: i2,
|
|
9708
|
+
type: "button",
|
|
9709
|
+
class: normalizeClass([{ active: isActive(tab) }, "bgl_tab relative z-1"]),
|
|
9710
|
+
onClick: ($event) => selectTab(tab)
|
|
9711
|
+
}, [
|
|
9712
|
+
typeof tab !== "string" && tab.icon ? (openBlock(), createBlock(unref(_sfc_main$c), {
|
|
9713
|
+
key: 0,
|
|
9714
|
+
icon: tab.icon
|
|
9715
|
+
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
9716
|
+
createTextVNode(" " + toDisplayString(tabLabel(tab)), 1)
|
|
9717
|
+
], 10, _hoisted_1$G);
|
|
9718
|
+
}), 128))
|
|
9719
|
+
], true)
|
|
9691
9720
|
], 2);
|
|
9692
9721
|
};
|
|
9693
9722
|
}
|
|
9694
9723
|
});
|
|
9695
|
-
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9696
|
-
const _sfc_main$
|
|
9724
|
+
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-307612a9"]]);
|
|
9725
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
9697
9726
|
__name: "BglField",
|
|
9698
9727
|
props: {
|
|
9699
9728
|
field: {},
|
|
@@ -9710,15 +9739,15 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
9710
9739
|
customAttrs.value.multiline = true;
|
|
9711
9740
|
return TextInput;
|
|
9712
9741
|
}
|
|
9713
|
-
if (props2.field.$el === "array") return _sfc_main$
|
|
9742
|
+
if (props2.field.$el === "array") return _sfc_main$N;
|
|
9714
9743
|
if (props2.field.$el === "select") return SelectInput;
|
|
9715
9744
|
if (props2.field.$el === "toggle") return ToggleInput;
|
|
9716
9745
|
if (props2.field.$el === "check") return CheckInput;
|
|
9717
9746
|
if (props2.field.$el === "richtext") return RichText;
|
|
9718
9747
|
if (props2.field.$el === "file") return FileUpload;
|
|
9719
|
-
if (props2.field.$el === "date") return _sfc_main$
|
|
9748
|
+
if (props2.field.$el === "date") return _sfc_main$I;
|
|
9720
9749
|
if (props2.field.$el === "tabs") return TabsNav;
|
|
9721
|
-
if (props2.field.$el === "form") return _sfc_main$
|
|
9750
|
+
if (props2.field.$el === "form") return _sfc_main$P;
|
|
9722
9751
|
return props2.field.$el ?? "div";
|
|
9723
9752
|
});
|
|
9724
9753
|
const formData = computed({
|
|
@@ -9741,7 +9770,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
9741
9770
|
temp[keys4[keys4.length - 1]] = val;
|
|
9742
9771
|
return data2;
|
|
9743
9772
|
}
|
|
9744
|
-
const isForm = computed(() => props2.field.$el === "form" || props2.field.$el === _sfc_main$
|
|
9773
|
+
const isForm = computed(() => props2.field.$el === "form" || props2.field.$el === _sfc_main$P);
|
|
9745
9774
|
function getFieldData(obj, key) {
|
|
9746
9775
|
if (typeof obj !== "object" || obj === null) return obj;
|
|
9747
9776
|
const keys4 = key.split(objPathRegex);
|
|
@@ -9835,7 +9864,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
9835
9864
|
};
|
|
9836
9865
|
}
|
|
9837
9866
|
});
|
|
9838
|
-
const _sfc_main$
|
|
9867
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
9839
9868
|
__name: "BglForm",
|
|
9840
9869
|
props: {
|
|
9841
9870
|
label: {},
|
|
@@ -9933,7 +9962,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
9933
9962
|
label: _ctx.label
|
|
9934
9963
|
}, null, 8, ["label"])) : createCommentVNode("", true),
|
|
9935
9964
|
(openBlock(true), createElementBlock(Fragment, null, renderList(computedSchema.value, (field, i2) => {
|
|
9936
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
9965
|
+
return openBlock(), createBlock(unref(_sfc_main$Q), {
|
|
9937
9966
|
key: field.id || `${i2}p`,
|
|
9938
9967
|
modelValue: unref(data2),
|
|
9939
9968
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(data2) ? data2.value = $event : data2 = $event),
|
|
@@ -9957,7 +9986,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
9957
9986
|
label: _ctx.label
|
|
9958
9987
|
}, null, 8, ["label"])) : createCommentVNode("", true),
|
|
9959
9988
|
(openBlock(true), createElementBlock(Fragment, null, renderList(computedSchema.value, (field, i2) => {
|
|
9960
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
9989
|
+
return openBlock(), createBlock(unref(_sfc_main$Q), {
|
|
9961
9990
|
key: field.id || `${i2}p`,
|
|
9962
9991
|
modelValue: unref(data2),
|
|
9963
9992
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(data2) ? data2.value = $event : data2 = $event),
|
|
@@ -9976,8 +10005,8 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
9976
10005
|
};
|
|
9977
10006
|
}
|
|
9978
10007
|
});
|
|
9979
|
-
const _hoisted_1$
|
|
9980
|
-
const _sfc_main$
|
|
10008
|
+
const _hoisted_1$F = { key: 0 };
|
|
10009
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
9981
10010
|
__name: "BglMultiStepForm",
|
|
9982
10011
|
props: /* @__PURE__ */ mergeModels({
|
|
9983
10012
|
bagelFormProps: { default: () => ({}) },
|
|
@@ -10044,8 +10073,8 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
10044
10073
|
mode: "out-in"
|
|
10045
10074
|
}, {
|
|
10046
10075
|
default: withCtx(() => [
|
|
10047
|
-
!unref(isStepping) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
10048
|
-
createVNode(unref(_sfc_main$
|
|
10076
|
+
!unref(isStepping) ? (openBlock(), createElementBlock("div", _hoisted_1$F, [
|
|
10077
|
+
createVNode(unref(_sfc_main$P), mergeProps({
|
|
10049
10078
|
ref_key: "formRef",
|
|
10050
10079
|
ref: formRef,
|
|
10051
10080
|
modelValue: formData.value,
|
|
@@ -10084,9 +10113,9 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
10084
10113
|
};
|
|
10085
10114
|
}
|
|
10086
10115
|
});
|
|
10087
|
-
const _hoisted_1$
|
|
10088
|
-
const _hoisted_2$
|
|
10089
|
-
const _sfc_main$
|
|
10116
|
+
const _hoisted_1$E = { class: "label mb-05" };
|
|
10117
|
+
const _hoisted_2$s = { class: "-ms-05 ps-05 border-start" };
|
|
10118
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
10090
10119
|
__name: "FieldArray",
|
|
10091
10120
|
props: {
|
|
10092
10121
|
el: { default: "div" },
|
|
@@ -10124,8 +10153,8 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
10124
10153
|
}
|
|
10125
10154
|
return (_ctx, _cache) => {
|
|
10126
10155
|
return openBlock(), createElementBlock("div", null, [
|
|
10127
|
-
createElementVNode("p", _hoisted_1$
|
|
10128
|
-
createElementVNode("div", _hoisted_2$
|
|
10156
|
+
createElementVNode("p", _hoisted_1$E, toDisplayString(_ctx.label), 1),
|
|
10157
|
+
createElementVNode("div", _hoisted_2$s, [
|
|
10129
10158
|
(openBlock(true), createElementBlock(Fragment, null, renderList(data2.value, (_2, i2) => {
|
|
10130
10159
|
return openBlock(), createElementBlock("div", {
|
|
10131
10160
|
key: i2,
|
|
@@ -10133,7 +10162,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
10133
10162
|
thin: "",
|
|
10134
10163
|
class: "mb-05 itemBox transition p-05"
|
|
10135
10164
|
}, [
|
|
10136
|
-
_ctx.schema ? (openBlock(), createBlock(unref(_sfc_main$
|
|
10165
|
+
_ctx.schema ? (openBlock(), createBlock(unref(_sfc_main$P), {
|
|
10137
10166
|
key: 0,
|
|
10138
10167
|
modelValue: data2.value[i2],
|
|
10139
10168
|
"onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
|
|
@@ -10168,8 +10197,8 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
10168
10197
|
};
|
|
10169
10198
|
}
|
|
10170
10199
|
});
|
|
10171
|
-
const _hoisted_1$
|
|
10172
|
-
const _sfc_main$
|
|
10200
|
+
const _hoisted_1$D = { class: "primary-checkbox" };
|
|
10201
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
10173
10202
|
__name: "Checkbox",
|
|
10174
10203
|
props: {
|
|
10175
10204
|
"modelValue": { type: Boolean, ...{ default: false } },
|
|
@@ -10179,7 +10208,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
10179
10208
|
setup(__props) {
|
|
10180
10209
|
const val = useModel(__props, "modelValue");
|
|
10181
10210
|
return (_ctx, _cache) => {
|
|
10182
|
-
return openBlock(), createElementBlock("label", _hoisted_1$
|
|
10211
|
+
return openBlock(), createElementBlock("label", _hoisted_1$D, [
|
|
10183
10212
|
renderSlot(_ctx.$slots, "label", {}, void 0, true),
|
|
10184
10213
|
withDirectives(createElementVNode("input", {
|
|
10185
10214
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
|
|
@@ -10191,11 +10220,11 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
10191
10220
|
};
|
|
10192
10221
|
}
|
|
10193
10222
|
});
|
|
10194
|
-
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10195
|
-
const _hoisted_1$
|
|
10196
|
-
const _hoisted_2$
|
|
10197
|
-
const _hoisted_3$
|
|
10198
|
-
const _sfc_main$
|
|
10223
|
+
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-73f1d9ad"]]);
|
|
10224
|
+
const _hoisted_1$C = ["title"];
|
|
10225
|
+
const _hoisted_2$r = ["id", "value", "required"];
|
|
10226
|
+
const _hoisted_3$m = ["for"];
|
|
10227
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
10199
10228
|
__name: "CheckInput",
|
|
10200
10229
|
props: /* @__PURE__ */ mergeModels({
|
|
10201
10230
|
label: {},
|
|
@@ -10229,27 +10258,27 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
10229
10258
|
required: _ctx.required,
|
|
10230
10259
|
type: "checkbox",
|
|
10231
10260
|
class: "me-05"
|
|
10232
|
-
}, null, 8, _hoisted_2$
|
|
10261
|
+
}, null, 8, _hoisted_2$r), [
|
|
10233
10262
|
[vModelCheckbox, checked.value]
|
|
10234
10263
|
]),
|
|
10235
10264
|
createElementVNode("label", { for: inputId.value }, [
|
|
10236
10265
|
renderSlot(_ctx.$slots, "label", {}, () => [
|
|
10237
10266
|
createTextVNode(toDisplayString(_ctx.label), 1)
|
|
10238
10267
|
], true)
|
|
10239
|
-
], 8, _hoisted_3$
|
|
10240
|
-
], 10, _hoisted_1$
|
|
10268
|
+
], 8, _hoisted_3$m)
|
|
10269
|
+
], 10, _hoisted_1$C);
|
|
10241
10270
|
};
|
|
10242
10271
|
}
|
|
10243
10272
|
});
|
|
10244
|
-
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10245
|
-
const _hoisted_1$
|
|
10273
|
+
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-03ed2982"]]);
|
|
10274
|
+
const _hoisted_1$B = {
|
|
10246
10275
|
key: 0,
|
|
10247
10276
|
class: "code-editor-wrap grid rounded p-1 overflow hm-300px"
|
|
10248
10277
|
};
|
|
10249
|
-
const _hoisted_2$
|
|
10250
|
-
const _hoisted_3$
|
|
10251
|
-
const _hoisted_4$
|
|
10252
|
-
const _sfc_main$
|
|
10278
|
+
const _hoisted_2$q = { class: "overflow-hidden absolute inset-0 p-0 m-0 h-100 codeText" };
|
|
10279
|
+
const _hoisted_3$l = ["innerHTML"];
|
|
10280
|
+
const _hoisted_4$e = ["onKeydown"];
|
|
10281
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
10253
10282
|
__name: "Index",
|
|
10254
10283
|
props: {
|
|
10255
10284
|
language: {},
|
|
@@ -10329,17 +10358,17 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
10329
10358
|
}
|
|
10330
10359
|
}, { immediate: true });
|
|
10331
10360
|
return (_ctx, _cache) => {
|
|
10332
|
-
return unref(loaded) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
10361
|
+
return unref(loaded) ? (openBlock(), createElementBlock("div", _hoisted_1$B, [
|
|
10333
10362
|
createElementVNode("div", {
|
|
10334
10363
|
class: "relative block h-100",
|
|
10335
10364
|
style: normalizeStyle({ height: unref(height) })
|
|
10336
10365
|
}, [
|
|
10337
|
-
createElementVNode("pre", _hoisted_2$
|
|
10366
|
+
createElementVNode("pre", _hoisted_2$q, [
|
|
10338
10367
|
_cache[2] || (_cache[2] = createTextVNode(" ")),
|
|
10339
10368
|
createElementVNode("code", {
|
|
10340
10369
|
class: normalizeClass(className.value),
|
|
10341
10370
|
innerHTML: highlightedCode.value
|
|
10342
|
-
}, null, 10, _hoisted_3$
|
|
10371
|
+
}, null, 10, _hoisted_3$l),
|
|
10343
10372
|
_cache[3] || (_cache[3] = createTextVNode("\n "))
|
|
10344
10373
|
]),
|
|
10345
10374
|
!_ctx.readonly ? withDirectives((openBlock(), createElementBlock("textarea", {
|
|
@@ -10354,7 +10383,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
10354
10383
|
"data-gramm": "false",
|
|
10355
10384
|
onKeydown: withKeys(withModifiers(handleTab, ["prevent"]), ["tab"]),
|
|
10356
10385
|
onInput: _cache[1] || (_cache[1] = ($event) => emit2("update:modelValue", unref(code)))
|
|
10357
|
-
}, null, 40, _hoisted_4$
|
|
10386
|
+
}, null, 40, _hoisted_4$e)), [
|
|
10358
10387
|
[vModelText, unref(code)]
|
|
10359
10388
|
]) : createCommentVNode("", true)
|
|
10360
10389
|
], 4)
|
|
@@ -10362,10 +10391,10 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
10362
10391
|
};
|
|
10363
10392
|
}
|
|
10364
10393
|
});
|
|
10365
|
-
const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10366
|
-
const _hoisted_1$
|
|
10367
|
-
const _hoisted_2$
|
|
10368
|
-
const _sfc_main$
|
|
10394
|
+
const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-4f1dc18a"]]);
|
|
10395
|
+
const _hoisted_1$A = ["title"];
|
|
10396
|
+
const _hoisted_2$p = ["id", "placeholder", "required"];
|
|
10397
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
10369
10398
|
__name: "ColorPicker",
|
|
10370
10399
|
props: {
|
|
10371
10400
|
label: {},
|
|
@@ -10403,11 +10432,11 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
10403
10432
|
placeholder: _ctx.placeholder || _ctx.label,
|
|
10404
10433
|
class: { "no-edit": !_ctx.editMode },
|
|
10405
10434
|
required: _ctx.required
|
|
10406
|
-
}, _ctx.nativeInputAttrs), null, 16, _hoisted_2$
|
|
10435
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_2$p), [
|
|
10407
10436
|
[vModelText, inputVal.value]
|
|
10408
10437
|
])
|
|
10409
10438
|
])
|
|
10410
|
-
], 10, _hoisted_1$
|
|
10439
|
+
], 10, _hoisted_1$A)) : createCommentVNode("", true);
|
|
10411
10440
|
};
|
|
10412
10441
|
}
|
|
10413
10442
|
});
|
|
@@ -11005,9 +11034,9 @@ function buildMatchFn(args) {
|
|
|
11005
11034
|
}
|
|
11006
11035
|
const matchedString = matchResult[0];
|
|
11007
11036
|
const parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];
|
|
11008
|
-
const key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, (
|
|
11037
|
+
const key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, (pattern2) => pattern2.test(matchedString)) : (
|
|
11009
11038
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- I challange you to fix the type
|
|
11010
|
-
findKey$1(parsePatterns, (
|
|
11039
|
+
findKey$1(parsePatterns, (pattern2) => pattern2.test(matchedString))
|
|
11011
11040
|
);
|
|
11012
11041
|
let value;
|
|
11013
11042
|
value = args.valueCallback ? args.valueCallback(key) : key;
|
|
@@ -11934,8 +11963,8 @@ function formatTimezone(offset2, delimiter = "") {
|
|
|
11934
11963
|
const minutes = addLeadingZeros(absOffset % 60, 2);
|
|
11935
11964
|
return sign2 + hours + delimiter + minutes;
|
|
11936
11965
|
}
|
|
11937
|
-
const dateLongFormatter = (
|
|
11938
|
-
switch (
|
|
11966
|
+
const dateLongFormatter = (pattern2, formatLong2) => {
|
|
11967
|
+
switch (pattern2) {
|
|
11939
11968
|
case "P":
|
|
11940
11969
|
return formatLong2.date({ width: "short" });
|
|
11941
11970
|
case "PP":
|
|
@@ -11947,8 +11976,8 @@ const dateLongFormatter = (pattern, formatLong2) => {
|
|
|
11947
11976
|
return formatLong2.date({ width: "full" });
|
|
11948
11977
|
}
|
|
11949
11978
|
};
|
|
11950
|
-
const timeLongFormatter = (
|
|
11951
|
-
switch (
|
|
11979
|
+
const timeLongFormatter = (pattern2, formatLong2) => {
|
|
11980
|
+
switch (pattern2) {
|
|
11952
11981
|
case "p":
|
|
11953
11982
|
return formatLong2.time({ width: "short" });
|
|
11954
11983
|
case "pp":
|
|
@@ -11960,12 +11989,12 @@ const timeLongFormatter = (pattern, formatLong2) => {
|
|
|
11960
11989
|
return formatLong2.time({ width: "full" });
|
|
11961
11990
|
}
|
|
11962
11991
|
};
|
|
11963
|
-
const dateTimeLongFormatter = (
|
|
11964
|
-
const matchResult =
|
|
11992
|
+
const dateTimeLongFormatter = (pattern2, formatLong2) => {
|
|
11993
|
+
const matchResult = pattern2.match(/(P+)(p+)?/) || [];
|
|
11965
11994
|
const datePattern = matchResult[1];
|
|
11966
11995
|
const timePattern = matchResult[2];
|
|
11967
11996
|
if (!timePattern) {
|
|
11968
|
-
return dateLongFormatter(
|
|
11997
|
+
return dateLongFormatter(pattern2, formatLong2);
|
|
11969
11998
|
}
|
|
11970
11999
|
let dateTimeFormat;
|
|
11971
12000
|
switch (datePattern) {
|
|
@@ -12293,8 +12322,8 @@ function mapValue(parseFnResult, mapFn) {
|
|
|
12293
12322
|
rest: parseFnResult.rest
|
|
12294
12323
|
};
|
|
12295
12324
|
}
|
|
12296
|
-
function parseNumericPattern(
|
|
12297
|
-
const matchResult = dateString.match(
|
|
12325
|
+
function parseNumericPattern(pattern2, dateString) {
|
|
12326
|
+
const matchResult = dateString.match(pattern2);
|
|
12298
12327
|
if (!matchResult) {
|
|
12299
12328
|
return null;
|
|
12300
12329
|
}
|
|
@@ -12303,8 +12332,8 @@ function parseNumericPattern(pattern, dateString) {
|
|
|
12303
12332
|
rest: dateString.slice(matchResult[0].length)
|
|
12304
12333
|
};
|
|
12305
12334
|
}
|
|
12306
|
-
function parseTimezonePattern(
|
|
12307
|
-
const matchResult = dateString.match(
|
|
12335
|
+
function parseTimezonePattern(pattern2, dateString) {
|
|
12336
|
+
const matchResult = dateString.match(pattern2);
|
|
12308
12337
|
if (!matchResult) {
|
|
12309
12338
|
return null;
|
|
12310
12339
|
}
|
|
@@ -18965,9 +18994,9 @@ const eo = ({
|
|
|
18965
18994
|
Object.entries(go).forEach(([e, t]) => {
|
|
18966
18995
|
e !== "default" && (Hn[e] = t);
|
|
18967
18996
|
});
|
|
18968
|
-
const _hoisted_1$
|
|
18969
|
-
const _hoisted_2$
|
|
18970
|
-
const _sfc_main$
|
|
18997
|
+
const _hoisted_1$z = ["title"];
|
|
18998
|
+
const _hoisted_2$o = { key: 0 };
|
|
18999
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
18971
19000
|
__name: "DateInput",
|
|
18972
19001
|
props: {
|
|
18973
19002
|
required: { type: Boolean },
|
|
@@ -19009,7 +19038,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
19009
19038
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
19010
19039
|
title: _ctx.label
|
|
19011
19040
|
}, [
|
|
19012
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
19041
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$o, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
19013
19042
|
createVNode(unref(Hn), mergeProps({
|
|
19014
19043
|
ref_key: "datePicker",
|
|
19015
19044
|
ref: datePicker,
|
|
@@ -19025,19 +19054,19 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
19025
19054
|
"minutes-grid-increment": _ctx.minutesGridIncrement,
|
|
19026
19055
|
"start-time": { hours: 8, minutes: 0 }
|
|
19027
19056
|
}), null, 16, ["modelValue", "required", "enable-time-picker", "allowed-dates", "time-picker-inline", "minutes-increment", "minutes-grid-increment"])
|
|
19028
|
-
], 10, _hoisted_1$
|
|
19057
|
+
], 10, _hoisted_1$z);
|
|
19029
19058
|
};
|
|
19030
19059
|
}
|
|
19031
19060
|
});
|
|
19032
|
-
const _hoisted_1$
|
|
19033
|
-
const _hoisted_2$
|
|
19034
|
-
const _hoisted_3$
|
|
19061
|
+
const _hoisted_1$y = { class: "datetime-wrap" };
|
|
19062
|
+
const _hoisted_2$n = { class: "date-wrap" };
|
|
19063
|
+
const _hoisted_3$k = {
|
|
19035
19064
|
key: 0,
|
|
19036
19065
|
class: "time-wrap"
|
|
19037
19066
|
};
|
|
19038
|
-
const _hoisted_4$
|
|
19039
|
-
const _hoisted_5$
|
|
19040
|
-
const _sfc_main$
|
|
19067
|
+
const _hoisted_4$d = ["id", "name", "value"];
|
|
19068
|
+
const _hoisted_5$c = ["for"];
|
|
19069
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
19041
19070
|
__name: "DatePicker",
|
|
19042
19071
|
props: {
|
|
19043
19072
|
label: {},
|
|
@@ -19065,8 +19094,8 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
19065
19094
|
return `${hour}:${minute}`;
|
|
19066
19095
|
});
|
|
19067
19096
|
return (_ctx, _cache) => {
|
|
19068
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
19069
|
-
createElementVNode("div", _hoisted_2$
|
|
19097
|
+
return openBlock(), createElementBlock("div", _hoisted_1$y, [
|
|
19098
|
+
createElementVNode("div", _hoisted_2$n, [
|
|
19070
19099
|
createVNode(unref(Hn), mergeProps({
|
|
19071
19100
|
modelValue: selectedDate.value,
|
|
19072
19101
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedDate.value = $event),
|
|
@@ -19084,7 +19113,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
19084
19113
|
_: 1
|
|
19085
19114
|
}, 16, ["modelValue", "allowed-dates", "disabled-dates"])
|
|
19086
19115
|
]),
|
|
19087
|
-
_ctx.showTimeWrap ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
19116
|
+
_ctx.showTimeWrap ? (openBlock(), createElementBlock("div", _hoisted_3$k, [
|
|
19088
19117
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(hours), (hr2) => {
|
|
19089
19118
|
return openBlock(), createElementBlock(Fragment, { key: hr2 }, [
|
|
19090
19119
|
withDirectives(createElementVNode("input", {
|
|
@@ -19093,12 +19122,12 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
19093
19122
|
type: "radio",
|
|
19094
19123
|
name: _ctx.label,
|
|
19095
19124
|
value: hr2
|
|
19096
|
-
}, null, 8, _hoisted_4$
|
|
19125
|
+
}, null, 8, _hoisted_4$d), [
|
|
19097
19126
|
[vModelRadio, selectedHour.value]
|
|
19098
19127
|
]),
|
|
19099
19128
|
createElementVNode("label", {
|
|
19100
19129
|
for: `${hr2}_${_ctx.id}`
|
|
19101
|
-
}, toDisplayString(hr2), 9, _hoisted_5$
|
|
19130
|
+
}, toDisplayString(hr2), 9, _hoisted_5$c)
|
|
19102
19131
|
], 64);
|
|
19103
19132
|
}), 128))
|
|
19104
19133
|
])) : createCommentVNode("", true)
|
|
@@ -19106,14 +19135,17 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
19106
19135
|
};
|
|
19107
19136
|
}
|
|
19108
19137
|
});
|
|
19109
|
-
const _hoisted_1$
|
|
19110
|
-
const
|
|
19138
|
+
const _hoisted_1$x = { key: 0 };
|
|
19139
|
+
const _hoisted_2$m = ["src", "alt", "width", "height"];
|
|
19140
|
+
const _hoisted_3$j = ["src", "alt", "width", "height"];
|
|
19141
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
19111
19142
|
__name: "Image",
|
|
19112
19143
|
props: {
|
|
19113
19144
|
src: {},
|
|
19114
19145
|
alt: { default: "" },
|
|
19115
19146
|
width: {},
|
|
19116
|
-
height: {}
|
|
19147
|
+
height: {},
|
|
19148
|
+
caption: {}
|
|
19117
19149
|
},
|
|
19118
19150
|
setup(__props) {
|
|
19119
19151
|
let imageSrc = ref(null);
|
|
@@ -19163,15 +19195,29 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
19163
19195
|
}
|
|
19164
19196
|
watch(() => __props.src, loadImage, { immediate: true });
|
|
19165
19197
|
return (_ctx, _cache) => {
|
|
19166
|
-
return
|
|
19167
|
-
|
|
19198
|
+
return _ctx.caption ? (openBlock(), createElementBlock("figcaption", _hoisted_1$x, [
|
|
19199
|
+
unref(imageSrc) ? (openBlock(), createElementBlock("img", mergeProps({
|
|
19200
|
+
key: 0,
|
|
19201
|
+
src: unref(imageSrc)
|
|
19202
|
+
}, _ctx.$attrs, {
|
|
19203
|
+
alt: _ctx.alt,
|
|
19204
|
+
width: unref(normalizeDimension)(_ctx.width),
|
|
19205
|
+
height: unref(normalizeDimension)(_ctx.height)
|
|
19206
|
+
}), null, 16, _hoisted_2$m)) : (openBlock(), createBlock(unref(Skeleton), {
|
|
19207
|
+
key: 1,
|
|
19208
|
+
class: "img-web-kit",
|
|
19209
|
+
width: unref(normalizeDimension)(_ctx.width),
|
|
19210
|
+
height: unref(normalizeDimension)(_ctx.height)
|
|
19211
|
+
}, null, 8, ["width", "height"]))
|
|
19212
|
+
])) : unref(imageSrc) ? (openBlock(), createElementBlock("img", mergeProps({
|
|
19213
|
+
key: 1,
|
|
19168
19214
|
src: unref(imageSrc)
|
|
19169
19215
|
}, _ctx.$attrs, {
|
|
19170
19216
|
alt: _ctx.alt,
|
|
19171
19217
|
width: unref(normalizeDimension)(_ctx.width),
|
|
19172
19218
|
height: unref(normalizeDimension)(_ctx.height)
|
|
19173
|
-
}), null, 16,
|
|
19174
|
-
key:
|
|
19219
|
+
}), null, 16, _hoisted_3$j)) : (openBlock(), createBlock(unref(Skeleton), {
|
|
19220
|
+
key: 2,
|
|
19175
19221
|
class: "img-web-kit",
|
|
19176
19222
|
width: unref(normalizeDimension)(_ctx.width),
|
|
19177
19223
|
height: unref(normalizeDimension)(_ctx.height)
|
|
@@ -19179,22 +19225,22 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
19179
19225
|
};
|
|
19180
19226
|
}
|
|
19181
19227
|
});
|
|
19182
|
-
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19183
|
-
const _hoisted_1$
|
|
19184
|
-
const _hoisted_2$
|
|
19228
|
+
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-e7144f6e"]]);
|
|
19229
|
+
const _hoisted_1$w = { class: "bagel-input" };
|
|
19230
|
+
const _hoisted_2$l = {
|
|
19185
19231
|
key: 0,
|
|
19186
19232
|
placeholder: "required",
|
|
19187
19233
|
type: "text",
|
|
19188
19234
|
required: "",
|
|
19189
19235
|
class: "pixel"
|
|
19190
19236
|
};
|
|
19191
|
-
const _hoisted_3$
|
|
19192
|
-
const _hoisted_4$
|
|
19193
|
-
const _hoisted_5$
|
|
19237
|
+
const _hoisted_3$i = { class: "m-05 flex opacity-7 z-99" };
|
|
19238
|
+
const _hoisted_4$c = { class: "ellipsis-1 word-break-all h-20 m-0" };
|
|
19239
|
+
const _hoisted_5$b = {
|
|
19194
19240
|
key: 1,
|
|
19195
19241
|
class: "txt-gray txt-12"
|
|
19196
19242
|
};
|
|
19197
|
-
const _hoisted_6$
|
|
19243
|
+
const _hoisted_6$9 = {
|
|
19198
19244
|
key: 0,
|
|
19199
19245
|
class: "bgl-multi-preview"
|
|
19200
19246
|
};
|
|
@@ -19218,7 +19264,7 @@ const _hoisted_13$1 = {
|
|
|
19218
19264
|
class: "progress"
|
|
19219
19265
|
};
|
|
19220
19266
|
const _hoisted_14 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
|
|
19221
|
-
const _sfc_main$
|
|
19267
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
19222
19268
|
__name: "FileUpload",
|
|
19223
19269
|
props: /* @__PURE__ */ mergeModels({
|
|
19224
19270
|
label: {},
|
|
@@ -19392,10 +19438,10 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
19392
19438
|
return (_ctx, _cache) => {
|
|
19393
19439
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
19394
19440
|
const _directive_lightbox = resolveDirective("lightbox");
|
|
19395
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
19441
|
+
return openBlock(), createElementBlock("div", _hoisted_1$w, [
|
|
19396
19442
|
createElementVNode("label", null, toDisplayString(_ctx.label), 1),
|
|
19397
|
-
_ctx.required && !storageFiles.value.length ? (openBlock(), createElementBlock("input", _hoisted_2$
|
|
19398
|
-
_ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$
|
|
19443
|
+
_ctx.required && !storageFiles.value.length ? (openBlock(), createElementBlock("input", _hoisted_2$l)) : createCommentVNode("", true),
|
|
19444
|
+
_ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$X), {
|
|
19399
19445
|
key: 1,
|
|
19400
19446
|
outline: "",
|
|
19401
19447
|
class: "flex p-05 gap-1",
|
|
@@ -19420,7 +19466,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
19420
19466
|
key: file.id,
|
|
19421
19467
|
class: "txt-gray txt-12 flex"
|
|
19422
19468
|
}, [
|
|
19423
|
-
createElementVNode("div", _hoisted_3$
|
|
19469
|
+
createElementVNode("div", _hoisted_3$i, [
|
|
19424
19470
|
withDirectives(createVNode(unref(Btn), {
|
|
19425
19471
|
color: "gray",
|
|
19426
19472
|
thin: "",
|
|
@@ -19449,7 +19495,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
19449
19495
|
}, null, 8, ["href", "download"]), [
|
|
19450
19496
|
[_directive_tooltip, "Download"]
|
|
19451
19497
|
]),
|
|
19452
|
-
withDirectives((openBlock(), createElementBlock("p", _hoisted_4$
|
|
19498
|
+
withDirectives((openBlock(), createElementBlock("p", _hoisted_4$c, [
|
|
19453
19499
|
createTextVNode(toDisplayString(file.name), 1)
|
|
19454
19500
|
])), [
|
|
19455
19501
|
[_directive_lightbox, { src: file.url, download: true }]
|
|
@@ -19464,7 +19510,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
19464
19510
|
])
|
|
19465
19511
|
]);
|
|
19466
19512
|
}), 128)),
|
|
19467
|
-
!storageFiles.value.length && !fileQueue.value.length ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
19513
|
+
!storageFiles.value.length && !fileQueue.value.length ? (openBlock(), createElementBlock("span", _hoisted_5$b, " No file selected ")) : createCommentVNode("", true)
|
|
19468
19514
|
]),
|
|
19469
19515
|
_: 1
|
|
19470
19516
|
})) : (openBlock(), createElementBlock("div", {
|
|
@@ -19484,7 +19530,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
19484
19530
|
files: storageFiles.value,
|
|
19485
19531
|
fileQueue: fileQueue.value
|
|
19486
19532
|
}, () => [
|
|
19487
|
-
_ctx.multiple ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
19533
|
+
_ctx.multiple ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
|
|
19488
19534
|
(openBlock(true), createElementBlock(Fragment, null, renderList(storageFiles.value, (file) => {
|
|
19489
19535
|
return withDirectives((openBlock(), createElementBlock("div", {
|
|
19490
19536
|
key: file.id,
|
|
@@ -19640,11 +19686,11 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
19640
19686
|
};
|
|
19641
19687
|
}
|
|
19642
19688
|
});
|
|
19643
|
-
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19644
|
-
const _hoisted_1$
|
|
19645
|
-
const _hoisted_2$
|
|
19646
|
-
const _hoisted_3$
|
|
19647
|
-
const _sfc_main$
|
|
19689
|
+
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-6bfdaea2"]]);
|
|
19690
|
+
const _hoisted_1$v = ["title"];
|
|
19691
|
+
const _hoisted_2$k = { key: 0 };
|
|
19692
|
+
const _hoisted_3$h = ["value", "placeholder"];
|
|
19693
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
19648
19694
|
__name: "JSONInput",
|
|
19649
19695
|
props: {
|
|
19650
19696
|
description: { default: "" },
|
|
@@ -19667,7 +19713,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
19667
19713
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
19668
19714
|
title: _ctx.description
|
|
19669
19715
|
}, [
|
|
19670
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
19716
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$k, [
|
|
19671
19717
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
19672
19718
|
])) : createCommentVNode("", true),
|
|
19673
19719
|
createElementVNode("textarea", {
|
|
@@ -19675,12 +19721,164 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
19675
19721
|
class: normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
19676
19722
|
placeholder: _ctx.placeholder,
|
|
19677
19723
|
onInput: handleInput
|
|
19678
|
-
}, null, 42, _hoisted_3$
|
|
19679
|
-
], 10, _hoisted_1$
|
|
19724
|
+
}, null, 42, _hoisted_3$h)
|
|
19725
|
+
], 10, _hoisted_1$v);
|
|
19680
19726
|
};
|
|
19681
19727
|
}
|
|
19682
19728
|
});
|
|
19683
|
-
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19729
|
+
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-1cbaeab2"]]);
|
|
19730
|
+
const _hoisted_1$u = ["for"];
|
|
19731
|
+
const _hoisted_2$j = ["id", "placeholder", "disabled", "required", "readonly", "onKeydown"];
|
|
19732
|
+
const _hoisted_3$g = { key: 1 };
|
|
19733
|
+
const _hoisted_4$b = {
|
|
19734
|
+
key: 5,
|
|
19735
|
+
class: "flex column spinner"
|
|
19736
|
+
};
|
|
19737
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
19738
|
+
__name: "NumberInput",
|
|
19739
|
+
props: {
|
|
19740
|
+
modelValue: {},
|
|
19741
|
+
min: {},
|
|
19742
|
+
max: {},
|
|
19743
|
+
step: { default: 1 },
|
|
19744
|
+
spinner: { type: Boolean, default: true },
|
|
19745
|
+
iconStart: {},
|
|
19746
|
+
icon: {},
|
|
19747
|
+
label: {},
|
|
19748
|
+
placeholder: {},
|
|
19749
|
+
disabled: { type: Boolean },
|
|
19750
|
+
required: { type: Boolean },
|
|
19751
|
+
id: {},
|
|
19752
|
+
helptext: {},
|
|
19753
|
+
layout: {},
|
|
19754
|
+
center: { type: Boolean }
|
|
19755
|
+
},
|
|
19756
|
+
emits: ["update:modelValue"],
|
|
19757
|
+
setup(__props, { emit: __emit }) {
|
|
19758
|
+
const emit2 = __emit;
|
|
19759
|
+
let numberValue = ref(0);
|
|
19760
|
+
const btnLayouts = ["horizontal", "vertical"];
|
|
19761
|
+
function increment() {
|
|
19762
|
+
if (!__props.max || numberValue.value + __props.step <= __props.max) {
|
|
19763
|
+
numberValue.value = (numberValue.value || 0) + __props.step;
|
|
19764
|
+
emit2("update:modelValue", numberValue.value);
|
|
19765
|
+
}
|
|
19766
|
+
}
|
|
19767
|
+
function decrement() {
|
|
19768
|
+
if (!__props.min || numberValue.value - __props.step >= __props.min) {
|
|
19769
|
+
numberValue.value = (numberValue.value || 0) - __props.step;
|
|
19770
|
+
emit2("update:modelValue", numberValue.value);
|
|
19771
|
+
}
|
|
19772
|
+
}
|
|
19773
|
+
function formatNumber2(num) {
|
|
19774
|
+
return num.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
|
19775
|
+
}
|
|
19776
|
+
let formattedValue = ref("");
|
|
19777
|
+
function inputHandler() {
|
|
19778
|
+
const numeric = formattedValue.value.replace(/[^\d.-]/g, "");
|
|
19779
|
+
if (numeric === "" || numeric === "-" || numeric === "." || numeric === "-." || numeric.endsWith(".")) return;
|
|
19780
|
+
numberValue.value = Number.parseFloat(numeric);
|
|
19781
|
+
formattedValue.value = formatNumber2(numberValue.value);
|
|
19782
|
+
emit2("update:modelValue", numberValue.value);
|
|
19783
|
+
}
|
|
19784
|
+
watch(() => numberValue.value, () => {
|
|
19785
|
+
formattedValue.value = formatNumber2(numberValue.value);
|
|
19786
|
+
}, { immediate: true });
|
|
19787
|
+
watch(() => __props.modelValue, (newVal) => {
|
|
19788
|
+
if (newVal !== numberValue.value) {
|
|
19789
|
+
numberValue.value = newVal;
|
|
19790
|
+
}
|
|
19791
|
+
}, { immediate: true });
|
|
19792
|
+
return (_ctx, _cache) => {
|
|
19793
|
+
const _directive_pattern = resolveDirective("pattern");
|
|
19794
|
+
return openBlock(), createElementBlock("div", {
|
|
19795
|
+
class: normalizeClass(["bagel-input num-input", {
|
|
19796
|
+
textInputSpinnerWrap: _ctx.icon || _ctx.spinner,
|
|
19797
|
+
txtInputIconStart: _ctx.iconStart
|
|
19798
|
+
}])
|
|
19799
|
+
}, [
|
|
19800
|
+
createElementVNode("label", { for: _ctx.id }, [
|
|
19801
|
+
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
19802
|
+
createElementVNode("div", {
|
|
19803
|
+
class: normalizeClass(["gap-025", { "column flex": _ctx.layout === "vertical", "flex": _ctx.layout === "horizontal" }])
|
|
19804
|
+
}, [
|
|
19805
|
+
_ctx.layout && btnLayouts.includes(_ctx.layout) ? (openBlock(), createBlock(unref(Btn), {
|
|
19806
|
+
key: 0,
|
|
19807
|
+
icon: "add",
|
|
19808
|
+
class: normalizeClass(["radius", [{ "bgl-big-ctrl-num-btn": _ctx.layout === "vertical" }]]),
|
|
19809
|
+
onClick: increment
|
|
19810
|
+
}, null, 8, ["class"])) : createCommentVNode("", true),
|
|
19811
|
+
withDirectives(createElementVNode("input", {
|
|
19812
|
+
id: _ctx.id,
|
|
19813
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(formattedValue) ? formattedValue.value = $event : formattedValue = $event),
|
|
19814
|
+
type: "text",
|
|
19815
|
+
class: normalizeClass({ "txt-center": _ctx.center, "min0": _ctx.layout }),
|
|
19816
|
+
placeholder: _ctx.placeholder || _ctx.label,
|
|
19817
|
+
disabled: _ctx.disabled,
|
|
19818
|
+
required: _ctx.required,
|
|
19819
|
+
readonly: _ctx.disabled,
|
|
19820
|
+
inputmode: "numeric",
|
|
19821
|
+
autocomplete: "off",
|
|
19822
|
+
autocorrect: "off",
|
|
19823
|
+
spellcheck: "false",
|
|
19824
|
+
onInput: inputHandler,
|
|
19825
|
+
onKeydown: [
|
|
19826
|
+
withKeys(withModifiers(increment, ["prevent"]), ["up"]),
|
|
19827
|
+
withKeys(withModifiers(decrement, ["prevent"]), ["down"])
|
|
19828
|
+
]
|
|
19829
|
+
}, null, 42, _hoisted_2$j), [
|
|
19830
|
+
[
|
|
19831
|
+
vModelText,
|
|
19832
|
+
unref(formattedValue),
|
|
19833
|
+
void 0,
|
|
19834
|
+
{ trim: true }
|
|
19835
|
+
],
|
|
19836
|
+
[
|
|
19837
|
+
_directive_pattern,
|
|
19838
|
+
void 0,
|
|
19839
|
+
void 0,
|
|
19840
|
+
{ number: true }
|
|
19841
|
+
]
|
|
19842
|
+
]),
|
|
19843
|
+
_ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_3$g, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true),
|
|
19844
|
+
_ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$c), {
|
|
19845
|
+
key: 2,
|
|
19846
|
+
class: "iconStart",
|
|
19847
|
+
icon: _ctx.iconStart
|
|
19848
|
+
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
19849
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$c), {
|
|
19850
|
+
key: 3,
|
|
19851
|
+
icon: _ctx.icon
|
|
19852
|
+
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
19853
|
+
_ctx.layout && btnLayouts.includes(_ctx.layout) ? (openBlock(), createBlock(unref(Btn), {
|
|
19854
|
+
key: 4,
|
|
19855
|
+
icon: "remove",
|
|
19856
|
+
class: normalizeClass(["radius", [{ "bgl-big-ctrl-num-btn": _ctx.layout === "vertical" }]]),
|
|
19857
|
+
onClick: decrement
|
|
19858
|
+
}, null, 8, ["class"])) : createCommentVNode("", true),
|
|
19859
|
+
_ctx.spinner && (!_ctx.layout || !btnLayouts.includes(_ctx.layout)) ? (openBlock(), createElementBlock("div", _hoisted_4$b, [
|
|
19860
|
+
createVNode(unref(Btn), {
|
|
19861
|
+
icon: "add",
|
|
19862
|
+
flat: "",
|
|
19863
|
+
thin: "",
|
|
19864
|
+
class: "bgl-ctrl-num-btn",
|
|
19865
|
+
onClick: increment
|
|
19866
|
+
}),
|
|
19867
|
+
createVNode(unref(Btn), {
|
|
19868
|
+
icon: "remove",
|
|
19869
|
+
flat: "",
|
|
19870
|
+
thin: "",
|
|
19871
|
+
class: "bgl-ctrl-num-btn",
|
|
19872
|
+
onClick: decrement
|
|
19873
|
+
})
|
|
19874
|
+
])) : createCommentVNode("", true)
|
|
19875
|
+
], 2)
|
|
19876
|
+
], 8, _hoisted_1$u)
|
|
19877
|
+
], 2);
|
|
19878
|
+
};
|
|
19879
|
+
}
|
|
19880
|
+
});
|
|
19881
|
+
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-7b056cf2"]]);
|
|
19684
19882
|
const _hoisted_1$t = ["value", "autofocus", "onKeydown", "onPaste"];
|
|
19685
19883
|
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
19686
19884
|
__name: "OTP",
|
|
@@ -19853,9 +20051,9 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
19853
20051
|
const _hoisted_1$s = ["for"];
|
|
19854
20052
|
const _hoisted_2$i = ["id", "name", "value"];
|
|
19855
20053
|
const _hoisted_3$f = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
|
|
19856
|
-
const _hoisted_4$
|
|
19857
|
-
const _hoisted_5$
|
|
19858
|
-
const _hoisted_6$
|
|
20054
|
+
const _hoisted_4$a = ["src", "alt"];
|
|
20055
|
+
const _hoisted_5$a = { class: "" };
|
|
20056
|
+
const _hoisted_6$8 = {
|
|
19859
20057
|
key: 0,
|
|
19860
20058
|
class: "m-0 m_txt-14"
|
|
19861
20059
|
};
|
|
@@ -19901,9 +20099,9 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
19901
20099
|
width: "60",
|
|
19902
20100
|
src: opt.imgSrc,
|
|
19903
20101
|
alt: opt.imgAlt
|
|
19904
|
-
}, null, 8, _hoisted_4$
|
|
19905
|
-
createElementVNode("div", _hoisted_5$
|
|
19906
|
-
opt.label ? (openBlock(), createElementBlock("p", _hoisted_6$
|
|
20102
|
+
}, null, 8, _hoisted_4$a)) : createCommentVNode("", true),
|
|
20103
|
+
createElementVNode("div", _hoisted_5$a, [
|
|
20104
|
+
opt.label ? (openBlock(), createElementBlock("p", _hoisted_6$8, toDisplayString(opt.label), 1)) : createCommentVNode("", true),
|
|
19907
20105
|
opt.subLabel ? (openBlock(), createElementBlock("p", _hoisted_7$4, toDisplayString(opt.subLabel), 1)) : createCommentVNode("", true)
|
|
19908
20106
|
]),
|
|
19909
20107
|
renderSlot(_ctx.$slots, "radioItem", mergeProps({ ref_for: true }, opt), void 0, true)
|
|
@@ -19926,8 +20124,8 @@ const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data
|
|
|
19926
20124
|
const _hoisted_1$r = { class: "bagel-input" };
|
|
19927
20125
|
const _hoisted_2$h = { class: "pb-025" };
|
|
19928
20126
|
const _hoisted_3$e = { class: "flex gap-05 flex-wrap" };
|
|
19929
|
-
const _hoisted_4$
|
|
19930
|
-
const _hoisted_5$
|
|
20127
|
+
const _hoisted_4$9 = ["id", "name", "value", "checked"];
|
|
20128
|
+
const _hoisted_5$9 = ["for"];
|
|
19931
20129
|
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
19932
20130
|
__name: "RadioPillsInput",
|
|
19933
20131
|
props: {
|
|
@@ -19984,10 +20182,10 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
19984
20182
|
value: getValue(option2),
|
|
19985
20183
|
checked: unref(selectedValue) === getValue(option2),
|
|
19986
20184
|
onChange: handleSelect
|
|
19987
|
-
}, null, 40, _hoisted_4$
|
|
20185
|
+
}, null, 40, _hoisted_4$9),
|
|
19988
20186
|
createElementVNode("label", {
|
|
19989
20187
|
for: `${_ctx.id}-${getValue(option2)}`
|
|
19990
|
-
}, toDisplayString(getLabel(option2)), 9, _hoisted_5$
|
|
20188
|
+
}, toDisplayString(getLabel(option2)), 9, _hoisted_5$9)
|
|
19991
20189
|
]);
|
|
19992
20190
|
}), 128))
|
|
19993
20191
|
])
|
|
@@ -19996,76 +20194,113 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
19996
20194
|
}
|
|
19997
20195
|
});
|
|
19998
20196
|
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-cf892d71"]]);
|
|
19999
|
-
const _hoisted_1$q = {
|
|
20000
|
-
const _hoisted_2$g =
|
|
20001
|
-
const _hoisted_3$d =
|
|
20197
|
+
const _hoisted_1$q = { class: "label" };
|
|
20198
|
+
const _hoisted_2$g = { class: "range-slider relative w-100" };
|
|
20199
|
+
const _hoisted_3$d = ["id", "min", "max", "step", "required", "disabled"];
|
|
20200
|
+
const _hoisted_4$8 = ["min", "max", "step", "required", "disabled"];
|
|
20201
|
+
const _hoisted_5$8 = { class: "track absolute pointer-events-none overflow-hidden round" };
|
|
20202
|
+
const _hoisted_6$7 = { class: "txt-center txt-14 range-slider-txt flex space-between opacity-4 mx-05" };
|
|
20002
20203
|
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
20003
20204
|
__name: "RangeInput",
|
|
20004
|
-
props:
|
|
20005
|
-
min: {},
|
|
20006
|
-
max: {},
|
|
20007
|
-
|
|
20205
|
+
props: {
|
|
20206
|
+
min: { default: 0 },
|
|
20207
|
+
max: { default: 100 },
|
|
20208
|
+
modelValue: {},
|
|
20209
|
+
step: { default: 1 },
|
|
20210
|
+
required: { type: Boolean },
|
|
20211
|
+
label: {},
|
|
20008
20212
|
disabled: { type: Boolean },
|
|
20009
20213
|
id: {},
|
|
20010
|
-
|
|
20011
|
-
|
|
20012
|
-
thickness: { default: "8px" }
|
|
20013
|
-
}, {
|
|
20014
|
-
"modelValue": { default: 0 },
|
|
20015
|
-
"modelModifiers": {}
|
|
20016
|
-
}),
|
|
20214
|
+
rtl: { type: Boolean }
|
|
20215
|
+
},
|
|
20017
20216
|
emits: ["update:modelValue"],
|
|
20018
|
-
setup(__props) {
|
|
20019
|
-
const
|
|
20020
|
-
const
|
|
20021
|
-
|
|
20022
|
-
|
|
20023
|
-
|
|
20024
|
-
|
|
20025
|
-
|
|
20026
|
-
|
|
20027
|
-
|
|
20028
|
-
|
|
20029
|
-
|
|
20030
|
-
if (direction.value === "rtl") {
|
|
20031
|
-
return `linear-gradient(to left, var(--bgl-primary) ${percentage}%, var(--input-bg) ${percentage}%)`;
|
|
20032
|
-
}
|
|
20033
|
-
return `linear-gradient(to right, var(--bgl-primary) ${percentage}%, var(--input-bg) ${percentage}%)`;
|
|
20217
|
+
setup(__props, { emit: __emit }) {
|
|
20218
|
+
const emit2 = __emit;
|
|
20219
|
+
const isRange = computed(() => Array.isArray(__props.modelValue));
|
|
20220
|
+
let from = ref(__props.min);
|
|
20221
|
+
let to2 = ref(__props.max);
|
|
20222
|
+
const validFrom = computed(() => Math.min(Math.max(from.value, __props.min), to2.value));
|
|
20223
|
+
const validTo = computed(() => Math.max(Math.min(to2.value, __props.max), from.value));
|
|
20224
|
+
function emitValue() {
|
|
20225
|
+
emit2("update:modelValue", isRange.value ? [validFrom.value, validTo.value] : validFrom.value);
|
|
20226
|
+
}
|
|
20227
|
+
watch(() => validFrom.value, (newVal) => {
|
|
20228
|
+
if (from.value !== newVal) from.value = newVal;
|
|
20034
20229
|
});
|
|
20035
|
-
watch(() =>
|
|
20036
|
-
if (
|
|
20037
|
-
if (__props.max !== void 0 && newValue > __props.max) val.value = __props.max;
|
|
20230
|
+
watch(() => validTo.value, (newVal) => {
|
|
20231
|
+
if (to2.value !== newVal) to2.value = newVal;
|
|
20038
20232
|
});
|
|
20039
|
-
const
|
|
20040
|
-
|
|
20233
|
+
const fromPercentage = computed(() => (validFrom.value - __props.min) / (__props.max - __props.min) * 100);
|
|
20234
|
+
const toPercentage = computed(() => (validTo.value - __props.min) / (__props.max - __props.min) * 100);
|
|
20235
|
+
const rangeStyle = computed(() => {
|
|
20236
|
+
const width = (validTo.value - validFrom.value) / (__props.max - __props.min) * 100;
|
|
20237
|
+
if (__props.rtl || isRange.value) return { left: `${fromPercentage.value}%`, width: `${width}%` };
|
|
20238
|
+
return { right: `${width}%`, width: `${fromPercentage.value}%` };
|
|
20041
20239
|
});
|
|
20042
20240
|
return (_ctx, _cache) => {
|
|
20043
|
-
return openBlock(), createElementBlock("div",
|
|
20044
|
-
|
|
20045
|
-
|
|
20046
|
-
|
|
20047
|
-
|
|
20048
|
-
|
|
20049
|
-
|
|
20050
|
-
|
|
20051
|
-
|
|
20052
|
-
|
|
20053
|
-
|
|
20054
|
-
|
|
20055
|
-
|
|
20056
|
-
|
|
20057
|
-
|
|
20058
|
-
|
|
20059
|
-
|
|
20060
|
-
|
|
20061
|
-
|
|
20241
|
+
return openBlock(), createElementBlock("div", null, [
|
|
20242
|
+
createElementVNode("label", _hoisted_1$q, toDisplayString(_ctx.label), 1),
|
|
20243
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
20244
|
+
withDirectives(createElementVNode("input", {
|
|
20245
|
+
id: _ctx.id,
|
|
20246
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(from) ? from.value = $event : from = $event),
|
|
20247
|
+
class: "from",
|
|
20248
|
+
type: "range",
|
|
20249
|
+
min: _ctx.min,
|
|
20250
|
+
max: _ctx.max,
|
|
20251
|
+
step: _ctx.step,
|
|
20252
|
+
required: _ctx.required,
|
|
20253
|
+
disabled: _ctx.disabled,
|
|
20254
|
+
"aria-label": "Minimum value",
|
|
20255
|
+
onChange: emitValue
|
|
20256
|
+
}, null, 40, _hoisted_3$d), [
|
|
20257
|
+
[vModelText, unref(from)]
|
|
20258
|
+
]),
|
|
20259
|
+
isRange.value ? withDirectives((openBlock(), createElementBlock("input", {
|
|
20260
|
+
key: 0,
|
|
20261
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(to2) ? to2.value = $event : to2 = $event),
|
|
20262
|
+
class: "to",
|
|
20263
|
+
type: "range",
|
|
20264
|
+
min: _ctx.min,
|
|
20265
|
+
max: _ctx.max,
|
|
20266
|
+
step: _ctx.step,
|
|
20267
|
+
required: _ctx.required,
|
|
20268
|
+
disabled: _ctx.disabled,
|
|
20269
|
+
"aria-label": "Maximum value",
|
|
20270
|
+
onChange: emitValue
|
|
20271
|
+
}, null, 40, _hoisted_4$8)), [
|
|
20272
|
+
[vModelText, unref(to2)]
|
|
20273
|
+
]) : createCommentVNode("", true),
|
|
20274
|
+
createElementVNode("div", _hoisted_5$8, [
|
|
20275
|
+
createElementVNode("div", {
|
|
20276
|
+
class: "active-range absolute h-100 pointer-events-none bg-primary",
|
|
20277
|
+
style: normalizeStyle(rangeStyle.value)
|
|
20278
|
+
}, null, 4)
|
|
20279
|
+
]),
|
|
20280
|
+
unref(from) !== _ctx.min ? (openBlock(), createElementBlock("p", {
|
|
20281
|
+
key: 1,
|
|
20282
|
+
class: "txt-center txt-12 range-slider-position-txt absolute line-height-1 opacity-0",
|
|
20283
|
+
style: normalizeStyle({ "--progress": `${fromPercentage.value}` })
|
|
20284
|
+
}, [
|
|
20285
|
+
createElementVNode("span", null, toDisplayString(unref(from)), 1)
|
|
20286
|
+
], 4)) : createCommentVNode("", true),
|
|
20287
|
+
isRange.value && unref(to2) !== _ctx.max ? (openBlock(), createElementBlock("p", {
|
|
20288
|
+
key: 2,
|
|
20289
|
+
class: "txt-center txt-12 range-slider-position-txt opacity-0 line-height-1 absolute",
|
|
20290
|
+
style: normalizeStyle({ "--progress": `${toPercentage.value}` })
|
|
20291
|
+
}, [
|
|
20292
|
+
createElementVNode("span", null, toDisplayString(unref(to2)), 1)
|
|
20293
|
+
], 4)) : createCommentVNode("", true)
|
|
20062
20294
|
]),
|
|
20063
|
-
|
|
20064
|
-
|
|
20295
|
+
createElementVNode("p", _hoisted_6$7, [
|
|
20296
|
+
createElementVNode("span", null, toDisplayString(_ctx.min), 1),
|
|
20297
|
+
createElementVNode("span", null, toDisplayString(_ctx.max), 1)
|
|
20298
|
+
])
|
|
20299
|
+
]);
|
|
20065
20300
|
};
|
|
20066
20301
|
}
|
|
20067
20302
|
});
|
|
20068
|
-
const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-
|
|
20303
|
+
const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-df7a13a5"]]);
|
|
20069
20304
|
const defaultToolbarConfig = [
|
|
20070
20305
|
"h2",
|
|
20071
20306
|
"h3",
|
|
@@ -20212,7 +20447,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
20212
20447
|
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
20213
20448
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.config.map(configToOption).filter(Boolean), (action, index2) => {
|
|
20214
20449
|
return openBlock(), createElementBlock(Fragment, { key: index2 }, [
|
|
20215
|
-
action.name === "insertTable" ? (openBlock(), createBlock(unref(_sfc_main$
|
|
20450
|
+
action.name === "insertTable" ? (openBlock(), createBlock(unref(_sfc_main$T), {
|
|
20216
20451
|
key: 0,
|
|
20217
20452
|
placement: "bottom-start",
|
|
20218
20453
|
thin: "",
|
|
@@ -21152,7 +21387,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
21152
21387
|
}
|
|
21153
21388
|
});
|
|
21154
21389
|
return (_ctx, _cache) => {
|
|
21155
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
21390
|
+
return openBlock(), createBlock(unref(_sfc_main$T), {
|
|
21156
21391
|
ref_key: "dropdown",
|
|
21157
21392
|
ref: dropdown,
|
|
21158
21393
|
shown: unref(open),
|
|
@@ -21231,7 +21466,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
21231
21466
|
height: "25px",
|
|
21232
21467
|
class: "mx-1 my-1"
|
|
21233
21468
|
})) : createCommentVNode("", true),
|
|
21234
|
-
createVNode(unref(_sfc_main$
|
|
21469
|
+
createVNode(unref(_sfc_main$X), {
|
|
21235
21470
|
class: "p-05",
|
|
21236
21471
|
style: normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
|
|
21237
21472
|
}, {
|
|
@@ -22155,9 +22390,9 @@ function _objectWithoutProperties(source, excluded) {
|
|
|
22155
22390
|
return target;
|
|
22156
22391
|
}
|
|
22157
22392
|
var version = "1.14.0";
|
|
22158
|
-
function userAgent(
|
|
22393
|
+
function userAgent(pattern2) {
|
|
22159
22394
|
if (typeof window !== "undefined" && window.navigator) {
|
|
22160
|
-
return !!/* @__PURE__ */ navigator.userAgent.match(
|
|
22395
|
+
return !!/* @__PURE__ */ navigator.userAgent.match(pattern2);
|
|
22161
22396
|
}
|
|
22162
22397
|
}
|
|
22163
22398
|
var IE11OrLess = userAgent(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i);
|
|
@@ -27607,7 +27842,7 @@ var Format = /* @__PURE__ */ function() {
|
|
|
27607
27842
|
}
|
|
27608
27843
|
_createClass$1(Format2, [{
|
|
27609
27844
|
key: "pattern",
|
|
27610
|
-
value: function
|
|
27845
|
+
value: function pattern2() {
|
|
27611
27846
|
return this._format[0];
|
|
27612
27847
|
}
|
|
27613
27848
|
}, {
|
|
@@ -27659,7 +27894,7 @@ var Type = /* @__PURE__ */ function() {
|
|
|
27659
27894
|
}
|
|
27660
27895
|
_createClass$1(Type2, [{
|
|
27661
27896
|
key: "pattern",
|
|
27662
|
-
value: function
|
|
27897
|
+
value: function pattern2() {
|
|
27663
27898
|
if (this.metadata.v1) return this.type;
|
|
27664
27899
|
return this.type[0];
|
|
27665
27900
|
}
|
|
@@ -28337,7 +28572,7 @@ function _defineProperties(target, props2) {
|
|
|
28337
28572
|
}
|
|
28338
28573
|
}
|
|
28339
28574
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
28340
|
-
|
|
28575
|
+
_defineProperties(Constructor.prototype, protoProps);
|
|
28341
28576
|
Object.defineProperty(Constructor, "prototype", { writable: false });
|
|
28342
28577
|
return Constructor;
|
|
28343
28578
|
}
|
|
@@ -29389,7 +29624,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
29389
29624
|
withKeys(reset, ["tab"])
|
|
29390
29625
|
]
|
|
29391
29626
|
}, [
|
|
29392
|
-
!computedDropDownOptions.value.hide ? (openBlock(), createBlock(unref(_sfc_main$
|
|
29627
|
+
!computedDropDownOptions.value.hide ? (openBlock(), createBlock(unref(_sfc_main$T), {
|
|
29393
29628
|
key: 0,
|
|
29394
29629
|
ref_key: "phoneDropdown",
|
|
29395
29630
|
ref: phoneDropdown,
|
|
@@ -29754,7 +29989,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
29754
29989
|
},
|
|
29755
29990
|
setup(__props) {
|
|
29756
29991
|
return (_ctx, _cache) => {
|
|
29757
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
29992
|
+
return openBlock(), createBlock(unref(_sfc_main$X), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
|
|
29758
29993
|
default: withCtx(() => [
|
|
29759
29994
|
renderSlot(_ctx.$slots, "brand", {}, void 0, true),
|
|
29760
29995
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.navLinks, (nav, i2) => {
|
|
@@ -29855,7 +30090,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
29855
30090
|
icon: "keyboard_arrow_right",
|
|
29856
30091
|
onClick: unref(toggleMenu)
|
|
29857
30092
|
}, null, 8, ["onClick"]),
|
|
29858
|
-
createVNode(unref(_sfc_main$
|
|
30093
|
+
createVNode(unref(_sfc_main$X), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
|
|
29859
30094
|
default: withCtx(() => [
|
|
29860
30095
|
!unref(isOpen) || !unref(slots)["brand-open"] ? renderSlot(_ctx.$slots, "brand", { key: 0 }, void 0, true) : createCommentVNode("", true),
|
|
29861
30096
|
unref(isOpen) ? renderSlot(_ctx.$slots, "brand-open", { key: 1 }, void 0, true) : createCommentVNode("", true),
|
|
@@ -30376,7 +30611,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
30376
30611
|
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
30377
30612
|
onKeydown: withKeys(closeModal, ["esc"])
|
|
30378
30613
|
}, [
|
|
30379
|
-
createVNode(unref(_sfc_main$
|
|
30614
|
+
createVNode(unref(_sfc_main$X), {
|
|
30380
30615
|
class: "modal",
|
|
30381
30616
|
style: normalizeStyle({ ...maxWidth.value }),
|
|
30382
30617
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
@@ -30553,7 +30788,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
30553
30788
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => emit2("update:visible", $event))
|
|
30554
30789
|
}, createSlots({
|
|
30555
30790
|
default: withCtx(() => [
|
|
30556
|
-
_ctx.visible ? (openBlock(), createBlock(unref(_sfc_main$
|
|
30791
|
+
_ctx.visible ? (openBlock(), createBlock(unref(_sfc_main$P), {
|
|
30557
30792
|
key: 0,
|
|
30558
30793
|
ref_key: "form",
|
|
30559
30794
|
ref: form,
|
|
@@ -31671,7 +31906,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
31671
31906
|
row,
|
|
31672
31907
|
field
|
|
31673
31908
|
}, void 0, true) : (openBlock(), createElementBlock("div", _hoisted_10$1, [
|
|
31674
|
-
createVNode(unref(_sfc_main$
|
|
31909
|
+
createVNode(unref(_sfc_main$Q), {
|
|
31675
31910
|
class: "embedded-field",
|
|
31676
31911
|
field,
|
|
31677
31912
|
modelValue: row,
|
|
@@ -32707,7 +32942,7 @@ function openClickHandler(e, el, binding) {
|
|
|
32707
32942
|
const lightboxInstance2 = getLightboxInstance();
|
|
32708
32943
|
if (!lightboxInstance2 || !lightboxInstance2.open) return;
|
|
32709
32944
|
const open = lightboxInstance2.open;
|
|
32710
|
-
const group = item
|
|
32945
|
+
const group = item.group ? groups[item.group] : void 0;
|
|
32711
32946
|
open(item, group);
|
|
32712
32947
|
}
|
|
32713
32948
|
function bindingToItem(binding, el) {
|
|
@@ -32747,6 +32982,179 @@ const Lightbox = {
|
|
|
32747
32982
|
app.directive("lightbox", lightboxDirective);
|
|
32748
32983
|
}
|
|
32749
32984
|
};
|
|
32985
|
+
const DEFAULT_PATTERNS = {
|
|
32986
|
+
pint: { pattern: /\d/ },
|
|
32987
|
+
int: { pattern: /[\d\-]/ },
|
|
32988
|
+
pnum: { pattern: /[\d.]/ },
|
|
32989
|
+
money: { pattern: /[\d.\s,]/ },
|
|
32990
|
+
number: { pattern: /[\d\-.]/ },
|
|
32991
|
+
num: { pattern: /[\d\-.]/ },
|
|
32992
|
+
hex: { pattern: /[0-9a-f]/i },
|
|
32993
|
+
email: { pattern: /[\w.\-@]/ },
|
|
32994
|
+
alpha: { pattern: /[a-z_]/i },
|
|
32995
|
+
alphanum: { pattern: /\w/ },
|
|
32996
|
+
lower: { pattern: /[a-z]/, transform: (v2) => v2.toLowerCase() },
|
|
32997
|
+
upper: { pattern: /[A-Z]/, transform: (v2) => v2.toUpperCase() },
|
|
32998
|
+
slug: { pattern: /[a-z0-9-]/i, transform: (v2) => v2.toLowerCase().replace(/\s/g, "-") }
|
|
32999
|
+
};
|
|
33000
|
+
const stateMap = /* @__PURE__ */ new WeakMap();
|
|
33001
|
+
function getTarget(el) {
|
|
33002
|
+
if (el instanceof HTMLInputElement || el instanceof HTMLTextAreaElement) {
|
|
33003
|
+
return el;
|
|
33004
|
+
}
|
|
33005
|
+
const target = el.querySelector("input, textarea");
|
|
33006
|
+
return target instanceof HTMLInputElement || target instanceof HTMLTextAreaElement ? target : null;
|
|
33007
|
+
}
|
|
33008
|
+
function getModifiers(binding) {
|
|
33009
|
+
const modifiers = Object.keys(binding.modifiers || {});
|
|
33010
|
+
return modifiers.length ? modifiers[modifiers.length - 1] : "";
|
|
33011
|
+
}
|
|
33012
|
+
function getRegex(state2) {
|
|
33013
|
+
if (state2.pattern) return state2.pattern;
|
|
33014
|
+
if (state2.modifier) return DEFAULT_PATTERNS[state2.modifier].pattern || /./;
|
|
33015
|
+
return /./;
|
|
33016
|
+
}
|
|
33017
|
+
function bindEvents(el, target, state2) {
|
|
33018
|
+
state2.keydownEvent = (event) => {
|
|
33019
|
+
onKeydown(event, target, state2);
|
|
33020
|
+
};
|
|
33021
|
+
state2.pasteEvent = (event) => {
|
|
33022
|
+
onPaste(event, target, state2);
|
|
33023
|
+
};
|
|
33024
|
+
target.addEventListener("keydown", state2.keydownEvent);
|
|
33025
|
+
target.addEventListener("paste", state2.pasteEvent);
|
|
33026
|
+
}
|
|
33027
|
+
function unbindEvents(target, state2) {
|
|
33028
|
+
if (state2.keydownEvent) target.removeEventListener("keydown", state2.keydownEvent);
|
|
33029
|
+
if (state2.pasteEvent) target.removeEventListener("paste", state2.pasteEvent);
|
|
33030
|
+
state2.keydownEvent = void 0;
|
|
33031
|
+
state2.pasteEvent = void 0;
|
|
33032
|
+
}
|
|
33033
|
+
function onKeydown(event, target, state2) {
|
|
33034
|
+
if (event.ctrlKey || event.altKey || event.metaKey || event.key === "Tab" || event.key === "Backspace" || event.key === "Delete" || event.key === "ArrowLeft" || event.key === "ArrowRight" || event.key === "ArrowUp" || event.key === "ArrowDown" || event.key === "Enter") return;
|
|
33035
|
+
const regex2 = getRegex(state2);
|
|
33036
|
+
const testKey = event.key;
|
|
33037
|
+
if (!regex2.test(testKey)) {
|
|
33038
|
+
event.preventDefault();
|
|
33039
|
+
} else if (state2.modifier) {
|
|
33040
|
+
const { transform } = DEFAULT_PATTERNS[state2.modifier];
|
|
33041
|
+
if (transform) {
|
|
33042
|
+
event.preventDefault();
|
|
33043
|
+
const transformedValue = transform(testKey);
|
|
33044
|
+
const cursorPos = target.selectionStart ?? 0;
|
|
33045
|
+
const newValue = target.value.slice(0, cursorPos) + transformedValue + target.value.slice(cursorPos);
|
|
33046
|
+
target.value = newValue;
|
|
33047
|
+
target.setSelectionRange(cursorPos + transformedValue.length, cursorPos + transformedValue.length);
|
|
33048
|
+
}
|
|
33049
|
+
}
|
|
33050
|
+
}
|
|
33051
|
+
function onPaste(event, target, state2) {
|
|
33052
|
+
var _a2;
|
|
33053
|
+
const regex2 = getRegex(state2);
|
|
33054
|
+
const clipboardData = ((_a2 = event.clipboardData) == null ? void 0 : _a2.getData("text")) || "";
|
|
33055
|
+
if (!regex2.test(clipboardData)) {
|
|
33056
|
+
event.preventDefault();
|
|
33057
|
+
} else if (state2.modifier) {
|
|
33058
|
+
const { transform } = DEFAULT_PATTERNS[state2.modifier];
|
|
33059
|
+
if (transform) {
|
|
33060
|
+
event.preventDefault();
|
|
33061
|
+
const transformedValue = transform(clipboardData);
|
|
33062
|
+
const cursorPos = target.selectionStart ?? 0;
|
|
33063
|
+
const newValue = target.value.slice(0, cursorPos) + transformedValue + target.value.slice(cursorPos);
|
|
33064
|
+
target.value = newValue;
|
|
33065
|
+
target.setSelectionRange(cursorPos + transformedValue.length, cursorPos + transformedValue.length);
|
|
33066
|
+
}
|
|
33067
|
+
}
|
|
33068
|
+
}
|
|
33069
|
+
const pattern = {
|
|
33070
|
+
beforeMount(el, binding) {
|
|
33071
|
+
const target = getTarget(el);
|
|
33072
|
+
if (!target) return;
|
|
33073
|
+
const state2 = {
|
|
33074
|
+
modifier: getModifiers(binding)
|
|
33075
|
+
};
|
|
33076
|
+
if (typeof binding.value === "object") {
|
|
33077
|
+
state2.pattern = binding.value.pattern || /./;
|
|
33078
|
+
state2.validateOnly = binding.value.validateOnly || false;
|
|
33079
|
+
}
|
|
33080
|
+
stateMap.set(el, state2);
|
|
33081
|
+
bindEvents(el, target, state2);
|
|
33082
|
+
},
|
|
33083
|
+
updated(el, binding) {
|
|
33084
|
+
const target = getTarget(el);
|
|
33085
|
+
if (!target) return;
|
|
33086
|
+
const state2 = stateMap.get(el);
|
|
33087
|
+
if (!state2) return;
|
|
33088
|
+
unbindEvents(target, state2);
|
|
33089
|
+
state2.modifier = getModifiers(binding);
|
|
33090
|
+
if (typeof binding.value === "object") {
|
|
33091
|
+
state2.pattern = binding.value.pattern || /./;
|
|
33092
|
+
state2.validateOnly = binding.value.validateOnly || false;
|
|
33093
|
+
}
|
|
33094
|
+
bindEvents(el, target, state2);
|
|
33095
|
+
},
|
|
33096
|
+
unmounted(el) {
|
|
33097
|
+
const target = getTarget(el);
|
|
33098
|
+
const state2 = stateMap.get(el);
|
|
33099
|
+
if (target && state2) {
|
|
33100
|
+
unbindEvents(target, state2);
|
|
33101
|
+
}
|
|
33102
|
+
stateMap.delete(el);
|
|
33103
|
+
}
|
|
33104
|
+
};
|
|
33105
|
+
const ripple = {
|
|
33106
|
+
mounted(el, binding) {
|
|
33107
|
+
const clickHandler2 = (e) => {
|
|
33108
|
+
const rect = el.getBoundingClientRect();
|
|
33109
|
+
const size2 = Math.max(rect.width, rect.height);
|
|
33110
|
+
const ripple2 = document.createElement("span");
|
|
33111
|
+
ripple2.className = "ripple";
|
|
33112
|
+
Object.assign(ripple2.style, {
|
|
33113
|
+
width: `${size2}px`,
|
|
33114
|
+
height: `${size2}px`,
|
|
33115
|
+
left: `${e.clientX - rect.left - size2 / 2}px`,
|
|
33116
|
+
top: `${e.clientY - rect.top - size2 / 2}px`,
|
|
33117
|
+
position: "absolute",
|
|
33118
|
+
borderRadius: "50%",
|
|
33119
|
+
transform: "scale(0)",
|
|
33120
|
+
background: "rgba(0, 0, 0, 0.3)",
|
|
33121
|
+
pointerEvents: "none",
|
|
33122
|
+
animation: "rippleEffect 0.6s ease-out"
|
|
33123
|
+
});
|
|
33124
|
+
el.appendChild(ripple2);
|
|
33125
|
+
setTimeout(() => {
|
|
33126
|
+
ripple2.remove();
|
|
33127
|
+
}, 600);
|
|
33128
|
+
};
|
|
33129
|
+
el.__rippleClickHandler = clickHandler2;
|
|
33130
|
+
if (binding.value !== false) {
|
|
33131
|
+
if (getComputedStyle(el).position === "static") {
|
|
33132
|
+
el.style.position = "relative";
|
|
33133
|
+
}
|
|
33134
|
+
el.style.overflow = "hidden";
|
|
33135
|
+
el.addEventListener("mousedown", clickHandler2);
|
|
33136
|
+
}
|
|
33137
|
+
},
|
|
33138
|
+
updated(el, binding) {
|
|
33139
|
+
const clickHandler2 = el.__rippleClickHandler;
|
|
33140
|
+
if (binding.value === false) {
|
|
33141
|
+
el.removeEventListener("mousedown", clickHandler2);
|
|
33142
|
+
} else {
|
|
33143
|
+
if (getComputedStyle(el).position === "static") {
|
|
33144
|
+
el.style.position = "relative";
|
|
33145
|
+
}
|
|
33146
|
+
el.style.overflow = "hidden";
|
|
33147
|
+
el.addEventListener("mousedown", clickHandler2);
|
|
33148
|
+
}
|
|
33149
|
+
},
|
|
33150
|
+
unmounted(el) {
|
|
33151
|
+
const clickHandler2 = el.__rippleClickHandler;
|
|
33152
|
+
if (clickHandler2) {
|
|
33153
|
+
el.removeEventListener("mousedown", clickHandler2);
|
|
33154
|
+
delete el.__rippleClickHandler;
|
|
33155
|
+
}
|
|
33156
|
+
}
|
|
33157
|
+
};
|
|
32750
33158
|
function getBaseField(id, labelOrRest = {}, rest = {}) {
|
|
32751
33159
|
if (typeof labelOrRest === "object") return { id, ...labelOrRest };
|
|
32752
33160
|
return { id, label: labelOrRest, ...rest };
|
|
@@ -32793,7 +33201,8 @@ function slctField(id, label, options, config) {
|
|
|
32793
33201
|
disabled: config == null ? void 0 : config.disabled,
|
|
32794
33202
|
searchable: config == null ? void 0 : config.searchable,
|
|
32795
33203
|
multiselect: config == null ? void 0 : config.multiselect,
|
|
32796
|
-
onSearch: config == null ? void 0 : config.onSearch
|
|
33204
|
+
onSearch: config == null ? void 0 : config.onSearch,
|
|
33205
|
+
clearable: config == null ? void 0 : config.clearable
|
|
32797
33206
|
}
|
|
32798
33207
|
};
|
|
32799
33208
|
}
|
|
@@ -32851,7 +33260,7 @@ function frmRow(...children2) {
|
|
|
32851
33260
|
function bglForm(idOrField, ...schema) {
|
|
32852
33261
|
if (typeof idOrField === "string") {
|
|
32853
33262
|
return {
|
|
32854
|
-
$el: markRaw(_sfc_main$
|
|
33263
|
+
$el: markRaw(_sfc_main$P),
|
|
32855
33264
|
id: idOrField,
|
|
32856
33265
|
attrs: {
|
|
32857
33266
|
schema: [idOrField, ...schema]
|
|
@@ -32859,7 +33268,7 @@ function bglForm(idOrField, ...schema) {
|
|
|
32859
33268
|
};
|
|
32860
33269
|
}
|
|
32861
33270
|
return {
|
|
32862
|
-
$el: markRaw(_sfc_main$
|
|
33271
|
+
$el: markRaw(_sfc_main$P),
|
|
32863
33272
|
attrs: {
|
|
32864
33273
|
schema: [idOrField, ...schema]
|
|
32865
33274
|
}
|
|
@@ -32883,6 +33292,14 @@ function findBglFieldById(id, _schema) {
|
|
|
32883
33292
|
}
|
|
32884
33293
|
return void 0;
|
|
32885
33294
|
}
|
|
33295
|
+
function arrField(id, label, schema, options) {
|
|
33296
|
+
return {
|
|
33297
|
+
label,
|
|
33298
|
+
id,
|
|
33299
|
+
$el: "array",
|
|
33300
|
+
attrs: { schema, delete: true, add: true, ...options }
|
|
33301
|
+
};
|
|
33302
|
+
}
|
|
32886
33303
|
const state = reactive({
|
|
32887
33304
|
defaultLang: "",
|
|
32888
33305
|
availableLangs: [],
|
|
@@ -33067,59 +33484,6 @@ const clickOutside = {
|
|
|
33067
33484
|
document.removeEventListener("click", el.clickOutsideEvent);
|
|
33068
33485
|
}
|
|
33069
33486
|
};
|
|
33070
|
-
const ripple = {
|
|
33071
|
-
mounted(el, binding) {
|
|
33072
|
-
const clickHandler2 = (e) => {
|
|
33073
|
-
const rect = el.getBoundingClientRect();
|
|
33074
|
-
const size2 = Math.max(rect.width, rect.height);
|
|
33075
|
-
const ripple2 = document.createElement("span");
|
|
33076
|
-
ripple2.className = "ripple";
|
|
33077
|
-
Object.assign(ripple2.style, {
|
|
33078
|
-
width: `${size2}px`,
|
|
33079
|
-
height: `${size2}px`,
|
|
33080
|
-
left: `${e.clientX - rect.left - size2 / 2}px`,
|
|
33081
|
-
top: `${e.clientY - rect.top - size2 / 2}px`,
|
|
33082
|
-
position: "absolute",
|
|
33083
|
-
borderRadius: "50%",
|
|
33084
|
-
transform: "scale(0)",
|
|
33085
|
-
background: "rgba(0, 0, 0, 0.3)",
|
|
33086
|
-
pointerEvents: "none",
|
|
33087
|
-
animation: "rippleEffect 0.6s ease-out"
|
|
33088
|
-
});
|
|
33089
|
-
el.appendChild(ripple2);
|
|
33090
|
-
setTimeout(() => {
|
|
33091
|
-
ripple2.remove();
|
|
33092
|
-
}, 600);
|
|
33093
|
-
};
|
|
33094
|
-
el.__rippleClickHandler = clickHandler2;
|
|
33095
|
-
if (binding.value !== false) {
|
|
33096
|
-
if (getComputedStyle(el).position === "static") {
|
|
33097
|
-
el.style.position = "relative";
|
|
33098
|
-
}
|
|
33099
|
-
el.style.overflow = "hidden";
|
|
33100
|
-
el.addEventListener("mousedown", clickHandler2);
|
|
33101
|
-
}
|
|
33102
|
-
},
|
|
33103
|
-
updated(el, binding) {
|
|
33104
|
-
const clickHandler2 = el.__rippleClickHandler;
|
|
33105
|
-
if (binding.value === false) {
|
|
33106
|
-
el.removeEventListener("mousedown", clickHandler2);
|
|
33107
|
-
} else {
|
|
33108
|
-
if (getComputedStyle(el).position === "static") {
|
|
33109
|
-
el.style.position = "relative";
|
|
33110
|
-
}
|
|
33111
|
-
el.style.overflow = "hidden";
|
|
33112
|
-
el.addEventListener("mousedown", clickHandler2);
|
|
33113
|
-
}
|
|
33114
|
-
},
|
|
33115
|
-
unmounted(el) {
|
|
33116
|
-
const clickHandler2 = el.__rippleClickHandler;
|
|
33117
|
-
if (clickHandler2) {
|
|
33118
|
-
el.removeEventListener("mousedown", clickHandler2);
|
|
33119
|
-
delete el.__rippleClickHandler;
|
|
33120
|
-
}
|
|
33121
|
-
}
|
|
33122
|
-
};
|
|
33123
33487
|
const bagelInjectionKey = Symbol("bagel");
|
|
33124
33488
|
const i18nTInjectionKey = Symbol("bagel");
|
|
33125
33489
|
function useBagel() {
|
|
@@ -33137,6 +33501,7 @@ const BagelVue = {
|
|
|
33137
33501
|
const bagel = new Bagel({ host: options.host, onError: options.onError });
|
|
33138
33502
|
app.directive("click-outside", clickOutside);
|
|
33139
33503
|
app.directive("ripple", ripple);
|
|
33504
|
+
app.directive("pattern", pattern);
|
|
33140
33505
|
app.use(Lightbox);
|
|
33141
33506
|
app.use(Gt$1, {
|
|
33142
33507
|
themes: {
|
|
@@ -33633,31 +33998,31 @@ function timeAgo(date2, lang = "en") {
|
|
|
33633
33998
|
return selectedLang.justNow;
|
|
33634
33999
|
}
|
|
33635
34000
|
export {
|
|
33636
|
-
_sfc_main$
|
|
34001
|
+
_sfc_main$13 as Accordion,
|
|
33637
34002
|
AccordionItem,
|
|
33638
|
-
_sfc_main$
|
|
34003
|
+
_sfc_main$11 as AddressSearch,
|
|
33639
34004
|
Alert,
|
|
33640
34005
|
Avatar,
|
|
33641
34006
|
Badge,
|
|
33642
|
-
_sfc_main$
|
|
34007
|
+
_sfc_main$P as BagelForm,
|
|
33643
34008
|
BagelVue,
|
|
33644
|
-
_sfc_main$
|
|
33645
|
-
_sfc_main$
|
|
33646
|
-
_sfc_main$
|
|
34009
|
+
_sfc_main$Q as BglField,
|
|
34010
|
+
_sfc_main$P as BglForm,
|
|
34011
|
+
_sfc_main$O as BglMultiStepForm,
|
|
33647
34012
|
BglVideo,
|
|
33648
34013
|
BottomMenu,
|
|
33649
34014
|
Btn,
|
|
33650
|
-
_sfc_main$
|
|
34015
|
+
_sfc_main$X as Card,
|
|
33651
34016
|
Carousel,
|
|
33652
34017
|
CheckInput,
|
|
33653
34018
|
Checkbox,
|
|
33654
34019
|
CodeEditor,
|
|
33655
|
-
_sfc_main$
|
|
34020
|
+
_sfc_main$J as ColorPicker,
|
|
33656
34021
|
DataPreview,
|
|
33657
|
-
_sfc_main$
|
|
33658
|
-
_sfc_main$
|
|
33659
|
-
_sfc_main$
|
|
33660
|
-
_sfc_main$
|
|
34022
|
+
_sfc_main$I as DateInput,
|
|
34023
|
+
_sfc_main$H as DatePicker,
|
|
34024
|
+
_sfc_main$T as Dropdown,
|
|
34025
|
+
_sfc_main$N as FieldArray,
|
|
33661
34026
|
FileUpload,
|
|
33662
34027
|
Flag,
|
|
33663
34028
|
IMAGE_FORMATS,
|
|
@@ -33667,7 +34032,7 @@ export {
|
|
|
33667
34032
|
Image$1 as Image,
|
|
33668
34033
|
JSONInput,
|
|
33669
34034
|
Layout,
|
|
33670
|
-
_sfc_main$
|
|
34035
|
+
_sfc_main$V as Lineart,
|
|
33671
34036
|
_sfc_main$g as ListItem,
|
|
33672
34037
|
ListView,
|
|
33673
34038
|
Loading,
|
|
@@ -33678,6 +34043,7 @@ export {
|
|
|
33678
34043
|
ModalForm,
|
|
33679
34044
|
ModalPlugin,
|
|
33680
34045
|
NavBar,
|
|
34046
|
+
NumberInput,
|
|
33681
34047
|
OTP,
|
|
33682
34048
|
_sfc_main$7 as PageTitle,
|
|
33683
34049
|
_sfc_main$B as PasswordInput,
|