@onereach/ui-components 8.13.1 → 8.13.2-beta.3781.0

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 (28) hide show
  1. package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.js +1 -1
  2. package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.vue.d.ts +2 -0
  3. package/dist/bundled/v2/components/OrConfirmV3/index.js +1 -1
  4. package/dist/bundled/v2/components/OrConfirmV3/props.js +1 -1
  5. package/dist/bundled/v2/components/OrConfirmV3/styles.js +1 -1
  6. package/dist/bundled/v2/components/{OrConfirmV3-11fd3c66.js → OrConfirmV3-f46eec80.js} +7 -2
  7. package/dist/bundled/v2/components/index.js +1 -1
  8. package/dist/bundled/v2/index.js +1 -1
  9. package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +1 -1
  10. package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.vue.d.ts +1 -0
  11. package/dist/bundled/v3/components/OrConfirmV3/index.js +1 -1
  12. package/dist/bundled/v3/components/OrConfirmV3/props.js +1 -1
  13. package/dist/bundled/v3/components/OrConfirmV3/styles.js +1 -1
  14. package/dist/bundled/v3/components/{OrConfirmV3-719a3b73.js → OrConfirmV3-78fe2278.js} +8 -3
  15. package/dist/bundled/v3/components/index.js +1 -1
  16. package/dist/bundled/v3/index.js +1 -1
  17. package/dist/esm/v2/{OrConfirm-514ea879.js → OrConfirm-6547b022.js} +7 -2
  18. package/dist/esm/v2/components/index.js +1 -1
  19. package/dist/esm/v2/components/or-confirm-v3/OrConfirm.vue.d.ts +2 -0
  20. package/dist/esm/v2/components/or-confirm-v3/index.js +1 -1
  21. package/dist/esm/v2/index.js +1 -1
  22. package/dist/esm/v3/{OrConfirm-838e6355.js → OrConfirm-2be7047a.js} +8 -3
  23. package/dist/esm/v3/components/index.js +1 -1
  24. package/dist/esm/v3/components/or-confirm-v3/OrConfirm.vue.d.ts +1 -0
  25. package/dist/esm/v3/components/or-confirm-v3/index.js +1 -1
  26. package/dist/esm/v3/index.js +1 -1
  27. package/package.json +2 -3
  28. package/src/components/or-confirm-v3/OrConfirm.vue +6 -0
@@ -1,2 +1,2 @@
1
- export { _ as default } from '../OrConfirmV3-11fd3c66.js';
1
+ export { _ as default } from '../OrConfirmV3-f46eec80.js';
2
2
  import '../OrAvatar-3f8448d6.js';
@@ -31,6 +31,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
31
31
  close: () => void;
32
32
  onInputFocus: () => void;
33
33
  onInputBlur: () => void;
