@onereach/ui-components-vue2 19.5.0 → 19.6.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.
- package/dist/bundled/components/OrDataGridV3/index.js +19 -4
- package/dist/bundled/components/OrNotificationV3/OrNotification.js +7 -1
- package/dist/bundled/index.js +2 -2
- package/dist/esm/components/or-data-grid-v3/index.js +20 -4
- package/dist/esm/components/or-notification-v3/index.js +7 -1
- package/package.json +3 -3
|
@@ -5,6 +5,7 @@ import { OrSearchV3 as __vue_component__$h } from '../or-search-v3/index.js';
|
|
|
5
5
|
import '../../OrSkeletonCircle.vue_rollup-plugin-vue_script-373399b7.js';
|
|
6
6
|
import '../../OrSkeletonRect.vue_rollup-plugin-vue_script-99ae0828.js';
|
|
7
7
|
import { OrSkeletonTextV3 as __vue_component__$i } from '../or-skeleton-v3/or-skeleton-text-v3/index.js';
|
|
8
|
+
import { OrNotificationV3 as __vue_component__$j } from '../or-notification-v3/index.js';
|
|
8
9
|
import { _ as __vue_component__$2, a as __vue_component__$3, b as __vue_component__$4, c as __vue_component__$5, d as __vue_component__$6, e as __vue_component__$7, f as __vue_component__$8, g as __vue_component__$9, h as __vue_component__$a, i as __vue_component__$b, j as __vue_component__$c, k as __vue_component__$d, l as __vue_component__$e, m as __vue_component__$f, D as DataGridVariant } from '../../index-89c01c3b.js';
|
|
9
10
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
10
11
|
import '../../useIdAttribute-524b67c6.js';
|
|
@@ -52,6 +53,7 @@ import '../../style-inject.es-87955792.js';
|
|
|
52
53
|
import '../../px-to-rem-a21cdf39.js';
|
|
53
54
|
import '../../styles-b98d8bf7.js';
|
|
54
55
|
import 'lodash/range';
|
|
56
|
+
import '../or-indicator-v3/index.js';
|
|
55
57
|
import '../or-date-picker-v3/index.js';
|
|
56
58
|
import '../../directives/index.js';
|
|
57
59
|
import '../../useTimeFormat-d9b2ba33.js';
|
|
@@ -106,7 +108,8 @@ var script = defineComponent({
|
|
|
106
108
|
OrDataGridToolbar: __vue_component__$f,
|
|
107
109
|
OrPagination: __vue_component__$g,
|
|
108
110
|
OrSearch: __vue_component__$h,
|
|
109
|
-
OrSkeletonText: __vue_component__$i
|
|
111
|
+
OrSkeletonText: __vue_component__$i,
|
|
112
|
+
OrNotification: __vue_component__$j
|
|
110
113
|
},
|
|
111
114
|
model: {
|
|
112
115
|
prop: 'modelValue',
|
|
@@ -136,9 +139,13 @@ var script = defineComponent({
|
|
|
136
139
|
loading: {
|
|
137
140
|
type: Boolean,
|
|
138
141
|
default: false
|
|
142
|
+
},
|
|
143
|
+
notification: {
|
|
144
|
+
type: Object,
|
|
145
|
+
default: undefined
|
|
139
146
|
}
|
|
140
147
|
},
|
|
141
|
-
emits: ['update:modelValue', 'update:item'],
|
|
148
|
+
emits: ['update:modelValue', 'update:item', 'close-notification'],
|
|
142
149
|
expose: ['root'],
|
|
143
150
|
setup(props, context) {
|
|
144
151
|
// Refs & Styles
|
|
@@ -384,7 +391,16 @@ var __vue_render__ = function () {
|
|
|
384
391
|
expression: "sortingModel"
|
|
385
392
|
}
|
|
386
393
|
}, [_vm._v("\n " + _vm._s(column.label) + "\n ")]);
|
|
387
|
-
})], 2)], 1), _vm._v(" "),
|
|
394
|
+
})], 2)], 1), _vm._v(" "), _vm.notification ? [_c('div', {
|
|
395
|
+
staticClass: "grid col-span-full"
|
|
396
|
+
}, [_c('OrNotification', _vm._b({
|
|
397
|
+
staticClass: "rounded-0",
|
|
398
|
+
on: {
|
|
399
|
+
"close": function ($event) {
|
|
400
|
+
return _vm.$emit('close-notification');
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
}, 'OrNotification', _vm.notification, false), [_vm.$slots['notification'] ? [_vm._t('notification')] : _vm._e()], 2)], 1)] : _vm._e(), _vm._v(" "), _c('OrDataGridTableContent', [_vm.loading ? _vm._l(10, function (n) {
|
|
388
404
|
return _c('OrDataGridTableContentRow', {
|
|
389
405
|
key: n,
|
|
390
406
|
attrs: {
|
|
@@ -469,7 +485,7 @@ var __vue_render__ = function () {
|
|
|
469
485
|
attrs: {
|
|
470
486
|
"variant": _vm.variant
|
|
471
487
|
}
|
|
472
|
-
}, [_vm._t('empty')], 2)] : _vm._e()], 2)],
|
|
488
|
+
}, [_vm._t('empty')], 2)] : _vm._e()], 2)], 2), _vm._v(" "), _vm.$slots['extra-row'] ? [_c('OrDataGridTableFooter', [_c('OrDataGridTableFooterRow', {
|
|
473
489
|
class: ['shrink-0'],
|
|
474
490
|
attrs: {
|
|
475
491
|
"variant": _vm.variant
|
|
@@ -92,6 +92,10 @@ var script = defineComponent({
|
|
|
92
92
|
disableClose: {
|
|
93
93
|
type: Boolean,
|
|
94
94
|
default: false
|
|
95
|
+
},
|
|
96
|
+
message: {
|
|
97
|
+
type: String,
|
|
98
|
+
default: undefined
|
|
95
99
|
}
|
|
96
100
|
},
|
|
97
101
|
expose: ['root'],
|
|
@@ -139,7 +143,9 @@ var __vue_render__ = function () {
|
|
|
139
143
|
class: ['mt-[2px] md:mt-[2.5px]']
|
|
140
144
|
}, [_c('OrIndicator', _vm._b({}, 'OrIndicator', _vm.indicatorProps, false))], 1), _vm._v(" "), _c('div', {
|
|
141
145
|
class: ['grow']
|
|
142
|
-
}, [_vm._t("default"
|
|
146
|
+
}, [_vm._t("default", function () {
|
|
147
|
+
return [_vm._v(" " + _vm._s(_vm.message) + " ")];
|
|
148
|
+
})], 2), _vm._v(" "), _c('div', {
|
|
143
149
|
class: ['mt-[2px] md:mt-[2.5px]']
|
|
144
150
|
}, [!_vm.disableClose ? _c('OrIconButton', {
|
|
145
151
|
attrs: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components-vue2",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.6.0",
|
|
4
4
|
"npmUnpacked": "4.15.2",
|
|
5
5
|
"description": "Vue components library for v2",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@codemirror/view": "^6",
|
|
36
36
|
"@floating-ui/dom": "1.5.3",
|
|
37
37
|
"@lezer/highlight": "*",
|
|
38
|
-
"@onereach/styles": "^19.
|
|
38
|
+
"@onereach/styles": "^19.6.0",
|
|
39
39
|
"@splidejs/splide": "4.0.6",
|
|
40
40
|
"@tiptap/core": "2.0.3",
|
|
41
41
|
"@tiptap/extension-blockquote": "2.0.3",
|
|
@@ -134,5 +134,5 @@
|
|
|
134
134
|
"default": "./dist/bundled/components/*/index.js"
|
|
135
135
|
}
|
|
136
136
|
},
|
|
137
|
-
"gitHead": "
|
|
137
|
+
"gitHead": "6ae2fdadb0dbcbde327db1ff4da53900b297d3f1"
|
|
138
138
|
}
|