@onereach/ui-components-vue2 19.2.2 → 19.2.4
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 +8 -13
- package/dist/bundled/components/OrDataGridV3/types.d.ts +1 -1
- package/dist/bundled/components/OrToastV3/styles.js +2 -2
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/components/or-data-grid-v3/index.js +5 -10
- package/dist/esm/components/or-data-grid-v3/partials/index.js +1 -1
- package/dist/esm/components/or-data-grid-v3/types.d.ts +1 -1
- package/dist/esm/components/or-toast-v3/index.js +2 -2
- package/dist/esm/{index-5cb18aae.js → index-89c01c3b.js} +4 -4
- package/dist/esm/index.js +1 -1
- package/package.json +3 -3
|
@@ -201,7 +201,7 @@ var script$c = defineComponent({
|
|
|
201
201
|
default: false
|
|
202
202
|
}
|
|
203
203
|
},
|
|
204
|
-
emits: ['
|
|
204
|
+
emits: ['input'],
|
|
205
205
|
expose: ['root'],
|
|
206
206
|
setup(props, context) {
|
|
207
207
|
// Refs & Styles
|
|
@@ -242,7 +242,7 @@ var script$c = defineComponent({
|
|
|
242
242
|
const model = computed({
|
|
243
243
|
get: () => props.modelValue,
|
|
244
244
|
set: value => {
|
|
245
|
-
context.emit('
|
|
245
|
+
context.emit('input', value);
|
|
246
246
|
}
|
|
247
247
|
});
|
|
248
248
|
const control = computed(() => {
|
|
@@ -827,7 +827,7 @@ var script$6 = defineComponent({
|
|
|
827
827
|
});
|
|
828
828
|
// Methods
|
|
829
829
|
function toggleSorting() {
|
|
830
|
-
var _a;
|
|
830
|
+
var _a, _b;
|
|
831
831
|
if (!((_a = props.features) === null || _a === void 0 ? void 0 : _a.sorting)) {
|
|
832
832
|
return;
|
|
833
833
|
}
|
|
@@ -841,7 +841,7 @@ var script$6 = defineComponent({
|
|
|
841
841
|
throw new Error('[OrDataGridTableHeaderCell]: `column` must be specified.');
|
|
842
842
|
}
|
|
843
843
|
model.value = {
|
|
844
|
-
column: props.column.name,
|
|
844
|
+
column: ((_b = props.column) === null || _b === void 0 ? void 0 : _b.name) || '_check',
|
|
845
845
|
direction: 'asc'
|
|
846
846
|
};
|
|
847
847
|
}
|
|
@@ -1613,23 +1613,18 @@ var __vue_render__ = function () {
|
|
|
1613
1613
|
return _c('OrDataGridTableContentCell', {
|
|
1614
1614
|
key: column.name,
|
|
1615
1615
|
attrs: {
|
|
1616
|
+
"model-value": item[column.name],
|
|
1616
1617
|
"column": column,
|
|
1617
1618
|
"features": _vm.features
|
|
1618
1619
|
},
|
|
1619
1620
|
on: {
|
|
1620
|
-
"
|
|
1621
|
-
|
|
1621
|
+
"input": function (value) {
|
|
1622
|
+
item[column.name] = value;
|
|
1623
|
+
_vm.$emit('update:item', item);
|
|
1622
1624
|
},
|
|
1623
1625
|
"focusin": function ($event) {
|
|
1624
1626
|
return _vm.scrollTo($event);
|
|
1625
1627
|
}
|
|
1626
|
-
},
|
|
1627
|
-
model: {
|
|
1628
|
-
value: item[column.name],
|
|
1629
|
-
callback: function ($$v) {
|
|
1630
|
-
_vm.$set(item, column.name, $$v);
|
|
1631
|
-
},
|
|
1632
|
-
expression: "item[column.name]"
|
|
1633
1628
|
}
|
|
1634
1629
|
}, [_vm._t(column.name, function () {
|
|
1635
1630
|
return [_vm._v("\n " + _vm._s(item[column.name]) + "\n ")];
|
|
@@ -50,10 +50,10 @@ const messageStyleVariant = {
|
|
|
50
50
|
'typography-caption-regular'],
|
|
51
51
|
'error': [
|
|
52
52
|
// Typography
|
|
53
|
-
'typography-caption-
|
|
53
|
+
'typography-caption-regular'],
|
|
54
54
|
'loading': [
|
|
55
55
|
// Typography
|
|
56
|
-
'typography-caption-
|
|
56
|
+
'typography-caption-regular']
|
|
57
57
|
};
|
|
58
58
|
|
|
59
59
|
export { Toast, ToastContainer, ToastContainerPositions, messageStyleVariant };
|
|
@@ -35,7 +35,7 @@ export { OrConfirm } from './or-confirm/index.js';
|
|
|
35
35
|
export { ConfirmType, OrConfirmV3 } from './or-confirm-v3/index.js';
|
|
36
36
|
export { OrContextMenuV3 } from './or-context-menu-v3/index.js';
|
|
37
37
|
export { OrDataGridV3 } from './or-data-grid-v3/index.js';
|
|
38
|
-
export { D as DataGridVariant } from '../index-
|
|
38
|
+
export { D as DataGridVariant } from '../index-89c01c3b.js';
|
|
39
39
|
export { OrDateFormatV3 } from './or-date-format-v3/index.js';
|
|
40
40
|
export { OrDatePickerV3 } from './or-date-picker-v3/index.js';
|
|
41
41
|
export { OrDateRangePickerV3 } from './or-date-range-picker-v3/index.js';
|
|
@@ -5,7 +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 { _ 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-
|
|
8
|
+
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
9
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
10
10
|
import '../../useIdAttribute-524b67c6.js';
|
|
11
11
|
import '../../types/index.js';
|
|
@@ -436,23 +436,18 @@ var __vue_render__ = function () {
|
|
|
436
436
|
return _c('OrDataGridTableContentCell', {
|
|
437
437
|
key: column.name,
|
|
438
438
|
attrs: {
|
|
439
|
+
"model-value": item[column.name],
|
|
439
440
|
"column": column,
|
|
440
441
|
"features": _vm.features
|
|
441
442
|
},
|
|
442
443
|
on: {
|
|
443
|
-
"
|
|
444
|
-
|
|
444
|
+
"input": function (value) {
|
|
445
|
+
item[column.name] = value;
|
|
446
|
+
_vm.$emit('update:item', item);
|
|
445
447
|
},
|
|
446
448
|
"focusin": function ($event) {
|
|
447
449
|
return _vm.scrollTo($event);
|
|
448
450
|
}
|
|
449
|
-
},
|
|
450
|
-
model: {
|
|
451
|
-
value: item[column.name],
|
|
452
|
-
callback: function ($$v) {
|
|
453
|
-
_vm.$set(item, column.name, $$v);
|
|
454
|
-
},
|
|
455
|
-
expression: "item[column.name]"
|
|
456
451
|
}
|
|
457
452
|
}, [_vm._t(column.name, function () {
|
|
458
453
|
return [_vm._v("\n " + _vm._s(item[column.name]) + "\n ")];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrDataGridFooter, a as OrDataGridHeader, b as OrDataGridTable, c as OrDataGridTableContent, d as OrDataGridTableContentCell, e as OrDataGridTableContentRow, f as OrDataGridTableFooter, g as OrDataGridTableFooterCell, h as OrDataGridTableFooterRow, i as OrDataGridTableHeader, j as OrDataGridTableHeaderCell, k as OrDataGridTableHeaderRow, l as OrDataGridTablePlaceholder, m as OrDataGridToolbar } from '../../../index-
|
|
1
|
+
export { _ as OrDataGridFooter, a as OrDataGridHeader, b as OrDataGridTable, c as OrDataGridTableContent, d as OrDataGridTableContentCell, e as OrDataGridTableContentRow, f as OrDataGridTableFooter, g as OrDataGridTableFooterCell, h as OrDataGridTableFooterRow, i as OrDataGridTableHeader, j as OrDataGridTableHeaderCell, k as OrDataGridTableHeaderRow, l as OrDataGridTablePlaceholder, m as OrDataGridToolbar } from '../../../index-89c01c3b.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../../normalize-component-cf2db48b.js';
|
|
4
4
|
import '../../or-checkbox-v3/index.js';
|
|
@@ -85,10 +85,10 @@ const messageStyleVariant = {
|
|
|
85
85
|
'typography-caption-regular'],
|
|
86
86
|
'error': [
|
|
87
87
|
// Typography
|
|
88
|
-
'typography-caption-
|
|
88
|
+
'typography-caption-regular'],
|
|
89
89
|
'loading': [
|
|
90
90
|
// Typography
|
|
91
|
-
'typography-caption-
|
|
91
|
+
'typography-caption-regular']
|
|
92
92
|
};
|
|
93
93
|
|
|
94
94
|
var script$1 = defineComponent({
|
|
@@ -197,7 +197,7 @@ var script$b = defineComponent({
|
|
|
197
197
|
default: false
|
|
198
198
|
}
|
|
199
199
|
},
|
|
200
|
-
emits: ['
|
|
200
|
+
emits: ['input'],
|
|
201
201
|
expose: ['root'],
|
|
202
202
|
setup(props, context) {
|
|
203
203
|
// Refs & Styles
|
|
@@ -238,7 +238,7 @@ var script$b = defineComponent({
|
|
|
238
238
|
const model = computed({
|
|
239
239
|
get: () => props.modelValue,
|
|
240
240
|
set: value => {
|
|
241
|
-
context.emit('
|
|
241
|
+
context.emit('input', value);
|
|
242
242
|
}
|
|
243
243
|
});
|
|
244
244
|
const control = computed(() => {
|
|
@@ -817,7 +817,7 @@ var script$5 = defineComponent({
|
|
|
817
817
|
});
|
|
818
818
|
// Methods
|
|
819
819
|
function toggleSorting() {
|
|
820
|
-
var _a;
|
|
820
|
+
var _a, _b;
|
|
821
821
|
if (!((_a = props.features) === null || _a === void 0 ? void 0 : _a.sorting)) {
|
|
822
822
|
return;
|
|
823
823
|
}
|
|
@@ -831,7 +831,7 @@ var script$5 = defineComponent({
|
|
|
831
831
|
throw new Error('[OrDataGridTableHeaderCell]: `column` must be specified.');
|
|
832
832
|
}
|
|
833
833
|
model.value = {
|
|
834
|
-
column: props.column.name,
|
|
834
|
+
column: ((_b = props.column) === null || _b === void 0 ? void 0 : _b.name) || '_check',
|
|
835
835
|
direction: 'asc'
|
|
836
836
|
};
|
|
837
837
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -35,7 +35,7 @@ export { OrConfirm } from './components/or-confirm/index.js';
|
|
|
35
35
|
export { ConfirmType, OrConfirmV3 } from './components/or-confirm-v3/index.js';
|
|
36
36
|
export { OrContextMenuV3 } from './components/or-context-menu-v3/index.js';
|
|
37
37
|
export { OrDataGridV3 } from './components/or-data-grid-v3/index.js';
|
|
38
|
-
export { D as DataGridVariant } from './index-
|
|
38
|
+
export { D as DataGridVariant } from './index-89c01c3b.js';
|
|
39
39
|
export { OrDateFormatV3 } from './components/or-date-format-v3/index.js';
|
|
40
40
|
export { OrDatePickerV3 } from './components/or-date-picker-v3/index.js';
|
|
41
41
|
export { OrDateRangePickerV3 } from './components/or-date-range-picker-v3/index.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components-vue2",
|
|
3
|
-
"version": "19.2.
|
|
3
|
+
"version": "19.2.4",
|
|
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.2.
|
|
38
|
+
"@onereach/styles": "^19.2.4",
|
|
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": "dccaae62c2dd0dce21f30ef1f469cca8e76b75a9"
|
|
138
138
|
}
|