@onereach/ui-components 13.0.2-beta.4620.0 → 13.0.2-beta.4625.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/v2/{OrDataGrid-fecf13cb.js → OrDataGrid-b402ab6b.js} +19 -5
- package/dist/bundled/v2/components/OrDataGridV3/OrDataGrid.js +1 -1
- package/dist/bundled/v2/components/OrDataGridV3/OrDataGrid.vue.d.ts +1 -1
- package/dist/bundled/v2/components/OrDataGridV3/index.js +1 -1
- package/dist/bundled/v2/components/OrDataGridV3/types.d.ts +2 -2
- package/dist/bundled/v2/components/index.js +1 -1
- package/dist/bundled/v2/index.js +2 -2
- package/dist/bundled/v3/components/OrDataGridV3/OrDataGrid.js +1 -1
- package/dist/bundled/v3/components/OrDataGridV3/OrDataGrid.vue.d.ts +1 -1
- package/dist/bundled/v3/components/OrDataGridV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDataGridV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrDataGridV3/types.d.ts +2 -2
- package/dist/bundled/v3/components/{OrDataGridV3-817c2d50.js → OrDataGridV3-c0778cea.js} +16 -5
- package/dist/bundled/v3/components/index.js +1 -1
- package/dist/bundled/v3/index.js +2 -2
- package/dist/esm/v2/{OrDataGrid-95f93a07.js → OrDataGrid-e63e7e8b.js} +14 -2
- package/dist/esm/v2/{OrDataGridToolbar-883e722a.js → OrDataGridToolbar-7eeadaf3.js} +6 -4
- package/dist/esm/v2/components/index.js +2 -2
- package/dist/esm/v2/components/or-data-grid-v3/OrDataGrid.vue.d.ts +1 -1
- package/dist/esm/v2/components/or-data-grid-v3/index.js +2 -2
- package/dist/esm/v2/components/or-data-grid-v3/partials/index.js +1 -1
- package/dist/esm/v2/components/or-data-grid-v3/partials/or-data-grid-table-header-cell/OrDataGridTableHeaderCell.vue.d.ts +4 -4
- package/dist/esm/v2/components/or-data-grid-v3/types.d.ts +2 -2
- package/dist/esm/v2/index.js +2 -2
- package/dist/esm/v3/{OrDataGrid-be779c61.js → OrDataGrid-bbd22378.js} +11 -2
- package/dist/esm/v3/{OrDataGridToolbar-4425e714.js → OrDataGridToolbar-31757ba2.js} +6 -4
- package/dist/esm/v3/components/index.js +2 -2
- package/dist/esm/v3/components/or-data-grid-v3/OrDataGrid.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-data-grid-v3/index.js +2 -2
- package/dist/esm/v3/components/or-data-grid-v3/partials/index.js +1 -1
- package/dist/esm/v3/components/or-data-grid-v3/partials/or-data-grid-table-header-cell/OrDataGridTableHeaderCell.vue.d.ts +4 -4
- package/dist/esm/v3/components/or-data-grid-v3/types.d.ts +2 -2
- package/dist/esm/v3/index.js +2 -2
- package/package.json +1 -1
- package/src/components/or-data-grid-v3/OrDataGrid.vue +5 -1
- package/src/components/or-data-grid-v3/partials/or-data-grid-table/styles.ts +7 -0
- package/src/components/or-data-grid-v3/partials/or-data-grid-table-content-cell/OrDataGridTableContentCell.vue +1 -1
- package/src/components/or-data-grid-v3/partials/or-data-grid-table-header-cell/OrDataGridTableHeaderCell.vue +2 -2
- package/src/components/or-data-grid-v3/types.ts +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as default } from '../OrDataGridV3-
|
|
1
|
+
export { s as default } from '../OrDataGridV3-c0778cea.js';
|
|
@@ -37,7 +37,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
37
37
|
filteringModel: import("vue-demi").WritableComputedRef<undefined>;
|
|
38
38
|
searchingModel: import("vue-demi").WritableComputedRef<import("../../types").ModelValue<string>>;
|
|
39
39
|
sortingModel: import("vue-demi").WritableComputedRef<import("../../types").ModelValue<{
|
|
40
|
-
column: string;
|
|
40
|
+
column: string | undefined;
|
|
41
41
|
direction: "asc" | "desc";
|
|
42
42
|
}>>;
|
|
43
43
|
pagingModel: import("vue-demi").WritableComputedRef<import("../or-pagination-v3").PaginationModelValue>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { D as DataGridVariant, s as OrDataGridV3 } from '../OrDataGridV3-
|
|
1
|
+
export { D as DataGridVariant, s as OrDataGridV3 } from '../OrDataGridV3-c0778cea.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as DataGrid } from '../OrDataGridV3-
|
|
1
|
+
export { a as DataGrid } from '../OrDataGridV3-c0778cea.js';
|
|
@@ -13,8 +13,8 @@ export type DataGridModelValue = ModelValue<{
|
|
|
13
13
|
}>;
|
|
14
14
|
export type DataGridItem<T extends DataModel> = T;
|
|
15
15
|
export type DataGridColumn = {
|
|
16
|
-
name
|
|
17
|
-
label
|
|
16
|
+
name?: string;
|
|
17
|
+
label?: string;
|
|
18
18
|
width?: string;
|
|
19
19
|
alignment?: 'start' | 'end' | 'center';
|
|
20
20
|
stickiness?: 'start' | 'end';
|
|
@@ -165,7 +165,7 @@ var script$c = defineComponent({
|
|
|
165
165
|
const root = ref();
|
|
166
166
|
const rootStyles = computed(() => {
|
|
167
167
|
var _a;
|
|
168
|
-
return ['or-data-grid-table-content-cell-v3', ...DataGridTableContentCell, ...(((_a = props.column) === null || _a === void 0 ? void 0 : _a.stickiness) ? [`sticky-${props.column.stickiness}
|
|
168
|
+
return ['or-data-grid-table-content-cell-v3', ...DataGridTableContentCell, ...(((_a = props.column) === null || _a === void 0 ? void 0 : _a.stickiness) ? [`sticky-${props.column.stickiness}`] : [])];
|
|
169
169
|
});
|
|
170
170
|
const rootInlineStyles = computed(() => {
|
|
171
171
|
if (props.column) {
|
|
@@ -543,8 +543,8 @@ var script$6 = defineComponent({
|
|
|
543
543
|
// Refs & Styles
|
|
544
544
|
const root = ref();
|
|
545
545
|
const rootStyles = computed(() => {
|
|
546
|
-
var _a, _b;
|
|
547
|
-
return ['or-data-grid-table-header-cell-v3', ...DataGridTableHeaderCell, ...(((_a = props.column) === null || _a === void 0 ? void 0 : _a.stickiness) ? [`sticky-${props.column.stickiness}
|
|
546
|
+
var _a, _b, _c;
|
|
547
|
+
return ['or-data-grid-table-header-cell-v3', ...DataGridTableHeaderCell, ...(((_a = props.column) === null || _a === void 0 ? void 0 : _a.stickiness) ? [`sticky-${props.column.stickiness}`] : []), ...(((_b = props.features) === null || _b === void 0 ? void 0 : _b.sorting) && ((_c = props.column) === null || _c === void 0 ? void 0 : _c.name) ? ['interactivity-click'] : [])];
|
|
548
548
|
});
|
|
549
549
|
const rootInlineStyles = computed(() => {
|
|
550
550
|
if (props.column) {
|
|
@@ -773,7 +773,9 @@ const DataGridTable = [
|
|
|
773
773
|
// Overflow
|
|
774
774
|
'overflow-auto',
|
|
775
775
|
// Interactivity
|
|
776
|
-
'interactivity-default'
|
|
776
|
+
'interactivity-default',
|
|
777
|
+
// Spacing
|
|
778
|
+
'-mx-[calc(theme(outlineWidth.2))]', '-my-0', 'px-[calc(theme(outlineWidth.2))]', 'py-0'];
|
|
777
779
|
|
|
778
780
|
var script$2 = defineComponent({
|
|
779
781
|
name: 'OrDataGridTable',
|
|
@@ -1083,7 +1085,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1083
1085
|
variant: _ctx.variant
|
|
1084
1086
|
}, {
|
|
1085
1087
|
default: withCtx(() => [_ctx.features.selecting ? (openBlock(), createBlock(_component_OrDataGridTableHeaderCell, {
|
|
1086
|
-
key: 0
|
|
1088
|
+
key: 0,
|
|
1089
|
+
column: {
|
|
1090
|
+
stickiness: 'start'
|
|
1091
|
+
}
|
|
1087
1092
|
}, {
|
|
1088
1093
|
default: withCtx(() => [createVNode(_component_OrCheckbox, {
|
|
1089
1094
|
modelValue: _ctx.selectingIndicator,
|
|
@@ -1119,6 +1124,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1119
1124
|
}, {
|
|
1120
1125
|
default: withCtx(() => [_ctx.features.selecting ? (openBlock(), createBlock(_component_OrDataGridTableContentCell, {
|
|
1121
1126
|
key: 0,
|
|
1127
|
+
column: {
|
|
1128
|
+
stickiness: 'start'
|
|
1129
|
+
},
|
|
1122
1130
|
override: true
|
|
1123
1131
|
}, {
|
|
1124
1132
|
default: withCtx(() => [createVNode(_component_OrSkeletonText)]),
|
|
@@ -1146,6 +1154,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1146
1154
|
}, {
|
|
1147
1155
|
default: withCtx(() => [_ctx.features.selecting ? (openBlock(), createBlock(_component_OrDataGridTableContentCell, {
|
|
1148
1156
|
key: 0,
|
|
1157
|
+
column: {
|
|
1158
|
+
stickiness: 'start'
|
|
1159
|
+
},
|
|
1149
1160
|
"force-state": 'none'
|
|
1150
1161
|
}, {
|
|
1151
1162
|
default: withCtx(() => [createVNode(_component_OrCheckbox, {
|
|
@@ -24,7 +24,7 @@ export { s as OrCombinedInputV3 } from './OrCombinedInputV3-ceff5a22.js';
|
|
|
24
24
|
export { s as OrConfirm } from './OrConfirm-eb6bdad9.js';
|
|
25
25
|
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirmV3-8af14863.js';
|
|
26
26
|
export { default as OrContextMenuV3 } from './OrContextMenuV3/OrContextMenu.js';
|
|
27
|
-
export { D as DataGridVariant, s as OrDataGridV3 } from './OrDataGridV3-
|
|
27
|
+
export { D as DataGridVariant, s as OrDataGridV3 } from './OrDataGridV3-c0778cea.js';
|
|
28
28
|
export { s as OrDateFormatV3 } from './OrDateFormatV3-92791518.js';
|
|
29
29
|
export { s as OrDatePickerV3 } from './OrDatePickerV3-e7547219.js';
|
|
30
30
|
export { s as OrDateRangePickerV3 } from './OrDateRangePickerV3-ffd7ed1c.js';
|