@onereach/ui-components 8.17.2-beta.3887.0 → 8.17.2-beta.3891.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.
@@ -206,7 +206,9 @@ var __vue_render__ = function () {
206
206
  "disabled": _vm.loading
207
207
  },
208
208
  on: {
209
- "click": _vm.close
209
+ "click": function ($event) {
210
+ return _vm.close();
211
+ }
210
212
  }
211
213
  }, [_vm._v("\n " + _vm._s(_vm.cancelButtonText) + "\n ")]), _vm._v(" "), _c('OrButton', {
212
214
  ref: "confirmationButton",
@@ -217,7 +219,10 @@ var __vue_render__ = function () {
217
219
  "disabled": _vm.isConfirmationButtonDisabled
218
220
  },
219
221
  on: {
220
- "click": _vm.confirm
222
+ "click": function ($event) {
223
+ _vm.confirm();
224
+ _vm.close();
225
+ }
221
226
  }
222
227
  }, [_vm._v("\n " + _vm._s(_vm.confirmButtonText) + "\n ")])], 1)];
223
228
  }, {
@@ -1,7 +1,7 @@
1
1
  import { PropType } from 'vue-demi';
2
2
  import { FilterFunction } from '../or-date-time-picker-v3';
3
3
  import { TimePickerFormat, TimePickerSize } from './props';
4
- declare const _default: import("vue2").ComponentOptions<import("vue2").default, import("@vue/composition-api").ShallowUnwrapRef<{
4
+ declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
5
5
  root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
6
6
  inputBox: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
7
7
  [x: string]: ((...args: any[]) => any) | null;
@@ -124,7 +124,7 @@ declare const _default: import("vue2").ComponentOptions<import("vue2").default,
124
124
  type: BooleanConstructor;
125
125
  default: boolean;
126
126
  };
127
- }>> & Omit<import("vue2").VueConstructor<import("vue2").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
127
+ }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
128
128
  modelValue: Date;
129
129
  format: "auto" | "h12" | "h23";
130
130
  hoursFilter: FilterFunction;
@@ -1 +1 @@
1
- export { s as default } from '../OrConfirmV3-90f5d00b.js';
1
+ export { s as default } from '../OrConfirmV3-681ee30f.js';
@@ -1 +1 @@
1
- export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirmV3-90f5d00b.js';
1
+ export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirmV3-681ee30f.js';
@@ -1 +1 @@
1
- export { C as ConfirmType } from '../OrConfirmV3-90f5d00b.js';
1
+ export { C as ConfirmType } from '../OrConfirmV3-681ee30f.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-90f5d00b.js';
1
+ export { a as Confirm, d as ConfirmFooter, f as ConfirmFooterButtons, e as ConfirmFooterTypes, b as ConfirmHeader, c as ConfirmInput } from '../OrConfirmV3-681ee30f.js';
@@ -237,23 +237,26 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
237
237
  class: normalizeClass(_ctx.buttonsStyles),
238
238
  variant: 'outlined',
239
239
  disabled: _ctx.loading,
240
- onClick: _ctx.close
240
+ onClick: _cache[1] || (_cache[1] = $event => _ctx.close())
241
241
  }, {
242
242
  default: withCtx(() => [createTextVNode(toDisplayString(_ctx.cancelButtonText), 1 /* TEXT */)]),
243
243
 
244
244
  _: 1 /* STABLE */
245
- }, 8 /* PROPS */, ["class", "disabled", "onClick"]), createVNode(_component_OrButton, {
245
+ }, 8 /* PROPS */, ["class", "disabled"]), createVNode(_component_OrButton, {
246
246
  ref: "confirmationButton",
247
247
  class: normalizeClass(_ctx.buttonsStyles),
248
248
  color: _ctx.confirmButtonColor,
249
249
  loading: _ctx.loading,
250
250
  disabled: _ctx.isConfirmationButtonDisabled,
251
- onClick: _ctx.confirm
251
+ onClick: _cache[2] || (_cache[2] = $event => {
252
+ _ctx.confirm();
253
+ _ctx.close();
254
+ })
252
255
  }, {
253
256
  default: withCtx(() => [createTextVNode(toDisplayString(_ctx.confirmButtonText), 1 /* TEXT */)]),
254
257
 
255
258
  _: 1 /* STABLE */
256
- }, 8 /* PROPS */, ["class", "color", "loading", "disabled", "onClick"])], 2 /* CLASS */)])], 16 /* FULL_PROPS */)]),
259
+ }, 8 /* PROPS */, ["class", "color", "loading", "disabled"])], 2 /* CLASS */)])], 16 /* FULL_PROPS */)]),
257
260
 
