bootstrap-vue-next 1.2.4 → 1.2.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.
Files changed (167) hide show
  1. package/dist/{BAccordion-ByAMZCS9.js → BAccordion-BfaVicrj.js} +2 -2
  2. package/dist/{BAccordion-ByAMZCS9.js.map → BAccordion-BfaVicrj.js.map} +1 -1
  3. package/dist/{BAlert-DdfFcjWF.js → BAlert-Czy83dU3.js} +5 -5
  4. package/dist/{BAlert-DdfFcjWF.js.map → BAlert-Czy83dU3.js.map} +1 -1
  5. package/dist/BAutocomplete-Bh4Bp5AI.js +437 -0
  6. package/dist/BAutocomplete-Bh4Bp5AI.js.map +1 -0
  7. package/dist/{BAvatar-BsStQrBF.js → BAvatar-BJNeQ1fe.js} +2 -2
  8. package/dist/{BAvatar-BsStQrBF.js.map → BAvatar-BJNeQ1fe.js.map} +1 -1
  9. package/dist/{BButton-KZu5jczf.js → BButton-DlOQ5sem.js} +2 -2
  10. package/dist/{BButton-KZu5jczf.js.map → BButton-DlOQ5sem.js.map} +1 -1
  11. package/dist/{BCard-DELccMG-.js → BCard-Bc1wed-3.js} +2 -2
  12. package/dist/{BCard-DELccMG-.js.map → BCard-Bc1wed-3.js.map} +1 -1
  13. package/dist/{BCarousel-qHGRSVFe.js → BCarousel-B-WZR469.js} +3 -4
  14. package/dist/{BCarousel-qHGRSVFe.js.map → BCarousel-B-WZR469.js.map} +1 -1
  15. package/dist/{BCollapse-DtuJwN7B.js → BCollapse-DCjKiTxo.js} +2 -2
  16. package/dist/{BCollapse-DtuJwN7B.js.map → BCollapse-DCjKiTxo.js.map} +1 -1
  17. package/dist/BDateField-Oh-cU-4i.js +456 -0
  18. package/dist/BDateField-Oh-cU-4i.js.map +1 -0
  19. package/dist/BDatePicker-HNI11eCe.js +632 -0
  20. package/dist/BDatePicker-HNI11eCe.js.map +1 -0
  21. package/dist/{BDropdown-BY-E0SHv.js → BDropdown-04nGcMhm.js} +6 -7
  22. package/dist/{BDropdown-BY-E0SHv.js.map → BDropdown-04nGcMhm.js.map} +1 -1
  23. package/dist/{BFormCheckbox-BYNGQgr2.js → BFormCheckbox-zjr8OsNd.js} +2 -2
  24. package/dist/{BFormCheckbox-BYNGQgr2.js.map → BFormCheckbox-zjr8OsNd.js.map} +1 -1
  25. package/dist/{BFormFile-C2DnrbK7.js → BFormFile-D_s8tf1m.js} +2 -2
  26. package/dist/{BFormFile-C2DnrbK7.js.map → BFormFile-D_s8tf1m.js.map} +1 -1
  27. package/dist/{BFormInput-_AkAy6Wk.js → BFormInput-DnIBPLCx.js} +2 -2
  28. package/dist/{BFormInput-_AkAy6Wk.js.map → BFormInput-DnIBPLCx.js.map} +1 -1
  29. package/dist/BFormOtp-Dx2RxPAW.js +150 -0
  30. package/dist/BFormOtp-Dx2RxPAW.js.map +1 -0
  31. package/dist/{BFormRadio-DAddcnfE.js → BFormRadio-DUz60sBI.js} +2 -2
  32. package/dist/{BFormRadio-DAddcnfE.js.map → BFormRadio-DUz60sBI.js.map} +1 -1
  33. package/dist/{BFormRating-iKFgSFet.js → BFormRating-CtMmDgrF.js} +2 -2
  34. package/dist/{BFormRating-iKFgSFet.js.map → BFormRating-CtMmDgrF.js.map} +1 -1
  35. package/dist/{BFormSelect-CSS-_kul.js → BFormSelect-CeslPN3i.js} +2 -3
  36. package/dist/{BFormSelect-CSS-_kul.js.map → BFormSelect-CeslPN3i.js.map} +1 -1
  37. package/dist/{BFormSpinbutton-fkVMbQC3.js → BFormSpinbutton-BR9YTfYy.js} +2 -3
  38. package/dist/{BFormSpinbutton-fkVMbQC3.js.map → BFormSpinbutton-BR9YTfYy.js.map} +1 -1
  39. package/dist/{BFormTags-CUcyRTCK.js → BFormTags-6qQn0Vlv.js} +2 -3
  40. package/dist/{BFormTags-CUcyRTCK.js.map → BFormTags-6qQn0Vlv.js.map} +1 -1
  41. package/dist/{BFormTextarea-CBBlEcrV.js → BFormTextarea-DvLrtG08.js} +3 -3
  42. package/dist/{BFormTextarea-CBBlEcrV.js.map → BFormTextarea-DvLrtG08.js.map} +1 -1
  43. package/dist/{BImg-knz2UZQE.js → BImg-Dd8Pc1Ln.js} +2 -2
  44. package/dist/{BImg-knz2UZQE.js.map → BImg-Dd8Pc1Ln.js.map} +1 -1
  45. package/dist/{BModal-DtQlIFNn.js → BModal-DOmTYI6F.js} +5 -6
  46. package/dist/{BModal-DtQlIFNn.js.map → BModal-DOmTYI6F.js.map} +1 -1
  47. package/dist/{BNav-BMWNXoNo.js → BNav-D3XbyI1R.js} +2 -2
  48. package/dist/{BNav-BMWNXoNo.js.map → BNav-D3XbyI1R.js.map} +1 -1
  49. package/dist/{BOffcanvas-BtvIDgH7.js → BOffcanvas-DyPG7s8I.js} +5 -5
  50. package/dist/{BOffcanvas-BtvIDgH7.js.map → BOffcanvas-DyPG7s8I.js.map} +1 -1
  51. package/dist/{BPagination-C85wHRgS.js → BPagination-DGvgWeYG.js} +2 -2
  52. package/dist/{BPagination-C85wHRgS.js.map → BPagination-DGvgWeYG.js.map} +1 -1
  53. package/dist/{BPlaceholder-DI12zz0a.js → BPlaceholder-BrBmbfIg.js} +3 -3
  54. package/dist/{BPlaceholder-DI12zz0a.js.map → BPlaceholder-BrBmbfIg.js.map} +1 -1
  55. package/dist/{BProgress-BNxYppi-.js → BProgress-CXhe6hsN.js} +2 -2
  56. package/dist/{BProgress-BNxYppi-.js.map → BProgress-CXhe6hsN.js.map} +1 -1
  57. package/dist/{BTable-BZxX17YU.js → BTable-8jp3wPAI.js} +2 -2
  58. package/dist/{BTable-BZxX17YU.js.map → BTable-8jp3wPAI.js.map} +1 -1
  59. package/dist/BTimeField-vdultTwg.js +138 -0
  60. package/dist/BTimeField-vdultTwg.js.map +1 -0
  61. package/dist/{BToast-Cm7TZlZq.js → BToast-vxfpFGe3.js} +5 -5
  62. package/dist/{BToast-Cm7TZlZq.js.map → BToast-vxfpFGe3.js.map} +1 -1
  63. package/dist/{BTooltip-CAgQ77tS.js → BTooltip-CV5Ogidy.js} +2 -2
  64. package/dist/{BTooltip-CAgQ77tS.js.map → BTooltip-CV5Ogidy.js.map} +1 -1
  65. package/dist/bootstrap-vue-next.mjs +33 -33
  66. package/dist/{floatingUi-CSJCHfOw.js → floatingUi-BhgR4GBJ.js} +10 -168
  67. package/dist/floatingUi-BhgR4GBJ.js.map +1 -0
  68. package/dist/rolldown-runtime-D7D4PA-g.js +13 -0
  69. package/dist/src/components/BAccordion/index.mjs +1 -1
  70. package/dist/src/components/BAlert/index.mjs +1 -1
  71. package/dist/src/components/BAutocomplete/index.mjs +1 -1
  72. package/dist/src/components/BAvatar/index.mjs +1 -1
  73. package/dist/src/components/BButton/index.mjs +1 -1
  74. package/dist/src/components/BCard/index.mjs +1 -1
  75. package/dist/src/components/BCarousel/index.mjs +1 -1
  76. package/dist/src/components/BCollapse/index.mjs +1 -1
  77. package/dist/src/components/BDateField/index.mjs +1 -1
  78. package/dist/src/components/BDatePicker/index.mjs +1 -1
  79. package/dist/src/components/BDropdown/index.mjs +1 -1
  80. package/dist/src/components/BFormCheckbox/index.mjs +1 -1
  81. package/dist/src/components/BFormFile/index.mjs +1 -1
  82. package/dist/src/components/BFormInput/index.mjs +1 -1
  83. package/dist/src/components/BFormOtp/index.mjs +1 -1
  84. package/dist/src/components/BFormRadio/index.mjs +1 -1
  85. package/dist/src/components/BFormRating/index.mjs +1 -1
  86. package/dist/src/components/BFormSelect/index.mjs +1 -1
  87. package/dist/src/components/BFormSpinbutton/index.mjs +1 -1
  88. package/dist/src/components/BFormTags/index.mjs +1 -1
  89. package/dist/src/components/BFormTextarea/index.mjs +1 -1
  90. package/dist/src/components/BImg/index.mjs +1 -1
  91. package/dist/src/components/BModal/index.mjs +1 -1
  92. package/dist/src/components/BNav/index.mjs +1 -1
  93. package/dist/src/components/BOffcanvas/index.mjs +1 -1
  94. package/dist/src/components/BPagination/index.mjs +1 -1
  95. package/dist/src/components/BPlaceholder/index.mjs +1 -1
  96. package/dist/src/components/BPopover/index.mjs +1 -1
  97. package/dist/src/components/BProgress/index.mjs +1 -1
  98. package/dist/src/components/BTable/index.mjs +1 -1
  99. package/dist/src/components/BTimeField/index.mjs +1 -1
  100. package/dist/src/components/BToast/index.mjs +1 -1
  101. package/dist/src/components/BTooltip/index.mjs +1 -1
  102. package/dist/src/components/index.mjs +34 -34
  103. package/dist/src/composables/index.mjs +1 -1
  104. package/dist/src/composables/useColorMode/index.mjs +1 -1
  105. package/dist/src/composables/useModal/index.mjs +1 -1
  106. package/dist/src/composables/usePopover/index.mjs +2 -2
  107. package/dist/src/composables/useScrollLock/index.mjs +1 -2
  108. package/dist/src/composables/useScrollLock/index.mjs.map +1 -1
  109. package/dist/src/composables/useScrollspy/index.mjs +1 -2
  110. package/dist/src/composables/useScrollspy/index.mjs.map +1 -1
  111. package/dist/src/composables/useToast/index.mjs +1 -1
  112. package/dist/src/directives/BPopover/index.mjs +2 -2
  113. package/dist/src/directives/BScrollspy/index.mjs +1 -1
  114. package/dist/src/directives/BToggle/index.mjs +1 -1
  115. package/dist/src/directives/BTooltip/index.mjs +2 -2
  116. package/dist/src/directives/index.mjs +1 -1
  117. package/dist/src/plugins/index.mjs +1 -1
  118. package/dist/src/resolvers/index.mjs +1 -1
  119. package/dist/src/types/index.mjs +1 -1
  120. package/dist/src/utils/index.mjs +1 -1
  121. package/dist/{useCountdownHover-BN8vJIQW.js → useCountdownHover-HZSJZkHq.js} +2 -2
  122. package/dist/{useCountdownHover-BN8vJIQW.js.map → useCountdownHover-HZSJZkHq.js.map} +1 -1
  123. package/dist/{useFormInput-C-iXRxog.js → useFormInput-CMtXFoM2.js} +2 -3
  124. package/dist/{useFormInput-C-iXRxog.js.map → useFormInput-CMtXFoM2.js.map} +1 -1
  125. package/dist/useSafeScrollLock-BT4KKhxB.js +89 -0
  126. package/dist/useSafeScrollLock-BT4KKhxB.js.map +1 -0
  127. package/dist/{useShowHide-Dpld86ys.js → useShowHide-BLIZLD9E.js} +2 -3
  128. package/dist/{useShowHide-Dpld86ys.js.map → useShowHide-BLIZLD9E.js.map} +1 -1
  129. package/dist/{utils-DYdkCKBf.js → utils-CvjliJBf.js} +2 -2
  130. package/dist/{utils-DYdkCKBf.js.map → utils-CvjliJBf.js.map} +1 -1
  131. package/package.json +3 -23
  132. package/dist/BAutocomplete-BFbbKtpz.js +0 -2490
  133. package/dist/BAutocomplete-BFbbKtpz.js.map +0 -1
  134. package/dist/BDateField-Bj-Jz7u4.js +0 -906
  135. package/dist/BDateField-Bj-Jz7u4.js.map +0 -1
  136. package/dist/BDatePicker-AVTYcVLy.js +0 -5210
  137. package/dist/BDatePicker-AVTYcVLy.js.map +0 -1
  138. package/dist/BFormOtp-ClDACqXM.js +0 -577
  139. package/dist/BFormOtp-ClDACqXM.js.map +0 -1
  140. package/dist/BTimeField-CbRGjaI6.js +0 -516
  141. package/dist/BTimeField-CbRGjaI6.js.map +0 -1
  142. package/dist/DateRangeFieldInput-Cbzjg8iF.js +0 -761
  143. package/dist/DateRangeFieldInput-Cbzjg8iF.js.map +0 -1
  144. package/dist/PopperContent-C9eeL6LH.js +0 -1726
  145. package/dist/PopperContent-C9eeL6LH.js.map +0 -1
  146. package/dist/VisuallyHidden-BYzyjJiY.js +0 -182
  147. package/dist/VisuallyHidden-BYzyjJiY.js.map +0 -1
  148. package/dist/VisuallyHiddenInput-CUrc8XXa.js +0 -180
  149. package/dist/VisuallyHiddenInput-CUrc8XXa.js.map +0 -1
  150. package/dist/dist-9-XTMhb-.js +0 -1302
  151. package/dist/dist-9-XTMhb-.js.map +0 -1
  152. package/dist/dist-B-regXAP.js +0 -123
  153. package/dist/dist-B-regXAP.js.map +0 -1
  154. package/dist/dist-DKc2ivHS.js +0 -411
  155. package/dist/dist-DKc2ivHS.js.map +0 -1
  156. package/dist/floating-ui.dom-C7UZexJK.js +0 -1484
  157. package/dist/floating-ui.dom-C7UZexJK.js.map +0 -1
  158. package/dist/floatingUi-CSJCHfOw.js.map +0 -1
  159. package/dist/rolldown-runtime-BBjsoOtd.js +0 -27
  160. package/dist/useDateField-CQZb799C.js +0 -3679
  161. package/dist/useDateField-CQZb799C.js.map +0 -1
  162. package/dist/useForwardExpose-DDvk7mir.js +0 -60
  163. package/dist/useForwardExpose-DDvk7mir.js.map +0 -1
  164. package/dist/useKbd-DRsaFU_f.js +0 -76
  165. package/dist/useKbd-DRsaFU_f.js.map +0 -1
  166. package/dist/useSafeScrollLock-PVgSASYu.js +0 -1326
  167. package/dist/useSafeScrollLock-PVgSASYu.js.map +0 -1
