aloha-vue 2.59.0 → 2.60.1
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/CHANGELOG.md +8 -0
- package/dist/aloha-vue.css +5 -0
- package/dist/aloha-vue.css.map +1 -1
- package/dist/aloha-vue.es.js +9570 -9532
- package/dist/aloha-vue.umd.js +45 -43
- package/package.json +1 -1
- package/scss/components/ATableForm.scss +261 -256
- package/src/ATableForm/ATableForm.js +614 -606
- package/src/ATableForm/ATableFormCellDnd/ATableFormCellDnd.js +182 -176
- package/src/ATableForm/__tests__/ATableForm.DragAndDropAPI.test.js +164 -0
- package/src/ATableForm/compositionAPI/DragAndDropAPI.js +305 -268
- package/src/ATableForm/compositionAPI/TextsAPI.js +35 -34
- package/src/ATableForm/i18n/ar.json +18 -17
- package/src/ATableForm/i18n/de.json +18 -17
- package/src/ATableForm/i18n/en.json +18 -17
- package/src/ATableForm/i18n/es.json +18 -17
- package/src/ATableForm/i18n/fr.json +18 -17
- package/src/ATableForm/i18n/hr.json +18 -17
- package/src/ATableForm/i18n/it.json +18 -17
- package/src/ATableForm/i18n/ru.json +18 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aloha-vue",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.60.1",
|
|
4
4
|
"description": "Aloha-vue is a JavaScript library that provides a wide range of accessible components and directives for Vue.js. Accessibility is of paramount importance to us, and we have designed all our components to meet accessibility compliance criteria. This library is a valuable tool for frontend developers and has already been used in three projects, including two large-scale ones",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accessibility compliance criteria",
|
|
@@ -1,256 +1,261 @@
|
|
|
1
|
-
.a_table_form {
|
|
2
|
-
--a_table_form_bg: var(--a_color_white);
|
|
3
|
-
--a_table_form_border_color: var(--a_color_gray_300);
|
|
4
|
-
--a_table_form_drop_indicator_color: var(--a_color_primary);
|
|
5
|
-
--a_table_form_head_bg: var(--a_color_gray_200);
|
|
6
|
-
--a_table_form_head_color: inherit;
|
|
7
|
-
--a_table_form_row_dragging_bg: #e9eef5;
|
|
8
|
-
--a_table_form_row_dragging_opacity: .65;
|
|
9
|
-
--a_table_form_row_dragging_outline: 2px dashed var(--a_color_gray_700);
|
|
10
|
-
--a_table_form_focus_color: var(--a_color_primary);
|
|
11
|
-
--a_table_form_focus_box_shadow: 0 0 0 2px var(--a_table_form_focus_color);
|
|
12
|
-
--a_table_form_row_hover_bg: #eef6ff;
|
|
13
|
-
--a_table_form_row_drag_bg: #dfefff;
|
|
14
|
-
--a_table_form_footer_bg: var(--a_color_gray_100);
|
|
15
|
-
--a_table_form_cell_padding_y: .75rem;
|
|
16
|
-
--a_table_form_cell_padding_x: .75rem;
|
|
17
|
-
|
|
18
|
-
width: 100%;
|
|
19
|
-
|
|
20
|
-
.a_alert {
|
|
21
|
-
--a_alert_border-radius: 0;
|
|
22
|
-
|
|
23
|
-
margin-bottom: 0;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.a_table_form__wrapper {
|
|
28
|
-
overflow-x: auto;
|
|
29
|
-
|
|
30
|
-
&:has(> .a_table_form__table:focus) {
|
|
31
|
-
position: relative;
|
|
32
|
-
z-index: 3;
|
|
33
|
-
box-shadow: var(--a_table_form_focus_box_shadow);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.a_table_form__drag_preview {
|
|
38
|
-
opacity: var(--a_table_form_row_dragging_opacity);
|
|
39
|
-
|
|
40
|
-
.a_table_form__row {
|
|
41
|
-
outline: 0;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.a_table_form__cell {
|
|
45
|
-
opacity: 1;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.a_table_form__table {
|
|
50
|
-
width: 100%;
|
|
51
|
-
table-layout: fixed;
|
|
52
|
-
border-collapse: collapse;
|
|
53
|
-
background-color: var(--a_table_form_bg);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.a_table_form__cell {
|
|
57
|
-
padding: var(--a_table_form_cell_padding_y) var(--a_table_form_cell_padding_x);
|
|
58
|
-
border-top: 1px solid var(--a_table_form_border_color);
|
|
59
|
-
border-bottom: 1px solid var(--a_table_form_border_color);
|
|
60
|
-
border-left: 0;
|
|
61
|
-
border-right: 0;
|
|
62
|
-
vertical-align: top;
|
|
63
|
-
text-align: left;
|
|
64
|
-
word-break: break-word;
|
|
65
|
-
.a_select_toggle {
|
|
66
|
-
min-width: 100%;
|
|
67
|
-
}
|
|
68
|
-
.pux_datepicker {
|
|
69
|
-
min-width: 100%;
|
|
70
|
-
width: 100%;
|
|
71
|
-
max-width: 100%;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.a_table_form__row > .a_table_form__cell:first-child {
|
|
76
|
-
border-left: 1px solid var(--a_table_form_border_color);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.a_table_form__row > .a_table_form__cell:last-child:not(.a_table_form__cell_actions_sticky) {
|
|
80
|
-
border-right: 1px solid var(--a_table_form_border_color);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.a_table_form__cell_info {
|
|
84
|
-
padding: 0;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.a_table_form__cell_errors {
|
|
88
|
-
padding: 0;
|
|
89
|
-
.a_error__list__li {
|
|
90
|
-
display: flex;
|
|
91
|
-
flex-wrap: wrap;
|
|
92
|
-
gap: .5rem;
|
|
93
|
-
align-items: center;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.a_table_form__cell_th {
|
|
98
|
-
background-color: var(--a_table_form_head_bg);
|
|
99
|
-
color: var(--a_table_form_head_color);
|
|
100
|
-
font-weight: 700;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.a_table_form__table:not(.a_table_form_drag_active) .a_table_form__row:hover .a_table_form__cell_td,
|
|
104
|
-
.a_table_form__table:not(.a_table_form_drag_active) .a_table_form__row:focus-within .a_table_form__cell_td {
|
|
105
|
-
background-color: var(--a_table_form_row_hover_bg);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.a_table_form__table:not(.a_table_form_drag_active) .a_table_form__row_errors:hover .a_table_form__cell_td,
|
|
109
|
-
.a_table_form__table:not(.a_table_form_drag_active) .a_table_form__row_errors:focus-within .a_table_form__cell_td {
|
|
110
|
-
background-color: var(--a_color_danger_bg_subtle);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.a_table_form__row_dragging:hover .a_table_form__cell_td,
|
|
114
|
-
.a_table_form__row_dragging:focus-within .a_table_form__cell_td {
|
|
115
|
-
background-color: var(--a_table_form_row_dragging_bg);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.a_table_form_drag_active {
|
|
119
|
-
.a_table_form__row_drag_over .a_table_form__cell_td,
|
|
120
|
-
.a_table_form__row_dragging .a_table_form__cell_td {
|
|
121
|
-
background-color: var(--a_table_form_row_drag_bg);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.a_table_form__row_dragging .a_table_form__cell_td {
|
|
125
|
-
background-color: var(--a_table_form_row_dragging_bg);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.a_table_form__row {
|
|
130
|
-
position: relative;
|
|
131
|
-
|
|
132
|
-
&:focus {
|
|
133
|
-
z-index: 3;
|
|
134
|
-
box-shadow: var(--a_table_form_focus_box_shadow);
|
|
135
|
-
|
|
136
|
-
> .a_table_form__cell:first-child {
|
|
137
|
-
box-shadow: inset 1px 0 0 var(--a_table_form_focus_color);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
> .a_table_form__cell_actions_sticky {
|
|
141
|
-
--a_table_form_cell_actions_edge_box_shadow:
|
|
142
|
-
inset -2px 0 0 var(--a_table_form_focus_color);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.a_table_form__row_drag_over .a_table_form__cell_td,
|
|
148
|
-
.a_table_form__row_dragging .a_table_form__cell_td {
|
|
149
|
-
background-color: var(--a_table_form_row_drag_bg);
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.a_table_form__row_dragging {
|
|
153
|
-
outline: var(--a_table_form_row_dragging_outline);
|
|
154
|
-
outline-offset: -2px;
|
|
155
|
-
|
|
156
|
-
.a_table_form__cell_td {
|
|
157
|
-
background-color: var(--a_table_form_row_dragging_bg);
|
|
158
|
-
opacity: var(--a_table_form_row_dragging_opacity);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.a_table_form__reorder_handle {
|
|
162
|
-
color: var(--a_color_black);
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.a_table_form__row_drag_before .a_table_form__cell_td {
|
|
167
|
-
border-top: 3px solid var(--a_table_form_drop_indicator_color);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.a_table_form__row_drag_after .a_table_form__cell_td {
|
|
171
|
-
border-bottom: 3px solid var(--a_table_form_drop_indicator_color);
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.a_table_form__row_footer .a_table_form__cell {
|
|
175
|
-
background-color: var(--a_table_form_footer_bg);
|
|
176
|
-
font-weight: 700;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.a_table_form__row_errors .a_table_form__cell_td {
|
|
180
|
-
background-color: var(--a_color_danger_bg_subtle);
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.a_table_form__cell_reorder {
|
|
184
|
-
width: 3.5rem;
|
|
185
|
-
min-width: 3.5rem;
|
|
186
|
-
max-width: 3.5rem;
|
|
187
|
-
text-align: center;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.a_table_form__reorder_actions {
|
|
191
|
-
display: flex;
|
|
192
|
-
align-items: center;
|
|
193
|
-
justify-content: center;
|
|
194
|
-
gap: .25rem;
|
|
195
|
-
|
|
196
|
-
&:focus-within .a_table_form__reorder_handle {
|
|
197
|
-
display: none;
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.a_table_form__reorder_handle {
|
|
202
|
-
display: inline-flex;
|
|
203
|
-
align-items: center;
|
|
204
|
-
justify-content: center;
|
|
205
|
-
color: var(--a_color_gray_700);
|
|
206
|
-
cursor: grab;
|
|
207
|
-
user-select: none;
|
|
208
|
-
-webkit-user-drag: element;
|
|
209
|
-
padding-top: .3rem;
|
|
210
|
-
|
|
211
|
-
&:active {
|
|
212
|
-
cursor: grabbing;
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
.
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
.
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.
|
|
249
|
-
background: var(--
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
1
|
+
.a_table_form {
|
|
2
|
+
--a_table_form_bg: var(--a_color_white);
|
|
3
|
+
--a_table_form_border_color: var(--a_color_gray_300);
|
|
4
|
+
--a_table_form_drop_indicator_color: var(--a_color_primary);
|
|
5
|
+
--a_table_form_head_bg: var(--a_color_gray_200);
|
|
6
|
+
--a_table_form_head_color: inherit;
|
|
7
|
+
--a_table_form_row_dragging_bg: #e9eef5;
|
|
8
|
+
--a_table_form_row_dragging_opacity: .65;
|
|
9
|
+
--a_table_form_row_dragging_outline: 2px dashed var(--a_color_gray_700);
|
|
10
|
+
--a_table_form_focus_color: var(--a_color_primary);
|
|
11
|
+
--a_table_form_focus_box_shadow: 0 0 0 2px var(--a_table_form_focus_color);
|
|
12
|
+
--a_table_form_row_hover_bg: #eef6ff;
|
|
13
|
+
--a_table_form_row_drag_bg: #dfefff;
|
|
14
|
+
--a_table_form_footer_bg: var(--a_color_gray_100);
|
|
15
|
+
--a_table_form_cell_padding_y: .75rem;
|
|
16
|
+
--a_table_form_cell_padding_x: .75rem;
|
|
17
|
+
|
|
18
|
+
width: 100%;
|
|
19
|
+
|
|
20
|
+
.a_alert {
|
|
21
|
+
--a_alert_border-radius: 0;
|
|
22
|
+
|
|
23
|
+
margin-bottom: 0;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.a_table_form__wrapper {
|
|
28
|
+
overflow-x: auto;
|
|
29
|
+
|
|
30
|
+
&:has(> .a_table_form__table:focus) {
|
|
31
|
+
position: relative;
|
|
32
|
+
z-index: 3;
|
|
33
|
+
box-shadow: var(--a_table_form_focus_box_shadow);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.a_table_form__drag_preview {
|
|
38
|
+
opacity: var(--a_table_form_row_dragging_opacity);
|
|
39
|
+
|
|
40
|
+
.a_table_form__row {
|
|
41
|
+
outline: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.a_table_form__cell {
|
|
45
|
+
opacity: 1;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.a_table_form__table {
|
|
50
|
+
width: 100%;
|
|
51
|
+
table-layout: fixed;
|
|
52
|
+
border-collapse: collapse;
|
|
53
|
+
background-color: var(--a_table_form_bg);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.a_table_form__cell {
|
|
57
|
+
padding: var(--a_table_form_cell_padding_y) var(--a_table_form_cell_padding_x);
|
|
58
|
+
border-top: 1px solid var(--a_table_form_border_color);
|
|
59
|
+
border-bottom: 1px solid var(--a_table_form_border_color);
|
|
60
|
+
border-left: 0;
|
|
61
|
+
border-right: 0;
|
|
62
|
+
vertical-align: top;
|
|
63
|
+
text-align: left;
|
|
64
|
+
word-break: break-word;
|
|
65
|
+
.a_select_toggle {
|
|
66
|
+
min-width: 100%;
|
|
67
|
+
}
|
|
68
|
+
.pux_datepicker {
|
|
69
|
+
min-width: 100%;
|
|
70
|
+
width: 100%;
|
|
71
|
+
max-width: 100%;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.a_table_form__row > .a_table_form__cell:first-child {
|
|
76
|
+
border-left: 1px solid var(--a_table_form_border_color);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.a_table_form__row > .a_table_form__cell:last-child:not(.a_table_form__cell_actions_sticky) {
|
|
80
|
+
border-right: 1px solid var(--a_table_form_border_color);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.a_table_form__cell_info {
|
|
84
|
+
padding: 0;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.a_table_form__cell_errors {
|
|
88
|
+
padding: 0;
|
|
89
|
+
.a_error__list__li {
|
|
90
|
+
display: flex;
|
|
91
|
+
flex-wrap: wrap;
|
|
92
|
+
gap: .5rem;
|
|
93
|
+
align-items: center;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.a_table_form__cell_th {
|
|
98
|
+
background-color: var(--a_table_form_head_bg);
|
|
99
|
+
color: var(--a_table_form_head_color);
|
|
100
|
+
font-weight: 700;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.a_table_form__table:not(.a_table_form_drag_active) .a_table_form__row:hover .a_table_form__cell_td,
|
|
104
|
+
.a_table_form__table:not(.a_table_form_drag_active) .a_table_form__row:focus-within .a_table_form__cell_td {
|
|
105
|
+
background-color: var(--a_table_form_row_hover_bg);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.a_table_form__table:not(.a_table_form_drag_active) .a_table_form__row_errors:hover .a_table_form__cell_td,
|
|
109
|
+
.a_table_form__table:not(.a_table_form_drag_active) .a_table_form__row_errors:focus-within .a_table_form__cell_td {
|
|
110
|
+
background-color: var(--a_color_danger_bg_subtle);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.a_table_form__row_dragging:hover .a_table_form__cell_td,
|
|
114
|
+
.a_table_form__row_dragging:focus-within .a_table_form__cell_td {
|
|
115
|
+
background-color: var(--a_table_form_row_dragging_bg);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.a_table_form_drag_active {
|
|
119
|
+
.a_table_form__row_drag_over .a_table_form__cell_td,
|
|
120
|
+
.a_table_form__row_dragging .a_table_form__cell_td {
|
|
121
|
+
background-color: var(--a_table_form_row_drag_bg);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.a_table_form__row_dragging .a_table_form__cell_td {
|
|
125
|
+
background-color: var(--a_table_form_row_dragging_bg);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.a_table_form__row {
|
|
130
|
+
position: relative;
|
|
131
|
+
|
|
132
|
+
&:focus {
|
|
133
|
+
z-index: 3;
|
|
134
|
+
box-shadow: var(--a_table_form_focus_box_shadow);
|
|
135
|
+
|
|
136
|
+
> .a_table_form__cell:first-child {
|
|
137
|
+
box-shadow: inset 1px 0 0 var(--a_table_form_focus_color);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
> .a_table_form__cell_actions_sticky {
|
|
141
|
+
--a_table_form_cell_actions_edge_box_shadow:
|
|
142
|
+
inset -2px 0 0 var(--a_table_form_focus_color);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.a_table_form__row_drag_over .a_table_form__cell_td,
|
|
148
|
+
.a_table_form__row_dragging .a_table_form__cell_td {
|
|
149
|
+
background-color: var(--a_table_form_row_drag_bg);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.a_table_form__row_dragging {
|
|
153
|
+
outline: var(--a_table_form_row_dragging_outline);
|
|
154
|
+
outline-offset: -2px;
|
|
155
|
+
|
|
156
|
+
.a_table_form__cell_td {
|
|
157
|
+
background-color: var(--a_table_form_row_dragging_bg);
|
|
158
|
+
opacity: var(--a_table_form_row_dragging_opacity);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.a_table_form__reorder_handle {
|
|
162
|
+
color: var(--a_color_black);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.a_table_form__row_drag_before .a_table_form__cell_td {
|
|
167
|
+
border-top: 3px solid var(--a_table_form_drop_indicator_color);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.a_table_form__row_drag_after .a_table_form__cell_td {
|
|
171
|
+
border-bottom: 3px solid var(--a_table_form_drop_indicator_color);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.a_table_form__row_footer .a_table_form__cell {
|
|
175
|
+
background-color: var(--a_table_form_footer_bg);
|
|
176
|
+
font-weight: 700;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.a_table_form__row_errors .a_table_form__cell_td {
|
|
180
|
+
background-color: var(--a_color_danger_bg_subtle);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.a_table_form__cell_reorder {
|
|
184
|
+
width: 3.5rem;
|
|
185
|
+
min-width: 3.5rem;
|
|
186
|
+
max-width: 3.5rem;
|
|
187
|
+
text-align: center;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.a_table_form__reorder_actions {
|
|
191
|
+
display: flex;
|
|
192
|
+
align-items: center;
|
|
193
|
+
justify-content: center;
|
|
194
|
+
gap: .25rem;
|
|
195
|
+
|
|
196
|
+
&:focus-within .a_table_form__reorder_handle {
|
|
197
|
+
display: none;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.a_table_form__reorder_handle {
|
|
202
|
+
display: inline-flex;
|
|
203
|
+
align-items: center;
|
|
204
|
+
justify-content: center;
|
|
205
|
+
color: var(--a_color_gray_700);
|
|
206
|
+
cursor: grab;
|
|
207
|
+
user-select: none;
|
|
208
|
+
-webkit-user-drag: element;
|
|
209
|
+
padding-top: .3rem;
|
|
210
|
+
|
|
211
|
+
&:active {
|
|
212
|
+
cursor: grabbing;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.a_table_form__reorder_handle_disabled {
|
|
217
|
+
cursor: not-allowed;
|
|
218
|
+
-webkit-user-drag: none;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.a_table_form__reorder_button {
|
|
222
|
+
//min-width: auto;
|
|
223
|
+
&.a_btn {
|
|
224
|
+
--a_btn_padding_y: 0;
|
|
225
|
+
--a_btn_padding_x: 0.35rem;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.a_table_form__empty {
|
|
230
|
+
text-align: left;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.a_table_form__cell_actions_sticky {
|
|
234
|
+
--a_table_form_cell_actions_edge_box_shadow:
|
|
235
|
+
inset -1px 0 0 var(--a_table_form_border_color);
|
|
236
|
+
|
|
237
|
+
position: sticky;
|
|
238
|
+
right: 0;
|
|
239
|
+
z-index: 2;
|
|
240
|
+
background: var(--a_table_form_bg);
|
|
241
|
+
box-shadow:
|
|
242
|
+
var(--a_table_form_cell_actions_edge_box_shadow),
|
|
243
|
+
inset 1px 0 0 rgba(0, 0, 0, .12),
|
|
244
|
+
-8px 0 14px -8px rgba(17, 24, 39, .34),
|
|
245
|
+
-18px 0 24px -20px rgba(17, 24, 39, .55);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.a_table_form__cell_actions_sticky.a_table_form__cell_th {
|
|
249
|
+
background: var(--a_table_form_head_bg);
|
|
250
|
+
color: var(--a_table_form_head_color);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.a_table_form__row_footer .a_table_form__cell_actions_sticky {
|
|
254
|
+
background: var(--a_table_form_footer_bg);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.a_table_form__actions {
|
|
258
|
+
display: flex;
|
|
259
|
+
align-items: center;
|
|
260
|
+
gap: .5rem;
|
|
261
|
+
}
|