258
261
  _: 3 /* FORWARDED */
259
262
  })) : createCommentVNode("v-if", true);
@@ -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-795e8cf2.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-ddd117f0.js';
24
24
  export { s as OrConfirm } from './OrConfirm-f95a3ce6.js';
25
- export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirmV3-90f5d00b.js';
25
+ export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirmV3-681ee30f.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-a7d181a4.js';
28
28
  export { s as OrDateFormatV3 } from './OrDateFormatV3-8456e52e.js';
@@ -13,7 +13,7 @@ export { C as CodeLanguage, s as OrCodeV3 } from './components/OrCodeV3-628f8e28
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-2271c176.js';
14
14
  export { s as OrCombinedInputV3 } from './components/OrCombinedInputV3-795e8cf2.js';
15
15
  export { s as OrConfirm } from './components/OrConfirm-f95a3ce6.js';
16
- export { C as ConfirmType, s as OrConfirmV3 } from './components/OrConfirmV3-90f5d00b.js';
16
+ export { C as ConfirmType, s as OrConfirmV3 } from './components/OrConfirmV3-681ee30f.js';
17
17
  export { OrContextMenuV3 } from './components/OrContextMenuV3/index.js';
18
18
  export { s as OrDateFormatV3 } from './components/OrDateFormatV3-8456e52e.js';
19
19
  export { s as OrDatePickerV3 } from './components/OrDatePickerV3-a3e534f7.js';
@@ -256,7 +256,9 @@ var __vue_render__ = function () {
256
256
  "disabled": _vm.loading
257
257
  },
258
258
  on: {
259
- "click": _vm.close
259
+ "click": function ($event) {
260
+ return _vm.close();
261
+ }
260
262
  }
261
263
  }, [_vm._v("\n " + _vm._s(_vm.cancelButtonText) + "\n ")]), _vm._v(" "), _c('OrButton', {
262
264
  ref: "confirmationButton",
@@ -267,7 +269,10 @@ var __vue_render__ = function () {
267
269
  "disabled": _vm.isConfirmationButtonDisabled
268
270
  },
269
271
  on: {
270
- "click": _vm.confirm
272
+ "click": function ($event) {
273
+ _vm.confirm();
274
+ _vm.close();
275
+ }
271
276
  }
272
277
  }, [_vm._v("\n " + _vm._s(_vm.confirmButtonText) + "\n ")])], 1)];