@@ -1,180 +0,0 @@
1
- import { n as usePrimitiveElement, t as VisuallyHidden_default } from "./VisuallyHidden-BYzyjJiY.js";
2
- import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, defineComponent, mergeProps, nextTick, openBlock, ref, renderList, watch } from "vue";
3
- //#region ../../node_modules/.pnpm/reka-ui@2.10.3_vue@3.5.41_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useComposing.js
4
- var imeScriptRE = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Bopomofo}]/u;
5
- var androidRE = /android/i;
6
- function isAndroid() {
7
- return typeof navigator !== "undefined" && androidRE.test(navigator.userAgent);
8
- }
9
- function useComposing(onEnd) {
10
- const isComposing = ref(false);
11
- const isImeComposition = ref(true);
12
- const sawImeScript = ref(false);
13
- const shouldDeferInput = computed(() => isComposing.value && isImeComposition.value);
14
- function handleCompositionStart() {
15
- isComposing.value = true;
16
- isImeComposition.value = true;
17
- sawImeScript.value = false;
18
- }
19
- function handleCompositionUpdate(event) {
20
- if (!event.data) return;
21
- if (imeScriptRE.test(event.data)) {
22
- isImeComposition.value = true;
23
- sawImeScript.value = true;
24
- } else if (isAndroid() && !sawImeScript.value) isImeComposition.value = false;
25
- }
26
- function handleCompositionEnd(event) {
27
- nextTick(() => {
28
- isComposing.value = false;
29
- onEnd?.(event);
30
- });
31
- }
32
- return {
33
- isComposing,
34
- shouldDeferInput,
35
- handleCompositionStart,
36
- handleCompositionUpdate,
37
- handleCompositionEnd
38
- };
39
- }
40
- //#endregion
41
- //#region ../../node_modules/.pnpm/reka-ui@2.10.3_vue@3.5.41_typescript@5.9.3_/node_modules/reka-ui/dist/VisuallyHidden/VisuallyHiddenInputBubble.js
42
- var VisuallyHiddenInputBubble_default = /* @__PURE__ */ defineComponent({
43
- inheritAttrs: false,
44
- __name: "VisuallyHiddenInputBubble",
45
- props: {
46
- name: {
47
- type: String,
48
- required: true
49
- },
50
- value: {
51
- type: null,
52
- required: true
53
- },
54
- checked: {
55
- type: Boolean,
56
- required: false,
57
- default: void 0
58
- },
59
- required: {
60
- type: Boolean,
61
- required: false
62
- },
63
- disabled: {
64
- type: Boolean,
65
- required: false
66
- },
67
- feature: {
68
- type: String,
69
- required: false,
70
- default: "fully-hidden"
71
- }
72
- },
73
- setup(__props) {
74
- const props = __props;
75
- const { primitiveElement, currentElement } = usePrimitiveElement();
76
- const valueState = computed(() => props.checked ?? props.value);
77
- watch(valueState, (cur, prev) => {
78
- if (!currentElement.value) return;
79
- const input = currentElement.value;
80
- const inputProto = window.HTMLInputElement.prototype;
81
- const setValue = Object.getOwnPropertyDescriptor(inputProto, "value").set;
82
- if (setValue && cur !== prev) {
83
- const inputEvent = new Event("input", { bubbles: true });
84
- const changeEvent = new Event("change", { bubbles: true });
85
- setValue.call(input, cur);
86
- input.dispatchEvent(inputEvent);
87
- input.dispatchEvent(changeEvent);
88
- }
89
- });
90
- return (_ctx, _cache) => {
91
- return openBlock(), createBlock(VisuallyHidden_default, mergeProps({
92
- ref_key: "primitiveElement",
93
- ref: primitiveElement
94
- }, {
95
- ...props,
96
- ..._ctx.$attrs
97
- }, { as: "input" }), null, 16);
98
- };
99
- }
100
- });
101
- //#endregion
102
- //#region ../../node_modules/.pnpm/reka-ui@2.10.3_vue@3.5.41_typescript@5.9.3_/node_modules/reka-ui/dist/VisuallyHidden/VisuallyHiddenInput.js
103
- var VisuallyHiddenInput_default = /* @__PURE__ */ defineComponent({
104
- inheritAttrs: false,
105
- __name: "VisuallyHiddenInput",
106
- props: {
107
- name: {
108
- type: String,
109
- required: true
110
- },
111
- value: {
112
- type: null,
113
- required: true
114
- },
115
- checked: {
116
- type: Boolean,
117
- required: false,
118
- default: void 0
119
- },
120
- required: {
121
- type: Boolean,
122
- required: false
123
- },
124
- disabled: {
125
- type: Boolean,
126
- required: false
127
- },
128
- feature: {
129
- type: String,
130
- required: false,
131
- default: "fully-hidden"
132
- }
133
- },
134
- setup(__props) {
135
- const props = __props;
136
- const isFormArrayEmptyAndRequired = computed(() => typeof props.value === "object" && Array.isArray(props.value) && props.value.length === 0 && props.required);
137
- const parsedValue = computed(() => {
138
- if (typeof props.value === "string" || typeof props.value === "number" || typeof props.value === "boolean" || props.value === null || props.value === void 0) return [{
139
- name: props.name,
140
- value: props.value
141
- }];
142
- else if (typeof props.value === "object" && Array.isArray(props.value)) return props.value.flatMap((obj, index) => {
143
- if (typeof obj === "object") return Object.entries(obj).map(([key, value]) => ({
144
- name: `${props.name}[${index}][${key}]`,
145
- value
146
- }));
147
- else return {
148
- name: `${props.name}[${index}]`,
149
- value: obj
150
- };
151
- });
152
- else if (props.value !== null && typeof props.value === "object" && !Array.isArray(props.value)) return Object.entries(props.value).map(([key, value]) => ({
153
- name: `${props.name}[${key}]`,
154
- value
155
- }));
156
- return [];
157
- });
158
- return (_ctx, _cache) => {
159
- return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" We render single input if it's required "), isFormArrayEmptyAndRequired.value ? (openBlock(), createBlock(VisuallyHiddenInputBubble_default, mergeProps({ key: _ctx.name }, {
160
- ...props,
161
- ..._ctx.$attrs
162
- }, {
163
- name: _ctx.name,
164
- value: _ctx.value
165
- }), null, 16, ["name", "value"])) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(parsedValue.value, (parsed) => {
166
- return openBlock(), createBlock(VisuallyHiddenInputBubble_default, mergeProps({ key: parsed.name }, { ref_for: true }, {
167
- ...props,
168
- ..._ctx.$attrs
169
- }, {
170
- name: parsed.name,
171
- value: parsed.value
172
- }), null, 16, ["name", "value"]);
173
- }), 128))], 2112);
174
- };
175
- }
176
- });
177
- //#endregion
178
- export { useComposing as n, VisuallyHiddenInput_default as t };
179
-
180
- //# sourceMappingURL=VisuallyHiddenInput-CUrc8XXa.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VisuallyHiddenInput-CUrc8XXa.js","names":[],"sources":["../../../node_modules/.pnpm/reka-ui@2.10.3_vue@3.5.41_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useComposing.js","../../../node_modules/.pnpm/reka-ui@2.10.3_vue@3.5.41_typescript@5.9.3_/node_modules/reka-ui/dist/VisuallyHidden/VisuallyHiddenInputBubble.js","../../../node_modules/.pnpm/reka-ui@2.10.3_vue@3.5.41_typescript@5.9.3_/node_modules/reka-ui/dist/VisuallyHidden/VisuallyHiddenInput.js"],"sourcesContent":["import { computed, nextTick, ref } from \"vue\";\n\n//#region src/shared/useComposing.ts\nconst imeScriptRE = /[\\p{Script=Han}\\p{Script=Hiragana}\\p{Script=Katakana}\\p{Script=Hangul}\\p{Script=Bopomofo}]/u;\nconst androidRE = /android/i;\nfunction isAndroid() {\n\treturn typeof navigator !== \"undefined\" && androidRE.test(navigator.userAgent);\n}\nfunction useComposing(onEnd) {\n\tconst isComposing = ref(false);\n\tconst isImeComposition = ref(true);\n\tconst sawImeScript = ref(false);\n\tconst shouldDeferInput = computed(() => isComposing.value && isImeComposition.value);\n\tfunction handleCompositionStart() {\n\t\tisComposing.value = true;\n\t\tisImeComposition.value = true;\n\t\tsawImeScript.value = false;\n\t}\n\tfunction handleCompositionUpdate(event) {\n\t\tif (!event.data) return;\n\t\tif (imeScriptRE.test(event.data)) {\n\t\t\tisImeComposition.value = true;\n\t\t\tsawImeScript.value = true;\n\t\t} else if (isAndroid() && !sawImeScript.value) isImeComposition.value = false;\n\t}\n\tfunction handleCompositionEnd(event) {\n\t\tnextTick(() => {\n\t\t\tisComposing.value = false;\n\t\t\tonEnd?.(event);\n\t\t});\n\t}\n\treturn {\n\t\tisComposing,\n\t\tshouldDeferInput,\n\t\thandleCompositionStart,\n\t\thandleCompositionUpdate,\n\t\thandleCompositionEnd\n\t};\n}\n\n//#endregion\nexport { useComposing };\n//# sourceMappingURL=useComposing.js.map","import { usePrimitiveElement } from \"../Primitive/usePrimitiveElement.js\";\nimport { VisuallyHidden_default } from \"./VisuallyHidden.js\";\nimport { computed, createBlock, defineComponent, mergeProps, openBlock, watch } from \"vue\";\n\n//#region src/VisuallyHidden/VisuallyHiddenInputBubble.vue?vue&type=script&setup=true&lang.ts\nvar VisuallyHiddenInputBubble_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\tinheritAttrs: false,\n\t__name: \"VisuallyHiddenInputBubble\",\n\tprops: {\n\t\tname: {\n\t\t\ttype: String,\n\t\t\trequired: true\n\t\t},\n\t\tvalue: {\n\t\t\ttype: null,\n\t\t\trequired: true\n\t\t},\n\t\tchecked: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false,\n\t\t\tdefault: void 0\n\t\t},\n\t\trequired: {\n\t\t\ttype: Boolean,\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\tfeature: {\n\t\t\ttype: String,\n\t\t\trequired: false,\n\t\t\tdefault: \"fully-hidden\"\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst props = __props;\n\t\tconst { primitiveElement, currentElement } = usePrimitiveElement();\n\t\tconst valueState = computed(() => props.checked ?? props.value);\n\t\twatch(valueState, (cur, prev) => {\n\t\t\tif (!currentElement.value) return;\n\t\t\tconst input = currentElement.value;\n\t\t\tconst inputProto = window.HTMLInputElement.prototype;\n\t\t\tconst descriptor = Object.getOwnPropertyDescriptor(inputProto, \"value\");\n\t\t\tconst setValue = descriptor.set;\n\t\t\tif (setValue && cur !== prev) {\n\t\t\t\tconst inputEvent = new Event(\"input\", { bubbles: true });\n\t\t\t\tconst changeEvent = new Event(\"change\", { bubbles: true });\n\t\t\t\tsetValue.call(input, cur);\n\t\t\t\tinput.dispatchEvent(inputEvent);\n\t\t\t\tinput.dispatchEvent(changeEvent);\n\t\t\t}\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createBlock(VisuallyHidden_default, mergeProps({\n\t\t\t\tref_key: \"primitiveElement\",\n\t\t\t\tref: primitiveElement\n\t\t\t}, {\n\t\t\t\t...props,\n\t\t\t\t..._ctx.$attrs\n\t\t\t}, { as: \"input\" }), null, 16);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/VisuallyHidden/VisuallyHiddenInputBubble.vue\nvar VisuallyHiddenInputBubble_default = VisuallyHiddenInputBubble_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { VisuallyHiddenInputBubble_default };\n//# sourceMappingURL=VisuallyHiddenInputBubble.js.map","import { VisuallyHiddenInputBubble_default } from \"./VisuallyHiddenInputBubble.js\";\nimport { Fragment, computed, createBlock, createCommentVNode, createElementBlock, defineComponent, mergeProps, openBlock, renderList } from \"vue\";\n\n//#region src/VisuallyHidden/VisuallyHiddenInput.vue?vue&type=script&setup=true&lang.ts\nvar VisuallyHiddenInput_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({\n\tinheritAttrs: false,\n\t__name: \"VisuallyHiddenInput\",\n\tprops: {\n\t\tname: {\n\t\t\ttype: String,\n\t\t\trequired: true\n\t\t},\n\t\tvalue: {\n\t\t\ttype: null,\n\t\t\trequired: true\n\t\t},\n\t\tchecked: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false,\n\t\t\tdefault: void 0\n\t\t},\n\t\trequired: {\n\t\t\ttype: Boolean,\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\tfeature: {\n\t\t\ttype: String,\n\t\t\trequired: false,\n\t\t\tdefault: \"fully-hidden\"\n\t\t}\n\t},\n\tsetup(__props) {\n\t\tconst props = __props;\n\t\tconst isFormArrayEmptyAndRequired = computed(() => typeof props.value === \"object\" && Array.isArray(props.value) && props.value.length === 0 && props.required);\n\t\tconst parsedValue = computed(() => {\n\t\t\tif (typeof props.value === \"string\" || typeof props.value === \"number\" || typeof props.value === \"boolean\" || props.value === null || props.value === void 0) return [{\n\t\t\t\tname: props.name,\n\t\t\t\tvalue: props.value\n\t\t\t}];\n\t\t\telse if (typeof props.value === \"object\" && Array.isArray(props.value)) return props.value.flatMap((obj, index) => {\n\t\t\t\tif (typeof obj === \"object\") return Object.entries(obj).map(([key, value]) => ({\n\t\t\t\t\tname: `${props.name}[${index}][${key}]`,\n\t\t\t\t\tvalue\n\t\t\t\t}));\n\t\t\t\telse return {\n\t\t\t\t\tname: `${props.name}[${index}]`,\n\t\t\t\t\tvalue: obj\n\t\t\t\t};\n\t\t\t});\n\t\t\telse if (props.value !== null && typeof props.value === \"object\" && !Array.isArray(props.value)) return Object.entries(props.value).map(([key, value]) => ({\n\t\t\t\tname: `${props.name}[${key}]`,\n\t\t\t\tvalue\n\t\t\t}));\n\t\t\treturn [];\n\t\t});\n\t\treturn (_ctx, _cache) => {\n\t\t\treturn openBlock(), createElementBlock(Fragment, null, [createCommentVNode(\" We render single input if it's required \"), isFormArrayEmptyAndRequired.value ? (openBlock(), createBlock(VisuallyHiddenInputBubble_default, mergeProps({ key: _ctx.name }, {\n\t\t\t\t...props,\n\t\t\t\t..._ctx.$attrs\n\t\t\t}, {\n\t\t\t\tname: _ctx.name,\n\t\t\t\tvalue: _ctx.value\n\t\t\t}), null, 16, [\"name\", \"value\"])) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(parsedValue.value, (parsed) => {\n\t\t\t\treturn openBlock(), createBlock(VisuallyHiddenInputBubble_default, mergeProps({ key: parsed.name }, { ref_for: true }, {\n\t\t\t\t\t...props,\n\t\t\t\t\t..._ctx.$attrs\n\t\t\t\t}, {\n\t\t\t\t\tname: parsed.name,\n\t\t\t\t\tvalue: parsed.value\n\t\t\t\t}), null, 16, [\"name\", \"value\"]);\n\t\t\t}), 128))], 2112);\n\t\t};\n\t}\n});\n\n//#endregion\n//#region src/VisuallyHidden/VisuallyHiddenInput.vue\nvar VisuallyHiddenInput_default = VisuallyHiddenInput_vue_vue_type_script_setup_true_lang_default;\n\n//#endregion\nexport { VisuallyHiddenInput_default };\n//# sourceMappingURL=VisuallyHiddenInput.js.map"],"x_google_ignoreList":[0,1,2],"mappings":";;;AAGA,IAAM,cAAc;AACpB,IAAM,YAAY;AAClB,SAAS,YAAY;CACpB,OAAO,OAAO,cAAc,eAAe,UAAU,KAAK,UAAU,SAAS;AAC9E;AACA,SAAS,aAAa,OAAO;CAC5B,MAAM,cAAc,IAAI,KAAK;CAC7B,MAAM,mBAAmB,IAAI,IAAI;CACjC,MAAM,eAAe,IAAI,KAAK;CAC9B,MAAM,mBAAmB,eAAe,YAAY,SAAS,iBAAiB,KAAK;CACnF,SAAS,yBAAyB;EACjC,YAAY,QAAQ;EACpB,iBAAiB,QAAQ;EACzB,aAAa,QAAQ;CACtB;CACA,SAAS,wBAAwB,OAAO;EACvC,IAAI,CAAC,MAAM,MAAM;EACjB,IAAI,YAAY,KAAK,MAAM,IAAI,GAAG;GACjC,iBAAiB,QAAQ;GACzB,aAAa,QAAQ;EACtB,OAAO,IAAI,UAAU,KAAK,CAAC,aAAa,OAAO,iBAAiB,QAAQ;CACzE;CACA,SAAS,qBAAqB,OAAO;EACpC,eAAe;GACd,YAAY,QAAQ;GACpB,QAAQ,KAAK;EACd,CAAC;CACF;CACA,OAAO;EACN;EACA;EACA;EACA;EACA;CACD;AACD;;;AC8BA,IAAI,oCA/DwF,gCAAgB;CAC3G,cAAc;CACd,QAAQ;CACR,OAAO;EACN,MAAM;GACL,MAAM;GACN,UAAU;EACX;EACA,OAAO;GACN,MAAM;GACN,UAAU;EACX;EACA,SAAS;GACR,MAAM;GACN,UAAU;GACV,SAAS,KAAK;EACf;EACA,UAAU;GACT,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