bootstrap-vue-next 0.44.4 → 0.44.5
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/{BOtpInput-CSCoKHP9.js → BFormOtp-C1YJvwN8.js} +11 -11
- package/dist/BFormOtp-C1YJvwN8.js.map +1 -0
- package/dist/{BOtpInput-Drfkt3x3.mjs → BFormOtp-DYjsPhQN.mjs} +10 -10
- package/dist/BFormOtp-DYjsPhQN.mjs.map +1 -0
- package/dist/{BootstrapVueOptions-BU3rzYio.mjs → BootstrapVueOptions-D3flIVqU.mjs} +2 -2
- package/dist/BootstrapVueOptions-D3flIVqU.mjs.map +1 -0
- package/dist/{BootstrapVueOptions-BC3f7hMU.js → BootstrapVueOptions-DbXZtoXX.js} +2 -2
- package/dist/BootstrapVueOptions-DbXZtoXX.js.map +1 -0
- package/dist/bootstrap-vue-next.css +6 -6
- package/dist/bootstrap-vue-next.mjs +3 -3
- package/dist/bootstrap-vue-next.umd.js +3 -3
- package/dist/components/{BOtpInput/BOtpInput.vue.d.mts → BFormOtp/BFormOtp.vue.d.mts} +3 -3
- package/dist/components/{BOtpInput/BOtpInput.vue.d.ts → BFormOtp/BFormOtp.vue.d.ts} +3 -3
- package/dist/components/BFormOtp/index.d.mts +1 -0
- package/dist/components/BFormOtp/index.d.ts +1 -0
- package/dist/components/index.d.mts +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/src/components/BFormOtp/index.mjs +2 -0
- package/dist/src/components/BFormOtp/index.umd.js +3 -0
- package/dist/src/components/index.mjs +3 -3
- package/dist/src/components/index.mjs.map +1 -1
- package/dist/src/components/index.umd.js +3 -3
- package/dist/src/components/index.umd.js.map +1 -1
- package/dist/src/resolvers/index.mjs +1 -1
- package/dist/src/resolvers/index.umd.js +1 -1
- package/dist/src/types/index.mjs +1 -1
- package/dist/src/types/index.umd.js +1 -1
- package/dist/types/BootstrapVueOptions.d.mts +3 -3
- package/dist/types/BootstrapVueOptions.d.ts +3 -3
- package/dist/types/ComponentProps.d.mts +1 -1
- package/dist/types/ComponentProps.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/{BOtpInput/_otp-input.scss → BFormOtp/_form-otp.scss} +4 -4
- package/src/styles/styles.scss +1 -1
- package/dist/BOtpInput-CSCoKHP9.js.map +0 -1
- package/dist/BOtpInput-Drfkt3x3.mjs.map +0 -1
- package/dist/BootstrapVueOptions-BC3f7hMU.js.map +0 -1
- package/dist/BootstrapVueOptions-BU3rzYio.mjs.map +0 -1
- package/dist/components/BOtpInput/index.d.mts +0 -1
- package/dist/components/BOtpInput/index.d.ts +0 -1
- package/dist/src/components/BOtpInput/index.mjs +0 -2
- package/dist/src/components/BOtpInput/index.umd.js +0 -3
|
@@ -391,12 +391,12 @@ var PinInputInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
391
391
|
}
|
|
392
392
|
});
|
|
393
393
|
//#endregion
|
|
394
|
-
//#region src/components/
|
|
394
|
+
//#region src/components/BFormOtp/BFormOtp.vue?vue&type=script&setup=true&lang.ts
|
|
395
395
|
var lengthDefault = 6;
|
|
396
396
|
//#endregion
|
|
397
|
-
//#region src/components/
|
|
398
|
-
var
|
|
399
|
-
__name: "
|
|
397
|
+
//#region src/components/BFormOtp/BFormOtp.vue
|
|
398
|
+
var BFormOtp_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
399
|
+
__name: "BFormOtp",
|
|
400
400
|
props: /* @__PURE__ */ (0, vue.mergeModels)({
|
|
401
401
|
ariaInvalid: {
|
|
402
402
|
type: [Boolean, String],
|
|
@@ -450,7 +450,7 @@ var BOtpInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
450
450
|
}),
|
|
451
451
|
emits: /* @__PURE__ */ (0, vue.mergeModels)(["complete"], ["update:modelValue"]),
|
|
452
452
|
setup(__props, { emit: __emit }) {
|
|
453
|
-
const props = require_useDefaults.useDefaults(__props, "
|
|
453
|
+
const props = require_useDefaults.useDefaults(__props, "BFormOtp");
|
|
454
454
|
const emit = __emit;
|
|
455
455
|
const modelValue = (0, vue.useModel)(__props, "modelValue");
|
|
456
456
|
const computedId = require_useId.useId(() => props.id);
|
|
@@ -460,11 +460,11 @@ var BOtpInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
460
460
|
});
|
|
461
461
|
const computedLength = (0, vue.computed)(() => lengthNumber.value > 0 ? lengthNumber.value : lengthDefault);
|
|
462
462
|
const rootClasses = (0, vue.computed)(() => [
|
|
463
|
-
"b-otp
|
|
463
|
+
"b-form-otp",
|
|
464
464
|
"d-flex",
|
|
465
465
|
"gap-2",
|
|
466
466
|
"align-items-center",
|
|
467
|
-
{ [`b-otp
|
|
467
|
+
{ [`b-form-otp-${props.size}`]: !!props.size }
|
|
468
468
|
]);
|
|
469
469
|
return (_ctx, _cache) => {
|
|
470
470
|
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(PinInputRoot_default), {
|
|
@@ -490,7 +490,7 @@ var BOtpInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
490
490
|
"as-child": ""
|
|
491
491
|
}, {
|
|
492
492
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)(require_BFormInput.BFormInput_default, {
|
|
493
|
-
class: "b-otp-
|
|
493
|
+
class: "b-form-otp-field",
|
|
494
494
|
"aria-label": `${(0, vue.unref)(props).ariaLabel || "Pin"} ${i + 1} of ${computedLength.value}`,
|
|
495
495
|
"aria-invalid": (0, vue.unref)(props).ariaInvalid,
|
|
496
496
|
autofocus: (0, vue.unref)(props).autofocus && i === 0,
|
|
@@ -532,11 +532,11 @@ var BOtpInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
532
532
|
}
|
|
533
533
|
});
|
|
534
534
|
//#endregion
|
|
535
|
-
Object.defineProperty(exports, "
|
|
535
|
+
Object.defineProperty(exports, "BFormOtp_default", {
|
|
536
536
|
enumerable: true,
|
|
537
537
|
get: function() {
|
|
538
|
-
return
|
|
538
|
+
return BFormOtp_default;
|
|
539
539
|
}
|
|
540
540
|
});
|
|
541
541
|
|
|
542
|
-
//# sourceMappingURL=
|
|
542
|
+
//# sourceMappingURL=BFormOtp-C1YJvwN8.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BFormOtp-C1YJvwN8.js","names":["createContext","useForwardExpose","useDirection","useVModel","Primitive","VisuallyHiddenInput_default","usePrimitiveElement","getActiveElement","Primitive"],"sources":["../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useArrowNavigation.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/PinInput/PinInputRoot.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/PinInput/PinInputInput.js","../src/components/BFormOtp/BFormOtp.vue","../src/components/BFormOtp/BFormOtp.vue"],"sourcesContent":["//#region src/shared/useArrowNavigation.ts\nconst ignoredElement = [\"INPUT\", \"TEXTAREA\"];\n/**\n* Allow arrow navigation for every html element with data-reka-collection-item tag\n*\n* @param e Keyboard event\n* @param currentElement Event initiator element or any element that wants to handle the navigation\n* @param parentElement Parent element where contains all the collection items, this will collect every item to be used when nav\n* @param options further options\n* @returns the navigated html element or null if none\n*/\nfunction useArrowNavigation(e, currentElement, parentElement, options = {}) {\n\tif (!currentElement || options.enableIgnoredElement && ignoredElement.includes(currentElement.nodeName)) return null;\n\tconst { arrowKeyOptions = \"both\", attributeName = \"[data-reka-collection-item]\", itemsArray = [], loop = true, dir = \"ltr\", preventScroll = true, focus = false } = options;\n\tconst [right, left, up, down, home, end] = [\n\t\te.key === \"ArrowRight\",\n\t\te.key === \"ArrowLeft\",\n\t\te.key === \"ArrowUp\",\n\t\te.key === \"ArrowDown\",\n\t\te.key === \"Home\",\n\t\te.key === \"End\"\n\t];\n\tconst goingVertical = up || down;\n\tconst goingHorizontal = right || left;\n\tif (!home && !end && (!goingVertical && !goingHorizontal || arrowKeyOptions === \"vertical\" && goingHorizontal || arrowKeyOptions === \"horizontal\" && goingVertical)) return null;\n\tconst allCollectionItems = parentElement ? Array.from(parentElement.querySelectorAll(attributeName)) : itemsArray;\n\tif (!allCollectionItems.length) return null;\n\tif (preventScroll) e.preventDefault();\n\tlet item = null;\n\tif (goingHorizontal || goingVertical) {\n\t\tconst goForward = goingVertical ? down : dir === \"ltr\" ? right : left;\n\t\titem = findNextFocusableElement(allCollectionItems, currentElement, {\n\t\t\tgoForward,\n\t\t\tloop\n\t\t});\n\t} else if (home) item = allCollectionItems.at(0) || null;\n\telse if (end) item = allCollectionItems.at(-1) || null;\n\tif (focus) item?.focus();\n\treturn item;\n}\n/**\n* Recursive function to find the next focusable element to avoid disabled elements\n*\n* @param elements Elements to navigate\n* @param currentElement Current active element\n* @param options\n* @returns next focusable element\n*/\nfunction findNextFocusableElement(elements, currentElement, options, iterations = !elements.includes(currentElement) ? elements.length + 1 : elements.length) {\n\tif (--iterations === 0) return null;\n\tconst index = elements.indexOf(currentElement);\n\tlet newIndex;\n\tif (index === -1) newIndex = options.goForward ? 0 : elements.length - 1;\n\telse newIndex = options.goForward ? index + 1 : index - 1;\n\tif (!options.loop && (newIndex < 0 || newIndex >= elements.length)) return null;\n\tconst adjustedNewIndex = (newIndex + elements.length) % elements.length;\n\tconst candidate = elements[adjustedNewIndex];\n\tif (!candidate) return null;\n\tconst isDisabled = candidate.hasAttribute(\"disabled\") && candidate.getAttribute(\"disabled\") !== \"false\";\n\tif (isDisabled) return findNextFocusableElement(elements, candidate, options, iterations);\n\treturn candidate;\n}\n\n//#endregion\nexport { useArrowNavigation };\n//# sourceMappingURL=useArrowNavigation.js.map","import { createContext } from \"../shared/createContext.js\";\nimport { useDirection } from \"../shared/useDirection.js\";\nimport { useForwardExpose } from \"../shared/useForwardExpose.js\";\nimport { Primitive } from \"../Primitive/Primitive.js\";\nimport { VisuallyHiddenInput_default } from \"../VisuallyHidden/VisuallyHiddenInput.js\";\nimport { computed, createBlock, createVNode, defineComponent, mergeProps, openBlock, ref, renderSlot, toRefs, unref, watch, withCtx } from \"vue\";\nimport { useVModel } from \"@vueuse/core\";\n\n//#region src/PinInput/PinInputRoot.vue?vue&type=script&setup=true&lang.ts\nconst [injectPinInputRootContext, providePinInputRootContext] = createContext(\"PinInputRoot\");\nvar PinInputRoot_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\tinheritAttrs: false,\n\t__name: \"PinInputRoot\",\n\tprops: {\n\t\tmodelValue: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tdefaultValue: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tplaceholder: {\n\t\t\ttype: String,\n\t\t\trequired: false,\n\t\t\tdefault: \"\"\n\t\t},\n\t\tmask: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\totp: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\ttype: {\n\t\t\ttype: null,\n\t\t\trequired: false,\n\t\t\tdefault: \"text\"\n\t\t},\n\t\tdir: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tid: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tname: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\trequired: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t}\n\t},\n\temits: [\"update:modelValue\", \"complete\"],\n\tsetup(__props, { emit: __emit }) {\n\t\tconst props = __props;\n\t\tconst emits = __emit;\n\t\tconst { mask, otp, placeholder, type, disabled, dir: propDir } = toRefs(props);\n\t\tconst { forwardRef } = useForwardExpose();\n\t\tconst dir = useDirection(propDir);\n\t\tconst modelValue = useVModel(props, \"modelValue\", emits, {\n\t\t\tdefaultValue: props.defaultValue ?? [],\n\t\t\tpassive: true,\n\t\t\tdeep: true\n\t\t});\n\t\tconst currentModelValue = computed(() => Array.isArray(modelValue.value) ? [...modelValue.value] : []);\n\t\tconst inputElements = ref(/* @__PURE__ */ new Set());\n\t\tfunction onInputElementChange(el) {\n\t\t\tinputElements.value.add(el);\n\t\t}\n\t\tconst isNumericMode = computed(() => props.type === \"number\");\n\t\tconst isCompleted = computed(() => {\n\t\t\tconst modelValues = currentModelValue.value.filter((i) => !!i || isNumericMode.value && i === 0);\n\t\t\treturn modelValues.length === inputElements.value.size;\n\t\t});\n\t\twatch(modelValue, () => {\n\t\t\tif (isCompleted.value) emits(\"complete\", modelValue.value);\n\t\t}, { deep: true });\n\t\tprovidePinInputRootContext({\n\t\t\tmodelValue,\n\t\t\tcurrentModelValue,\n\t\t\tmask,\n\t\t\totp,\n\t\t\tplaceholder,\n\t\t\ttype,\n\t\t\tdir,\n\t\t\tdisabled,\n\t\t\tisCompleted,\n\t\t\tinputElements,\n\t\t\tonInputElementChange,\n\t\t\tisNumericMode\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(Primitive), mergeProps(_ctx.$attrs, {\n\t\t\t\tref: unref(forwardRef),\n\t\t\t\tdir: unref(dir),\n\t\t\t\t\"data-complete\": isCompleted.value ? \"\" : void 0,\n\t\t\t\t\"data-disabled\": unref(disabled) ? \"\" : void 0\n\t\t\t}), {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\", { modelValue: unref(modelValue) }), createVNode(VisuallyHiddenInput_default, {\n\t\t\t\t\tid: _ctx.id,\n\t\t\t\t\tas: \"input\",\n\t\t\t\t\tfeature: \"focusable\",\n\t\t\t\t\ttabindex: \"-1\",\n\t\t\t\t\tvalue: currentModelValue.value.join(\"\"),\n\t\t\t\t\tname: _ctx.name ?? \"\",\n\t\t\t\t\tdisabled: unref(disabled),\n\t\t\t\t\trequired: _ctx.required,\n\t\t\t\t\tonFocus: _cache[0] || (_cache[0] = ($event) => Array.from(inputElements.value)?.[0]?.focus())\n\t\t\t\t}, null, 8, [\n\t\t\t\t\t\"id\",\n\t\t\t\t\t\"value\",\n\t\t\t\t\t\"name\",\n\t\t\t\t\t\"disabled\",\n\t\t\t\t\t\"required\"\n\t\t\t\t])]),\n\t\t\t\t_: 3\n\t\t\t}, 16, [\n\t\t\t\t\"dir\",\n\t\t\t\t\"data-complete\",\n\t\t\t\t\"data-disabled\"\n\t\t\t]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/PinInput/PinInputRoot.vue\nvar PinInputRoot_default = PinInputRoot_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { PinInputRoot_default, injectPinInputRootContext };\n//# sourceMappingURL=PinInputRoot.js.map","import { getActiveElement } from \"../shared/getActiveElement.js\";\nimport { useArrowNavigation } from \"../shared/useArrowNavigation.js\";\nimport { Primitive } from \"../Primitive/Primitive.js\";\nimport { usePrimitiveElement } from \"../Primitive/usePrimitiveElement.js\";\nimport { injectPinInputRootContext } from \"./PinInputRoot.js\";\nimport { computed, createBlock, defineComponent, nextTick, onMounted, onUnmounted, openBlock, renderSlot, unref, watch, withCtx, withKeys } from \"vue\";\n\n//#region src/PinInput/PinInputInput.vue?vue&type=script&setup=true&lang.ts\nvar PinInputInput_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"PinInputInput\",\n\tprops: {\n\t\tindex: {\n\t\t\ttype: Number,\n\t\t\trequired: true\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false,\n\t\t\tdefault: \"input\"\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst props = __props;\n\t\tconst context = injectPinInputRootContext();\n\t\tconst inputElements = computed(() => Array.from(context.inputElements.value));\n\t\tconst currentValue = computed(() => context.currentModelValue.value[props.index]);\n\t\tconst disabled = computed(() => props.disabled || context.disabled.value);\n\t\tconst isOtpMode = computed(() => context.otp.value);\n\t\tconst isPasswordMode = computed(() => context.mask.value);\n\t\tconst { primitiveElement, currentElement } = usePrimitiveElement();\n\t\tfunction handleInput(event) {\n\t\t\tconst target = event.target;\n\t\t\tif ((event.data?.length ?? 0) > 1) {\n\t\t\t\thandleMultipleCharacter(target.value);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (context.isNumericMode.value && !/^\\d*$/.test(target.value)) {\n\t\t\t\ttarget.value = target.value.replace(/\\D/g, \"\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ttarget.value = event.data || target.value.slice(-1);\n\t\t\tupdateModelValueAt(props.index, target.value);\n\t\t\tconst nextEl = inputElements.value[props.index + 1];\n\t\t\tif (nextEl) nextEl.focus();\n\t\t}\n\t\tfunction updatePlaceholder() {\n\t\t\tnextTick(() => {\n\t\t\t\tconst target = currentElement.value;\n\t\t\t\tif (!target) return;\n\t\t\t\tif (!target.value && target === getActiveElement()) target.placeholder = \"\";\n\t\t\t\telse target.placeholder = context.placeholder.value;\n\t\t\t});\n\t\t}\n\t\tfunction handleKeydown(event) {\n\t\t\tuseArrowNavigation(event, getActiveElement(), void 0, {\n\t\t\t\titemsArray: inputElements.value,\n\t\t\t\tfocus: true,\n\t\t\t\tloop: false,\n\t\t\t\tarrowKeyOptions: \"horizontal\",\n\t\t\t\tdir: context.dir.value\n\t\t\t});\n\t\t}\n\t\tfunction handleBackspace(event) {\n\t\t\tevent.preventDefault();\n\t\t\tconst target = event.target;\n\t\t\tconst value = target.value;\n\t\t\tif (value) updateModelValueAt(props.index, \"\");\n\t\t\telse {\n\t\t\t\tconst prevEl = inputElements.value[props.index - 1];\n\t\t\t\tif (prevEl) {\n\t\t\t\t\tprevEl.focus();\n\t\t\t\t\tupdateModelValueAt(props.index - 1, \"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfunction handleDelete(event) {\n\t\t\tif (event.key === \"Delete\") {\n\t\t\t\tevent.preventDefault();\n\t\t\t\tupdateModelValueAt(props.index, \"\");\n\t\t\t}\n\t\t}\n\t\tfunction handleFocus(event) {\n\t\t\tif (context.otp.value) {\n\t\t\t\tconst firstEmptyInputIdx = inputElements.value.findIndex((_, idx) => context.currentModelValue.value[idx] === \"\" || context.currentModelValue.value[idx] === void 0);\n\t\t\t\tif (firstEmptyInputIdx !== -1 && firstEmptyInputIdx < props.index) {\n\t\t\t\t\tinputElements.value[firstEmptyInputIdx].focus();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst target = event.target;\n\t\t\ttarget.setSelectionRange(1, 1);\n\t\t\tupdatePlaceholder();\n\t\t}\n\t\tfunction handleBlur(event) {\n\t\t\tupdatePlaceholder();\n\t\t}\n\t\tfunction handlePaste(event) {\n\t\t\tevent.preventDefault();\n\t\t\tconst clipboardData = event.clipboardData;\n\t\t\tif (!clipboardData) return;\n\t\t\tconst values = clipboardData.getData(\"text\");\n\t\t\thandleMultipleCharacter(values);\n\t\t}\n\t\tfunction handleMultipleCharacter(values) {\n\t\t\tconst tempModelValue = [...context.currentModelValue.value];\n\t\t\tconst initialIndex = values.length >= inputElements.value.length ? 0 : props.index;\n\t\t\tconst lastIndex = Math.min(initialIndex + values.length, inputElements.value.length);\n\t\t\tfor (let i = initialIndex; i < lastIndex; i++) {\n\t\t\t\tconst input = inputElements.value[i];\n\t\t\t\tconst value = values[i - initialIndex];\n\t\t\t\tif (context.isNumericMode.value && !/^\\d*$/.test(value)) continue;\n\t\t\t\ttempModelValue[i] = value;\n\t\t\t\tinput.focus();\n\t\t\t}\n\t\t\tcontext.modelValue.value = tempModelValue;\n\t\t\tinputElements.value[lastIndex]?.focus();\n\t\t}\n\t\tfunction removeTrailingEmptyStrings(input) {\n\t\t\tlet i = input.length - 1;\n\t\t\twhile (i >= 0 && input[i] === \"\") {\n\t\t\t\tinput.pop();\n\t\t\t\ti--;\n\t\t\t}\n\t\t\treturn input;\n\t\t}\n\t\tfunction updateModelValueAt(index, value) {\n\t\t\tconst tempModelValue = [...context.currentModelValue.value];\n\t\t\tif (context.isNumericMode.value) {\n\t\t\t\tconst num = +value;\n\t\t\t\tif (value === \"\" || isNaN(num)) delete tempModelValue[index];\n\t\t\t\telse tempModelValue[index] = num;\n\t\t\t} else tempModelValue[index] = value;\n\t\t\tcontext.modelValue.value = removeTrailingEmptyStrings(tempModelValue);\n\t\t}\n\t\twatch(currentValue, updatePlaceholder);\n\t\tonMounted(() => {\n\t\t\tcontext.onInputElementChange(currentElement.value);\n\t\t});\n\t\tonUnmounted(() => {\n\t\t\tcontext.inputElements?.value.delete(currentElement.value);\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(Primitive), {\n\t\t\t\tref_key: \"primitiveElement\",\n\t\t\t\tref: primitiveElement,\n\t\t\t\tautocapitalize: \"none\",\n\t\t\t\tas: _ctx.as,\n\t\t\t\t\"as-child\": _ctx.asChild,\n\t\t\t\tautocomplete: isOtpMode.value ? \"one-time-code\" : \"false\",\n\t\t\t\ttype: isPasswordMode.value ? \"password\" : \"text\",\n\t\t\t\tinputmode: unref(context).isNumericMode.value ? \"numeric\" : \"text\",\n\t\t\t\tpattern: unref(context).isNumericMode.value ? \"[0-9]*\" : void 0,\n\t\t\t\tplaceholder: unref(context).placeholder.value,\n\t\t\t\tvalue: currentValue.value,\n\t\t\t\tdisabled: disabled.value,\n\t\t\t\t\"data-disabled\": disabled.value ? \"\" : void 0,\n\t\t\t\t\"data-complete\": unref(context).isCompleted.value ? \"\" : void 0,\n\t\t\t\t\"aria-label\": `pin input ${_ctx.index + 1} of ${inputElements.value.length}`,\n\t\t\t\tonInput: _cache[0] || (_cache[0] = ($event) => handleInput($event)),\n\t\t\t\tonKeydown: [\n\t\t\t\t\twithKeys(handleKeydown, [\n\t\t\t\t\t\t\"left\",\n\t\t\t\t\t\t\"right\",\n\t\t\t\t\t\t\"up\",\n\t\t\t\t\t\t\"down\",\n\t\t\t\t\t\t\"home\",\n\t\t\t\t\t\t\"end\"\n\t\t\t\t\t]),\n\t\t\t\t\twithKeys(handleBackspace, [\"backspace\"]),\n\t\t\t\t\twithKeys(handleDelete, [\"delete\"])\n\t\t\t\t],\n\t\t\t\tonFocus: handleFocus,\n\t\t\t\tonBlur: handleBlur,\n\t\t\t\tonPaste: handlePaste\n\t\t\t}, {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t_: 3\n\t\t\t}, 8, [\n\t\t\t\t\"as\",\n\t\t\t\t\"as-child\",\n\t\t\t\t\"autocomplete\",\n\t\t\t\t\"type\",\n\t\t\t\t\"inputmode\",\n\t\t\t\t\"pattern\",\n\t\t\t\t\"placeholder\",\n\t\t\t\t\"value\",\n\t\t\t\t\"disabled\",\n\t\t\t\t\"data-disabled\",\n\t\t\t\t\"data-complete\",\n\t\t\t\t\"aria-label\"\n\t\t\t]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/PinInput/PinInputInput.vue\nvar PinInputInput_default = PinInputInput_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { PinInputInput_default };\n//# sourceMappingURL=PinInputInput.js.map","<template>\n <PinInputRoot\n :id=\"computedId\"\n v-model=\"modelValue\"\n :class=\"rootClasses\"\n :disabled=\"props.disabled\"\n :dir=\"props.dir\"\n :mask=\"props.mask\"\n :name=\"props.name\"\n :otp=\"props.otp\"\n :placeholder=\"props.placeholder\"\n :required=\"props.required\"\n :type=\"props.type\"\n @complete=\"emit('complete', $event)\"\n >\n <PinInputInput\n v-for=\"(_, i) in computedLength\"\n :key=\"i\"\n :index=\"i\"\n :disabled=\"props.disabled\"\n as-child\n >\n <BFormInput\n class=\"b-form-otp-field\"\n :aria-label=\"`${props.ariaLabel || 'Pin'} ${i + 1} of ${computedLength}`\"\n :aria-invalid=\"props.ariaInvalid\"\n :autofocus=\"props.autofocus && i === 0\"\n :disabled=\"props.disabled\"\n :form=\"props.form\"\n :plaintext=\"props.plaintext\"\n :readonly=\"props.readonly\"\n :size=\"props.size\"\n :state=\"props.state\"\n />\n </PinInputInput>\n </PinInputRoot>\n</template>\n\n<script setup lang=\"ts\">\nimport {computed} from 'vue'\nimport {useToNumber} from '@vueuse/core'\nimport {PinInputInput, PinInputRoot} from 'reka-ui'\nimport type {BFormOtpProps} from '../../types'\nimport {useDefaults} from '../../composables/useDefaults'\nimport {useId} from '../../composables/useId'\nimport BFormInput from '../BFormInput/BFormInput.vue'\n\nconst lengthDefault = 6\nconst _props = withDefaults(defineProps<Omit<BFormOtpProps, 'modelValue'>>(), {\n ariaInvalid: undefined,\n ariaLabel: undefined,\n autofocus: false,\n dir: undefined,\n disabled: false,\n form: undefined,\n id: undefined,\n length: lengthDefault,\n mask: false,\n name: undefined,\n otp: false,\n placeholder: '',\n plaintext: false,\n readonly: false,\n required: false,\n size: undefined,\n state: null,\n type: 'text',\n})\nconst props = useDefaults(_props, 'BFormOtp')\nconst emit = defineEmits<{\n complete: [value: string[]]\n}>()\n\nconst modelValue = defineModel<BFormOtpProps['modelValue']>({default: () => []})\n\nconst computedId = useId(() => props.id)\nconst lengthNumber = useToNumber(() => props.length, {nanToZero: true, method: 'parseInt'})\nconst computedLength = computed(() => (lengthNumber.value > 0 ? lengthNumber.value : lengthDefault))\n\nconst rootClasses = computed(() => [\n 'b-form-otp',\n 'd-flex',\n 'gap-2',\n 'align-items-center',\n {\n [`b-form-otp-${props.size}`]: !!props.size,\n },\n])\n</script>\n","<template>\n <PinInputRoot\n :id=\"computedId\"\n v-model=\"modelValue\"\n :class=\"rootClasses\"\n :disabled=\"props.disabled\"\n :dir=\"props.dir\"\n :mask=\"props.mask\"\n :name=\"props.name\"\n :otp=\"props.otp\"\n :placeholder=\"props.placeholder\"\n :required=\"props.required\"\n :type=\"props.type\"\n @complete=\"emit('complete', $event)\"\n >\n <PinInputInput\n v-for=\"(_, i) in computedLength\"\n :key=\"i\"\n :index=\"i\"\n :disabled=\"props.disabled\"\n as-child\n >\n <BFormInput\n class=\"b-form-otp-field\"\n :aria-label=\"`${props.ariaLabel || 'Pin'} ${i + 1} of ${computedLength}`\"\n :aria-invalid=\"props.ariaInvalid\"\n :autofocus=\"props.autofocus && i === 0\"\n :disabled=\"props.disabled\"\n :form=\"props.form\"\n :plaintext=\"props.plaintext\"\n :readonly=\"props.readonly\"\n :size=\"props.size\"\n :state=\"props.state\"\n />\n </PinInputInput>\n </PinInputRoot>\n</template>\n\n<script setup lang=\"ts\">\nimport {computed} from 'vue'\nimport {useToNumber} from '@vueuse/core'\nimport {PinInputInput, PinInputRoot} from 'reka-ui'\nimport type {BFormOtpProps} from '../../types'\nimport {useDefaults} from '../../composables/useDefaults'\nimport {useId} from '../../composables/useId'\nimport BFormInput from '../BFormInput/BFormInput.vue'\n\nconst lengthDefault = 6\nconst _props = withDefaults(defineProps<Omit<BFormOtpProps, 'modelValue'>>(), {\n ariaInvalid: undefined,\n ariaLabel: undefined,\n autofocus: false,\n dir: undefined,\n disabled: false,\n form: undefined,\n id: undefined,\n length: lengthDefault,\n mask: false,\n name: undefined,\n otp: false,\n placeholder: '',\n plaintext: false,\n readonly: false,\n required: false,\n size: undefined,\n state: null,\n type: 'text',\n})\nconst props = useDefaults(_props, 'BFormOtp')\nconst emit = defineEmits<{\n complete: [value: string[]]\n}>()\n\nconst modelValue = defineModel<BFormOtpProps['modelValue']>({default: () => []})\n\nconst computedId = useId(() => props.id)\nconst lengthNumber = useToNumber(() => props.length, {nanToZero: true, method: 'parseInt'})\nconst computedLength = computed(() => (lengthNumber.value > 0 ? lengthNumber.value : lengthDefault))\n\nconst rootClasses = computed(() => [\n 'b-form-otp',\n 'd-flex',\n 'gap-2',\n 'align-items-center',\n {\n [`b-form-otp-${props.size}`]: !!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IACZ,YAAQ,OAAA,OAAA,OAAA,MAAA,WAAE,KAAI,YAAa,OAAM;;oCAGA,GAAA,GAAA,IAAA,WAAA,KAAA,GAAA,GAAA,IAAA,oBAkBlB,IAAA,UAAA,OAAA,GAAA,IAAA,YAlBG,eAAA,QAAT,GAAG,MAAC;sEAkBE,sBAAA,EAAA;MAjBb,KAAK;MACL,OAAO;MACP,WAAA,GAAA,IAAA,OAAU,MAAK,CAAC;MACjB,YAAA;;sCAaE,EAAA,GAAA,IAAA,aAAA,mBAAA,oBAAA;OAVA,OAAM;OACL,cAAU,IAAA,GAAA,IAAA,OAAK,MAAK,CAAC,aAAS,MAAA,GAAa,IAAC,EAAA,MAAW,eAAA;OACvD,iBAAA,GAAA,IAAA,OAAc,MAAK,CAAC;OACpB,YAAA,GAAA,IAAA,OAAW,MAAK,CAAC,aAAa,MAAC;OAC/B,WAAA,GAAA,IAAA,OAAU,MAAK,CAAC;OAChB,OAAA,GAAA,IAAA,OAAM,MAAK,CAAC;OACZ,YAAA,GAAA,IAAA,OAAW,MAAK,CAAC;OACjB,WAAA,GAAA,IAAA,OAAU,MAAK,CAAC;OAChB,OAAA,GAAA,IAAA,OAAM,MAAK,CAAC;OACZ,QAAA,GAAA,IAAA,OAAO,MAAK,CAAC"}
|
|
@@ -390,12 +390,12 @@ var PinInputInput_default = /* @__PURE__ */ defineComponent({
|
|
|
390
390
|
}
|
|
391
391
|
});
|
|
392
392
|
//#endregion
|
|
393
|
-
//#region src/components/
|
|
393
|
+
//#region src/components/BFormOtp/BFormOtp.vue?vue&type=script&setup=true&lang.ts
|
|
394
394
|
var lengthDefault = 6;
|
|
395
395
|
//#endregion
|
|
396
|
-
//#region src/components/
|
|
397
|
-
var
|
|
398
|
-
__name: "
|
|
396
|
+
//#region src/components/BFormOtp/BFormOtp.vue
|
|
397
|
+
var BFormOtp_default = /* @__PURE__ */ defineComponent({
|
|
398
|
+
__name: "BFormOtp",
|
|
399
399
|
props: /* @__PURE__ */ mergeModels({
|
|
400
400
|
ariaInvalid: {
|
|
401
401
|
type: [Boolean, String],
|
|
@@ -449,7 +449,7 @@ var BOtpInput_default = /* @__PURE__ */ defineComponent({
|
|
|
449
449
|
}),
|
|
450
450
|
emits: /* @__PURE__ */ mergeModels(["complete"], ["update:modelValue"]),
|
|
451
451
|
setup(__props, { emit: __emit }) {
|
|
452
|
-
const props = useDefaults(__props, "
|
|
452
|
+
const props = useDefaults(__props, "BFormOtp");
|
|
453
453
|
const emit = __emit;
|
|
454
454
|
const modelValue = useModel(__props, "modelValue");
|
|
455
455
|
const computedId = useId$1(() => props.id);
|
|
@@ -459,11 +459,11 @@ var BOtpInput_default = /* @__PURE__ */ defineComponent({
|
|
|
459
459
|
});
|
|
460
460
|
const computedLength = computed(() => lengthNumber.value > 0 ? lengthNumber.value : lengthDefault);
|
|
461
461
|
const rootClasses = computed(() => [
|
|
462
|
-
"b-otp
|
|
462
|
+
"b-form-otp",
|
|
463
463
|
"d-flex",
|
|
464
464
|
"gap-2",
|
|
465
465
|
"align-items-center",
|
|
466
|
-
{ [`b-otp
|
|
466
|
+
{ [`b-form-otp-${props.size}`]: !!props.size }
|
|
467
467
|
]);
|
|
468
468
|
return (_ctx, _cache) => {
|
|
469
469
|
return openBlock(), createBlock(unref(PinInputRoot_default), {
|
|
@@ -489,7 +489,7 @@ var BOtpInput_default = /* @__PURE__ */ defineComponent({
|
|
|
489
489
|
"as-child": ""
|
|
490
490
|
}, {
|
|
491
491
|
default: withCtx(() => [createVNode(BFormInput_default, {
|
|
492
|
-
class: "b-otp-
|
|
492
|
+
class: "b-form-otp-field",
|
|
493
493
|
"aria-label": `${unref(props).ariaLabel || "Pin"} ${i + 1} of ${computedLength.value}`,
|
|
494
494
|
"aria-invalid": unref(props).ariaInvalid,
|
|
495
495
|
autofocus: unref(props).autofocus && i === 0,
|
|
@@ -531,6 +531,6 @@ var BOtpInput_default = /* @__PURE__ */ defineComponent({
|
|
|
531
531
|
}
|
|
532
532
|
});
|
|
533
533
|
//#endregion
|
|
534
|
-
export {
|
|
534
|
+
export { BFormOtp_default as t };
|
|
535
535
|
|
|
536
|
-
//# sourceMappingURL=
|
|
536
|
+
//# sourceMappingURL=BFormOtp-DYjsPhQN.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BFormOtp-DYjsPhQN.mjs","names":[],"sources":["../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useArrowNavigation.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/PinInput/PinInputRoot.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/PinInput/PinInputInput.js","../src/components/BFormOtp/BFormOtp.vue","../src/components/BFormOtp/BFormOtp.vue"],"sourcesContent":["//#region src/shared/useArrowNavigation.ts\nconst ignoredElement = [\"INPUT\", \"TEXTAREA\"];\n/**\n* Allow arrow navigation for every html element with data-reka-collection-item tag\n*\n* @param e Keyboard event\n* @param currentElement Event initiator element or any element that wants to handle the navigation\n* @param parentElement Parent element where contains all the collection items, this will collect every item to be used when nav\n* @param options further options\n* @returns the navigated html element or null if none\n*/\nfunction useArrowNavigation(e, currentElement, parentElement, options = {}) {\n\tif (!currentElement || options.enableIgnoredElement && ignoredElement.includes(currentElement.nodeName)) return null;\n\tconst { arrowKeyOptions = \"both\", attributeName = \"[data-reka-collection-item]\", itemsArray = [], loop = true, dir = \"ltr\", preventScroll = true, focus = false } = options;\n\tconst [right, left, up, down, home, end] = [\n\t\te.key === \"ArrowRight\",\n\t\te.key === \"ArrowLeft\",\n\t\te.key === \"ArrowUp\",\n\t\te.key === \"ArrowDown\",\n\t\te.key === \"Home\",\n\t\te.key === \"End\"\n\t];\n\tconst goingVertical = up || down;\n\tconst goingHorizontal = right || left;\n\tif (!home && !end && (!goingVertical && !goingHorizontal || arrowKeyOptions === \"vertical\" && goingHorizontal || arrowKeyOptions === \"horizontal\" && goingVertical)) return null;\n\tconst allCollectionItems = parentElement ? Array.from(parentElement.querySelectorAll(attributeName)) : itemsArray;\n\tif (!allCollectionItems.length) return null;\n\tif (preventScroll) e.preventDefault();\n\tlet item = null;\n\tif (goingHorizontal || goingVertical) {\n\t\tconst goForward = goingVertical ? down : dir === \"ltr\" ? right : left;\n\t\titem = findNextFocusableElement(allCollectionItems, currentElement, {\n\t\t\tgoForward,\n\t\t\tloop\n\t\t});\n\t} else if (home) item = allCollectionItems.at(0) || null;\n\telse if (end) item = allCollectionItems.at(-1) || null;\n\tif (focus) item?.focus();\n\treturn item;\n}\n/**\n* Recursive function to find the next focusable element to avoid disabled elements\n*\n* @param elements Elements to navigate\n* @param currentElement Current active element\n* @param options\n* @returns next focusable element\n*/\nfunction findNextFocusableElement(elements, currentElement, options, iterations = !elements.includes(currentElement) ? elements.length + 1 : elements.length) {\n\tif (--iterations === 0) return null;\n\tconst index = elements.indexOf(currentElement);\n\tlet newIndex;\n\tif (index === -1) newIndex = options.goForward ? 0 : elements.length - 1;\n\telse newIndex = options.goForward ? index + 1 : index - 1;\n\tif (!options.loop && (newIndex < 0 || newIndex >= elements.length)) return null;\n\tconst adjustedNewIndex = (newIndex + elements.length) % elements.length;\n\tconst candidate = elements[adjustedNewIndex];\n\tif (!candidate) return null;\n\tconst isDisabled = candidate.hasAttribute(\"disabled\") && candidate.getAttribute(\"disabled\") !== \"false\";\n\tif (isDisabled) return findNextFocusableElement(elements, candidate, options, iterations);\n\treturn candidate;\n}\n\n//#endregion\nexport { useArrowNavigation };\n//# sourceMappingURL=useArrowNavigation.js.map","import { createContext } from \"../shared/createContext.js\";\nimport { useDirection } from \"../shared/useDirection.js\";\nimport { useForwardExpose } from \"../shared/useForwardExpose.js\";\nimport { Primitive } from \"../Primitive/Primitive.js\";\nimport { VisuallyHiddenInput_default } from \"../VisuallyHidden/VisuallyHiddenInput.js\";\nimport { computed, createBlock, createVNode, defineComponent, mergeProps, openBlock, ref, renderSlot, toRefs, unref, watch, withCtx } from \"vue\";\nimport { useVModel } from \"@vueuse/core\";\n\n//#region src/PinInput/PinInputRoot.vue?vue&type=script&setup=true&lang.ts\nconst [injectPinInputRootContext, providePinInputRootContext] = createContext(\"PinInputRoot\");\nvar PinInputRoot_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\tinheritAttrs: false,\n\t__name: \"PinInputRoot\",\n\tprops: {\n\t\tmodelValue: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tdefaultValue: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tplaceholder: {\n\t\t\ttype: String,\n\t\t\trequired: false,\n\t\t\tdefault: \"\"\n\t\t},\n\t\tmask: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\totp: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\ttype: {\n\t\t\ttype: null,\n\t\t\trequired: false,\n\t\t\tdefault: \"text\"\n\t\t},\n\t\tdir: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tid: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tname: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\trequired: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t}\n\t},\n\temits: [\"update:modelValue\", \"complete\"],\n\tsetup(__props, { emit: __emit }) {\n\t\tconst props = __props;\n\t\tconst emits = __emit;\n\t\tconst { mask, otp, placeholder, type, disabled, dir: propDir } = toRefs(props);\n\t\tconst { forwardRef } = useForwardExpose();\n\t\tconst dir = useDirection(propDir);\n\t\tconst modelValue = useVModel(props, \"modelValue\", emits, {\n\t\t\tdefaultValue: props.defaultValue ?? [],\n\t\t\tpassive: true,\n\t\t\tdeep: true\n\t\t});\n\t\tconst currentModelValue = computed(() => Array.isArray(modelValue.value) ? [...modelValue.value] : []);\n\t\tconst inputElements = ref(/* @__PURE__ */ new Set());\n\t\tfunction onInputElementChange(el) {\n\t\t\tinputElements.value.add(el);\n\t\t}\n\t\tconst isNumericMode = computed(() => props.type === \"number\");\n\t\tconst isCompleted = computed(() => {\n\t\t\tconst modelValues = currentModelValue.value.filter((i) => !!i || isNumericMode.value && i === 0);\n\t\t\treturn modelValues.length === inputElements.value.size;\n\t\t});\n\t\twatch(modelValue, () => {\n\t\t\tif (isCompleted.value) emits(\"complete\", modelValue.value);\n\t\t}, { deep: true });\n\t\tprovidePinInputRootContext({\n\t\t\tmodelValue,\n\t\t\tcurrentModelValue,\n\t\t\tmask,\n\t\t\totp,\n\t\t\tplaceholder,\n\t\t\ttype,\n\t\t\tdir,\n\t\t\tdisabled,\n\t\t\tisCompleted,\n\t\t\tinputElements,\n\t\t\tonInputElementChange,\n\t\t\tisNumericMode\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(Primitive), mergeProps(_ctx.$attrs, {\n\t\t\t\tref: unref(forwardRef),\n\t\t\t\tdir: unref(dir),\n\t\t\t\t\"data-complete\": isCompleted.value ? \"\" : void 0,\n\t\t\t\t\"data-disabled\": unref(disabled) ? \"\" : void 0\n\t\t\t}), {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\", { modelValue: unref(modelValue) }), createVNode(VisuallyHiddenInput_default, {\n\t\t\t\t\tid: _ctx.id,\n\t\t\t\t\tas: \"input\",\n\t\t\t\t\tfeature: \"focusable\",\n\t\t\t\t\ttabindex: \"-1\",\n\t\t\t\t\tvalue: currentModelValue.value.join(\"\"),\n\t\t\t\t\tname: _ctx.name ?? \"\",\n\t\t\t\t\tdisabled: unref(disabled),\n\t\t\t\t\trequired: _ctx.required,\n\t\t\t\t\tonFocus: _cache[0] || (_cache[0] = ($event) => Array.from(inputElements.value)?.[0]?.focus())\n\t\t\t\t}, null, 8, [\n\t\t\t\t\t\"id\",\n\t\t\t\t\t\"value\",\n\t\t\t\t\t\"name\",\n\t\t\t\t\t\"disabled\",\n\t\t\t\t\t\"required\"\n\t\t\t\t])]),\n\t\t\t\t_: 3\n\t\t\t}, 16, [\n\t\t\t\t\"dir\",\n\t\t\t\t\"data-complete\",\n\t\t\t\t\"data-disabled\"\n\t\t\t]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/PinInput/PinInputRoot.vue\nvar PinInputRoot_default = PinInputRoot_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { PinInputRoot_default, injectPinInputRootContext };\n//# sourceMappingURL=PinInputRoot.js.map","import { getActiveElement } from \"../shared/getActiveElement.js\";\nimport { useArrowNavigation } from \"../shared/useArrowNavigation.js\";\nimport { Primitive } from \"../Primitive/Primitive.js\";\nimport { usePrimitiveElement } from \"../Primitive/usePrimitiveElement.js\";\nimport { injectPinInputRootContext } from \"./PinInputRoot.js\";\nimport { computed, createBlock, defineComponent, nextTick, onMounted, onUnmounted, openBlock, renderSlot, unref, watch, withCtx, withKeys } from \"vue\";\n\n//#region src/PinInput/PinInputInput.vue?vue&type=script&setup=true&lang.ts\nvar PinInputInput_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"PinInputInput\",\n\tprops: {\n\t\tindex: {\n\t\t\ttype: Number,\n\t\t\trequired: true\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false,\n\t\t\tdefault: \"input\"\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst props = __props;\n\t\tconst context = injectPinInputRootContext();\n\t\tconst inputElements = computed(() => Array.from(context.inputElements.value));\n\t\tconst currentValue = computed(() => context.currentModelValue.value[props.index]);\n\t\tconst disabled = computed(() => props.disabled || context.disabled.value);\n\t\tconst isOtpMode = computed(() => context.otp.value);\n\t\tconst isPasswordMode = computed(() => context.mask.value);\n\t\tconst { primitiveElement, currentElement } = usePrimitiveElement();\n\t\tfunction handleInput(event) {\n\t\t\tconst target = event.target;\n\t\t\tif ((event.data?.length ?? 0) > 1) {\n\t\t\t\thandleMultipleCharacter(target.value);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (context.isNumericMode.value && !/^\\d*$/.test(target.value)) {\n\t\t\t\ttarget.value = target.value.replace(/\\D/g, \"\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ttarget.value = event.data || target.value.slice(-1);\n\t\t\tupdateModelValueAt(props.index, target.value);\n\t\t\tconst nextEl = inputElements.value[props.index + 1];\n\t\t\tif (nextEl) nextEl.focus();\n\t\t}\n\t\tfunction updatePlaceholder() {\n\t\t\tnextTick(() => {\n\t\t\t\tconst target = currentElement.value;\n\t\t\t\tif (!target) return;\n\t\t\t\tif (!target.value && target === getActiveElement()) target.placeholder = \"\";\n\t\t\t\telse target.placeholder = context.placeholder.value;\n\t\t\t});\n\t\t}\n\t\tfunction handleKeydown(event) {\n\t\t\tuseArrowNavigation(event, getActiveElement(), void 0, {\n\t\t\t\titemsArray: inputElements.value,\n\t\t\t\tfocus: true,\n\t\t\t\tloop: false,\n\t\t\t\tarrowKeyOptions: \"horizontal\",\n\t\t\t\tdir: context.dir.value\n\t\t\t});\n\t\t}\n\t\tfunction handleBackspace(event) {\n\t\t\tevent.preventDefault();\n\t\t\tconst target = event.target;\n\t\t\tconst value = target.value;\n\t\t\tif (value) updateModelValueAt(props.index, \"\");\n\t\t\telse {\n\t\t\t\tconst prevEl = inputElements.value[props.index - 1];\n\t\t\t\tif (prevEl) {\n\t\t\t\t\tprevEl.focus();\n\t\t\t\t\tupdateModelValueAt(props.index - 1, \"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfunction handleDelete(event) {\n\t\t\tif (event.key === \"Delete\") {\n\t\t\t\tevent.preventDefault();\n\t\t\t\tupdateModelValueAt(props.index, \"\");\n\t\t\t}\n\t\t}\n\t\tfunction handleFocus(event) {\n\t\t\tif (context.otp.value) {\n\t\t\t\tconst firstEmptyInputIdx = inputElements.value.findIndex((_, idx) => context.currentModelValue.value[idx] === \"\" || context.currentModelValue.value[idx] === void 0);\n\t\t\t\tif (firstEmptyInputIdx !== -1 && firstEmptyInputIdx < props.index) {\n\t\t\t\t\tinputElements.value[firstEmptyInputIdx].focus();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst target = event.target;\n\t\t\ttarget.setSelectionRange(1, 1);\n\t\t\tupdatePlaceholder();\n\t\t}\n\t\tfunction handleBlur(event) {\n\t\t\tupdatePlaceholder();\n\t\t}\n\t\tfunction handlePaste(event) {\n\t\t\tevent.preventDefault();\n\t\t\tconst clipboardData = event.clipboardData;\n\t\t\tif (!clipboardData) return;\n\t\t\tconst values = clipboardData.getData(\"text\");\n\t\t\thandleMultipleCharacter(values);\n\t\t}\n\t\tfunction handleMultipleCharacter(values) {\n\t\t\tconst tempModelValue = [...context.currentModelValue.value];\n\t\t\tconst initialIndex = values.length >= inputElements.value.length ? 0 : props.index;\n\t\t\tconst lastIndex = Math.min(initialIndex + values.length, inputElements.value.length);\n\t\t\tfor (let i = initialIndex; i < lastIndex; i++) {\n\t\t\t\tconst input = inputElements.value[i];\n\t\t\t\tconst value = values[i - initialIndex];\n\t\t\t\tif (context.isNumericMode.value && !/^\\d*$/.test(value)) continue;\n\t\t\t\ttempModelValue[i] = value;\n\t\t\t\tinput.focus();\n\t\t\t}\n\t\t\tcontext.modelValue.value = tempModelValue;\n\t\t\tinputElements.value[lastIndex]?.focus();\n\t\t}\n\t\tfunction removeTrailingEmptyStrings(input) {\n\t\t\tlet i = input.length - 1;\n\t\t\twhile (i >= 0 && input[i] === \"\") {\n\t\t\t\tinput.pop();\n\t\t\t\ti--;\n\t\t\t}\n\t\t\treturn input;\n\t\t}\n\t\tfunction updateModelValueAt(index, value) {\n\t\t\tconst tempModelValue = [...context.currentModelValue.value];\n\t\t\tif (context.isNumericMode.value) {\n\t\t\t\tconst num = +value;\n\t\t\t\tif (value === \"\" || isNaN(num)) delete tempModelValue[index];\n\t\t\t\telse tempModelValue[index] = num;\n\t\t\t} else tempModelValue[index] = value;\n\t\t\tcontext.modelValue.value = removeTrailingEmptyStrings(tempModelValue);\n\t\t}\n\t\twatch(currentValue, updatePlaceholder);\n\t\tonMounted(() => {\n\t\t\tcontext.onInputElementChange(currentElement.value);\n\t\t});\n\t\tonUnmounted(() => {\n\t\t\tcontext.inputElements?.value.delete(currentElement.value);\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(Primitive), {\n\t\t\t\tref_key: \"primitiveElement\",\n\t\t\t\tref: primitiveElement,\n\t\t\t\tautocapitalize: \"none\",\n\t\t\t\tas: _ctx.as,\n\t\t\t\t\"as-child\": _ctx.asChild,\n\t\t\t\tautocomplete: isOtpMode.value ? \"one-time-code\" : \"false\",\n\t\t\t\ttype: isPasswordMode.value ? \"password\" : \"text\",\n\t\t\t\tinputmode: unref(context).isNumericMode.value ? \"numeric\" : \"text\",\n\t\t\t\tpattern: unref(context).isNumericMode.value ? \"[0-9]*\" : void 0,\n\t\t\t\tplaceholder: unref(context).placeholder.value,\n\t\t\t\tvalue: currentValue.value,\n\t\t\t\tdisabled: disabled.value,\n\t\t\t\t\"data-disabled\": disabled.value ? \"\" : void 0,\n\t\t\t\t\"data-complete\": unref(context).isCompleted.value ? \"\" : void 0,\n\t\t\t\t\"aria-label\": `pin input ${_ctx.index + 1} of ${inputElements.value.length}`,\n\t\t\t\tonInput: _cache[0] || (_cache[0] = ($event) => handleInput($event)),\n\t\t\t\tonKeydown: [\n\t\t\t\t\twithKeys(handleKeydown, [\n\t\t\t\t\t\t\"left\",\n\t\t\t\t\t\t\"right\",\n\t\t\t\t\t\t\"up\",\n\t\t\t\t\t\t\"down\",\n\t\t\t\t\t\t\"home\",\n\t\t\t\t\t\t\"end\"\n\t\t\t\t\t]),\n\t\t\t\t\twithKeys(handleBackspace, [\"backspace\"]),\n\t\t\t\t\twithKeys(handleDelete, [\"delete\"])\n\t\t\t\t],\n\t\t\t\tonFocus: handleFocus,\n\t\t\t\tonBlur: handleBlur,\n\t\t\t\tonPaste: handlePaste\n\t\t\t}, {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t_: 3\n\t\t\t}, 8, [\n\t\t\t\t\"as\",\n\t\t\t\t\"as-child\",\n\t\t\t\t\"autocomplete\",\n\t\t\t\t\"type\",\n\t\t\t\t\"inputmode\",\n\t\t\t\t\"pattern\",\n\t\t\t\t\"placeholder\",\n\t\t\t\t\"value\",\n\t\t\t\t\"disabled\",\n\t\t\t\t\"data-disabled\",\n\t\t\t\t\"data-complete\",\n\t\t\t\t\"aria-label\"\n\t\t\t]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/PinInput/PinInputInput.vue\nvar PinInputInput_default = PinInputInput_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { PinInputInput_default };\n//# sourceMappingURL=PinInputInput.js.map","<template>\n <PinInputRoot\n :id=\"computedId\"\n v-model=\"modelValue\"\n :class=\"rootClasses\"\n :disabled=\"props.disabled\"\n :dir=\"props.dir\"\n :mask=\"props.mask\"\n :name=\"props.name\"\n :otp=\"props.otp\"\n :placeholder=\"props.placeholder\"\n :required=\"props.required\"\n :type=\"props.type\"\n @complete=\"emit('complete', $event)\"\n >\n <PinInputInput\n v-for=\"(_, i) in computedLength\"\n :key=\"i\"\n :index=\"i\"\n :disabled=\"props.disabled\"\n as-child\n >\n <BFormInput\n class=\"b-form-otp-field\"\n :aria-label=\"`${props.ariaLabel || 'Pin'} ${i + 1} of ${computedLength}`\"\n :aria-invalid=\"props.ariaInvalid\"\n :autofocus=\"props.autofocus && i === 0\"\n :disabled=\"props.disabled\"\n :form=\"props.form\"\n :plaintext=\"props.plaintext\"\n :readonly=\"props.readonly\"\n :size=\"props.size\"\n :state=\"props.state\"\n />\n </PinInputInput>\n </PinInputRoot>\n</template>\n\n<script setup lang=\"ts\">\nimport {computed} from 'vue'\nimport {useToNumber} from '@vueuse/core'\nimport {PinInputInput, PinInputRoot} from 'reka-ui'\nimport type {BFormOtpProps} from '../../types'\nimport {useDefaults} from '../../composables/useDefaults'\nimport {useId} from '../../composables/useId'\nimport BFormInput from '../BFormInput/BFormInput.vue'\n\nconst lengthDefault = 6\nconst _props = withDefaults(defineProps<Omit<BFormOtpProps, 'modelValue'>>(), {\n ariaInvalid: undefined,\n ariaLabel: undefined,\n autofocus: false,\n dir: undefined,\n disabled: false,\n form: undefined,\n id: undefined,\n length: lengthDefault,\n mask: false,\n name: undefined,\n otp: false,\n placeholder: '',\n plaintext: false,\n readonly: false,\n required: false,\n size: undefined,\n state: null,\n type: 'text',\n})\nconst props = useDefaults(_props, 'BFormOtp')\nconst emit = defineEmits<{\n complete: [value: string[]]\n}>()\n\nconst modelValue = defineModel<BFormOtpProps['modelValue']>({default: () => []})\n\nconst computedId = useId(() => props.id)\nconst lengthNumber = useToNumber(() => props.length, {nanToZero: true, method: 'parseInt'})\nconst computedLength = computed(() => (lengthNumber.value > 0 ? lengthNumber.value : lengthDefault))\n\nconst rootClasses = computed(() => [\n 'b-form-otp',\n 'd-flex',\n 'gap-2',\n 'align-items-center',\n {\n [`b-form-otp-${props.size}`]: !!props.size,\n },\n])\n</script>\n","<template>\n <PinInputRoot\n :id=\"computedId\"\n v-model=\"modelValue\"\n :class=\"rootClasses\"\n :disabled=\"props.disabled\"\n :dir=\"props.dir\"\n :mask=\"props.mask\"\n :name=\"props.name\"\n :otp=\"props.otp\"\n :placeholder=\"props.placeholder\"\n :required=\"props.required\"\n :type=\"props.type\"\n @complete=\"emit('complete', $event)\"\n >\n <PinInputInput\n v-for=\"(_, i) in computedLength\"\n :key=\"i\"\n :index=\"i\"\n :disabled=\"props.disabled\"\n as-child\n >\n <BFormInput\n class=\"b-form-otp-field\"\n :aria-label=\"`${props.ariaLabel || 'Pin'} ${i + 1} of ${computedLength}`\"\n :aria-invalid=\"props.ariaInvalid\"\n :autofocus=\"props.autofocus && i === 0\"\n :disabled=\"props.disabled\"\n :form=\"props.form\"\n :plaintext=\"props.plaintext\"\n :readonly=\"props.readonly\"\n :size=\"props.size\"\n :state=\"props.state\"\n />\n </PinInputInput>\n </PinInputRoot>\n</template>\n\n<script setup lang=\"ts\">\nimport {computed} from 'vue'\nimport {useToNumber} from '@vueuse/core'\nimport {PinInputInput, PinInputRoot} from 'reka-ui'\nimport type {BFormOtpProps} from '../../types'\nimport {useDefaults} from '../../composables/useDefaults'\nimport {useId} from '../../composables/useId'\nimport BFormInput from '../BFormInput/BFormInput.vue'\n\nconst lengthDefault = 6\nconst _props = withDefaults(defineProps<Omit<BFormOtpProps, 'modelValue'>>(), {\n ariaInvalid: undefined,\n ariaLabel: undefined,\n autofocus: false,\n dir: undefined,\n disabled: false,\n form: undefined,\n id: undefined,\n length: lengthDefault,\n mask: false,\n name: undefined,\n otp: false,\n placeholder: '',\n plaintext: false,\n readonly: false,\n required: false,\n size: undefined,\n state: null,\n type: 'text',\n})\nconst props = useDefaults(_props, 'BFormOtp')\nconst emit = defineEmits<{\n complete: [value: string[]]\n}>()\n\nconst modelValue = defineModel<BFormOtpProps['modelValue']>({default: () => []})\n\nconst computedId = useId(() => props.id)\nconst lengthNumber = useToNumber(() => props.length, {nanToZero: true, method: 'parseInt'})\nconst computedLength = computed(() => (lengthNumber.value > 0 ? lengthNumber.value : lengthDefault))\n\nconst rootClasses = computed(() => [\n 'b-form-otp',\n 'd-flex',\n 'gap-2',\n 'align-items-center',\n {\n [`b-form-otp-${props.size}`]: !!props.size,\n },\n])\n</script>\n"],"x_google_ignoreList":[0,1,2],"mappings":";;;;;;;;;AACA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,CAAC,MAAM,MAAA;GAEzC,CAAA;;uBAtFC,YAkCe,MAAA,qBAAA,EAAA;IAjCZ,IAAI,MAAA,WAAU;gBACN,WAAA;4EAAU,QAAA;IAClB,OAAK,eAAE,YAAA,MAAW;IAClB,UAAU,MAAA,MAAK,CAAC;IAChB,KAAK,MAAA,MAAK,CAAC;IACX,MAAM,MAAA,MAAK,CAAC;IACZ,MAAM,MAAA,MAAK,CAAC;IACZ,KAAK,MAAA,MAAK,CAAC;IACX,aAAa,MAAA,MAAK,CAAC;IACnB,UAAU,MAAA,MAAK,CAAC;IAChB,MAAM,MAAA,MAAK,CAAC;IACZ,YAAQ,OAAA,OAAA,OAAA,MAAA,WAAE,KAAI,YAAa,OAAM;;2BAGA,EAAA,UAAA,KAAA,EADlC,mBAmBgB,UAAA,MAAA,WAlBG,eAAA,QAAT,GAAG,MAAC;yBADd,YAmBgB,MAAA,sBAAA,EAAA;MAjBb,KAAK;MACL,OAAO;MACP,UAAU,MAAA,MAAK,CAAC;MACjB,YAAA;;6BAaE,CAXF,YAWE,oBAAA;OAVA,OAAM;OACL,cAAU,GAAK,MAAA,MAAK,CAAC,aAAS,MAAA,GAAa,IAAC,EAAA,MAAW,eAAA;OACvD,gBAAc,MAAA,MAAK,CAAC;OACpB,WAAW,MAAA,MAAK,CAAC,aAAa,MAAC;OAC/B,UAAU,MAAA,MAAK,CAAC;OAChB,MAAM,MAAA,MAAK,CAAC;OACZ,WAAW,MAAA,MAAK,CAAC;OACjB,UAAU,MAAA,MAAK,CAAC;OAChB,MAAM,MAAA,MAAK,CAAC;OACZ,OAAO,MAAA,MAAK,CAAC"}
|
|
@@ -80,7 +80,7 @@ var componentsWithExternalPath = {
|
|
|
80
80
|
BNavbarNav: "/components/BNavbar",
|
|
81
81
|
BNavbarToggle: "/components/BNavbar",
|
|
82
82
|
BOffcanvas: "/components/BOffcanvas",
|
|
83
|
-
|
|
83
|
+
BFormOtp: "/components/BFormOtp",
|
|
84
84
|
BOverlay: "/components/BOverlay",
|
|
85
85
|
BOrchestrator: "/components/BApp",
|
|
86
86
|
BPagination: "/components/BPagination",
|
|
@@ -141,4 +141,4 @@ var composableNames = Object.freeze(Object.keys(composablesWithExternalPath));
|
|
|
141
141
|
//#endregion
|
|
142
142
|
export { directiveNames as a, composablesWithExternalPath as i, componentsWithExternalPath as n, directivesWithExternalPath as o, composableNames as r, componentNames as t };
|
|
143
143
|
|
|
144
|
-
//# sourceMappingURL=BootstrapVueOptions-
|
|
144
|
+
//# sourceMappingURL=BootstrapVueOptions-D3flIVqU.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BootstrapVueOptions-D3flIVqU.mjs","names":[],"sources":["../src/types/BootstrapVueOptions.ts"],"sourcesContent":["import type * as ExportedComponents from '../components'\nimport type * as ExportedDirectives from '../directives'\nimport type * as ExportedComposables from '../composables'\nimport type * as ComponentProps from './ComponentProps'\n\ntype AllComponentsTyped = typeof ExportedComponents\n\nexport type ComponentType = keyof AllComponentsTyped\nexport type DirectiveType = keyof typeof ExportedDirectives\nexport type ComposableType = keyof typeof ExportedComposables\n\nexport type BvnComponents = {\n [K in ComponentType]: AllComponentsTyped[K]\n}\n\nexport const componentsWithExternalPath = {\n BAspect: '/components/BAspect',\n BAccordion: '/components/BAccordion',\n BAccordionItem: '/components/BAccordion',\n BAlert: '/components/BAlert',\n BApp: '/components/BApp',\n BAutocomplete: '/components/BAutocomplete',\n BAvatar: '/components/BAvatar',\n BAvatarGroup: '/components/BAvatar',\n BBadge: '/components/BBadge',\n BBreadcrumb: '/components/BBreadcrumb',\n BBreadcrumbItem: '/components/BBreadcrumb',\n BButton: '/components/BButton',\n BButtonGroup: '/components/BButton',\n BButtonToolbar: '/components/BButton',\n BCloseButton: '/components/BButton',\n BCard: '/components/BCard',\n BCardBody: '/components/BCard',\n BCardFooter: '/components/BCard',\n BCardGroup: '/components/BCard',\n BCardHeader: '/components/BCard',\n BCardImg: '/components/BCard',\n BCardSubtitle: '/components/BCard',\n BCardText: '/components/BCard',\n BCardTitle: '/components/BCard',\n BCarousel: '/components/BCarousel',\n BCarouselSlide: '/components/BCarousel',\n BCol: '/components/BContainer',\n BCollapse: '/components/BCollapse',\n BContainer: '/components/BContainer',\n BDateField: '/components/BDateField',\n BDatePicker: '/components/BDatePicker',\n BDateRangeField: '/components/BDateField',\n BDateRangePicker: '/components/BDatePicker',\n BDropdown: '/components/BDropdown',\n BDropdownDivider: '/components/BDropdown',\n BDropdownForm: '/components/BDropdown',\n BDropdownGroup: '/components/BDropdown',\n BDropdownHeader: '/components/BDropdown',\n BDropdownItem: '/components/BDropdown',\n BDropdownItemButton: '/components/BDropdown',\n BDropdownText: '/components/BDropdown',\n BForm: '/components/BForm',\n BFormCheckbox: '/components/BFormCheckbox',\n BFormCheckboxGroup: '/components/BFormCheckbox',\n BFormDatalist: '/components/BForm',\n BFormFile: '/components/BFormFile',\n BFormFloatingLabel: '/components/BForm',\n BFormGroup: '/components/BFormGroup',\n BFormInput: '/components/BFormInput',\n BFormInvalidFeedback: '/components/BForm',\n BFormRadio: '/components/BFormRadio',\n BFormRadioGroup: '/components/BFormRadio',\n BFormRating: '/components/BFormRating',\n BFormRow: '/components/BForm',\n BFormSelect: '/components/BFormSelect',\n BFormSelectOption: '/components/BFormSelect',\n BFormSelectOptionGroup: '/components/BFormSelect',\n BFormSpinbutton: '/components/BFormSpinbutton',\n BFormTag: '/components/BFormTags',\n BFormTags: '/components/BFormTags',\n BFormText: '/components/BForm',\n BFormTextarea: '/components/BFormTextarea',\n BFormValidFeedback: '/components/BForm',\n BImg: '/components/BImg',\n BInput: '/components/BFormInput',\n BInputGroup: '/components/BInputGroup',\n BInputGroupText: '/components/BInputGroup',\n BListGroup: '/components/BListGroup',\n BListGroupItem: '/components/BListGroup',\n BModal: '/components/BModal',\n BNav: '/components/BNav',\n BNavForm: '/components/BNav',\n BNavItem: '/components/BNav',\n BNavItemDropdown: '/components/BNav',\n BNavText: '/components/BNav',\n BNavbar: '/components/BNavbar',\n BNavbarBrand: '/components/BNavbar',\n BNavbarNav: '/components/BNavbar',\n BNavbarToggle: '/components/BNavbar',\n BOffcanvas: '/components/BOffcanvas',\n BFormOtp: '/components/BFormOtp',\n BOverlay: '/components/BOverlay',\n BOrchestrator: '/components/BApp',\n BPagination: '/components/BPagination',\n BPlaceholder: '/components/BPlaceholder',\n BPlaceholderButton: '/components/BPlaceholder',\n BPlaceholderCard: '/components/BPlaceholder',\n BPlaceholderTable: '/components/BPlaceholder',\n BPlaceholderWrapper: '/components/BPlaceholder',\n BPopover: '/components/BPopover',\n BProgress: '/components/BProgress',\n BRow: '/components/BContainer',\n BSpinner: '/components/BSpinner',\n BTab: '/components/BTabs',\n BTabs: '/components/BTabs',\n BToast: '/components/BToast',\n BTooltip: '/components/BTooltip',\n BLink: '/components/BLink',\n BProgressBar: '/components/BProgress',\n BTableSimple: '/components/BTable',\n BTableLite: '/components/BTable',\n BTable: '/components/BTable',\n BTbody: '/components/BTable',\n BTd: '/components/BTable',\n BTh: '/components/BTable',\n BThead: '/components/BTable',\n BTfoot: '/components/BTable',\n BTr: '/components/BTable',\n BTimeField: '/components/BTimeField',\n BTimeRangeField: '/components/BDateField',\n} as const satisfies Record<ComponentType, string>\nexport const componentNames = Object.freeze(\n Object.keys(componentsWithExternalPath) as ComponentType[]\n)\n\nexport const directivesWithExternalPath = {\n vBColorMode: '/directives/BColorMode',\n vBModal: '/directives/BModal',\n vBPopover: '/directives/BPopover',\n vBScrollspy: '/directives/BScrollspy',\n vBToggle: '/directives/BToggle',\n vBTooltip: '/directives/BTooltip',\n} as const satisfies Record<DirectiveType, string>\nexport const directiveNames = Object.freeze(\n Object.keys(directivesWithExternalPath) as DirectiveType[]\n)\n\nexport const composablesWithExternalPath = {\n useBreadcrumb: '/composables/useBreadcrumb',\n useColorMode: '/composables/useColorMode',\n useModal: '/composables/useModal',\n useModalController: '/composables/useModal',\n useScrollLock: '/composables/useScrollLock',\n useScrollspy: '/composables/useScrollspy',\n useToast: '/composables/useToast',\n useToastController: '/composables/useToast',\n useToggle: '/composables/useToggle',\n usePopover: '/composables/usePopover',\n usePopoverController: '/composables/usePopover',\n useRegistry: '/composables/useRegistry',\n useProvideDefaults: '/composables/useProvideDefaults',\n useOrchestratorRegistry: '/composables/orchestratorShared',\n} as const satisfies Record<ComposableType, string>\nexport const composableNames = Object.freeze(\n Object.keys(composablesWithExternalPath) as ComposableType[]\n)\n\nexport type ConfigurationOption<T extends string> = Partial<Record<T, boolean>> & {all: boolean}\nexport interface BootstrapVueOptions {\n /**\n * @default true\n */\n orchestrator?: boolean\n /**\n * @default true\n */\n registries?: boolean\n /**\n * @default false\n */\n rtl?:\n | boolean\n | {\n /**\n * @default false\n */\n rtlInitial: boolean\n /**\n * @default undefined\n */\n localeInitial: string | undefined\n }\n /**\n * @default true\n */\n components?: Partial<\n BvnComponentProps & {\n /**\n * @hint Globally sets all props with the matching name\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n global: Record<string, any>\n }\n >\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype UnmappedComponentProps<BFormSelectOption = any, BTableLite = any, BTable = any> = {\n BAspect: ComponentProps.BAspectProps\n BAutocomplete: ComponentProps.BAutocompleteProps\n BLink: ComponentProps.BLinkProps\n BAccordion: ComponentProps.BAccordionProps\n BApp: ComponentProps.BAppProps\n BDropdownDivider: ComponentProps.BDropdownDividerProps\n BDropdownGroup: ComponentProps.BDropdownGroupProps\n BDropdownItem: ComponentProps.BDropdownItemProps\n BDropdownItemButton: ComponentProps.BDropdownItemButtonProps\n BDropdownText: ComponentProps.BDropdownTextProps\n BFormFloatingLabel: ComponentProps.BFormFloatingLabelProps\n BFormRow: ComponentProps.BFormRowProps\n BFormText: ComponentProps.BFormTextProps\n BFormCheckbox: ComponentProps.BFormCheckboxProps\n BFormCheckboxGroup: ComponentProps.BFormCheckboxGroupProps\n BFormDatalist: ComponentProps.BFormDatalistProps\n BFormFile: ComponentProps.BFormFileProps\n BFormInput: ComponentProps.BFormInputProps\n BFormRadio: ComponentProps.BFormRadioProps\n BFormRadioGroup: ComponentProps.BFormRadioGroupProps\n BFormRating: ComponentProps.BFormRatingProps\n BFormSelect: ComponentProps.BFormSelectProps\n BFormSelectOption: ComponentProps.BFormSelectOptionProps<BFormSelectOption>\n BFormSelectOptionGroup: ComponentProps.BFormSelectOptionGroupProps\n BFormSpinbutton: ComponentProps.BFormSpinbuttonProps\n BFormTag: ComponentProps.BFormTagProps\n BFormTags: ComponentProps.BFormTagsProps\n BFormTextarea: ComponentProps.BFormTextareaProps\n BInputGroup: ComponentProps.BInputGroupProps\n BInputGroupText: ComponentProps.BInputGroupTextProps\n BListGroup: ComponentProps.BListGroupProps\n BListGroupItem: ComponentProps.BListGroupItemProps\n BNav: ComponentProps.BNavProps\n BNavForm: ComponentProps.BNavFormProps\n BNavItem: ComponentProps.BNavItemProps\n BNavText: ComponentProps.BNavTextProps\n BNavbar: ComponentProps.BNavbarProps\n BNavbarBrand: ComponentProps.BNavbarBrandProps\n BNavbarNav: ComponentProps.BNavbarNavProps\n BNavbarToggle: ComponentProps.BNavbarToggleProps\n BOffcanvas: ComponentProps.BOffcanvasProps\n BOrchestrator: ComponentProps.BAppProps\n BOverlay: ComponentProps.BOverlayProps\n BPagination: ComponentProps.BPaginationProps\n BPlaceholder: ComponentProps.BPlaceholderProps\n BPlaceholderButton: ComponentProps.BPlaceholderButtonProps\n BPlaceholderCard: ComponentProps.BPlaceholderCardProps\n BPlaceholderTable: ComponentProps.BPlaceholderTableProps\n BPlaceholderWrapper: ComponentProps.BPlaceholderWrapperProps\n BProgress: ComponentProps.BProgressProps\n BTab: ComponentProps.BTabProps\n BTabs: ComponentProps.BTabsProps\n BCollapse: ComponentProps.BCollapseProps\n BContainer: ComponentProps.BContainerProps\n BSpinner: ComponentProps.BSpinnerProps\n BAccordionItem: ComponentProps.BAccordionItemProps\n BAlert: ComponentProps.BAlertProps\n BAvatar: ComponentProps.BAvatarProps\n BAvatarGroup: ComponentProps.BAvatarGroupProps\n BBadge: ComponentProps.BBadgeProps\n BBreadcrumb: ComponentProps.BBreadcrumbProps\n BBreadcrumbItem: ComponentProps.BBreadcrumbItemProps\n BButton: ComponentProps.BButtonProps\n BButtonGroup: ComponentProps.BButtonGroupProps\n BButtonToolbar: ComponentProps.BButtonToolbarProps\n BCloseButton: ComponentProps.BCloseButtonProps\n BCard: ComponentProps.BCardProps\n BCardBody: ComponentProps.BCardBodyProps\n BCardGroup: ComponentProps.BCardGroupProps\n BCardSubtitle: ComponentProps.BCardSubtitleProps\n BCardText: ComponentProps.BCardTextProps\n BCardTitle: ComponentProps.BCardTitleProps\n BCarousel: ComponentProps.BCarouselProps\n BCarouselSlide: ComponentProps.BCarouselSlideProps\n BImg: ComponentProps.BImgProps\n BForm: ComponentProps.BFormProps\n BTableSimple: ComponentProps.BTableSimpleProps\n BTableLite: ComponentProps.BTableLiteProps<BTableLite>\n BTable: ComponentProps.BTableProps<BTable>\n BTr: ComponentProps.BTrProps\n BThead: ComponentProps.BTheadProps\n BTfoot: ComponentProps.BTfootProps\n BTd: ComponentProps.BTdProps\n BTbody: ComponentProps.BTbodyProps\n BTh: ComponentProps.BThProps\n BProgressBar: ComponentProps.BProgressBarProps\n BInputGroupAddon: ComponentProps.BInputGroupAddonProps\n BDropdown: ComponentProps.BDropdownProps\n BToast: ComponentProps.BToastProps\n BPopover: ComponentProps.BPopoverProps\n BTooltip: ComponentProps.BTooltipProps\n BModal: ComponentProps.BModalProps\n BCardFooter: ComponentProps.BCardFooterProps\n BCardHeader: ComponentProps.BCardHeaderProps\n BCardImg: ComponentProps.BCardImgProps\n BCol: ComponentProps.BColProps\n BDropdownForm: never\n BDropdownHeader: never\n BFormInvalidFeedback: ComponentProps.BFormInvalidFeedbackProps\n BFormValidFeedback: ComponentProps.BFormValidFeedbackProps\n BFormGroup: ComponentProps.BFormGroupProps\n BNavItemDropdown: ComponentProps.BDropdownProps\n BRow: ComponentProps.BRowProps\n BInput: ComponentProps.BFormInputProps\n BTimeField: ComponentProps.BTimeFieldProps\n BFormOtp: ComponentProps.BFormOtpProps\n BDateField: ComponentProps.BDateFieldProps\n BDatePicker: ComponentProps.BDatePickerProps\n BDateRangeField: ComponentProps.BDateRangeFieldProps\n BDateRangePicker: ComponentProps.BDateRangePickerProps\n BTimeRangeField: ComponentProps.BTimeRangeFieldProps\n showHide: ComponentProps.ShowHideProps\n}\n\nexport type BvnComponentProps = {\n [K in ComponentType]: UnmappedComponentProps[K]\n}\n\nexport type showHide = ComponentProps.ShowHideProps\n"],"mappings":";AAeA,IAAa,6BAA6B;CACxC,SAAS;CACT,YAAY;CACZ,gBAAgB;CAChB,QAAQ;CACR,MAAM;CACN,eAAe;CACf,SAAS;CACT,cAAc;CACd,QAAQ;CACR,aAAa;CACb,iBAAiB;CACjB,SAAS;CACT,cAAc;CACd,gBAAgB;CAChB,cAAc;CACd,OAAO;CACP,WAAW;CACX,aAAa;CACb,YAAY;CACZ,aAAa;CACb,UAAU;CACV,eAAe;CACf,WAAW;CACX,YAAY;CACZ,WAAW;CACX,gBAAgB;CAChB,MAAM;CACN,WAAW;CACX,YAAY;CACZ,YAAY;CACZ,aAAa;CACb,iBAAiB;CACjB,kBAAkB;CAClB,WAAW;CACX,kBAAkB;CAClB,eAAe;CACf,gBAAgB;CAChB,iBAAiB;CACjB,eAAe;CACf,qBAAqB;CACrB,eAAe;CACf,OAAO;CACP,eAAe;CACf,oBAAoB;CACpB,eAAe;CACf,WAAW;CACX,oBAAoB;CACpB,YAAY;CACZ,YAAY;CACZ,sBAAsB;CACtB,YAAY;CACZ,iBAAiB;CACjB,aAAa;CACb,UAAU;CACV,aAAa;CACb,mBAAmB;CACnB,wBAAwB;CACxB,iBAAiB;CACjB,UAAU;CACV,WAAW;CACX,WAAW;CACX,eAAe;CACf,oBAAoB;CACpB,MAAM;CACN,QAAQ;CACR,aAAa;CACb,iBAAiB;CACjB,YAAY;CACZ,gBAAgB;CAChB,QAAQ;CACR,MAAM;CACN,UAAU;CACV,UAAU;CACV,kBAAkB;CAClB,UAAU;CACV,SAAS;CACT,cAAc;CACd,YAAY;CACZ,eAAe;CACf,YAAY;CACZ,UAAU;CACV,UAAU;CACV,eAAe;CACf,aAAa;CACb,cAAc;CACd,oBAAoB;CACpB,kBAAkB;CAClB,mBAAmB;CACnB,qBAAqB;CACrB,UAAU;CACV,WAAW;CACX,MAAM;CACN,UAAU;CACV,MAAM;CACN,OAAO;CACP,QAAQ;CACR,UAAU;CACV,OAAO;CACP,cAAc;CACd,cAAc;CACd,YAAY;CACZ,QAAQ;CACR,QAAQ;CACR,KAAK;CACL,KAAK;CACL,QAAQ;CACR,QAAQ;CACR,KAAK;CACL,YAAY;CACZ,iBAAiB;CAClB;AACD,IAAa,iBAAiB,OAAO,OACnC,OAAO,KAAK,2BAA2B,CACxC;AAED,IAAa,6BAA6B;CACxC,aAAa;CACb,SAAS;CACT,WAAW;CACX,aAAa;CACb,UAAU;CACV,WAAW;CACZ;AACD,IAAa,iBAAiB,OAAO,OACnC,OAAO,KAAK,2BAA2B,CACxC;AAED,IAAa,8BAA8B;CACzC,eAAe;CACf,cAAc;CACd,UAAU;CACV,oBAAoB;CACpB,eAAe;CACf,cAAc;CACd,UAAU;CACV,oBAAoB;CACpB,WAAW;CACX,YAAY;CACZ,sBAAsB;CACtB,aAAa;CACb,oBAAoB;CACpB,yBAAyB;CAC1B;AACD,IAAa,kBAAkB,OAAO,OACpC,OAAO,KAAK,4BAA4B,CACzC"}
|
|
@@ -80,7 +80,7 @@ var componentsWithExternalPath = {
|
|
|
80
80
|
BNavbarNav: "/components/BNavbar",
|
|
81
81
|
BNavbarToggle: "/components/BNavbar",
|
|
82
82
|
BOffcanvas: "/components/BOffcanvas",
|
|
83
|
-
|
|
83
|
+
BFormOtp: "/components/BFormOtp",
|
|
84
84
|
BOverlay: "/components/BOverlay",
|
|
85
85
|
BOrchestrator: "/components/BApp",
|
|
86
86
|
BPagination: "/components/BPagination",
|
|
@@ -176,4 +176,4 @@ Object.defineProperty(exports, "directivesWithExternalPath", {
|
|
|
176
176
|
}
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
//# sourceMappingURL=BootstrapVueOptions-
|
|
179
|
+
//# sourceMappingURL=BootstrapVueOptions-DbXZtoXX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BootstrapVueOptions-DbXZtoXX.js","names":[],"sources":["../src/types/BootstrapVueOptions.ts"],"sourcesContent":["import type * as ExportedComponents from '../components'\nimport type * as ExportedDirectives from '../directives'\nimport type * as ExportedComposables from '../composables'\nimport type * as ComponentProps from './ComponentProps'\n\ntype AllComponentsTyped = typeof ExportedComponents\n\nexport type ComponentType = keyof AllComponentsTyped\nexport type DirectiveType = keyof typeof ExportedDirectives\nexport type ComposableType = keyof typeof ExportedComposables\n\nexport type BvnComponents = {\n [K in ComponentType]: AllComponentsTyped[K]\n}\n\nexport const componentsWithExternalPath = {\n BAspect: '/components/BAspect',\n BAccordion: '/components/BAccordion',\n BAccordionItem: '/components/BAccordion',\n BAlert: '/components/BAlert',\n BApp: '/components/BApp',\n BAutocomplete: '/components/BAutocomplete',\n BAvatar: '/components/BAvatar',\n BAvatarGroup: '/components/BAvatar',\n BBadge: '/components/BBadge',\n BBreadcrumb: '/components/BBreadcrumb',\n BBreadcrumbItem: '/components/BBreadcrumb',\n BButton: '/components/BButton',\n BButtonGroup: '/components/BButton',\n BButtonToolbar: '/components/BButton',\n BCloseButton: '/components/BButton',\n BCard: '/components/BCard',\n BCardBody: '/components/BCard',\n BCardFooter: '/components/BCard',\n BCardGroup: '/components/BCard',\n BCardHeader: '/components/BCard',\n BCardImg: '/components/BCard',\n BCardSubtitle: '/components/BCard',\n BCardText: '/components/BCard',\n BCardTitle: '/components/BCard',\n BCarousel: '/components/BCarousel',\n BCarouselSlide: '/components/BCarousel',\n BCol: '/components/BContainer',\n BCollapse: '/components/BCollapse',\n BContainer: '/components/BContainer',\n BDateField: '/components/BDateField',\n BDatePicker: '/components/BDatePicker',\n BDateRangeField: '/components/BDateField',\n BDateRangePicker: '/components/BDatePicker',\n BDropdown: '/components/BDropdown',\n BDropdownDivider: '/components/BDropdown',\n BDropdownForm: '/components/BDropdown',\n BDropdownGroup: '/components/BDropdown',\n BDropdownHeader: '/components/BDropdown',\n BDropdownItem: '/components/BDropdown',\n BDropdownItemButton: '/components/BDropdown',\n BDropdownText: '/components/BDropdown',\n BForm: '/components/BForm',\n BFormCheckbox: '/components/BFormCheckbox',\n BFormCheckboxGroup: '/components/BFormCheckbox',\n BFormDatalist: '/components/BForm',\n BFormFile: '/components/BFormFile',\n BFormFloatingLabel: '/components/BForm',\n BFormGroup: '/components/BFormGroup',\n BFormInput: '/components/BFormInput',\n BFormInvalidFeedback: '/components/BForm',\n BFormRadio: '/components/BFormRadio',\n BFormRadioGroup: '/components/BFormRadio',\n BFormRating: '/components/BFormRating',\n BFormRow: '/components/BForm',\n BFormSelect: '/components/BFormSelect',\n BFormSelectOption: '/components/BFormSelect',\n BFormSelectOptionGroup: '/components/BFormSelect',\n BFormSpinbutton: '/components/BFormSpinbutton',\n BFormTag: '/components/BFormTags',\n BFormTags: '/components/BFormTags',\n BFormText: '/components/BForm',\n BFormTextarea: '/components/BFormTextarea',\n BFormValidFeedback: '/components/BForm',\n BImg: '/components/BImg',\n BInput: '/components/BFormInput',\n BInputGroup: '/components/BInputGroup',\n BInputGroupText: '/components/BInputGroup',\n BListGroup: '/components/BListGroup',\n BListGroupItem: '/components/BListGroup',\n BModal: '/components/BModal',\n BNav: '/components/BNav',\n BNavForm: '/components/BNav',\n BNavItem: '/components/BNav',\n BNavItemDropdown: '/components/BNav',\n BNavText: '/components/BNav',\n BNavbar: '/components/BNavbar',\n BNavbarBrand: '/components/BNavbar',\n BNavbarNav: '/components/BNavbar',\n BNavbarToggle: '/components/BNavbar',\n BOffcanvas: '/components/BOffcanvas',\n BFormOtp: '/components/BFormOtp',\n BOverlay: '/components/BOverlay',\n BOrchestrator: '/components/BApp',\n BPagination: '/components/BPagination',\n BPlaceholder: '/components/BPlaceholder',\n BPlaceholderButton: '/components/BPlaceholder',\n BPlaceholderCard: '/components/BPlaceholder',\n BPlaceholderTable: '/components/BPlaceholder',\n BPlaceholderWrapper: '/components/BPlaceholder',\n BPopover: '/components/BPopover',\n BProgress: '/components/BProgress',\n BRow: '/components/BContainer',\n BSpinner: '/components/BSpinner',\n BTab: '/components/BTabs',\n BTabs: '/components/BTabs',\n BToast: '/components/BToast',\n BTooltip: '/components/BTooltip',\n BLink: '/components/BLink',\n BProgressBar: '/components/BProgress',\n BTableSimple: '/components/BTable',\n BTableLite: '/components/BTable',\n BTable: '/components/BTable',\n BTbody: '/components/BTable',\n BTd: '/components/BTable',\n BTh: '/components/BTable',\n BThead: '/components/BTable',\n BTfoot: '/components/BTable',\n BTr: '/components/BTable',\n BTimeField: '/components/BTimeField',\n BTimeRangeField: '/components/BDateField',\n} as const satisfies Record<ComponentType, string>\nexport const componentNames = Object.freeze(\n Object.keys(componentsWithExternalPath) as ComponentType[]\n)\n\nexport const directivesWithExternalPath = {\n vBColorMode: '/directives/BColorMode',\n vBModal: '/directives/BModal',\n vBPopover: '/directives/BPopover',\n vBScrollspy: '/directives/BScrollspy',\n vBToggle: '/directives/BToggle',\n vBTooltip: '/directives/BTooltip',\n} as const satisfies Record<DirectiveType, string>\nexport const directiveNames = Object.freeze(\n Object.keys(directivesWithExternalPath) as DirectiveType[]\n)\n\nexport const composablesWithExternalPath = {\n useBreadcrumb: '/composables/useBreadcrumb',\n useColorMode: '/composables/useColorMode',\n useModal: '/composables/useModal',\n useModalController: '/composables/useModal',\n useScrollLock: '/composables/useScrollLock',\n useScrollspy: '/composables/useScrollspy',\n useToast: '/composables/useToast',\n useToastController: '/composables/useToast',\n useToggle: '/composables/useToggle',\n usePopover: '/composables/usePopover',\n usePopoverController: '/composables/usePopover',\n useRegistry: '/composables/useRegistry',\n useProvideDefaults: '/composables/useProvideDefaults',\n useOrchestratorRegistry: '/composables/orchestratorShared',\n} as const satisfies Record<ComposableType, string>\nexport const composableNames = Object.freeze(\n Object.keys(composablesWithExternalPath) as ComposableType[]\n)\n\nexport type ConfigurationOption<T extends string> = Partial<Record<T, boolean>> & {all: boolean}\nexport interface BootstrapVueOptions {\n /**\n * @default true\n */\n orchestrator?: boolean\n /**\n * @default true\n */\n registries?: boolean\n /**\n * @default false\n */\n rtl?:\n | boolean\n | {\n /**\n * @default false\n */\n rtlInitial: boolean\n /**\n * @default undefined\n */\n localeInitial: string | undefined\n }\n /**\n * @default true\n */\n components?: Partial<\n BvnComponentProps & {\n /**\n * @hint Globally sets all props with the matching name\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n global: Record<string, any>\n }\n >\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype UnmappedComponentProps<BFormSelectOption = any, BTableLite = any, BTable = any> = {\n BAspect: ComponentProps.BAspectProps\n BAutocomplete: ComponentProps.BAutocompleteProps\n BLink: ComponentProps.BLinkProps\n BAccordion: ComponentProps.BAccordionProps\n BApp: ComponentProps.BAppProps\n BDropdownDivider: ComponentProps.BDropdownDividerProps\n BDropdownGroup: ComponentProps.BDropdownGroupProps\n BDropdownItem: ComponentProps.BDropdownItemProps\n BDropdownItemButton: ComponentProps.BDropdownItemButtonProps\n BDropdownText: ComponentProps.BDropdownTextProps\n BFormFloatingLabel: ComponentProps.BFormFloatingLabelProps\n BFormRow: ComponentProps.BFormRowProps\n BFormText: ComponentProps.BFormTextProps\n BFormCheckbox: ComponentProps.BFormCheckboxProps\n BFormCheckboxGroup: ComponentProps.BFormCheckboxGroupProps\n BFormDatalist: ComponentProps.BFormDatalistProps\n BFormFile: ComponentProps.BFormFileProps\n BFormInput: ComponentProps.BFormInputProps\n BFormRadio: ComponentProps.BFormRadioProps\n BFormRadioGroup: ComponentProps.BFormRadioGroupProps\n BFormRating: ComponentProps.BFormRatingProps\n BFormSelect: ComponentProps.BFormSelectProps\n BFormSelectOption: ComponentProps.BFormSelectOptionProps<BFormSelectOption>\n BFormSelectOptionGroup: ComponentProps.BFormSelectOptionGroupProps\n BFormSpinbutton: ComponentProps.BFormSpinbuttonProps\n BFormTag: ComponentProps.BFormTagProps\n BFormTags: ComponentProps.BFormTagsProps\n BFormTextarea: ComponentProps.BFormTextareaProps\n BInputGroup: ComponentProps.BInputGroupProps\n BInputGroupText: ComponentProps.BInputGroupTextProps\n BListGroup: ComponentProps.BListGroupProps\n BListGroupItem: ComponentProps.BListGroupItemProps\n BNav: ComponentProps.BNavProps\n BNavForm: ComponentProps.BNavFormProps\n BNavItem: ComponentProps.BNavItemProps\n BNavText: ComponentProps.BNavTextProps\n BNavbar: ComponentProps.BNavbarProps\n BNavbarBrand: ComponentProps.BNavbarBrandProps\n BNavbarNav: ComponentProps.BNavbarNavProps\n BNavbarToggle: ComponentProps.BNavbarToggleProps\n BOffcanvas: ComponentProps.BOffcanvasProps\n BOrchestrator: ComponentProps.BAppProps\n BOverlay: ComponentProps.BOverlayProps\n BPagination: ComponentProps.BPaginationProps\n BPlaceholder: ComponentProps.BPlaceholderProps\n BPlaceholderButton: ComponentProps.BPlaceholderButtonProps\n BPlaceholderCard: ComponentProps.BPlaceholderCardProps\n BPlaceholderTable: ComponentProps.BPlaceholderTableProps\n BPlaceholderWrapper: ComponentProps.BPlaceholderWrapperProps\n BProgress: ComponentProps.BProgressProps\n BTab: ComponentProps.BTabProps\n BTabs: ComponentProps.BTabsProps\n BCollapse: ComponentProps.BCollapseProps\n BContainer: ComponentProps.BContainerProps\n BSpinner: ComponentProps.BSpinnerProps\n BAccordionItem: ComponentProps.BAccordionItemProps\n BAlert: ComponentProps.BAlertProps\n BAvatar: ComponentProps.BAvatarProps\n BAvatarGroup: ComponentProps.BAvatarGroupProps\n BBadge: ComponentProps.BBadgeProps\n BBreadcrumb: ComponentProps.BBreadcrumbProps\n BBreadcrumbItem: ComponentProps.BBreadcrumbItemProps\n BButton: ComponentProps.BButtonProps\n BButtonGroup: ComponentProps.BButtonGroupProps\n BButtonToolbar: ComponentProps.BButtonToolbarProps\n BCloseButton: ComponentProps.BCloseButtonProps\n BCard: ComponentProps.BCardProps\n BCardBody: ComponentProps.BCardBodyProps\n BCardGroup: ComponentProps.BCardGroupProps\n BCardSubtitle: ComponentProps.BCardSubtitleProps\n BCardText: ComponentProps.BCardTextProps\n BCardTitle: ComponentProps.BCardTitleProps\n BCarousel: ComponentProps.BCarouselProps\n BCarouselSlide: ComponentProps.BCarouselSlideProps\n BImg: ComponentProps.BImgProps\n BForm: ComponentProps.BFormProps\n BTableSimple: ComponentProps.BTableSimpleProps\n BTableLite: ComponentProps.BTableLiteProps<BTableLite>\n BTable: ComponentProps.BTableProps<BTable>\n BTr: ComponentProps.BTrProps\n BThead: ComponentProps.BTheadProps\n BTfoot: ComponentProps.BTfootProps\n BTd: ComponentProps.BTdProps\n BTbody: ComponentProps.BTbodyProps\n BTh: ComponentProps.BThProps\n BProgressBar: ComponentProps.BProgressBarProps\n BInputGroupAddon: ComponentProps.BInputGroupAddonProps\n BDropdown: ComponentProps.BDropdownProps\n BToast: ComponentProps.BToastProps\n BPopover: ComponentProps.BPopoverProps\n BTooltip: ComponentProps.BTooltipProps\n BModal: ComponentProps.BModalProps\n BCardFooter: ComponentProps.BCardFooterProps\n BCardHeader: ComponentProps.BCardHeaderProps\n BCardImg: ComponentProps.BCardImgProps\n BCol: ComponentProps.BColProps\n BDropdownForm: never\n BDropdownHeader: never\n BFormInvalidFeedback: ComponentProps.BFormInvalidFeedbackProps\n BFormValidFeedback: ComponentProps.BFormValidFeedbackProps\n BFormGroup: ComponentProps.BFormGroupProps\n BNavItemDropdown: ComponentProps.BDropdownProps\n BRow: ComponentProps.BRowProps\n BInput: ComponentProps.BFormInputProps\n BTimeField: ComponentProps.BTimeFieldProps\n BFormOtp: ComponentProps.BFormOtpProps\n BDateField: ComponentProps.BDateFieldProps\n BDatePicker: ComponentProps.BDatePickerProps\n BDateRangeField: ComponentProps.BDateRangeFieldProps\n BDateRangePicker: ComponentProps.BDateRangePickerProps\n BTimeRangeField: ComponentProps.BTimeRangeFieldProps\n showHide: ComponentProps.ShowHideProps\n}\n\nexport type BvnComponentProps = {\n [K in ComponentType]: UnmappedComponentProps[K]\n}\n\nexport type showHide = ComponentProps.ShowHideProps\n"],"mappings":";AAeA,IAAa,6BAA6B;CACxC,SAAS;CACT,YAAY;CACZ,gBAAgB;CAChB,QAAQ;CACR,MAAM;CACN,eAAe;CACf,SAAS;CACT,cAAc;CACd,QAAQ;CACR,aAAa;CACb,iBAAiB;CACjB,SAAS;CACT,cAAc;CACd,gBAAgB;CAChB,cAAc;CACd,OAAO;CACP,WAAW;CACX,aAAa;CACb,YAAY;CACZ,aAAa;CACb,UAAU;CACV,eAAe;CACf,WAAW;CACX,YAAY;CACZ,WAAW;CACX,gBAAgB;CAChB,MAAM;CACN,WAAW;CACX,YAAY;CACZ,YAAY;CACZ,aAAa;CACb,iBAAiB;CACjB,kBAAkB;CAClB,WAAW;CACX,kBAAkB;CAClB,eAAe;CACf,gBAAgB;CAChB,iBAAiB;CACjB,eAAe;CACf,qBAAqB;CACrB,eAAe;CACf,OAAO;CACP,eAAe;CACf,oBAAoB;CACpB,eAAe;CACf,WAAW;CACX,oBAAoB;CACpB,YAAY;CACZ,YAAY;CACZ,sBAAsB;CACtB,YAAY;CACZ,iBAAiB;CACjB,aAAa;CACb,UAAU;CACV,aAAa;CACb,mBAAmB;CACnB,wBAAwB;CACxB,iBAAiB;CACjB,UAAU;CACV,WAAW;CACX,WAAW;CACX,eAAe;CACf,oBAAoB;CACpB,MAAM;CACN,QAAQ;CACR,aAAa;CACb,iBAAiB;CACjB,YAAY;CACZ,gBAAgB;CAChB,QAAQ;CACR,MAAM;CACN,UAAU;CACV,UAAU;CACV,kBAAkB;CAClB,UAAU;CACV,SAAS;CACT,cAAc;CACd,YAAY;CACZ,eAAe;CACf,YAAY;CACZ,UAAU;CACV,UAAU;CACV,eAAe;CACf,aAAa;CACb,cAAc;CACd,oBAAoB;CACpB,kBAAkB;CAClB,mBAAmB;CACnB,qBAAqB;CACrB,UAAU;CACV,WAAW;CACX,MAAM;CACN,UAAU;CACV,MAAM;CACN,OAAO;CACP,QAAQ;CACR,UAAU;CACV,OAAO;CACP,cAAc;CACd,cAAc;CACd,YAAY;CACZ,QAAQ;CACR,QAAQ;CACR,KAAK;CACL,KAAK;CACL,QAAQ;CACR,QAAQ;CACR,KAAK;CACL,YAAY;CACZ,iBAAiB;CAClB;AACD,IAAa,iBAAiB,OAAO,OACnC,OAAO,KAAK,2BAA2B,CACxC;AAED,IAAa,6BAA6B;CACxC,aAAa;CACb,SAAS;CACT,WAAW;CACX,aAAa;CACb,UAAU;CACV,WAAW;CACZ;AACD,IAAa,iBAAiB,OAAO,OACnC,OAAO,KAAK,2BAA2B,CACxC;AAED,IAAa,8BAA8B;CACzC,eAAe;CACf,cAAc;CACd,UAAU;CACV,oBAAoB;CACpB,eAAe;CACf,cAAc;CACd,UAAU;CACV,oBAAoB;CACpB,WAAW;CACX,YAAY;CACZ,sBAAsB;CACtB,aAAa;CACb,oBAAoB;CACpB,yBAAyB;CAC1B;AACD,IAAa,kBAAkB,OAAO,OACpC,OAAO,KAAK,4BAA4B,CACzC"}
|
|
@@ -1150,29 +1150,29 @@ input[type=file].form-control-input-file-hide-button::file-selector-button {
|
|
|
1150
1150
|
padding-left: 0.5rem;
|
|
1151
1151
|
}
|
|
1152
1152
|
|
|
1153
|
-
.b-otp
|
|
1153
|
+
.b-form-otp {
|
|
1154
1154
|
display: inline-flex;
|
|
1155
1155
|
}
|
|
1156
1156
|
|
|
1157
|
-
.b-otp-
|
|
1157
|
+
.b-form-otp-field {
|
|
1158
1158
|
text-align: center;
|
|
1159
1159
|
width: 2.5rem;
|
|
1160
1160
|
padding-left: 0;
|
|
1161
1161
|
padding-right: 0;
|
|
1162
1162
|
}
|
|
1163
|
-
.b-otp-
|
|
1163
|
+
.b-form-otp-field[type=number] {
|
|
1164
1164
|
-moz-appearance: textfield;
|
|
1165
1165
|
}
|
|
1166
|
-
.b-otp-
|
|
1166
|
+
.b-form-otp-field[type=number]::-webkit-outer-spin-button, .b-form-otp-field[type=number]::-webkit-inner-spin-button {
|
|
1167
1167
|
-webkit-appearance: none;
|
|
1168
1168
|
margin: 0;
|
|
1169
1169
|
}
|
|
1170
1170
|
|
|
1171
|
-
.b-otp-
|
|
1171
|
+
.b-form-otp-sm .b-form-otp-field {
|
|
1172
1172
|
width: 2rem;
|
|
1173
1173
|
}
|
|
1174
1174
|
|
|
1175
|
-
.b-otp-
|
|
1175
|
+
.b-form-otp-lg .b-form-otp-field {
|
|
1176
1176
|
width: 3rem;
|
|
1177
1177
|
}
|
|
1178
1178
|
|
|
@@ -9,7 +9,7 @@ import { t as BCollapse_default } from "./BCollapse-D-xTGkX_.mjs";
|
|
|
9
9
|
import { n as BAccordionItem_default, t as BAccordion_default } from "./BAccordion-CNzV6f8e.mjs";
|
|
10
10
|
import { t as BSpinner_default } from "./BSpinner-BpnwONvx.mjs";
|
|
11
11
|
import { t as BLink_default } from "./BLink-Cz5YCsnv.mjs";
|
|
12
|
-
import { a as directiveNames, i as composablesWithExternalPath, n as componentsWithExternalPath, o as directivesWithExternalPath, r as composableNames, t as componentNames } from "./BootstrapVueOptions-
|
|
12
|
+
import { a as directiveNames, i as composablesWithExternalPath, n as componentsWithExternalPath, o as directivesWithExternalPath, r as composableNames, t as componentNames } from "./BootstrapVueOptions-D3flIVqU.mjs";
|
|
13
13
|
import { t as types_exports } from "./src/types/index.mjs";
|
|
14
14
|
import { t as BButton_default } from "./BButton-BRvIFnRm.mjs";
|
|
15
15
|
import { t as BCloseButton_default } from "./BCloseButton-CjgbR1Ec.mjs";
|
|
@@ -19,7 +19,7 @@ import { n as BOrchestrator_default, t as BApp_default } from "./BApp-DJWC2mB8.m
|
|
|
19
19
|
import { useProvideDefaults } from "./src/composables/useProvideDefaults/index.mjs";
|
|
20
20
|
import { useRegistry } from "./src/composables/useRegistry/index.mjs";
|
|
21
21
|
import { t as BAutocomplete_default } from "./BAutocomplete-Depalqe-.mjs";
|
|
22
|
-
import { t as
|
|
22
|
+
import { t as BFormOtp_default } from "./BFormOtp-DYjsPhQN.mjs";
|
|
23
23
|
import { n as BDatePicker_default, t as BDateRangePicker_default } from "./BDatePicker-DfzZBWjU.mjs";
|
|
24
24
|
import { t as BTimeField_default } from "./BTimeField-DSWZeGYP.mjs";
|
|
25
25
|
import { n as BDateRangeField_default, r as BDateField_default, t as BTimeRangeField_default } from "./BDateField-BJIq6gs9.mjs";
|
|
@@ -86,4 +86,4 @@ import { registryPlugin } from "./src/plugins/registry/index.mjs";
|
|
|
86
86
|
import { orchestratorPlugin } from "./src/plugins/orchestrator/index.mjs";
|
|
87
87
|
import { createBootstrap } from "./src/plugins/createBootstrap/index.mjs";
|
|
88
88
|
import { t as plugins_exports } from "./src/plugins/index.mjs";
|
|
89
|
-
export { BAccordion_default as BAccordion, BAccordionItem_default as BAccordionItem, BAlert_default as BAlert, BApp_default as BApp, BAspect_default as BAspect, BAutocomplete_default as BAutocomplete, BAvatar_default as BAvatar, BAvatarGroup_default as BAvatarGroup, BBadge_default as BBadge, BBreadcrumb_default as BBreadcrumb, BBreadcrumbItem_default as BBreadcrumbItem, BButton_default as BButton, BButtonGroup_default as BButtonGroup, BButtonToolbar_default as BButtonToolbar, BCard_default as BCard, BCardBody_default as BCardBody, BCardFooter_default as BCardFooter, BCardGroup_default as BCardGroup, BCardHeader_default as BCardHeader, BCardImg_default as BCardImg, BCardSubtitle_default as BCardSubtitle, BCardText_default as BCardText, BCardTitle_default as BCardTitle, BCarousel_default as BCarousel, BCarouselSlide_default as BCarouselSlide, BCloseButton_default as BCloseButton, BCol_default as BCol, BCollapse_default as BCollapse, BContainer_default as BContainer, BDateField_default as BDateField, BDatePicker_default as BDatePicker, BDateRangeField_default as BDateRangeField, BDateRangePicker_default as BDateRangePicker, BDropdown_default as BDropdown, BDropdownDivider_default as BDropdownDivider, BDropdownForm_default as BDropdownForm, BDropdownGroup_default as BDropdownGroup, BDropdownHeader_default as BDropdownHeader, BDropdownItem_default as BDropdownItem, BDropdownItemButton_default as BDropdownItemButton, BDropdownText_default as BDropdownText, BForm_default as BForm, BFormCheckbox_default as BFormCheckbox, BFormCheckboxGroup_default as BFormCheckboxGroup, BFormDatalist_default as BFormDatalist, BFormFile_default as BFormFile, BFormFloatingLabel_default as BFormFloatingLabel, BFormGroup_default as BFormGroup, BFormInput_default as BFormInput, BFormInput_default as BInput, BFormInvalidFeedback_default as BFormInvalidFeedback, BFormRadio_default as BFormRadio, BFormRadioGroup_default as BFormRadioGroup, BFormRating_default as BFormRating, BFormRow_default as BFormRow, BFormSelect_default as BFormSelect, BFormSelectOption_default as BFormSelectOption, BFormSelectOptionGroup_default as BFormSelectOptionGroup, BFormSpinbutton_default as BFormSpinbutton, BFormTag_default as BFormTag, BFormTags_default as BFormTags, BFormText_default as BFormText, BFormTextarea_default as BFormTextarea, BFormValidFeedback_default as BFormValidFeedback, BImg_default as BImg, BInputGroup_default as BInputGroup, BInputGroupText_default as BInputGroupText, BLink_default as BLink, BListGroup_default as BListGroup, BListGroupItem_default as BListGroupItem, BModal_default as BModal, BNav_default as BNav, BNavForm_default as BNavForm, BNavItem_default as BNavItem, BNavItemDropdown_default as BNavItemDropdown, BNavText_default as BNavText, BNavbar_default as BNavbar, BNavbarBrand_default as BNavbarBrand, BNavbarNav_default as BNavbarNav, BNavbarToggle_default as BNavbarToggle, BOffcanvas_default as BOffcanvas, BOrchestrator_default as BOrchestrator,
|
|
89
|
+
export { BAccordion_default as BAccordion, BAccordionItem_default as BAccordionItem, BAlert_default as BAlert, BApp_default as BApp, BAspect_default as BAspect, BAutocomplete_default as BAutocomplete, BAvatar_default as BAvatar, BAvatarGroup_default as BAvatarGroup, BBadge_default as BBadge, BBreadcrumb_default as BBreadcrumb, BBreadcrumbItem_default as BBreadcrumbItem, BButton_default as BButton, BButtonGroup_default as BButtonGroup, BButtonToolbar_default as BButtonToolbar, BCard_default as BCard, BCardBody_default as BCardBody, BCardFooter_default as BCardFooter, BCardGroup_default as BCardGroup, BCardHeader_default as BCardHeader, BCardImg_default as BCardImg, BCardSubtitle_default as BCardSubtitle, BCardText_default as BCardText, BCardTitle_default as BCardTitle, BCarousel_default as BCarousel, BCarouselSlide_default as BCarouselSlide, BCloseButton_default as BCloseButton, BCol_default as BCol, BCollapse_default as BCollapse, BContainer_default as BContainer, BDateField_default as BDateField, BDatePicker_default as BDatePicker, BDateRangeField_default as BDateRangeField, BDateRangePicker_default as BDateRangePicker, BDropdown_default as BDropdown, BDropdownDivider_default as BDropdownDivider, BDropdownForm_default as BDropdownForm, BDropdownGroup_default as BDropdownGroup, BDropdownHeader_default as BDropdownHeader, BDropdownItem_default as BDropdownItem, BDropdownItemButton_default as BDropdownItemButton, BDropdownText_default as BDropdownText, BForm_default as BForm, BFormCheckbox_default as BFormCheckbox, BFormCheckboxGroup_default as BFormCheckboxGroup, BFormDatalist_default as BFormDatalist, BFormFile_default as BFormFile, BFormFloatingLabel_default as BFormFloatingLabel, BFormGroup_default as BFormGroup, BFormInput_default as BFormInput, BFormInput_default as BInput, BFormInvalidFeedback_default as BFormInvalidFeedback, BFormOtp_default as BFormOtp, BFormRadio_default as BFormRadio, BFormRadioGroup_default as BFormRadioGroup, BFormRating_default as BFormRating, BFormRow_default as BFormRow, BFormSelect_default as BFormSelect, BFormSelectOption_default as BFormSelectOption, BFormSelectOptionGroup_default as BFormSelectOptionGroup, BFormSpinbutton_default as BFormSpinbutton, BFormTag_default as BFormTag, BFormTags_default as BFormTags, BFormText_default as BFormText, BFormTextarea_default as BFormTextarea, BFormValidFeedback_default as BFormValidFeedback, BImg_default as BImg, BInputGroup_default as BInputGroup, BInputGroupText_default as BInputGroupText, BLink_default as BLink, BListGroup_default as BListGroup, BListGroupItem_default as BListGroupItem, BModal_default as BModal, BNav_default as BNav, BNavForm_default as BNavForm, BNavItem_default as BNavItem, BNavItemDropdown_default as BNavItemDropdown, BNavText_default as BNavText, BNavbar_default as BNavbar, BNavbarBrand_default as BNavbarBrand, BNavbarNav_default as BNavbarNav, BNavbarToggle_default as BNavbarToggle, BOffcanvas_default as BOffcanvas, BOrchestrator_default as BOrchestrator, BOverlay_default as BOverlay, BPagination_default as BPagination, BPlaceholder_default as BPlaceholder, BPlaceholderButton_default as BPlaceholderButton, BPlaceholderCard_default as BPlaceholderCard, BPlaceholderTable_default as BPlaceholderTable, BPlaceholderWrapper_default as BPlaceholderWrapper, BPopover_default as BPopover, BProgress_default as BProgress, BProgressBar_default as BProgressBar, BRow_default as BRow, BSpinner_default as BSpinner, BTab_default as BTab, BTable_default as BTable, BTableLite_default as BTableLite, BTableSimple_default as BTableSimple, BTabs_default as BTabs, BTbody_default as BTbody, BTd_default as BTd, BTfoot_default as BTfoot, BTh_default as BTh, BThead_default as BThead, BTimeField_default as BTimeField, BTimeRangeField_default as BTimeRangeField, BToast_default as BToast, BTooltip_default as BTooltip, BTr_default as BTr, BootstrapVueNextResolver, BvCarouselEvent, BvEvent, BvTriggerableEvent, components_exports as Components, composables_exports as Composables, directives_exports as Directives, plugins_exports as Plugins, resolvers_exports as Resolvers, types_exports as Types, utils_exports as Utils, componentNames, componentsWithExternalPath, composableNames, composablesWithExternalPath, createBootstrap, directiveNames, directivesWithExternalPath, orchestratorPlugin, registryPlugin, rtlPlugin, useBreadcrumb, useColorMode, useModal, useModalController, useOrchestratorRegistry, usePopover, usePopoverController, useProvideDefaults, useRegistry, useScrollLock, useScrollspy, useToast, useToastController, useToggle, vBColorMode, vBToggle as vBModal, vBToggle, vBPopover, vBScrollspy, vBTooltip };
|
|
@@ -10,7 +10,7 @@ const require_BCollapse = require("./BCollapse-DZ1z2c8U.js");
|
|
|
10
10
|
const require_BAccordion = require("./BAccordion-CJZMsvwP.js");
|
|
11
11
|
const require_BSpinner = require("./BSpinner-8UMAINYb.js");
|
|
12
12
|
const require_BLink = require("./BLink-uemyYKst.js");
|
|
13
|
-
const require_BootstrapVueOptions = require("./BootstrapVueOptions-
|
|
13
|
+
const require_BootstrapVueOptions = require("./BootstrapVueOptions-DbXZtoXX.js");
|
|
14
14
|
const require_src_types_index = require("./src/types/index.umd.js");
|
|
15
15
|
const require_BButton = require("./BButton-DBRs8Pz_.js");
|
|
16
16
|
const require_BCloseButton = require("./BCloseButton-CN__Jjcj.js");
|
|
@@ -20,7 +20,7 @@ const require_BApp = require("./BApp-DaM0UKIg.js");
|
|
|
20
20
|
const require_src_composables_useProvideDefaults_index = require("./src/composables/useProvideDefaults/index.umd.js");
|
|
21
21
|
const require_src_composables_useRegistry_index = require("./src/composables/useRegistry/index.umd.js");
|
|
22
22
|
const require_BAutocomplete = require("./BAutocomplete-C7Odx4At.js");
|
|
23
|
-
const
|
|
23
|
+
const require_BFormOtp = require("./BFormOtp-C1YJvwN8.js");
|
|
24
24
|
const require_BDatePicker = require("./BDatePicker-BQN6qZXa.js");
|
|
25
25
|
const require_BTimeField = require("./BTimeField-VTrtxGkI.js");
|
|
26
26
|
const require_BDateField = require("./BDateField-RWwEMIwd.js");
|
|
@@ -137,6 +137,7 @@ exports.BFormFloatingLabel = require_BForm$1.BFormFloatingLabel_default;
|
|
|
137
137
|
exports.BFormGroup = require_BFormGroup.BFormGroup_default;
|
|
138
138
|
exports.BFormInput = require_BFormInput.BFormInput_default;
|
|
139
139
|
exports.BFormInvalidFeedback = require_BFormValidFeedback.BFormInvalidFeedback_default;
|
|
140
|
+
exports.BFormOtp = require_BFormOtp.BFormOtp_default;
|
|
140
141
|
exports.BFormRadio = require_BFormRadio.BFormRadio_default;
|
|
141
142
|
exports.BFormRadioGroup = require_BFormRadio.BFormRadioGroup_default;
|
|
142
143
|
exports.BFormRating = require_BFormRating.BFormRating_default;
|
|
@@ -169,7 +170,6 @@ exports.BNavbarNav = require_BNavbar.BNavbarNav_default;
|
|
|
169
170
|
exports.BNavbarToggle = require_BNavbar.BNavbarToggle_default;
|
|
170
171
|
exports.BOffcanvas = require_BOffcanvas.BOffcanvas_default;
|
|
171
172
|
exports.BOrchestrator = require_BApp.BOrchestrator_default;
|
|
172
|
-
exports.BOtpInput = require_BOtpInput.BOtpInput_default;
|
|
173
173
|
exports.BOverlay = require_BOverlay.BOverlay_default;
|
|
174
174
|
exports.BPagination = require_BPagination.BPagination_default;
|
|
175
175
|
exports.BPlaceholder = require_BPlaceholder.BPlaceholder_default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
type __VLS_Props = Omit<
|
|
1
|
+
import { BFormOtpProps } from '../../types';
|
|
2
|
+
type __VLS_Props = Omit<BFormOtpProps, 'modelValue'>;
|
|
3
3
|
type __VLS_PublicProps = {
|
|
4
|
-
modelValue?:
|
|
4
|
+
modelValue?: BFormOtpProps['modelValue'];
|
|
5
5
|
} & __VLS_Props;
|
|
6
6
|
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
7
|
"update:modelValue": (value: string[] | null | undefined) => any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
type __VLS_Props = Omit<
|
|
1
|
+
import { BFormOtpProps } from '../../types';
|
|
2
|
+
type __VLS_Props = Omit<BFormOtpProps, 'modelValue'>;
|
|
3
3
|
type __VLS_PublicProps = {
|
|
4
|
-
modelValue?:
|
|
4
|
+
modelValue?: BFormOtpProps['modelValue'];
|
|
5
5
|
} & __VLS_Props;
|
|
6
6
|
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
7
|
"update:modelValue": (value: string[] | null | undefined) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BFormOtp } from './BFormOtp.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BFormOtp } from './BFormOtp.vue';
|
|
@@ -33,7 +33,7 @@ export * from './BModal';
|
|
|
33
33
|
export * from './BNav';
|
|
34
34
|
export * from './BNavbar';
|
|
35
35
|
export * from './BOffcanvas';
|
|
36
|
-
export * from './
|
|
36
|
+
export * from './BFormOtp';
|
|
37
37
|
export * from './BOverlay';
|
|
38
38
|
export * from './BPagination';
|
|
39
39
|
export * from './BPlaceholder';
|
|
@@ -33,7 +33,7 @@ export * from './BModal';
|
|
|
33
33
|
export * from './BNav';
|
|
34
34
|
export * from './BNavbar';
|
|
35
35
|
export * from './BOffcanvas';
|
|
36
|
-
export * from './
|
|
36
|
+
export * from './BFormOtp';
|
|
37
37
|
export * from './BOverlay';
|
|
38
38
|
export * from './BPagination';
|
|
39
39
|
export * from './BPlaceholder';
|
|
@@ -11,7 +11,7 @@ import { n as BProgressBar_default, t as BProgress_default } from "../../BProgre
|
|
|
11
11
|
import { t as BAlert_default } from "../../BAlert-Qiyqq4rE.mjs";
|
|
12
12
|
import { n as BOrchestrator_default, t as BApp_default } from "../../BApp-DJWC2mB8.mjs";
|
|
13
13
|
import { t as BAutocomplete_default } from "../../BAutocomplete-Depalqe-.mjs";
|
|
14
|
-
import { t as
|
|
14
|
+
import { t as BFormOtp_default } from "../../BFormOtp-DYjsPhQN.mjs";
|
|
15
15
|
import { n as BDatePicker_default, t as BDateRangePicker_default } from "../../BDatePicker-DfzZBWjU.mjs";
|
|
16
16
|
import { t as BTimeField_default } from "../../BTimeField-DSWZeGYP.mjs";
|
|
17
17
|
import { n as BDateRangeField_default, r as BDateField_default, t as BTimeRangeField_default } from "../../BDateField-BJIq6gs9.mjs";
|
|
@@ -118,6 +118,7 @@ var components_exports = /* @__PURE__ */ __exportAll({
|
|
|
118
118
|
BFormGroup: () => BFormGroup_default,
|
|
119
119
|
BFormInput: () => BFormInput_default,
|
|
120
120
|
BFormInvalidFeedback: () => BFormInvalidFeedback_default,
|
|
121
|
+
BFormOtp: () => BFormOtp_default,
|
|
121
122
|
BFormRadio: () => BFormRadio_default,
|
|
122
123
|
BFormRadioGroup: () => BFormRadioGroup_default,
|
|
123
124
|
BFormRating: () => BFormRating_default,
|
|
@@ -150,7 +151,6 @@ var components_exports = /* @__PURE__ */ __exportAll({
|
|
|
150
151
|
BNavbarToggle: () => BNavbarToggle_default,
|
|
151
152
|
BOffcanvas: () => BOffcanvas_default,
|
|
152
153
|
BOrchestrator: () => BOrchestrator_default,
|
|
153
|
-
BOtpInput: () => BOtpInput_default,
|
|
154
154
|
BOverlay: () => BOverlay_default,
|
|
155
155
|
BPagination: () => BPagination_default,
|
|
156
156
|
BPlaceholder: () => BPlaceholder_default,
|
|
@@ -180,6 +180,6 @@ var components_exports = /* @__PURE__ */ __exportAll({
|
|
|
180
180
|
BTr: () => BTr_default
|
|
181
181
|
});
|
|
182
182
|
//#endregion
|
|
183
|
-
export { BAccordion_default as BAccordion, BAccordionItem_default as BAccordionItem, BAlert_default as BAlert, BApp_default as BApp, BAspect_default as BAspect, BAutocomplete_default as BAutocomplete, BAvatar_default as BAvatar, BAvatarGroup_default as BAvatarGroup, BBadge_default as BBadge, BBreadcrumb_default as BBreadcrumb, BBreadcrumbItem_default as BBreadcrumbItem, BButton_default as BButton, BButtonGroup_default as BButtonGroup, BButtonToolbar_default as BButtonToolbar, BCard_default as BCard, BCardBody_default as BCardBody, BCardFooter_default as BCardFooter, BCardGroup_default as BCardGroup, BCardHeader_default as BCardHeader, BCardImg_default as BCardImg, BCardSubtitle_default as BCardSubtitle, BCardText_default as BCardText, BCardTitle_default as BCardTitle, BCarousel_default as BCarousel, BCarouselSlide_default as BCarouselSlide, BCloseButton_default as BCloseButton, BCol_default as BCol, BCollapse_default as BCollapse, BContainer_default as BContainer, BDateField_default as BDateField, BDatePicker_default as BDatePicker, BDateRangeField_default as BDateRangeField, BDateRangePicker_default as BDateRangePicker, BDropdown_default as BDropdown, BDropdownDivider_default as BDropdownDivider, BDropdownForm_default as BDropdownForm, BDropdownGroup_default as BDropdownGroup, BDropdownHeader_default as BDropdownHeader, BDropdownItem_default as BDropdownItem, BDropdownItemButton_default as BDropdownItemButton, BDropdownText_default as BDropdownText, BForm_default as BForm, BFormCheckbox_default as BFormCheckbox, BFormCheckboxGroup_default as BFormCheckboxGroup, BFormDatalist_default as BFormDatalist, BFormFile_default as BFormFile, BFormFloatingLabel_default as BFormFloatingLabel, BFormGroup_default as BFormGroup, BFormInput_default as BFormInput, BFormInput_default as BInput, BFormInvalidFeedback_default as BFormInvalidFeedback, BFormRadio_default as BFormRadio, BFormRadioGroup_default as BFormRadioGroup, BFormRating_default as BFormRating, BFormRow_default as BFormRow, BFormSelect_default as BFormSelect, BFormSelectOption_default as BFormSelectOption, BFormSelectOptionGroup_default as BFormSelectOptionGroup, BFormSpinbutton_default as BFormSpinbutton, BFormTag_default as BFormTag, BFormTags_default as BFormTags, BFormText_default as BFormText, BFormTextarea_default as BFormTextarea, BFormValidFeedback_default as BFormValidFeedback, BImg_default as BImg, BInputGroup_default as BInputGroup, BInputGroupText_default as BInputGroupText, BLink_default as BLink, BListGroup_default as BListGroup, BListGroupItem_default as BListGroupItem, BModal_default as BModal, BNav_default as BNav, BNavForm_default as BNavForm, BNavItem_default as BNavItem, BNavItemDropdown_default as BNavItemDropdown, BNavText_default as BNavText, BNavbar_default as BNavbar, BNavbarBrand_default as BNavbarBrand, BNavbarNav_default as BNavbarNav, BNavbarToggle_default as BNavbarToggle, BOffcanvas_default as BOffcanvas, BOrchestrator_default as BOrchestrator,
|
|
183
|
+
export { BAccordion_default as BAccordion, BAccordionItem_default as BAccordionItem, BAlert_default as BAlert, BApp_default as BApp, BAspect_default as BAspect, BAutocomplete_default as BAutocomplete, BAvatar_default as BAvatar, BAvatarGroup_default as BAvatarGroup, BBadge_default as BBadge, BBreadcrumb_default as BBreadcrumb, BBreadcrumbItem_default as BBreadcrumbItem, BButton_default as BButton, BButtonGroup_default as BButtonGroup, BButtonToolbar_default as BButtonToolbar, BCard_default as BCard, BCardBody_default as BCardBody, BCardFooter_default as BCardFooter, BCardGroup_default as BCardGroup, BCardHeader_default as BCardHeader, BCardImg_default as BCardImg, BCardSubtitle_default as BCardSubtitle, BCardText_default as BCardText, BCardTitle_default as BCardTitle, BCarousel_default as BCarousel, BCarouselSlide_default as BCarouselSlide, BCloseButton_default as BCloseButton, BCol_default as BCol, BCollapse_default as BCollapse, BContainer_default as BContainer, BDateField_default as BDateField, BDatePicker_default as BDatePicker, BDateRangeField_default as BDateRangeField, BDateRangePicker_default as BDateRangePicker, BDropdown_default as BDropdown, BDropdownDivider_default as BDropdownDivider, BDropdownForm_default as BDropdownForm, BDropdownGroup_default as BDropdownGroup, BDropdownHeader_default as BDropdownHeader, BDropdownItem_default as BDropdownItem, BDropdownItemButton_default as BDropdownItemButton, BDropdownText_default as BDropdownText, BForm_default as BForm, BFormCheckbox_default as BFormCheckbox, BFormCheckboxGroup_default as BFormCheckboxGroup, BFormDatalist_default as BFormDatalist, BFormFile_default as BFormFile, BFormFloatingLabel_default as BFormFloatingLabel, BFormGroup_default as BFormGroup, BFormInput_default as BFormInput, BFormInput_default as BInput, BFormInvalidFeedback_default as BFormInvalidFeedback, BFormOtp_default as BFormOtp, BFormRadio_default as BFormRadio, BFormRadioGroup_default as BFormRadioGroup, BFormRating_default as BFormRating, BFormRow_default as BFormRow, BFormSelect_default as BFormSelect, BFormSelectOption_default as BFormSelectOption, BFormSelectOptionGroup_default as BFormSelectOptionGroup, BFormSpinbutton_default as BFormSpinbutton, BFormTag_default as BFormTag, BFormTags_default as BFormTags, BFormText_default as BFormText, BFormTextarea_default as BFormTextarea, BFormValidFeedback_default as BFormValidFeedback, BImg_default as BImg, BInputGroup_default as BInputGroup, BInputGroupText_default as BInputGroupText, BLink_default as BLink, BListGroup_default as BListGroup, BListGroupItem_default as BListGroupItem, BModal_default as BModal, BNav_default as BNav, BNavForm_default as BNavForm, BNavItem_default as BNavItem, BNavItemDropdown_default as BNavItemDropdown, BNavText_default as BNavText, BNavbar_default as BNavbar, BNavbarBrand_default as BNavbarBrand, BNavbarNav_default as BNavbarNav, BNavbarToggle_default as BNavbarToggle, BOffcanvas_default as BOffcanvas, BOrchestrator_default as BOrchestrator, BOverlay_default as BOverlay, BPagination_default as BPagination, BPlaceholder_default as BPlaceholder, BPlaceholderButton_default as BPlaceholderButton, BPlaceholderCard_default as BPlaceholderCard, BPlaceholderTable_default as BPlaceholderTable, BPlaceholderWrapper_default as BPlaceholderWrapper, BPopover_default as BPopover, BProgress_default as BProgress, BProgressBar_default as BProgressBar, BRow_default as BRow, BSpinner_default as BSpinner, BTab_default as BTab, BTable_default as BTable, BTableLite_default as BTableLite, BTableSimple_default as BTableSimple, BTabs_default as BTabs, BTbody_default as BTbody, BTd_default as BTd, BTfoot_default as BTfoot, BTh_default as BTh, BThead_default as BThead, BTimeField_default as BTimeField, BTimeRangeField_default as BTimeRangeField, BToast_default as BToast, BTooltip_default as BTooltip, BTr_default as BTr, components_exports as t };
|
|
184
184
|
|
|
185
185
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../../../src/components/index.ts"],"sourcesContent":["export * from './BAspect'\nexport * from './BAccordion'\nexport * from './BAlert'\nexport * from './BApp'\nexport * from './BAutocomplete'\nexport * from './BAvatar'\nexport * from './BBadge'\nexport * from './BBreadcrumb'\nexport * from './BButton'\nexport * from './BCard'\nexport * from './BCarousel'\nexport * from './BCollapse'\nexport * from './BContainer'\nexport * from './BDateField'\nexport * from './BDatePicker'\nexport * from './BDropdown'\nexport * from './BForm'\nexport * from './BFormCheckbox'\nexport * from './BFormFile'\nexport * from './BFormGroup'\nexport * from './BFormInput'\nexport * from './BFormRadio'\nexport * from './BFormRating'\nexport * from './BFormSelect'\nexport * from './BFormSpinbutton'\nexport * from './BFormTags'\nexport * from './BFormTextarea'\nexport * from './BImg'\nexport * from './BInputGroup'\nexport * from './BLink'\nexport * from './BListGroup'\nexport * from './BModal'\nexport * from './BNav'\nexport * from './BNavbar'\nexport * from './BOffcanvas'\nexport * from './
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../../src/components/index.ts"],"sourcesContent":["export * from './BAspect'\nexport * from './BAccordion'\nexport * from './BAlert'\nexport * from './BApp'\nexport * from './BAutocomplete'\nexport * from './BAvatar'\nexport * from './BBadge'\nexport * from './BBreadcrumb'\nexport * from './BButton'\nexport * from './BCard'\nexport * from './BCarousel'\nexport * from './BCollapse'\nexport * from './BContainer'\nexport * from './BDateField'\nexport * from './BDatePicker'\nexport * from './BDropdown'\nexport * from './BForm'\nexport * from './BFormCheckbox'\nexport * from './BFormFile'\nexport * from './BFormGroup'\nexport * from './BFormInput'\nexport * from './BFormRadio'\nexport * from './BFormRating'\nexport * from './BFormSelect'\nexport * from './BFormSpinbutton'\nexport * from './BFormTags'\nexport * from './BFormTextarea'\nexport * from './BImg'\nexport * from './BInputGroup'\nexport * from './BLink'\nexport * from './BListGroup'\nexport * from './BModal'\nexport * from './BNav'\nexport * from './BNavbar'\nexport * from './BOffcanvas'\nexport * from './BFormOtp'\nexport * from './BOverlay'\nexport * from './BPagination'\nexport * from './BPlaceholder'\nexport * from './BPopover'\nexport * from './BProgress'\nexport * from './BSpinner'\nexport * from './BTable'\nexport * from './BTabs'\nexport * from './BTimeField'\nexport * from './BToast'\nexport * from './BTooltip'\n"],"mappings":""}
|
|
@@ -12,7 +12,7 @@ const require_BProgress = require("../../BProgress-Bc3ZSkac.js");
|
|
|
12
12
|
const require_BAlert = require("../../BAlert-BnT7fF6B.js");
|
|
13
13
|
const require_BApp = require("../../BApp-DaM0UKIg.js");
|
|
14
14
|
const require_BAutocomplete = require("../../BAutocomplete-C7Odx4At.js");
|
|
15
|
-
const
|
|
15
|
+
const require_BFormOtp = require("../../BFormOtp-C1YJvwN8.js");
|
|
16
16
|
const require_BDatePicker = require("../../BDatePicker-BQN6qZXa.js");
|
|
17
17
|
const require_BTimeField = require("../../BTimeField-VTrtxGkI.js");
|
|
18
18
|
const require_BDateField = require("../../BDateField-RWwEMIwd.js");
|
|
@@ -119,6 +119,7 @@ var components_exports = /* @__PURE__ */ require_chunk.__exportAll({
|
|
|
119
119
|
BFormGroup: () => require_BFormGroup.BFormGroup_default,
|
|
120
120
|
BFormInput: () => require_BFormInput.BFormInput_default,
|
|
121
121
|
BFormInvalidFeedback: () => require_BFormValidFeedback.BFormInvalidFeedback_default,
|
|
122
|
+
BFormOtp: () => require_BFormOtp.BFormOtp_default,
|
|
122
123
|
BFormRadio: () => require_BFormRadio.BFormRadio_default,
|
|
123
124
|
BFormRadioGroup: () => require_BFormRadio.BFormRadioGroup_default,
|
|
124
125
|
BFormRating: () => require_BFormRating.BFormRating_default,
|
|
@@ -151,7 +152,6 @@ var components_exports = /* @__PURE__ */ require_chunk.__exportAll({
|
|
|
151
152
|
BNavbarToggle: () => require_BNavbar.BNavbarToggle_default,
|
|
152
153
|
BOffcanvas: () => require_BOffcanvas.BOffcanvas_default,
|
|
153
154
|
BOrchestrator: () => require_BApp.BOrchestrator_default,
|
|
154
|
-
BOtpInput: () => require_BOtpInput.BOtpInput_default,
|
|
155
155
|
BOverlay: () => require_BOverlay.BOverlay_default,
|
|
156
156
|
BPagination: () => require_BPagination.BPagination_default,
|
|
157
157
|
BPlaceholder: () => require_BPlaceholder.BPlaceholder_default,
|
|
@@ -231,6 +231,7 @@ exports.BFormFloatingLabel = require_BForm$1.BFormFloatingLabel_default;
|
|
|
231
231
|
exports.BFormGroup = require_BFormGroup.BFormGroup_default;
|
|
232
232
|
exports.BFormInput = require_BFormInput.BFormInput_default;
|
|
233
233
|
exports.BFormInvalidFeedback = require_BFormValidFeedback.BFormInvalidFeedback_default;
|
|
234
|
+
exports.BFormOtp = require_BFormOtp.BFormOtp_default;
|
|
234
235
|
exports.BFormRadio = require_BFormRadio.BFormRadio_default;
|
|
235
236
|
exports.BFormRadioGroup = require_BFormRadio.BFormRadioGroup_default;
|
|
236
237
|
exports.BFormRating = require_BFormRating.BFormRating_default;
|
|
@@ -263,7 +264,6 @@ exports.BNavbarNav = require_BNavbar.BNavbarNav_default;
|
|
|
263
264
|
exports.BNavbarToggle = require_BNavbar.BNavbarToggle_default;
|
|
264
265
|
exports.BOffcanvas = require_BOffcanvas.BOffcanvas_default;
|
|
265
266
|
exports.BOrchestrator = require_BApp.BOrchestrator_default;
|
|
266
|
-
exports.BOtpInput = require_BOtpInput.BOtpInput_default;
|
|
267
267
|
exports.BOverlay = require_BOverlay.BOverlay_default;
|
|
268
268
|
exports.BPagination = require_BPagination.BPagination_default;
|
|
269
269
|
exports.BPlaceholder = require_BPlaceholder.BPlaceholder_default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.umd.js","names":[],"sources":["../../../src/components/index.ts"],"sourcesContent":["export * from './BAspect'\nexport * from './BAccordion'\nexport * from './BAlert'\nexport * from './BApp'\nexport * from './BAutocomplete'\nexport * from './BAvatar'\nexport * from './BBadge'\nexport * from './BBreadcrumb'\nexport * from './BButton'\nexport * from './BCard'\nexport * from './BCarousel'\nexport * from './BCollapse'\nexport * from './BContainer'\nexport * from './BDateField'\nexport * from './BDatePicker'\nexport * from './BDropdown'\nexport * from './BForm'\nexport * from './BFormCheckbox'\nexport * from './BFormFile'\nexport * from './BFormGroup'\nexport * from './BFormInput'\nexport * from './BFormRadio'\nexport * from './BFormRating'\nexport * from './BFormSelect'\nexport * from './BFormSpinbutton'\nexport * from './BFormTags'\nexport * from './BFormTextarea'\nexport * from './BImg'\nexport * from './BInputGroup'\nexport * from './BLink'\nexport * from './BListGroup'\nexport * from './BModal'\nexport * from './BNav'\nexport * from './BNavbar'\nexport * from './BOffcanvas'\nexport * from './
|
|
1
|
+
{"version":3,"file":"index.umd.js","names":[],"sources":["../../../src/components/index.ts"],"sourcesContent":["export * from './BAspect'\nexport * from './BAccordion'\nexport * from './BAlert'\nexport * from './BApp'\nexport * from './BAutocomplete'\nexport * from './BAvatar'\nexport * from './BBadge'\nexport * from './BBreadcrumb'\nexport * from './BButton'\nexport * from './BCard'\nexport * from './BCarousel'\nexport * from './BCollapse'\nexport * from './BContainer'\nexport * from './BDateField'\nexport * from './BDatePicker'\nexport * from './BDropdown'\nexport * from './BForm'\nexport * from './BFormCheckbox'\nexport * from './BFormFile'\nexport * from './BFormGroup'\nexport * from './BFormInput'\nexport * from './BFormRadio'\nexport * from './BFormRating'\nexport * from './BFormSelect'\nexport * from './BFormSpinbutton'\nexport * from './BFormTags'\nexport * from './BFormTextarea'\nexport * from './BImg'\nexport * from './BInputGroup'\nexport * from './BLink'\nexport * from './BListGroup'\nexport * from './BModal'\nexport * from './BNav'\nexport * from './BNavbar'\nexport * from './BOffcanvas'\nexport * from './BFormOtp'\nexport * from './BOverlay'\nexport * from './BPagination'\nexport * from './BPlaceholder'\nexport * from './BPopover'\nexport * from './BProgress'\nexport * from './BSpinner'\nexport * from './BTable'\nexport * from './BTabs'\nexport * from './BTimeField'\nexport * from './BToast'\nexport * from './BTooltip'\n"],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-D1SwGrFN.mjs";
|
|
2
|
-
import { a as directiveNames, n as componentsWithExternalPath, o as directivesWithExternalPath, t as componentNames } from "../../BootstrapVueOptions-
|
|
2
|
+
import { a as directiveNames, n as componentsWithExternalPath, o as directivesWithExternalPath, t as componentNames } from "../../BootstrapVueOptions-D3flIVqU.mjs";
|
|
3
3
|
//#region src/resolvers/index.ts
|
|
4
4
|
var resolvers_exports = /* @__PURE__ */ __exportAll({ BootstrapVueNextResolver: () => BootstrapVueNextResolver });
|
|
5
5
|
var bvKey = "bootstrap-vue-next";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-CoQrYLCe.js");
|
|
3
|
-
const require_BootstrapVueOptions = require("../../BootstrapVueOptions-
|
|
3
|
+
const require_BootstrapVueOptions = require("../../BootstrapVueOptions-DbXZtoXX.js");
|
|
4
4
|
//#region src/resolvers/index.ts
|
|
5
5
|
var resolvers_exports = /* @__PURE__ */ require_chunk.__exportAll({ BootstrapVueNextResolver: () => BootstrapVueNextResolver });
|
|
6
6
|
var bvKey = "bootstrap-vue-next";
|
package/dist/src/types/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-D1SwGrFN.mjs";
|
|
2
|
-
import { a as directiveNames, i as composablesWithExternalPath, n as componentsWithExternalPath, o as directivesWithExternalPath, r as composableNames, t as componentNames } from "../../BootstrapVueOptions-
|
|
2
|
+
import { a as directiveNames, i as composablesWithExternalPath, n as componentsWithExternalPath, o as directivesWithExternalPath, r as composableNames, t as componentNames } from "../../BootstrapVueOptions-D3flIVqU.mjs";
|
|
3
3
|
//#region src/types/index.ts
|
|
4
4
|
var types_exports = /* @__PURE__ */ __exportAll({
|
|
5
5
|
componentNames: () => componentNames,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-CoQrYLCe.js");
|
|
3
|
-
const require_BootstrapVueOptions = require("../../BootstrapVueOptions-
|
|
3
|
+
const require_BootstrapVueOptions = require("../../BootstrapVueOptions-DbXZtoXX.js");
|
|
4
4
|
//#region src/types/index.ts
|
|
5
5
|
var types_exports = /* @__PURE__ */ require_chunk.__exportAll({
|
|
6
6
|
componentNames: () => require_BootstrapVueOptions.componentNames,
|
|
@@ -90,7 +90,7 @@ export declare const componentsWithExternalPath: {
|
|
|
90
90
|
readonly BNavbarNav: "/components/BNavbar";
|
|
91
91
|
readonly BNavbarToggle: "/components/BNavbar";
|
|
92
92
|
readonly BOffcanvas: "/components/BOffcanvas";
|
|
93
|
-
readonly
|
|
93
|
+
readonly BFormOtp: "/components/BFormOtp";
|
|
94
94
|
readonly BOverlay: "/components/BOverlay";
|
|
95
95
|
readonly BOrchestrator: "/components/BApp";
|
|
96
96
|
readonly BPagination: "/components/BPagination";
|
|
@@ -121,7 +121,7 @@ export declare const componentsWithExternalPath: {
|
|
|
121
121
|
readonly BTimeField: "/components/BTimeField";
|
|
122
122
|
readonly BTimeRangeField: "/components/BDateField";
|
|
123
123
|
};
|
|
124
|
-
export declare const componentNames: readonly ("BAspect" | "BAccordion" | "BAccordionItem" | "BAlert" | "BApp" | "BOrchestrator" | "BAutocomplete" | "BAvatar" | "BAvatarGroup" | "BBadge" | "BBreadcrumb" | "BBreadcrumbItem" | "BButton" | "BButtonGroup" | "BButtonToolbar" | "BCloseButton" | "BCard" | "BCardBody" | "BCardFooter" | "BCardGroup" | "BCardHeader" | "BCardImg" | "BCardSubtitle" | "BCardText" | "BCardTitle" | "BCarousel" | "BCarouselSlide" | "BCollapse" | "BCol" | "BContainer" | "BRow" | "BDateField" | "BDateRangeField" | "BTimeRangeField" | "BDatePicker" | "BDateRangePicker" | "BDropdown" | "BDropdownDivider" | "BDropdownForm" | "BDropdownGroup" | "BDropdownHeader" | "BDropdownItem" | "BDropdownItemButton" | "BDropdownText" | "BForm" | "BFormDatalist" | "BFormFloatingLabel" | "BFormInvalidFeedback" | "BFormRow" | "BFormText" | "BFormValidFeedback" | "BFormCheckbox" | "BFormCheckboxGroup" | "BFormFile" | "BFormGroup" | "BFormInput" | "BInput" | "BFormRadio" | "BFormRadioGroup" | "BFormRating" | "BFormSelect" | "BFormSelectOption" | "BFormSelectOptionGroup" | "BFormSpinbutton" | "BFormTags" | "BFormTag" | "BFormTextarea" | "BImg" | "BInputGroup" | "BInputGroupText" | "BLink" | "BListGroup" | "BListGroupItem" | "BModal" | "BNav" | "BNavForm" | "BNavItem" | "BNavItemDropdown" | "BNavText" | "BNavbar" | "BNavbarBrand" | "BNavbarNav" | "BNavbarToggle" | "BOffcanvas" | "
|
|
124
|
+
export declare const componentNames: readonly ("BAspect" | "BAccordion" | "BAccordionItem" | "BAlert" | "BApp" | "BOrchestrator" | "BAutocomplete" | "BAvatar" | "BAvatarGroup" | "BBadge" | "BBreadcrumb" | "BBreadcrumbItem" | "BButton" | "BButtonGroup" | "BButtonToolbar" | "BCloseButton" | "BCard" | "BCardBody" | "BCardFooter" | "BCardGroup" | "BCardHeader" | "BCardImg" | "BCardSubtitle" | "BCardText" | "BCardTitle" | "BCarousel" | "BCarouselSlide" | "BCollapse" | "BCol" | "BContainer" | "BRow" | "BDateField" | "BDateRangeField" | "BTimeRangeField" | "BDatePicker" | "BDateRangePicker" | "BDropdown" | "BDropdownDivider" | "BDropdownForm" | "BDropdownGroup" | "BDropdownHeader" | "BDropdownItem" | "BDropdownItemButton" | "BDropdownText" | "BForm" | "BFormDatalist" | "BFormFloatingLabel" | "BFormInvalidFeedback" | "BFormRow" | "BFormText" | "BFormValidFeedback" | "BFormCheckbox" | "BFormCheckboxGroup" | "BFormFile" | "BFormGroup" | "BFormInput" | "BInput" | "BFormRadio" | "BFormRadioGroup" | "BFormRating" | "BFormSelect" | "BFormSelectOption" | "BFormSelectOptionGroup" | "BFormSpinbutton" | "BFormTags" | "BFormTag" | "BFormTextarea" | "BImg" | "BInputGroup" | "BInputGroupText" | "BLink" | "BListGroup" | "BListGroupItem" | "BModal" | "BNav" | "BNavForm" | "BNavItem" | "BNavItemDropdown" | "BNavText" | "BNavbar" | "BNavbarBrand" | "BNavbarNav" | "BNavbarToggle" | "BOffcanvas" | "BFormOtp" | "BOverlay" | "BPagination" | "BPlaceholder" | "BPlaceholderButton" | "BPlaceholderCard" | "BPlaceholderTable" | "BPlaceholderWrapper" | "BPopover" | "BProgress" | "BProgressBar" | "BSpinner" | "BTable" | "BTableLite" | "BTableSimple" | "BTbody" | "BTd" | "BTfoot" | "BTh" | "BThead" | "BTr" | "BTab" | "BTabs" | "BTimeField" | "BToast" | "BTooltip")[];
|
|
125
125
|
export declare const directivesWithExternalPath: {
|
|
126
126
|
readonly vBColorMode: "/directives/BColorMode";
|
|
127
127
|
readonly vBModal: "/directives/BModal";
|
|
@@ -289,7 +289,7 @@ type UnmappedComponentProps<BFormSelectOption = any, BTableLite = any, BTable =
|
|
|
289
289
|
BRow: ComponentProps.BRowProps;
|
|
290
290
|
BInput: ComponentProps.BFormInputProps;
|
|
291
291
|
BTimeField: ComponentProps.BTimeFieldProps;
|
|
292
|
-
|
|
292
|
+
BFormOtp: ComponentProps.BFormOtpProps;
|
|
293
293
|
BDateField: ComponentProps.BDateFieldProps;
|
|
294
294
|
BDatePicker: ComponentProps.BDatePickerProps;
|
|
295
295
|
BDateRangeField: ComponentProps.BDateRangeFieldProps;
|
|
@@ -90,7 +90,7 @@ export declare const componentsWithExternalPath: {
|
|
|
90
90
|
readonly BNavbarNav: "/components/BNavbar";
|
|
91
91
|
readonly BNavbarToggle: "/components/BNavbar";
|
|
92
92
|
readonly BOffcanvas: "/components/BOffcanvas";
|
|
93
|
-
readonly
|
|
93
|
+
readonly BFormOtp: "/components/BFormOtp";
|
|
94
94
|
readonly BOverlay: "/components/BOverlay";
|
|
95
95
|
readonly BOrchestrator: "/components/BApp";
|
|
96
96
|
readonly BPagination: "/components/BPagination";
|
|
@@ -121,7 +121,7 @@ export declare const componentsWithExternalPath: {
|
|
|
121
121
|
readonly BTimeField: "/components/BTimeField";
|
|
122
122
|
readonly BTimeRangeField: "/components/BDateField";
|
|
123
123
|
};
|
|
124
|
-
export declare const componentNames: readonly ("BAspect" | "BAccordion" | "BAccordionItem" | "BAlert" | "BApp" | "BOrchestrator" | "BAutocomplete" | "BAvatar" | "BAvatarGroup" | "BBadge" | "BBreadcrumb" | "BBreadcrumbItem" | "BButton" | "BButtonGroup" | "BButtonToolbar" | "BCloseButton" | "BCard" | "BCardBody" | "BCardFooter" | "BCardGroup" | "BCardHeader" | "BCardImg" | "BCardSubtitle" | "BCardText" | "BCardTitle" | "BCarousel" | "BCarouselSlide" | "BCollapse" | "BCol" | "BContainer" | "BRow" | "BDateField" | "BDateRangeField" | "BTimeRangeField" | "BDatePicker" | "BDateRangePicker" | "BDropdown" | "BDropdownDivider" | "BDropdownForm" | "BDropdownGroup" | "BDropdownHeader" | "BDropdownItem" | "BDropdownItemButton" | "BDropdownText" | "BForm" | "BFormDatalist" | "BFormFloatingLabel" | "BFormInvalidFeedback" | "BFormRow" | "BFormText" | "BFormValidFeedback" | "BFormCheckbox" | "BFormCheckboxGroup" | "BFormFile" | "BFormGroup" | "BFormInput" | "BInput" | "BFormRadio" | "BFormRadioGroup" | "BFormRating" | "BFormSelect" | "BFormSelectOption" | "BFormSelectOptionGroup" | "BFormSpinbutton" | "BFormTags" | "BFormTag" | "BFormTextarea" | "BImg" | "BInputGroup" | "BInputGroupText" | "BLink" | "BListGroup" | "BListGroupItem" | "BModal" | "BNav" | "BNavForm" | "BNavItem" | "BNavItemDropdown" | "BNavText" | "BNavbar" | "BNavbarBrand" | "BNavbarNav" | "BNavbarToggle" | "BOffcanvas" | "
|
|
124
|
+
export declare const componentNames: readonly ("BAspect" | "BAccordion" | "BAccordionItem" | "BAlert" | "BApp" | "BOrchestrator" | "BAutocomplete" | "BAvatar" | "BAvatarGroup" | "BBadge" | "BBreadcrumb" | "BBreadcrumbItem" | "BButton" | "BButtonGroup" | "BButtonToolbar" | "BCloseButton" | "BCard" | "BCardBody" | "BCardFooter" | "BCardGroup" | "BCardHeader" | "BCardImg" | "BCardSubtitle" | "BCardText" | "BCardTitle" | "BCarousel" | "BCarouselSlide" | "BCollapse" | "BCol" | "BContainer" | "BRow" | "BDateField" | "BDateRangeField" | "BTimeRangeField" | "BDatePicker" | "BDateRangePicker" | "BDropdown" | "BDropdownDivider" | "BDropdownForm" | "BDropdownGroup" | "BDropdownHeader" | "BDropdownItem" | "BDropdownItemButton" | "BDropdownText" | "BForm" | "BFormDatalist" | "BFormFloatingLabel" | "BFormInvalidFeedback" | "BFormRow" | "BFormText" | "BFormValidFeedback" | "BFormCheckbox" | "BFormCheckboxGroup" | "BFormFile" | "BFormGroup" | "BFormInput" | "BInput" | "BFormRadio" | "BFormRadioGroup" | "BFormRating" | "BFormSelect" | "BFormSelectOption" | "BFormSelectOptionGroup" | "BFormSpinbutton" | "BFormTags" | "BFormTag" | "BFormTextarea" | "BImg" | "BInputGroup" | "BInputGroupText" | "BLink" | "BListGroup" | "BListGroupItem" | "BModal" | "BNav" | "BNavForm" | "BNavItem" | "BNavItemDropdown" | "BNavText" | "BNavbar" | "BNavbarBrand" | "BNavbarNav" | "BNavbarToggle" | "BOffcanvas" | "BFormOtp" | "BOverlay" | "BPagination" | "BPlaceholder" | "BPlaceholderButton" | "BPlaceholderCard" | "BPlaceholderTable" | "BPlaceholderWrapper" | "BPopover" | "BProgress" | "BProgressBar" | "BSpinner" | "BTable" | "BTableLite" | "BTableSimple" | "BTbody" | "BTd" | "BTfoot" | "BTh" | "BThead" | "BTr" | "BTab" | "BTabs" | "BTimeField" | "BToast" | "BTooltip")[];
|
|
125
125
|
export declare const directivesWithExternalPath: {
|
|
126
126
|
readonly vBColorMode: "/directives/BColorMode";
|
|
127
127
|
readonly vBModal: "/directives/BModal";
|
|
@@ -289,7 +289,7 @@ type UnmappedComponentProps<BFormSelectOption = any, BTableLite = any, BTable =
|
|
|
289
289
|
BRow: ComponentProps.BRowProps;
|
|
290
290
|
BInput: ComponentProps.BFormInputProps;
|
|
291
291
|
BTimeField: ComponentProps.BTimeFieldProps;
|
|
292
|
-
|
|
292
|
+
BFormOtp: ComponentProps.BFormOtpProps;
|
|
293
293
|
BDateField: ComponentProps.BDateFieldProps;
|
|
294
294
|
BDatePicker: ComponentProps.BDatePickerProps;
|
|
295
295
|
BDateRangeField: ComponentProps.BDateRangeFieldProps;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "bootstrap-vue-next",
|
|
3
3
|
"displayName": "BootstrapVueNext",
|
|
4
4
|
"description": "Seamless integration of Vue 3, Bootstrap 5, and TypeScript for modern, type-safe UI development",
|
|
5
|
-
"version": "0.44.
|
|
5
|
+
"version": "0.44.5",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "./dist/bootstrap-vue-next.umd.js",
|
|
8
8
|
"module": "./dist/bootstrap-vue-next.mjs",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
.b-otp
|
|
1
|
+
.b-form-otp {
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
.b-otp-
|
|
5
|
+
.b-form-otp-field {
|
|
6
6
|
text-align: center;
|
|
7
7
|
width: 2.5rem;
|
|
8
8
|
padding-left: 0;
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.b-otp-
|
|
23
|
+
.b-form-otp-sm .b-form-otp-field {
|
|
24
24
|
width: 2rem;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.b-otp-
|
|
27
|
+
.b-form-otp-lg .b-form-otp-field {
|
|
28
28
|
width: 3rem;
|
|
29
29
|
}
|
package/src/styles/styles.scss
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
@import "../components/BFormSpinbutton/spinbutton";
|
|
14
14
|
@import "../components/BAlert/alert";
|
|
15
15
|
@import "../components/BAutocomplete/autocomplete";
|
|
16
|
-
@import "../components/
|
|
16
|
+
@import "../components/BFormOtp/form-otp";
|
|
17
17
|
@import "../components/BPopover/popover";
|
|
18
18
|
@import "../components/BToast/toast";
|
|
19
19
|
@import "../components/BTimeField/time-field";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BOtpInput-CSCoKHP9.js","names":["createContext","useForwardExpose","useDirection","useVModel","Primitive","VisuallyHiddenInput_default","usePrimitiveElement","getActiveElement","Primitive"],"sources":["../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useArrowNavigation.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/PinInput/PinInputRoot.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/PinInput/PinInputInput.js","../src/components/BOtpInput/BOtpInput.vue","../src/components/BOtpInput/BOtpInput.vue"],"sourcesContent":["//#region src/shared/useArrowNavigation.ts\nconst ignoredElement = [\"INPUT\", \"TEXTAREA\"];\n/**\n* Allow arrow navigation for every html element with data-reka-collection-item tag\n*\n* @param e Keyboard event\n* @param currentElement Event initiator element or any element that wants to handle the navigation\n* @param parentElement Parent element where contains all the collection items, this will collect every item to be used when nav\n* @param options further options\n* @returns the navigated html element or null if none\n*/\nfunction useArrowNavigation(e, currentElement, parentElement, options = {}) {\n\tif (!currentElement || options.enableIgnoredElement && ignoredElement.includes(currentElement.nodeName)) return null;\n\tconst { arrowKeyOptions = \"both\", attributeName = \"[data-reka-collection-item]\", itemsArray = [], loop = true, dir = \"ltr\", preventScroll = true, focus = false } = options;\n\tconst [right, left, up, down, home, end] = [\n\t\te.key === \"ArrowRight\",\n\t\te.key === \"ArrowLeft\",\n\t\te.key === \"ArrowUp\",\n\t\te.key === \"ArrowDown\",\n\t\te.key === \"Home\",\n\t\te.key === \"End\"\n\t];\n\tconst goingVertical = up || down;\n\tconst goingHorizontal = right || left;\n\tif (!home && !end && (!goingVertical && !goingHorizontal || arrowKeyOptions === \"vertical\" && goingHorizontal || arrowKeyOptions === \"horizontal\" && goingVertical)) return null;\n\tconst allCollectionItems = parentElement ? Array.from(parentElement.querySelectorAll(attributeName)) : itemsArray;\n\tif (!allCollectionItems.length) return null;\n\tif (preventScroll) e.preventDefault();\n\tlet item = null;\n\tif (goingHorizontal || goingVertical) {\n\t\tconst goForward = goingVertical ? down : dir === \"ltr\" ? right : left;\n\t\titem = findNextFocusableElement(allCollectionItems, currentElement, {\n\t\t\tgoForward,\n\t\t\tloop\n\t\t});\n\t} else if (home) item = allCollectionItems.at(0) || null;\n\telse if (end) item = allCollectionItems.at(-1) || null;\n\tif (focus) item?.focus();\n\treturn item;\n}\n/**\n* Recursive function to find the next focusable element to avoid disabled elements\n*\n* @param elements Elements to navigate\n* @param currentElement Current active element\n* @param options\n* @returns next focusable element\n*/\nfunction findNextFocusableElement(elements, currentElement, options, iterations = !elements.includes(currentElement) ? elements.length + 1 : elements.length) {\n\tif (--iterations === 0) return null;\n\tconst index = elements.indexOf(currentElement);\n\tlet newIndex;\n\tif (index === -1) newIndex = options.goForward ? 0 : elements.length - 1;\n\telse newIndex = options.goForward ? index + 1 : index - 1;\n\tif (!options.loop && (newIndex < 0 || newIndex >= elements.length)) return null;\n\tconst adjustedNewIndex = (newIndex + elements.length) % elements.length;\n\tconst candidate = elements[adjustedNewIndex];\n\tif (!candidate) return null;\n\tconst isDisabled = candidate.hasAttribute(\"disabled\") && candidate.getAttribute(\"disabled\") !== \"false\";\n\tif (isDisabled) return findNextFocusableElement(elements, candidate, options, iterations);\n\treturn candidate;\n}\n\n//#endregion\nexport { useArrowNavigation };\n//# sourceMappingURL=useArrowNavigation.js.map","import { createContext } from \"../shared/createContext.js\";\nimport { useDirection } from \"../shared/useDirection.js\";\nimport { useForwardExpose } from \"../shared/useForwardExpose.js\";\nimport { Primitive } from \"../Primitive/Primitive.js\";\nimport { VisuallyHiddenInput_default } from \"../VisuallyHidden/VisuallyHiddenInput.js\";\nimport { computed, createBlock, createVNode, defineComponent, mergeProps, openBlock, ref, renderSlot, toRefs, unref, watch, withCtx } from \"vue\";\nimport { useVModel } from \"@vueuse/core\";\n\n//#region src/PinInput/PinInputRoot.vue?vue&type=script&setup=true&lang.ts\nconst [injectPinInputRootContext, providePinInputRootContext] = createContext(\"PinInputRoot\");\nvar PinInputRoot_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\tinheritAttrs: false,\n\t__name: \"PinInputRoot\",\n\tprops: {\n\t\tmodelValue: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tdefaultValue: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tplaceholder: {\n\t\t\ttype: String,\n\t\t\trequired: false,\n\t\t\tdefault: \"\"\n\t\t},\n\t\tmask: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\totp: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\ttype: {\n\t\t\ttype: null,\n\t\t\trequired: false,\n\t\t\tdefault: \"text\"\n\t\t},\n\t\tdir: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tid: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tname: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\trequired: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t}\n\t},\n\temits: [\"update:modelValue\", \"complete\"],\n\tsetup(__props, { emit: __emit }) {\n\t\tconst props = __props;\n\t\tconst emits = __emit;\n\t\tconst { mask, otp, placeholder, type, disabled, dir: propDir } = toRefs(props);\n\t\tconst { forwardRef } = useForwardExpose();\n\t\tconst dir = useDirection(propDir);\n\t\tconst modelValue = useVModel(props, \"modelValue\", emits, {\n\t\t\tdefaultValue: props.defaultValue ?? [],\n\t\t\tpassive: true,\n\t\t\tdeep: true\n\t\t});\n\t\tconst currentModelValue = computed(() => Array.isArray(modelValue.value) ? [...modelValue.value] : []);\n\t\tconst inputElements = ref(/* @__PURE__ */ new Set());\n\t\tfunction onInputElementChange(el) {\n\t\t\tinputElements.value.add(el);\n\t\t}\n\t\tconst isNumericMode = computed(() => props.type === \"number\");\n\t\tconst isCompleted = computed(() => {\n\t\t\tconst modelValues = currentModelValue.value.filter((i) => !!i || isNumericMode.value && i === 0);\n\t\t\treturn modelValues.length === inputElements.value.size;\n\t\t});\n\t\twatch(modelValue, () => {\n\t\t\tif (isCompleted.value) emits(\"complete\", modelValue.value);\n\t\t}, { deep: true });\n\t\tprovidePinInputRootContext({\n\t\t\tmodelValue,\n\t\t\tcurrentModelValue,\n\t\t\tmask,\n\t\t\totp,\n\t\t\tplaceholder,\n\t\t\ttype,\n\t\t\tdir,\n\t\t\tdisabled,\n\t\t\tisCompleted,\n\t\t\tinputElements,\n\t\t\tonInputElementChange,\n\t\t\tisNumericMode\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(Primitive), mergeProps(_ctx.$attrs, {\n\t\t\t\tref: unref(forwardRef),\n\t\t\t\tdir: unref(dir),\n\t\t\t\t\"data-complete\": isCompleted.value ? \"\" : void 0,\n\t\t\t\t\"data-disabled\": unref(disabled) ? \"\" : void 0\n\t\t\t}), {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\", { modelValue: unref(modelValue) }), createVNode(VisuallyHiddenInput_default, {\n\t\t\t\t\tid: _ctx.id,\n\t\t\t\t\tas: \"input\",\n\t\t\t\t\tfeature: \"focusable\",\n\t\t\t\t\ttabindex: \"-1\",\n\t\t\t\t\tvalue: currentModelValue.value.join(\"\"),\n\t\t\t\t\tname: _ctx.name ?? \"\",\n\t\t\t\t\tdisabled: unref(disabled),\n\t\t\t\t\trequired: _ctx.required,\n\t\t\t\t\tonFocus: _cache[0] || (_cache[0] = ($event) => Array.from(inputElements.value)?.[0]?.focus())\n\t\t\t\t}, null, 8, [\n\t\t\t\t\t\"id\",\n\t\t\t\t\t\"value\",\n\t\t\t\t\t\"name\",\n\t\t\t\t\t\"disabled\",\n\t\t\t\t\t\"required\"\n\t\t\t\t])]),\n\t\t\t\t_: 3\n\t\t\t}, 16, [\n\t\t\t\t\"dir\",\n\t\t\t\t\"data-complete\",\n\t\t\t\t\"data-disabled\"\n\t\t\t]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/PinInput/PinInputRoot.vue\nvar PinInputRoot_default = PinInputRoot_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { PinInputRoot_default, injectPinInputRootContext };\n//# sourceMappingURL=PinInputRoot.js.map","import { getActiveElement } from \"../shared/getActiveElement.js\";\nimport { useArrowNavigation } from \"../shared/useArrowNavigation.js\";\nimport { Primitive } from \"../Primitive/Primitive.js\";\nimport { usePrimitiveElement } from \"../Primitive/usePrimitiveElement.js\";\nimport { injectPinInputRootContext } from \"./PinInputRoot.js\";\nimport { computed, createBlock, defineComponent, nextTick, onMounted, onUnmounted, openBlock, renderSlot, unref, watch, withCtx, withKeys } from \"vue\";\n\n//#region src/PinInput/PinInputInput.vue?vue&type=script&setup=true&lang.ts\nvar PinInputInput_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"PinInputInput\",\n\tprops: {\n\t\tindex: {\n\t\t\ttype: Number,\n\t\t\trequired: true\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false,\n\t\t\tdefault: \"input\"\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst props = __props;\n\t\tconst context = injectPinInputRootContext();\n\t\tconst inputElements = computed(() => Array.from(context.inputElements.value));\n\t\tconst currentValue = computed(() => context.currentModelValue.value[props.index]);\n\t\tconst disabled = computed(() => props.disabled || context.disabled.value);\n\t\tconst isOtpMode = computed(() => context.otp.value);\n\t\tconst isPasswordMode = computed(() => context.mask.value);\n\t\tconst { primitiveElement, currentElement } = usePrimitiveElement();\n\t\tfunction handleInput(event) {\n\t\t\tconst target = event.target;\n\t\t\tif ((event.data?.length ?? 0) > 1) {\n\t\t\t\thandleMultipleCharacter(target.value);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (context.isNumericMode.value && !/^\\d*$/.test(target.value)) {\n\t\t\t\ttarget.value = target.value.replace(/\\D/g, \"\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ttarget.value = event.data || target.value.slice(-1);\n\t\t\tupdateModelValueAt(props.index, target.value);\n\t\t\tconst nextEl = inputElements.value[props.index + 1];\n\t\t\tif (nextEl) nextEl.focus();\n\t\t}\n\t\tfunction updatePlaceholder() {\n\t\t\tnextTick(() => {\n\t\t\t\tconst target = currentElement.value;\n\t\t\t\tif (!target) return;\n\t\t\t\tif (!target.value && target === getActiveElement()) target.placeholder = \"\";\n\t\t\t\telse target.placeholder = context.placeholder.value;\n\t\t\t});\n\t\t}\n\t\tfunction handleKeydown(event) {\n\t\t\tuseArrowNavigation(event, getActiveElement(), void 0, {\n\t\t\t\titemsArray: inputElements.value,\n\t\t\t\tfocus: true,\n\t\t\t\tloop: false,\n\t\t\t\tarrowKeyOptions: \"horizontal\",\n\t\t\t\tdir: context.dir.value\n\t\t\t});\n\t\t}\n\t\tfunction handleBackspace(event) {\n\t\t\tevent.preventDefault();\n\t\t\tconst target = event.target;\n\t\t\tconst value = target.value;\n\t\t\tif (value) updateModelValueAt(props.index, \"\");\n\t\t\telse {\n\t\t\t\tconst prevEl = inputElements.value[props.index - 1];\n\t\t\t\tif (prevEl) {\n\t\t\t\t\tprevEl.focus();\n\t\t\t\t\tupdateModelValueAt(props.index - 1, \"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfunction handleDelete(event) {\n\t\t\tif (event.key === \"Delete\") {\n\t\t\t\tevent.preventDefault();\n\t\t\t\tupdateModelValueAt(props.index, \"\");\n\t\t\t}\n\t\t}\n\t\tfunction handleFocus(event) {\n\t\t\tif (context.otp.value) {\n\t\t\t\tconst firstEmptyInputIdx = inputElements.value.findIndex((_, idx) => context.currentModelValue.value[idx] === \"\" || context.currentModelValue.value[idx] === void 0);\n\t\t\t\tif (firstEmptyInputIdx !== -1 && firstEmptyInputIdx < props.index) {\n\t\t\t\t\tinputElements.value[firstEmptyInputIdx].focus();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst target = event.target;\n\t\t\ttarget.setSelectionRange(1, 1);\n\t\t\tupdatePlaceholder();\n\t\t}\n\t\tfunction handleBlur(event) {\n\t\t\tupdatePlaceholder();\n\t\t}\n\t\tfunction handlePaste(event) {\n\t\t\tevent.preventDefault();\n\t\t\tconst clipboardData = event.clipboardData;\n\t\t\tif (!clipboardData) return;\n\t\t\tconst values = clipboardData.getData(\"text\");\n\t\t\thandleMultipleCharacter(values);\n\t\t}\n\t\tfunction handleMultipleCharacter(values) {\n\t\t\tconst tempModelValue = [...context.currentModelValue.value];\n\t\t\tconst initialIndex = values.length >= inputElements.value.length ? 0 : props.index;\n\t\t\tconst lastIndex = Math.min(initialIndex + values.length, inputElements.value.length);\n\t\t\tfor (let i = initialIndex; i < lastIndex; i++) {\n\t\t\t\tconst input = inputElements.value[i];\n\t\t\t\tconst value = values[i - initialIndex];\n\t\t\t\tif (context.isNumericMode.value && !/^\\d*$/.test(value)) continue;\n\t\t\t\ttempModelValue[i] = value;\n\t\t\t\tinput.focus();\n\t\t\t}\n\t\t\tcontext.modelValue.value = tempModelValue;\n\t\t\tinputElements.value[lastIndex]?.focus();\n\t\t}\n\t\tfunction removeTrailingEmptyStrings(input) {\n\t\t\tlet i = input.length - 1;\n\t\t\twhile (i >= 0 && input[i] === \"\") {\n\t\t\t\tinput.pop();\n\t\t\t\ti--;\n\t\t\t}\n\t\t\treturn input;\n\t\t}\n\t\tfunction updateModelValueAt(index, value) {\n\t\t\tconst tempModelValue = [...context.currentModelValue.value];\n\t\t\tif (context.isNumericMode.value) {\n\t\t\t\tconst num = +value;\n\t\t\t\tif (value === \"\" || isNaN(num)) delete tempModelValue[index];\n\t\t\t\telse tempModelValue[index] = num;\n\t\t\t} else tempModelValue[index] = value;\n\t\t\tcontext.modelValue.value = removeTrailingEmptyStrings(tempModelValue);\n\t\t}\n\t\twatch(currentValue, updatePlaceholder);\n\t\tonMounted(() => {\n\t\t\tcontext.onInputElementChange(currentElement.value);\n\t\t});\n\t\tonUnmounted(() => {\n\t\t\tcontext.inputElements?.value.delete(currentElement.value);\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(Primitive), {\n\t\t\t\tref_key: \"primitiveElement\",\n\t\t\t\tref: primitiveElement,\n\t\t\t\tautocapitalize: \"none\",\n\t\t\t\tas: _ctx.as,\n\t\t\t\t\"as-child\": _ctx.asChild,\n\t\t\t\tautocomplete: isOtpMode.value ? \"one-time-code\" : \"false\",\n\t\t\t\ttype: isPasswordMode.value ? \"password\" : \"text\",\n\t\t\t\tinputmode: unref(context).isNumericMode.value ? \"numeric\" : \"text\",\n\t\t\t\tpattern: unref(context).isNumericMode.value ? \"[0-9]*\" : void 0,\n\t\t\t\tplaceholder: unref(context).placeholder.value,\n\t\t\t\tvalue: currentValue.value,\n\t\t\t\tdisabled: disabled.value,\n\t\t\t\t\"data-disabled\": disabled.value ? \"\" : void 0,\n\t\t\t\t\"data-complete\": unref(context).isCompleted.value ? \"\" : void 0,\n\t\t\t\t\"aria-label\": `pin input ${_ctx.index + 1} of ${inputElements.value.length}`,\n\t\t\t\tonInput: _cache[0] || (_cache[0] = ($event) => handleInput($event)),\n\t\t\t\tonKeydown: [\n\t\t\t\t\twithKeys(handleKeydown, [\n\t\t\t\t\t\t\"left\",\n\t\t\t\t\t\t\"right\",\n\t\t\t\t\t\t\"up\",\n\t\t\t\t\t\t\"down\",\n\t\t\t\t\t\t\"home\",\n\t\t\t\t\t\t\"end\"\n\t\t\t\t\t]),\n\t\t\t\t\twithKeys(handleBackspace, [\"backspace\"]),\n\t\t\t\t\twithKeys(handleDelete, [\"delete\"])\n\t\t\t\t],\n\t\t\t\tonFocus: handleFocus,\n\t\t\t\tonBlur: handleBlur,\n\t\t\t\tonPaste: handlePaste\n\t\t\t}, {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t_: 3\n\t\t\t}, 8, [\n\t\t\t\t\"as\",\n\t\t\t\t\"as-child\",\n\t\t\t\t\"autocomplete\",\n\t\t\t\t\"type\",\n\t\t\t\t\"inputmode\",\n\t\t\t\t\"pattern\",\n\t\t\t\t\"placeholder\",\n\t\t\t\t\"value\",\n\t\t\t\t\"disabled\",\n\t\t\t\t\"data-disabled\",\n\t\t\t\t\"data-complete\",\n\t\t\t\t\"aria-label\"\n\t\t\t]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/PinInput/PinInputInput.vue\nvar PinInputInput_default = PinInputInput_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { PinInputInput_default };\n//# sourceMappingURL=PinInputInput.js.map","<template>\n <PinInputRoot\n :id=\"computedId\"\n v-model=\"modelValue\"\n :class=\"rootClasses\"\n :disabled=\"props.disabled\"\n :dir=\"props.dir\"\n :mask=\"props.mask\"\n :name=\"props.name\"\n :otp=\"props.otp\"\n :placeholder=\"props.placeholder\"\n :required=\"props.required\"\n :type=\"props.type\"\n @complete=\"emit('complete', $event)\"\n >\n <PinInputInput\n v-for=\"(_, i) in computedLength\"\n :key=\"i\"\n :index=\"i\"\n :disabled=\"props.disabled\"\n as-child\n >\n <BFormInput\n class=\"b-otp-input-field\"\n :aria-label=\"`${props.ariaLabel || 'Pin'} ${i + 1} of ${computedLength}`\"\n :aria-invalid=\"props.ariaInvalid\"\n :autofocus=\"props.autofocus && i === 0\"\n :disabled=\"props.disabled\"\n :form=\"props.form\"\n :plaintext=\"props.plaintext\"\n :readonly=\"props.readonly\"\n :size=\"props.size\"\n :state=\"props.state\"\n />\n </PinInputInput>\n </PinInputRoot>\n</template>\n\n<script setup lang=\"ts\">\nimport {computed} from 'vue'\nimport {useToNumber} from '@vueuse/core'\nimport {PinInputInput, PinInputRoot} from 'reka-ui'\nimport type {BOtpInputProps} from '../../types'\nimport {useDefaults} from '../../composables/useDefaults'\nimport {useId} from '../../composables/useId'\nimport BFormInput from '../BFormInput/BFormInput.vue'\n\nconst lengthDefault = 6\nconst _props = withDefaults(defineProps<Omit<BOtpInputProps, 'modelValue'>>(), {\n ariaInvalid: undefined,\n ariaLabel: undefined,\n autofocus: false,\n dir: undefined,\n disabled: false,\n form: undefined,\n id: undefined,\n length: lengthDefault,\n mask: false,\n name: undefined,\n otp: false,\n placeholder: '',\n plaintext: false,\n readonly: false,\n required: false,\n size: undefined,\n state: null,\n type: 'text',\n})\nconst props = useDefaults(_props, 'BOtpInput')\nconst emit = defineEmits<{\n complete: [value: string[]]\n}>()\n\nconst modelValue = defineModel<BOtpInputProps['modelValue']>({default: () => []})\n\nconst computedId = useId(() => props.id)\nconst lengthNumber = useToNumber(() => props.length, {nanToZero: true, method: 'parseInt'})\nconst computedLength = computed(() => (lengthNumber.value > 0 ? lengthNumber.value : lengthDefault))\n\nconst rootClasses = computed(() => [\n 'b-otp-input',\n 'd-flex',\n 'gap-2',\n 'align-items-center',\n {\n [`b-otp-input-${props.size}`]: !!props.size,\n },\n])\n</script>\n","<template>\n <PinInputRoot\n :id=\"computedId\"\n v-model=\"modelValue\"\n :class=\"rootClasses\"\n :disabled=\"props.disabled\"\n :dir=\"props.dir\"\n :mask=\"props.mask\"\n :name=\"props.name\"\n :otp=\"props.otp\"\n :placeholder=\"props.placeholder\"\n :required=\"props.required\"\n :type=\"props.type\"\n @complete=\"emit('complete', $event)\"\n >\n <PinInputInput\n v-for=\"(_, i) in computedLength\"\n :key=\"i\"\n :index=\"i\"\n :disabled=\"props.disabled\"\n as-child\n >\n <BFormInput\n class=\"b-otp-input-field\"\n :aria-label=\"`${props.ariaLabel || 'Pin'} ${i + 1} of ${computedLength}`\"\n :aria-invalid=\"props.ariaInvalid\"\n :autofocus=\"props.autofocus && i === 0\"\n :disabled=\"props.disabled\"\n :form=\"props.form\"\n :plaintext=\"props.plaintext\"\n :readonly=\"props.readonly\"\n :size=\"props.size\"\n :state=\"props.state\"\n />\n </PinInputInput>\n </PinInputRoot>\n</template>\n\n<script setup lang=\"ts\">\nimport {computed} from 'vue'\nimport {useToNumber} from '@vueuse/core'\nimport {PinInputInput, PinInputRoot} from 'reka-ui'\nimport type {BOtpInputProps} from '../../types'\nimport {useDefaults} from '../../composables/useDefaults'\nimport {useId} from '../../composables/useId'\nimport BFormInput from '../BFormInput/BFormInput.vue'\n\nconst lengthDefault = 6\nconst _props = withDefaults(defineProps<Omit<BOtpInputProps, 'modelValue'>>(), {\n ariaInvalid: undefined,\n ariaLabel: undefined,\n autofocus: false,\n dir: undefined,\n disabled: false,\n form: undefined,\n id: undefined,\n length: lengthDefault,\n mask: false,\n name: undefined,\n otp: false,\n placeholder: '',\n plaintext: false,\n readonly: false,\n required: false,\n size: undefined,\n state: null,\n type: 'text',\n})\nconst props = useDefaults(_props, 'BOtpInput')\nconst emit = defineEmits<{\n complete: [value: string[]]\n}>()\n\nconst modelValue = defineModel<BOtpInputProps['modelValue']>({default: () => []})\n\nconst computedId = useId(() => props.id)\nconst lengthNumber = useToNumber(() => props.length, {nanToZero: true, method: 'parseInt'})\nconst computedLength = computed(() => (lengthNumber.value > 0 ? lengthNumber.value : lengthDefault))\n\nconst rootClasses = computed(() => [\n 'b-otp-input',\n 'd-flex',\n 'gap-2',\n 'align-items-center',\n {\n [`b-otp-input-${props.size}`]: !!props.size,\n },\n])\n</script>\n"],"x_google_ignoreList":[0,1,2],"mappings":";;;;;;;;;;AACA,IAAM,iBAAiB,CAAC,SAAS,WAAW;;;;;;;;;;AAU5C,SAAS,mBAAmB,GAAG,gBAAgB,eAAe,UAAU,EAAE,EAAE;AAC3E,KAAI,CAAC,kBAAkB,QAAQ,wBAAwB,eAAe,SAAS,eAAe,SAAS,CAAE,QAAO;CAChH,MAAM,EAAE,kBAAkB,QAAQ,gBAAgB,+BAA+B,aAAa,EAAE,EAAE,OAAO,MAAM,MAAM,OAAO,gBAAgB,MAAM,QAAQ,UAAU;CACpK,MAAM,CAAC,OAAO,MAAM,IAAI,MAAM,MAAM,OAAO;EAC1C,EAAE,QAAQ;EACV,EAAE,QAAQ;EACV,EAAE,QAAQ;EACV,EAAE,QAAQ;EACV,EAAE,QAAQ;EACV,EAAE,QAAQ;EACV;CACD,MAAM,gBAAgB,MAAM;CAC5B,MAAM,kBAAkB,SAAS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A,IAAA,OAAM,MAAK,CAAC;OACZ,YAAA,GAAA,IAAA,OAAW,MAAK,CAAC;OACjB,WAAA,GAAA,IAAA,OAAU,MAAK,CAAC;OAChB,OAAA,GAAA,IAAA,OAAM,MAAK,CAAC;OACZ,QAAA,GAAA,IAAA,OAAO,MAAK,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BOtpInput-Drfkt3x3.mjs","names":[],"sources":["../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useArrowNavigation.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/PinInput/PinInputRoot.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/PinInput/PinInputInput.js","../src/components/BOtpInput/BOtpInput.vue","../src/components/BOtpInput/BOtpInput.vue"],"sourcesContent":["//#region src/shared/useArrowNavigation.ts\nconst ignoredElement = [\"INPUT\", \"TEXTAREA\"];\n/**\n* Allow arrow navigation for every html element with data-reka-collection-item tag\n*\n* @param e Keyboard event\n* @param currentElement Event initiator element or any element that wants to handle the navigation\n* @param parentElement Parent element where contains all the collection items, this will collect every item to be used when nav\n* @param options further options\n* @returns the navigated html element or null if none\n*/\nfunction useArrowNavigation(e, currentElement, parentElement, options = {}) {\n\tif (!currentElement || options.enableIgnoredElement && ignoredElement.includes(currentElement.nodeName)) return null;\n\tconst { arrowKeyOptions = \"both\", attributeName = \"[data-reka-collection-item]\", itemsArray = [], loop = true, dir = \"ltr\", preventScroll = true, focus = false } = options;\n\tconst [right, left, up, down, home, end] = [\n\t\te.key === \"ArrowRight\",\n\t\te.key === \"ArrowLeft\",\n\t\te.key === \"ArrowUp\",\n\t\te.key === \"ArrowDown\",\n\t\te.key === \"Home\",\n\t\te.key === \"End\"\n\t];\n\tconst goingVertical = up || down;\n\tconst goingHorizontal = right || left;\n\tif (!home && !end && (!goingVertical && !goingHorizontal || arrowKeyOptions === \"vertical\" && goingHorizontal || arrowKeyOptions === \"horizontal\" && goingVertical)) return null;\n\tconst allCollectionItems = parentElement ? Array.from(parentElement.querySelectorAll(attributeName)) : itemsArray;\n\tif (!allCollectionItems.length) return null;\n\tif (preventScroll) e.preventDefault();\n\tlet item = null;\n\tif (goingHorizontal || goingVertical) {\n\t\tconst goForward = goingVertical ? down : dir === \"ltr\" ? right : left;\n\t\titem = findNextFocusableElement(allCollectionItems, currentElement, {\n\t\t\tgoForward,\n\t\t\tloop\n\t\t});\n\t} else if (home) item = allCollectionItems.at(0) || null;\n\telse if (end) item = allCollectionItems.at(-1) || null;\n\tif (focus) item?.focus();\n\treturn item;\n}\n/**\n* Recursive function to find the next focusable element to avoid disabled elements\n*\n* @param elements Elements to navigate\n* @param currentElement Current active element\n* @param options\n* @returns next focusable element\n*/\nfunction findNextFocusableElement(elements, currentElement, options, iterations = !elements.includes(currentElement) ? elements.length + 1 : elements.length) {\n\tif (--iterations === 0) return null;\n\tconst index = elements.indexOf(currentElement);\n\tlet newIndex;\n\tif (index === -1) newIndex = options.goForward ? 0 : elements.length - 1;\n\telse newIndex = options.goForward ? index + 1 : index - 1;\n\tif (!options.loop && (newIndex < 0 || newIndex >= elements.length)) return null;\n\tconst adjustedNewIndex = (newIndex + elements.length) % elements.length;\n\tconst candidate = elements[adjustedNewIndex];\n\tif (!candidate) return null;\n\tconst isDisabled = candidate.hasAttribute(\"disabled\") && candidate.getAttribute(\"disabled\") !== \"false\";\n\tif (isDisabled) return findNextFocusableElement(elements, candidate, options, iterations);\n\treturn candidate;\n}\n\n//#endregion\nexport { useArrowNavigation };\n//# sourceMappingURL=useArrowNavigation.js.map","import { createContext } from \"../shared/createContext.js\";\nimport { useDirection } from \"../shared/useDirection.js\";\nimport { useForwardExpose } from \"../shared/useForwardExpose.js\";\nimport { Primitive } from \"../Primitive/Primitive.js\";\nimport { VisuallyHiddenInput_default } from \"../VisuallyHidden/VisuallyHiddenInput.js\";\nimport { computed, createBlock, createVNode, defineComponent, mergeProps, openBlock, ref, renderSlot, toRefs, unref, watch, withCtx } from \"vue\";\nimport { useVModel } from \"@vueuse/core\";\n\n//#region src/PinInput/PinInputRoot.vue?vue&type=script&setup=true&lang.ts\nconst [injectPinInputRootContext, providePinInputRootContext] = createContext(\"PinInputRoot\");\nvar PinInputRoot_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\tinheritAttrs: false,\n\t__name: \"PinInputRoot\",\n\tprops: {\n\t\tmodelValue: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tdefaultValue: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tplaceholder: {\n\t\t\ttype: String,\n\t\t\trequired: false,\n\t\t\tdefault: \"\"\n\t\t},\n\t\tmask: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\totp: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\ttype: {\n\t\t\ttype: null,\n\t\t\trequired: false,\n\t\t\tdefault: \"text\"\n\t\t},\n\t\tdir: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tid: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false\n\t\t},\n\t\tname: {\n\t\t\ttype: String,\n\t\t\trequired: false\n\t\t},\n\t\trequired: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t}\n\t},\n\temits: [\"update:modelValue\", \"complete\"],\n\tsetup(__props, { emit: __emit }) {\n\t\tconst props = __props;\n\t\tconst emits = __emit;\n\t\tconst { mask, otp, placeholder, type, disabled, dir: propDir } = toRefs(props);\n\t\tconst { forwardRef } = useForwardExpose();\n\t\tconst dir = useDirection(propDir);\n\t\tconst modelValue = useVModel(props, \"modelValue\", emits, {\n\t\t\tdefaultValue: props.defaultValue ?? [],\n\t\t\tpassive: true,\n\t\t\tdeep: true\n\t\t});\n\t\tconst currentModelValue = computed(() => Array.isArray(modelValue.value) ? [...modelValue.value] : []);\n\t\tconst inputElements = ref(/* @__PURE__ */ new Set());\n\t\tfunction onInputElementChange(el) {\n\t\t\tinputElements.value.add(el);\n\t\t}\n\t\tconst isNumericMode = computed(() => props.type === \"number\");\n\t\tconst isCompleted = computed(() => {\n\t\t\tconst modelValues = currentModelValue.value.filter((i) => !!i || isNumericMode.value && i === 0);\n\t\t\treturn modelValues.length === inputElements.value.size;\n\t\t});\n\t\twatch(modelValue, () => {\n\t\t\tif (isCompleted.value) emits(\"complete\", modelValue.value);\n\t\t}, { deep: true });\n\t\tprovidePinInputRootContext({\n\t\t\tmodelValue,\n\t\t\tcurrentModelValue,\n\t\t\tmask,\n\t\t\totp,\n\t\t\tplaceholder,\n\t\t\ttype,\n\t\t\tdir,\n\t\t\tdisabled,\n\t\t\tisCompleted,\n\t\t\tinputElements,\n\t\t\tonInputElementChange,\n\t\t\tisNumericMode\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(Primitive), mergeProps(_ctx.$attrs, {\n\t\t\t\tref: unref(forwardRef),\n\t\t\t\tdir: unref(dir),\n\t\t\t\t\"data-complete\": isCompleted.value ? \"\" : void 0,\n\t\t\t\t\"data-disabled\": unref(disabled) ? \"\" : void 0\n\t\t\t}), {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\", { modelValue: unref(modelValue) }), createVNode(VisuallyHiddenInput_default, {\n\t\t\t\t\tid: _ctx.id,\n\t\t\t\t\tas: \"input\",\n\t\t\t\t\tfeature: \"focusable\",\n\t\t\t\t\ttabindex: \"-1\",\n\t\t\t\t\tvalue: currentModelValue.value.join(\"\"),\n\t\t\t\t\tname: _ctx.name ?? \"\",\n\t\t\t\t\tdisabled: unref(disabled),\n\t\t\t\t\trequired: _ctx.required,\n\t\t\t\t\tonFocus: _cache[0] || (_cache[0] = ($event) => Array.from(inputElements.value)?.[0]?.focus())\n\t\t\t\t}, null, 8, [\n\t\t\t\t\t\"id\",\n\t\t\t\t\t\"value\",\n\t\t\t\t\t\"name\",\n\t\t\t\t\t\"disabled\",\n\t\t\t\t\t\"required\"\n\t\t\t\t])]),\n\t\t\t\t_: 3\n\t\t\t}, 16, [\n\t\t\t\t\"dir\",\n\t\t\t\t\"data-complete\",\n\t\t\t\t\"data-disabled\"\n\t\t\t]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/PinInput/PinInputRoot.vue\nvar PinInputRoot_default = PinInputRoot_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { PinInputRoot_default, injectPinInputRootContext };\n//# sourceMappingURL=PinInputRoot.js.map","import { getActiveElement } from \"../shared/getActiveElement.js\";\nimport { useArrowNavigation } from \"../shared/useArrowNavigation.js\";\nimport { Primitive } from \"../Primitive/Primitive.js\";\nimport { usePrimitiveElement } from \"../Primitive/usePrimitiveElement.js\";\nimport { injectPinInputRootContext } from \"./PinInputRoot.js\";\nimport { computed, createBlock, defineComponent, nextTick, onMounted, onUnmounted, openBlock, renderSlot, unref, watch, withCtx, withKeys } from \"vue\";\n\n//#region src/PinInput/PinInputInput.vue?vue&type=script&setup=true&lang.ts\nvar PinInputInput_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\t__name: \"PinInputInput\",\n\tprops: {\n\t\tindex: {\n\t\t\ttype: Number,\n\t\t\trequired: true\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tasChild: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false\n\t\t},\n\t\tas: {\n\t\t\ttype: null,\n\t\t\trequired: false,\n\t\t\tdefault: \"input\"\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst props = __props;\n\t\tconst context = injectPinInputRootContext();\n\t\tconst inputElements = computed(() => Array.from(context.inputElements.value));\n\t\tconst currentValue = computed(() => context.currentModelValue.value[props.index]);\n\t\tconst disabled = computed(() => props.disabled || context.disabled.value);\n\t\tconst isOtpMode = computed(() => context.otp.value);\n\t\tconst isPasswordMode = computed(() => context.mask.value);\n\t\tconst { primitiveElement, currentElement } = usePrimitiveElement();\n\t\tfunction handleInput(event) {\n\t\t\tconst target = event.target;\n\t\t\tif ((event.data?.length ?? 0) > 1) {\n\t\t\t\thandleMultipleCharacter(target.value);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (context.isNumericMode.value && !/^\\d*$/.test(target.value)) {\n\t\t\t\ttarget.value = target.value.replace(/\\D/g, \"\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ttarget.value = event.data || target.value.slice(-1);\n\t\t\tupdateModelValueAt(props.index, target.value);\n\t\t\tconst nextEl = inputElements.value[props.index + 1];\n\t\t\tif (nextEl) nextEl.focus();\n\t\t}\n\t\tfunction updatePlaceholder() {\n\t\t\tnextTick(() => {\n\t\t\t\tconst target = currentElement.value;\n\t\t\t\tif (!target) return;\n\t\t\t\tif (!target.value && target === getActiveElement()) target.placeholder = \"\";\n\t\t\t\telse target.placeholder = context.placeholder.value;\n\t\t\t});\n\t\t}\n\t\tfunction handleKeydown(event) {\n\t\t\tuseArrowNavigation(event, getActiveElement(), void 0, {\n\t\t\t\titemsArray: inputElements.value,\n\t\t\t\tfocus: true,\n\t\t\t\tloop: false,\n\t\t\t\tarrowKeyOptions: \"horizontal\",\n\t\t\t\tdir: context.dir.value\n\t\t\t});\n\t\t}\n\t\tfunction handleBackspace(event) {\n\t\t\tevent.preventDefault();\n\t\t\tconst target = event.target;\n\t\t\tconst value = target.value;\n\t\t\tif (value) updateModelValueAt(props.index, \"\");\n\t\t\telse {\n\t\t\t\tconst prevEl = inputElements.value[props.index - 1];\n\t\t\t\tif (prevEl) {\n\t\t\t\t\tprevEl.focus();\n\t\t\t\t\tupdateModelValueAt(props.index - 1, \"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfunction handleDelete(event) {\n\t\t\tif (event.key === \"Delete\") {\n\t\t\t\tevent.preventDefault();\n\t\t\t\tupdateModelValueAt(props.index, \"\");\n\t\t\t}\n\t\t}\n\t\tfunction handleFocus(event) {\n\t\t\tif (context.otp.value) {\n\t\t\t\tconst firstEmptyInputIdx = inputElements.value.findIndex((_, idx) => context.currentModelValue.value[idx] === \"\" || context.currentModelValue.value[idx] === void 0);\n\t\t\t\tif (firstEmptyInputIdx !== -1 && firstEmptyInputIdx < props.index) {\n\t\t\t\t\tinputElements.value[firstEmptyInputIdx].focus();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst target = event.target;\n\t\t\ttarget.setSelectionRange(1, 1);\n\t\t\tupdatePlaceholder();\n\t\t}\n\t\tfunction handleBlur(event) {\n\t\t\tupdatePlaceholder();\n\t\t}\n\t\tfunction handlePaste(event) {\n\t\t\tevent.preventDefault();\n\t\t\tconst clipboardData = event.clipboardData;\n\t\t\tif (!clipboardData) return;\n\t\t\tconst values = clipboardData.getData(\"text\");\n\t\t\thandleMultipleCharacter(values);\n\t\t}\n\t\tfunction handleMultipleCharacter(values) {\n\t\t\tconst tempModelValue = [...context.currentModelValue.value];\n\t\t\tconst initialIndex = values.length >= inputElements.value.length ? 0 : props.index;\n\t\t\tconst lastIndex = Math.min(initialIndex + values.length, inputElements.value.length);\n\t\t\tfor (let i = initialIndex; i < lastIndex; i++) {\n\t\t\t\tconst input = inputElements.value[i];\n\t\t\t\tconst value = values[i - initialIndex];\n\t\t\t\tif (context.isNumericMode.value && !/^\\d*$/.test(value)) continue;\n\t\t\t\ttempModelValue[i] = value;\n\t\t\t\tinput.focus();\n\t\t\t}\n\t\t\tcontext.modelValue.value = tempModelValue;\n\t\t\tinputElements.value[lastIndex]?.focus();\n\t\t}\n\t\tfunction removeTrailingEmptyStrings(input) {\n\t\t\tlet i = input.length - 1;\n\t\t\twhile (i >= 0 && input[i] === \"\") {\n\t\t\t\tinput.pop();\n\t\t\t\ti--;\n\t\t\t}\n\t\t\treturn input;\n\t\t}\n\t\tfunction updateModelValueAt(index, value) {\n\t\t\tconst tempModelValue = [...context.currentModelValue.value];\n\t\t\tif (context.isNumericMode.value) {\n\t\t\t\tconst num = +value;\n\t\t\t\tif (value === \"\" || isNaN(num)) delete tempModelValue[index];\n\t\t\t\telse tempModelValue[index] = num;\n\t\t\t} else tempModelValue[index] = value;\n\t\t\tcontext.modelValue.value = removeTrailingEmptyStrings(tempModelValue);\n\t\t}\n\t\twatch(currentValue, updatePlaceholder);\n\t\tonMounted(() => {\n\t\t\tcontext.onInputElementChange(currentElement.value);\n\t\t});\n\t\tonUnmounted(() => {\n\t\t\tcontext.inputElements?.value.delete(currentElement.value);\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(unref(Primitive), {\n\t\t\t\tref_key: \"primitiveElement\",\n\t\t\t\tref: primitiveElement,\n\t\t\t\tautocapitalize: \"none\",\n\t\t\t\tas: _ctx.as,\n\t\t\t\t\"as-child\": _ctx.asChild,\n\t\t\t\tautocomplete: isOtpMode.value ? \"one-time-code\" : \"false\",\n\t\t\t\ttype: isPasswordMode.value ? \"password\" : \"text\",\n\t\t\t\tinputmode: unref(context).isNumericMode.value ? \"numeric\" : \"text\",\n\t\t\t\tpattern: unref(context).isNumericMode.value ? \"[0-9]*\" : void 0,\n\t\t\t\tplaceholder: unref(context).placeholder.value,\n\t\t\t\tvalue: currentValue.value,\n\t\t\t\tdisabled: disabled.value,\n\t\t\t\t\"data-disabled\": disabled.value ? \"\" : void 0,\n\t\t\t\t\"data-complete\": unref(context).isCompleted.value ? \"\" : void 0,\n\t\t\t\t\"aria-label\": `pin input ${_ctx.index + 1} of ${inputElements.value.length}`,\n\t\t\t\tonInput: _cache[0] || (_cache[0] = ($event) => handleInput($event)),\n\t\t\t\tonKeydown: [\n\t\t\t\t\twithKeys(handleKeydown, [\n\t\t\t\t\t\t\"left\",\n\t\t\t\t\t\t\"right\",\n\t\t\t\t\t\t\"up\",\n\t\t\t\t\t\t\"down\",\n\t\t\t\t\t\t\"home\",\n\t\t\t\t\t\t\"end\"\n\t\t\t\t\t]),\n\t\t\t\t\twithKeys(handleBackspace, [\"backspace\"]),\n\t\t\t\t\twithKeys(handleDelete, [\"delete\"])\n\t\t\t\t],\n\t\t\t\tonFocus: handleFocus,\n\t\t\t\tonBlur: handleBlur,\n\t\t\t\tonPaste: handlePaste\n\t\t\t}, {\n\t\t\t\tdefault: withCtx(() => [renderSlot(_ctx.$slots, \"default\")]),\n\t\t\t\t_: 3\n\t\t\t}, 8, [\n\t\t\t\t\"as\",\n\t\t\t\t\"as-child\",\n\t\t\t\t\"autocomplete\",\n\t\t\t\t\"type\",\n\t\t\t\t\"inputmode\",\n\t\t\t\t\"pattern\",\n\t\t\t\t\"placeholder\",\n\t\t\t\t\"value\",\n\t\t\t\t\"disabled\",\n\t\t\t\t\"data-disabled\",\n\t\t\t\t\"data-complete\",\n\t\t\t\t\"aria-label\"\n\t\t\t]);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/PinInput/PinInputInput.vue\nvar PinInputInput_default = PinInputInput_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { PinInputInput_default };\n//# sourceMappingURL=PinInputInput.js.map","<template>\n <PinInputRoot\n :id=\"computedId\"\n v-model=\"modelValue\"\n :class=\"rootClasses\"\n :disabled=\"props.disabled\"\n :dir=\"props.dir\"\n :mask=\"props.mask\"\n :name=\"props.name\"\n :otp=\"props.otp\"\n :placeholder=\"props.placeholder\"\n :required=\"props.required\"\n :type=\"props.type\"\n @complete=\"emit('complete', $event)\"\n >\n <PinInputInput\n v-for=\"(_, i) in computedLength\"\n :key=\"i\"\n :index=\"i\"\n :disabled=\"props.disabled\"\n as-child\n >\n <BFormInput\n class=\"b-otp-input-field\"\n :aria-label=\"`${props.ariaLabel || 'Pin'} ${i + 1} of ${computedLength}`\"\n :aria-invalid=\"props.ariaInvalid\"\n :autofocus=\"props.autofocus && i === 0\"\n :disabled=\"props.disabled\"\n :form=\"props.form\"\n :plaintext=\"props.plaintext\"\n :readonly=\"props.readonly\"\n :size=\"props.size\"\n :state=\"props.state\"\n />\n </PinInputInput>\n </PinInputRoot>\n</template>\n\n<script setup lang=\"ts\">\nimport {computed} from 'vue'\nimport {useToNumber} from '@vueuse/core'\nimport {PinInputInput, PinInputRoot} from 'reka-ui'\nimport type {BOtpInputProps} from '../../types'\nimport {useDefaults} from '../../composables/useDefaults'\nimport {useId} from '../../composables/useId'\nimport BFormInput from '../BFormInput/BFormInput.vue'\n\nconst lengthDefault = 6\nconst _props = withDefaults(defineProps<Omit<BOtpInputProps, 'modelValue'>>(), {\n ariaInvalid: undefined,\n ariaLabel: undefined,\n autofocus: false,\n dir: undefined,\n disabled: false,\n form: undefined,\n id: undefined,\n length: lengthDefault,\n mask: false,\n name: undefined,\n otp: false,\n placeholder: '',\n plaintext: false,\n readonly: false,\n required: false,\n size: undefined,\n state: null,\n type: 'text',\n})\nconst props = useDefaults(_props, 'BOtpInput')\nconst emit = defineEmits<{\n complete: [value: string[]]\n}>()\n\nconst modelValue = defineModel<BOtpInputProps['modelValue']>({default: () => []})\n\nconst computedId = useId(() => props.id)\nconst lengthNumber = useToNumber(() => props.length, {nanToZero: true, method: 'parseInt'})\nconst computedLength = computed(() => (lengthNumber.value > 0 ? lengthNumber.value : lengthDefault))\n\nconst rootClasses = computed(() => [\n 'b-otp-input',\n 'd-flex',\n 'gap-2',\n 'align-items-center',\n {\n [`b-otp-input-${props.size}`]: !!props.size,\n },\n])\n</script>\n","<template>\n <PinInputRoot\n :id=\"computedId\"\n v-model=\"modelValue\"\n :class=\"rootClasses\"\n :disabled=\"props.disabled\"\n :dir=\"props.dir\"\n :mask=\"props.mask\"\n :name=\"props.name\"\n :otp=\"props.otp\"\n :placeholder=\"props.placeholder\"\n :required=\"props.required\"\n :type=\"props.type\"\n @complete=\"emit('complete', $event)\"\n >\n <PinInputInput\n v-for=\"(_, i) in computedLength\"\n :key=\"i\"\n :index=\"i\"\n :disabled=\"props.disabled\"\n as-child\n >\n <BFormInput\n class=\"b-otp-input-field\"\n :aria-label=\"`${props.ariaLabel || 'Pin'} ${i + 1} of ${computedLength}`\"\n :aria-invalid=\"props.ariaInvalid\"\n :autofocus=\"props.autofocus && i === 0\"\n :disabled=\"props.disabled\"\n :form=\"props.form\"\n :plaintext=\"props.plaintext\"\n :readonly=\"props.readonly\"\n :size=\"props.size\"\n :state=\"props.state\"\n />\n </PinInputInput>\n </PinInputRoot>\n</template>\n\n<script setup lang=\"ts\">\nimport {computed} from 'vue'\nimport {useToNumber} from '@vueuse/core'\nimport {PinInputInput, PinInputRoot} from 'reka-ui'\nimport type {BOtpInputProps} from '../../types'\nimport {useDefaults} from '../../composables/useDefaults'\nimport {useId} from '../../composables/useId'\nimport BFormInput from '../BFormInput/BFormInput.vue'\n\nconst lengthDefault = 6\nconst _props = withDefaults(defineProps<Omit<BOtpInputProps, 'modelValue'>>(), {\n ariaInvalid: undefined,\n ariaLabel: undefined,\n autofocus: false,\n dir: undefined,\n disabled: false,\n form: undefined,\n id: undefined,\n length: lengthDefault,\n mask: false,\n name: undefined,\n otp: false,\n placeholder: '',\n plaintext: false,\n readonly: false,\n required: false,\n size: undefined,\n state: null,\n type: 'text',\n})\nconst props = useDefaults(_props, 'BOtpInput')\nconst emit = defineEmits<{\n complete: [value: string[]]\n}>()\n\nconst modelValue = defineModel<BOtpInputProps['modelValue']>({default: () => []})\n\nconst computedId = useId(() => props.id)\nconst lengthNumber = useToNumber(() => props.length, {nanToZero: true, method: 'parseInt'})\nconst computedLength = computed(() => (lengthNumber.value > 0 ? lengthNumber.value : lengthDefault))\n\nconst rootClasses = computed(() => [\n 'b-otp-input',\n 'd-flex',\n 'gap-2',\n 'align-items-center',\n {\n [`b-otp-input-${props.size}`]: !!props.size,\n },\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e;GACjC;GACA;GACA;GACA;GACA,GACG,eAAe,MAAM,SAAS,CAAC,CAAC,MAAM,MAAA;GAE1C,CAAA;;uBAtFC,YAkCe,MAAA,qBAAA,EAAA;IAjCZ,IAAI,MAAA,WAAU;gBACN,WAAA;4EAAU,QAAA;IAClB,OAAK,eAAE,YAAA,MAAW;IAClB,UAAU,MAAA,MAAK,CAAC;IAChB,KAAK,MAAA,MAAK,CAAC;IACX,MAAM,MAAA,MAAK,CAAC;IACZ,MAAM,MAAA,MAAK,CAAC;IACZ,KAAK,MAAA,MAAK,CAAC;IACX,aAAa,MAAA,MAAK,CAAC;IACnB,UAAU,MAAA,MAAK,CAAC;IAChB,MAAM,MAAA,MAAK,CAAC;IACZ,YAAQ,OAAA,OAAA,OAAA,MAAA,WAAE,KAAI,YAAa,OAAM;;2BAGA,EAAA,UAAA,KAAA,EADlC,mBAmBgB,UAAA,MAAA,WAlBG,eAAA,QAAT,GAAG,MAAC;yBADd,YAmBgB,MAAA,sBAAA,EAAA;MAjBb,KAAK;MACL,OAAO;MACP,UAAU,MAAA,MAAK,CAAC;MACjB,YAAA;;6BAaE,CAXF,YAWE,oBAAA;OAVA,OAAM;OACL,cAAU,GAAK,MAAA,MAAK,CAAC,aAAS,MAAA,GAAa,IAAC,EAAA,MAAW,eAAA;OACvD,gBAAc,MAAA,MAAK,CAAC;OACpB,WAAW,MAAA,MAAK,CAAC,aAAa,MAAC;OAC/B,UAAU,MAAA,MAAK,CAAC;OAChB,MAAM,MAAA,MAAK,CAAC;OACZ,WAAW,MAAA,MAAK,CAAC;OACjB,UAAU,MAAA,MAAK,CAAC;OAChB,MAAM,MAAA,MAAK,CAAC;OACZ,OAAO,MAAA,MAAK,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BootstrapVueOptions-BC3f7hMU.js","names":[],"sources":["../src/types/BootstrapVueOptions.ts"],"sourcesContent":["import type * as ExportedComponents from '../components'\nimport type * as ExportedDirectives from '../directives'\nimport type * as ExportedComposables from '../composables'\nimport type * as ComponentProps from './ComponentProps'\n\ntype AllComponentsTyped = typeof ExportedComponents\n\nexport type ComponentType = keyof AllComponentsTyped\nexport type DirectiveType = keyof typeof ExportedDirectives\nexport type ComposableType = keyof typeof ExportedComposables\n\nexport type BvnComponents = {\n [K in ComponentType]: AllComponentsTyped[K]\n}\n\nexport const componentsWithExternalPath = {\n BAspect: '/components/BAspect',\n BAccordion: '/components/BAccordion',\n BAccordionItem: '/components/BAccordion',\n BAlert: '/components/BAlert',\n BApp: '/components/BApp',\n BAutocomplete: '/components/BAutocomplete',\n BAvatar: '/components/BAvatar',\n BAvatarGroup: '/components/BAvatar',\n BBadge: '/components/BBadge',\n BBreadcrumb: '/components/BBreadcrumb',\n BBreadcrumbItem: '/components/BBreadcrumb',\n BButton: '/components/BButton',\n BButtonGroup: '/components/BButton',\n BButtonToolbar: '/components/BButton',\n BCloseButton: '/components/BButton',\n BCard: '/components/BCard',\n BCardBody: '/components/BCard',\n BCardFooter: '/components/BCard',\n BCardGroup: '/components/BCard',\n BCardHeader: '/components/BCard',\n BCardImg: '/components/BCard',\n BCardSubtitle: '/components/BCard',\n BCardText: '/components/BCard',\n BCardTitle: '/components/BCard',\n BCarousel: '/components/BCarousel',\n BCarouselSlide: '/components/BCarousel',\n BCol: '/components/BContainer',\n BCollapse: '/components/BCollapse',\n BContainer: '/components/BContainer',\n BDateField: '/components/BDateField',\n BDatePicker: '/components/BDatePicker',\n BDateRangeField: '/components/BDateField',\n BDateRangePicker: '/components/BDatePicker',\n BDropdown: '/components/BDropdown',\n BDropdownDivider: '/components/BDropdown',\n BDropdownForm: '/components/BDropdown',\n BDropdownGroup: '/components/BDropdown',\n BDropdownHeader: '/components/BDropdown',\n BDropdownItem: '/components/BDropdown',\n BDropdownItemButton: '/components/BDropdown',\n BDropdownText: '/components/BDropdown',\n BForm: '/components/BForm',\n BFormCheckbox: '/components/BFormCheckbox',\n BFormCheckboxGroup: '/components/BFormCheckbox',\n BFormDatalist: '/components/BForm',\n BFormFile: '/components/BFormFile',\n BFormFloatingLabel: '/components/BForm',\n BFormGroup: '/components/BFormGroup',\n BFormInput: '/components/BFormInput',\n BFormInvalidFeedback: '/components/BForm',\n BFormRadio: '/components/BFormRadio',\n BFormRadioGroup: '/components/BFormRadio',\n BFormRating: '/components/BFormRating',\n BFormRow: '/components/BForm',\n BFormSelect: '/components/BFormSelect',\n BFormSelectOption: '/components/BFormSelect',\n BFormSelectOptionGroup: '/components/BFormSelect',\n BFormSpinbutton: '/components/BFormSpinbutton',\n BFormTag: '/components/BFormTags',\n BFormTags: '/components/BFormTags',\n BFormText: '/components/BForm',\n BFormTextarea: '/components/BFormTextarea',\n BFormValidFeedback: '/components/BForm',\n BImg: '/components/BImg',\n BInput: '/components/BFormInput',\n BInputGroup: '/components/BInputGroup',\n BInputGroupText: '/components/BInputGroup',\n BListGroup: '/components/BListGroup',\n BListGroupItem: '/components/BListGroup',\n BModal: '/components/BModal',\n BNav: '/components/BNav',\n BNavForm: '/components/BNav',\n BNavItem: '/components/BNav',\n BNavItemDropdown: '/components/BNav',\n BNavText: '/components/BNav',\n BNavbar: '/components/BNavbar',\n BNavbarBrand: '/components/BNavbar',\n BNavbarNav: '/components/BNavbar',\n BNavbarToggle: '/components/BNavbar',\n BOffcanvas: '/components/BOffcanvas',\n BOtpInput: '/components/BOtpInput',\n BOverlay: '/components/BOverlay',\n BOrchestrator: '/components/BApp',\n BPagination: '/components/BPagination',\n BPlaceholder: '/components/BPlaceholder',\n BPlaceholderButton: '/components/BPlaceholder',\n BPlaceholderCard: '/components/BPlaceholder',\n BPlaceholderTable: '/components/BPlaceholder',\n BPlaceholderWrapper: '/components/BPlaceholder',\n BPopover: '/components/BPopover',\n BProgress: '/components/BProgress',\n BRow: '/components/BContainer',\n BSpinner: '/components/BSpinner',\n BTab: '/components/BTabs',\n BTabs: '/components/BTabs',\n BToast: '/components/BToast',\n BTooltip: '/components/BTooltip',\n BLink: '/components/BLink',\n BProgressBar: '/components/BProgress',\n BTableSimple: '/components/BTable',\n BTableLite: '/components/BTable',\n BTable: '/components/BTable',\n BTbody: '/components/BTable',\n BTd: '/components/BTable',\n BTh: '/components/BTable',\n BThead: '/components/BTable',\n BTfoot: '/components/BTable',\n BTr: '/components/BTable',\n BTimeField: '/components/BTimeField',\n BTimeRangeField: '/components/BDateField',\n} as const satisfies Record<ComponentType, string>\nexport const componentNames = Object.freeze(\n Object.keys(componentsWithExternalPath) as ComponentType[]\n)\n\nexport const directivesWithExternalPath = {\n vBColorMode: '/directives/BColorMode',\n vBModal: '/directives/BModal',\n vBPopover: '/directives/BPopover',\n vBScrollspy: '/directives/BScrollspy',\n vBToggle: '/directives/BToggle',\n vBTooltip: '/directives/BTooltip',\n} as const satisfies Record<DirectiveType, string>\nexport const directiveNames = Object.freeze(\n Object.keys(directivesWithExternalPath) as DirectiveType[]\n)\n\nexport const composablesWithExternalPath = {\n useBreadcrumb: '/composables/useBreadcrumb',\n useColorMode: '/composables/useColorMode',\n useModal: '/composables/useModal',\n useModalController: '/composables/useModal',\n useScrollLock: '/composables/useScrollLock',\n useScrollspy: '/composables/useScrollspy',\n useToast: '/composables/useToast',\n useToastController: '/composables/useToast',\n useToggle: '/composables/useToggle',\n usePopover: '/composables/usePopover',\n usePopoverController: '/composables/usePopover',\n useRegistry: '/composables/useRegistry',\n useProvideDefaults: '/composables/useProvideDefaults',\n useOrchestratorRegistry: '/composables/orchestratorShared',\n} as const satisfies Record<ComposableType, string>\nexport const composableNames = Object.freeze(\n Object.keys(composablesWithExternalPath) as ComposableType[]\n)\n\nexport type ConfigurationOption<T extends string> = Partial<Record<T, boolean>> & {all: boolean}\nexport interface BootstrapVueOptions {\n /**\n * @default true\n */\n orchestrator?: boolean\n /**\n * @default true\n */\n registries?: boolean\n /**\n * @default false\n */\n rtl?:\n | boolean\n | {\n /**\n * @default false\n */\n rtlInitial: boolean\n /**\n * @default undefined\n */\n localeInitial: string | undefined\n }\n /**\n * @default true\n */\n components?: Partial<\n BvnComponentProps & {\n /**\n * @hint Globally sets all props with the matching name\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n global: Record<string, any>\n }\n >\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype UnmappedComponentProps<BFormSelectOption = any, BTableLite = any, BTable = any> = {\n BAspect: ComponentProps.BAspectProps\n BAutocomplete: ComponentProps.BAutocompleteProps\n BLink: ComponentProps.BLinkProps\n BAccordion: ComponentProps.BAccordionProps\n BApp: ComponentProps.BAppProps\n BDropdownDivider: ComponentProps.BDropdownDividerProps\n BDropdownGroup: ComponentProps.BDropdownGroupProps\n BDropdownItem: ComponentProps.BDropdownItemProps\n BDropdownItemButton: ComponentProps.BDropdownItemButtonProps\n BDropdownText: ComponentProps.BDropdownTextProps\n BFormFloatingLabel: ComponentProps.BFormFloatingLabelProps\n BFormRow: ComponentProps.BFormRowProps\n BFormText: ComponentProps.BFormTextProps\n BFormCheckbox: ComponentProps.BFormCheckboxProps\n BFormCheckboxGroup: ComponentProps.BFormCheckboxGroupProps\n BFormDatalist: ComponentProps.BFormDatalistProps\n BFormFile: ComponentProps.BFormFileProps\n BFormInput: ComponentProps.BFormInputProps\n BFormRadio: ComponentProps.BFormRadioProps\n BFormRadioGroup: ComponentProps.BFormRadioGroupProps\n BFormRating: ComponentProps.BFormRatingProps\n BFormSelect: ComponentProps.BFormSelectProps\n BFormSelectOption: ComponentProps.BFormSelectOptionProps<BFormSelectOption>\n BFormSelectOptionGroup: ComponentProps.BFormSelectOptionGroupProps\n BFormSpinbutton: ComponentProps.BFormSpinbuttonProps\n BFormTag: ComponentProps.BFormTagProps\n BFormTags: ComponentProps.BFormTagsProps\n BFormTextarea: ComponentProps.BFormTextareaProps\n BInputGroup: ComponentProps.BInputGroupProps\n BInputGroupText: ComponentProps.BInputGroupTextProps\n BListGroup: ComponentProps.BListGroupProps\n BListGroupItem: ComponentProps.BListGroupItemProps\n BNav: ComponentProps.BNavProps\n BNavForm: ComponentProps.BNavFormProps\n BNavItem: ComponentProps.BNavItemProps\n BNavText: ComponentProps.BNavTextProps\n BNavbar: ComponentProps.BNavbarProps\n BNavbarBrand: ComponentProps.BNavbarBrandProps\n BNavbarNav: ComponentProps.BNavbarNavProps\n BNavbarToggle: ComponentProps.BNavbarToggleProps\n BOffcanvas: ComponentProps.BOffcanvasProps\n BOrchestrator: ComponentProps.BAppProps\n BOverlay: ComponentProps.BOverlayProps\n BPagination: ComponentProps.BPaginationProps\n BPlaceholder: ComponentProps.BPlaceholderProps\n BPlaceholderButton: ComponentProps.BPlaceholderButtonProps\n BPlaceholderCard: ComponentProps.BPlaceholderCardProps\n BPlaceholderTable: ComponentProps.BPlaceholderTableProps\n BPlaceholderWrapper: ComponentProps.BPlaceholderWrapperProps\n BProgress: ComponentProps.BProgressProps\n BTab: ComponentProps.BTabProps\n BTabs: ComponentProps.BTabsProps\n BCollapse: ComponentProps.BCollapseProps\n BContainer: ComponentProps.BContainerProps\n BSpinner: ComponentProps.BSpinnerProps\n BAccordionItem: ComponentProps.BAccordionItemProps\n BAlert: ComponentProps.BAlertProps\n BAvatar: ComponentProps.BAvatarProps\n BAvatarGroup: ComponentProps.BAvatarGroupProps\n BBadge: ComponentProps.BBadgeProps\n BBreadcrumb: ComponentProps.BBreadcrumbProps\n BBreadcrumbItem: ComponentProps.BBreadcrumbItemProps\n BButton: ComponentProps.BButtonProps\n BButtonGroup: ComponentProps.BButtonGroupProps\n BButtonToolbar: ComponentProps.BButtonToolbarProps\n BCloseButton: ComponentProps.BCloseButtonProps\n BCard: ComponentProps.BCardProps\n BCardBody: ComponentProps.BCardBodyProps\n BCardGroup: ComponentProps.BCardGroupProps\n BCardSubtitle: ComponentProps.BCardSubtitleProps\n BCardText: ComponentProps.BCardTextProps\n BCardTitle: ComponentProps.BCardTitleProps\n BCarousel: ComponentProps.BCarouselProps\n BCarouselSlide: ComponentProps.BCarouselSlideProps\n BImg: ComponentProps.BImgProps\n BForm: ComponentProps.BFormProps\n BTableSimple: ComponentProps.BTableSimpleProps\n BTableLite: ComponentProps.BTableLiteProps<BTableLite>\n BTable: ComponentProps.BTableProps<BTable>\n BTr: ComponentProps.BTrProps\n BThead: ComponentProps.BTheadProps\n BTfoot: ComponentProps.BTfootProps\n BTd: ComponentProps.BTdProps\n BTbody: ComponentProps.BTbodyProps\n BTh: ComponentProps.BThProps\n BProgressBar: ComponentProps.BProgressBarProps\n BInputGroupAddon: ComponentProps.BInputGroupAddonProps\n BDropdown: ComponentProps.BDropdownProps\n BToast: ComponentProps.BToastProps\n BPopover: ComponentProps.BPopoverProps\n BTooltip: ComponentProps.BTooltipProps\n BModal: ComponentProps.BModalProps\n BCardFooter: ComponentProps.BCardFooterProps\n BCardHeader: ComponentProps.BCardHeaderProps\n BCardImg: ComponentProps.BCardImgProps\n BCol: ComponentProps.BColProps\n BDropdownForm: never\n BDropdownHeader: never\n BFormInvalidFeedback: ComponentProps.BFormInvalidFeedbackProps\n BFormValidFeedback: ComponentProps.BFormValidFeedbackProps\n BFormGroup: ComponentProps.BFormGroupProps\n BNavItemDropdown: ComponentProps.BDropdownProps\n BRow: ComponentProps.BRowProps\n BInput: ComponentProps.BFormInputProps\n BTimeField: ComponentProps.BTimeFieldProps\n BOtpInput: ComponentProps.BOtpInputProps\n BDateField: ComponentProps.BDateFieldProps\n BDatePicker: ComponentProps.BDatePickerProps\n BDateRangeField: ComponentProps.BDateRangeFieldProps\n BDateRangePicker: ComponentProps.BDateRangePickerProps\n BTimeRangeField: ComponentProps.BTimeRangeFieldProps\n showHide: ComponentProps.ShowHideProps\n}\n\nexport type BvnComponentProps = {\n [K in ComponentType]: UnmappedComponentProps[K]\n}\n\nexport type showHide = ComponentProps.ShowHideProps\n"],"mappings":";AAeA,IAAa,6BAA6B;CACxC,SAAS;CACT,YAAY;CACZ,gBAAgB;CAChB,QAAQ;CACR,MAAM;CACN,eAAe;CACf,SAAS;CACT,cAAc;CACd,QAAQ;CACR,aAAa;CACb,iBAAiB;CACjB,SAAS;CAC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AED,IAAa,6BAA6B;CACxC,aAAa;CACb,SAAS;CACT,WAAW;CACX,aAAa;CACb,UAAU;CACV,WAAW;CACZ;AACD,IAAa,iBAAiB,OAAO,OACnC,OAAO,KAAK,2BAA2B,CACxC;AAED,IAAa,8BAA8B;CACzC,eAAe;CACf,cAAc;CACd,UAAU;CACV,oBAAoB;CACpB,eAAe;CACf,cAAc;CACd,UAAU;CACV,oBAAoB;CACpB,WAAW;CACX,YAAY;CACZ,sBAAsB;CACtB,aAAa;CACb,oBAAoB;CACpB,yBAAyB;CAC1B;AACD,IAAa,kBAAkB,OAAO,OACpC,OAAO,KAAK,4BAA4B,CACzC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BootstrapVueOptions-BU3rzYio.mjs","names":[],"sources":["../src/types/BootstrapVueOptions.ts"],"sourcesContent":["import type * as ExportedComponents from '../components'\nimport type * as ExportedDirectives from '../directives'\nimport type * as ExportedComposables from '../composables'\nimport type * as ComponentProps from './ComponentProps'\n\ntype AllComponentsTyped = typeof ExportedComponents\n\nexport type ComponentType = keyof AllComponentsTyped\nexport type DirectiveType = keyof typeof ExportedDirectives\nexport type ComposableType = keyof typeof ExportedComposables\n\nexport type BvnComponents = {\n [K in ComponentType]: AllComponentsTyped[K]\n}\n\nexport const componentsWithExternalPath = {\n BAspect: '/components/BAspect',\n BAccordion: '/components/BAccordion',\n BAccordionItem: '/components/BAccordion',\n BAlert: '/components/BAlert',\n BApp: '/components/BApp',\n BAutocomplete: '/components/BAutocomplete',\n BAvatar: '/components/BAvatar',\n BAvatarGroup: '/components/BAvatar',\n BBadge: '/components/BBadge',\n BBreadcrumb: '/components/BBreadcrumb',\n BBreadcrumbItem: '/components/BBreadcrumb',\n BButton: '/components/BButton',\n BButtonGroup: '/components/BButton',\n BButtonToolbar: '/components/BButton',\n BCloseButton: '/components/BButton',\n BCard: '/components/BCard',\n BCardBody: '/components/BCard',\n BCardFooter: '/components/BCard',\n BCardGroup: '/components/BCard',\n BCardHeader: '/components/BCard',\n BCardImg: '/components/BCard',\n BCardSubtitle: '/components/BCard',\n BCardText: '/components/BCard',\n BCardTitle: '/components/BCard',\n BCarousel: '/components/BCarousel',\n BCarouselSlide: '/components/BCarousel',\n BCol: '/components/BContainer',\n BCollapse: '/components/BCollapse',\n BContainer: '/components/BContainer',\n BDateField: '/components/BDateField',\n BDatePicker: '/components/BDatePicker',\n BDateRangeField: '/components/BDateField',\n BDateRangePicker: '/components/BDatePicker',\n BDropdown: '/components/BDropdown',\n BDropdownDivider: '/components/BDropdown',\n BDropdownForm: '/components/BDropdown',\n BDropdownGroup: '/components/BDropdown',\n BDropdownHeader: '/components/BDropdown',\n BDropdownItem: '/components/BDropdown',\n BDropdownItemButton: '/components/BDropdown',\n BDropdownText: '/components/BDropdown',\n BForm: '/components/BForm',\n BFormCheckbox: '/components/BFormCheckbox',\n BFormCheckboxGroup: '/components/BFormCheckbox',\n BFormDatalist: '/components/BForm',\n BFormFile: '/components/BFormFile',\n BFormFloatingLabel: '/components/BForm',\n BFormGroup: '/components/BFormGroup',\n BFormInput: '/components/BFormInput',\n BFormInvalidFeedback: '/components/BForm',\n BFormRadio: '/components/BFormRadio',\n BFormRadioGroup: '/components/BFormRadio',\n BFormRating: '/components/BFormRating',\n BFormRow: '/components/BForm',\n BFormSelect: '/components/BFormSelect',\n BFormSelectOption: '/components/BFormSelect',\n BFormSelectOptionGroup: '/components/BFormSelect',\n BFormSpinbutton: '/components/BFormSpinbutton',\n BFormTag: '/components/BFormTags',\n BFormTags: '/components/BFormTags',\n BFormText: '/components/BForm',\n BFormTextarea: '/components/BFormTextarea',\n BFormValidFeedback: '/components/BForm',\n BImg: '/components/BImg',\n BInput: '/components/BFormInput',\n BInputGroup: '/components/BInputGroup',\n BInputGroupText: '/components/BInputGroup',\n BListGroup: '/components/BListGroup',\n BListGroupItem: '/components/BListGroup',\n BModal: '/components/BModal',\n BNav: '/components/BNav',\n BNavForm: '/components/BNav',\n BNavItem: '/components/BNav',\n BNavItemDropdown: '/components/BNav',\n BNavText: '/components/BNav',\n BNavbar: '/components/BNavbar',\n BNavbarBrand: '/components/BNavbar',\n BNavbarNav: '/components/BNavbar',\n BNavbarToggle: '/components/BNavbar',\n BOffcanvas: '/components/BOffcanvas',\n BOtpInput: '/components/BOtpInput',\n BOverlay: '/components/BOverlay',\n BOrchestrator: '/components/BApp',\n BPagination: '/components/BPagination',\n BPlaceholder: '/components/BPlaceholder',\n BPlaceholderButton: '/components/BPlaceholder',\n BPlaceholderCard: '/components/BPlaceholder',\n BPlaceholderTable: '/components/BPlaceholder',\n BPlaceholderWrapper: '/components/BPlaceholder',\n BPopover: '/components/BPopover',\n BProgress: '/components/BProgress',\n BRow: '/components/BContainer',\n BSpinner: '/components/BSpinner',\n BTab: '/components/BTabs',\n BTabs: '/components/BTabs',\n BToast: '/components/BToast',\n BTooltip: '/components/BTooltip',\n BLink: '/components/BLink',\n BProgressBar: '/components/BProgress',\n BTableSimple: '/components/BTable',\n BTableLite: '/components/BTable',\n BTable: '/components/BTable',\n BTbody: '/components/BTable',\n BTd: '/components/BTable',\n BTh: '/components/BTable',\n BThead: '/components/BTable',\n BTfoot: '/components/BTable',\n BTr: '/components/BTable',\n BTimeField: '/components/BTimeField',\n BTimeRangeField: '/components/BDateField',\n} as const satisfies Record<ComponentType, string>\nexport const componentNames = Object.freeze(\n Object.keys(componentsWithExternalPath) as ComponentType[]\n)\n\nexport const directivesWithExternalPath = {\n vBColorMode: '/directives/BColorMode',\n vBModal: '/directives/BModal',\n vBPopover: '/directives/BPopover',\n vBScrollspy: '/directives/BScrollspy',\n vBToggle: '/directives/BToggle',\n vBTooltip: '/directives/BTooltip',\n} as const satisfies Record<DirectiveType, string>\nexport const directiveNames = Object.freeze(\n Object.keys(directivesWithExternalPath) as DirectiveType[]\n)\n\nexport const composablesWithExternalPath = {\n useBreadcrumb: '/composables/useBreadcrumb',\n useColorMode: '/composables/useColorMode',\n useModal: '/composables/useModal',\n useModalController: '/composables/useModal',\n useScrollLock: '/composables/useScrollLock',\n useScrollspy: '/composables/useScrollspy',\n useToast: '/composables/useToast',\n useToastController: '/composables/useToast',\n useToggle: '/composables/useToggle',\n usePopover: '/composables/usePopover',\n usePopoverController: '/composables/usePopover',\n useRegistry: '/composables/useRegistry',\n useProvideDefaults: '/composables/useProvideDefaults',\n useOrchestratorRegistry: '/composables/orchestratorShared',\n} as const satisfies Record<ComposableType, string>\nexport const composableNames = Object.freeze(\n Object.keys(composablesWithExternalPath) as ComposableType[]\n)\n\nexport type ConfigurationOption<T extends string> = Partial<Record<T, boolean>> & {all: boolean}\nexport interface BootstrapVueOptions {\n /**\n * @default true\n */\n orchestrator?: boolean\n /**\n * @default true\n */\n registries?: boolean\n /**\n * @default false\n */\n rtl?:\n | boolean\n | {\n /**\n * @default false\n */\n rtlInitial: boolean\n /**\n * @default undefined\n */\n localeInitial: string | undefined\n }\n /**\n * @default true\n */\n components?: Partial<\n BvnComponentProps & {\n /**\n * @hint Globally sets all props with the matching name\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n global: Record<string, any>\n }\n >\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype UnmappedComponentProps<BFormSelectOption = any, BTableLite = any, BTable = any> = {\n BAspect: ComponentProps.BAspectProps\n BAutocomplete: ComponentProps.BAutocompleteProps\n BLink: ComponentProps.BLinkProps\n BAccordion: ComponentProps.BAccordionProps\n BApp: ComponentProps.BAppProps\n BDropdownDivider: ComponentProps.BDropdownDividerProps\n BDropdownGroup: ComponentProps.BDropdownGroupProps\n BDropdownItem: ComponentProps.BDropdownItemProps\n BDropdownItemButton: ComponentProps.BDropdownItemButtonProps\n BDropdownText: ComponentProps.BDropdownTextProps\n BFormFloatingLabel: ComponentProps.BFormFloatingLabelProps\n BFormRow: ComponentProps.BFormRowProps\n BFormText: ComponentProps.BFormTextProps\n BFormCheckbox: ComponentProps.BFormCheckboxProps\n BFormCheckboxGroup: ComponentProps.BFormCheckboxGroupProps\n BFormDatalist: ComponentProps.BFormDatalistProps\n BFormFile: ComponentProps.BFormFileProps\n BFormInput: ComponentProps.BFormInputProps\n BFormRadio: ComponentProps.BFormRadioProps\n BFormRadioGroup: ComponentProps.BFormRadioGroupProps\n BFormRating: ComponentProps.BFormRatingProps\n BFormSelect: ComponentProps.BFormSelectProps\n BFormSelectOption: ComponentProps.BFormSelectOptionProps<BFormSelectOption>\n BFormSelectOptionGroup: ComponentProps.BFormSelectOptionGroupProps\n BFormSpinbutton: ComponentProps.BFormSpinbuttonProps\n BFormTag: ComponentProps.BFormTagProps\n BFormTags: ComponentProps.BFormTagsProps\n BFormTextarea: ComponentProps.BFormTextareaProps\n BInputGroup: ComponentProps.BInputGroupProps\n BInputGroupText: ComponentProps.BInputGroupTextProps\n BListGroup: ComponentProps.BListGroupProps\n BListGroupItem: ComponentProps.BListGroupItemProps\n BNav: ComponentProps.BNavProps\n BNavForm: ComponentProps.BNavFormProps\n BNavItem: ComponentProps.BNavItemProps\n BNavText: ComponentProps.BNavTextProps\n BNavbar: ComponentProps.BNavbarProps\n BNavbarBrand: ComponentProps.BNavbarBrandProps\n BNavbarNav: ComponentProps.BNavbarNavProps\n BNavbarToggle: ComponentProps.BNavbarToggleProps\n BOffcanvas: ComponentProps.BOffcanvasProps\n BOrchestrator: ComponentProps.BAppProps\n BOverlay: ComponentProps.BOverlayProps\n BPagination: ComponentProps.BPaginationProps\n BPlaceholder: ComponentProps.BPlaceholderProps\n BPlaceholderButton: ComponentProps.BPlaceholderButtonProps\n BPlaceholderCard: ComponentProps.BPlaceholderCardProps\n BPlaceholderTable: ComponentProps.BPlaceholderTableProps\n BPlaceholderWrapper: ComponentProps.BPlaceholderWrapperProps\n BProgress: ComponentProps.BProgressProps\n BTab: ComponentProps.BTabProps\n BTabs: ComponentProps.BTabsProps\n BCollapse: ComponentProps.BCollapseProps\n BContainer: ComponentProps.BContainerProps\n BSpinner: ComponentProps.BSpinnerProps\n BAccordionItem: ComponentProps.BAccordionItemProps\n BAlert: ComponentProps.BAlertProps\n BAvatar: ComponentProps.BAvatarProps\n BAvatarGroup: ComponentProps.BAvatarGroupProps\n BBadge: ComponentProps.BBadgeProps\n BBreadcrumb: ComponentProps.BBreadcrumbProps\n BBreadcrumbItem: ComponentProps.BBreadcrumbItemProps\n BButton: ComponentProps.BButtonProps\n BButtonGroup: ComponentProps.BButtonGroupProps\n BButtonToolbar: ComponentProps.BButtonToolbarProps\n BCloseButton: ComponentProps.BCloseButtonProps\n BCard: ComponentProps.BCardProps\n BCardBody: ComponentProps.BCardBodyProps\n BCardGroup: ComponentProps.BCardGroupProps\n BCardSubtitle: ComponentProps.BCardSubtitleProps\n BCardText: ComponentProps.BCardTextProps\n BCardTitle: ComponentProps.BCardTitleProps\n BCarousel: ComponentProps.BCarouselProps\n BCarouselSlide: ComponentProps.BCarouselSlideProps\n BImg: ComponentProps.BImgProps\n BForm: ComponentProps.BFormProps\n BTableSimple: ComponentProps.BTableSimpleProps\n BTableLite: ComponentProps.BTableLiteProps<BTableLite>\n BTable: ComponentProps.BTableProps<BTable>\n BTr: ComponentProps.BTrProps\n BThead: ComponentProps.BTheadProps\n BTfoot: ComponentProps.BTfootProps\n BTd: ComponentProps.BTdProps\n BTbody: ComponentProps.BTbodyProps\n BTh: ComponentProps.BThProps\n BProgressBar: ComponentProps.BProgressBarProps\n BInputGroupAddon: ComponentProps.BInputGroupAddonProps\n BDropdown: ComponentProps.BDropdownProps\n BToast: ComponentProps.BToastProps\n BPopover: ComponentProps.BPopoverProps\n BTooltip: ComponentProps.BTooltipProps\n BModal: ComponentProps.BModalProps\n BCardFooter: ComponentProps.BCardFooterProps\n BCardHeader: ComponentProps.BCardHeaderProps\n BCardImg: ComponentProps.BCardImgProps\n BCol: ComponentProps.BColProps\n BDropdownForm: never\n BDropdownHeader: never\n BFormInvalidFeedback: ComponentProps.BFormInvalidFeedbackProps\n BFormValidFeedback: ComponentProps.BFormValidFeedbackProps\n BFormGroup: ComponentProps.BFormGroupProps\n BNavItemDropdown: ComponentProps.BDropdownProps\n BRow: ComponentProps.BRowProps\n BInput: ComponentProps.BFormInputProps\n BTimeField: ComponentProps.BTimeFieldProps\n BOtpInput: ComponentProps.BOtpInputProps\n BDateField: ComponentProps.BDateFieldProps\n BDatePicker: ComponentProps.BDatePickerProps\n BDateRangeField: ComponentProps.BDateRangeFieldProps\n BDateRangePicker: ComponentProps.BDateRangePickerProps\n BTimeRangeField: ComponentProps.BTimeRangeFieldProps\n showHide: ComponentProps.ShowHideProps\n}\n\nexport type BvnComponentProps = {\n [K in ComponentType]: UnmappedComponentProps[K]\n}\n\nexport type showHide = ComponentProps.ShowHideProps\n"],"mappings":";AAeA,IAAa,6BAA6B;CACxC,SAAS;CACT,YAAY;CACZ,gBAAgB;CAChB,QAAQ;CACR,MAAM;CACN,eAAe;CACf,SAAS;CACT,cAAc;CACd,QAAQ;CACR,aAAa;CACb,iBAAiB;CACjB,SAAS;CACT,cAAc;CACd,gBAAgB;CAChB,cAAc;CACd,OAAO;CACP,WAAW;CACX,aAAa;CACb,YAAY;CACZ,aAAa;CACb,UAAU;CACV,eAAe;CACf,WAAW;CACX,YAAY;CACZ,WAAW;CACX,gBAAgB;CAChB,MAAM;CACN,WAAW;CACX,YAAY;CACZ,YAAY;CACZ,aAAa;CACb,iBAAiB;CACjB,kBAAkB;CAClB,WAAW;CACX,kBAAkB;CAClB,eAAe;CACf,gBAAgB;CAChB,iBAAiB;CACjB,eAAe;CACf,qBAAqB;CACrB,eAAe;CACf,OAAO;CACP,eAAe;CACf,oBAAoB;CACpB,eAAe;CACf,WAAW;CACX,oBAAoB;CACpB,YAAY;CACZ,YAAY;CACZ,sBAAsB;CACtB,YAAY;CACZ,iBAAiB;CACjB,aAAa;CACb,UAAU;CACV,aAAa;CACb,mBAAmB;CACnB,wBAAwB;CACxB,iBAAiB;CACjB,UAAU;CACV,WAAW;CACX,WAAW;CACX,eAAe;CACf,oBAAoB;CACpB,MAAM;CACN,QAAQ;CACR,aAAa;CACb,iBAAiB;CACjB,YAAY;CACZ,gBAAgB;CAChB,QAAQ;CACR,MAAM;CACN,UAAU;CACV,UAAU;CACV,kBAAkB;CAClB,UAAU;CACV,SAAS;CACT,cAAc;CACd,YAAY;CACZ,eAAe;CACf,YAAY;CACZ,WAAW;CACX,UAAU;CACV,eAAe;CACf,aAAa;CACb,cAAc;CACd,oBAAoB;CACpB,kBAAkB;CAClB,mBAAmB;CACnB,qBAAqB;CACrB,UAAU;CACV,WAAW;CACX,MAAM;CACN,UAAU;CACV,MAAM;CACN,OAAO;CACP,QAAQ;CACR,UAAU;CACV,OAAO;CACP,cAAc;CACd,cAAc;CACd,YAAY;CACZ,QAAQ;CACR,QAAQ;CACR,KAAK;CACL,KAAK;CACL,QAAQ;CACR,QAAQ;CACR,KAAK;CACL,YAAY;CACZ,iBAAiB;CAClB;AACD,IAAa,iBAAiB,OAAO,OACnC,OAAO,KAAK,2BAA2B,CACxC;AAED,IAAa,6BAA6B;CACxC,aAAa;CACb,SAAS;CACT,WAAW;CACX,aAAa;CACb,UAAU;CACV,WAAW;CACZ;AACD,IAAa,iBAAiB,OAAO,OACnC,OAAO,KAAK,2BAA2B,CACxC;AAED,IAAa,8BAA8B;CACzC,eAAe;CACf,cAAc;CACd,UAAU;CACV,oBAAoB;CACpB,eAAe;CACf,cAAc;CACd,UAAU;CACV,oBAAoB;CACpB,WAAW;CACX,YAAY;CACZ,sBAAsB;CACtB,aAAa;CACb,oBAAoB;CACpB,yBAAyB;CAC1B;AACD,IAAa,kBAAkB,OAAO,OACpC,OAAO,KAAK,4BAA4B,CACzC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as BOtpInput } from './BOtpInput.vue';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as BOtpInput } from './BOtpInput.vue';
|