@alaarab/ogrid-vue-radix 2.0.19 → 2.0.22
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/esm/ColumnHeaderFilter/ColumnHeaderFilter.css +30 -53
- package/dist/esm/ColumnHeaderFilter/ColumnHeaderFilter.module.css +0 -24
- package/dist/esm/ColumnHeaderFilter/ColumnHeaderFilter.vue.js +1 -1
- package/dist/esm/ColumnHeaderFilter/ColumnHeaderFilter.vue2.js +30 -49
- package/dist/esm/ColumnHeaderFilter/MultiSelectFilterPopover.css +0 -23
- package/dist/esm/ColumnHeaderFilter/PeopleFilterPopover.css +0 -23
- package/dist/esm/ColumnHeaderFilter/TextFilterPopover.css +0 -23
- package/dist/esm/DataGridTable/DataGridTable.css +292 -213
- package/dist/esm/DataGridTable/DataGridTable.js +34 -0
- package/dist/esm/DataGridTable/EmptyState.js +25 -0
- package/dist/esm/DataGridTable/InlineCellEditor.js +40 -0
- package/dist/esm/OGrid/OGrid.js +12 -0
- package/dist/esm/index.js +16 -16
- package/dist/types/DataGridTable/DataGridTable.d.ts +14 -0
- package/dist/types/DataGridTable/EmptyState.d.ts +11 -0
- package/dist/types/DataGridTable/InlineCellEditor.d.ts +63 -0
- package/dist/types/OGrid/OGrid.d.ts +14 -0
- package/dist/types/index.d.ts +3 -3
- package/package.json +2 -2
- package/dist/esm/DataGridTable/DataGridTable.module.css +0 -122
- package/dist/esm/DataGridTable/DataGridTable.vue.js +0 -7
- package/dist/esm/DataGridTable/DataGridTable.vue2.js +0 -542
- package/dist/esm/DataGridTable/InlineCellEditor.css +0 -125
- package/dist/esm/DataGridTable/InlineCellEditor.vue.js +0 -7
- package/dist/esm/DataGridTable/InlineCellEditor.vue2.js +0 -255
- package/dist/esm/OGrid/OGrid.vue.js +0 -516
- package/dist/esm/OGrid/OGrid.vue2.js +0 -4
- package/dist/types/DataGridTable/DataGridTable.vue.d.ts +0 -6
- package/dist/types/DataGridTable/InlineCellEditor.vue.d.ts +0 -17
- package/dist/types/OGrid/OGrid.vue.d.ts +0 -16
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.column-header[data-v-
|
|
1
|
+
.column-header[data-v-fe4323a7] {
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
gap: 4px;
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
position: relative;
|
|
9
9
|
box-sizing: border-box;
|
|
10
10
|
}
|
|
11
|
-
.header-content[data-v-
|
|
11
|
+
.header-content[data-v-fe4323a7] {
|
|
12
12
|
display: flex;
|
|
13
13
|
align-items: center;
|
|
14
14
|
flex: 1;
|
|
15
15
|
min-width: 0;
|
|
16
16
|
overflow: hidden;
|
|
17
17
|
}
|
|
18
|
-
.column-name[data-v-
|
|
18
|
+
.column-name[data-v-fe4323a7] {
|
|
19
19
|
display: block;
|
|
20
20
|
min-width: 0;
|
|
21
21
|
max-width: 100%;
|
|
@@ -26,37 +26,14 @@
|
|
|
26
26
|
font-size: 14px;
|
|
27
27
|
color: var(--ogrid-fg, rgba(0, 0, 0, 0.87));
|
|
28
28
|
}
|
|
29
|
-
.header-actions[data-v-
|
|
29
|
+
.header-actions[data-v-fe4323a7] {
|
|
30
30
|
display: flex;
|
|
31
31
|
align-items: center;
|
|
32
32
|
gap: 2px;
|
|
33
33
|
margin-left: auto;
|
|
34
34
|
flex-shrink: 0;
|
|
35
35
|
}
|
|
36
|
-
.
|
|
37
|
-
display: flex;
|
|
38
|
-
align-items: center;
|
|
39
|
-
justify-content: center;
|
|
40
|
-
width: 24px;
|
|
41
|
-
height: 24px;
|
|
42
|
-
padding: 4px;
|
|
43
|
-
border: none;
|
|
44
|
-
border-radius: 4px;
|
|
45
|
-
background: transparent;
|
|
46
|
-
color: var(--ogrid-fg-muted, rgba(0, 0, 0, 0.5));
|
|
47
|
-
cursor: pointer;
|
|
48
|
-
flex-shrink: 0;
|
|
49
|
-
font-size: 14px;
|
|
50
|
-
}
|
|
51
|
-
.sort-icon[data-v-daf1f1c5]:hover {
|
|
52
|
-
background: var(--ogrid-hover-bg, rgba(0, 0, 0, 0.04));
|
|
53
|
-
color: var(--ogrid-fg, rgba(0, 0, 0, 0.87));
|
|
54
|
-
}
|
|
55
|
-
.sort-icon.sort-active[data-v-daf1f1c5] {
|
|
56
|
-
background: var(--ogrid-header-bg, rgba(0, 0, 0, 0.04));
|
|
57
|
-
color: var(--ogrid-fg, rgba(0, 0, 0, 0.87));
|
|
58
|
-
}
|
|
59
|
-
.filter-icon[data-v-daf1f1c5] {
|
|
36
|
+
.filter-icon[data-v-fe4323a7] {
|
|
60
37
|
display: flex;
|
|
61
38
|
align-items: center;
|
|
62
39
|
justify-content: center;
|
|
@@ -72,18 +49,18 @@
|
|
|
72
49
|
position: relative;
|
|
73
50
|
font-size: 14px;
|
|
74
51
|
}
|
|
75
|
-
.filter-icon[data-v-
|
|
52
|
+
.filter-icon[data-v-fe4323a7]:hover {
|
|
76
53
|
background: var(--ogrid-hover-bg, rgba(0, 0, 0, 0.04));
|
|
77
54
|
color: var(--ogrid-fg, rgba(0, 0, 0, 0.87));
|
|
78
55
|
}
|
|
79
|
-
.filter-icon.filter-active[data-v-
|
|
56
|
+
.filter-icon.filter-active[data-v-fe4323a7] {
|
|
80
57
|
background: var(--ogrid-header-bg, rgba(0, 0, 0, 0.04));
|
|
81
58
|
color: var(--ogrid-accent, #0078d4);
|
|
82
59
|
}
|
|
83
|
-
.filter-icon.filter-open[data-v-
|
|
60
|
+
.filter-icon.filter-open[data-v-fe4323a7] {
|
|
84
61
|
background: var(--ogrid-header-bg, rgba(0, 0, 0, 0.04));
|
|
85
62
|
}
|
|
86
|
-
.filter-badge[data-v-
|
|
63
|
+
.filter-badge[data-v-fe4323a7] {
|
|
87
64
|
position: absolute;
|
|
88
65
|
top: 2px;
|
|
89
66
|
right: 2px;
|
|
@@ -93,7 +70,7 @@
|
|
|
93
70
|
border-radius: 50%;
|
|
94
71
|
border: 1px solid var(--ogrid-bg, #fff);
|
|
95
72
|
}
|
|
96
|
-
.popover-content[data-v-
|
|
73
|
+
.popover-content[data-v-fe4323a7] {
|
|
97
74
|
position: absolute;
|
|
98
75
|
top: calc(100% + 4px);
|
|
99
76
|
right: 0;
|
|
@@ -107,7 +84,7 @@
|
|
|
107
84
|
overflow: hidden;
|
|
108
85
|
color: var(--ogrid-fg, rgba(0, 0, 0, 0.87));
|
|
109
86
|
}
|
|
110
|
-
.popover-header[data-v-
|
|
87
|
+
.popover-header[data-v-fe4323a7] {
|
|
111
88
|
padding: 10px 14px;
|
|
112
89
|
font-size: 12px;
|
|
113
90
|
font-weight: 600;
|
|
@@ -115,11 +92,11 @@
|
|
|
115
92
|
border-bottom: 1px solid var(--ogrid-border, rgba(0, 0, 0, 0.12));
|
|
116
93
|
background: var(--ogrid-header-bg, rgba(0, 0, 0, 0.04));
|
|
117
94
|
}
|
|
118
|
-
.popover-search[data-v-
|
|
95
|
+
.popover-search[data-v-fe4323a7] {
|
|
119
96
|
padding: 10px 12px;
|
|
120
97
|
border-bottom: 1px solid var(--ogrid-border, rgba(0, 0, 0, 0.12));
|
|
121
98
|
}
|
|
122
|
-
.search-input[data-v-
|
|
99
|
+
.search-input[data-v-fe4323a7] {
|
|
123
100
|
width: 100%;
|
|
124
101
|
padding: 6px 10px;
|
|
125
102
|
border: 1px solid var(--ogrid-border, rgba(0, 0, 0, 0.12));
|
|
@@ -129,23 +106,23 @@
|
|
|
129
106
|
background: var(--ogrid-bg, #fff);
|
|
130
107
|
color: var(--ogrid-fg, rgba(0, 0, 0, 0.87));
|
|
131
108
|
}
|
|
132
|
-
.search-input[data-v-
|
|
109
|
+
.search-input[data-v-fe4323a7]:focus {
|
|
133
110
|
outline: none;
|
|
134
111
|
border-color: var(--ogrid-accent, #0078d4);
|
|
135
112
|
}
|
|
136
|
-
.result-count[data-v-
|
|
113
|
+
.result-count[data-v-fe4323a7] {
|
|
137
114
|
margin-top: 6px;
|
|
138
115
|
font-size: 11px;
|
|
139
116
|
color: var(--ogrid-fg-muted, rgba(0, 0, 0, 0.5));
|
|
140
117
|
}
|
|
141
|
-
.select-all-row[data-v-
|
|
118
|
+
.select-all-row[data-v-fe4323a7] {
|
|
142
119
|
display: flex;
|
|
143
120
|
gap: 8px;
|
|
144
121
|
padding: 6px 12px;
|
|
145
122
|
border-bottom: 1px solid var(--ogrid-border, rgba(0, 0, 0, 0.12));
|
|
146
123
|
background: var(--ogrid-header-bg, rgba(0, 0, 0, 0.04));
|
|
147
124
|
}
|
|
148
|
-
.select-all-button[data-v-
|
|
125
|
+
.select-all-button[data-v-fe4323a7] {
|
|
149
126
|
background: none;
|
|
150
127
|
border: none;
|
|
151
128
|
color: var(--ogrid-accent, #0078d4);
|
|
@@ -155,25 +132,25 @@
|
|
|
155
132
|
padding: 4px 8px;
|
|
156
133
|
border-radius: 4px;
|
|
157
134
|
}
|
|
158
|
-
.select-all-button[data-v-
|
|
135
|
+
.select-all-button[data-v-fe4323a7]:hover {
|
|
159
136
|
background: var(--ogrid-hover-bg, rgba(0, 0, 0, 0.04));
|
|
160
137
|
}
|
|
161
|
-
.popover-options[data-v-
|
|
138
|
+
.popover-options[data-v-fe4323a7] {
|
|
162
139
|
overflow-y: auto;
|
|
163
140
|
max-height: 250px;
|
|
164
141
|
padding: 6px 0;
|
|
165
142
|
}
|
|
166
|
-
.popover-option[data-v-
|
|
143
|
+
.popover-option[data-v-fe4323a7] {
|
|
167
144
|
padding: 4px 12px;
|
|
168
145
|
display: flex;
|
|
169
146
|
align-items: center;
|
|
170
147
|
gap: 8px;
|
|
171
148
|
color: var(--ogrid-fg, rgba(0, 0, 0, 0.87));
|
|
172
149
|
}
|
|
173
|
-
.popover-option[data-v-
|
|
150
|
+
.popover-option[data-v-fe4323a7]:hover {
|
|
174
151
|
background: var(--ogrid-hover-bg, rgba(0, 0, 0, 0.04));
|
|
175
152
|
}
|
|
176
|
-
.filter-checkbox[data-v-
|
|
153
|
+
.filter-checkbox[data-v-fe4323a7] {
|
|
177
154
|
width: 16px;
|
|
178
155
|
height: 16px;
|
|
179
156
|
border: 1px solid var(--ogrid-border, rgba(0, 0, 0, 0.12));
|
|
@@ -181,7 +158,7 @@
|
|
|
181
158
|
cursor: pointer;
|
|
182
159
|
flex-shrink: 0;
|
|
183
160
|
}
|
|
184
|
-
.popover-actions[data-v-
|
|
161
|
+
.popover-actions[data-v-fe4323a7] {
|
|
185
162
|
display: flex;
|
|
186
163
|
justify-content: flex-end;
|
|
187
164
|
gap: 8px;
|
|
@@ -189,7 +166,7 @@
|
|
|
189
166
|
border-top: 1px solid var(--ogrid-border, rgba(0, 0, 0, 0.12));
|
|
190
167
|
background: var(--ogrid-header-bg, rgba(0, 0, 0, 0.04));
|
|
191
168
|
}
|
|
192
|
-
.clear-button[data-v-
|
|
169
|
+
.clear-button[data-v-fe4323a7] {
|
|
193
170
|
padding: 6px 12px;
|
|
194
171
|
border: 1px solid var(--ogrid-border, rgba(0, 0, 0, 0.12));
|
|
195
172
|
border-radius: 4px;
|
|
@@ -198,15 +175,15 @@
|
|
|
198
175
|
font-size: 12px;
|
|
199
176
|
cursor: pointer;
|
|
200
177
|
}
|
|
201
|
-
.clear-button[data-v-
|
|
178
|
+
.clear-button[data-v-fe4323a7]:hover {
|
|
202
179
|
background: var(--ogrid-hover-bg, rgba(0, 0, 0, 0.04));
|
|
203
180
|
color: var(--ogrid-fg, rgba(0, 0, 0, 0.87));
|
|
204
181
|
}
|
|
205
|
-
.clear-button[data-v-
|
|
182
|
+
.clear-button[data-v-fe4323a7]:disabled {
|
|
206
183
|
opacity: 0.5;
|
|
207
184
|
cursor: not-allowed;
|
|
208
185
|
}
|
|
209
|
-
.apply-button[data-v-
|
|
186
|
+
.apply-button[data-v-fe4323a7] {
|
|
210
187
|
padding: 6px 16px;
|
|
211
188
|
border: none;
|
|
212
189
|
border-radius: 4px;
|
|
@@ -216,11 +193,11 @@
|
|
|
216
193
|
font-weight: 600;
|
|
217
194
|
cursor: pointer;
|
|
218
195
|
}
|
|
219
|
-
.apply-button[data-v-
|
|
196
|
+
.apply-button[data-v-fe4323a7]:hover {
|
|
220
197
|
opacity: 0.85;
|
|
221
198
|
}
|
|
222
|
-
.loading-container[data-v-
|
|
223
|
-
.no-results[data-v-
|
|
199
|
+
.loading-container[data-v-fe4323a7],
|
|
200
|
+
.no-results[data-v-fe4323a7] {
|
|
224
201
|
padding: 20px;
|
|
225
202
|
text-align: center;
|
|
226
203
|
font-size: 13px;
|
|
@@ -37,30 +37,6 @@
|
|
|
37
37
|
flex-shrink: 0;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
.sort-icon {
|
|
41
|
-
display: flex;
|
|
42
|
-
align-items: center;
|
|
43
|
-
justify-content: center;
|
|
44
|
-
width: 24px;
|
|
45
|
-
height: 24px;
|
|
46
|
-
padding: 4px;
|
|
47
|
-
border: none;
|
|
48
|
-
border-radius: 4px;
|
|
49
|
-
background: transparent;
|
|
50
|
-
color: var(--ogrid-fg-muted, rgba(0, 0, 0, 0.5));
|
|
51
|
-
cursor: pointer;
|
|
52
|
-
flex-shrink: 0;
|
|
53
|
-
font-size: 14px;
|
|
54
|
-
}
|
|
55
|
-
.sort-icon:hover {
|
|
56
|
-
background: var(--ogrid-hover-bg, rgba(0, 0, 0, 0.04));
|
|
57
|
-
color: var(--ogrid-fg, rgba(0, 0, 0, 0.87));
|
|
58
|
-
}
|
|
59
|
-
.sort-icon.sort-active {
|
|
60
|
-
background: var(--ogrid-header-bg, rgba(0, 0, 0, 0.04));
|
|
61
|
-
color: var(--ogrid-fg, rgba(0, 0, 0, 0.87));
|
|
62
|
-
}
|
|
63
|
-
|
|
64
40
|
.filter-icon {
|
|
65
41
|
display: flex;
|
|
66
42
|
align-items: center;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./ColumnHeaderFilter.vue2.js";
|
|
2
2
|
import './ColumnHeaderFilter.css';
|
|
3
3
|
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const ColumnHeaderFilter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const ColumnHeaderFilter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fe4323a7"]]);
|
|
5
5
|
export {
|
|
6
6
|
ColumnHeaderFilter as default
|
|
7
7
|
};
|
|
@@ -7,21 +7,19 @@ const _hoisted_1 = { class: "header-content" };
|
|
|
7
7
|
const _hoisted_2 = ["title"];
|
|
8
8
|
const _hoisted_3 = { class: "header-actions" };
|
|
9
9
|
const _hoisted_4 = ["aria-label", "title"];
|
|
10
|
-
const _hoisted_5 = {
|
|
11
|
-
const _hoisted_6 = ["aria-label", "title"];
|
|
12
|
-
const _hoisted_7 = {
|
|
10
|
+
const _hoisted_5 = {
|
|
13
11
|
key: 0,
|
|
14
12
|
class: "filter-badge"
|
|
15
13
|
};
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
14
|
+
const _hoisted_6 = { class: "popover-header" };
|
|
15
|
+
const _hoisted_7 = { key: 3 };
|
|
16
|
+
const _hoisted_8 = { style: { "padding": "8px 12px", "display": "flex", "flex-direction": "column", "gap": "6px" } };
|
|
17
|
+
const _hoisted_9 = { style: { "display": "flex", "align-items": "center", "gap": "6px", "font-size": "12px" } };
|
|
18
|
+
const _hoisted_10 = ["value"];
|
|
19
19
|
const _hoisted_11 = { style: { "display": "flex", "align-items": "center", "gap": "6px", "font-size": "12px" } };
|
|
20
20
|
const _hoisted_12 = ["value"];
|
|
21
|
-
const _hoisted_13 = {
|
|
22
|
-
const _hoisted_14 = ["
|
|
23
|
-
const _hoisted_15 = { class: "popover-actions" };
|
|
24
|
-
const _hoisted_16 = ["disabled"];
|
|
21
|
+
const _hoisted_13 = { class: "popover-actions" };
|
|
22
|
+
const _hoisted_14 = ["disabled"];
|
|
25
23
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
26
24
|
__name: "ColumnHeaderFilter",
|
|
27
25
|
props: {
|
|
@@ -90,12 +88,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
90
88
|
const setPopoverRefEl = (el) => {
|
|
91
89
|
popoverRef.value = el;
|
|
92
90
|
};
|
|
93
|
-
const getSortIcon = () => {
|
|
94
|
-
if (props.isSorted) {
|
|
95
|
-
return props.isSortedDescending ? "↓" : "↑";
|
|
96
|
-
}
|
|
97
|
-
return "⇅";
|
|
98
|
-
};
|
|
99
91
|
return (_ctx, _cache) => {
|
|
100
92
|
return openBlock(), createElementBlock("div", {
|
|
101
93
|
class: "column-header",
|
|
@@ -109,44 +101,33 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
109
101
|
}, toDisplayString(__props.columnName), 9, _hoisted_2)
|
|
110
102
|
]),
|
|
111
103
|
createElementVNode("div", _hoisted_3, [
|
|
112
|
-
__props.onSort ? (openBlock(), createElementBlock("button", {
|
|
113
|
-
key: 0,
|
|
114
|
-
type: "button",
|
|
115
|
-
class: normalizeClass(["sort-icon", { "sort-active": __props.isSorted }]),
|
|
116
|
-
onClick: _cache[0] || (_cache[0] = //@ts-ignore
|
|
117
|
-
(...args) => unref(handlers).handleSortClick && unref(handlers).handleSortClick(...args)),
|
|
118
|
-
"aria-label": `Sort by ${__props.columnName}`,
|
|
119
|
-
title: __props.isSorted ? __props.isSortedDescending ? "Sorted descending" : "Sorted ascending" : "Sort"
|
|
120
|
-
}, [
|
|
121
|
-
createElementVNode("span", _hoisted_5, toDisplayString(getSortIcon()), 1)
|
|
122
|
-
], 10, _hoisted_4)) : createCommentVNode("", true),
|
|
123
104
|
__props.filterType !== "none" ? (openBlock(), createElementBlock("button", {
|
|
124
|
-
key:
|
|
105
|
+
key: 0,
|
|
125
106
|
class: normalizeClass([
|
|
126
107
|
"filter-icon",
|
|
127
108
|
{ "filter-active": unref(hasActiveFilter) },
|
|
128
109
|
{ "filter-open": unref(isFilterOpen) }
|
|
129
110
|
]),
|
|
130
|
-
onClick: _cache[
|
|
111
|
+
onClick: _cache[0] || (_cache[0] = //@ts-ignore
|
|
131
112
|
(...args) => unref(handlers).handleFilterIconClick && unref(handlers).handleFilterIconClick(...args)),
|
|
132
113
|
"aria-label": `Filter ${__props.columnName}`,
|
|
133
114
|
title: `Filter ${__props.columnName}`
|
|
134
115
|
}, [
|
|
135
|
-
_cache[
|
|
136
|
-
unref(hasActiveFilter) ? (openBlock(), createElementBlock("span",
|
|
137
|
-
], 10,
|
|
116
|
+
_cache[6] || (_cache[6] = createElementVNode("span", { "aria-hidden": "" }, "▼", -1)),
|
|
117
|
+
unref(hasActiveFilter) ? (openBlock(), createElementBlock("span", _hoisted_5)) : createCommentVNode("", true)
|
|
118
|
+
], 10, _hoisted_4)) : createCommentVNode("", true)
|
|
138
119
|
]),
|
|
139
120
|
unref(isFilterOpen) && __props.filterType !== "none" ? (openBlock(), createElementBlock("div", {
|
|
140
121
|
key: 0,
|
|
141
122
|
ref: setPopoverRefEl,
|
|
142
123
|
class: "popover-content",
|
|
143
|
-
onClick: _cache[
|
|
124
|
+
onClick: _cache[5] || (_cache[5] = withModifiers(() => {
|
|
144
125
|
}, ["stop"]))
|
|
145
126
|
}, [
|
|
146
|
-
createElementVNode("div",
|
|
127
|
+
createElementVNode("div", _hoisted_6, "Filter: " + toDisplayString(__props.columnName), 1),
|
|
147
128
|
__props.filterType === "text" ? (openBlock(), createBlock(TextFilterPopover, {
|
|
148
129
|
key: 0,
|
|
149
|
-
value: unref(tempTextValue),
|
|
130
|
+
value: unref(tempTextValue) ?? "",
|
|
150
131
|
onValueChange: unref(setTempTextValue),
|
|
151
132
|
onApply: unref(handlers).handleTextApply,
|
|
152
133
|
onClear: unref(handlers).handleTextClear
|
|
@@ -172,37 +153,37 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
172
153
|
onUserSelect: unref(handlers).handleUserSelect,
|
|
173
154
|
onClearUser: unref(handlers).handleClearUser,
|
|
174
155
|
inputRef: unref(peopleInputRef)
|
|
175
|
-
}, null, 8, ["selectedUser", "searchText", "onSearchChange", "suggestions", "isLoading", "onUserSelect", "onClearUser", "inputRef"])) : __props.filterType === "date" ? (openBlock(), createElementBlock("div",
|
|
176
|
-
createElementVNode("div",
|
|
177
|
-
createElementVNode("label",
|
|
178
|
-
_cache[
|
|
156
|
+
}, null, 8, ["selectedUser", "searchText", "onSearchChange", "suggestions", "isLoading", "onUserSelect", "onClearUser", "inputRef"])) : __props.filterType === "date" ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
157
|
+
createElementVNode("div", _hoisted_8, [
|
|
158
|
+
createElementVNode("label", _hoisted_9, [
|
|
159
|
+
_cache[7] || (_cache[7] = createTextVNode(" From: ", -1)),
|
|
179
160
|
createElementVNode("input", {
|
|
180
161
|
type: "date",
|
|
181
162
|
value: unref(tempDateFrom),
|
|
182
|
-
onInput: _cache[
|
|
163
|
+
onInput: _cache[1] || (_cache[1] = ($event) => unref(setTempDateFrom)($event.target.value)),
|
|
183
164
|
style: { "flex": "1" }
|
|
184
|
-
}, null, 40,
|
|
165
|
+
}, null, 40, _hoisted_10)
|
|
185
166
|
]),
|
|
186
|
-
createElementVNode("label",
|
|
187
|
-
_cache[
|
|
167
|
+
createElementVNode("label", _hoisted_11, [
|
|
168
|
+
_cache[8] || (_cache[8] = createTextVNode(" To: ", -1)),
|
|
188
169
|
createElementVNode("input", {
|
|
189
170
|
type: "date",
|
|
190
171
|
value: unref(tempDateTo),
|
|
191
|
-
onInput: _cache[
|
|
172
|
+
onInput: _cache[2] || (_cache[2] = ($event) => unref(setTempDateTo)($event.target.value)),
|
|
192
173
|
style: { "flex": "1" }
|
|
193
|
-
}, null, 40,
|
|
174
|
+
}, null, 40, _hoisted_12)
|
|
194
175
|
])
|
|
195
176
|
]),
|
|
196
|
-
createElementVNode("div",
|
|
177
|
+
createElementVNode("div", _hoisted_13, [
|
|
197
178
|
createElementVNode("button", {
|
|
198
179
|
class: "clear-button",
|
|
199
|
-
onClick: _cache[
|
|
180
|
+
onClick: _cache[3] || (_cache[3] = //@ts-ignore
|
|
200
181
|
(...args) => unref(handlers).handleDateClear && unref(handlers).handleDateClear(...args)),
|
|
201
182
|
disabled: !unref(tempDateFrom) && !unref(tempDateTo)
|
|
202
|
-
}, " Clear ", 8,
|
|
183
|
+
}, " Clear ", 8, _hoisted_14),
|
|
203
184
|
createElementVNode("button", {
|
|
204
185
|
class: "apply-button",
|
|
205
|
-
onClick: _cache[
|
|
186
|
+
onClick: _cache[4] || (_cache[4] = //@ts-ignore
|
|
206
187
|
(...args) => unref(handlers).handleDateApply && unref(handlers).handleDateApply(...args))
|
|
207
188
|
}, " Apply ")
|
|
208
189
|
])
|
|
@@ -33,29 +33,6 @@
|
|
|
33
33
|
margin-left: auto;
|
|
34
34
|
flex-shrink: 0;
|
|
35
35
|
}
|
|
36
|
-
.sort-icon[data-v-b54ed9a8] {
|
|
37
|
-
display: flex;
|
|
38
|
-
align-items: center;
|
|
39
|
-
justify-content: center;
|
|
40
|
-
width: 24px;
|
|
41
|
-
height: 24px;
|
|
42
|
-
padding: 4px;
|
|
43
|
-
border: none;
|
|
44
|
-
border-radius: 4px;
|
|
45
|
-
background: transparent;
|
|
46
|
-
color: var(--ogrid-fg-muted, rgba(0, 0, 0, 0.5));
|
|
47
|
-
cursor: pointer;
|
|
48
|
-
flex-shrink: 0;
|
|
49
|
-
font-size: 14px;
|
|
50
|
-
}
|
|
51
|
-
.sort-icon[data-v-b54ed9a8]:hover {
|
|
52
|
-
background: var(--ogrid-hover-bg, rgba(0, 0, 0, 0.04));
|
|
53
|
-
color: var(--ogrid-fg, rgba(0, 0, 0, 0.87));
|
|
54
|
-
}
|
|
55
|
-
.sort-icon.sort-active[data-v-b54ed9a8] {
|
|
56
|
-
background: var(--ogrid-header-bg, rgba(0, 0, 0, 0.04));
|
|
57
|
-
color: var(--ogrid-fg, rgba(0, 0, 0, 0.87));
|
|
58
|
-
}
|
|
59
36
|
.filter-icon[data-v-b54ed9a8] {
|
|
60
37
|
display: flex;
|
|
61
38
|
align-items: center;
|
|
@@ -33,29 +33,6 @@
|
|
|
33
33
|
margin-left: auto;
|
|
34
34
|
flex-shrink: 0;
|
|
35
35
|
}
|
|
36
|
-
.sort-icon[data-v-58ce6f63] {
|
|
37
|
-
display: flex;
|
|
38
|
-
align-items: center;
|
|
39
|
-
justify-content: center;
|
|
40
|
-
width: 24px;
|
|
41
|
-
height: 24px;
|
|
42
|
-
padding: 4px;
|
|
43
|
-
border: none;
|
|
44
|
-
border-radius: 4px;
|
|
45
|
-
background: transparent;
|
|
46
|
-
color: var(--ogrid-fg-muted, rgba(0, 0, 0, 0.5));
|
|
47
|
-
cursor: pointer;
|
|
48
|
-
flex-shrink: 0;
|
|
49
|
-
font-size: 14px;
|
|
50
|
-
}
|
|
51
|
-
.sort-icon[data-v-58ce6f63]:hover {
|
|
52
|
-
background: var(--ogrid-hover-bg, rgba(0, 0, 0, 0.04));
|
|
53
|
-
color: var(--ogrid-fg, rgba(0, 0, 0, 0.87));
|
|
54
|
-
}
|
|
55
|
-
.sort-icon.sort-active[data-v-58ce6f63] {
|
|
56
|
-
background: var(--ogrid-header-bg, rgba(0, 0, 0, 0.04));
|
|
57
|
-
color: var(--ogrid-fg, rgba(0, 0, 0, 0.87));
|
|
58
|
-
}
|
|
59
36
|
.filter-icon[data-v-58ce6f63] {
|
|
60
37
|
display: flex;
|
|
61
38
|
align-items: center;
|
|
@@ -33,29 +33,6 @@
|
|
|
33
33
|
margin-left: auto;
|
|
34
34
|
flex-shrink: 0;
|
|
35
35
|
}
|
|
36
|
-
.sort-icon[data-v-0baa080d] {
|
|
37
|
-
display: flex;
|
|
38
|
-
align-items: center;
|
|
39
|
-
justify-content: center;
|
|
40
|
-
width: 24px;
|
|
41
|
-
height: 24px;
|
|
42
|
-
padding: 4px;
|
|
43
|
-
border: none;
|
|
44
|
-
border-radius: 4px;
|
|
45
|
-
background: transparent;
|
|
46
|
-
color: var(--ogrid-fg-muted, rgba(0, 0, 0, 0.5));
|
|
47
|
-
cursor: pointer;
|
|
48
|
-
flex-shrink: 0;
|
|
49
|
-
font-size: 14px;
|
|
50
|
-
}
|
|
51
|
-
.sort-icon[data-v-0baa080d]:hover {
|
|
52
|
-
background: var(--ogrid-hover-bg, rgba(0, 0, 0, 0.04));
|
|
53
|
-
color: var(--ogrid-fg, rgba(0, 0, 0, 0.87));
|
|
54
|
-
}
|
|
55
|
-
.sort-icon.sort-active[data-v-0baa080d] {
|
|
56
|
-
background: var(--ogrid-header-bg, rgba(0, 0, 0, 0.04));
|
|
57
|
-
color: var(--ogrid-fg, rgba(0, 0, 0, 0.87));
|
|
58
|
-
}
|
|
59
36
|
.filter-icon[data-v-0baa080d] {
|
|
60
37
|
display: flex;
|
|
61
38
|
align-items: center;
|