@bagelink/vue 0.0.476 → 0.0.479
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/Badge.vue.d.ts +1 -0
- package/dist/components/Badge.vue.d.ts.map +1 -1
- package/dist/components/BglVideo.vue.d.ts.map +1 -1
- package/dist/components/Btn.vue.d.ts +0 -2
- package/dist/components/Btn.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TelInput.vue.d.ts.map +1 -1
- package/dist/index.cjs +11 -14
- package/dist/index.mjs +11 -14
- package/dist/style.css +54 -54
- package/package.json +1 -1
- package/src/components/Badge.vue +2 -0
- package/src/components/BglVideo.vue +1 -0
- package/src/components/Btn.vue +0 -2
- package/src/components/form/inputs/TelInput.vue +5 -4
|
@@ -6,6 +6,7 @@ interface Props {
|
|
|
6
6
|
'text': string;
|
|
7
7
|
'icon'?: MaterialIcons;
|
|
8
8
|
'icon.end'?: MaterialIcons;
|
|
9
|
+
'iconEnd'?: MaterialIcons;
|
|
9
10
|
}
|
|
10
11
|
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
|
|
11
12
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.vue.d.ts","sourceRoot":"","sources":["../../src/components/Badge.vue"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAIlD,UAAU,KAAK;IACd,OAAO,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;IACrD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"Badge.vue.d.ts","sourceRoot":"","sources":["../../src/components/Badge.vue"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAIlD,UAAU,KAAK;IACd,OAAO,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;IACrD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,aAAa,CAAA;IAEtB,UAAU,CAAC,EAAE,aAAa,CAAA;IAC1B,SAAS,CAAC,EAAE,aAAa,CAAA;CACzB;;AAmFD,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BglVideo.vue.d.ts","sourceRoot":"","sources":["../../src/components/BglVideo.vue"],"names":[],"mappings":"AAIA,UAAU,KAAK;IACd,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;CACd;;
|
|
1
|
+
{"version":3,"file":"BglVideo.vue.d.ts","sourceRoot":"","sources":["../../src/components/BglVideo.vue"],"names":[],"mappings":"AAIA,UAAU,KAAK;IACd,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;CACd;;AAgHD,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -4,7 +4,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
4
4
|
disabled?: boolean | undefined;
|
|
5
5
|
icon?: MaterialIcons | undefined;
|
|
6
6
|
'icon.end'?: MaterialIcons | undefined;
|
|
7
|
-
iconEnd?: MaterialIcons | undefined;
|
|
8
7
|
color?: ThemeType | undefined;
|
|
9
8
|
theme?: ThemeType | undefined;
|
|
10
9
|
flat?: boolean | undefined;
|
|
@@ -31,7 +30,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
31
30
|
disabled?: boolean | undefined;
|
|
32
31
|
icon?: MaterialIcons | undefined;
|
|
33
32
|
'icon.end'?: MaterialIcons | undefined;
|
|
34
|
-
iconEnd?: MaterialIcons | undefined;
|
|
35
33
|
color?: ThemeType | undefined;
|
|
36
34
|
theme?: ThemeType | undefined;
|
|
37
35
|
flat?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Btn.vue.d.ts","sourceRoot":"","sources":["../../src/components/Btn.vue"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA
|
|
1
|
+
{"version":3,"file":"Btn.vue.d.ts","sourceRoot":"","sources":["../../src/components/Btn.vue"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwV7D,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TelInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/TelInput.vue"],"names":[],"mappings":"AAEA,OAAO,EACN,KAAK,OAAO,EAOZ,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,KAAK,GAAG,EAAE,KAAK,UAAU,EAAoB,MAAM,KAAK,CAAA;AACjE,OAAO,EAEN,KAAK,YAAY,EAEjB,MAAM,mBAAmB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"TelInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/TelInput.vue"],"names":[],"mappings":"AAEA,OAAO,EACN,KAAK,OAAO,EAOZ,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,KAAK,GAAG,EAAE,KAAK,UAAU,EAAoB,MAAM,KAAK,CAAA;AACjE,OAAO,EAEN,KAAK,YAAY,EAEjB,MAAM,mBAAmB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2nB1B,wBAUG"}
|
package/dist/index.cjs
CHANGED
|
@@ -5038,7 +5038,7 @@ class Bagel {
|
|
|
5038
5038
|
this._setAuthorization();
|
|
5039
5039
|
endpoint = this._endpointCleaner(endpoint);
|
|
5040
5040
|
if (endpoint.match(/undefined|null/))
|
|
5041
|
-
throw new Error(
|
|
5041
|
+
throw new Error(`Invalid endpoint: ${endpoint}`);
|
|
5042
5042
|
if (query) {
|
|
5043
5043
|
const queryParams = Object.entries(query).filter(([_2, value]) => !!value).map(([key, value]) => `${key}=${value}`).join("&");
|
|
5044
5044
|
if (queryParams)
|
|
@@ -5529,7 +5529,6 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
5529
5529
|
disabled: { type: Boolean, default: false },
|
|
5530
5530
|
icon: {},
|
|
5531
5531
|
"icon.end": {},
|
|
5532
|
-
iconEnd: {},
|
|
5533
5532
|
color: {},
|
|
5534
5533
|
theme: {},
|
|
5535
5534
|
flat: { type: Boolean },
|
|
@@ -5546,8 +5545,8 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
5546
5545
|
},
|
|
5547
5546
|
setup(__props) {
|
|
5548
5547
|
vue.useCssVars((_ctx) => ({
|
|
5549
|
-
"
|
|
5550
|
-
"
|
|
5548
|
+
"a8626e32": computedBackgroundColor.value,
|
|
5549
|
+
"223eadfc": cumputedTextColor.value
|
|
5551
5550
|
}));
|
|
5552
5551
|
const props2 = __props;
|
|
5553
5552
|
const slots = vue.useSlots();
|
|
@@ -5631,7 +5630,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
5631
5630
|
};
|
|
5632
5631
|
}
|
|
5633
5632
|
});
|
|
5634
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-
|
|
5633
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-b96e25bd"]]);
|
|
5635
5634
|
const _hoisted_1$F = {
|
|
5636
5635
|
key: 0,
|
|
5637
5636
|
class: "tool-bar"
|
|
@@ -6472,7 +6471,8 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
6472
6471
|
size: {},
|
|
6473
6472
|
text: {},
|
|
6474
6473
|
icon: {},
|
|
6475
|
-
"icon.end": {}
|
|
6474
|
+
"icon.end": {},
|
|
6475
|
+
iconEnd: {}
|
|
6476
6476
|
},
|
|
6477
6477
|
setup(__props) {
|
|
6478
6478
|
const props2 = __props;
|
|
@@ -6495,7 +6495,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
6495
6495
|
};
|
|
6496
6496
|
}
|
|
6497
6497
|
});
|
|
6498
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-
|
|
6498
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-532b36ae"]]);
|
|
6499
6499
|
const _hoisted_1$u = ["src"];
|
|
6500
6500
|
const _hoisted_2$o = ["src", "autoplay", "muted", "loop", "controls"];
|
|
6501
6501
|
const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -6566,7 +6566,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
6566
6566
|
};
|
|
6567
6567
|
}
|
|
6568
6568
|
});
|
|
6569
|
-
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-
|
|
6569
|
+
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-862e1f20"]]);
|
|
6570
6570
|
const _hoisted_1$t = {
|
|
6571
6571
|
key: 0,
|
|
6572
6572
|
class: "blocker"
|
|
@@ -54891,7 +54891,6 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
54891
54891
|
let selectedIndex = vue.ref();
|
|
54892
54892
|
const dropdownOpenDirection = vue.ref("below");
|
|
54893
54893
|
const searchQuery = vue.ref("");
|
|
54894
|
-
const refInput = vue.ref(null);
|
|
54895
54894
|
const activeCountry = vue.computed(
|
|
54896
54895
|
() => props2.allCountries.find(
|
|
54897
54896
|
(country) => {
|
|
@@ -54918,6 +54917,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
54918
54917
|
const preferredCountries = getCountries(props2.preferredCountries);
|
|
54919
54918
|
const countriesList = [...preferredCountries, ...filteredCountries.value];
|
|
54920
54919
|
const cleanInput = searchQuery.value.replace(
|
|
54920
|
+
// eslint-disable-next-line regexp/no-obscure-range
|
|
54921
54921
|
/[~`!#$%&*()+={};:'"<>.,/?-_]/g,
|
|
54922
54922
|
""
|
|
54923
54923
|
);
|
|
@@ -55041,7 +55041,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
55041
55041
|
const keyVal = e.key;
|
|
55042
55042
|
if (keyVal.length > 1 || e.metaKey)
|
|
55043
55043
|
return;
|
|
55044
|
-
const hasBadChars =
|
|
55044
|
+
const hasBadChars = /[^+\d]/.test(keyVal);
|
|
55045
55045
|
if (!hasBadChars)
|
|
55046
55046
|
return;
|
|
55047
55047
|
e.preventDefault();
|
|
@@ -55081,7 +55081,6 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
55081
55081
|
icon: "search"
|
|
55082
55082
|
}, null, 8, ["modelValue"])) : vue.createCommentVNode("", true),
|
|
55083
55083
|
vue.createElementVNode("ul", {
|
|
55084
|
-
ref: "listEl",
|
|
55085
55084
|
class: vue.normalizeClass(["overflow-y p-0", dropdownOpenDirection.value]),
|
|
55086
55085
|
style: { "max-height": "400px" },
|
|
55087
55086
|
role: "listbox"
|
|
@@ -55128,8 +55127,6 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
55128
55127
|
}, 8, ["disabled"])) : vue.createCommentVNode("", true),
|
|
55129
55128
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
55130
55129
|
id: _ctx.id,
|
|
55131
|
-
ref_key: "refInput",
|
|
55132
|
-
ref: refInput,
|
|
55133
55130
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => phone.value = $event),
|
|
55134
55131
|
required: _ctx.required,
|
|
55135
55132
|
placeholder: computedInputOptions.value.placeholder,
|
|
@@ -55161,7 +55158,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
55161
55158
|
};
|
|
55162
55159
|
}
|
|
55163
55160
|
});
|
|
55164
|
-
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
55161
|
+
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-6f0154b1"]]);
|
|
55165
55162
|
/*!
|
|
55166
55163
|
* Signature Pad v5.0.1 | https://github.com/szimek/signature_pad
|
|
55167
55164
|
* (c) 2024 Szymon Nowak | Released under the MIT license
|
package/dist/index.mjs
CHANGED
|
@@ -5036,7 +5036,7 @@ class Bagel {
|
|
|
5036
5036
|
this._setAuthorization();
|
|
5037
5037
|
endpoint = this._endpointCleaner(endpoint);
|
|
5038
5038
|
if (endpoint.match(/undefined|null/))
|
|
5039
|
-
throw new Error(
|
|
5039
|
+
throw new Error(`Invalid endpoint: ${endpoint}`);
|
|
5040
5040
|
if (query) {
|
|
5041
5041
|
const queryParams = Object.entries(query).filter(([_2, value]) => !!value).map(([key, value]) => `${key}=${value}`).join("&");
|
|
5042
5042
|
if (queryParams)
|
|
@@ -5527,7 +5527,6 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
5527
5527
|
disabled: { type: Boolean, default: false },
|
|
5528
5528
|
icon: {},
|
|
5529
5529
|
"icon.end": {},
|
|
5530
|
-
iconEnd: {},
|
|
5531
5530
|
color: {},
|
|
5532
5531
|
theme: {},
|
|
5533
5532
|
flat: { type: Boolean },
|
|
@@ -5544,8 +5543,8 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
5544
5543
|
},
|
|
5545
5544
|
setup(__props) {
|
|
5546
5545
|
useCssVars((_ctx) => ({
|
|
5547
|
-
"
|
|
5548
|
-
"
|
|
5546
|
+
"a8626e32": computedBackgroundColor.value,
|
|
5547
|
+
"223eadfc": cumputedTextColor.value
|
|
5549
5548
|
}));
|
|
5550
5549
|
const props2 = __props;
|
|
5551
5550
|
const slots = useSlots();
|
|
@@ -5629,7 +5628,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
5629
5628
|
};
|
|
5630
5629
|
}
|
|
5631
5630
|
});
|
|
5632
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-
|
|
5631
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-b96e25bd"]]);
|
|
5633
5632
|
const _hoisted_1$F = {
|
|
5634
5633
|
key: 0,
|
|
5635
5634
|
class: "tool-bar"
|
|
@@ -6470,7 +6469,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
6470
6469
|
size: {},
|
|
6471
6470
|
text: {},
|
|
6472
6471
|
icon: {},
|
|
6473
|
-
"icon.end": {}
|
|
6472
|
+
"icon.end": {},
|
|
6473
|
+
iconEnd: {}
|
|
6474
6474
|
},
|
|
6475
6475
|
setup(__props) {
|
|
6476
6476
|
const props2 = __props;
|
|
@@ -6493,7 +6493,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
6493
6493
|
};
|
|
6494
6494
|
}
|
|
6495
6495
|
});
|
|
6496
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-
|
|
6496
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-532b36ae"]]);
|
|
6497
6497
|
const _hoisted_1$u = ["src"];
|
|
6498
6498
|
const _hoisted_2$o = ["src", "autoplay", "muted", "loop", "controls"];
|
|
6499
6499
|
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
@@ -6564,7 +6564,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
6564
6564
|
};
|
|
6565
6565
|
}
|
|
6566
6566
|
});
|
|
6567
|
-
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-
|
|
6567
|
+
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-862e1f20"]]);
|
|
6568
6568
|
const _hoisted_1$t = {
|
|
6569
6569
|
key: 0,
|
|
6570
6570
|
class: "blocker"
|
|
@@ -54889,7 +54889,6 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
54889
54889
|
let selectedIndex = ref();
|
|
54890
54890
|
const dropdownOpenDirection = ref("below");
|
|
54891
54891
|
const searchQuery = ref("");
|
|
54892
|
-
const refInput = ref(null);
|
|
54893
54892
|
const activeCountry = computed(
|
|
54894
54893
|
() => props2.allCountries.find(
|
|
54895
54894
|
(country) => {
|
|
@@ -54916,6 +54915,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
54916
54915
|
const preferredCountries = getCountries(props2.preferredCountries);
|
|
54917
54916
|
const countriesList = [...preferredCountries, ...filteredCountries.value];
|
|
54918
54917
|
const cleanInput = searchQuery.value.replace(
|
|
54918
|
+
// eslint-disable-next-line regexp/no-obscure-range
|
|
54919
54919
|
/[~`!#$%&*()+={};:'"<>.,/?-_]/g,
|
|
54920
54920
|
""
|
|
54921
54921
|
);
|
|
@@ -55039,7 +55039,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
55039
55039
|
const keyVal = e.key;
|
|
55040
55040
|
if (keyVal.length > 1 || e.metaKey)
|
|
55041
55041
|
return;
|
|
55042
|
-
const hasBadChars =
|
|
55042
|
+
const hasBadChars = /[^+\d]/.test(keyVal);
|
|
55043
55043
|
if (!hasBadChars)
|
|
55044
55044
|
return;
|
|
55045
55045
|
e.preventDefault();
|
|
@@ -55079,7 +55079,6 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
55079
55079
|
icon: "search"
|
|
55080
55080
|
}, null, 8, ["modelValue"])) : createCommentVNode("", true),
|
|
55081
55081
|
createElementVNode("ul", {
|
|
55082
|
-
ref: "listEl",
|
|
55083
55082
|
class: normalizeClass(["overflow-y p-0", dropdownOpenDirection.value]),
|
|
55084
55083
|
style: { "max-height": "400px" },
|
|
55085
55084
|
role: "listbox"
|
|
@@ -55126,8 +55125,6 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
55126
55125
|
}, 8, ["disabled"])) : createCommentVNode("", true),
|
|
55127
55126
|
withDirectives(createElementVNode("input", {
|
|
55128
55127
|
id: _ctx.id,
|
|
55129
|
-
ref_key: "refInput",
|
|
55130
|
-
ref: refInput,
|
|
55131
55128
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => phone.value = $event),
|
|
55132
55129
|
required: _ctx.required,
|
|
55133
55130
|
placeholder: computedInputOptions.value.placeholder,
|
|
@@ -55159,7 +55156,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
55159
55156
|
};
|
|
55160
55157
|
}
|
|
55161
55158
|
});
|
|
55162
|
-
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
55159
|
+
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-6f0154b1"]]);
|
|
55163
55160
|
/*!
|
|
55164
55161
|
* Signature Pad v5.0.1 | https://github.com/szimek/signature_pad
|
|
55165
55162
|
* (c) 2024 Szymon Nowak | Released under the MIT license
|
package/dist/style.css
CHANGED
|
@@ -248,19 +248,19 @@
|
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
250
|
|
|
251
|
-
a[data-v-
|
|
251
|
+
a[data-v-b96e25bd] {
|
|
252
252
|
text-decoration: none;
|
|
253
253
|
}
|
|
254
|
-
.loading[data-v-
|
|
254
|
+
.loading[data-v-b96e25bd] {
|
|
255
255
|
border: 1px solid var(--bgl-white);
|
|
256
256
|
border-bottom: 2px solid var(--bgl-white);
|
|
257
|
-
animation: spin-
|
|
257
|
+
animation: spin-b96e25bd 1s linear infinite;
|
|
258
258
|
border-radius: 100px;
|
|
259
259
|
width: 1rem;
|
|
260
260
|
height: 1rem;
|
|
261
261
|
margin: auto;
|
|
262
262
|
}
|
|
263
|
-
@keyframes spin-
|
|
263
|
+
@keyframes spin-b96e25bd {
|
|
264
264
|
0% {
|
|
265
265
|
transform: rotate(0deg);
|
|
266
266
|
}
|
|
@@ -268,7 +268,7 @@ a[data-v-ed2a8334] {
|
|
|
268
268
|
transform: rotate(360deg);
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
|
-
.bgl_btn-icon[data-v-
|
|
271
|
+
.bgl_btn-icon[data-v-b96e25bd] {
|
|
272
272
|
height: var(--btn-height);
|
|
273
273
|
width: var(--btn-height);
|
|
274
274
|
border-radius: 100%;
|
|
@@ -278,101 +278,101 @@ a[data-v-ed2a8334] {
|
|
|
278
278
|
flex-shrink: 0;
|
|
279
279
|
transition: var(--bgl-transition);
|
|
280
280
|
}
|
|
281
|
-
.bgl_btn[data-v-
|
|
281
|
+
.bgl_btn[data-v-b96e25bd] {
|
|
282
282
|
padding-left: var(--btn-padding);
|
|
283
283
|
padding-right: var(--btn-padding);
|
|
284
284
|
transition: var(--bgl-transition);
|
|
285
285
|
text-decoration: none;
|
|
286
286
|
}
|
|
287
|
-
.bgl_btn[disabled="true"][data-v-
|
|
287
|
+
.bgl_btn[disabled="true"][data-v-b96e25bd] {
|
|
288
288
|
opacity: 0.5;
|
|
289
289
|
cursor: not-allowed;
|
|
290
290
|
}
|
|
291
|
-
.bgl_btn-flex[data-v-
|
|
291
|
+
.bgl_btn-flex[data-v-b96e25bd] {
|
|
292
292
|
display: flex;
|
|
293
293
|
align-items: center;
|
|
294
294
|
gap: 0.5rem;
|
|
295
295
|
justify-content: center;
|
|
296
296
|
}
|
|
297
|
-
.bgl_btn .bgl_.bgl_icon-font[data-v-
|
|
297
|
+
.bgl_btn .bgl_.bgl_icon-font[data-v-b96e25bd] {
|
|
298
298
|
font-size: calc(var(--input-font-size) * 1.3);
|
|
299
299
|
}
|
|
300
|
-
.bgl_btn[data-v-
|
|
301
|
-
.bgl_btn-icon[data-v-
|
|
302
|
-
background-color: var(--
|
|
303
|
-
color: var(--
|
|
300
|
+
.bgl_btn[data-v-b96e25bd],
|
|
301
|
+
.bgl_btn-icon[data-v-b96e25bd] {
|
|
302
|
+
background-color: var(--a8626e32);
|
|
303
|
+
color: var(--223eadfc);
|
|
304
304
|
}
|
|
305
|
-
.bgl_btn[data-v-
|
|
306
|
-
.bgl_btn-icon[data-v-
|
|
305
|
+
.bgl_btn[data-v-b96e25bd]:hover,
|
|
306
|
+
.bgl_btn-icon[data-v-b96e25bd]:hover {
|
|
307
307
|
filter: var(--bgl-hover-filter);
|
|
308
308
|
}
|
|
309
|
-
.bgl_btn[data-v-
|
|
310
|
-
.bgl_btn-icon[data-v-
|
|
309
|
+
.bgl_btn[data-v-b96e25bd]:active,
|
|
310
|
+
.bgl_btn-icon[data-v-b96e25bd]:active {
|
|
311
311
|
filter: var(--bgl-active-filter);
|
|
312
312
|
}
|
|
313
|
-
.bgl_btn.bgl_flatBtn[data-v-
|
|
313
|
+
.bgl_btn.bgl_flatBtn[data-v-b96e25bd] {
|
|
314
314
|
padding-left: var(--btn-padding);
|
|
315
315
|
padding-right: var(--btn-padding);
|
|
316
316
|
background: transparent;
|
|
317
317
|
}
|
|
318
|
-
.bgl_btn-icon.bgl_flatBtn[data-v-
|
|
318
|
+
.bgl_btn-icon.bgl_flatBtn[data-v-b96e25bd] {
|
|
319
319
|
background: transparent;
|
|
320
320
|
}
|
|
321
|
-
.bgl_btn.bgl_flatBtn[data-v-
|
|
322
|
-
.bgl_btn-icon.bgl_flatBtn[data-v-
|
|
321
|
+
.bgl_btn.bgl_flatBtn[data-v-b96e25bd]:hover,
|
|
322
|
+
.bgl_btn-icon.bgl_flatBtn[data-v-b96e25bd]:hover {
|
|
323
323
|
filter: var(--bgl-active-filter);
|
|
324
324
|
}
|
|
325
|
-
.bgl_btn.bgl_flatBtn[data-v-
|
|
326
|
-
.bgl_btn-icon.bgl_flatBtn[data-v-
|
|
325
|
+
.bgl_btn.bgl_flatBtn[data-v-b96e25bd]:active,
|
|
326
|
+
.bgl_btn-icon.bgl_flatBtn[data-v-b96e25bd]:active {
|
|
327
327
|
background: var(--bgl-gray);
|
|
328
328
|
filter: var(--bgl-hover-filter);
|
|
329
329
|
}
|
|
330
|
-
.bgl_btn.bgl_flatBtn.red[data-v-
|
|
331
|
-
.bgl_btn-icon.bgl_flatBtn.red[data-v-
|
|
330
|
+
.bgl_btn.bgl_flatBtn.red[data-v-b96e25bd],
|
|
331
|
+
.bgl_btn-icon.bgl_flatBtn.red[data-v-b96e25bd] {
|
|
332
332
|
color: var(--bgl-red);
|
|
333
333
|
}
|
|
334
|
-
.bgl_btn.bgl_flatBtn.white[data-v-
|
|
335
|
-
.bgl_btn-icon.bgl_flatBtn.white[data-v-
|
|
334
|
+
.bgl_btn.bgl_flatBtn.white[data-v-b96e25bd],
|
|
335
|
+
.bgl_btn-icon.bgl_flatBtn.white[data-v-b96e25bd] {
|
|
336
336
|
color: var(--bgl-white);
|
|
337
337
|
}
|
|
338
|
-
.bgl_btn.bgl_flatBtn.light[data-v-
|
|
339
|
-
.bgl_btn-icon.bgl_flatBtn.light[data-v-
|
|
338
|
+
.bgl_btn.bgl_flatBtn.light[data-v-b96e25bd],
|
|
339
|
+
.bgl_btn-icon.bgl_flatBtn.light[data-v-b96e25bd] {
|
|
340
340
|
color: var(--bgl-primary-tint);
|
|
341
341
|
}
|
|
342
|
-
.bgl_btn.bgl_flatBtn.black[data-v-
|
|
343
|
-
.bgl_btn-icon.bgl_flatBtn.black[data-v-
|
|
342
|
+
.bgl_btn.bgl_flatBtn.black[data-v-b96e25bd],
|
|
343
|
+
.bgl_btn-icon.bgl_flatBtn.black[data-v-b96e25bd] {
|
|
344
344
|
color: var(--bgl-black);
|
|
345
345
|
}
|
|
346
|
-
.bgl_btn.bgl_flatBtn.gray[data-v-
|
|
347
|
-
.bgl_btn-icon.bgl_flatBtn.gray[data-v-
|
|
346
|
+
.bgl_btn.bgl_flatBtn.gray[data-v-b96e25bd],
|
|
347
|
+
.bgl_btn-icon.bgl_flatBtn.gray[data-v-b96e25bd] {
|
|
348
348
|
color: var(--bgl-gray);
|
|
349
349
|
}
|
|
350
|
-
.bgl_btn.thin[data-v-
|
|
350
|
+
.bgl_btn.thin[data-v-b96e25bd] {
|
|
351
351
|
padding-left: calc(var(--btn-padding) / 2);
|
|
352
352
|
padding-right: calc(var(--btn-padding) / 2);
|
|
353
353
|
}
|
|
354
|
-
.bgl_btn.round[data-v-
|
|
354
|
+
.bgl_btn.round[data-v-b96e25bd] {
|
|
355
355
|
border-radius: calc(var(--btn-border-radius) * 2);
|
|
356
356
|
}
|
|
357
|
-
.bgl_btn-icon.thin[data-v-
|
|
357
|
+
.bgl_btn-icon.thin[data-v-b96e25bd] {
|
|
358
358
|
height: calc(var(--btn-height) / 1.5);
|
|
359
359
|
width: calc(var(--btn-height) / 1.5);
|
|
360
360
|
line-height: 1;
|
|
361
361
|
}
|
|
362
|
-
[dir="rtl"] .bgl_.bgl_icon-font[data-v-
|
|
362
|
+
[dir="rtl"] .bgl_.bgl_icon-font[data-v-b96e25bd] {
|
|
363
363
|
transform: rotateY(180deg);
|
|
364
364
|
}
|
|
365
|
-
.bgl_btn-border[data-v-
|
|
366
|
-
outline: 1px solid var(--
|
|
367
|
-
color: var(--
|
|
365
|
+
.bgl_btn-border[data-v-b96e25bd] {
|
|
366
|
+
outline: 1px solid var(--a8626e32);
|
|
367
|
+
color: var(--a8626e32);
|
|
368
368
|
background: transparent;
|
|
369
369
|
}
|
|
370
|
-
.bgl_btn-border[data-v-
|
|
370
|
+
.bgl_btn-border[data-v-b96e25bd]:hover {
|
|
371
371
|
color: var(--bgl-white);
|
|
372
|
-
background: var(--
|
|
372
|
+
background: var(--a8626e32);
|
|
373
373
|
filter: brightness(100%);
|
|
374
374
|
}
|
|
375
|
-
.bgl_btn-border[data-v-
|
|
375
|
+
.bgl_btn-border[data-v-b96e25bd]:active {
|
|
376
376
|
filter: brightness(80%);
|
|
377
377
|
}
|
|
378
378
|
.bg-dark {
|
|
@@ -876,7 +876,7 @@ display: block;
|
|
|
876
876
|
width: calc(100% - 5rem);
|
|
877
877
|
}
|
|
878
878
|
|
|
879
|
-
.inline[data-v-
|
|
879
|
+
.inline[data-v-532b36ae] {
|
|
880
880
|
display: inline;
|
|
881
881
|
}
|
|
882
882
|
|
|
@@ -921,14 +921,14 @@ display: block;
|
|
|
921
921
|
color: var(--bgl-red);
|
|
922
922
|
}
|
|
923
923
|
|
|
924
|
-
.bgl_vid iframe[data-v-
|
|
925
|
-
.bgl_vid video[data-v-
|
|
924
|
+
.bgl_vid iframe[data-v-862e1f20],
|
|
925
|
+
.bgl_vid video[data-v-862e1f20] {
|
|
926
926
|
width: 100%;
|
|
927
927
|
height: auto;
|
|
928
928
|
display: block;
|
|
929
929
|
border-radius: var(--input-border-radius);
|
|
930
930
|
}
|
|
931
|
-
.bgl_vid.vid_empty[data-v-
|
|
931
|
+
.bgl_vid.vid_empty[data-v-862e1f20] {
|
|
932
932
|
padding-top: 56.25%;
|
|
933
933
|
background: var(--input-bg);
|
|
934
934
|
border-radius: var(--input-border-radius);
|
|
@@ -2580,7 +2580,7 @@ p {
|
|
|
2580
2580
|
border-radius: var(--input-border-radius);
|
|
2581
2581
|
}
|
|
2582
2582
|
|
|
2583
|
-
.tel-input[data-v-
|
|
2583
|
+
.tel-input[data-v-6f0154b1] {
|
|
2584
2584
|
direction: ltr;
|
|
2585
2585
|
text-align: left;
|
|
2586
2586
|
background: var(--input-bg);
|
|
@@ -2591,21 +2591,21 @@ p {
|
|
|
2591
2591
|
min-width: calc(var(--input-height) * 3);
|
|
2592
2592
|
width: 100%;
|
|
2593
2593
|
}
|
|
2594
|
-
.tel-input[data-v-
|
|
2594
|
+
.tel-input[data-v-6f0154b1]:focus-within {
|
|
2595
2595
|
outline: none;
|
|
2596
2596
|
box-shadow: inset 0 0 10px #00000012;
|
|
2597
2597
|
}
|
|
2598
|
-
.tel-input input[data-v-
|
|
2598
|
+
.tel-input input[data-v-6f0154b1] {
|
|
2599
2599
|
background: transparent;
|
|
2600
2600
|
}
|
|
2601
|
-
.tel-input input[data-v-
|
|
2601
|
+
.tel-input input[data-v-6f0154b1]:focus-visible {
|
|
2602
2602
|
box-shadow: none;
|
|
2603
2603
|
}
|
|
2604
|
-
.input_country-code[data-v-
|
|
2604
|
+
.input_country-code[data-v-6f0154b1] {
|
|
2605
2605
|
font-size: var(--input-font-size);
|
|
2606
2606
|
color: var(--input-color);
|
|
2607
2607
|
}
|
|
2608
|
-
.tel-country[data-v-
|
|
2608
|
+
.tel-country[data-v-6f0154b1] {
|
|
2609
2609
|
font-size: var(--input-font-size);
|
|
2610
2610
|
max-width: 200px;
|
|
2611
2611
|
white-space: nowrap;
|
|
@@ -2614,7 +2614,7 @@ p {
|
|
|
2614
2614
|
margin-top: 0;
|
|
2615
2615
|
margin-bottom: 0;
|
|
2616
2616
|
}
|
|
2617
|
-
.tel-countryp-dropdown[data-v-
|
|
2617
|
+
.tel-countryp-dropdown[data-v-6f0154b1] {
|
|
2618
2618
|
direction: ltr;
|
|
2619
2619
|
text-align: left;
|
|
2620
2620
|
}
|
package/package.json
CHANGED
package/src/components/Badge.vue
CHANGED
|
@@ -30,6 +30,7 @@ const videoUrl = $computed(() => {
|
|
|
30
30
|
}
|
|
31
31
|
if (embedType === 'Vimeo') {
|
|
32
32
|
const vimeoRegex
|
|
33
|
+
// eslint-disable-next-line regexp/no-unused-capturing-group
|
|
33
34
|
= /vimeo\.com\/(?:channels\/(?:\w+\/)?|groups\/([^/]*)\/videos\/|album\/(\d+)\/video\/)?(\d+)(?:$|\/|\?)/
|
|
34
35
|
const videoId = props.src?.match(vimeoRegex)?.[3]
|
|
35
36
|
return `https://player.vimeo.com/video/${videoId}`
|
package/src/components/Btn.vue
CHANGED
|
@@ -120,7 +120,7 @@ let selectedIndex = $ref<number>()
|
|
|
120
120
|
const dropdownOpenDirection = $ref('below')
|
|
121
121
|
const searchQuery = $ref('')
|
|
122
122
|
|
|
123
|
-
const refInput = $ref<HTMLInputElement | null>(null)
|
|
123
|
+
// const refInput = $ref<HTMLInputElement | null>(null)
|
|
124
124
|
|
|
125
125
|
// Computed: activeCountry
|
|
126
126
|
const activeCountry = $computed(() => props.allCountries.find(
|
|
@@ -149,6 +149,7 @@ const sortedCountries = $computed(() => {
|
|
|
149
149
|
|
|
150
150
|
const countriesList = [...preferredCountries, ...filteredCountries]
|
|
151
151
|
const cleanInput = searchQuery.replace(
|
|
152
|
+
// eslint-disable-next-line regexp/no-obscure-range
|
|
152
153
|
/[~`!#$%&*()+={};:'"<>.,/?-_]/g,
|
|
153
154
|
'',
|
|
154
155
|
)
|
|
@@ -197,6 +198,7 @@ watch(
|
|
|
197
198
|
activeCountryCode = oldValue.iso2
|
|
198
199
|
return
|
|
199
200
|
}
|
|
201
|
+
// eslint-disable-next-line vue/custom-event-name-casing
|
|
200
202
|
if (value?.iso2) emit('country-changed', value)
|
|
201
203
|
},
|
|
202
204
|
)
|
|
@@ -289,7 +291,7 @@ function handleInput(e: KeyboardEvent) {
|
|
|
289
291
|
const keyVal = e.key
|
|
290
292
|
if (keyVal.length > 1 || e.metaKey) return
|
|
291
293
|
|
|
292
|
-
const hasBadChars =
|
|
294
|
+
const hasBadChars = /[^+\d]/.test(keyVal)
|
|
293
295
|
|
|
294
296
|
if (!hasBadChars) return
|
|
295
297
|
|
|
@@ -341,7 +343,6 @@ function handleInput(e: KeyboardEvent) {
|
|
|
341
343
|
/>
|
|
342
344
|
|
|
343
345
|
<ul
|
|
344
|
-
ref="listEl"
|
|
345
346
|
class="overflow-y p-0"
|
|
346
347
|
:style="{ 'max-height': '400px' }"
|
|
347
348
|
:class="dropdownOpenDirection"
|
|
@@ -375,9 +376,9 @@ function handleInput(e: KeyboardEvent) {
|
|
|
375
376
|
</template>
|
|
376
377
|
</Dropdown>
|
|
377
378
|
|
|
379
|
+
<!-- ref="refInput" -->
|
|
378
380
|
<input
|
|
379
381
|
:id="id"
|
|
380
|
-
ref="refInput"
|
|
381
382
|
v-model="phone"
|
|
382
383
|
:required="required"
|
|
383
384
|
:placeholder="computedInputOptions.placeholder"
|