34
+ preventInputBlur: () => void;
34
35
  }> & import("@vue/composition-api").Data, {}, {}, {
35
36
  isOpen: {
36
37
  type: BooleanConstructor;
@@ -169,6 +170,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
169
170
  close: () => void;
170
171
  onInputFocus: () => void;
171
172
  onInputBlur: () => void;
173
+ preventInputBlur: () => void;
172
174
  }>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
173
175
  isOpen: boolean;
174
176
  titleText: string;
@@ -1 +1 @@
1
- export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirmV3-11fd3c66.js';
1
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirmV3-f46eec80.js';
@@ -1 +1 @@
1
- export { C as ConfirmType } from '../OrConfirmV3-11fd3c66.js';
1
+ export { C as ConfirmType } from '../OrConfirmV3-f46eec80.js';
@@ -1 +1 @@
1
- export { a as Confirm, d as ConfirmFooter, f as ConfirmFooterButtons, e as ConfirmFooterTypes, b as ConfirmHeader, c as ConfirmInput } from '../OrConfirmV3-11fd3c66.js';
1
+ export { a as Confirm, d as ConfirmFooter, f as ConfirmFooterButtons, e as ConfirmFooterTypes, b as ConfirmHeader, c as ConfirmInput } from '../OrConfirmV3-f46eec80.js';
@@ -150,6 +150,9 @@ var script = defineComponent({
150
150
  isInputActive.value = false;
151
151
  touched.value = true;
152
152
  }
153
+ function preventInputBlur() {
154
+ event.preventDefault();
155
+ }
153
156
  // Events
154
157
  watch(escape, val => {
155
158
  if (val) close();
@@ -203,7 +206,8 @@ var script = defineComponent({
203
206
  open,
204
207
  close,
205
208
  onInputFocus,
206
- onInputBlur
209
+ onInputBlur,
210
+ preventInputBlur
207
211
  };
208
212
  }
209
213
  });
@@ -262,7 +266,8 @@ var __vue_render__ = function () {
262
266
  "disabled": _vm.loading
263
267
  },
264
268
  on: {
265
- "click": _vm.close
269
+ "click": _vm.close,
270
+ "mousedown": _vm.preventInputBlur
266
271
  }
267
272
  }, [_vm._v("\n " + _vm._s(_vm.cancelButtonText) + "\n ")]), _vm._v(" "), _c('OrButton', {
268
273
  ref: "confirmationButton",
@@ -22,7 +22,7 @@ export { _ as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k
22
22
  export { _ as OrCombinedInputV3 } from './OrCombinedInputV3-b3dc54c4.js';
23
23
  export { I as CombinedInputSize, I as DatePickerSize, I as DateRangePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, _ as OrInputBoxV3, I as SearchSize, I as SelectSize, I as TagInputSize, I as TextareaSize, I as TimePickerSize, I as TimeRangePickerSize } from './OrInputBoxV3-ebe8a9ad.js';
24
24
  export { _ as OrConfirm } from './OrConfirm-5b90b997.js';
25
- export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirmV3-11fd3c66.js';
25
+ export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirmV3-f46eec80.js';
26
26
  export { OrContextMenuV3 } from './OrContextMenuV3/index.js';
27
27
  export { P as ContextMenuPlacement, P as MenuPlacement, _ as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopoverV3-d9fad3ae.js';
28
28
  export { _ as OrDateFormatV3 } from './OrDateFormatV3-6a15471f.js';
@@ -14,7 +14,7 @@ export { C as CodeLanguage, _ as OrCodeV3 } from './components/OrCodeV3-9547f7f2
14
14
  export { _ as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './components/OrColorPicker-aad14847.js';
15
15
  export { _ as OrCombinedInputV3 } from './components/OrCombinedInputV3-b3dc54c4.js';
16
16
  export { _ as OrConfirm } from './components/OrConfirm-5b90b997.js';
17
- export { C as ConfirmType, _ as OrConfirmV3 } from './components/OrConfirmV3-11fd3c66.js';
17
+ export { C as ConfirmType, _ as OrConfirmV3 } from './components/OrConfirmV3-f46eec80.js';
18
18
  export { OrContextMenuV3 } from './components/OrContextMenuV3/index.js';
19
19
  export { _ as OrDateFormatV3 } from './components/OrDateFormatV3-6a15471f.js';
20
20
  export { D as DropdownClose, a as DropdownOpen, _ as OrDatePickerV3 } from './components/OrDatePickerV3-210d38b4.js';
@@ -1 +1 @@
1
- export { s as default } from '../OrConfirmV3-719a3b73.js';
1
+ export { s as default } from '../OrConfirmV3-78fe2278.js';
@@ -70,6 +70,7 @@ declare const _default: import("vue-demi").DefineComponent<{
70
70
  close: () => void;
71
71
  onInputFocus: () => void;
72
72
  onInputBlur: () => void;
73
+ preventInputBlur: () => void;
73
74
  }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:state" | "open" | "close" | "confirm")[], "update:state" | "open" | "close" | "confirm", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
74
75
  isOpen: {
75
76
  type: BooleanConstructor;
@@ -1 +1 @@
1
- export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirmV3-719a3b73.js';
1
+ export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirmV3-78fe2278.js';
@@ -1 +1 @@
1
- export { C as ConfirmType } from '../OrConfirmV3-719a3b73.js';
1
+ export { C as ConfirmType } from '../OrConfirmV3-78fe2278.js';
@@ -1 +1 @@
1
- export { a as Confirm, d as ConfirmFooter, f as ConfirmFooterButtons, e as ConfirmFooterTypes, b as ConfirmHeader, c as ConfirmInput } from '../OrConfirmV3-719a3b73.js';
1
+ export { a as Confirm, d as ConfirmFooter, f as ConfirmFooterButtons, e as ConfirmFooterTypes, b as ConfirmHeader, c as ConfirmInput } from '../OrConfirmV3-78fe2278.js';
@@ -150,6 +150,9 @@ var script = defineComponent({
150
150
  isInputActive.value = false;
151
151
  touched.value = true;
152
152
  }
153
+ function preventInputBlur() {
154
+ event.preventDefault();
155
+ }
153
156
  // Events
154
157
  watch(escape, val => {
155
158
  if (val) close();
@@ -203,7 +206,8 @@ var script = defineComponent({
203
206
  open,
204
207
  close,
205
208
  onInputFocus,
206
- onInputBlur
209
+ onInputBlur,
210
+ preventInputBlur
207
211
  };
208
212
  }
209
213
  });
@@ -247,12 +251,13 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
247
251
  class: normalizeClass(_ctx.buttonsStyles),
248
252
  variant: "outlined",
249
253
  disabled: _ctx.loading,
250
- onClick: _ctx.close
254
+ onClick: _ctx.close,
255
+ onMousedown: _ctx.preventInputBlur
251
256
  }, {
252
257
  default: withCtx(() => [createTextVNode(toDisplayString(_ctx.cancelButtonText), 1 /* TEXT */)]),
253
258
 
254
259
  _: 1 /* STABLE */
255
- }, 8 /* PROPS */, ["class", "disabled", "onClick"]), createVNode(_component_OrButton, {
260
+ }, 8 /* PROPS */, ["class", "disabled", "onClick", "onMousedown"]), createVNode(_component_OrButton, {
256
261
  ref: "confirmationButton",
257
262
  class: normalizeClass(_ctx.buttonsStyles),
258
263
  color: _ctx.confirmButtonColor,
@@ -22,7 +22,7 @@ export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k
22
22
  export { s as OrCombinedInputV3 } from './OrCombinedInputV3-c522cc77.js';
23
23
  export { I as CombinedInputSize, I as DatePickerSize, I as DateRangePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, s as OrInputBoxV3, I as SearchSize, I as SelectSize, I as TagInputSize, I as TextareaSize, I as TimePickerSize, I as TimeRangePickerSize } from './OrInputBoxV3-0545cc66.js';
24
24
  export { s as OrConfirm } from './OrConfirm-de1edf52.js';
25
- export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirmV3-719a3b73.js';
25
+ export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirmV3-78fe2278.js';
26
26
  export { OrContextMenuV3 } from './OrContextMenuV3/index.js';
27
27
  export { P as ContextMenuPlacement, P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopoverV3-d3b92420.js';
28
28
  export { s as OrDateFormatV3 } from './OrDateFormatV3-d09f60e5.js';
@@ -13,7 +13,7 @@ export { C as CodeLanguage, s as OrCodeV3 } from './components/OrCodeV3-770a37e2
13
13
  export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './components/OrColorPicker-fc627759.js';
14
14
  export { s as OrCombinedInputV3 } from './components/OrCombinedInputV3-c522cc77.js';
15
15
  export { s as OrConfirm } from './components/OrConfirm-de1edf52.js';
16
- export { C as ConfirmType, s as OrConfirmV3 } from './components/OrConfirmV3-719a3b73.js';
16
+ export { C as ConfirmType, s as OrConfirmV3 } from './components/OrConfirmV3-78fe2278.js';
17
17
  export { OrContextMenuV3 } from './components/OrContextMenuV3/index.js';
18
18
  export { s as OrDateFormatV3 } from './components/OrDateFormatV3-d09f60e5.js';
19
19
  export { D as DropdownClose, a as DropdownOpen, s as OrDatePickerV3 } from './components/OrDatePickerV3-6d1fb1b8.js';
@@ -155,6 +155,9 @@ var script = defineComponent({
155
155
  isInputActive.value = false;
156
156
  touched.value = true;
157
157
  }
158
+ function preventInputBlur() {
159
+ event.preventDefault();
160
+ }
158
161
  // Events
159
162
  watch(escape, val => {
160
163
  if (val) close();
@@ -208,7 +211,8 @@ var script = defineComponent({
208
211
  open,
209
212
  close,
210
213
  onInputFocus,
211
- onInputBlur
214
+ onInputBlur,
215
+ preventInputBlur
212
216
  };
213
217
  }
214
218
  });
@@ -267,7 +271,8 @@ var __vue_render__ = function () {
267
271
  "disabled": _vm.loading
268
272
  },
269
273
  on: {
270
- "click": _vm.close
274
+ "click": _vm.close,
275
+ "mousedown": _vm.preventInputBlur
271
276
  }
272
277
  }, [_vm._v("\n " + _vm._s(_vm.cancelButtonText) + "\n ")]), _vm._v(" "), _c('OrButton', {
273
278
  ref: "confirmationButton",
@@ -33,7 +33,7 @@ export { _ as OrCombinedInputV3 } from '../OrCombinedInput-a6f36356.js';
33
33
  export { _ as OrInputBoxV3 } from '../OrInputBox-809390ed.js';
34
34
  export { I as CombinedInputSize, I as DatePickerSize, I as DateRangePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, I as SearchSize, I as SelectSize, I as TagInputSize, I as TextareaSize, I as TimePickerSize, I as TimeRangePickerSize } from '../OrInputBox.vue_rollup-plugin-vue_script-5c15735e.js';
35
35
  export { _ as OrConfirm } from '../OrConfirm-f3f7ec59.js';
36
- export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-514ea879.js';
36
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-6547b022.js';
37
37
  export { _ as OrContextMenuV3 } from '../OrContextMenu-f881a420.js';
38
38
  export { _ as OrMenuV3 } from '../OrMenu-fd22b35f.js';
39
39
  export { P as ContextMenuPlacement, P as MenuPlacement, _ as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from '../OrPopover-89a17951.js';
@@ -31,6 +31,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
31
31
  close: () => void;
32
32
  onInputFocus: () => void;
33
33
  onInputBlur: () => void;
34
+ preventInputBlur: () => void;
34
35
  }> & import("@vue/composition-api").Data, {}, {}, {
35
36
  isOpen: {
36
37
  type: BooleanConstructor;
@@ -169,6 +170,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
169
170
  close: () => void;
170
171
  onInputFocus: () => void;
171
172
  onInputBlur: () => void;
173
+ preventInputBlur: () => void;
172
174
  }>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
173
175
  isOpen: boolean;
174
176
  titleText: string;
@@ -1,4 +1,4 @@
1
- export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-514ea879.js';
1
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-6547b022.js';
2
2
  import '@vueuse/core';
3
3
  import '@vueuse/math';
4
4
  import 'vue-demi';
@@ -33,7 +33,7 @@ export { _ as OrCombinedInputV3 } from './OrCombinedInput-a6f36356.js';
33
33
  export { _ as OrInputBoxV3 } from './OrInputBox-809390ed.js';
34
34
  export { I as CombinedInputSize, I as DatePickerSize, I as DateRangePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, I as SearchSize, I as SelectSize, I as TagInputSize, I as TextareaSize, I as TimePickerSize, I as TimeRangePickerSize } from './OrInputBox.vue_rollup-plugin-vue_script-5c15735e.js';
35
35
  export { _ as OrConfirm } from './OrConfirm-f3f7ec59.js';
36
- export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-514ea879.js';
36
+ export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-6547b022.js';
37
37
  export { _ as OrContextMenuV3 } from './OrContextMenu-f881a420.js';
38
38
  export { _ as OrMenuV3 } from './OrMenu-fd22b35f.js';
39
39
  export { P as ContextMenuPlacement, P as MenuPlacement, _ as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-89a17951.js';
@@ -154,6 +154,9 @@ var script = defineComponent({
154
154
  isInputActive.value = false;
155
155
  touched.value = true;
156
156
  }
157
+ function preventInputBlur() {
158
+ event.preventDefault();
159
+ }
157
160
  // Events
158
161
  watch(escape, val => {
159
162
  if (val) close();
@@ -207,7 +210,8 @@ var script = defineComponent({
207
210
  open,
208
211
  close,
209
212
  onInputFocus,
210
- onInputBlur
213
+ onInputBlur,
214
+ preventInputBlur
211
215
  };
212
216
  }
213
217
  });
@@ -251,12 +255,13 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
251
255
  class: normalizeClass(_ctx.buttonsStyles),
252
256
  variant: "outlined",
253
257
  disabled: _ctx.loading,
254
- onClick: _ctx.close
258
+ onClick: _ctx.close,
259
+ onMousedown: _ctx.preventInputBlur
255
260
  }, {
256
261
  default: withCtx(() => [createTextVNode(toDisplayString(_ctx.cancelButtonText), 1 /* TEXT */)]),
257
262
 
258
263
  _: 1 /* STABLE */
259
- }, 8 /* PROPS */, ["class", "disabled", "onClick"]), createVNode(_component_OrButton, {
264
+ }, 8 /* PROPS */, ["class", "disabled", "onClick", "onMousedown"]), createVNode(_component_OrButton, {
260
265
  ref: "confirmationButton",
261
266
  class: normalizeClass(_ctx.buttonsStyles),
262
267
  color: _ctx.confirmButtonColor,
@@ -30,7 +30,7 @@ export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k
30
30
  export { s as OrCombinedInputV3 } from '../OrCombinedInput-486aaa11.js';
31
31
  export { I as CombinedInputSize, I as DatePickerSize, I as DateRangePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, s as OrInputBoxV3, I as SearchSize, I as SelectSize, I as TagInputSize, I as TextareaSize, I as TimePickerSize, I as TimeRangePickerSize } from '../OrInputBox-0842121a.js';
32
32
  export { s as OrConfirm } from '../OrConfirm-859ff5a2.js';
33
- export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-838e6355.js';
33
+ export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-2be7047a.js';
34
34
  export { s as OrContextMenuV3 } from '../OrContextMenu-2301ac4a.js';
35
35
  export { s as OrMenuV3 } from '../OrMenu-da71f493.js';
36
36
  export { P as ContextMenuPlacement, P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from '../OrPopover-2748fb5d.js';
@@ -70,6 +70,7 @@ declare const _default: import("vue-demi").DefineComponent<{
70
70
  close: () => void;
71
71
  onInputFocus: () => void;
72
72
  onInputBlur: () => void;
73
+ preventInputBlur: () => void;
73
74
  }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:state" | "open" | "close" | "confirm")[], "update:state" | "open" | "close" | "confirm", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
74
75
  isOpen: {
75
76
  type: BooleanConstructor;
@@ -1,4 +1,4 @@
1
- export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-838e6355.js';
1
+ export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-2be7047a.js';
2
2
  import '@vueuse/core';
3
3
  import '@vueuse/math';
4
4
  import 'vue-demi';
@@ -30,7 +30,7 @@ export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k
30
30
  export { s as OrCombinedInputV3 } from './OrCombinedInput-486aaa11.js';
31
31
  export { I as CombinedInputSize, I as DatePickerSize, I as DateRangePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, s as OrInputBoxV3, I as SearchSize, I as SelectSize, I as TagInputSize, I as TextareaSize, I as TimePickerSize, I as TimeRangePickerSize } from './OrInputBox-0842121a.js';
32
32
  export { s as OrConfirm } from './OrConfirm-859ff5a2.js';
33
- export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-838e6355.js';
33
+ export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-2be7047a.js';
34
34
  export { s as OrContextMenuV3 } from './OrContextMenu-2301ac4a.js';
35
35
  export { s as OrMenuV3 } from './OrMenu-da71f493.js';
36
36
  export { P as ContextMenuPlacement, P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-2748fb5d.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components",
3
- "version": "8.13.1",
3
+ "version": "8.13.2-beta.3781.0",
4
4
  "npmUnpacked": "4.15.2",
5
5
  "description": "Vue components library for v2/3",
6
6
  "sideEffects": false,
@@ -176,6 +176,5 @@
176
176
  "default": "./dist/bundled/v3/components/*/index.js"
177
177
  },
178
178
  "./package.json": "./package.json"
179
- },
180
- "gitHead": "6632dac8229d853b957a5fb9aac72a2ed65531ea"
179
+ }
181
180
  }
@@ -45,6 +45,7 @@
45
45
  variant="outlined"
46
46
  :disabled="loading"
47
47
  @click="close"
48
+ @mousedown="preventInputBlur"
48
49
  >
49
50
  {{ cancelButtonText }}
50
51
  </OrButton>
@@ -203,6 +204,10 @@ export default defineComponent({
203
204
  touched.value = true;
204
205
  }
205
206
 
207
+ function preventInputBlur() {
208
+ (event as MouseEvent).preventDefault()
209
+ }
210
+
206
211
  // Events
207
212
  watch(escape, (val) => {
208
213
  if (val) close();
@@ -278,6 +283,7 @@ export default defineComponent({
278
283
  close,
279
284
  onInputFocus,
280
285
  onInputBlur,
286
+ preventInputBlur,
281
287
  };
282
288
  },
283
289
  });