@onereach/ui-components 19.5.0-beta.5071.0 → 19.5.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.
@@ -1 +1 @@
1
- export { s as default } from '../OrDataGridV3-c866dc8a.js';
1
+ export { s as default } from '../OrDataGridV3-766d1da7.js';
@@ -29,10 +29,6 @@ declare const _default: import("vue").DefineComponent<{
29
29
  type: BooleanConstructor;
30
30
  default: boolean;
31
31
  };
32
- notification: {
33
- type: PropType<any>;
34
- default: undefined;
35
- };
36
32
  }, {
37
33
  root: import("vue").Ref<HTMLElement | undefined>;
38
34
  rootStyles: import("vue").ComputedRef<string[]>;
@@ -52,7 +48,7 @@ declare const _default: import("vue").DefineComponent<{
52
48
  updateScrollOffset: (header: HTMLElement, offset: number, column: DataGridColumn) => void;
53
49
  removeScrollOffset: (header: HTMLElement) => void;
54
50
  scrollTo: (event: FocusEvent) => void;
55
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:item" | "close-notification")[], "update:modelValue" | "update:item" | "close-notification", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
51
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:item")[], "update:modelValue" | "update:item", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
56
52
  modelValue: {
57
53
  type: PropType<DataGridModelValue>;
58
54
  default: undefined;
@@ -80,14 +76,9 @@ declare const _default: import("vue").DefineComponent<{
80
76
  type: BooleanConstructor;
81
77
  default: boolean;
82
78
  };
83
- notification: {
84
- type: PropType<any>;
85
- default: undefined;
86
- };
87
79
  }>> & {
88
80
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
89
81
  "onUpdate:item"?: ((...args: any[]) => any) | undefined;
90
- "onClose-notification"?: ((...args: any[]) => any) | undefined;
91
82
  }, {
92
83
  modelValue: DataGridModelValue;
93
84
  items: {
@@ -97,6 +88,5 @@ declare const _default: import("vue").DefineComponent<{
97
88
  variant: DataGridVariant;
98
89
  features: DataGridFeatures;
99
90
  loading: boolean;
100
- notification: any;
101
91
  }, {}>;
102
92
  export default _default;
@@ -1 +1 @@
1
- export { D as DataGridVariant, s as OrDataGridV3 } from '../OrDataGridV3-c866dc8a.js';
1
+ export { D as DataGridVariant, s as OrDataGridV3 } from '../OrDataGridV3-766d1da7.js';
@@ -1 +1 @@
1
- export { a as DataGrid } from '../OrDataGridV3-c866dc8a.js';
1
+ export { a as DataGrid } from '../OrDataGridV3-766d1da7.js';
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, computed, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, resolveComponent, normalizeStyle, Fragment, createBlock, watch, createElementVNode, createSlots, withCtx, createVNode, renderList, createTextVNode, toDisplayString, mergeProps } from 'vue';
1
+ import { defineComponent, ref, computed, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, resolveComponent, normalizeStyle, Fragment, createBlock, watch, createElementVNode, createSlots, withCtx, createVNode, renderList, createTextVNode, toDisplayString } from 'vue';
2
2
  import { s as script$f } from './OrCheckboxV3-775b2227.js';
3
3
  import { s as script$g } from './OrDatePickerV3-63a6c872.js';
4
4
  import { s as script$h } from './OrDateTimePickerV3-dbf13d56.js';
@@ -13,7 +13,6 @@ import { s as script$o } from './OrIconV3-9807ee48.js';
13
13
  import { s as script$p } from './OrPaginationV3-9a43d5ab.js';
14
14
  import script$q from './OrSearchV3/OrSearch.js';
15
15
  import { s as script$r } from './OrSkeletonV3-68133af5.js';
16
- import { s as script$s } from './OrNotificationV3-8f1d379e.js';
17
16
 
18
17
  const DataGridFooter = [
19
18
  // Layout
@@ -46,7 +45,7 @@ var script$e = defineComponent({
46
45
  }
47
46
  });
48
47
 
49
- const _hoisted_1$5 = {
48
+ const _hoisted_1$4 = {
50
49
  key: 1,
51
50
  class: /*#__PURE__*/normalizeClass(['grow'])
52
51
  };
@@ -57,7 +56,7 @@ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
57
56
  }, [_ctx.$slots['status'] ? (openBlock(), createElementBlock("div", {
58
57
  key: 0,
59
58
  class: normalizeClass(_ctx.statusStyles)
60
- }, [renderSlot(_ctx.$slots, 'status')], 2 /* CLASS */)) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, 'actions'), _ctx.$slots['paging'] ? (openBlock(), createElementBlock("div", _hoisted_1$5)) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, 'paging')], 2 /* CLASS */);
59
+ }, [renderSlot(_ctx.$slots, 'status')], 2 /* CLASS */)) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, 'actions'), _ctx.$slots['paging'] ? (openBlock(), createElementBlock("div", _hoisted_1$4)) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, 'paging')], 2 /* CLASS */);
61
60
  }