273
278
  }, {
@@ -33,7 +33,7 @@ export { _ as OrCombinedInputV3 } from '../OrCombinedInput-27179a1d.js';
33
33
  export { _ as OrInputBoxV3 } from '../OrInputBox-140c344d.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-65ebcf4d.js';
35
35
  export { _ as OrConfirm } from '../OrConfirm-f3f7ec59.js';
36
- export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-174b82fd.js';
36
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-0fc11f25.js';
37
37
  export { _ as OrContextMenuV3 } from '../OrContextMenu-7292aca0.js';
38
38
  export { _ as OrMenuV3 } from '../OrMenu-6fa468e0.js';
39
39
  export { P as ContextMenuPlacement, P as MenuPlacement, _ as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from '../OrPopover-07b82c80.js';
@@ -1,4 +1,4 @@
1
- export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-174b82fd.js';
1
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-0fc11f25.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-27179a1d.js';
33
33
  export { _ as OrInputBoxV3 } from './OrInputBox-140c344d.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-65ebcf4d.js';
35
35
  export { _ as OrConfirm } from './OrConfirm-f3f7ec59.js';
36
- export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-174b82fd.js';
36
+ export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-0fc11f25.js';
37
37
  export { _ as OrContextMenuV3 } from './OrContextMenu-7292aca0.js';
38
38
  export { _ as OrMenuV3 } from './OrMenu-6fa468e0.js';
39
39
  export { P as ContextMenuPlacement, P as MenuPlacement, _ as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-07b82c80.js';
@@ -240,23 +240,26 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
240
240
  class: normalizeClass(_ctx.buttonsStyles),
241
241
  variant: 'outlined',
242
242
  disabled: _ctx.loading,
243
- onClick: _ctx.close
243
+ onClick: _cache[1] || (_cache[1] = $event => _ctx.close())
244
244
  }, {
245
245
  default: withCtx(() => [createTextVNode(toDisplayString(_ctx.cancelButtonText), 1 /* TEXT */)]),
246
246
 
247
247
  _: 1 /* STABLE */
248
- }, 8 /* PROPS */, ["class", "disabled", "onClick"]), createVNode(_component_OrButton, {
248
+ }, 8 /* PROPS */, ["class", "disabled"]), createVNode(_component_OrButton, {
249
249
  ref: "confirmationButton",
250
250
  class: normalizeClass(_ctx.buttonsStyles),
251
251
  color: _ctx.confirmButtonColor,
252
252
  loading: _ctx.loading,
253
253
  disabled: _ctx.isConfirmationButtonDisabled,
254
- onClick: _ctx.confirm
254
+ onClick: _cache[2] || (_cache[2] = $event => {
255
+ _ctx.confirm();
256
+ _ctx.close();
257
+ })
255
258
  }, {
256
259
  default: withCtx(() => [createTextVNode(toDisplayString(_ctx.confirmButtonText), 1 /* TEXT */)]),
257
260
 
258
261
  _: 1 /* STABLE */
259
- }, 8 /* PROPS */, ["class", "color", "loading", "disabled", "onClick"])], 2 /* CLASS */)])], 16 /* FULL_PROPS */)]),
262
+ }, 8 /* PROPS */, ["class", "color", "loading", "disabled"])], 2 /* CLASS */)])], 16 /* FULL_PROPS */)]),
260
263
 
261
264
  _: 3 /* FORWARDED */
262
265
  })) : createCommentVNode("v-if", true);
@@ -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-aeac0bb1.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-8c1a29dd.js';
32
32
  export { s as OrConfirm } from '../OrConfirm-859ff5a2.js';
33
- export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-dd801326.js';
33
+ export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-74c56715.js';
34
34
  export { s as OrContextMenuV3 } from '../OrContextMenu-8468ecfd.js';
35
35
  export { s as OrMenuV3 } from '../OrMenu-690d1376.js';
36
36
  export { P as ContextMenuPlacement, P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from '../OrPopover-88b8aa2a.js';
@@ -1,4 +1,4 @@
1
- export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-dd801326.js';
1
+ export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-74c56715.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-aeac0bb1.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-8c1a29dd.js';
32
32
  export { s as OrConfirm } from './OrConfirm-859ff5a2.js';
33
- export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-dd801326.js';
33
+ export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-74c56715.js';
34
34
  export { s as OrContextMenuV3 } from './OrContextMenu-8468ecfd.js';
35
35
  export { s as OrMenuV3 } from './OrMenu-690d1376.js';
36
36
  export { P as ContextMenuPlacement, P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-88b8aa2a.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components",
3
- "version": "8.17.2-beta.3887.0",
3
+ "version": "8.17.2-beta.3891.0",
4
4
  "npmUnpacked": "4.15.2",
5
5
  "description": "Vue components library for v2/3",
6
6
  "sideEffects": false,
@@ -43,7 +43,7 @@
43
43
  :class="buttonsStyles"
44
44
  :variant="'outlined'"
45
45
  :disabled="loading"
46
- @click="close"
46
+ @click="close()"
47
47
  >
48
48
  {{ cancelButtonText }}
49
49
  </OrButton>
@@ -54,7 +54,7 @@
54
54
  :color="confirmButtonColor"
55
55
  :loading="loading"
56
56
  :disabled="isConfirmationButtonDisabled"
57
- @click="confirm"
57
+ @click="confirm(); close()"
58
58
  >
59
59
  {{ confirmButtonText }}
60
60
  </OrButton>