62
61
 
63
62
  script$e.render = render$e;
@@ -90,7 +89,7 @@ var script$d = defineComponent({
90
89
  }
91
90
  });
92
91
 
93
- const _hoisted_1$4 = {
92
+ const _hoisted_1$3 = {
94
93
  key: 1,
95
94
  class: /*#__PURE__*/normalizeClass(['grow'])
96
95
  };
@@ -101,7 +100,7 @@ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
101
100
  }, [_ctx.$slots['title'] ? (openBlock(), createElementBlock("div", {
102
101
  key: 0,
103
102
  class: normalizeClass(_ctx.titleStyles)
104
- }, [renderSlot(_ctx.$slots, 'title')], 2 /* CLASS */)) : createCommentVNode("v-if", true), _ctx.$slots['searching'] ? (openBlock(), createElementBlock("div", _hoisted_1$4)) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, 'searching')], 2 /* CLASS */);
103
+ }, [renderSlot(_ctx.$slots, 'title')], 2 /* CLASS */)) : createCommentVNode("v-if", true), _ctx.$slots['searching'] ? (openBlock(), createElementBlock("div", _hoisted_1$3)) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, 'searching')], 2 /* CLASS */);
105
104
  }
106
105
 
107
106
  script$d.render = render$d;
@@ -214,7 +213,7 @@ var script$c = defineComponent({
214
213
  }
215
214
  });
216
215
 
217
- const _hoisted_1$3 = {
216
+ const _hoisted_1$2 = {
218
217
  key: 2,
219
218
  class: /*#__PURE__*/normalizeClass(['truncate'])
220
219
  };
@@ -290,7 +289,7 @@ function render$c(_ctx, _cache, $props, $setup, $data, $options) {
290
289
  modelValue: _ctx.model,
291
290
  "onUpdate:modelValue": _cache[9] || (_cache[9] = $event => _ctx.model = $event),
292
291
  variant: 'embedded'
293
- }, null, 8 /* PROPS */, ["modelValue"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createElementBlock("div", _hoisted_1$3, [renderSlot(_ctx.$slots, "default")]))], 6 /* CLASS, STYLE */);
292
+ }, null, 8 /* PROPS */, ["modelValue"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createElementBlock("div", _hoisted_1$2, [renderSlot(_ctx.$slots, "default")]))], 6 /* CLASS, STYLE */);
294
293
  }
295
294
 
296
295
  script$c.render = render$c;
@@ -354,13 +353,13 @@ var script$b = defineComponent({
354
353
  }
355
354
  });
356
355
 
357
- const _hoisted_1$2 = ["selected"];
356
+ const _hoisted_1$1 = ["selected"];
358
357
  function render$b(_ctx, _cache, $props, $setup, $data, $options) {
359
358
  return openBlock(), createElementBlock("div", {
360
359
  ref: 'root',
361
360
  class: normalizeClass(_ctx.rootStyles),
362
361
  selected: _ctx.selected
363
- }, [renderSlot(_ctx.$slots, "default")], 10 /* CLASS, PROPS */, _hoisted_1$2);
362
+ }, [renderSlot(_ctx.$slots, "default")], 10 /* CLASS, PROPS */, _hoisted_1$1);
364
363
  }
365
364
 
366
365
  script$b.render = render$b;
@@ -636,7 +635,7 @@ var script$6 = defineComponent({
636
635
  }
637
636
  });
638
637
 
639
- const _hoisted_1$1 = {
638
+ const _hoisted_1 = {
640
639
  class: /*#__PURE__*/normalizeClass(['truncate'])
641
640
  };
642
641
  function render$6(_ctx, _cache, $props, $setup, $data, $options) {
@@ -646,7 +645,7 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
646
645
  class: normalizeClass(_ctx.rootStyles),
647
646
  style: normalizeStyle(_ctx.rootInlineStyles),
648
647
  onClick: _cache[0] || (_cache[0] = $event => _ctx.toggleSorting())
649
- }, [createElementVNode("div", _hoisted_1$1, [renderSlot(_ctx.$slots, "default")]), _ctx.model ? (openBlock(), createBlock(_component_OrIcon, {
648
+ }, [createElementVNode("div", _hoisted_1, [renderSlot(_ctx.$slots, "default")]), _ctx.model ? (openBlock(), createBlock(_component_OrIcon, {
650
649
  key: 0,
651
650
  icon: _ctx.model.direction === 'asc' ? 'arrow_upward' : 'arrow_downward'
652
651
  }, null, 8 /* PROPS */, ["icon"])) : createCommentVNode("v-if", true)], 6 /* CLASS, STYLE */);
@@ -899,8 +898,7 @@ var script = defineComponent({
899
898
  OrDataGridToolbar: script$1,
900
899
  OrPagination: script$p,
901
900
  OrSearch: script$q,
902
- OrSkeletonText: script$r,
903
- OrNotification: script$s
901
+ OrSkeletonText: script$r
904
902
  },
905
903
  model: {
906
904
  prop: 'modelValue',
@@ -930,13 +928,9 @@ var script = defineComponent({
930
928
  loading: {
931
929
  type: Boolean,
932
930
  default: false
933
- },
934
- notification: {
935
- type: Object,
936
- default: undefined
937
931
  }
938
932
  },
939
- emits: ['update:modelValue', 'update:item', 'close-notification'],
933
+ emits: ['update:modelValue', 'update:item'],
940
934
  expose: ['root'],
941
935
  setup(props, context) {
942
936
  // Refs & Styles
@@ -1092,10 +1086,6 @@ var script = defineComponent({
1092
1086
  }
1093
1087
  });
1094
1088
 
1095
- const _hoisted_1 = {
1096
- key: 0,
1097
- class: "grid col-span-full"
1098
- };
1099
1089
  function render(_ctx, _cache, $props, $setup, $data, $options) {
1100
1090
  const _component_OrSearch = resolveComponent("OrSearch");
1101
1091
  const _component_OrDataGridHeader = resolveComponent("OrDataGridHeader");
@@ -1104,7 +1094,6 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1104
1094
  const _component_OrDataGridTableHeaderCell = resolveComponent("OrDataGridTableHeaderCell");
1105
1095
  const _component_OrDataGridTableHeaderRow = resolveComponent("OrDataGridTableHeaderRow");
1106
1096
  const _component_OrDataGridTableHeader = resolveComponent("OrDataGridTableHeader");
1107
- const _component_OrNotification = resolveComponent("OrNotification");
1108
1097
  const _component_OrSkeletonText = resolveComponent("OrSkeletonText");
1109
1098
  const _component_OrDataGridTableContentCell = resolveComponent("OrDataGridTableContentCell");
1110
1099
  const _component_OrDataGridTableContentRow = resolveComponent("OrDataGridTableContentRow");
@@ -1185,15 +1174,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1185
1174
  _: 1 /* STABLE */
1186
1175
  }, 8 /* PROPS */, ["variant"])]),
1187
1176
  _: 1 /* STABLE */
1188
- }), _ctx.notification ? (openBlock(), createElementBlock("div", _hoisted_1, [createVNode(_component_OrNotification, mergeProps(_ctx.notification, {
1189
- class: "rounded-0",
1190
- onClose: _cache[3] || (_cache[3] = $event => _ctx.$emit('close-notification'))
1191
- }), {
1192
- default: withCtx(() => [_ctx.$slots['notification'] ? renderSlot(_ctx.$slots, 'notification', {
1193
- key: 0
1194
- }) : createCommentVNode("v-if", true)]),
1195
- _: 3 /* FORWARDED */
1196
- }, 16 /* FULL_PROPS */)])) : createCommentVNode("v-if", true), createVNode(_component_OrDataGridTableContent, null, {
1177
+ }), createVNode(_component_OrDataGridTableContent, null, {
1197
1178
  default: withCtx(() => [_ctx.loading ? (openBlock(), createElementBlock(Fragment, {
1198
1179
  key: 0
1199
1180
  }, renderList(10, n => {
@@ -1240,7 +1221,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1240
1221
  }, {
1241
1222
  default: withCtx(() => [createVNode(_component_OrCheckbox, {
1242
1223
  modelValue: _ctx.selectingModel,
1243
- "onUpdate:modelValue": _cache[4] || (_cache[4] = $event => _ctx.selectingModel = $event),
1224
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = $event => _ctx.selectingModel = $event),
1244
1225
  value: item.id
1245
1226
  }, null, 8 /* PROPS */, ["modelValue", "value"])]),
1246
1227
  _: 2 /* DYNAMIC */
@@ -1254,7 +1235,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1254
1235
  item[column.name] = value;
1255
1236
  _ctx.$emit('update:item', item);
1256
1237
  },
1257
- onFocusin: _cache[5] || (_cache[5] = $event => _ctx.scrollTo($event))
1238
+ onFocusin: _cache[4] || (_cache[4] = $event => _ctx.scrollTo($event))
1258
1239
  }, {
1259
1240
  default: withCtx(() => [renderSlot(_ctx.$slots, column.name, {
1260
1241
  column: column,
@@ -1317,7 +1298,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1317
1298
  name: "paging",
1318
1299
  fn: withCtx(() => [createVNode(_component_OrPagination, {
1319
1300
  modelValue: _ctx.pagingModel,
1320
- "onUpdate:modelValue": _cache[6] || (_cache[6] = $event => _ctx.pagingModel = $event),
1301
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = $event => _ctx.pagingModel = $event),
1321
1302
  length: _ctx.features.paging.length,
1322
1303
  options: _ctx.features.paging.options
1323
1304
  }, null, 8 /* PROPS */, ["modelValue", "length", "options"])]),
@@ -1 +1 @@
1
- export { s as default } from '../OrNotificationV3-8f1d379e.js';
1
+ export { s as default } from '../OrNotificationV3-282c8bd2.js';
@@ -10,10 +10,6 @@ declare const _default: import("vue").DefineComponent<{
10
10
  type: BooleanConstructor;
11
11
  default: boolean;
12
12
  };
13
- message: {
14
- type: StringConstructor;
15
- default: undefined;
16
- };
17
13
  }, {
18
14
  root: import("vue").Ref<HTMLElement | undefined>;
19
15
  rootStyles: import("vue").ComputedRef<string[]>;
@@ -34,13 +30,8 @@ declare const _default: import("vue").DefineComponent<{
34
30
  type: BooleanConstructor;
35
31
  default: boolean;
36
32
  };
37
- message: {
38
- type: StringConstructor;
39
- default: undefined;
40
- };
41
33
  }>>, {
42
34
  variant: "success" | "warning" | "error" | "info";
43
35
  disableClose: boolean;
44
- message: string;
45
36
  }, {}>;
46
37
  export default _default;
@@ -1 +1 @@
1
- export { N as NotificationVariant, s as OrNotificationV3, V as VariantToIconName } from '../OrNotificationV3-8f1d379e.js';
1
+ export { N as NotificationVariant, s as OrNotificationV3, V as VariantToIconName } from '../OrNotificationV3-282c8bd2.js';
@@ -1 +1 @@
1
- export { N as NotificationVariant, V as VariantToIconName } from '../OrNotificationV3-8f1d379e.js';
1
+ export { N as NotificationVariant, V as VariantToIconName } from '../OrNotificationV3-282c8bd2.js';
@@ -1 +1 @@
1
- export { a as Notification, b as NotificationVariants } from '../OrNotificationV3-8f1d379e.js';
1
+ export { a as Notification, b as NotificationVariants } from '../OrNotificationV3-282c8bd2.js';
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, normalizeProps, guardReactiveProps, renderSlot, createTextVNode, toDisplayString, createBlock, withModifiers, createCommentVNode } from 'vue';
1
+ import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, normalizeProps, guardReactiveProps, renderSlot, createBlock, withModifiers, createCommentVNode } from 'vue';
2
2
  import { s as script$1, I as IndicatorColor } from './OrIndicatorV3-fca2ebef.js';
3
3
  import { s as script$2 } from './OrIconButtonV3-52e30d25.js';
4
4
 
@@ -68,10 +68,6 @@ var script = defineComponent({
68
68
  disableClose: {
69
69
  type: Boolean,
70
70
  default: false
71
- },
72
- message: {
73
- type: String,
74
- default: undefined
75
71
  }
76
72
  },
77
73
  expose: ['root'],
@@ -119,7 +115,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
119
115
  return openBlock(), createElementBlock("div", {
120
116
  ref: 'root',
121
117
  class: normalizeClass(_ctx.rootStyles)
122
- }, [createElementVNode("div", _hoisted_1, [createVNode(_component_OrIndicator, normalizeProps(guardReactiveProps(_ctx.indicatorProps)), null, 16 /* FULL_PROPS */)]), createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(_ctx.message), 1 /* TEXT */)])]), createElementVNode("div", _hoisted_3, [!_ctx.disableClose ? (openBlock(), createBlock(_component_OrIconButton, {
118
+ }, [createElementVNode("div", _hoisted_1, [createVNode(_component_OrIndicator, normalizeProps(guardReactiveProps(_ctx.indicatorProps)), null, 16 /* FULL_PROPS */)]), createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default")]), createElementVNode("div", _hoisted_3, [!_ctx.disableClose ? (openBlock(), createBlock(_component_OrIconButton, {
123
119
  key: 0,
124
120
  icon: 'close',
125
121
  size: 'm',
@@ -24,7 +24,7 @@ export { s as OrCombinedInputV3 } from './OrCombinedInputV3-7aa0d255.js';
24
24
  export { s as OrConfirm } from './OrConfirm-bcd0e8ef.js';
25
25
  export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirmV3-860933a8.js';
26
26
  export { default as OrContextMenuV3 } from './OrContextMenuV3/OrContextMenu.js';
27
- export { D as DataGridVariant, s as OrDataGridV3 } from './OrDataGridV3-c866dc8a.js';
27
+ export { D as DataGridVariant, s as OrDataGridV3 } from './OrDataGridV3-766d1da7.js';
28
28
  export { s as OrDateFormatV3 } from './OrDateFormatV3-0177905c.js';
29
29
  export { s as OrDatePickerV3 } from './OrDatePickerV3-63a6c872.js';
30
30
  export { s as OrDateRangePickerV3 } from './OrDateRangePickerV3-b97bac85.js';
@@ -71,7 +71,7 @@ export { s as OrMenuV3 } from './OrMenuV3-d755748b.js';
71
71
  export { s as OrModal, O as OrModalSizes } from './OrModal-d3a15049.js';
72
72
  export { M as ModalSize, s as OrModalV3 } from './OrModalV3-5317fe73.js';
73
73
  export { OR_NOTIFICATION_SIZE, OR_NOTIFICATION_TYPE, OrNotification } from './OrNotification/index.js';
74
- export { N as NotificationVariant, s as OrNotificationV3, V as VariantToIconName } from './OrNotificationV3-8f1d379e.js';
74
+ export { N as NotificationVariant, s as OrNotificationV3, V as VariantToIconName } from './OrNotificationV3-282c8bd2.js';
75
75
  export { default as OrNumberInput } from './OrNumberInput/OrNumberInput.js';
76
76
  export { default as OrOverflowMenu } from './OrOverflowMenu/OrOverflowMenu.js';
77
77
  export { default as OrOverlay } from './OrOverlay/OrOverlay.js';