@react-aria/dnd 3.0.1-nightly.3599 → 3.0.1-nightly.3600
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/main.js +1149 -1425
- package/dist/main.js.map +1 -1
- package/dist/module.mjs +1149 -1425
- package/dist/module.mjs.map +1 -1
- package/package.json +13 -13
package/dist/main.js
CHANGED
|
@@ -25,16 +25,45 @@ $parcel$export(module.exports, "useClipboard", () => $74f3dedaa4d234b4$export$23
|
|
|
25
25
|
$parcel$export(module.exports, "DragPreview", () => $2dccaca1f4baa446$export$905ab40ac2179daa);
|
|
26
26
|
$parcel$export(module.exports, "ListDropTargetDelegate", () => $2268795bbb597ecb$export$fbd65d14c79e28cc);
|
|
27
27
|
$parcel$export(module.exports, "isVirtualDragging", () => $28e10663603f5ea1$export$403bc76cbf68cf60);
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
28
|
+
/*
|
|
29
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
30
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
31
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
32
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
33
|
+
*
|
|
34
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
35
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
36
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
37
|
+
* governing permissions and limitations under the License.
|
|
38
|
+
*/ /*
|
|
39
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
40
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
41
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
42
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
43
|
+
*
|
|
44
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
45
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
46
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
47
|
+
* governing permissions and limitations under the License.
|
|
48
|
+
*/ /*
|
|
49
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
50
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
51
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
52
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
53
|
+
*
|
|
54
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
55
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
56
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
57
|
+
* governing permissions and limitations under the License.
|
|
58
|
+
*/ let $76b1e110a27b1ccd$export$60b7b4bcf3903d8e;
|
|
59
|
+
(function(DROP_OPERATION) {
|
|
60
|
+
DROP_OPERATION[DROP_OPERATION["none"] = 0] = "none";
|
|
61
|
+
DROP_OPERATION[DROP_OPERATION["cancel"] = 0] = "cancel";
|
|
62
|
+
DROP_OPERATION[DROP_OPERATION["move"] = 1] = "move";
|
|
63
|
+
DROP_OPERATION[DROP_OPERATION["copy"] = 2] = "copy";
|
|
64
|
+
DROP_OPERATION[DROP_OPERATION["link"] = 4] = "link";
|
|
65
|
+
DROP_OPERATION[DROP_OPERATION["all"] = 7] = "all";
|
|
66
|
+
})($76b1e110a27b1ccd$export$60b7b4bcf3903d8e || ($76b1e110a27b1ccd$export$60b7b4bcf3903d8e = {}));
|
|
38
67
|
const $76b1e110a27b1ccd$export$9bbdfc78cf083e16 = {
|
|
39
68
|
...$76b1e110a27b1ccd$export$60b7b4bcf3903d8e,
|
|
40
69
|
copyMove: $76b1e110a27b1ccd$export$60b7b4bcf3903d8e.copy | $76b1e110a27b1ccd$export$60b7b4bcf3903d8e.move,
|
|
@@ -44,28 +73,27 @@ const $76b1e110a27b1ccd$export$9bbdfc78cf083e16 = {
|
|
|
44
73
|
uninitialized: $76b1e110a27b1ccd$export$60b7b4bcf3903d8e.all
|
|
45
74
|
};
|
|
46
75
|
const $76b1e110a27b1ccd$export$dd0165308d8bff45 = $76b1e110a27b1ccd$var$invert($76b1e110a27b1ccd$export$9bbdfc78cf083e16);
|
|
47
|
-
$76b1e110a27b1ccd$export$dd0165308d8bff45[$76b1e110a27b1ccd$export$60b7b4bcf3903d8e.all] =
|
|
76
|
+
$76b1e110a27b1ccd$export$dd0165308d8bff45[$76b1e110a27b1ccd$export$60b7b4bcf3903d8e.all] = "all"; // ensure we don't map to 'uninitialized'.
|
|
48
77
|
const $76b1e110a27b1ccd$export$d7ebf00f36b7a95e = $76b1e110a27b1ccd$var$invert($76b1e110a27b1ccd$export$60b7b4bcf3903d8e);
|
|
49
78
|
const $76b1e110a27b1ccd$export$608ecc6f1b23c35d = {
|
|
50
|
-
none:
|
|
51
|
-
link:
|
|
52
|
-
copy:
|
|
53
|
-
move:
|
|
79
|
+
none: "cancel",
|
|
80
|
+
link: "link",
|
|
81
|
+
copy: "copy",
|
|
82
|
+
move: "move"
|
|
54
83
|
};
|
|
55
84
|
const $76b1e110a27b1ccd$export$5eacb0769d26d3b2 = $76b1e110a27b1ccd$var$invert($76b1e110a27b1ccd$export$608ecc6f1b23c35d);
|
|
56
85
|
function $76b1e110a27b1ccd$var$invert(object) {
|
|
57
|
-
let res = {
|
|
58
|
-
};
|
|
86
|
+
let res = {};
|
|
59
87
|
for(let key in object)res[object[key]] = key;
|
|
60
88
|
return res;
|
|
61
89
|
}
|
|
62
90
|
const $76b1e110a27b1ccd$export$4a7729b856e9a690 = new Set([
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
91
|
+
"text/plain",
|
|
92
|
+
"text/uri-list",
|
|
93
|
+
"text/html"
|
|
66
94
|
]);
|
|
67
|
-
const $76b1e110a27b1ccd$export$fd9f9fc120c5402d =
|
|
68
|
-
const $76b1e110a27b1ccd$export$f8fc6581787339b3 =
|
|
95
|
+
const $76b1e110a27b1ccd$export$fd9f9fc120c5402d = "application/vnd.react-aria.items+json";
|
|
96
|
+
const $76b1e110a27b1ccd$export$f8fc6581787339b3 = "application/octet-stream";
|
|
69
97
|
|
|
70
98
|
|
|
71
99
|
|
|
@@ -73,12 +101,12 @@ const $4620ae0dc40f0031$export$dfdf5deeaf27473f = new WeakMap();
|
|
|
73
101
|
const $4620ae0dc40f0031$export$990fced5dfac2637 = Symbol();
|
|
74
102
|
function $4620ae0dc40f0031$export$3093291712f09a77(state) {
|
|
75
103
|
let { id: id } = $4620ae0dc40f0031$export$dfdf5deeaf27473f.get(state);
|
|
76
|
-
if (!id) throw new Error(
|
|
104
|
+
if (!id) throw new Error("Droppable item outside a droppable collection");
|
|
77
105
|
return id;
|
|
78
106
|
}
|
|
79
107
|
function $4620ae0dc40f0031$export$7e397efd01d3db27(state) {
|
|
80
108
|
let { ref: ref } = $4620ae0dc40f0031$export$dfdf5deeaf27473f.get(state);
|
|
81
|
-
if (!ref) throw new Error(
|
|
109
|
+
if (!ref) throw new Error("Droppable item outside a droppable collection");
|
|
82
110
|
return ref;
|
|
83
111
|
}
|
|
84
112
|
function $4620ae0dc40f0031$export$e1d41611756c6326(items) {
|
|
@@ -87,16 +115,16 @@ function $4620ae0dc40f0031$export$e1d41611756c6326(items) {
|
|
|
87
115
|
return types;
|
|
88
116
|
}
|
|
89
117
|
function $4620ae0dc40f0031$var$mapModality(modality) {
|
|
90
|
-
if (!modality) modality =
|
|
91
|
-
if (modality ===
|
|
92
|
-
if (modality ===
|
|
118
|
+
if (!modality) modality = "virtual";
|
|
119
|
+
if (modality === "pointer") modality = "virtual";
|
|
120
|
+
if (modality === "virtual" && typeof window !== "undefined" && "ontouchstart" in window) modality = "touch";
|
|
93
121
|
return modality;
|
|
94
122
|
}
|
|
95
123
|
function $4620ae0dc40f0031$export$49bac5d6d4b352ea() {
|
|
96
|
-
return $4620ae0dc40f0031$var$mapModality($4vY0V$reactariainteractions.useInteractionModality());
|
|
124
|
+
return $4620ae0dc40f0031$var$mapModality((0, $4vY0V$reactariainteractions.useInteractionModality)());
|
|
97
125
|
}
|
|
98
126
|
function $4620ae0dc40f0031$export$1fb2158d224b542c() {
|
|
99
|
-
return $4620ae0dc40f0031$var$mapModality($4vY0V$reactariainteractions.getInteractionModality());
|
|
127
|
+
return $4620ae0dc40f0031$var$mapModality((0, $4vY0V$reactariainteractions.getInteractionModality)());
|
|
100
128
|
}
|
|
101
129
|
function $4620ae0dc40f0031$export$f9c1490890ddd063(dataTransfer, items) {
|
|
102
130
|
// The data transfer API doesn't support more than one item of a given type at once.
|
|
@@ -117,8 +145,7 @@ function $4620ae0dc40f0031$export$f9c1490890ddd063(dataTransfer, items) {
|
|
|
117
145
|
for (let item of items){
|
|
118
146
|
let types = Object.keys(item);
|
|
119
147
|
if (types.length > 1) needsCustomData = true;
|
|
120
|
-
let dataByType = {
|
|
121
|
-
};
|
|
148
|
+
let dataByType = {};
|
|
122
149
|
for (let type of types){
|
|
123
150
|
let typeItems = groupedByType.get(type);
|
|
124
151
|
if (!typeItems) {
|
|
@@ -131,39 +158,39 @@ function $4620ae0dc40f0031$export$f9c1490890ddd063(dataTransfer, items) {
|
|
|
131
158
|
}
|
|
132
159
|
customData.push(dataByType);
|
|
133
160
|
}
|
|
134
|
-
for (let [
|
|
161
|
+
for (let [type1, items1] of groupedByType)if ((0, $76b1e110a27b1ccd$export$4a7729b856e9a690).has(type1)) {
|
|
135
162
|
// Only one item of a given type can be set on a data transfer.
|
|
136
163
|
// Join all of the items together separated by newlines.
|
|
137
|
-
let
|
|
138
|
-
dataTransfer.items.add(
|
|
164
|
+
let data1 = items1.join("\n");
|
|
165
|
+
dataTransfer.items.add(data1, type1);
|
|
139
166
|
} else // Set data to the first item so we have access to the list of types.
|
|
140
|
-
dataTransfer.items.add(items1[0],
|
|
167
|
+
dataTransfer.items.add(items1[0], type1);
|
|
141
168
|
if (needsCustomData) {
|
|
142
|
-
let
|
|
143
|
-
dataTransfer.items.add(
|
|
169
|
+
let data2 = JSON.stringify(customData);
|
|
170
|
+
dataTransfer.items.add(data2, (0, $76b1e110a27b1ccd$export$fd9f9fc120c5402d));
|
|
144
171
|
}
|
|
145
172
|
}
|
|
146
173
|
class $4620ae0dc40f0031$export$7f04ce188c91447c {
|
|
147
174
|
has(type) {
|
|
148
|
-
if (this.includesUnknownTypes || type === $4620ae0dc40f0031$export$990fced5dfac2637 && this.types.has($76b1e110a27b1ccd$export$f8fc6581787339b3)) return true;
|
|
149
|
-
return typeof type ===
|
|
175
|
+
if (this.includesUnknownTypes || type === $4620ae0dc40f0031$export$990fced5dfac2637 && this.types.has((0, $76b1e110a27b1ccd$export$f8fc6581787339b3))) return true;
|
|
176
|
+
return typeof type === "string" && this.types.has(type);
|
|
150
177
|
}
|
|
151
178
|
constructor(dataTransfer){
|
|
152
179
|
this.types = new Set();
|
|
153
180
|
let hasFiles = false;
|
|
154
|
-
for (let item of dataTransfer.items)if (item.type !== $76b1e110a27b1ccd$export$fd9f9fc120c5402d) {
|
|
155
|
-
if (item.kind ===
|
|
181
|
+
for (let item of dataTransfer.items)if (item.type !== (0, $76b1e110a27b1ccd$export$fd9f9fc120c5402d)) {
|
|
182
|
+
if (item.kind === "file") hasFiles = true;
|
|
156
183
|
if (item.type) this.types.add(item.type);
|
|
157
184
|
else // Files with unknown types or extensions that don't map to a known mime type
|
|
158
185
|
// are sometimes exposed as an empty string by the browser. Map to a generic
|
|
159
186
|
// mime type instead. Note that this could also be a directory as there's no
|
|
160
187
|
// way to determine if something is a file or directory until drop.
|
|
161
|
-
this.types.add($76b1e110a27b1ccd$export$f8fc6581787339b3);
|
|
188
|
+
this.types.add((0, $76b1e110a27b1ccd$export$f8fc6581787339b3));
|
|
162
189
|
}
|
|
163
190
|
// In Safari, when dragging files, the dataTransfer.items list is empty, but dataTransfer.types contains "Files".
|
|
164
191
|
// Unfortunately, this doesn't tell us what types of files the user is dragging, so we need to assume that any
|
|
165
192
|
// type the user checks for is included. See https://bugs.webkit.org/show_bug.cgi?id=223517.
|
|
166
|
-
this.includesUnknownTypes = !hasFiles && dataTransfer.types.includes(
|
|
193
|
+
this.includesUnknownTypes = !hasFiles && dataTransfer.types.includes("Files");
|
|
167
194
|
}
|
|
168
195
|
}
|
|
169
196
|
function $4620ae0dc40f0031$export$d9e760437831f8b3(dataTransfer) {
|
|
@@ -172,11 +199,11 @@ function $4620ae0dc40f0031$export$d9e760437831f8b3(dataTransfer) {
|
|
|
172
199
|
// representation of all items in the drag, set when there are multiple items
|
|
173
200
|
// of the same type, or an individual item has multiple representations.
|
|
174
201
|
let hasCustomType = false;
|
|
175
|
-
if (dataTransfer.types.includes($76b1e110a27b1ccd$export$fd9f9fc120c5402d)) try {
|
|
176
|
-
let data = dataTransfer.getData($76b1e110a27b1ccd$export$fd9f9fc120c5402d);
|
|
202
|
+
if (dataTransfer.types.includes((0, $76b1e110a27b1ccd$export$fd9f9fc120c5402d))) try {
|
|
203
|
+
let data = dataTransfer.getData((0, $76b1e110a27b1ccd$export$fd9f9fc120c5402d));
|
|
177
204
|
let parsed = JSON.parse(data);
|
|
178
205
|
for (let item of parsed)items.push({
|
|
179
|
-
kind:
|
|
206
|
+
kind: "text",
|
|
180
207
|
types: new Set(Object.keys(item)),
|
|
181
208
|
getText: (type)=>Promise.resolve(item[type])
|
|
182
209
|
});
|
|
@@ -187,30 +214,30 @@ function $4620ae0dc40f0031$export$d9e760437831f8b3(dataTransfer) {
|
|
|
187
214
|
// Otherwise, map native drag items to items of a single representation.
|
|
188
215
|
if (!hasCustomType) {
|
|
189
216
|
let stringItems = new Map();
|
|
190
|
-
for (let
|
|
191
|
-
if (
|
|
217
|
+
for (let item1 of dataTransfer.items){
|
|
218
|
+
if (item1.kind === "string") // The data for all formats must be read here because the data transfer gets
|
|
192
219
|
// cleared out after the event handler finishes. If the item has an empty string
|
|
193
220
|
// as a type, the mime type is unknown. Map to a generic mime type instead.
|
|
194
|
-
stringItems.set(
|
|
195
|
-
else if (
|
|
221
|
+
stringItems.set(item1.type || (0, $76b1e110a27b1ccd$export$f8fc6581787339b3), dataTransfer.getData(item1.type));
|
|
222
|
+
else if (item1.kind === "file") {
|
|
196
223
|
// Despite the name, webkitGetAsEntry is also implemented in Firefox and Edge.
|
|
197
224
|
// In the future, we may use getAsFileSystemHandle instead, but that's currently
|
|
198
225
|
// only implemented in Chrome.
|
|
199
|
-
if (typeof
|
|
200
|
-
let entry =
|
|
226
|
+
if (typeof item1.webkitGetAsEntry === "function") {
|
|
227
|
+
let entry = item1.webkitGetAsEntry();
|
|
201
228
|
// eslint-disable-next-line max-depth
|
|
202
229
|
if (!entry) continue;
|
|
203
230
|
// eslint-disable-next-line max-depth
|
|
204
|
-
if (entry.isFile) items.push($4620ae0dc40f0031$var$createFileItem(
|
|
231
|
+
if (entry.isFile) items.push($4620ae0dc40f0031$var$createFileItem(item1.getAsFile()));
|
|
205
232
|
else if (entry.isDirectory) items.push($4620ae0dc40f0031$var$createDirectoryItem(entry));
|
|
206
233
|
} else // Assume it's a file.
|
|
207
|
-
items.push($4620ae0dc40f0031$var$createFileItem(
|
|
234
|
+
items.push($4620ae0dc40f0031$var$createFileItem(item1.getAsFile()));
|
|
208
235
|
}
|
|
209
236
|
}
|
|
210
237
|
// All string items are different representations of the same item. There's no way to have
|
|
211
238
|
// multiple string items at once in the current DataTransfer API.
|
|
212
239
|
if (stringItems.size > 0) items.push({
|
|
213
|
-
kind:
|
|
240
|
+
kind: "text",
|
|
214
241
|
types: new Set(stringItems.keys()),
|
|
215
242
|
getText: (type)=>Promise.resolve(stringItems.get(type))
|
|
216
243
|
});
|
|
@@ -218,7 +245,7 @@ function $4620ae0dc40f0031$export$d9e760437831f8b3(dataTransfer) {
|
|
|
218
245
|
return items;
|
|
219
246
|
}
|
|
220
247
|
function $4620ae0dc40f0031$var$blobToString(blob) {
|
|
221
|
-
if (typeof blob.text ===
|
|
248
|
+
if (typeof blob.text === "function") return blob.text();
|
|
222
249
|
// Safari doesn't have the Blob#text() method yet...
|
|
223
250
|
return new Promise((resolve, reject)=>{
|
|
224
251
|
let reader = new FileReader;
|
|
@@ -231,17 +258,16 @@ function $4620ae0dc40f0031$var$blobToString(blob) {
|
|
|
231
258
|
}
|
|
232
259
|
function $4620ae0dc40f0031$var$createFileItem(file) {
|
|
233
260
|
return {
|
|
234
|
-
kind:
|
|
235
|
-
type: file.type || $76b1e110a27b1ccd$export$f8fc6581787339b3,
|
|
261
|
+
kind: "file",
|
|
262
|
+
type: file.type || (0, $76b1e110a27b1ccd$export$f8fc6581787339b3),
|
|
236
263
|
name: file.name,
|
|
237
|
-
getText: ()=>$4620ae0dc40f0031$var$blobToString(file)
|
|
238
|
-
,
|
|
264
|
+
getText: ()=>$4620ae0dc40f0031$var$blobToString(file),
|
|
239
265
|
getFile: ()=>Promise.resolve(file)
|
|
240
266
|
};
|
|
241
267
|
}
|
|
242
268
|
function $4620ae0dc40f0031$var$createDirectoryItem(entry) {
|
|
243
269
|
return {
|
|
244
|
-
kind:
|
|
270
|
+
kind: "directory",
|
|
245
271
|
name: entry.name,
|
|
246
272
|
getEntries: ()=>$4620ae0dc40f0031$var$getEntries(entry)
|
|
247
273
|
};
|
|
@@ -261,11 +287,10 @@ async function* $4620ae0dc40f0031$var$getEntries(item) {
|
|
|
261
287
|
yield $4620ae0dc40f0031$var$createFileItem(file);
|
|
262
288
|
} else if (entry.isDirectory) yield $4620ae0dc40f0031$var$createDirectoryItem(entry);
|
|
263
289
|
}
|
|
264
|
-
}while (entries.length > 0)
|
|
290
|
+
}while (entries.length > 0);
|
|
265
291
|
}
|
|
266
292
|
function $4620ae0dc40f0031$var$getEntryFile(entry) {
|
|
267
|
-
return new Promise((resolve, reject)=>entry.file(resolve, reject)
|
|
268
|
-
);
|
|
293
|
+
return new Promise((resolve, reject)=>entry.file(resolve, reject));
|
|
269
294
|
}
|
|
270
295
|
let $4620ae0dc40f0031$export$6ca6700462636d0b = {
|
|
271
296
|
draggingKeys: new Set()
|
|
@@ -295,14 +320,34 @@ let $4620ae0dc40f0031$export$8e6636520ac15722;
|
|
|
295
320
|
function $4620ae0dc40f0031$export$64f52ed7349ddb84(dropEffect) {
|
|
296
321
|
$4620ae0dc40f0031$export$8e6636520ac15722 = dropEffect;
|
|
297
322
|
}
|
|
298
|
-
let $4620ae0dc40f0031$export$f0130eb70b6347b8 = $76b1e110a27b1ccd$export$60b7b4bcf3903d8e.none;
|
|
323
|
+
let $4620ae0dc40f0031$export$f0130eb70b6347b8 = (0, $76b1e110a27b1ccd$export$60b7b4bcf3903d8e).none;
|
|
299
324
|
function $4620ae0dc40f0031$export$6539bc8c3a0a2d67(o) {
|
|
300
325
|
$4620ae0dc40f0031$export$f0130eb70b6347b8 = o;
|
|
301
326
|
}
|
|
302
327
|
|
|
303
328
|
|
|
304
|
-
|
|
305
|
-
|
|
329
|
+
/*
|
|
330
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
331
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
332
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
333
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
334
|
+
*
|
|
335
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
336
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
337
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
338
|
+
* governing permissions and limitations under the License.
|
|
339
|
+
*/
|
|
340
|
+
/*
|
|
341
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
342
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
343
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
344
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
345
|
+
*
|
|
346
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
347
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
348
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
349
|
+
* governing permissions and limitations under the License.
|
|
350
|
+
*/
|
|
306
351
|
|
|
307
352
|
|
|
308
353
|
|
|
@@ -327,19 +372,18 @@ function $28e10663603f5ea1$export$aef80212ac99c003(item) {
|
|
|
327
372
|
};
|
|
328
373
|
}
|
|
329
374
|
function $28e10663603f5ea1$export$549dbcf8649bf3b2(target, stringFormatter) {
|
|
330
|
-
if ($28e10663603f5ea1$var$dragSession) throw new Error(
|
|
375
|
+
if ($28e10663603f5ea1$var$dragSession) throw new Error("Cannot begin dragging while already dragging");
|
|
331
376
|
$28e10663603f5ea1$var$dragSession = new $28e10663603f5ea1$var$DragSession(target, stringFormatter);
|
|
332
377
|
requestAnimationFrame(()=>{
|
|
333
378
|
$28e10663603f5ea1$var$dragSession.setup();
|
|
334
|
-
if ($4620ae0dc40f0031$export$1fb2158d224b542c() ===
|
|
379
|
+
if ((0, $4620ae0dc40f0031$export$1fb2158d224b542c)() === "keyboard") $28e10663603f5ea1$var$dragSession.next();
|
|
335
380
|
});
|
|
336
381
|
for (let cb of $28e10663603f5ea1$var$subscriptions)cb();
|
|
337
382
|
}
|
|
338
383
|
function $28e10663603f5ea1$export$418e185dd3f1b968() {
|
|
339
|
-
let [session, setSession] = $4vY0V$react.useState($28e10663603f5ea1$var$dragSession);
|
|
340
|
-
$4vY0V$react.useEffect(()=>{
|
|
341
|
-
let cb = ()=>setSession($28e10663603f5ea1$var$dragSession)
|
|
342
|
-
;
|
|
384
|
+
let [session, setSession] = (0, $4vY0V$react.useState)($28e10663603f5ea1$var$dragSession);
|
|
385
|
+
(0, $4vY0V$react.useEffect)(()=>{
|
|
386
|
+
let cb = ()=>setSession($28e10663603f5ea1$var$dragSession);
|
|
343
387
|
$28e10663603f5ea1$var$subscriptions.add(cb);
|
|
344
388
|
return ()=>{
|
|
345
389
|
$28e10663603f5ea1$var$subscriptions.delete(cb);
|
|
@@ -361,57 +405,56 @@ function $28e10663603f5ea1$export$7454aff2e161f241(element) {
|
|
|
361
405
|
return false;
|
|
362
406
|
}
|
|
363
407
|
const $28e10663603f5ea1$var$CANCELED_EVENTS = [
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
408
|
+
"pointerdown",
|
|
409
|
+
"pointermove",
|
|
410
|
+
"pointerenter",
|
|
411
|
+
"pointerleave",
|
|
412
|
+
"pointerover",
|
|
413
|
+
"pointerout",
|
|
414
|
+
"pointerup",
|
|
415
|
+
"mousedown",
|
|
416
|
+
"mousemove",
|
|
417
|
+
"mouseenter",
|
|
418
|
+
"mouseleave",
|
|
419
|
+
"mouseover",
|
|
420
|
+
"mouseout",
|
|
421
|
+
"mouseup",
|
|
422
|
+
"touchstart",
|
|
423
|
+
"touchmove",
|
|
424
|
+
"touchend",
|
|
425
|
+
"focusin",
|
|
426
|
+
"focusout"
|
|
383
427
|
];
|
|
384
428
|
const $28e10663603f5ea1$var$CLICK_EVENTS = [
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
429
|
+
"pointerup",
|
|
430
|
+
"mouseup",
|
|
431
|
+
"touchend"
|
|
388
432
|
];
|
|
389
433
|
const $28e10663603f5ea1$var$MESSAGES = {
|
|
390
|
-
keyboard:
|
|
391
|
-
touch:
|
|
392
|
-
virtual:
|
|
434
|
+
keyboard: "dragStartedKeyboard",
|
|
435
|
+
touch: "dragStartedTouch",
|
|
436
|
+
virtual: "dragStartedVirtual"
|
|
393
437
|
};
|
|
394
438
|
class $28e10663603f5ea1$var$DragSession {
|
|
395
439
|
setup() {
|
|
396
|
-
document.addEventListener(
|
|
397
|
-
document.addEventListener(
|
|
398
|
-
window.addEventListener(
|
|
399
|
-
window.addEventListener(
|
|
400
|
-
document.addEventListener(
|
|
401
|
-
document.addEventListener(
|
|
440
|
+
document.addEventListener("keydown", this.onKeyDown, true);
|
|
441
|
+
document.addEventListener("keyup", this.onKeyUp, true);
|
|
442
|
+
window.addEventListener("focus", this.onFocus, true);
|
|
443
|
+
window.addEventListener("blur", this.onBlur, true);
|
|
444
|
+
document.addEventListener("click", this.onClick, true);
|
|
445
|
+
document.addEventListener("pointerdown", this.onPointerDown, true);
|
|
402
446
|
for (let event of $28e10663603f5ea1$var$CANCELED_EVENTS)document.addEventListener(event, this.cancelEvent, true);
|
|
403
|
-
this.mutationObserver = new MutationObserver(()=>this.updateValidDropTargets()
|
|
404
|
-
);
|
|
447
|
+
this.mutationObserver = new MutationObserver(()=>this.updateValidDropTargets());
|
|
405
448
|
this.updateValidDropTargets();
|
|
406
|
-
$4vY0V$reactarialiveannouncer.announce(this.stringFormatter.format($28e10663603f5ea1$var$MESSAGES[$4620ae0dc40f0031$export$1fb2158d224b542c()]));
|
|
449
|
+
(0, $4vY0V$reactarialiveannouncer.announce)(this.stringFormatter.format($28e10663603f5ea1$var$MESSAGES[(0, $4620ae0dc40f0031$export$1fb2158d224b542c)()]));
|
|
407
450
|
}
|
|
408
451
|
teardown() {
|
|
409
|
-
document.removeEventListener(
|
|
410
|
-
document.removeEventListener(
|
|
411
|
-
window.removeEventListener(
|
|
412
|
-
window.removeEventListener(
|
|
413
|
-
document.removeEventListener(
|
|
414
|
-
document.removeEventListener(
|
|
452
|
+
document.removeEventListener("keydown", this.onKeyDown, true);
|
|
453
|
+
document.removeEventListener("keyup", this.onKeyUp, true);
|
|
454
|
+
window.removeEventListener("focus", this.onFocus, true);
|
|
455
|
+
window.removeEventListener("blur", this.onBlur, true);
|
|
456
|
+
document.removeEventListener("click", this.onClick, true);
|
|
457
|
+
document.removeEventListener("pointerdown", this.onPointerDown, true);
|
|
415
458
|
for (let event of $28e10663603f5ea1$var$CANCELED_EVENTS)document.removeEventListener(event, this.cancelEvent, true);
|
|
416
459
|
this.mutationObserver.disconnect();
|
|
417
460
|
this.restoreAriaHidden();
|
|
@@ -419,19 +462,19 @@ class $28e10663603f5ea1$var$DragSession {
|
|
|
419
462
|
onKeyDown(e) {
|
|
420
463
|
var ref;
|
|
421
464
|
this.cancelEvent(e);
|
|
422
|
-
if (e.key ===
|
|
465
|
+
if (e.key === "Escape") {
|
|
423
466
|
this.cancel();
|
|
424
467
|
return;
|
|
425
468
|
}
|
|
426
|
-
if (e.key ===
|
|
469
|
+
if (e.key === "Tab" && !(e.metaKey || e.altKey || e.ctrlKey)) {
|
|
427
470
|
if (e.shiftKey) this.previous();
|
|
428
471
|
else this.next();
|
|
429
472
|
}
|
|
430
|
-
if (typeof ((ref = this.currentDropTarget) === null || ref === void 0 ? void 0 : ref.onKeyDown) ===
|
|
473
|
+
if (typeof ((ref = this.currentDropTarget) === null || ref === void 0 ? void 0 : ref.onKeyDown) === "function") this.currentDropTarget.onKeyDown(e, this.dragTarget);
|
|
431
474
|
}
|
|
432
475
|
onKeyUp(e) {
|
|
433
476
|
this.cancelEvent(e);
|
|
434
|
-
if (e.key ===
|
|
477
|
+
if (e.key === "Enter") {
|
|
435
478
|
if (e.altKey) this.activate();
|
|
436
479
|
else this.drop();
|
|
437
480
|
}
|
|
@@ -441,8 +484,7 @@ class $28e10663603f5ea1$var$DragSession {
|
|
|
441
484
|
if (e.target !== this.dragTarget.element) this.cancelEvent(e);
|
|
442
485
|
// Ignore focus events on the window/document (JSDOM). Will be handled in onBlur, below.
|
|
443
486
|
if (!(e.target instanceof HTMLElement) || e.target === this.dragTarget.element) return;
|
|
444
|
-
let dropTarget = this.validDropTargets.find((target)=>target.element.contains(e.target)
|
|
445
|
-
);
|
|
487
|
+
let dropTarget = this.validDropTargets.find((target)=>target.element.contains(e.target));
|
|
446
488
|
if (!dropTarget) {
|
|
447
489
|
if (this.currentDropTarget) this.currentDropTarget.element.focus();
|
|
448
490
|
else this.dragTarget.element.focus();
|
|
@@ -462,13 +504,12 @@ class $28e10663603f5ea1$var$DragSession {
|
|
|
462
504
|
}
|
|
463
505
|
onClick(e) {
|
|
464
506
|
this.cancelEvent(e);
|
|
465
|
-
if ($4vY0V$reactariautils.isVirtualClick(e) || this.isVirtualClick) {
|
|
507
|
+
if ((0, $4vY0V$reactariautils.isVirtualClick)(e) || this.isVirtualClick) {
|
|
466
508
|
if (e.target === this.dragTarget.element) {
|
|
467
509
|
this.cancel();
|
|
468
510
|
return;
|
|
469
511
|
}
|
|
470
|
-
let dropTarget = this.validDropTargets.find((target)=>target.element.contains(e.target)
|
|
471
|
-
);
|
|
512
|
+
let dropTarget = this.validDropTargets.find((target)=>target.element.contains(e.target));
|
|
472
513
|
if (dropTarget) {
|
|
473
514
|
let item = $28e10663603f5ea1$var$dropItems.get(e.target);
|
|
474
515
|
this.setCurrentDropTarget(dropTarget, item);
|
|
@@ -480,12 +521,12 @@ class $28e10663603f5ea1$var$DragSession {
|
|
|
480
521
|
// Android Talkback double tap has e.detail = 1 for onClick. Detect the virtual click in onPointerDown before onClick fires
|
|
481
522
|
// so we can properly perform cancel and drop operations.
|
|
482
523
|
this.cancelEvent(e);
|
|
483
|
-
this.isVirtualClick = $4vY0V$reactariautils.isVirtualPointerEvent(e);
|
|
524
|
+
this.isVirtualClick = (0, $4vY0V$reactariautils.isVirtualPointerEvent)(e);
|
|
484
525
|
}
|
|
485
526
|
cancelEvent(e) {
|
|
486
527
|
var ref;
|
|
487
528
|
// Allow focusin and focusout on the drag target so focus ring works properly.
|
|
488
|
-
if ((e.type ===
|
|
529
|
+
if ((e.type === "focusin" || e.type === "focusout") && e.target === ((ref = this.dragTarget) === null || ref === void 0 ? void 0 : ref.element)) return;
|
|
489
530
|
// Allow default for events that might cancel a click event
|
|
490
531
|
if (!$28e10663603f5ea1$var$CLICK_EVENTS.includes(e.type)) e.preventDefault();
|
|
491
532
|
e.stopPropagation();
|
|
@@ -506,30 +547,26 @@ class $28e10663603f5ea1$var$DragSession {
|
|
|
506
547
|
}
|
|
507
548
|
if (this.currentDropTarget && !this.validDropTargets.includes(this.currentDropTarget)) this.setCurrentDropTarget(this.validDropTargets[0]);
|
|
508
549
|
// Find valid drop items within collections
|
|
509
|
-
let types = $4620ae0dc40f0031$export$e1d41611756c6326(this.dragTarget.items);
|
|
550
|
+
let types = (0, $4620ae0dc40f0031$export$e1d41611756c6326)(this.dragTarget.items);
|
|
510
551
|
let validDropItems = [
|
|
511
552
|
...$28e10663603f5ea1$var$dropItems.values()
|
|
512
553
|
].filter((item)=>{
|
|
513
|
-
if (typeof item.getDropOperation ===
|
|
554
|
+
if (typeof item.getDropOperation === "function") return item.getDropOperation(types, this.dragTarget.allowedDropOperations) !== "cancel";
|
|
514
555
|
return true;
|
|
515
556
|
});
|
|
516
557
|
// Filter out drop targets that contain valid items. We don't want to stop hiding elements
|
|
517
558
|
// other than the drop items that exist inside the collection.
|
|
518
|
-
let visibleDropTargets = this.validDropTargets.filter((target)=>!validDropItems.some((item)=>target.element.contains(item.element)
|
|
519
|
-
|
|
520
|
-
);
|
|
521
|
-
this.restoreAriaHidden = $4vY0V$reactariaoverlays.ariaHideOutside([
|
|
559
|
+
let visibleDropTargets = this.validDropTargets.filter((target)=>!validDropItems.some((item)=>target.element.contains(item.element)));
|
|
560
|
+
this.restoreAriaHidden = (0, $4vY0V$reactariaoverlays.ariaHideOutside)([
|
|
522
561
|
this.dragTarget.element,
|
|
523
|
-
...validDropItems.map((item)=>item.element
|
|
524
|
-
)
|
|
525
|
-
...visibleDropTargets.map((target)=>target.element
|
|
526
|
-
)
|
|
562
|
+
...validDropItems.map((item)=>item.element),
|
|
563
|
+
...visibleDropTargets.map((target)=>target.element)
|
|
527
564
|
]);
|
|
528
565
|
this.mutationObserver.observe(document.body, {
|
|
529
566
|
subtree: true,
|
|
530
567
|
attributes: true,
|
|
531
568
|
attributeFilter: [
|
|
532
|
-
|
|
569
|
+
"aria-hidden"
|
|
533
570
|
]
|
|
534
571
|
});
|
|
535
572
|
}
|
|
@@ -590,49 +627,49 @@ class $28e10663603f5ea1$var$DragSession {
|
|
|
590
627
|
}
|
|
591
628
|
setCurrentDropTarget(dropTarget, item) {
|
|
592
629
|
if (dropTarget !== this.currentDropTarget) {
|
|
593
|
-
if (this.currentDropTarget && typeof this.currentDropTarget.onDropExit ===
|
|
630
|
+
if (this.currentDropTarget && typeof this.currentDropTarget.onDropExit === "function") {
|
|
594
631
|
let rect = this.currentDropTarget.element.getBoundingClientRect();
|
|
595
632
|
this.currentDropTarget.onDropExit({
|
|
596
|
-
type:
|
|
633
|
+
type: "dropexit",
|
|
597
634
|
x: rect.left + rect.width / 2,
|
|
598
635
|
y: rect.top + rect.height / 2
|
|
599
636
|
});
|
|
600
637
|
}
|
|
601
638
|
this.currentDropTarget = dropTarget;
|
|
602
639
|
if (dropTarget) {
|
|
603
|
-
if (typeof dropTarget.onDropEnter ===
|
|
604
|
-
let
|
|
640
|
+
if (typeof dropTarget.onDropEnter === "function") {
|
|
641
|
+
let rect1 = dropTarget.element.getBoundingClientRect();
|
|
605
642
|
dropTarget.onDropEnter({
|
|
606
|
-
type:
|
|
607
|
-
x:
|
|
608
|
-
y:
|
|
643
|
+
type: "dropenter",
|
|
644
|
+
x: rect1.left + rect1.width / 2,
|
|
645
|
+
y: rect1.top + rect1.height / 2
|
|
609
646
|
}, this.dragTarget);
|
|
610
647
|
}
|
|
611
648
|
if (!item) dropTarget === null || dropTarget === void 0 ? void 0 : dropTarget.element.focus();
|
|
612
649
|
}
|
|
613
650
|
}
|
|
614
651
|
if (item !== this.currentDropItem) {
|
|
615
|
-
if (item && typeof this.currentDropTarget.onDropTargetEnter ===
|
|
652
|
+
if (item && typeof this.currentDropTarget.onDropTargetEnter === "function") this.currentDropTarget.onDropTargetEnter(item === null || item === void 0 ? void 0 : item.target);
|
|
616
653
|
item === null || item === void 0 ? void 0 : item.element.focus();
|
|
617
654
|
this.currentDropItem = item;
|
|
618
655
|
// Annouce first drop target after drag start announcement finishes.
|
|
619
656
|
// Otherwise, it will never get announced because drag start announcement is assertive.
|
|
620
657
|
if (!this.initialFocused) {
|
|
621
|
-
$4vY0V$reactarialiveannouncer.announce(item === null || item === void 0 ? void 0 : item.element.getAttribute(
|
|
658
|
+
(0, $4vY0V$reactarialiveannouncer.announce)(item === null || item === void 0 ? void 0 : item.element.getAttribute("aria-label"), "polite");
|
|
622
659
|
this.initialFocused = true;
|
|
623
660
|
}
|
|
624
661
|
}
|
|
625
662
|
}
|
|
626
663
|
end() {
|
|
627
664
|
this.teardown();
|
|
628
|
-
if (typeof this.dragTarget.onDragEnd ===
|
|
629
|
-
let target = this.currentDropTarget && this.dropOperation !==
|
|
665
|
+
if (typeof this.dragTarget.onDragEnd === "function") {
|
|
666
|
+
let target = this.currentDropTarget && this.dropOperation !== "cancel" ? this.currentDropTarget : this.dragTarget;
|
|
630
667
|
let rect = target.element.getBoundingClientRect();
|
|
631
668
|
this.dragTarget.onDragEnd({
|
|
632
|
-
type:
|
|
669
|
+
type: "dragend",
|
|
633
670
|
x: rect.x + rect.width / 2,
|
|
634
671
|
y: rect.y + rect.height / 2,
|
|
635
|
-
dropOperation: this.dropOperation ||
|
|
672
|
+
dropOperation: this.dropOperation || "cancel"
|
|
636
673
|
});
|
|
637
674
|
}
|
|
638
675
|
// Blur and re-focus the drop target so that the focus ring appears.
|
|
@@ -640,13 +677,13 @@ class $28e10663603f5ea1$var$DragSession {
|
|
|
640
677
|
// Since we cancel all focus events in drag sessions, refire blur to make sure state gets updated so drag target doesn't think it's still focused
|
|
641
678
|
// i.e. When you from one list to another during a drag session, we need the blur to fire on the first list after the drag.
|
|
642
679
|
if (!this.dragTarget.element.contains(this.currentDropTarget.element)) {
|
|
643
|
-
this.dragTarget.element.dispatchEvent(new FocusEvent(
|
|
644
|
-
this.dragTarget.element.dispatchEvent(new FocusEvent(
|
|
680
|
+
this.dragTarget.element.dispatchEvent(new FocusEvent("blur"));
|
|
681
|
+
this.dragTarget.element.dispatchEvent(new FocusEvent("focusout", {
|
|
645
682
|
bubbles: true
|
|
646
683
|
}));
|
|
647
684
|
}
|
|
648
685
|
// Re-focus the focusedKey upon reorder. This requires a React rerender between blurring and focusing.
|
|
649
|
-
$4vY0V$reactdom.flushSync(()=>{
|
|
686
|
+
(0, $4vY0V$reactdom.flushSync)(()=>{
|
|
650
687
|
this.currentDropTarget.element.blur();
|
|
651
688
|
});
|
|
652
689
|
this.currentDropTarget.element.focus();
|
|
@@ -657,45 +694,44 @@ class $28e10663603f5ea1$var$DragSession {
|
|
|
657
694
|
cancel() {
|
|
658
695
|
this.end();
|
|
659
696
|
if (!this.dragTarget.element.closest('[aria-hidden="true"]')) this.dragTarget.element.focus();
|
|
660
|
-
$4vY0V$reactarialiveannouncer.announce(this.stringFormatter.format(
|
|
697
|
+
(0, $4vY0V$reactarialiveannouncer.announce)(this.stringFormatter.format("dropCanceled"));
|
|
661
698
|
}
|
|
662
|
-
drop(
|
|
699
|
+
drop(item) {
|
|
663
700
|
if (!this.currentDropTarget) {
|
|
664
701
|
this.cancel();
|
|
665
702
|
return;
|
|
666
703
|
}
|
|
667
|
-
if (typeof (
|
|
668
|
-
let types = $4620ae0dc40f0031$export$e1d41611756c6326(this.dragTarget.items);
|
|
669
|
-
this.dropOperation =
|
|
670
|
-
} else if (typeof this.currentDropTarget.getDropOperation ===
|
|
671
|
-
let
|
|
672
|
-
this.dropOperation = this.currentDropTarget.getDropOperation(
|
|
704
|
+
if (typeof (item === null || item === void 0 ? void 0 : item.getDropOperation) === "function") {
|
|
705
|
+
let types = (0, $4620ae0dc40f0031$export$e1d41611756c6326)(this.dragTarget.items);
|
|
706
|
+
this.dropOperation = item.getDropOperation(types, this.dragTarget.allowedDropOperations);
|
|
707
|
+
} else if (typeof this.currentDropTarget.getDropOperation === "function") {
|
|
708
|
+
let types1 = (0, $4620ae0dc40f0031$export$e1d41611756c6326)(this.dragTarget.items);
|
|
709
|
+
this.dropOperation = this.currentDropTarget.getDropOperation(types1, this.dragTarget.allowedDropOperations);
|
|
673
710
|
} else // TODO: show menu ??
|
|
674
711
|
this.dropOperation = this.dragTarget.allowedDropOperations[0];
|
|
675
|
-
if (typeof this.currentDropTarget.onDrop ===
|
|
712
|
+
if (typeof this.currentDropTarget.onDrop === "function") {
|
|
676
713
|
let items = this.dragTarget.items.map((item)=>({
|
|
677
|
-
kind:
|
|
714
|
+
kind: "text",
|
|
678
715
|
types: new Set(Object.keys(item)),
|
|
679
716
|
getText: (type)=>Promise.resolve(item[type])
|
|
680
|
-
})
|
|
681
|
-
);
|
|
717
|
+
}));
|
|
682
718
|
let rect = this.currentDropTarget.element.getBoundingClientRect();
|
|
683
719
|
this.currentDropTarget.onDrop({
|
|
684
|
-
type:
|
|
720
|
+
type: "drop",
|
|
685
721
|
x: rect.left + rect.width / 2,
|
|
686
722
|
y: rect.top + rect.height / 2,
|
|
687
723
|
items: items,
|
|
688
724
|
dropOperation: this.dropOperation
|
|
689
|
-
},
|
|
725
|
+
}, item === null || item === void 0 ? void 0 : item.target);
|
|
690
726
|
}
|
|
691
727
|
this.end();
|
|
692
|
-
$4vY0V$reactarialiveannouncer.announce(this.stringFormatter.format(
|
|
728
|
+
(0, $4vY0V$reactarialiveannouncer.announce)(this.stringFormatter.format("dropComplete"));
|
|
693
729
|
}
|
|
694
730
|
activate() {
|
|
695
|
-
if (this.currentDropTarget && typeof this.currentDropTarget.onDropActivate ===
|
|
731
|
+
if (this.currentDropTarget && typeof this.currentDropTarget.onDropActivate === "function") {
|
|
696
732
|
let rect = this.currentDropTarget.element.getBoundingClientRect();
|
|
697
733
|
this.currentDropTarget.onDropActivate({
|
|
698
|
-
type:
|
|
734
|
+
type: "dropactivate",
|
|
699
735
|
x: rect.left + rect.width / 2,
|
|
700
736
|
y: rect.top + rect.height / 2
|
|
701
737
|
});
|
|
@@ -715,12 +751,12 @@ class $28e10663603f5ea1$var$DragSession {
|
|
|
715
751
|
}
|
|
716
752
|
}
|
|
717
753
|
function $28e10663603f5ea1$var$findValidDropTargets(options) {
|
|
718
|
-
let types = $4620ae0dc40f0031$export$e1d41611756c6326(options.items);
|
|
754
|
+
let types = (0, $4620ae0dc40f0031$export$e1d41611756c6326)(options.items);
|
|
719
755
|
return [
|
|
720
756
|
...$28e10663603f5ea1$var$dropTargets.values()
|
|
721
757
|
].filter((target)=>{
|
|
722
758
|
if (target.element.closest('[aria-hidden="true"]')) return false;
|
|
723
|
-
if (typeof target.getDropOperation ===
|
|
759
|
+
if (typeof target.getDropOperation === "function") return target.getDropOperation(types, options.allowedDropOperations) !== "cancel";
|
|
724
760
|
return true;
|
|
725
761
|
});
|
|
726
762
|
}
|
|
@@ -736,29 +772,23 @@ $12ee6b0bfb4232ad$exports = {
|
|
|
736
772
|
"dragDescriptionLongPress": `اضغط باستمرار لبدء السحب.`,
|
|
737
773
|
"dragDescriptionTouch": `اضغط مرتين لبدء السحب.`,
|
|
738
774
|
"dragDescriptionVirtual": `انقر لبدء السحب.`,
|
|
739
|
-
"dragItem": (args)=>`اسحب ${args.itemText}
|
|
740
|
-
,
|
|
775
|
+
"dragItem": (args)=>`اسحب ${args.itemText}`,
|
|
741
776
|
"dragSelectedItems": (args, formatter)=>`اسحب ${formatter.plural(args.count, {
|
|
742
|
-
one: ()=>`${formatter.number(args.count)} عنصر
|
|
743
|
-
,
|
|
777
|
+
one: ()=>`${formatter.number(args.count)} عنصر محدد`,
|
|
744
778
|
other: ()=>`${formatter.number(args.count)} عناصر محددة`
|
|
745
|
-
})}
|
|
746
|
-
,
|
|
779
|
+
})}`,
|
|
747
780
|
"dragSelectedKeyboard": (args, formatter)=>`اضغط على Enter للسحب ${formatter.plural(args.count, {
|
|
748
781
|
one: `عدد العناصر المختارة`,
|
|
749
782
|
other: `عدد العناصر المختارة`
|
|
750
|
-
})}
|
|
751
|
-
,
|
|
783
|
+
})}.`,
|
|
752
784
|
"dragSelectedKeyboardAlt": (args, formatter)=>`اضغط على مفتاحي Alt + Enter للسحب ${formatter.plural(args.count, {
|
|
753
785
|
one: `عدد العناصر المختارة`,
|
|
754
786
|
other: `عدد العناصر المختارة`
|
|
755
|
-
})}
|
|
756
|
-
,
|
|
787
|
+
})}.`,
|
|
757
788
|
"dragSelectedLongPress": (args, formatter)=>`اضغط باستمرار للسحب ${formatter.plural(args.count, {
|
|
758
789
|
one: `عدد العناصر المختارة`,
|
|
759
790
|
other: `عدد العناصر المختارة`
|
|
760
|
-
})}
|
|
761
|
-
,
|
|
791
|
+
})}.`,
|
|
762
792
|
"dragStartedKeyboard": `بدأ السحب. اضغط Tab للانتقال إلى موضع الإفلات، ثم اضغط Enter للإفلات، أو اضغط Escape للإلغاء.`,
|
|
763
793
|
"dragStartedTouch": `بدأ السحب. انتقل إلى موضع الإفلات، ثم اضغط مرتين للإفلات.`,
|
|
764
794
|
"dragStartedVirtual": `بدأ السحب. انتقل إلى مكان الإفلات، ثم انقر أو اضغط Enter للإفلات.`,
|
|
@@ -768,16 +798,13 @@ $12ee6b0bfb4232ad$exports = {
|
|
|
768
798
|
"dropDescriptionTouch": `اضغط مرتين للإفلات.`,
|
|
769
799
|
"dropDescriptionVirtual": `انقر للإفلات.`,
|
|
770
800
|
"dropIndicator": `مؤشر الإفلات`,
|
|
771
|
-
"dropOnItem": (args)=>`إفلات ${args.itemText}
|
|
772
|
-
,
|
|
801
|
+
"dropOnItem": (args)=>`إفلات ${args.itemText}`,
|
|
773
802
|
"dropOnRoot": `الإفلات`,
|
|
774
803
|
"endDragKeyboard": `السحب. اضغط Enter لإلغاء السحب.`,
|
|
775
804
|
"endDragTouch": `السحب. اضغط مرتين لإلغاء السحب.`,
|
|
776
805
|
"endDragVirtual": `السحب. انقر لإلغاء السحب.`,
|
|
777
|
-
"insertAfter": (args)=>`أدخل بعد ${args.itemText}
|
|
778
|
-
|
|
779
|
-
"insertBefore": (args)=>`أدخل قبل ${args.itemText}`
|
|
780
|
-
,
|
|
806
|
+
"insertAfter": (args)=>`أدخل بعد ${args.itemText}`,
|
|
807
|
+
"insertBefore": (args)=>`أدخل قبل ${args.itemText}`,
|
|
781
808
|
"insertBetween": (args)=>`أدخل بين ${args.beforeItemText} و ${args.afterItemText}`
|
|
782
809
|
};
|
|
783
810
|
|
|
@@ -789,32 +816,23 @@ $e21ef7c55796c5e1$exports = {
|
|
|
789
816
|
"dragDescriptionLongPress": `Натиснете продължително, за да започнете да плъзгате.`,
|
|
790
817
|
"dragDescriptionTouch": `Натиснете двукратно, за да започнете да плъзгате.`,
|
|
791
818
|
"dragDescriptionVirtual": `Щракнете, за да започнете да плъзгате.`,
|
|
792
|
-
"dragItem": (args)=>`Плъзни ${args.itemText}
|
|
793
|
-
,
|
|
819
|
+
"dragItem": (args)=>`Плъзни ${args.itemText}`,
|
|
794
820
|
"dragSelectedItems": (args, formatter)=>`Плъзни ${formatter.plural(args.count, {
|
|
795
|
-
one: ()=>`${formatter.number(args.count)} избран
|
|
796
|
-
,
|
|
821
|
+
one: ()=>`${formatter.number(args.count)} избран елемент`,
|
|
797
822
|
other: ()=>`${formatter.number(args.count)} избрани елемента`
|
|
798
|
-
})}
|
|
799
|
-
,
|
|
823
|
+
})}`,
|
|
800
824
|
"dragSelectedKeyboard": (args, formatter)=>`Натиснете Enter, за да плъзнете ${formatter.plural(args.count, {
|
|
801
|
-
one: ()=>`${formatter.number(args.count)} избран
|
|
802
|
-
,
|
|
825
|
+
one: ()=>`${formatter.number(args.count)} избран елемент`,
|
|
803
826
|
other: ()=>`${formatter.number(args.count)} избрани елементи`
|
|
804
|
-
})}
|
|
805
|
-
,
|
|
827
|
+
})}.`,
|
|
806
828
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Натиснете Alt и Enter, за да плъзнете ${formatter.plural(args.count, {
|
|
807
|
-
one: ()=>`${formatter.number(args.count)} избран
|
|
808
|
-
,
|
|
829
|
+
one: ()=>`${formatter.number(args.count)} избран елемент`,
|
|
809
830
|
other: ()=>`${formatter.number(args.count)} избрани елементи`
|
|
810
|
-
})}
|
|
811
|
-
,
|
|
831
|
+
})}.`,
|
|
812
832
|
"dragSelectedLongPress": (args, formatter)=>`Натиснете продължително, за да плъзнете ${formatter.plural(args.count, {
|
|
813
|
-
one: ()=>`${formatter.number(args.count)} избран
|
|
814
|
-
,
|
|
833
|
+
one: ()=>`${formatter.number(args.count)} избран елемент`,
|
|
815
834
|
other: ()=>`${formatter.number(args.count)} избрани елементи`
|
|
816
|
-
})}
|
|
817
|
-
,
|
|
835
|
+
})}.`,
|
|
818
836
|
"dragStartedKeyboard": `Започна плъзгане. Натиснете „Tab“, за да се придвижите до целта, след което натиснете „Enter“ за пускане или натиснете „Escape“ за отмяна.`,
|
|
819
837
|
"dragStartedTouch": `Започна плъзгане. Придвижете се до целта, след което натиснете двукратно, за да пуснете.`,
|
|
820
838
|
"dragStartedVirtual": `Започна плъзгане. Придвижете се до целта, след което щракнете или натиснете „Enter“ за пускане.`,
|
|
@@ -824,16 +842,13 @@ $e21ef7c55796c5e1$exports = {
|
|
|
824
842
|
"dropDescriptionTouch": `Натиснете двукратно за пускане.`,
|
|
825
843
|
"dropDescriptionVirtual": `Щракнете за пускане.`,
|
|
826
844
|
"dropIndicator": `индикатор за пускане`,
|
|
827
|
-
"dropOnItem": (args)=>`Пусни върху ${args.itemText}
|
|
828
|
-
,
|
|
845
|
+
"dropOnItem": (args)=>`Пусни върху ${args.itemText}`,
|
|
829
846
|
"dropOnRoot": `Пусни върху`,
|
|
830
847
|
"endDragKeyboard": `Плъзгане. Натиснете „Enter“ за отмяна на плъзгането.`,
|
|
831
848
|
"endDragTouch": `Плъзгане. Натиснете двукратно за отмяна на плъзгането.`,
|
|
832
849
|
"endDragVirtual": `Плъзгане. Щракнете за отмяна.`,
|
|
833
|
-
"insertAfter": (args)=>`Вмъкни след ${args.itemText}
|
|
834
|
-
|
|
835
|
-
"insertBefore": (args)=>`Вмъкни преди ${args.itemText}`
|
|
836
|
-
,
|
|
850
|
+
"insertAfter": (args)=>`Вмъкни след ${args.itemText}`,
|
|
851
|
+
"insertBefore": (args)=>`Вмъкни преди ${args.itemText}`,
|
|
837
852
|
"insertBetween": (args)=>`Вмъкни между ${args.beforeItemText} и ${args.afterItemText}`
|
|
838
853
|
};
|
|
839
854
|
|
|
@@ -845,34 +860,24 @@ $dfa9cd1c2317d9aa$exports = {
|
|
|
845
860
|
"dragDescriptionLongPress": `Dlouhým stisknutím zahájíte přetahování.`,
|
|
846
861
|
"dragDescriptionTouch": `Poklepáním začnete s přetahováním.`,
|
|
847
862
|
"dragDescriptionVirtual": `Kliknutím začnete s přetahováním.`,
|
|
848
|
-
"dragItem": (args)=>`Přetáhnout ${args.itemText}
|
|
849
|
-
,
|
|
863
|
+
"dragItem": (args)=>`Přetáhnout ${args.itemText}`,
|
|
850
864
|
"dragSelectedItems": (args, formatter)=>`Přetáhnout ${formatter.plural(args.count, {
|
|
851
|
-
one: ()=>`${formatter.number(args.count)} vybranou položku
|
|
852
|
-
|
|
853
|
-
few: ()=>`${formatter.number(args.count)} vybrané položky`
|
|
854
|
-
,
|
|
865
|
+
one: ()=>`${formatter.number(args.count)} vybranou položku`,
|
|
866
|
+
few: ()=>`${formatter.number(args.count)} vybrané položky`,
|
|
855
867
|
other: ()=>`${formatter.number(args.count)} vybraných položek`
|
|
856
|
-
})}
|
|
857
|
-
,
|
|
868
|
+
})}`,
|
|
858
869
|
"dragSelectedKeyboard": (args, formatter)=>`Stisknutím klávesy Enter přetáhněte ${formatter.plural(args.count, {
|
|
859
|
-
one: ()=>`${formatter.number(args.count)} vybranou položku
|
|
860
|
-
,
|
|
870
|
+
one: ()=>`${formatter.number(args.count)} vybranou položku`,
|
|
861
871
|
other: ()=>`${formatter.number(args.count)} vybrané položky`
|
|
862
|
-
})}
|
|
863
|
-
,
|
|
872
|
+
})}.`,
|
|
864
873
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Stisknutím Alt + Enter přetáhněte ${formatter.plural(args.count, {
|
|
865
|
-
one: ()=>`${formatter.number(args.count)} vybranou položku
|
|
866
|
-
,
|
|
874
|
+
one: ()=>`${formatter.number(args.count)} vybranou položku`,
|
|
867
875
|
other: ()=>`${formatter.number(args.count)} vybrané položky`
|
|
868
|
-
})}
|
|
869
|
-
,
|
|
876
|
+
})}.`,
|
|
870
877
|
"dragSelectedLongPress": (args, formatter)=>`Dlouhým stisknutím přetáhnete ${formatter.plural(args.count, {
|
|
871
|
-
one: ()=>`${formatter.number(args.count)} vybranou položku
|
|
872
|
-
,
|
|
878
|
+
one: ()=>`${formatter.number(args.count)} vybranou položku`,
|
|
873
879
|
other: ()=>`${formatter.number(args.count)} vybrané položky`
|
|
874
|
-
})}
|
|
875
|
-
,
|
|
880
|
+
})}.`,
|
|
876
881
|
"dragStartedKeyboard": `Začněte s přetahováním. Po stisknutí klávesy Tab najděte požadovaný cíl a stisknutím klávesy Enter přetažení dokončete nebo stisknutím klávesy Esc akci zrušte.`,
|
|
877
882
|
"dragStartedTouch": `Začněte s přetahováním. Najděte požadovaný cíl a poklepáním přetažení dokončete.`,
|
|
878
883
|
"dragStartedVirtual": `Začněte s přetahováním. Najděte požadovaný cíl a kliknutím nebo stisknutím klávesy Enter přetažení dokončete.`,
|
|
@@ -882,16 +887,13 @@ $dfa9cd1c2317d9aa$exports = {
|
|
|
882
887
|
"dropDescriptionTouch": `Poklepáním přetažení dokončete.`,
|
|
883
888
|
"dropDescriptionVirtual": `Kliknutím objekt přetáhněte.`,
|
|
884
889
|
"dropIndicator": `indikátor přetažení`,
|
|
885
|
-
"dropOnItem": (args)=>`Přetáhnout na ${args.itemText}
|
|
886
|
-
,
|
|
890
|
+
"dropOnItem": (args)=>`Přetáhnout na ${args.itemText}`,
|
|
887
891
|
"dropOnRoot": `Přetáhnout na`,
|
|
888
892
|
"endDragKeyboard": `Probíhá přetahování. Stisknutím klávesy Enter přetažení zrušíte.`,
|
|
889
893
|
"endDragTouch": `Probíhá přetahování. Poklepáním přetažení zrušíte.`,
|
|
890
894
|
"endDragVirtual": `Probíhá přetahování. Kliknutím přetažení zrušíte.`,
|
|
891
|
-
"insertAfter": (args)=>`Vložit za ${args.itemText}
|
|
892
|
-
|
|
893
|
-
"insertBefore": (args)=>`Vložit před ${args.itemText}`
|
|
894
|
-
,
|
|
895
|
+
"insertAfter": (args)=>`Vložit za ${args.itemText}`,
|
|
896
|
+
"insertBefore": (args)=>`Vložit před ${args.itemText}`,
|
|
895
897
|
"insertBetween": (args)=>`Vložit mezi ${args.beforeItemText} a ${args.afterItemText}`
|
|
896
898
|
};
|
|
897
899
|
|
|
@@ -903,32 +905,23 @@ $65fff3bbacfa8956$exports = {
|
|
|
903
905
|
"dragDescriptionLongPress": `Tryk længe for at starte med at trække.`,
|
|
904
906
|
"dragDescriptionTouch": `Dobbelttryk for at starte med at trække.`,
|
|
905
907
|
"dragDescriptionVirtual": `Klik for at starte med at trække.`,
|
|
906
|
-
"dragItem": (args)=>`Træk ${args.itemText}
|
|
907
|
-
,
|
|
908
|
+
"dragItem": (args)=>`Træk ${args.itemText}`,
|
|
908
909
|
"dragSelectedItems": (args, formatter)=>`Træk ${formatter.plural(args.count, {
|
|
909
|
-
one: ()=>`${formatter.number(args.count)} valgt element
|
|
910
|
-
,
|
|
910
|
+
one: ()=>`${formatter.number(args.count)} valgt element`,
|
|
911
911
|
other: ()=>`${formatter.number(args.count)} valgte elementer`
|
|
912
|
-
})}
|
|
913
|
-
,
|
|
912
|
+
})}`,
|
|
914
913
|
"dragSelectedKeyboard": (args, formatter)=>`Tryk på Enter for at trække ${formatter.plural(args.count, {
|
|
915
|
-
one: ()=>`${formatter.number(args.count)} valgte element
|
|
916
|
-
,
|
|
914
|
+
one: ()=>`${formatter.number(args.count)} valgte element`,
|
|
917
915
|
other: ()=>`${formatter.number(args.count)} valgte elementer`
|
|
918
|
-
})}
|
|
919
|
-
,
|
|
916
|
+
})}.`,
|
|
920
917
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Tryk på Alt + Enter for at trække ${formatter.plural(args.count, {
|
|
921
|
-
one: ()=>`${formatter.number(args.count)} valgte element
|
|
922
|
-
,
|
|
918
|
+
one: ()=>`${formatter.number(args.count)} valgte element`,
|
|
923
919
|
other: ()=>`${formatter.number(args.count)} valgte elementer`
|
|
924
|
-
})}
|
|
925
|
-
,
|
|
920
|
+
})}.`,
|
|
926
921
|
"dragSelectedLongPress": (args, formatter)=>`Tryk længe for at trække ${formatter.plural(args.count, {
|
|
927
|
-
one: ()=>`${formatter.number(args.count)} valgte element
|
|
928
|
-
,
|
|
922
|
+
one: ()=>`${formatter.number(args.count)} valgte element`,
|
|
929
923
|
other: ()=>`${formatter.number(args.count)} valgte elementer`
|
|
930
|
-
})}
|
|
931
|
-
,
|
|
924
|
+
})}.`,
|
|
932
925
|
"dragStartedKeyboard": `Startet med at trække. Tryk på Tab for at gå til et slip-mål, tryk derefter på Enter for at slippe, eller tryk på Escape for at annullere.`,
|
|
933
926
|
"dragStartedTouch": `Startet med at trække. Gå til et slip-mål, og dobbelttryk derefter for at slippe.`,
|
|
934
927
|
"dragStartedVirtual": `Startet med at trække. Gå til et slip-mål, og klik eller tryk derefter på enter for at slippe.`,
|
|
@@ -938,16 +931,13 @@ $65fff3bbacfa8956$exports = {
|
|
|
938
931
|
"dropDescriptionTouch": `Dobbelttryk for at slippe.`,
|
|
939
932
|
"dropDescriptionVirtual": `Klik for at slippe.`,
|
|
940
933
|
"dropIndicator": `slip-indikator`,
|
|
941
|
-
"dropOnItem": (args)=>`Slip på ${args.itemText}
|
|
942
|
-
,
|
|
934
|
+
"dropOnItem": (args)=>`Slip på ${args.itemText}`,
|
|
943
935
|
"dropOnRoot": `Slip på`,
|
|
944
936
|
"endDragKeyboard": `Trækning. Tryk på enter for at annullere træk.`,
|
|
945
937
|
"endDragTouch": `Trækning. Dobbelttryk for at annullere træk.`,
|
|
946
938
|
"endDragVirtual": `Trækning. Klik for at annullere trækning.`,
|
|
947
|
-
"insertAfter": (args)=>`Indsæt efter ${args.itemText}
|
|
948
|
-
|
|
949
|
-
"insertBefore": (args)=>`Indsæt før ${args.itemText}`
|
|
950
|
-
,
|
|
939
|
+
"insertAfter": (args)=>`Indsæt efter ${args.itemText}`,
|
|
940
|
+
"insertBefore": (args)=>`Indsæt før ${args.itemText}`,
|
|
951
941
|
"insertBetween": (args)=>`Indsæt mellem ${args.beforeItemText} og ${args.afterItemText}`
|
|
952
942
|
};
|
|
953
943
|
|
|
@@ -959,32 +949,23 @@ $10b7dfe45cd41c2d$exports = {
|
|
|
959
949
|
"dragDescriptionLongPress": `Lang drücken, um mit dem Ziehen zu beginnen.`,
|
|
960
950
|
"dragDescriptionTouch": `Tippen Sie doppelt, um den Ziehvorgang zu starten.`,
|
|
961
951
|
"dragDescriptionVirtual": `Zum Starten des Ziehvorgangs klicken.`,
|
|
962
|
-
"dragItem": (args)=>`${args.itemText} ziehen
|
|
963
|
-
,
|
|
952
|
+
"dragItem": (args)=>`${args.itemText} ziehen`,
|
|
964
953
|
"dragSelectedItems": (args, formatter)=>`${formatter.plural(args.count, {
|
|
965
|
-
one: ()=>`${formatter.number(args.count)} ausgewähltes Objekt
|
|
966
|
-
,
|
|
954
|
+
one: ()=>`${formatter.number(args.count)} ausgewähltes Objekt`,
|
|
967
955
|
other: ()=>`${formatter.number(args.count)} ausgewählte Objekte`
|
|
968
|
-
})} ziehen
|
|
969
|
-
,
|
|
956
|
+
})} ziehen`,
|
|
970
957
|
"dragSelectedKeyboard": (args, formatter)=>`Eingabetaste drücken, um ${formatter.plural(args.count, {
|
|
971
|
-
one: ()=>`${formatter.number(args.count)} ausgewähltes Element
|
|
972
|
-
,
|
|
958
|
+
one: ()=>`${formatter.number(args.count)} ausgewähltes Element`,
|
|
973
959
|
other: ()=>`${formatter.number(args.count)} ausgewählte Elemente`
|
|
974
|
-
})} zu ziehen
|
|
975
|
-
,
|
|
960
|
+
})} zu ziehen.`,
|
|
976
961
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Alt + Eingabetaste drücken, um ${formatter.plural(args.count, {
|
|
977
|
-
one: ()=>`${formatter.number(args.count)} ausgewähltes Element
|
|
978
|
-
,
|
|
962
|
+
one: ()=>`${formatter.number(args.count)} ausgewähltes Element`,
|
|
979
963
|
other: ()=>`${formatter.number(args.count)} ausgewählte Elemente`
|
|
980
|
-
})} zu ziehen
|
|
981
|
-
,
|
|
964
|
+
})} zu ziehen.`,
|
|
982
965
|
"dragSelectedLongPress": (args, formatter)=>`Lang drücken, um ${formatter.plural(args.count, {
|
|
983
|
-
one: ()=>`${formatter.number(args.count)} ausgewähltes Element
|
|
984
|
-
,
|
|
966
|
+
one: ()=>`${formatter.number(args.count)} ausgewähltes Element`,
|
|
985
967
|
other: ()=>`${formatter.number(args.count)} ausgewählte Elemente`
|
|
986
|
-
})} zu ziehen
|
|
987
|
-
,
|
|
968
|
+
})} zu ziehen.`,
|
|
988
969
|
"dragStartedKeyboard": `Ziehvorgang gestartet. Drücken Sie die Tabulatortaste, um zu einem Ablegeziel zu navigieren und drücken Sie dann die Eingabetaste, um das Objekt abzulegen, oder Escape, um den Vorgang abzubrechen.`,
|
|
989
970
|
"dragStartedTouch": `Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und tippen Sie doppelt, um das Objekt abzulegen.`,
|
|
990
971
|
"dragStartedVirtual": `Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und klicken Sie oder drücken Sie die Eingabetaste, um das Objekt abzulegen.`,
|
|
@@ -994,16 +975,13 @@ $10b7dfe45cd41c2d$exports = {
|
|
|
994
975
|
"dropDescriptionTouch": `Tippen Sie doppelt, um das Objekt abzulegen.`,
|
|
995
976
|
"dropDescriptionVirtual": `Zum Ablegen klicken.`,
|
|
996
977
|
"dropIndicator": `Ablegeanzeiger`,
|
|
997
|
-
"dropOnItem": (args)=>`Auf ${args.itemText} ablegen
|
|
998
|
-
,
|
|
978
|
+
"dropOnItem": (args)=>`Auf ${args.itemText} ablegen`,
|
|
999
979
|
"dropOnRoot": `Ablegen auf`,
|
|
1000
980
|
"endDragKeyboard": `Ziehvorgang läuft. Drücken Sie die Eingabetaste, um den Vorgang abzubrechen.`,
|
|
1001
981
|
"endDragTouch": `Ziehvorgang läuft. Tippen Sie doppelt, um den Vorgang abzubrechen.`,
|
|
1002
982
|
"endDragVirtual": `Ziehvorgang läuft. Klicken Sie, um den Vorgang abzubrechen.`,
|
|
1003
|
-
"insertAfter": (args)=>`Nach ${args.itemText} einfügen
|
|
1004
|
-
|
|
1005
|
-
"insertBefore": (args)=>`Vor ${args.itemText} einfügen`
|
|
1006
|
-
,
|
|
983
|
+
"insertAfter": (args)=>`Nach ${args.itemText} einfügen`,
|
|
984
|
+
"insertBefore": (args)=>`Vor ${args.itemText} einfügen`,
|
|
1007
985
|
"insertBetween": (args)=>`Zwischen ${args.beforeItemText} und ${args.afterItemText} einfügen`
|
|
1008
986
|
};
|
|
1009
987
|
|
|
@@ -1015,32 +993,23 @@ $0cadcffb7abc96b8$exports = {
|
|
|
1015
993
|
"dragDescriptionLongPress": `Πατήστε παρατεταμένα για να ξεκινήσετε τη μεταφορά.`,
|
|
1016
994
|
"dragDescriptionTouch": `Πατήστε δύο φορές για έναρξη της μεταφοράς.`,
|
|
1017
995
|
"dragDescriptionVirtual": `Κάντε κλικ για να ξεκινήσετε τη μεταφορά.`,
|
|
1018
|
-
"dragItem": (args)=>`Μεταφορά ${args.itemText}
|
|
1019
|
-
,
|
|
996
|
+
"dragItem": (args)=>`Μεταφορά ${args.itemText}`,
|
|
1020
997
|
"dragSelectedItems": (args, formatter)=>`Μεταφορά σε ${formatter.plural(args.count, {
|
|
1021
|
-
one: ()=>`${formatter.number(args.count)} επιλεγμένο
|
|
1022
|
-
,
|
|
998
|
+
one: ()=>`${formatter.number(args.count)} επιλεγμένο στοιχείο`,
|
|
1023
999
|
other: ()=>`${formatter.number(args.count)} επιλεγμένα στοιχεία`
|
|
1024
|
-
})}
|
|
1025
|
-
,
|
|
1000
|
+
})}`,
|
|
1026
1001
|
"dragSelectedKeyboard": (args, formatter)=>`Πατήστε Enter για να σύρετε ${formatter.plural(args.count, {
|
|
1027
|
-
one: ()=>`${formatter.number(args.count)} επιλεγμένο
|
|
1028
|
-
,
|
|
1002
|
+
one: ()=>`${formatter.number(args.count)} επιλεγμένο στοιχείο`,
|
|
1029
1003
|
other: ()=>`${formatter.number(args.count)} επιλεγμένα στοιχεία`
|
|
1030
|
-
})}
|
|
1031
|
-
,
|
|
1004
|
+
})}.`,
|
|
1032
1005
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Πατήστε Alt + Enter για να σύρετε ${formatter.plural(args.count, {
|
|
1033
|
-
one: ()=>`${formatter.number(args.count)} επιλεγμένο
|
|
1034
|
-
,
|
|
1006
|
+
one: ()=>`${formatter.number(args.count)} επιλεγμένο στοιχείο`,
|
|
1035
1007
|
other: ()=>`${formatter.number(args.count)} επιλεγμένα στοιχεία`
|
|
1036
|
-
})}
|
|
1037
|
-
,
|
|
1008
|
+
})}.`,
|
|
1038
1009
|
"dragSelectedLongPress": (args, formatter)=>`Πατήστε παρατεταμένα για να σύρετε ${formatter.plural(args.count, {
|
|
1039
|
-
one: ()=>`${formatter.number(args.count)} επιλεγμένο
|
|
1040
|
-
,
|
|
1010
|
+
one: ()=>`${formatter.number(args.count)} επιλεγμένο στοιχείο`,
|
|
1041
1011
|
other: ()=>`${formatter.number(args.count)} επιλεγμένα στοιχεία`
|
|
1042
|
-
})}
|
|
1043
|
-
,
|
|
1012
|
+
})}.`,
|
|
1044
1013
|
"dragStartedKeyboard": `Η μεταφορά ξεκίνησε. Πατήστε το πλήκτρο Tab για να μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε Enter για απόθεση ή πατήστε Escape για ακύρωση.`,
|
|
1045
1014
|
"dragStartedTouch": `Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε δύο φορές για απόθεση.`,
|
|
1046
1015
|
"dragStartedVirtual": `Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, κάντε κλικ ή πατήστε Enter για απόθεση.`,
|
|
@@ -1050,53 +1019,41 @@ $0cadcffb7abc96b8$exports = {
|
|
|
1050
1019
|
"dropDescriptionTouch": `Πατήστε δύο φορές για απόθεση.`,
|
|
1051
1020
|
"dropDescriptionVirtual": `Κάντε κλικ για απόθεση.`,
|
|
1052
1021
|
"dropIndicator": `δείκτης απόθεσης`,
|
|
1053
|
-
"dropOnItem": (args)=>`Απόθεση σε ${args.itemText}
|
|
1054
|
-
,
|
|
1022
|
+
"dropOnItem": (args)=>`Απόθεση σε ${args.itemText}`,
|
|
1055
1023
|
"dropOnRoot": `Απόθεση σε`,
|
|
1056
1024
|
"endDragKeyboard": `Μεταφορά σε εξέλιξη. Πατήστε Enter για ακύρωση της μεταφοράς.`,
|
|
1057
1025
|
"endDragTouch": `Μεταφορά σε εξέλιξη. Πατήστε δύο φορές για ακύρωση της μεταφοράς.`,
|
|
1058
1026
|
"endDragVirtual": `Μεταφορά σε εξέλιξη. Κάντε κλικ για ακύρωση της μεταφοράς.`,
|
|
1059
|
-
"insertAfter": (args)=>`Εισαγωγή μετά από ${args.itemText}
|
|
1060
|
-
|
|
1061
|
-
"insertBefore": (args)=>`Εισαγωγή πριν από ${args.itemText}`
|
|
1062
|
-
,
|
|
1027
|
+
"insertAfter": (args)=>`Εισαγωγή μετά από ${args.itemText}`,
|
|
1028
|
+
"insertBefore": (args)=>`Εισαγωγή πριν από ${args.itemText}`,
|
|
1063
1029
|
"insertBetween": (args)=>`Εισαγωγή μεταξύ ${args.beforeItemText} και ${args.afterItemText}`
|
|
1064
1030
|
};
|
|
1065
1031
|
|
|
1066
1032
|
|
|
1067
1033
|
var $7e3982b34ddf1bdf$exports = {};
|
|
1068
1034
|
$7e3982b34ddf1bdf$exports = {
|
|
1069
|
-
"dragItem": (args)=>`Drag ${args.itemText}
|
|
1070
|
-
,
|
|
1035
|
+
"dragItem": (args)=>`Drag ${args.itemText}`,
|
|
1071
1036
|
"dragSelectedItems": (args, formatter)=>`Drag ${formatter.plural(args.count, {
|
|
1072
|
-
one: ()=>`${formatter.number(args.count)} selected item
|
|
1073
|
-
,
|
|
1037
|
+
one: ()=>`${formatter.number(args.count)} selected item`,
|
|
1074
1038
|
other: ()=>`${formatter.number(args.count)} selected items`
|
|
1075
|
-
})}
|
|
1076
|
-
,
|
|
1039
|
+
})}`,
|
|
1077
1040
|
"dragDescriptionKeyboard": `Press Enter to start dragging.`,
|
|
1078
1041
|
"dragDescriptionKeyboardAlt": `Press Alt + Enter to start dragging.`,
|
|
1079
1042
|
"dragDescriptionTouch": `Double tap to start dragging.`,
|
|
1080
1043
|
"dragDescriptionVirtual": `Click to start dragging.`,
|
|
1081
1044
|
"dragDescriptionLongPress": `Long press to start dragging.`,
|
|
1082
1045
|
"dragSelectedKeyboard": (args, formatter)=>`Press Enter to drag ${formatter.plural(args.count, {
|
|
1083
|
-
one: ()=>`${formatter.number(args.count)} selected item
|
|
1084
|
-
,
|
|
1046
|
+
one: ()=>`${formatter.number(args.count)} selected item`,
|
|
1085
1047
|
other: ()=>`${formatter.number(args.count)} selected items`
|
|
1086
|
-
})}
|
|
1087
|
-
,
|
|
1048
|
+
})}.`,
|
|
1088
1049
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Press Alt + Enter to drag ${formatter.plural(args.count, {
|
|
1089
|
-
one: ()=>`${formatter.number(args.count)} selected item
|
|
1090
|
-
,
|
|
1050
|
+
one: ()=>`${formatter.number(args.count)} selected item`,
|
|
1091
1051
|
other: ()=>`${formatter.number(args.count)} selected items`
|
|
1092
|
-
})}
|
|
1093
|
-
,
|
|
1052
|
+
})}.`,
|
|
1094
1053
|
"dragSelectedLongPress": (args, formatter)=>`Long press to drag ${formatter.plural(args.count, {
|
|
1095
|
-
one: ()=>`${formatter.number(args.count)} selected item
|
|
1096
|
-
,
|
|
1054
|
+
one: ()=>`${formatter.number(args.count)} selected item`,
|
|
1097
1055
|
other: ()=>`${formatter.number(args.count)} selected items`
|
|
1098
|
-
})}
|
|
1099
|
-
,
|
|
1056
|
+
})}.`,
|
|
1100
1057
|
"dragStartedKeyboard": `Started dragging. Press Tab to navigate to a drop target, then press Enter to drop, or press Escape to cancel.`,
|
|
1101
1058
|
"dragStartedTouch": `Started dragging. Navigate to a drop target, then double tap to drop.`,
|
|
1102
1059
|
"dragStartedVirtual": `Started dragging. Navigate to a drop target, then click or press Enter to drop.`,
|
|
@@ -1110,12 +1067,9 @@ $7e3982b34ddf1bdf$exports = {
|
|
|
1110
1067
|
"dropComplete": `Drop complete.`,
|
|
1111
1068
|
"dropIndicator": `drop indicator`,
|
|
1112
1069
|
"dropOnRoot": `Drop on`,
|
|
1113
|
-
"dropOnItem": (args)=>`Drop on ${args.itemText}
|
|
1114
|
-
|
|
1115
|
-
"
|
|
1116
|
-
,
|
|
1117
|
-
"insertBetween": (args)=>`Insert between ${args.beforeItemText} and ${args.afterItemText}`
|
|
1118
|
-
,
|
|
1070
|
+
"dropOnItem": (args)=>`Drop on ${args.itemText}`,
|
|
1071
|
+
"insertBefore": (args)=>`Insert before ${args.itemText}`,
|
|
1072
|
+
"insertBetween": (args)=>`Insert between ${args.beforeItemText} and ${args.afterItemText}`,
|
|
1119
1073
|
"insertAfter": (args)=>`Insert after ${args.itemText}`
|
|
1120
1074
|
};
|
|
1121
1075
|
|
|
@@ -1127,32 +1081,23 @@ $cb29ce0b655c4023$exports = {
|
|
|
1127
1081
|
"dragDescriptionLongPress": `Mantenga pulsado para comenzar a arrastrar.`,
|
|
1128
1082
|
"dragDescriptionTouch": `Pulse dos veces para iniciar el arrastre.`,
|
|
1129
1083
|
"dragDescriptionVirtual": `Haga clic para iniciar el arrastre.`,
|
|
1130
|
-
"dragItem": (args)=>`Arrastrar ${args.itemText}
|
|
1131
|
-
,
|
|
1084
|
+
"dragItem": (args)=>`Arrastrar ${args.itemText}`,
|
|
1132
1085
|
"dragSelectedItems": (args, formatter)=>`Arrastrar ${formatter.plural(args.count, {
|
|
1133
|
-
one: ()=>`${formatter.number(args.count)} elemento seleccionado
|
|
1134
|
-
,
|
|
1086
|
+
one: ()=>`${formatter.number(args.count)} elemento seleccionado`,
|
|
1135
1087
|
other: ()=>`${formatter.number(args.count)} elementos seleccionados`
|
|
1136
|
-
})}
|
|
1137
|
-
,
|
|
1088
|
+
})}`,
|
|
1138
1089
|
"dragSelectedKeyboard": (args, formatter)=>`Pulse Intro para arrastrar ${formatter.plural(args.count, {
|
|
1139
|
-
one: ()=>`${formatter.number(args.count)} elemento seleccionado
|
|
1140
|
-
,
|
|
1090
|
+
one: ()=>`${formatter.number(args.count)} elemento seleccionado`,
|
|
1141
1091
|
other: ()=>`${formatter.number(args.count)} elementos seleccionados`
|
|
1142
|
-
})}
|
|
1143
|
-
,
|
|
1092
|
+
})}.`,
|
|
1144
1093
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Pulse Alt + Intro para arrastrar ${formatter.plural(args.count, {
|
|
1145
|
-
one: ()=>`${formatter.number(args.count)} elemento seleccionado
|
|
1146
|
-
,
|
|
1094
|
+
one: ()=>`${formatter.number(args.count)} elemento seleccionado`,
|
|
1147
1095
|
other: ()=>`${formatter.number(args.count)} elementos seleccionados`
|
|
1148
|
-
})}
|
|
1149
|
-
,
|
|
1096
|
+
})}.`,
|
|
1150
1097
|
"dragSelectedLongPress": (args, formatter)=>`Mantenga pulsado para arrastrar ${formatter.plural(args.count, {
|
|
1151
|
-
one: ()=>`${formatter.number(args.count)} elemento seleccionado
|
|
1152
|
-
,
|
|
1098
|
+
one: ()=>`${formatter.number(args.count)} elemento seleccionado`,
|
|
1153
1099
|
other: ()=>`${formatter.number(args.count)} elementos seleccionados`
|
|
1154
|
-
})}
|
|
1155
|
-
,
|
|
1100
|
+
})}.`,
|
|
1156
1101
|
"dragStartedKeyboard": `Se ha empezado a arrastrar. Pulse el tabulador para ir al destino de colocación y, a continuación, pulse Intro para soltar, o pulse Escape para cancelar.`,
|
|
1157
1102
|
"dragStartedTouch": `Se ha empezado a arrastrar. Vaya al destino de colocación y, a continuación, pulse dos veces para soltar.`,
|
|
1158
1103
|
"dragStartedVirtual": `Se ha empezado a arrastrar. Vaya al destino de colocación y, a continuación, haga clic o pulse Intro para soltar.`,
|
|
@@ -1162,16 +1107,13 @@ $cb29ce0b655c4023$exports = {
|
|
|
1162
1107
|
"dropDescriptionTouch": `Pulse dos veces para soltar.`,
|
|
1163
1108
|
"dropDescriptionVirtual": `Haga clic para soltar.`,
|
|
1164
1109
|
"dropIndicator": `indicador de colocación`,
|
|
1165
|
-
"dropOnItem": (args)=>`Soltar en ${args.itemText}
|
|
1166
|
-
,
|
|
1110
|
+
"dropOnItem": (args)=>`Soltar en ${args.itemText}`,
|
|
1167
1111
|
"dropOnRoot": `Soltar en`,
|
|
1168
1112
|
"endDragKeyboard": `Arrastrando. Pulse Intro para cancelar el arrastre.`,
|
|
1169
1113
|
"endDragTouch": `Arrastrando. Pulse dos veces para cancelar el arrastre.`,
|
|
1170
1114
|
"endDragVirtual": `Arrastrando. Haga clic para cancelar el arrastre.`,
|
|
1171
|
-
"insertAfter": (args)=>`Insertar después de ${args.itemText}
|
|
1172
|
-
|
|
1173
|
-
"insertBefore": (args)=>`Insertar antes de ${args.itemText}`
|
|
1174
|
-
,
|
|
1115
|
+
"insertAfter": (args)=>`Insertar después de ${args.itemText}`,
|
|
1116
|
+
"insertBefore": (args)=>`Insertar antes de ${args.itemText}`,
|
|
1175
1117
|
"insertBetween": (args)=>`Insertar entre ${args.beforeItemText} y ${args.afterItemText}`
|
|
1176
1118
|
};
|
|
1177
1119
|
|
|
@@ -1183,32 +1125,23 @@ $067d46bab80bcf4b$exports = {
|
|
|
1183
1125
|
"dragDescriptionLongPress": `Vajutage pikalt lohistamise alustamiseks.`,
|
|
1184
1126
|
"dragDescriptionTouch": `Topeltpuudutage lohistamise alustamiseks.`,
|
|
1185
1127
|
"dragDescriptionVirtual": `Klõpsake lohistamise alustamiseks.`,
|
|
1186
|
-
"dragItem": (args)=>`Lohista ${args.itemText}
|
|
1187
|
-
,
|
|
1128
|
+
"dragItem": (args)=>`Lohista ${args.itemText}`,
|
|
1188
1129
|
"dragSelectedItems": (args, formatter)=>`Lohista ${formatter.plural(args.count, {
|
|
1189
|
-
one: ()=>`${formatter.number(args.count)} valitud üksust
|
|
1190
|
-
,
|
|
1130
|
+
one: ()=>`${formatter.number(args.count)} valitud üksust`,
|
|
1191
1131
|
other: ()=>`${formatter.number(args.count)} valitud üksust`
|
|
1192
|
-
})}
|
|
1193
|
-
,
|
|
1132
|
+
})}`,
|
|
1194
1133
|
"dragSelectedKeyboard": (args, formatter)=>`${formatter.plural(args.count, {
|
|
1195
|
-
one: ()=>`${formatter.number(args.count)} valitud üksuse
|
|
1196
|
-
,
|
|
1134
|
+
one: ()=>`${formatter.number(args.count)} valitud üksuse`,
|
|
1197
1135
|
other: ()=>`${formatter.number(args.count)} valitud üksuse`
|
|
1198
|
-
})} lohistamiseks vajutage sisestusklahvi Enter
|
|
1199
|
-
,
|
|
1136
|
+
})} lohistamiseks vajutage sisestusklahvi Enter.`,
|
|
1200
1137
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Lohistamiseks vajutage klahvikombinatsiooni Alt + Enter ${formatter.plural(args.count, {
|
|
1201
|
-
one: ()=>`${formatter.number(args.count)} valitud üksuse
|
|
1202
|
-
,
|
|
1138
|
+
one: ()=>`${formatter.number(args.count)} valitud üksuse`,
|
|
1203
1139
|
other: ()=>`${formatter.number(args.count)} valitud üksuse`
|
|
1204
|
-
})} jaoks
|
|
1205
|
-
,
|
|
1140
|
+
})} jaoks.`,
|
|
1206
1141
|
"dragSelectedLongPress": (args, formatter)=>`Pikk vajutus ${formatter.plural(args.count, {
|
|
1207
|
-
one: ()=>`${formatter.number(args.count)} valitud üksuse
|
|
1208
|
-
,
|
|
1142
|
+
one: ()=>`${formatter.number(args.count)} valitud üksuse`,
|
|
1209
1143
|
other: ()=>`${formatter.number(args.count)} valitud üksuse`
|
|
1210
|
-
})} lohistamiseks
|
|
1211
|
-
,
|
|
1144
|
+
})} lohistamiseks.`,
|
|
1212
1145
|
"dragStartedKeyboard": `Alustati lohistamist. Kukutamise sihtmärgi juurde navigeerimiseks vajutage klahvi Tab, seejärel vajutage kukutamiseks klahvi Enter või loobumiseks klahvi Escape.`,
|
|
1213
1146
|
"dragStartedTouch": `Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja topeltpuudutage kukutamiseks.`,
|
|
1214
1147
|
"dragStartedVirtual": `Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja kukutamiseks klõpsake või vajutage klahvi Enter.`,
|
|
@@ -1218,16 +1151,13 @@ $067d46bab80bcf4b$exports = {
|
|
|
1218
1151
|
"dropDescriptionTouch": `Kukutamiseks topeltpuudutage.`,
|
|
1219
1152
|
"dropDescriptionVirtual": `Kukutamiseks klõpsake.`,
|
|
1220
1153
|
"dropIndicator": `lohistamise indikaator`,
|
|
1221
|
-
"dropOnItem": (args)=>`Kukuta asukohta ${args.itemText}
|
|
1222
|
-
,
|
|
1154
|
+
"dropOnItem": (args)=>`Kukuta asukohta ${args.itemText}`,
|
|
1223
1155
|
"dropOnRoot": `Kukuta asukohta`,
|
|
1224
1156
|
"endDragKeyboard": `Lohistamine. Lohistamisest loobumiseks vajutage klahvi Enter.`,
|
|
1225
1157
|
"endDragTouch": `Lohistamine. Lohistamisest loobumiseks topeltpuudutage.`,
|
|
1226
1158
|
"endDragVirtual": `Lohistamine. Lohistamisest loobumiseks klõpsake.`,
|
|
1227
|
-
"insertAfter": (args)=>`Sisesta ${args.itemText} järele
|
|
1228
|
-
|
|
1229
|
-
"insertBefore": (args)=>`Sisesta ${args.itemText} ette`
|
|
1230
|
-
,
|
|
1159
|
+
"insertAfter": (args)=>`Sisesta ${args.itemText} järele`,
|
|
1160
|
+
"insertBefore": (args)=>`Sisesta ${args.itemText} ette`,
|
|
1231
1161
|
"insertBetween": (args)=>`Sisesta ${args.beforeItemText} ja ${args.afterItemText} vahele`
|
|
1232
1162
|
};
|
|
1233
1163
|
|
|
@@ -1239,32 +1169,23 @@ $8aa1b9a1f9d783d3$exports = {
|
|
|
1239
1169
|
"dragDescriptionLongPress": `Aloita vetäminen pitämällä painettuna.`,
|
|
1240
1170
|
"dragDescriptionTouch": `Aloita vetäminen kaksoisnapauttamalla.`,
|
|
1241
1171
|
"dragDescriptionVirtual": `Aloita vetäminen napsauttamalla.`,
|
|
1242
|
-
"dragItem": (args)=>`Vedä kohdetta ${args.itemText}
|
|
1243
|
-
,
|
|
1172
|
+
"dragItem": (args)=>`Vedä kohdetta ${args.itemText}`,
|
|
1244
1173
|
"dragSelectedItems": (args, formatter)=>`Vedä ${formatter.plural(args.count, {
|
|
1245
|
-
one: ()=>`${formatter.number(args.count)} valittua kohdetta
|
|
1246
|
-
,
|
|
1174
|
+
one: ()=>`${formatter.number(args.count)} valittua kohdetta`,
|
|
1247
1175
|
other: ()=>`${formatter.number(args.count)} valittua kohdetta`
|
|
1248
|
-
})}
|
|
1249
|
-
,
|
|
1176
|
+
})}`,
|
|
1250
1177
|
"dragSelectedKeyboard": (args, formatter)=>`Vedä painamalla Enter ${formatter.plural(args.count, {
|
|
1251
|
-
one: ()=>`${formatter.number(args.count)} valittu kohde
|
|
1252
|
-
,
|
|
1178
|
+
one: ()=>`${formatter.number(args.count)} valittu kohde`,
|
|
1253
1179
|
other: ()=>`${formatter.number(args.count)} valittua kohdetta`
|
|
1254
|
-
})}
|
|
1255
|
-
,
|
|
1180
|
+
})}.`,
|
|
1256
1181
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Vedä painamalla Alt + Enter ${formatter.plural(args.count, {
|
|
1257
|
-
one: ()=>`${formatter.number(args.count)} valittu kohde
|
|
1258
|
-
,
|
|
1182
|
+
one: ()=>`${formatter.number(args.count)} valittu kohde`,
|
|
1259
1183
|
other: ()=>`${formatter.number(args.count)} valittua kohdetta`
|
|
1260
|
-
})}
|
|
1261
|
-
,
|
|
1184
|
+
})}.`,
|
|
1262
1185
|
"dragSelectedLongPress": (args, formatter)=>`Vedä pitämällä painettuna ${formatter.plural(args.count, {
|
|
1263
|
-
one: ()=>`${formatter.number(args.count)} valittu kohde
|
|
1264
|
-
,
|
|
1186
|
+
one: ()=>`${formatter.number(args.count)} valittu kohde`,
|
|
1265
1187
|
other: ()=>`${formatter.number(args.count)} valittua kohdetta`
|
|
1266
|
-
})}
|
|
1267
|
-
,
|
|
1188
|
+
})}.`,
|
|
1268
1189
|
"dragStartedKeyboard": `Vetäminen aloitettu. Siirry pudotuskohteeseen painamalla sarkainnäppäintä ja sitten pudota painamalla Enter-näppäintä tai peruuta painamalla Escape-näppäintä.`,
|
|
1269
1190
|
"dragStartedTouch": `Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota kaksoisnapauttamalla.`,
|
|
1270
1191
|
"dragStartedVirtual": `Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota napsauttamalla tai painamalla Enter-näppäintä.`,
|
|
@@ -1274,16 +1195,13 @@ $8aa1b9a1f9d783d3$exports = {
|
|
|
1274
1195
|
"dropDescriptionTouch": `Pudota kaksoisnapauttamalla.`,
|
|
1275
1196
|
"dropDescriptionVirtual": `Pudota napsauttamalla.`,
|
|
1276
1197
|
"dropIndicator": `pudotuksen ilmaisin`,
|
|
1277
|
-
"dropOnItem": (args)=>`Pudota kohteeseen ${args.itemText}
|
|
1278
|
-
,
|
|
1198
|
+
"dropOnItem": (args)=>`Pudota kohteeseen ${args.itemText}`,
|
|
1279
1199
|
"dropOnRoot": `Pudota kohteeseen`,
|
|
1280
1200
|
"endDragKeyboard": `Vedetään. Peruuta vetäminen painamalla Enter-näppäintä.`,
|
|
1281
1201
|
"endDragTouch": `Vedetään. Peruuta vetäminen kaksoisnapauttamalla.`,
|
|
1282
1202
|
"endDragVirtual": `Vedetään. Peruuta vetäminen napsauttamalla.`,
|
|
1283
|
-
"insertAfter": (args)=>`Lisää kohteen ${args.itemText} jälkeen
|
|
1284
|
-
|
|
1285
|
-
"insertBefore": (args)=>`Lisää ennen kohdetta ${args.itemText}`
|
|
1286
|
-
,
|
|
1203
|
+
"insertAfter": (args)=>`Lisää kohteen ${args.itemText} jälkeen`,
|
|
1204
|
+
"insertBefore": (args)=>`Lisää ennen kohdetta ${args.itemText}`,
|
|
1287
1205
|
"insertBetween": (args)=>`Lisää kohteiden ${args.beforeItemText} ja ${args.afterItemText} väliin`
|
|
1288
1206
|
};
|
|
1289
1207
|
|
|
@@ -1295,32 +1213,23 @@ $9e248ec27f7dc55f$exports = {
|
|
|
1295
1213
|
"dragDescriptionLongPress": `Appuyez de manière prolongée pour commencer à faire glisser.`,
|
|
1296
1214
|
"dragDescriptionTouch": `Touchez deux fois pour commencer le déplacement.`,
|
|
1297
1215
|
"dragDescriptionVirtual": `Cliquez pour commencer le déplacement.`,
|
|
1298
|
-
"dragItem": (args)=>`Déplacer ${args.itemText}
|
|
1299
|
-
,
|
|
1216
|
+
"dragItem": (args)=>`Déplacer ${args.itemText}`,
|
|
1300
1217
|
"dragSelectedItems": (args, formatter)=>`Déplacer ${formatter.plural(args.count, {
|
|
1301
|
-
one: ()=>`${formatter.number(args.count)} élément sélectionn
|
|
1302
|
-
,
|
|
1218
|
+
one: ()=>`${formatter.number(args.count)} élément sélectionné`,
|
|
1303
1219
|
other: ()=>`${formatter.number(args.count)} éléments sélectionnés`
|
|
1304
|
-
})}
|
|
1305
|
-
,
|
|
1220
|
+
})}`,
|
|
1306
1221
|
"dragSelectedKeyboard": (args, formatter)=>`Appuyez sur Entrée pour faire glisser ${formatter.plural(args.count, {
|
|
1307
|
-
one: ()=>`${formatter.number(args.count)} élément sélectionn
|
|
1308
|
-
,
|
|
1222
|
+
one: ()=>`${formatter.number(args.count)} élément sélectionné`,
|
|
1309
1223
|
other: ()=>`${formatter.number(args.count)} éléments sélectionnés`
|
|
1310
|
-
})}
|
|
1311
|
-
,
|
|
1224
|
+
})}.`,
|
|
1312
1225
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Appuyez sur Alt + Entrée pour faire glisser ${formatter.plural(args.count, {
|
|
1313
|
-
one: ()=>`${formatter.number(args.count)} élément sélectionn
|
|
1314
|
-
,
|
|
1226
|
+
one: ()=>`${formatter.number(args.count)} élément sélectionné`,
|
|
1315
1227
|
other: ()=>`${formatter.number(args.count)} éléments sélectionnés`
|
|
1316
|
-
})}
|
|
1317
|
-
,
|
|
1228
|
+
})}.`,
|
|
1318
1229
|
"dragSelectedLongPress": (args, formatter)=>`Appuyez de manière prolongée pour faire glisser ${formatter.plural(args.count, {
|
|
1319
|
-
one: ()=>`${formatter.number(args.count)} élément sélectionn
|
|
1320
|
-
,
|
|
1230
|
+
one: ()=>`${formatter.number(args.count)} élément sélectionné`,
|
|
1321
1231
|
other: ()=>`${formatter.number(args.count)} éléments sélectionnés`
|
|
1322
|
-
})}
|
|
1323
|
-
,
|
|
1232
|
+
})}.`,
|
|
1324
1233
|
"dragStartedKeyboard": `Déplacement commencé. Appuyez sur Tabulation pour accéder à une cible de dépôt, puis appuyez sur Entrée pour déposer, ou appuyez sur Échap pour annuler.`,
|
|
1325
1234
|
"dragStartedTouch": `Déplacement commencé. Accédez à une cible de dépôt, puis touchez deux fois pour déposer.`,
|
|
1326
1235
|
"dragStartedVirtual": `Déplacement commencé. Accédez à une cible de dépôt, puis cliquez ou appuyez sur Entrée pour déposer.`,
|
|
@@ -1330,16 +1239,13 @@ $9e248ec27f7dc55f$exports = {
|
|
|
1330
1239
|
"dropDescriptionTouch": `Touchez deux fois pour déposer.`,
|
|
1331
1240
|
"dropDescriptionVirtual": `Cliquez pour déposer.`,
|
|
1332
1241
|
"dropIndicator": `indicateur de dépôt`,
|
|
1333
|
-
"dropOnItem": (args)=>`Déposer sur ${args.itemText}
|
|
1334
|
-
,
|
|
1242
|
+
"dropOnItem": (args)=>`Déposer sur ${args.itemText}`,
|
|
1335
1243
|
"dropOnRoot": `Déposer sur`,
|
|
1336
1244
|
"endDragKeyboard": `Déplacement. Appuyez sur Entrée pour annuler le déplacement.`,
|
|
1337
1245
|
"endDragTouch": `Déplacement. Touchez deux fois pour annuler le déplacement.`,
|
|
1338
1246
|
"endDragVirtual": `Déplacement. Cliquez pour annuler le déplacement.`,
|
|
1339
|
-
"insertAfter": (args)=>`Insérer après ${args.itemText}
|
|
1340
|
-
|
|
1341
|
-
"insertBefore": (args)=>`Insérer avant ${args.itemText}`
|
|
1342
|
-
,
|
|
1247
|
+
"insertAfter": (args)=>`Insérer après ${args.itemText}`,
|
|
1248
|
+
"insertBefore": (args)=>`Insérer avant ${args.itemText}`,
|
|
1343
1249
|
"insertBetween": (args)=>`Insérer entre ${args.beforeItemText} et ${args.afterItemText}`
|
|
1344
1250
|
};
|
|
1345
1251
|
|
|
@@ -1351,32 +1257,23 @@ $6387f7228f0de45e$exports = {
|
|
|
1351
1257
|
"dragDescriptionLongPress": `לחץ לחיצה ארוכה כדי להתחיל לגרור.`,
|
|
1352
1258
|
"dragDescriptionTouch": `הקש פעמיים כדי להתחיל בגרירה.`,
|
|
1353
1259
|
"dragDescriptionVirtual": `לחץ כדי להתחיל לגרור.`,
|
|
1354
|
-
"dragItem": (args)=>`גרור את ${args.itemText}
|
|
1355
|
-
,
|
|
1260
|
+
"dragItem": (args)=>`גרור את ${args.itemText}`,
|
|
1356
1261
|
"dragSelectedItems": (args, formatter)=>`גרור ${formatter.plural(args.count, {
|
|
1357
|
-
one: ()=>`פריט נבחר ${formatter.number(args.count)}
|
|
1358
|
-
,
|
|
1262
|
+
one: ()=>`פריט נבחר ${formatter.number(args.count)}`,
|
|
1359
1263
|
other: ()=>`${formatter.number(args.count)} פריטים שנבחרו`
|
|
1360
|
-
})}
|
|
1361
|
-
,
|
|
1264
|
+
})}`,
|
|
1362
1265
|
"dragSelectedKeyboard": (args, formatter)=>`הקש על Enter כדי לגרור ${formatter.plural(args.count, {
|
|
1363
|
-
one: ()=>`${formatter.number(args.count)} פריט
|
|
1364
|
-
,
|
|
1266
|
+
one: ()=>`${formatter.number(args.count)} פריט שנבחר`,
|
|
1365
1267
|
other: ()=>`${formatter.number(args.count)} פריטים שנבחרו`
|
|
1366
|
-
})}
|
|
1367
|
-
,
|
|
1268
|
+
})}.`,
|
|
1368
1269
|
"dragSelectedKeyboardAlt": (args, formatter)=>`הקש Alt + Enter כדי לגרור ${formatter.plural(args.count, {
|
|
1369
|
-
one: ()=>`${formatter.number(args.count)} פריט
|
|
1370
|
-
,
|
|
1270
|
+
one: ()=>`${formatter.number(args.count)} פריט שנבחר`,
|
|
1371
1271
|
other: ()=>`${formatter.number(args.count)} פריטים שנבחרו`
|
|
1372
|
-
})}
|
|
1373
|
-
,
|
|
1272
|
+
})}.`,
|
|
1374
1273
|
"dragSelectedLongPress": (args, formatter)=>`לחץ לחיצה ארוכה כדי לגרור ${formatter.plural(args.count, {
|
|
1375
|
-
one: ()=>`${formatter.number(args.count)} פריט
|
|
1376
|
-
,
|
|
1274
|
+
one: ()=>`${formatter.number(args.count)} פריט שנבחר`,
|
|
1377
1275
|
other: ()=>`${formatter.number(args.count)} פריטים שנבחרו`
|
|
1378
|
-
})}
|
|
1379
|
-
,
|
|
1276
|
+
})}.`,
|
|
1380
1277
|
"dragStartedKeyboard": `התחלת לגרור. הקש על Tab כדי לנווט לנקודת הגרירה ולאחר מכן הקש על Enter כדי לשחרר או על Escape כדי לבטל.`,
|
|
1381
1278
|
"dragStartedTouch": `התחלת לגרור. נווט לנקודת השחרור ולאחר מכן הקש פעמיים כדי לשחרר.`,
|
|
1382
1279
|
"dragStartedVirtual": `התחלת לגרור. נווט לנקודת השחרור ולאחר מכן לחץ או הקש על Enter כדי לשחרר.`,
|
|
@@ -1386,16 +1283,13 @@ $6387f7228f0de45e$exports = {
|
|
|
1386
1283
|
"dropDescriptionTouch": `הקש פעמיים כדי לשחרר.`,
|
|
1387
1284
|
"dropDescriptionVirtual": `לחץ כדי לשחרר.`,
|
|
1388
1285
|
"dropIndicator": `מחוון שחרור`,
|
|
1389
|
-
"dropOnItem": (args)=>`שחרר על ${args.itemText}
|
|
1390
|
-
,
|
|
1286
|
+
"dropOnItem": (args)=>`שחרר על ${args.itemText}`,
|
|
1391
1287
|
"dropOnRoot": `שחרר על`,
|
|
1392
1288
|
"endDragKeyboard": `גורר. הקש על Enter כדי לבטל את הגרירה.`,
|
|
1393
1289
|
"endDragTouch": `גורר. הקש פעמיים כדי לבטל את הגרירה.`,
|
|
1394
1290
|
"endDragVirtual": `גורר. לחץ כדי לבטל את הגרירה.`,
|
|
1395
|
-
"insertAfter": (args)=>`הוסף אחרי ${args.itemText}
|
|
1396
|
-
|
|
1397
|
-
"insertBefore": (args)=>`הוסף לפני ${args.itemText}`
|
|
1398
|
-
,
|
|
1291
|
+
"insertAfter": (args)=>`הוסף אחרי ${args.itemText}`,
|
|
1292
|
+
"insertBefore": (args)=>`הוסף לפני ${args.itemText}`,
|
|
1399
1293
|
"insertBetween": (args)=>`הוסף בין ${args.beforeItemText} לבין ${args.afterItemText}`
|
|
1400
1294
|
};
|
|
1401
1295
|
|
|
@@ -1407,32 +1301,23 @@ $34a283567735f754$exports = {
|
|
|
1407
1301
|
"dragDescriptionLongPress": `Dugo pritisnite za početak povlačenja.`,
|
|
1408
1302
|
"dragDescriptionTouch": `Dvaput dodirnite da biste počeli povlačiti.`,
|
|
1409
1303
|
"dragDescriptionVirtual": `Kliknite da biste počeli povlačiti.`,
|
|
1410
|
-
"dragItem": (args)=>`Povucite stavku ${args.itemText}
|
|
1411
|
-
,
|
|
1304
|
+
"dragItem": (args)=>`Povucite stavku ${args.itemText}`,
|
|
1412
1305
|
"dragSelectedItems": (args, formatter)=>`Povucite ${formatter.plural(args.count, {
|
|
1413
|
-
one: ()=>`${formatter.number(args.count)} odabranu stavku
|
|
1414
|
-
,
|
|
1306
|
+
one: ()=>`${formatter.number(args.count)} odabranu stavku`,
|
|
1415
1307
|
other: ()=>`ovoliko odabranih stavki: ${formatter.number(args.count)}`
|
|
1416
|
-
})}
|
|
1417
|
-
,
|
|
1308
|
+
})}`,
|
|
1418
1309
|
"dragSelectedKeyboard": (args, formatter)=>`Pritisnite Enter za povlačenje ${formatter.plural(args.count, {
|
|
1419
|
-
one: ()=>`${formatter.number(args.count)} odabrana stavka
|
|
1420
|
-
,
|
|
1310
|
+
one: ()=>`${formatter.number(args.count)} odabrana stavka`,
|
|
1421
1311
|
other: ()=>`${formatter.number(args.count)} odabrane stavke`
|
|
1422
|
-
})}
|
|
1423
|
-
,
|
|
1312
|
+
})}.`,
|
|
1424
1313
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Pritisnite Alt + Enter za povlačenje ${formatter.plural(args.count, {
|
|
1425
|
-
one: ()=>`${formatter.number(args.count)} odabrana stavka
|
|
1426
|
-
,
|
|
1314
|
+
one: ()=>`${formatter.number(args.count)} odabrana stavka`,
|
|
1427
1315
|
other: ()=>`${formatter.number(args.count)} odabrane stavke`
|
|
1428
|
-
})}
|
|
1429
|
-
,
|
|
1316
|
+
})}.`,
|
|
1430
1317
|
"dragSelectedLongPress": (args, formatter)=>`Dugo pritisnite za povlačenje ${formatter.plural(args.count, {
|
|
1431
|
-
one: ()=>`${formatter.number(args.count)} odabrana stavka
|
|
1432
|
-
,
|
|
1318
|
+
one: ()=>`${formatter.number(args.count)} odabrana stavka`,
|
|
1433
1319
|
other: ()=>`${formatter.number(args.count)} odabrane stavke`
|
|
1434
|
-
})}
|
|
1435
|
-
,
|
|
1320
|
+
})}.`,
|
|
1436
1321
|
"dragStartedKeyboard": `Počeli ste povlačiti. Pritisnite tipku tabulatora da biste došli do cilja ispuštanja, a zatim Enter da biste ispustili stavku ili Escape da biste prekinuli povlačenje.`,
|
|
1437
1322
|
"dragStartedTouch": `Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim dvaput dodirnite da biste ispustili stavku.`,
|
|
1438
1323
|
"dragStartedVirtual": `Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim kliknite ili pritisnite Enter da biste ispustili stavku.`,
|
|
@@ -1442,16 +1327,13 @@ $34a283567735f754$exports = {
|
|
|
1442
1327
|
"dropDescriptionTouch": `Dvaput dodirnite da biste ispustili stavku.`,
|
|
1443
1328
|
"dropDescriptionVirtual": `Kliknite da biste ispustili stavku.`,
|
|
1444
1329
|
"dropIndicator": `pokazatelj ispuštanja`,
|
|
1445
|
-
"dropOnItem": (args)=>`Ispustite na stavku ${args.itemText}
|
|
1446
|
-
,
|
|
1330
|
+
"dropOnItem": (args)=>`Ispustite na stavku ${args.itemText}`,
|
|
1447
1331
|
"dropOnRoot": `Ispustite na`,
|
|
1448
1332
|
"endDragKeyboard": `Povlačenje. Pritisnite Enter da biste prekinuli povlačenje.`,
|
|
1449
1333
|
"endDragTouch": `Povlačenje. Dvaput dodirnite da biste prekinuli povlačenje.`,
|
|
1450
1334
|
"endDragVirtual": `Povlačenje. Kliknite da biste prekinuli povlačenje.`,
|
|
1451
|
-
"insertAfter": (args)=>`Umetnite iza stavke ${args.itemText}
|
|
1452
|
-
|
|
1453
|
-
"insertBefore": (args)=>`Ispustite ispred stavke ${args.itemText}`
|
|
1454
|
-
,
|
|
1335
|
+
"insertAfter": (args)=>`Umetnite iza stavke ${args.itemText}`,
|
|
1336
|
+
"insertBefore": (args)=>`Ispustite ispred stavke ${args.itemText}`,
|
|
1455
1337
|
"insertBetween": (args)=>`Umetnite između stavki ${args.beforeItemText} i ${args.afterItemText}`
|
|
1456
1338
|
};
|
|
1457
1339
|
|
|
@@ -1463,32 +1345,23 @@ $466590c56bee4342$exports = {
|
|
|
1463
1345
|
"dragDescriptionLongPress": `Hosszan nyomja meg a húzás elindításához.`,
|
|
1464
1346
|
"dragDescriptionTouch": `Koppintson duplán a húzás megkezdéséhez.`,
|
|
1465
1347
|
"dragDescriptionVirtual": `Kattintson a húzás megkezdéséhez.`,
|
|
1466
|
-
"dragItem": (args)=>`${args.itemText} húzása
|
|
1467
|
-
,
|
|
1348
|
+
"dragItem": (args)=>`${args.itemText} húzása`,
|
|
1468
1349
|
"dragSelectedItems": (args, formatter)=>`${formatter.plural(args.count, {
|
|
1469
|
-
one: ()=>`${formatter.number(args.count)} kijelölt elem
|
|
1470
|
-
,
|
|
1350
|
+
one: ()=>`${formatter.number(args.count)} kijelölt elem`,
|
|
1471
1351
|
other: ()=>`${formatter.number(args.count)} kijelölt elem`
|
|
1472
|
-
})} húzása
|
|
1473
|
-
,
|
|
1352
|
+
})} húzása`,
|
|
1474
1353
|
"dragSelectedKeyboard": (args, formatter)=>`Nyomja meg az Entert ${formatter.plural(args.count, {
|
|
1475
|
-
one: ()=>`${formatter.number(args.count)} kijelölt elem
|
|
1476
|
-
,
|
|
1354
|
+
one: ()=>`${formatter.number(args.count)} kijelölt elem`,
|
|
1477
1355
|
other: ()=>`${formatter.number(args.count)} kijelölt elem`
|
|
1478
|
-
})} húzásához
|
|
1479
|
-
,
|
|
1356
|
+
})} húzásához.`,
|
|
1480
1357
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Nyomja meg az Alt + Enter billentyűket ${formatter.plural(args.count, {
|
|
1481
|
-
one: ()=>`${formatter.number(args.count)} kijelölt elem
|
|
1482
|
-
,
|
|
1358
|
+
one: ()=>`${formatter.number(args.count)} kijelölt elem`,
|
|
1483
1359
|
other: ()=>`${formatter.number(args.count)} kijelölt elem`
|
|
1484
|
-
})} húzásához
|
|
1485
|
-
,
|
|
1360
|
+
})} húzásához.`,
|
|
1486
1361
|
"dragSelectedLongPress": (args, formatter)=>`Tartsa lenyomva hosszan ${formatter.plural(args.count, {
|
|
1487
|
-
one: ()=>`${formatter.number(args.count)} kijelölt elem
|
|
1488
|
-
,
|
|
1362
|
+
one: ()=>`${formatter.number(args.count)} kijelölt elem`,
|
|
1489
1363
|
other: ()=>`${formatter.number(args.count)} kijelölt elem`
|
|
1490
|
-
})} húzásához
|
|
1491
|
-
,
|
|
1364
|
+
})} húzásához.`,
|
|
1492
1365
|
"dragStartedKeyboard": `Húzás megkezdve. Nyomja le a Tab billentyűt az elengedési célhoz navigálásához, majd nyomja le az Enter billentyűt az elengedéshez, vagy nyomja le az Escape billentyűt a megszakításhoz.`,
|
|
1493
1366
|
"dragStartedTouch": `Húzás megkezdve. Navigáljon egy elengedési célhoz, majd koppintson duplán az elengedéshez.`,
|
|
1494
1367
|
"dragStartedVirtual": `Húzás megkezdve. Navigáljon egy elengedési célhoz, majd kattintson vagy nyomja le az Enter billentyűt az elengedéshez.`,
|
|
@@ -1498,16 +1371,13 @@ $466590c56bee4342$exports = {
|
|
|
1498
1371
|
"dropDescriptionTouch": `Koppintson duplán az elengedéshez.`,
|
|
1499
1372
|
"dropDescriptionVirtual": `Kattintson az elengedéshez.`,
|
|
1500
1373
|
"dropIndicator": `elengedésjelző`,
|
|
1501
|
-
"dropOnItem": (args)=>`Elengedés erre: ${args.itemText}
|
|
1502
|
-
,
|
|
1374
|
+
"dropOnItem": (args)=>`Elengedés erre: ${args.itemText}`,
|
|
1503
1375
|
"dropOnRoot": `Elengedés erre:`,
|
|
1504
1376
|
"endDragKeyboard": `Húzás folyamatban. Nyomja le az Enter billentyűt a húzás megszakításához.`,
|
|
1505
1377
|
"endDragTouch": `Húzás folyamatban. Koppintson duplán a húzás megszakításához.`,
|
|
1506
1378
|
"endDragVirtual": `Húzás folyamatban. Kattintson a húzás megszakításához.`,
|
|
1507
|
-
"insertAfter": (args)=>`Beszúrás ${args.itemText} után
|
|
1508
|
-
|
|
1509
|
-
"insertBefore": (args)=>`Beszúrás ${args.itemText} elé`
|
|
1510
|
-
,
|
|
1379
|
+
"insertAfter": (args)=>`Beszúrás ${args.itemText} után`,
|
|
1380
|
+
"insertBefore": (args)=>`Beszúrás ${args.itemText} elé`,
|
|
1511
1381
|
"insertBetween": (args)=>`Beszúrás ${args.beforeItemText} és ${args.afterItemText} közé`
|
|
1512
1382
|
};
|
|
1513
1383
|
|
|
@@ -1519,32 +1389,23 @@ $e013896dcb6a6884$exports = {
|
|
|
1519
1389
|
"dragDescriptionLongPress": `Premi a lungo per iniziare a trascinare.`,
|
|
1520
1390
|
"dragDescriptionTouch": `Tocca due volte per iniziare a trascinare.`,
|
|
1521
1391
|
"dragDescriptionVirtual": `Fai clic per iniziare a trascinare.`,
|
|
1522
|
-
"dragItem": (args)=>`Trascina ${args.itemText}
|
|
1523
|
-
,
|
|
1392
|
+
"dragItem": (args)=>`Trascina ${args.itemText}`,
|
|
1524
1393
|
"dragSelectedItems": (args, formatter)=>`Trascina ${formatter.plural(args.count, {
|
|
1525
|
-
one: ()=>`${formatter.number(args.count)} altro elemento selezionato
|
|
1526
|
-
,
|
|
1394
|
+
one: ()=>`${formatter.number(args.count)} altro elemento selezionato`,
|
|
1527
1395
|
other: ()=>`${formatter.number(args.count)} altri elementi selezionati`
|
|
1528
|
-
})}
|
|
1529
|
-
,
|
|
1396
|
+
})}`,
|
|
1530
1397
|
"dragSelectedKeyboard": (args, formatter)=>`Premi Invio per trascinare ${formatter.plural(args.count, {
|
|
1531
|
-
one: ()=>`${formatter.number(args.count)} elemento selezionato
|
|
1532
|
-
,
|
|
1398
|
+
one: ()=>`${formatter.number(args.count)} elemento selezionato`,
|
|
1533
1399
|
other: ()=>`${formatter.number(args.count)} elementi selezionati`
|
|
1534
|
-
})}
|
|
1535
|
-
,
|
|
1400
|
+
})}.`,
|
|
1536
1401
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Premi Alt + Invio per trascinare ${formatter.plural(args.count, {
|
|
1537
|
-
one: ()=>`${formatter.number(args.count)} elemento selezionato
|
|
1538
|
-
,
|
|
1402
|
+
one: ()=>`${formatter.number(args.count)} elemento selezionato`,
|
|
1539
1403
|
other: ()=>`${formatter.number(args.count)} elementi selezionati`
|
|
1540
|
-
})}
|
|
1541
|
-
,
|
|
1404
|
+
})}.`,
|
|
1542
1405
|
"dragSelectedLongPress": (args, formatter)=>`Premi a lungo per trascinare ${formatter.plural(args.count, {
|
|
1543
|
-
one: ()=>`${formatter.number(args.count)} elemento selezionato
|
|
1544
|
-
,
|
|
1406
|
+
one: ()=>`${formatter.number(args.count)} elemento selezionato`,
|
|
1545
1407
|
other: ()=>`${formatter.number(args.count)} elementi selezionati`
|
|
1546
|
-
})}
|
|
1547
|
-
,
|
|
1408
|
+
})}.`,
|
|
1548
1409
|
"dragStartedKeyboard": `Hai iniziato a trascinare. Premi Tab per arrivare sull’area di destinazione, quindi premi Invio per rilasciare o Esc per annullare.`,
|
|
1549
1410
|
"dragStartedTouch": `Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi tocca due volte per rilasciare.`,
|
|
1550
1411
|
"dragStartedVirtual": `Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi fai clic o premi Invio per rilasciare.`,
|
|
@@ -1554,16 +1415,13 @@ $e013896dcb6a6884$exports = {
|
|
|
1554
1415
|
"dropDescriptionTouch": `Tocca due volte per rilasciare.`,
|
|
1555
1416
|
"dropDescriptionVirtual": `Fai clic per rilasciare.`,
|
|
1556
1417
|
"dropIndicator": `indicatore di rilascio`,
|
|
1557
|
-
"dropOnItem": (args)=>`Rilascia su ${args.itemText}
|
|
1558
|
-
,
|
|
1418
|
+
"dropOnItem": (args)=>`Rilascia su ${args.itemText}`,
|
|
1559
1419
|
"dropOnRoot": `Rilascia su`,
|
|
1560
1420
|
"endDragKeyboard": `Trascinamento. Premi Invio per annullare.`,
|
|
1561
1421
|
"endDragTouch": `Trascinamento. Tocca due volte per annullare.`,
|
|
1562
1422
|
"endDragVirtual": `Trascinamento. Fai clic per annullare.`,
|
|
1563
|
-
"insertAfter": (args)=>`Inserisci dopo ${args.itemText}
|
|
1564
|
-
|
|
1565
|
-
"insertBefore": (args)=>`Inserisci prima di ${args.itemText}`
|
|
1566
|
-
,
|
|
1423
|
+
"insertAfter": (args)=>`Inserisci dopo ${args.itemText}`,
|
|
1424
|
+
"insertBefore": (args)=>`Inserisci prima di ${args.itemText}`,
|
|
1567
1425
|
"insertBetween": (args)=>`Inserisci tra ${args.beforeItemText} e ${args.afterItemText}`
|
|
1568
1426
|
};
|
|
1569
1427
|
|
|
@@ -1575,32 +1433,23 @@ $d6121e4246c6e502$exports = {
|
|
|
1575
1433
|
"dragDescriptionLongPress": `長押ししてドラッグを開始します。`,
|
|
1576
1434
|
"dragDescriptionTouch": `ダブルタップしてドラッグを開始します。`,
|
|
1577
1435
|
"dragDescriptionVirtual": `クリックしてドラッグを開始します。`,
|
|
1578
|
-
"dragItem": (args)=>`${args.itemText}
|
|
1579
|
-
,
|
|
1436
|
+
"dragItem": (args)=>`${args.itemText} をドラッグ`,
|
|
1580
1437
|
"dragSelectedItems": (args, formatter)=>`${formatter.plural(args.count, {
|
|
1581
|
-
one: ()=>`${formatter.number(args.count)}
|
|
1582
|
-
,
|
|
1438
|
+
one: ()=>`${formatter.number(args.count)} 個の選択項目`,
|
|
1583
1439
|
other: ()=>`${formatter.number(args.count)} 個の選択項目`
|
|
1584
|
-
})}
|
|
1585
|
-
,
|
|
1440
|
+
})} をドラッグ`,
|
|
1586
1441
|
"dragSelectedKeyboard": (args, formatter)=>`Enter キーを押して、${formatter.plural(args.count, {
|
|
1587
|
-
one: ()=>`${formatter.number(args.count)}
|
|
1588
|
-
,
|
|
1442
|
+
one: ()=>`${formatter.number(args.count)} 選択した項目`,
|
|
1589
1443
|
other: ()=>`${formatter.number(args.count)} 選択した項目`
|
|
1590
|
-
})}
|
|
1591
|
-
,
|
|
1444
|
+
})}をドラッグします。`,
|
|
1592
1445
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Alt+Enter キーを押して、${formatter.plural(args.count, {
|
|
1593
|
-
one: ()=>`${formatter.number(args.count)}
|
|
1594
|
-
,
|
|
1446
|
+
one: ()=>`${formatter.number(args.count)} 選択した項目`,
|
|
1595
1447
|
other: ()=>`${formatter.number(args.count)} 選択した項目`
|
|
1596
|
-
})}
|
|
1597
|
-
,
|
|
1448
|
+
})}をドラッグします。`,
|
|
1598
1449
|
"dragSelectedLongPress": (args, formatter)=>`長押しして、${formatter.plural(args.count, {
|
|
1599
|
-
one: ()=>`${formatter.number(args.count)}
|
|
1600
|
-
,
|
|
1450
|
+
one: ()=>`${formatter.number(args.count)} 選択した項目`,
|
|
1601
1451
|
other: ()=>`${formatter.number(args.count)} 選択した項目`
|
|
1602
|
-
})}
|
|
1603
|
-
,
|
|
1452
|
+
})}をドラッグします。`,
|
|
1604
1453
|
"dragStartedKeyboard": `ドラッグを開始します。Tab キーを押してドロップターゲットにいどうし、Enter キーを押してドロップするか、Esc キーを押してキャンセルします。`,
|
|
1605
1454
|
"dragStartedTouch": `ドラッグを開始しました。ドロップのターゲットに移動し、ダブルタップしてドロップします。`,
|
|
1606
1455
|
"dragStartedVirtual": `ドラッグを開始しました。ドロップのターゲットに移動し、クリックまたは Enter キーを押してドロップします。`,
|
|
@@ -1610,16 +1459,13 @@ $d6121e4246c6e502$exports = {
|
|
|
1610
1459
|
"dropDescriptionTouch": `ダブルタップしてドロップします。`,
|
|
1611
1460
|
"dropDescriptionVirtual": `クリックしてドロップします。`,
|
|
1612
1461
|
"dropIndicator": `ドロップインジケーター`,
|
|
1613
|
-
"dropOnItem": (args)=>`${args.itemText}
|
|
1614
|
-
,
|
|
1462
|
+
"dropOnItem": (args)=>`${args.itemText} にドロップ`,
|
|
1615
1463
|
"dropOnRoot": `ドロップ場所`,
|
|
1616
1464
|
"endDragKeyboard": `ドラッグしています。Enter キーを押してドラッグをキャンセルします。`,
|
|
1617
1465
|
"endDragTouch": `ドラッグしています。ダブルタップしてドラッグをキャンセルします。`,
|
|
1618
1466
|
"endDragVirtual": `ドラッグしています。クリックしてドラッグをキャンセルします。`,
|
|
1619
|
-
"insertAfter": (args)=>`${args.itemText}
|
|
1620
|
-
|
|
1621
|
-
"insertBefore": (args)=>`${args.itemText} の前に挿入`
|
|
1622
|
-
,
|
|
1467
|
+
"insertAfter": (args)=>`${args.itemText} の後に挿入`,
|
|
1468
|
+
"insertBefore": (args)=>`${args.itemText} の前に挿入`,
|
|
1623
1469
|
"insertBetween": (args)=>`${args.beforeItemText} と ${args.afterItemText} の間に挿入`
|
|
1624
1470
|
};
|
|
1625
1471
|
|
|
@@ -1631,32 +1477,23 @@ $cf48a963c482dcba$exports = {
|
|
|
1631
1477
|
"dragDescriptionLongPress": `드래그를 시작하려면 길게 누르십시오.`,
|
|
1632
1478
|
"dragDescriptionTouch": `드래그를 시작하려면 더블 탭하세요.`,
|
|
1633
1479
|
"dragDescriptionVirtual": `드래그를 시작하려면 클릭하세요.`,
|
|
1634
|
-
"dragItem": (args)=>`${args.itemText}
|
|
1635
|
-
,
|
|
1480
|
+
"dragItem": (args)=>`${args.itemText} 드래그`,
|
|
1636
1481
|
"dragSelectedItems": (args, formatter)=>`${formatter.plural(args.count, {
|
|
1637
|
-
one: ()=>`${formatter.number(args.count)}개 선택
|
|
1638
|
-
,
|
|
1482
|
+
one: ()=>`${formatter.number(args.count)}개 선택 항목`,
|
|
1639
1483
|
other: ()=>`${formatter.number(args.count)}개 선택 항목`
|
|
1640
|
-
})}
|
|
1641
|
-
,
|
|
1484
|
+
})} 드래그`,
|
|
1642
1485
|
"dragSelectedKeyboard": (args, formatter)=>`${formatter.plural(args.count, {
|
|
1643
|
-
one: ()=>`${formatter.number(args.count)}개 선택
|
|
1644
|
-
,
|
|
1486
|
+
one: ()=>`${formatter.number(args.count)}개 선택 항목`,
|
|
1645
1487
|
other: ()=>`${formatter.number(args.count)}개 선택 항목`
|
|
1646
|
-
})}을 드래그하려면 Enter를
|
|
1647
|
-
,
|
|
1488
|
+
})}을 드래그하려면 Enter를 누르십시오.`,
|
|
1648
1489
|
"dragSelectedKeyboardAlt": (args, formatter)=>`${formatter.plural(args.count, {
|
|
1649
|
-
one: ()=>`${formatter.number(args.count)}개 선택
|
|
1650
|
-
,
|
|
1490
|
+
one: ()=>`${formatter.number(args.count)}개 선택 항목`,
|
|
1651
1491
|
other: ()=>`${formatter.number(args.count)}개 선택 항목`
|
|
1652
|
-
})}을 드래그하려면 Alt + Enter를
|
|
1653
|
-
,
|
|
1492
|
+
})}을 드래그하려면 Alt + Enter를 누르십시오.`,
|
|
1654
1493
|
"dragSelectedLongPress": (args, formatter)=>`${formatter.plural(args.count, {
|
|
1655
|
-
one: ()=>`${formatter.number(args.count)}개 선택
|
|
1656
|
-
,
|
|
1494
|
+
one: ()=>`${formatter.number(args.count)}개 선택 항목`,
|
|
1657
1495
|
other: ()=>`${formatter.number(args.count)}개 선택 항목`
|
|
1658
|
-
})}을 드래그하려면 길게
|
|
1659
|
-
,
|
|
1496
|
+
})}을 드래그하려면 길게 누르십시오.`,
|
|
1660
1497
|
"dragStartedKeyboard": `드래그가 시작되었습니다. Tab을 눌러 드롭 대상으로 이동한 다음 Enter를 눌러 드롭하거나 Esc를 눌러 취소하세요.`,
|
|
1661
1498
|
"dragStartedTouch": `드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 더블 탭하여 드롭하세요.`,
|
|
1662
1499
|
"dragStartedVirtual": `드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 클릭하거나 Enter를 눌러 드롭하세요.`,
|
|
@@ -1666,16 +1503,13 @@ $cf48a963c482dcba$exports = {
|
|
|
1666
1503
|
"dropDescriptionTouch": `더블 탭하여 드롭하세요.`,
|
|
1667
1504
|
"dropDescriptionVirtual": `드롭하려면 클릭하세요.`,
|
|
1668
1505
|
"dropIndicator": `드롭 표시기`,
|
|
1669
|
-
"dropOnItem": (args)=>`${args.itemText}에
|
|
1670
|
-
,
|
|
1506
|
+
"dropOnItem": (args)=>`${args.itemText}에 드롭`,
|
|
1671
1507
|
"dropOnRoot": `드롭 대상`,
|
|
1672
1508
|
"endDragKeyboard": `드래그 중입니다. 드래그를 취소하려면 Enter를 누르세요.`,
|
|
1673
1509
|
"endDragTouch": `드래그 중입니다. 드래그를 취소하려면 더블 탭하세요.`,
|
|
1674
1510
|
"endDragVirtual": `드래그 중입니다. 드래그를 취소하려면 클릭하세요.`,
|
|
1675
|
-
"insertAfter": (args)=>`${args.itemText} 이후에
|
|
1676
|
-
|
|
1677
|
-
"insertBefore": (args)=>`${args.itemText} 이전에 삽입`
|
|
1678
|
-
,
|
|
1511
|
+
"insertAfter": (args)=>`${args.itemText} 이후에 삽입`,
|
|
1512
|
+
"insertBefore": (args)=>`${args.itemText} 이전에 삽입`,
|
|
1679
1513
|
"insertBetween": (args)=>`${args.beforeItemText} 및 ${args.afterItemText} 사이에 삽입`
|
|
1680
1514
|
};
|
|
1681
1515
|
|
|
@@ -1687,32 +1521,23 @@ $b156071f04f1c899$exports = {
|
|
|
1687
1521
|
"dragDescriptionLongPress": `Palaikykite nuspaudę, kad pradėtumėte vilkti.`,
|
|
1688
1522
|
"dragDescriptionTouch": `Palieskite dukart, kad pradėtumėte vilkti.`,
|
|
1689
1523
|
"dragDescriptionVirtual": `Spustelėkite, kad pradėtumėte vilkti.`,
|
|
1690
|
-
"dragItem": (args)=>`Vilkti ${args.itemText}
|
|
1691
|
-
,
|
|
1524
|
+
"dragItem": (args)=>`Vilkti ${args.itemText}`,
|
|
1692
1525
|
"dragSelectedItems": (args, formatter)=>`Vilkti ${formatter.plural(args.count, {
|
|
1693
|
-
one: ()=>`${formatter.number(args.count)} pasirinktą element
|
|
1694
|
-
,
|
|
1526
|
+
one: ()=>`${formatter.number(args.count)} pasirinktą elementą`,
|
|
1695
1527
|
other: ()=>`${formatter.number(args.count)} pasirinktus elementus`
|
|
1696
|
-
})}
|
|
1697
|
-
,
|
|
1528
|
+
})}`,
|
|
1698
1529
|
"dragSelectedKeyboard": (args, formatter)=>`Paspauskite „Enter“, jei norite nuvilkti ${formatter.plural(args.count, {
|
|
1699
|
-
one: ()=>`${formatter.number(args.count)} pasirinktą element
|
|
1700
|
-
,
|
|
1530
|
+
one: ()=>`${formatter.number(args.count)} pasirinktą elementą`,
|
|
1701
1531
|
other: ()=>`${formatter.number(args.count)} pasirinktus elementus`
|
|
1702
|
-
})}
|
|
1703
|
-
,
|
|
1532
|
+
})}.`,
|
|
1704
1533
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Paspauskite „Alt + Enter“, kad nuvilktumėte ${formatter.plural(args.count, {
|
|
1705
|
-
one: ()=>`${formatter.number(args.count)} pasirinktą element
|
|
1706
|
-
,
|
|
1534
|
+
one: ()=>`${formatter.number(args.count)} pasirinktą elementą`,
|
|
1707
1535
|
other: ()=>`${formatter.number(args.count)} pasirinktus elementus`
|
|
1708
|
-
})}
|
|
1709
|
-
,
|
|
1536
|
+
})}.`,
|
|
1710
1537
|
"dragSelectedLongPress": (args, formatter)=>`Nuspaudę palaikykite, kad nuvilktumėte ${formatter.plural(args.count, {
|
|
1711
|
-
one: ()=>`${formatter.number(args.count)} pasirinktą element
|
|
1712
|
-
,
|
|
1538
|
+
one: ()=>`${formatter.number(args.count)} pasirinktą elementą`,
|
|
1713
1539
|
other: ()=>`${formatter.number(args.count)} pasirinktus elementus`
|
|
1714
|
-
})}
|
|
1715
|
-
,
|
|
1540
|
+
})}.`,
|
|
1716
1541
|
"dragStartedKeyboard": `Pradėta vilkti. Paspauskite „Tab“, kad pereitumėte į tiesioginę paskirties vietą, tada paspauskite „Enter“, kad numestumėte, arba „Escape“, kad atšauktumėte.`,
|
|
1717
1542
|
"dragStartedTouch": `Pradėta vilkti. Eikite į tiesioginę paskirties vietą, tada palieskite dukart, kad numestumėte.`,
|
|
1718
1543
|
"dragStartedVirtual": `Pradėta vilkti. Eikite į tiesioginę paskirties vietą ir spustelėkite arba paspauskite „Enter“, kad numestumėte.`,
|
|
@@ -1722,16 +1547,13 @@ $b156071f04f1c899$exports = {
|
|
|
1722
1547
|
"dropDescriptionTouch": `Palieskite dukart, kad numestumėte.`,
|
|
1723
1548
|
"dropDescriptionVirtual": `Spustelėkite, kad numestumėte.`,
|
|
1724
1549
|
"dropIndicator": `numetimo indikatorius`,
|
|
1725
|
-
"dropOnItem": (args)=>`Numesti ant ${args.itemText}
|
|
1726
|
-
,
|
|
1550
|
+
"dropOnItem": (args)=>`Numesti ant ${args.itemText}`,
|
|
1727
1551
|
"dropOnRoot": `Numesti ant`,
|
|
1728
1552
|
"endDragKeyboard": `Velkama. Paspauskite „Enter“, kad atšauktumėte vilkimą.`,
|
|
1729
1553
|
"endDragTouch": `Velkama. Spustelėkite dukart, kad atšauktumėte vilkimą.`,
|
|
1730
1554
|
"endDragVirtual": `Velkama. Spustelėkite, kad atšauktumėte vilkimą.`,
|
|
1731
|
-
"insertAfter": (args)=>`Įterpti po ${args.itemText}
|
|
1732
|
-
|
|
1733
|
-
"insertBefore": (args)=>`Įterpti prieš ${args.itemText}`
|
|
1734
|
-
,
|
|
1555
|
+
"insertAfter": (args)=>`Įterpti po ${args.itemText}`,
|
|
1556
|
+
"insertBefore": (args)=>`Įterpti prieš ${args.itemText}`,
|
|
1735
1557
|
"insertBetween": (args)=>`Įterpti tarp ${args.beforeItemText} ir ${args.afterItemText}`
|
|
1736
1558
|
};
|
|
1737
1559
|
|
|
@@ -1743,32 +1565,23 @@ $5300be8ef98d39fa$exports = {
|
|
|
1743
1565
|
"dragDescriptionLongPress": `Turiet nospiestu, lai sāktu vilkšanu.`,
|
|
1744
1566
|
"dragDescriptionTouch": `Veiciet dubultskārienu, lai sāktu vilkšanu.`,
|
|
1745
1567
|
"dragDescriptionVirtual": `Noklikšķiniet, lai sāktu vilkšanu.`,
|
|
1746
|
-
"dragItem": (args)=>`Velciet ${args.itemText}
|
|
1747
|
-
,
|
|
1568
|
+
"dragItem": (args)=>`Velciet ${args.itemText}`,
|
|
1748
1569
|
"dragSelectedItems": (args, formatter)=>`Velciet ${formatter.plural(args.count, {
|
|
1749
|
-
one: ()=>`${formatter.number(args.count)} atlasīto vienumu
|
|
1750
|
-
,
|
|
1570
|
+
one: ()=>`${formatter.number(args.count)} atlasīto vienumu`,
|
|
1751
1571
|
other: ()=>`${formatter.number(args.count)} atlasītos vienumus`
|
|
1752
|
-
})}
|
|
1753
|
-
,
|
|
1572
|
+
})}`,
|
|
1754
1573
|
"dragSelectedKeyboard": (args, formatter)=>`Nospiediet taustiņu Enter, lai vilktu ${formatter.plural(args.count, {
|
|
1755
|
-
one: ()=>`${formatter.number(args.count)} atlasīto vienumu
|
|
1756
|
-
,
|
|
1574
|
+
one: ()=>`${formatter.number(args.count)} atlasīto vienumu`,
|
|
1757
1575
|
other: ()=>`${formatter.number(args.count)} atlasītos vienumus`
|
|
1758
|
-
})}
|
|
1759
|
-
,
|
|
1576
|
+
})}.`,
|
|
1760
1577
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Nospiediet taustiņu kombināciju Alt+Enter, lai vilktu ${formatter.plural(args.count, {
|
|
1761
|
-
one: ()=>`${formatter.number(args.count)} atlasīto vienumu
|
|
1762
|
-
,
|
|
1578
|
+
one: ()=>`${formatter.number(args.count)} atlasīto vienumu`,
|
|
1763
1579
|
other: ()=>`${formatter.number(args.count)} atlasītos vienumus`
|
|
1764
|
-
})}
|
|
1765
|
-
,
|
|
1580
|
+
})}.`,
|
|
1766
1581
|
"dragSelectedLongPress": (args, formatter)=>`Turiet nospiestu, lai vilktu ${formatter.plural(args.count, {
|
|
1767
|
-
one: ()=>`${formatter.number(args.count)} atlasīto vienumu
|
|
1768
|
-
,
|
|
1582
|
+
one: ()=>`${formatter.number(args.count)} atlasīto vienumu`,
|
|
1769
1583
|
other: ()=>`${formatter.number(args.count)} atlasītos vienumus`
|
|
1770
|
-
})}
|
|
1771
|
-
,
|
|
1584
|
+
})}.`,
|
|
1772
1585
|
"dragStartedKeyboard": `Uzsākta vilkšana. Nospiediet taustiņu Tab, lai pārietu uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu, vai nospiediet Escape, lai atceltu.`,
|
|
1773
1586
|
"dragStartedTouch": `Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam veiciet dubultskārienu, lai nomestu.`,
|
|
1774
1587
|
"dragStartedVirtual": `Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu.`,
|
|
@@ -1778,16 +1591,13 @@ $5300be8ef98d39fa$exports = {
|
|
|
1778
1591
|
"dropDescriptionTouch": `Veiciet dubultskārienu, lai nomestu.`,
|
|
1779
1592
|
"dropDescriptionVirtual": `Noklikšķiniet, lai nomestu.`,
|
|
1780
1593
|
"dropIndicator": `nomešanas indikators`,
|
|
1781
|
-
"dropOnItem": (args)=>`Nometiet uz ${args.itemText}
|
|
1782
|
-
,
|
|
1594
|
+
"dropOnItem": (args)=>`Nometiet uz ${args.itemText}`,
|
|
1783
1595
|
"dropOnRoot": `Nometiet uz`,
|
|
1784
1596
|
"endDragKeyboard": `Notiek vilkšana. Nospiediet Enter, lai atceltu vilkšanu.`,
|
|
1785
1597
|
"endDragTouch": `Notiek vilkšana. Veiciet dubultskārienu, lai atceltu vilkšanu.`,
|
|
1786
1598
|
"endDragVirtual": `Notiek vilkšana. Noklikšķiniet, lai atceltu vilkšanu.`,
|
|
1787
|
-
"insertAfter": (args)=>`Ievietojiet pēc ${args.itemText}
|
|
1788
|
-
|
|
1789
|
-
"insertBefore": (args)=>`Ievietojiet pirms ${args.itemText}`
|
|
1790
|
-
,
|
|
1599
|
+
"insertAfter": (args)=>`Ievietojiet pēc ${args.itemText}`,
|
|
1600
|
+
"insertBefore": (args)=>`Ievietojiet pirms ${args.itemText}`,
|
|
1791
1601
|
"insertBetween": (args)=>`Ievietojiet starp ${args.beforeItemText} un ${args.afterItemText}`
|
|
1792
1602
|
};
|
|
1793
1603
|
|
|
@@ -1799,32 +1609,23 @@ $7484477aad199932$exports = {
|
|
|
1799
1609
|
"dragDescriptionLongPress": `Trykk lenge for å begynne å dra.`,
|
|
1800
1610
|
"dragDescriptionTouch": `Dobbelttrykk for å begynne å dra.`,
|
|
1801
1611
|
"dragDescriptionVirtual": `Klikk for å begynne å dra.`,
|
|
1802
|
-
"dragItem": (args)=>`Dra ${args.itemText}
|
|
1803
|
-
,
|
|
1612
|
+
"dragItem": (args)=>`Dra ${args.itemText}`,
|
|
1804
1613
|
"dragSelectedItems": (args, formatter)=>`Dra ${formatter.plural(args.count, {
|
|
1805
|
-
one: ()=>`${formatter.number(args.count)} merket element
|
|
1806
|
-
,
|
|
1614
|
+
one: ()=>`${formatter.number(args.count)} merket element`,
|
|
1807
1615
|
other: ()=>`${formatter.number(args.count)} merkede elementer`
|
|
1808
|
-
})}
|
|
1809
|
-
,
|
|
1616
|
+
})}`,
|
|
1810
1617
|
"dragSelectedKeyboard": (args, formatter)=>`Trykk Enter for å dra ${formatter.plural(args.count, {
|
|
1811
|
-
one: ()=>`${formatter.number(args.count)} valgt element
|
|
1812
|
-
,
|
|
1618
|
+
one: ()=>`${formatter.number(args.count)} valgt element`,
|
|
1813
1619
|
other: ()=>`${formatter.number(args.count)} valgte elementer`
|
|
1814
|
-
})}
|
|
1815
|
-
,
|
|
1620
|
+
})}.`,
|
|
1816
1621
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Trykk på Alt + Enter for å dra ${formatter.plural(args.count, {
|
|
1817
|
-
one: ()=>`${formatter.number(args.count)} valgt element
|
|
1818
|
-
,
|
|
1622
|
+
one: ()=>`${formatter.number(args.count)} valgt element`,
|
|
1819
1623
|
other: ()=>`${formatter.number(args.count)} valgte elementer`
|
|
1820
|
-
})}
|
|
1821
|
-
,
|
|
1624
|
+
})}.`,
|
|
1822
1625
|
"dragSelectedLongPress": (args, formatter)=>`Trykk lenge for å dra ${formatter.plural(args.count, {
|
|
1823
|
-
one: ()=>`${formatter.number(args.count)} valgt element
|
|
1824
|
-
,
|
|
1626
|
+
one: ()=>`${formatter.number(args.count)} valgt element`,
|
|
1825
1627
|
other: ()=>`${formatter.number(args.count)} valgte elementer`
|
|
1826
|
-
})}
|
|
1827
|
-
,
|
|
1628
|
+
})}.`,
|
|
1828
1629
|
"dragStartedKeyboard": `Begynte å dra. Trykk på Tab for å navigere til et mål, og trykk deretter på Enter for å slippe eller på Esc for å avbryte.`,
|
|
1829
1630
|
"dragStartedTouch": `Begynte å dra. Naviger til et mål, og dobbelttrykk for å slippe.`,
|
|
1830
1631
|
"dragStartedVirtual": `Begynte å dra. Naviger til et mål, og klikk eller trykk på Enter for å slippe.`,
|
|
@@ -1834,16 +1635,13 @@ $7484477aad199932$exports = {
|
|
|
1834
1635
|
"dropDescriptionTouch": `Dobbelttrykk for å slippe.`,
|
|
1835
1636
|
"dropDescriptionVirtual": `Klikk for å slippe.`,
|
|
1836
1637
|
"dropIndicator": `slippeindikator`,
|
|
1837
|
-
"dropOnItem": (args)=>`Slipp på ${args.itemText}
|
|
1838
|
-
,
|
|
1638
|
+
"dropOnItem": (args)=>`Slipp på ${args.itemText}`,
|
|
1839
1639
|
"dropOnRoot": `Slipp på`,
|
|
1840
1640
|
"endDragKeyboard": `Drar. Trykk på Enter hvis du vil avbryte.`,
|
|
1841
1641
|
"endDragTouch": `Drar. Dobbelttrykk hvis du vil avbryte.`,
|
|
1842
1642
|
"endDragVirtual": `Drar. Klikk hvis du vil avbryte.`,
|
|
1843
|
-
"insertAfter": (args)=>`Sett inn etter ${args.itemText}
|
|
1844
|
-
|
|
1845
|
-
"insertBefore": (args)=>`Sett inn før ${args.itemText}`
|
|
1846
|
-
,
|
|
1643
|
+
"insertAfter": (args)=>`Sett inn etter ${args.itemText}`,
|
|
1644
|
+
"insertBefore": (args)=>`Sett inn før ${args.itemText}`,
|
|
1847
1645
|
"insertBetween": (args)=>`Sett inn mellom ${args.beforeItemText} og ${args.afterItemText}`
|
|
1848
1646
|
};
|
|
1849
1647
|
|
|
@@ -1855,32 +1653,23 @@ $968e09cb41d6cd76$exports = {
|
|
|
1855
1653
|
"dragDescriptionLongPress": `Houd lang ingedrukt om te slepen.`,
|
|
1856
1654
|
"dragDescriptionTouch": `Dubbeltik om te slepen.`,
|
|
1857
1655
|
"dragDescriptionVirtual": `Klik om met slepen te starten.`,
|
|
1858
|
-
"dragItem": (args)=>`${args.itemText} slepen
|
|
1859
|
-
,
|
|
1656
|
+
"dragItem": (args)=>`${args.itemText} slepen`,
|
|
1860
1657
|
"dragSelectedItems": (args, formatter)=>`${formatter.plural(args.count, {
|
|
1861
|
-
one: ()=>`${formatter.number(args.count)} geselecteerd item
|
|
1862
|
-
,
|
|
1658
|
+
one: ()=>`${formatter.number(args.count)} geselecteerd item`,
|
|
1863
1659
|
other: ()=>`${formatter.number(args.count)} geselecteerde items`
|
|
1864
|
-
})} slepen
|
|
1865
|
-
,
|
|
1660
|
+
})} slepen`,
|
|
1866
1661
|
"dragSelectedKeyboard": (args, formatter)=>`Druk op Enter om ${formatter.plural(args.count, {
|
|
1867
|
-
one: ()=>`${formatter.number(args.count)} geselecteerd item
|
|
1868
|
-
,
|
|
1662
|
+
one: ()=>`${formatter.number(args.count)} geselecteerd item`,
|
|
1869
1663
|
other: ()=>`${formatter.number(args.count)} geselecteerde items`
|
|
1870
|
-
})} te slepen
|
|
1871
|
-
,
|
|
1664
|
+
})} te slepen.`,
|
|
1872
1665
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Druk op Alt + Enter om ${formatter.plural(args.count, {
|
|
1873
|
-
one: ()=>`${formatter.number(args.count)} geselecteerd item
|
|
1874
|
-
,
|
|
1666
|
+
one: ()=>`${formatter.number(args.count)} geselecteerd item`,
|
|
1875
1667
|
other: ()=>`${formatter.number(args.count)} geselecteerde items`
|
|
1876
|
-
})} te slepen
|
|
1877
|
-
,
|
|
1668
|
+
})} te slepen.`,
|
|
1878
1669
|
"dragSelectedLongPress": (args, formatter)=>`Houd lang ingedrukt om ${formatter.plural(args.count, {
|
|
1879
|
-
one: ()=>`${formatter.number(args.count)} geselecteerd item
|
|
1880
|
-
,
|
|
1670
|
+
one: ()=>`${formatter.number(args.count)} geselecteerd item`,
|
|
1881
1671
|
other: ()=>`${formatter.number(args.count)} geselecteerde items`
|
|
1882
|
-
})} te slepen
|
|
1883
|
-
,
|
|
1672
|
+
})} te slepen.`,
|
|
1884
1673
|
"dragStartedKeyboard": `Begonnen met slepen. Druk op Tab om naar een locatie te gaan. Druk dan op Enter om neer te zetten, of op Esc om te annuleren.`,
|
|
1885
1674
|
"dragStartedTouch": `Begonnen met slepen. Ga naar de gewenste locatie en dubbeltik om neer te zetten.`,
|
|
1886
1675
|
"dragStartedVirtual": `Begonnen met slepen. Ga naar de gewenste locatie en klik of druk op Enter om neer te zetten.`,
|
|
@@ -1890,16 +1679,13 @@ $968e09cb41d6cd76$exports = {
|
|
|
1890
1679
|
"dropDescriptionTouch": `Dubbeltik om neer te zetten.`,
|
|
1891
1680
|
"dropDescriptionVirtual": `Klik om neer te zetten.`,
|
|
1892
1681
|
"dropIndicator": `aanwijzer voor neerzetten`,
|
|
1893
|
-
"dropOnItem": (args)=>`Neerzetten op ${args.itemText}
|
|
1894
|
-
,
|
|
1682
|
+
"dropOnItem": (args)=>`Neerzetten op ${args.itemText}`,
|
|
1895
1683
|
"dropOnRoot": `Neerzetten op`,
|
|
1896
1684
|
"endDragKeyboard": `Bezig met slepen. Druk op Enter om te annuleren.`,
|
|
1897
1685
|
"endDragTouch": `Bezig met slepen. Dubbeltik om te annuleren.`,
|
|
1898
1686
|
"endDragVirtual": `Bezig met slepen. Klik om te annuleren.`,
|
|
1899
|
-
"insertAfter": (args)=>`Plaatsen na ${args.itemText}
|
|
1900
|
-
|
|
1901
|
-
"insertBefore": (args)=>`Plaatsen vóór ${args.itemText}`
|
|
1902
|
-
,
|
|
1687
|
+
"insertAfter": (args)=>`Plaatsen na ${args.itemText}`,
|
|
1688
|
+
"insertBefore": (args)=>`Plaatsen vóór ${args.itemText}`,
|
|
1903
1689
|
"insertBetween": (args)=>`Plaatsen tussen ${args.beforeItemText} en ${args.afterItemText}`
|
|
1904
1690
|
};
|
|
1905
1691
|
|
|
@@ -1911,32 +1697,23 @@ $0c2c6c954dd638d7$exports = {
|
|
|
1911
1697
|
"dragDescriptionLongPress": `Naciśnij i przytrzymaj, aby rozpocząć przeciąganie.`,
|
|
1912
1698
|
"dragDescriptionTouch": `Dotknij dwukrotnie, aby rozpocząć przeciąganie.`,
|
|
1913
1699
|
"dragDescriptionVirtual": `Kliknij, aby rozpocząć przeciąganie.`,
|
|
1914
|
-
"dragItem": (args)=>`Przeciągnij ${args.itemText}
|
|
1915
|
-
,
|
|
1700
|
+
"dragItem": (args)=>`Przeciągnij ${args.itemText}`,
|
|
1916
1701
|
"dragSelectedItems": (args, formatter)=>`Przeciągnij ${formatter.plural(args.count, {
|
|
1917
|
-
one: ()=>`${formatter.number(args.count)} wybrany element
|
|
1918
|
-
,
|
|
1702
|
+
one: ()=>`${formatter.number(args.count)} wybrany element`,
|
|
1919
1703
|
other: ()=>`${formatter.number(args.count)} wybranych elementów`
|
|
1920
|
-
})}
|
|
1921
|
-
,
|
|
1704
|
+
})}`,
|
|
1922
1705
|
"dragSelectedKeyboard": (args, formatter)=>`Naciśnij Enter, aby przeciągnąć ${formatter.plural(args.count, {
|
|
1923
|
-
one: ()=>`${formatter.number(args.count)} wybrany element
|
|
1924
|
-
,
|
|
1706
|
+
one: ()=>`${formatter.number(args.count)} wybrany element`,
|
|
1925
1707
|
other: ()=>`${formatter.number(args.count)} wybrane(-ych) elementy(-ów)`
|
|
1926
|
-
})}
|
|
1927
|
-
,
|
|
1708
|
+
})}.`,
|
|
1928
1709
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Naciśnij Alt + Enter, aby przeciągnąć ${formatter.plural(args.count, {
|
|
1929
|
-
one: ()=>`${formatter.number(args.count)} wybrany element
|
|
1930
|
-
,
|
|
1710
|
+
one: ()=>`${formatter.number(args.count)} wybrany element`,
|
|
1931
1711
|
other: ()=>`${formatter.number(args.count)} wybrane(-ych) elementy(-ów)`
|
|
1932
|
-
})}
|
|
1933
|
-
,
|
|
1712
|
+
})}.`,
|
|
1934
1713
|
"dragSelectedLongPress": (args, formatter)=>`Naciśnij i przytrzymaj, aby przeciągnąć ${formatter.plural(args.count, {
|
|
1935
|
-
one: ()=>`${formatter.number(args.count)} wybrany element
|
|
1936
|
-
,
|
|
1714
|
+
one: ()=>`${formatter.number(args.count)} wybrany element`,
|
|
1937
1715
|
other: ()=>`${formatter.number(args.count)} wybrane(-ych) elementy(-ów)`
|
|
1938
|
-
})}
|
|
1939
|
-
,
|
|
1716
|
+
})}.`,
|
|
1940
1717
|
"dragStartedKeyboard": `Rozpoczęto przeciąganie. Naciśnij Tab, aby wybrać miejsce docelowe, a następnie naciśnij Enter, aby upuścić, lub Escape, aby anulować.`,
|
|
1941
1718
|
"dragStartedTouch": `Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie dotknij dwukrotnie, aby upuścić.F`,
|
|
1942
1719
|
"dragStartedVirtual": `Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie kliknij lub naciśnij Enter, aby upuścić.`,
|
|
@@ -1946,16 +1723,13 @@ $0c2c6c954dd638d7$exports = {
|
|
|
1946
1723
|
"dropDescriptionTouch": `Dotknij dwukrotnie, aby upuścić.`,
|
|
1947
1724
|
"dropDescriptionVirtual": `Kliknij, aby upuścić.`,
|
|
1948
1725
|
"dropIndicator": `wskaźnik upuszczenia`,
|
|
1949
|
-
"dropOnItem": (args)=>`Upuść na ${args.itemText}
|
|
1950
|
-
,
|
|
1726
|
+
"dropOnItem": (args)=>`Upuść na ${args.itemText}`,
|
|
1951
1727
|
"dropOnRoot": `Upuść`,
|
|
1952
1728
|
"endDragKeyboard": `Przeciąganie. Naciśnij Enter, aby anulować przeciągnięcie.`,
|
|
1953
1729
|
"endDragTouch": `Przeciąganie. Kliknij dwukrotnie, aby anulować przeciągnięcie.`,
|
|
1954
1730
|
"endDragVirtual": `Przeciąganie. Kliknij, aby anulować przeciąganie.`,
|
|
1955
|
-
"insertAfter": (args)=>`Umieść za ${args.itemText}
|
|
1956
|
-
|
|
1957
|
-
"insertBefore": (args)=>`Umieść przed ${args.itemText}`
|
|
1958
|
-
,
|
|
1731
|
+
"insertAfter": (args)=>`Umieść za ${args.itemText}`,
|
|
1732
|
+
"insertBefore": (args)=>`Umieść przed ${args.itemText}`,
|
|
1959
1733
|
"insertBetween": (args)=>`Umieść między ${args.beforeItemText} i ${args.afterItemText}`
|
|
1960
1734
|
};
|
|
1961
1735
|
|
|
@@ -1967,32 +1741,23 @@ $db510f249c1f2e00$exports = {
|
|
|
1967
1741
|
"dragDescriptionLongPress": `Pressione e segure para começar a arrastar.`,
|
|
1968
1742
|
"dragDescriptionTouch": `Toque duas vezes para começar a arrastar.`,
|
|
1969
1743
|
"dragDescriptionVirtual": `Clique para começar a arrastar.`,
|
|
1970
|
-
"dragItem": (args)=>`Arrastar ${args.itemText}
|
|
1971
|
-
,
|
|
1744
|
+
"dragItem": (args)=>`Arrastar ${args.itemText}`,
|
|
1972
1745
|
"dragSelectedItems": (args, formatter)=>`Arrastar ${formatter.plural(args.count, {
|
|
1973
|
-
one: ()=>`${formatter.number(args.count)} item selecionado
|
|
1974
|
-
,
|
|
1746
|
+
one: ()=>`${formatter.number(args.count)} item selecionado`,
|
|
1975
1747
|
other: ()=>`${formatter.number(args.count)} itens selecionados`
|
|
1976
|
-
})}
|
|
1977
|
-
,
|
|
1748
|
+
})}`,
|
|
1978
1749
|
"dragSelectedKeyboard": (args, formatter)=>`Pressione Enter para arrastar ${formatter.plural(args.count, {
|
|
1979
|
-
one: ()=>`${formatter.number(args.count)} o item selecionado
|
|
1980
|
-
,
|
|
1750
|
+
one: ()=>`${formatter.number(args.count)} o item selecionado`,
|
|
1981
1751
|
other: ()=>`${formatter.number(args.count)} os itens selecionados`
|
|
1982
|
-
})}
|
|
1983
|
-
,
|
|
1752
|
+
})}.`,
|
|
1984
1753
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Pressione Alt + Enter para arrastar ${formatter.plural(args.count, {
|
|
1985
|
-
one: ()=>`${formatter.number(args.count)} o item selecionado
|
|
1986
|
-
,
|
|
1754
|
+
one: ()=>`${formatter.number(args.count)} o item selecionado`,
|
|
1987
1755
|
other: ()=>`${formatter.number(args.count)} os itens selecionados`
|
|
1988
|
-
})}
|
|
1989
|
-
,
|
|
1756
|
+
})}.`,
|
|
1990
1757
|
"dragSelectedLongPress": (args, formatter)=>`Pressione e segure para arrastar ${formatter.plural(args.count, {
|
|
1991
|
-
one: ()=>`${formatter.number(args.count)} o item selecionado
|
|
1992
|
-
,
|
|
1758
|
+
one: ()=>`${formatter.number(args.count)} o item selecionado`,
|
|
1993
1759
|
other: ()=>`${formatter.number(args.count)} os itens selecionados`
|
|
1994
|
-
})}
|
|
1995
|
-
,
|
|
1760
|
+
})}.`,
|
|
1996
1761
|
"dragStartedKeyboard": `Comece a arrastar. Pressione Tab para navegar até um alvo e, em seguida, pressione Enter para soltar ou pressione Escape para cancelar.`,
|
|
1997
1762
|
"dragStartedTouch": `Comece a arrastar. Navegue até um alvo e toque duas vezes para soltar.`,
|
|
1998
1763
|
"dragStartedVirtual": `Comece a arrastar. Navegue até um alvo e clique ou pressione Enter para soltar.`,
|
|
@@ -2002,16 +1767,13 @@ $db510f249c1f2e00$exports = {
|
|
|
2002
1767
|
"dropDescriptionTouch": `Toque duas vezes para soltar.`,
|
|
2003
1768
|
"dropDescriptionVirtual": `Clique para soltar.`,
|
|
2004
1769
|
"dropIndicator": `indicador de liberação`,
|
|
2005
|
-
"dropOnItem": (args)=>`Soltar em ${args.itemText}
|
|
2006
|
-
,
|
|
1770
|
+
"dropOnItem": (args)=>`Soltar em ${args.itemText}`,
|
|
2007
1771
|
"dropOnRoot": `Soltar`,
|
|
2008
1772
|
"endDragKeyboard": `Arrastando. Pressione Enter para cancelar.`,
|
|
2009
1773
|
"endDragTouch": `Arrastando. Toque duas vezes para cancelar.`,
|
|
2010
1774
|
"endDragVirtual": `Arrastando. Clique para cancelar.`,
|
|
2011
|
-
"insertAfter": (args)=>`Inserir após ${args.itemText}
|
|
2012
|
-
|
|
2013
|
-
"insertBefore": (args)=>`Inserir antes de ${args.itemText}`
|
|
2014
|
-
,
|
|
1775
|
+
"insertAfter": (args)=>`Inserir após ${args.itemText}`,
|
|
1776
|
+
"insertBefore": (args)=>`Inserir antes de ${args.itemText}`,
|
|
2015
1777
|
"insertBetween": (args)=>`Inserir entre ${args.beforeItemText} e ${args.afterItemText}`
|
|
2016
1778
|
};
|
|
2017
1779
|
|
|
@@ -2023,32 +1785,23 @@ $d734686296d37387$exports = {
|
|
|
2023
1785
|
"dragDescriptionLongPress": `Prima longamente para começar a arrastar.`,
|
|
2024
1786
|
"dragDescriptionTouch": `Faça duplo toque para começar a arrastar.`,
|
|
2025
1787
|
"dragDescriptionVirtual": `Clique para iniciar o arrasto.`,
|
|
2026
|
-
"dragItem": (args)=>`Arrastar ${args.itemText}
|
|
2027
|
-
,
|
|
1788
|
+
"dragItem": (args)=>`Arrastar ${args.itemText}`,
|
|
2028
1789
|
"dragSelectedItems": (args, formatter)=>`Arrastar ${formatter.plural(args.count, {
|
|
2029
|
-
one: ()=>`${formatter.number(args.count)} item selecionado
|
|
2030
|
-
,
|
|
1790
|
+
one: ()=>`${formatter.number(args.count)} item selecionado`,
|
|
2031
1791
|
other: ()=>`${formatter.number(args.count)} itens selecionados`
|
|
2032
|
-
})}
|
|
2033
|
-
,
|
|
1792
|
+
})}`,
|
|
2034
1793
|
"dragSelectedKeyboard": (args, formatter)=>`Prima Enter para arrastar ${formatter.plural(args.count, {
|
|
2035
|
-
one: ()=>`${formatter.number(args.count)} o item selecionado
|
|
2036
|
-
,
|
|
1794
|
+
one: ()=>`${formatter.number(args.count)} o item selecionado`,
|
|
2037
1795
|
other: ()=>`${formatter.number(args.count)} os itens selecionados`
|
|
2038
|
-
})}
|
|
2039
|
-
,
|
|
1796
|
+
})}.`,
|
|
2040
1797
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Prima Alt + Enter para arrastar ${formatter.plural(args.count, {
|
|
2041
|
-
one: ()=>`${formatter.number(args.count)} o item selecionado
|
|
2042
|
-
,
|
|
1798
|
+
one: ()=>`${formatter.number(args.count)} o item selecionado`,
|
|
2043
1799
|
other: ()=>`${formatter.number(args.count)} os itens selecionados`
|
|
2044
|
-
})}
|
|
2045
|
-
,
|
|
1800
|
+
})}.`,
|
|
2046
1801
|
"dragSelectedLongPress": (args, formatter)=>`Prima longamente para arrastar ${formatter.plural(args.count, {
|
|
2047
|
-
one: ()=>`${formatter.number(args.count)} o item selecionado
|
|
2048
|
-
,
|
|
1802
|
+
one: ()=>`${formatter.number(args.count)} o item selecionado`,
|
|
2049
1803
|
other: ()=>`${formatter.number(args.count)} os itens selecionados`
|
|
2050
|
-
})}
|
|
2051
|
-
,
|
|
1804
|
+
})}.`,
|
|
2052
1805
|
"dragStartedKeyboard": `Arrasto iniciado. Prima a tecla de tabulação para navegar para um destino para largar, e em seguida prima Enter para largar ou prima Escape para cancelar.`,
|
|
2053
1806
|
"dragStartedTouch": `Arrasto iniciado. Navegue para um destino para largar, e em seguida faça duplo toque para largar.`,
|
|
2054
1807
|
"dragStartedVirtual": `Arrasto iniciado. Navegue para um destino para largar, e em seguida clique ou prima Enter para largar.`,
|
|
@@ -2058,16 +1811,13 @@ $d734686296d37387$exports = {
|
|
|
2058
1811
|
"dropDescriptionTouch": `Faça duplo toque para largar.`,
|
|
2059
1812
|
"dropDescriptionVirtual": `Clique para largar.`,
|
|
2060
1813
|
"dropIndicator": `Indicador de largar`,
|
|
2061
|
-
"dropOnItem": (args)=>`Largar em ${args.itemText}
|
|
2062
|
-
,
|
|
1814
|
+
"dropOnItem": (args)=>`Largar em ${args.itemText}`,
|
|
2063
1815
|
"dropOnRoot": `Largar em`,
|
|
2064
1816
|
"endDragKeyboard": `A arrastar. Prima Enter para cancelar o arrasto.`,
|
|
2065
1817
|
"endDragTouch": `A arrastar. Faça duplo toque para cancelar o arrasto.`,
|
|
2066
1818
|
"endDragVirtual": `A arrastar. Clique para cancelar o arrasto.`,
|
|
2067
|
-
"insertAfter": (args)=>`Inserir depois de ${args.itemText}
|
|
2068
|
-
|
|
2069
|
-
"insertBefore": (args)=>`Inserir antes de ${args.itemText}`
|
|
2070
|
-
,
|
|
1819
|
+
"insertAfter": (args)=>`Inserir depois de ${args.itemText}`,
|
|
1820
|
+
"insertBefore": (args)=>`Inserir antes de ${args.itemText}`,
|
|
2071
1821
|
"insertBetween": (args)=>`Inserir entre ${args.beforeItemText} e ${args.afterItemText}`
|
|
2072
1822
|
};
|
|
2073
1823
|
|
|
@@ -2079,32 +1829,23 @@ $d239d4998a584a23$exports = {
|
|
|
2079
1829
|
"dragDescriptionLongPress": `Apăsați lung pentru a începe glisarea.`,
|
|
2080
1830
|
"dragDescriptionTouch": `Atingeți de două ori pentru a începe să glisați.`,
|
|
2081
1831
|
"dragDescriptionVirtual": `Faceți clic pentru a începe glisarea.`,
|
|
2082
|
-
"dragItem": (args)=>`Glisați ${args.itemText}
|
|
2083
|
-
,
|
|
1832
|
+
"dragItem": (args)=>`Glisați ${args.itemText}`,
|
|
2084
1833
|
"dragSelectedItems": (args, formatter)=>`Glisați ${formatter.plural(args.count, {
|
|
2085
|
-
one: ()=>`${formatter.number(args.count)} element selectat
|
|
2086
|
-
,
|
|
1834
|
+
one: ()=>`${formatter.number(args.count)} element selectat`,
|
|
2087
1835
|
other: ()=>`${formatter.number(args.count)} elemente selectate`
|
|
2088
|
-
})}
|
|
2089
|
-
,
|
|
1836
|
+
})}`,
|
|
2090
1837
|
"dragSelectedKeyboard": (args, formatter)=>`Apăsați pe Enter pentru a glisa ${formatter.plural(args.count, {
|
|
2091
|
-
one: ()=>`${formatter.number(args.count)} element selectat
|
|
2092
|
-
,
|
|
1838
|
+
one: ()=>`${formatter.number(args.count)} element selectat`,
|
|
2093
1839
|
other: ()=>`${formatter.number(args.count)} elemente selectate`
|
|
2094
|
-
})}
|
|
2095
|
-
,
|
|
1840
|
+
})}.`,
|
|
2096
1841
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Apăsați pe Alt + Enter pentru a glisa ${formatter.plural(args.count, {
|
|
2097
|
-
one: ()=>`${formatter.number(args.count)} element selectat
|
|
2098
|
-
,
|
|
1842
|
+
one: ()=>`${formatter.number(args.count)} element selectat`,
|
|
2099
1843
|
other: ()=>`${formatter.number(args.count)} elemente selectate`
|
|
2100
|
-
})}
|
|
2101
|
-
,
|
|
1844
|
+
})}.`,
|
|
2102
1845
|
"dragSelectedLongPress": (args, formatter)=>`Apăsați lung pentru a glisa ${formatter.plural(args.count, {
|
|
2103
|
-
one: ()=>`${formatter.number(args.count)} element selectat
|
|
2104
|
-
,
|
|
1846
|
+
one: ()=>`${formatter.number(args.count)} element selectat`,
|
|
2105
1847
|
other: ()=>`${formatter.number(args.count)} elemente selectate`
|
|
2106
|
-
})}
|
|
2107
|
-
,
|
|
1848
|
+
})}.`,
|
|
2108
1849
|
"dragStartedKeyboard": `A început glisarea. Apăsați pe Tab pentru a naviga la o țintă de fixare, apoi apăsați pe Enter pentru a fixa sau apăsați pe Escape pentru a anula glisarea.`,
|
|
2109
1850
|
"dragStartedTouch": `A început glisarea. Navigați la o țintă de fixare, apoi atingeți de două ori pentru a fixa.`,
|
|
2110
1851
|
"dragStartedVirtual": `A început glisarea. Navigați la o țintă de fixare, apoi faceți clic sau apăsați pe Enter pentru a fixa.`,
|
|
@@ -2114,16 +1855,13 @@ $d239d4998a584a23$exports = {
|
|
|
2114
1855
|
"dropDescriptionTouch": `Atingeți de două ori pentru a fixa.`,
|
|
2115
1856
|
"dropDescriptionVirtual": `Faceți clic pentru a fixa.`,
|
|
2116
1857
|
"dropIndicator": `indicator de fixare`,
|
|
2117
|
-
"dropOnItem": (args)=>`Fixați pe ${args.itemText}
|
|
2118
|
-
,
|
|
1858
|
+
"dropOnItem": (args)=>`Fixați pe ${args.itemText}`,
|
|
2119
1859
|
"dropOnRoot": `Fixare pe`,
|
|
2120
1860
|
"endDragKeyboard": `Se glisează. Apăsați pe Enter pentru a anula glisarea.`,
|
|
2121
1861
|
"endDragTouch": `Se glisează. Atingeți de două ori pentru a anula glisarea.`,
|
|
2122
1862
|
"endDragVirtual": `Se glisează. Faceți clic pentru a anula glisarea.`,
|
|
2123
|
-
"insertAfter": (args)=>`Inserați după ${args.itemText}
|
|
2124
|
-
|
|
2125
|
-
"insertBefore": (args)=>`Inserați înainte de ${args.itemText}`
|
|
2126
|
-
,
|
|
1863
|
+
"insertAfter": (args)=>`Inserați după ${args.itemText}`,
|
|
1864
|
+
"insertBefore": (args)=>`Inserați înainte de ${args.itemText}`,
|
|
2127
1865
|
"insertBetween": (args)=>`Inserați între ${args.beforeItemText} și ${args.afterItemText}`
|
|
2128
1866
|
};
|
|
2129
1867
|
|
|
@@ -2135,32 +1873,23 @@ $a06126b47eabe64f$exports = {
|
|
|
2135
1873
|
"dragDescriptionLongPress": `Нажмите и удерживайте, чтобы начать перетаскивать.`,
|
|
2136
1874
|
"dragDescriptionTouch": `Дважды нажмите для начала перетаскивания.`,
|
|
2137
1875
|
"dragDescriptionVirtual": `Щелкните для начала перетаскивания.`,
|
|
2138
|
-
"dragItem": (args)=>`Перетащить ${args.itemText}
|
|
2139
|
-
,
|
|
1876
|
+
"dragItem": (args)=>`Перетащить ${args.itemText}`,
|
|
2140
1877
|
"dragSelectedItems": (args, formatter)=>`Перетащить ${formatter.plural(args.count, {
|
|
2141
|
-
one: ()=>`${formatter.number(args.count)} выбранный
|
|
2142
|
-
,
|
|
1878
|
+
one: ()=>`${formatter.number(args.count)} выбранный элемент`,
|
|
2143
1879
|
other: ()=>`${formatter.number(args.count)} выбранных элем`
|
|
2144
|
-
})}
|
|
2145
|
-
,
|
|
1880
|
+
})}`,
|
|
2146
1881
|
"dragSelectedKeyboard": (args, formatter)=>`Нажмите Enter для перетаскивания ${formatter.plural(args.count, {
|
|
2147
|
-
one: ()=>`${formatter.number(args.count)} выбранного
|
|
2148
|
-
,
|
|
1882
|
+
one: ()=>`${formatter.number(args.count)} выбранного элемента`,
|
|
2149
1883
|
other: ()=>`${formatter.number(args.count)} выбранных элементов`
|
|
2150
|
-
})}
|
|
2151
|
-
,
|
|
1884
|
+
})}.`,
|
|
2152
1885
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Нажмите Alt + Enter для перетаскивания ${formatter.plural(args.count, {
|
|
2153
|
-
one: ()=>`${formatter.number(args.count)} выбранного
|
|
2154
|
-
,
|
|
1886
|
+
one: ()=>`${formatter.number(args.count)} выбранного элемента`,
|
|
2155
1887
|
other: ()=>`${formatter.number(args.count)} выбранных элементов`
|
|
2156
|
-
})}
|
|
2157
|
-
,
|
|
1888
|
+
})}.`,
|
|
2158
1889
|
"dragSelectedLongPress": (args, formatter)=>`Нажмите и удерживайте для перетаскивания ${formatter.plural(args.count, {
|
|
2159
|
-
one: ()=>`${formatter.number(args.count)} выбранного
|
|
2160
|
-
,
|
|
1890
|
+
one: ()=>`${formatter.number(args.count)} выбранного элемента`,
|
|
2161
1891
|
other: ()=>`${formatter.number(args.count)} выбранных элементов`
|
|
2162
|
-
})}
|
|
2163
|
-
,
|
|
1892
|
+
})}.`,
|
|
2164
1893
|
"dragStartedKeyboard": `Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание, или клавишу Escape для отмены действия.`,
|
|
2165
1894
|
"dragStartedTouch": `Начато перетаскивание. Выберите цель, затем дважды нажмите, чтобы применить перетаскивание.`,
|
|
2166
1895
|
"dragStartedVirtual": `Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание.`,
|
|
@@ -2170,16 +1899,13 @@ $a06126b47eabe64f$exports = {
|
|
|
2170
1899
|
"dropDescriptionTouch": `Дважды нажмите, чтобы применить перетаскивание.`,
|
|
2171
1900
|
"dropDescriptionVirtual": `Щелкните, чтобы применить перетаскивание.`,
|
|
2172
1901
|
"dropIndicator": `индикатор перетаскивания`,
|
|
2173
|
-
"dropOnItem": (args)=>`Перетащить на ${args.itemText}
|
|
2174
|
-
,
|
|
1902
|
+
"dropOnItem": (args)=>`Перетащить на ${args.itemText}`,
|
|
2175
1903
|
"dropOnRoot": `Перетащить на`,
|
|
2176
1904
|
"endDragKeyboard": `Перетаскивание. Нажмите клавишу Enter для отмены.`,
|
|
2177
1905
|
"endDragTouch": `Перетаскивание. Дважды нажмите для отмены.`,
|
|
2178
1906
|
"endDragVirtual": `Перетаскивание. Щелкните для отмены.`,
|
|
2179
|
-
"insertAfter": (args)=>`Вставить после ${args.itemText}
|
|
2180
|
-
|
|
2181
|
-
"insertBefore": (args)=>`Вставить перед ${args.itemText}`
|
|
2182
|
-
,
|
|
1907
|
+
"insertAfter": (args)=>`Вставить после ${args.itemText}`,
|
|
1908
|
+
"insertBefore": (args)=>`Вставить перед ${args.itemText}`,
|
|
2183
1909
|
"insertBetween": (args)=>`Вставить между ${args.beforeItemText} и ${args.afterItemText}`
|
|
2184
1910
|
};
|
|
2185
1911
|
|
|
@@ -2191,32 +1917,23 @@ $0983413fc05d96fb$exports = {
|
|
|
2191
1917
|
"dragDescriptionLongPress": `Dlhým stlačením začnete presúvanie.`,
|
|
2192
1918
|
"dragDescriptionTouch": `Dvojitým kliknutím začnete presúvanie.`,
|
|
2193
1919
|
"dragDescriptionVirtual": `Kliknutím začnete presúvanie.`,
|
|
2194
|
-
"dragItem": (args)=>`Presunúť položku ${args.itemText}
|
|
2195
|
-
,
|
|
1920
|
+
"dragItem": (args)=>`Presunúť položku ${args.itemText}`,
|
|
2196
1921
|
"dragSelectedItems": (args, formatter)=>`Presunúť ${formatter.plural(args.count, {
|
|
2197
|
-
one: ()=>`${formatter.number(args.count)} vybratú položku
|
|
2198
|
-
,
|
|
1922
|
+
one: ()=>`${formatter.number(args.count)} vybratú položku`,
|
|
2199
1923
|
other: ()=>`${formatter.number(args.count)} vybraté položky`
|
|
2200
|
-
})}
|
|
2201
|
-
,
|
|
1924
|
+
})}`,
|
|
2202
1925
|
"dragSelectedKeyboard": (args, formatter)=>`Stlačením klávesu Enter presuniete ${formatter.plural(args.count, {
|
|
2203
|
-
one: ()=>`${formatter.number(args.count)} vybratú položku
|
|
2204
|
-
,
|
|
1926
|
+
one: ()=>`${formatter.number(args.count)} vybratú položku`,
|
|
2205
1927
|
other: ()=>`${formatter.number(args.count)} vybratých položiek`
|
|
2206
|
-
})}
|
|
2207
|
-
,
|
|
1928
|
+
})}.`,
|
|
2208
1929
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Stlačením klávesov Alt + Enter presuniete ${formatter.plural(args.count, {
|
|
2209
|
-
one: ()=>`${formatter.number(args.count)} vybratú položku
|
|
2210
|
-
,
|
|
1930
|
+
one: ()=>`${formatter.number(args.count)} vybratú položku`,
|
|
2211
1931
|
other: ()=>`${formatter.number(args.count)} vybratých položiek`
|
|
2212
|
-
})}
|
|
2213
|
-
,
|
|
1932
|
+
})}.`,
|
|
2214
1933
|
"dragSelectedLongPress": (args, formatter)=>`Dlhým stlačením presuniete ${formatter.plural(args.count, {
|
|
2215
|
-
one: ()=>`${formatter.number(args.count)} vybratú položku
|
|
2216
|
-
,
|
|
1934
|
+
one: ()=>`${formatter.number(args.count)} vybratú položku`,
|
|
2217
1935
|
other: ()=>`${formatter.number(args.count)} vybratých položiek`
|
|
2218
|
-
})}
|
|
2219
|
-
,
|
|
1936
|
+
})}.`,
|
|
2220
1937
|
"dragStartedKeyboard": `Presúvanie sa začalo. Do cieľového umiestnenia prejdete stlačením klávesu Tab. Ak chcete položku umiestniť, stlačte kláves Enter alebo stlačte kláves Esc, ak chcete presúvanie zrušiť.`,
|
|
2221
1938
|
"dragStartedTouch": `Presúvanie sa začalo. Prejdite na cieľové umiestnenie a dvojitým kliknutím umiestnite položku.`,
|
|
2222
1939
|
"dragStartedVirtual": `Presúvanie sa začalo. Prejdite na cieľové umiestnenie a kliknutím alebo stlačením klávesu Enter umiestnite položku.`,
|
|
@@ -2226,16 +1943,13 @@ $0983413fc05d96fb$exports = {
|
|
|
2226
1943
|
"dropDescriptionTouch": `Dvojitým kliknutím umiestnite položku.`,
|
|
2227
1944
|
"dropDescriptionVirtual": `Kliknutím umiestnite položku.`,
|
|
2228
1945
|
"dropIndicator": `indikátor umiestnenia`,
|
|
2229
|
-
"dropOnItem": (args)=>`Umiestniť na položku ${args.itemText}
|
|
2230
|
-
,
|
|
1946
|
+
"dropOnItem": (args)=>`Umiestniť na položku ${args.itemText}`,
|
|
2231
1947
|
"dropOnRoot": `Umiestniť na`,
|
|
2232
1948
|
"endDragKeyboard": `Prebieha presúvanie. Ak ho chcete zrušiť, stlačte kláves Enter.`,
|
|
2233
1949
|
"endDragTouch": `Prebieha presúvanie. Dvojitým kliknutím ho môžete zrušiť.`,
|
|
2234
1950
|
"endDragVirtual": `Prebieha presúvanie.`,
|
|
2235
|
-
"insertAfter": (args)=>`Vložiť za položku ${args.itemText}
|
|
2236
|
-
|
|
2237
|
-
"insertBefore": (args)=>`Vložiť pred položku ${args.itemText}`
|
|
2238
|
-
,
|
|
1951
|
+
"insertAfter": (args)=>`Vložiť za položku ${args.itemText}`,
|
|
1952
|
+
"insertBefore": (args)=>`Vložiť pred položku ${args.itemText}`,
|
|
2239
1953
|
"insertBetween": (args)=>`Vložiť medzi položky ${args.beforeItemText} a ${args.afterItemText}`
|
|
2240
1954
|
};
|
|
2241
1955
|
|
|
@@ -2247,32 +1961,23 @@ $c66896a0464692f1$exports = {
|
|
|
2247
1961
|
"dragDescriptionLongPress": `Pritisnite in zadržite za začetek vlečenja.`,
|
|
2248
1962
|
"dragDescriptionTouch": `Dvotapnite za začetek vlečenja.`,
|
|
2249
1963
|
"dragDescriptionVirtual": `Kliknite za začetek vlečenja.`,
|
|
2250
|
-
"dragItem": (args)=>`Povleci ${args.itemText}
|
|
2251
|
-
,
|
|
1964
|
+
"dragItem": (args)=>`Povleci ${args.itemText}`,
|
|
2252
1965
|
"dragSelectedItems": (args, formatter)=>`Povlecite ${formatter.plural(args.count, {
|
|
2253
|
-
one: ()=>`${formatter.number(args.count)} izbran element
|
|
2254
|
-
,
|
|
1966
|
+
one: ()=>`${formatter.number(args.count)} izbran element`,
|
|
2255
1967
|
other: ()=>`izbrane elemente (${formatter.number(args.count)})`
|
|
2256
|
-
})}
|
|
2257
|
-
,
|
|
1968
|
+
})}`,
|
|
2258
1969
|
"dragSelectedKeyboard": (args, formatter)=>`Pritisnite tipko Enter, da povlečete ${formatter.plural(args.count, {
|
|
2259
|
-
one: ()=>`${formatter.number(args.count)} izbrani element
|
|
2260
|
-
,
|
|
1970
|
+
one: ()=>`${formatter.number(args.count)} izbrani element`,
|
|
2261
1971
|
other: ()=>`${formatter.number(args.count)} izbranih elementov`
|
|
2262
|
-
})}
|
|
2263
|
-
,
|
|
1972
|
+
})}.`,
|
|
2264
1973
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Pritisnite tipki Alt + Enter, da povlečete ${formatter.plural(args.count, {
|
|
2265
|
-
one: ()=>`${formatter.number(args.count)} izbrani element
|
|
2266
|
-
,
|
|
1974
|
+
one: ()=>`${formatter.number(args.count)} izbrani element`,
|
|
2267
1975
|
other: ()=>`${formatter.number(args.count)} izbranih elementov`
|
|
2268
|
-
})}
|
|
2269
|
-
,
|
|
1976
|
+
})}.`,
|
|
2270
1977
|
"dragSelectedLongPress": (args, formatter)=>`Pritisnite in zadržite, da povlečete ${formatter.plural(args.count, {
|
|
2271
|
-
one: ()=>`${formatter.number(args.count)} izbrani element
|
|
2272
|
-
,
|
|
1978
|
+
one: ()=>`${formatter.number(args.count)} izbrani element`,
|
|
2273
1979
|
other: ()=>`${formatter.number(args.count)} izbranih elementov`
|
|
2274
|
-
})}
|
|
2275
|
-
,
|
|
1980
|
+
})}.`,
|
|
2276
1981
|
"dragStartedKeyboard": `Vlečenje se je začelo. Pritisnite tipko Tab za pomik na mesto, kamor želite spustiti elemente, in pritisnite tipko Enter, da jih spustite, ali tipko Escape, da prekličete postopek.`,
|
|
2277
1982
|
"dragStartedTouch": `Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in dvotapnite, da jih spustite.`,
|
|
2278
1983
|
"dragStartedVirtual": `Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in kliknite ali pritisnite tipko Enter, da jih spustite.`,
|
|
@@ -2282,30 +1987,24 @@ $c66896a0464692f1$exports = {
|
|
|
2282
1987
|
"dropDescriptionTouch": `Dvotapnite, da spustite.`,
|
|
2283
1988
|
"dropDescriptionVirtual": `Kliknite, da spustite.`,
|
|
2284
1989
|
"dropIndicator": `indikator spusta`,
|
|
2285
|
-
"dropOnItem": (args)=>`Spusti na mesto ${args.itemText}
|
|
2286
|
-
,
|
|
1990
|
+
"dropOnItem": (args)=>`Spusti na mesto ${args.itemText}`,
|
|
2287
1991
|
"dropOnRoot": `Spusti na mesto`,
|
|
2288
1992
|
"endDragKeyboard": `Vlečenje. Pritisnite tipko Enter za preklic vlečenja.`,
|
|
2289
1993
|
"endDragTouch": `Vlečenje. Dvotapnite za preklic vlečenja.`,
|
|
2290
1994
|
"endDragVirtual": `Vlečenje. Kliknite, da prekličete vlečenje.`,
|
|
2291
|
-
"insertAfter": (args)=>`Vstavi za ${args.itemText}
|
|
2292
|
-
|
|
2293
|
-
"insertBefore": (args)=>`Vstavi pred ${args.itemText}`
|
|
2294
|
-
,
|
|
1995
|
+
"insertAfter": (args)=>`Vstavi za ${args.itemText}`,
|
|
1996
|
+
"insertBefore": (args)=>`Vstavi pred ${args.itemText}`,
|
|
2295
1997
|
"insertBetween": (args)=>`Vstavi med ${args.beforeItemText} in ${args.afterItemText}`
|
|
2296
1998
|
};
|
|
2297
1999
|
|
|
2298
2000
|
|
|
2299
2001
|
var $f0d9abe43a1bcdf6$exports = {};
|
|
2300
2002
|
$f0d9abe43a1bcdf6$exports = {
|
|
2301
|
-
"dragItem": (args)=>`Prevucite ${args.itemText}
|
|
2302
|
-
,
|
|
2003
|
+
"dragItem": (args)=>`Prevucite ${args.itemText}`,
|
|
2303
2004
|
"dragSelectedItems": (args, formatter)=>`Prevucite ${formatter.plural(args.count, {
|
|
2304
|
-
one: ()=>`${formatter.number(args.count)} izabranu stavku
|
|
2305
|
-
,
|
|
2005
|
+
one: ()=>`${formatter.number(args.count)} izabranu stavku`,
|
|
2306
2006
|
other: ()=>`${formatter.number(args.count)} izabrane stavke`
|
|
2307
|
-
})}
|
|
2308
|
-
,
|
|
2007
|
+
})}`,
|
|
2309
2008
|
"dragDescriptionKeyboard": `Pritisnite Enter da biste započeli prevlačenje..`,
|
|
2310
2009
|
"dragDescriptionKeyboardAlt": `Pritisnite Alt + Enter da biste započeli prevlačenje.`,
|
|
2311
2010
|
"dragDescriptionLongPress": `Pritisnite dugo da biste započeli prevlačenje.`,
|
|
@@ -2318,23 +2017,17 @@ $f0d9abe43a1bcdf6$exports = {
|
|
|
2318
2017
|
"endDragTouch": `Prevlačenje u toku. Dvaput dodirnite da biste otkazali prevlačenje.`,
|
|
2319
2018
|
"endDragVirtual": `Prevlačenje u toku. Kliknite da biste otkazali prevlačenje.`,
|
|
2320
2019
|
"dragSelectedKeyboard": (args, formatter)=>`Pritisnite Enter da biste prevukli ${formatter.plural(args.count, {
|
|
2321
|
-
one: ()=>`${formatter.number(args.count)} izabranu stavku
|
|
2322
|
-
,
|
|
2020
|
+
one: ()=>`${formatter.number(args.count)} izabranu stavku`,
|
|
2323
2021
|
other: ()=>`${formatter.number(args.count)} izabranih stavki`
|
|
2324
|
-
})}
|
|
2325
|
-
,
|
|
2022
|
+
})}.`,
|
|
2326
2023
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Pritisnite Alt + Enter da biste prevukli ${formatter.plural(args.count, {
|
|
2327
|
-
one: ()=>`${formatter.number(args.count)} izabranu stavku
|
|
2328
|
-
,
|
|
2024
|
+
one: ()=>`${formatter.number(args.count)} izabranu stavku`,
|
|
2329
2025
|
other: ()=>`${formatter.number(args.count)} izabranih stavki`
|
|
2330
|
-
})}
|
|
2331
|
-
,
|
|
2026
|
+
})}.`,
|
|
2332
2027
|
"dragSelectedLongPress": (args, formatter)=>`Pritisnite dugo da biste prevukli ${formatter.plural(args.count, {
|
|
2333
|
-
one: ()=>`${formatter.number(args.count)} izabranu stavku
|
|
2334
|
-
,
|
|
2028
|
+
one: ()=>`${formatter.number(args.count)} izabranu stavku`,
|
|
2335
2029
|
other: ()=>`${formatter.number(args.count)} izabranih stavki`
|
|
2336
|
-
})}
|
|
2337
|
-
,
|
|
2030
|
+
})}.`,
|
|
2338
2031
|
"dropDescriptionKeyboard": `Pritisnite Enter da biste otpustili. Pritisnite Escape da biste otkazali prevlačenje.`,
|
|
2339
2032
|
"dropDescriptionTouch": `Dvaput dodirnite za otpuštanje.`,
|
|
2340
2033
|
"dropDescriptionVirtual": `Kliknite za otpuštanje.`,
|
|
@@ -2342,12 +2035,9 @@ $f0d9abe43a1bcdf6$exports = {
|
|
|
2342
2035
|
"dropComplete": `Prevlačenje je završeno.`,
|
|
2343
2036
|
"dropIndicator": `Indikator otpuštanja`,
|
|
2344
2037
|
"dropOnRoot": `Otpusti na`,
|
|
2345
|
-
"dropOnItem": (args)=>`Otpusti na ${args.itemText}
|
|
2346
|
-
|
|
2347
|
-
"
|
|
2348
|
-
,
|
|
2349
|
-
"insertBetween": (args)=>`Umetnite između ${args.beforeItemText} i ${args.afterItemText}`
|
|
2350
|
-
,
|
|
2038
|
+
"dropOnItem": (args)=>`Otpusti na ${args.itemText}`,
|
|
2039
|
+
"insertBefore": (args)=>`Umetnite ispred ${args.itemText}`,
|
|
2040
|
+
"insertBetween": (args)=>`Umetnite između ${args.beforeItemText} i ${args.afterItemText}`,
|
|
2351
2041
|
"insertAfter": (args)=>`Umetnite posle ${args.itemText}`
|
|
2352
2042
|
};
|
|
2353
2043
|
|
|
@@ -2359,32 +2049,23 @@ $f3e2ce4b6d6cc4ac$exports = {
|
|
|
2359
2049
|
"dragDescriptionLongPress": `Tryck länge för att börja dra.`,
|
|
2360
2050
|
"dragDescriptionTouch": `Dubbeltryck för att börja dra.`,
|
|
2361
2051
|
"dragDescriptionVirtual": `Klicka för att börja dra.`,
|
|
2362
|
-
"dragItem": (args)=>`Dra ${args.itemText}
|
|
2363
|
-
,
|
|
2052
|
+
"dragItem": (args)=>`Dra ${args.itemText}`,
|
|
2364
2053
|
"dragSelectedItems": (args, formatter)=>`Dra ${formatter.plural(args.count, {
|
|
2365
|
-
one: ()=>`${formatter.number(args.count)} valt objekt
|
|
2366
|
-
,
|
|
2054
|
+
one: ()=>`${formatter.number(args.count)} valt objekt`,
|
|
2367
2055
|
other: ()=>`${formatter.number(args.count)} valda objekt`
|
|
2368
|
-
})}
|
|
2369
|
-
,
|
|
2056
|
+
})}`,
|
|
2370
2057
|
"dragSelectedKeyboard": (args, formatter)=>`Tryck på Retur för att dra ${formatter.plural(args.count, {
|
|
2371
|
-
one: ()=>`${formatter.number(args.count)} markerat objekt
|
|
2372
|
-
,
|
|
2058
|
+
one: ()=>`${formatter.number(args.count)} markerat objekt`,
|
|
2373
2059
|
other: ()=>`${formatter.number(args.count)} markerade objekt`
|
|
2374
|
-
})}
|
|
2375
|
-
,
|
|
2060
|
+
})}.`,
|
|
2376
2061
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Tryck på Alt + Retur för att dra ${formatter.plural(args.count, {
|
|
2377
|
-
one: ()=>`${formatter.number(args.count)} markerat objekt
|
|
2378
|
-
,
|
|
2062
|
+
one: ()=>`${formatter.number(args.count)} markerat objekt`,
|
|
2379
2063
|
other: ()=>`${formatter.number(args.count)} markerade objekt`
|
|
2380
|
-
})}
|
|
2381
|
-
,
|
|
2064
|
+
})}.`,
|
|
2382
2065
|
"dragSelectedLongPress": (args, formatter)=>`Tryck länge för att dra ${formatter.plural(args.count, {
|
|
2383
|
-
one: ()=>`${formatter.number(args.count)} markerat objekt
|
|
2384
|
-
,
|
|
2066
|
+
one: ()=>`${formatter.number(args.count)} markerat objekt`,
|
|
2385
2067
|
other: ()=>`${formatter.number(args.count)} markerade objekt`
|
|
2386
|
-
})}
|
|
2387
|
-
,
|
|
2068
|
+
})}.`,
|
|
2388
2069
|
"dragStartedKeyboard": `Börja dra. Tryck på tabb för att navigera till målet, tryck på enter för att släppa eller på escape för att avbryta.`,
|
|
2389
2070
|
"dragStartedTouch": `Börja dra. Navigera till ett mål och dubbeltryck för att släppa.`,
|
|
2390
2071
|
"dragStartedVirtual": `Börja dra. Navigera till ett mål och klicka eller tryck på enter för att släppa.`,
|
|
@@ -2394,16 +2075,13 @@ $f3e2ce4b6d6cc4ac$exports = {
|
|
|
2394
2075
|
"dropDescriptionTouch": `Dubbeltryck för att släppa.`,
|
|
2395
2076
|
"dropDescriptionVirtual": `Klicka för att släppa.`,
|
|
2396
2077
|
"dropIndicator": `släppindikator`,
|
|
2397
|
-
"dropOnItem": (args)=>`Släpp på ${args.itemText}
|
|
2398
|
-
,
|
|
2078
|
+
"dropOnItem": (args)=>`Släpp på ${args.itemText}`,
|
|
2399
2079
|
"dropOnRoot": `Släpp på`,
|
|
2400
2080
|
"endDragKeyboard": `Drar. Tryck på enter för att avbryta dragåtgärd.`,
|
|
2401
2081
|
"endDragTouch": `Drar. Dubbeltryck för att avbryta dragåtgärd.`,
|
|
2402
2082
|
"endDragVirtual": `Drar. Klicka för att avbryta dragåtgärd.`,
|
|
2403
|
-
"insertAfter": (args)=>`Infoga efter ${args.itemText}
|
|
2404
|
-
|
|
2405
|
-
"insertBefore": (args)=>`Infoga före ${args.itemText}`
|
|
2406
|
-
,
|
|
2083
|
+
"insertAfter": (args)=>`Infoga efter ${args.itemText}`,
|
|
2084
|
+
"insertBefore": (args)=>`Infoga före ${args.itemText}`,
|
|
2407
2085
|
"insertBetween": (args)=>`Infoga mellan ${args.beforeItemText} och ${args.afterItemText}`
|
|
2408
2086
|
};
|
|
2409
2087
|
|
|
@@ -2415,32 +2093,23 @@ $da91b0d12d273475$exports = {
|
|
|
2415
2093
|
"dragDescriptionLongPress": `Sürüklemeye başlamak için uzun basın.`,
|
|
2416
2094
|
"dragDescriptionTouch": `Sürüklemeyi başlatmak için çift tıklayın.`,
|
|
2417
2095
|
"dragDescriptionVirtual": `Sürüklemeyi başlatmak için tıklayın.`,
|
|
2418
|
-
"dragItem": (args)=>`${args.itemText}’i sürükle
|
|
2419
|
-
,
|
|
2096
|
+
"dragItem": (args)=>`${args.itemText}’i sürükle`,
|
|
2420
2097
|
"dragSelectedItems": (args, formatter)=>`Sürükle ${formatter.plural(args.count, {
|
|
2421
|
-
one: ()=>`${formatter.number(args.count)} seçili öge
|
|
2422
|
-
,
|
|
2098
|
+
one: ()=>`${formatter.number(args.count)} seçili öge`,
|
|
2423
2099
|
other: ()=>`${formatter.number(args.count)} seçili öge`
|
|
2424
|
-
})}
|
|
2425
|
-
,
|
|
2100
|
+
})}`,
|
|
2426
2101
|
"dragSelectedKeyboard": (args, formatter)=>`${formatter.plural(args.count, {
|
|
2427
|
-
one: ()=>`${formatter.number(args.count)} seçilmiş öğe
|
|
2428
|
-
,
|
|
2102
|
+
one: ()=>`${formatter.number(args.count)} seçilmiş öğe`,
|
|
2429
2103
|
other: ()=>`${formatter.number(args.count)} seçilmiş öğe`
|
|
2430
|
-
})} öğesini sürüklemek için Enter'a basın
|
|
2431
|
-
,
|
|
2104
|
+
})} öğesini sürüklemek için Enter'a basın.`,
|
|
2432
2105
|
"dragSelectedKeyboardAlt": (args, formatter)=>`${formatter.plural(args.count, {
|
|
2433
|
-
one: ()=>`${formatter.number(args.count)} seçilmiş öğe
|
|
2434
|
-
,
|
|
2106
|
+
one: ()=>`${formatter.number(args.count)} seçilmiş öğe`,
|
|
2435
2107
|
other: ()=>`${formatter.number(args.count)} seçilmiş öğe`
|
|
2436
|
-
})} öğesini sürüklemek için Alt + Enter tuşuna basın
|
|
2437
|
-
,
|
|
2108
|
+
})} öğesini sürüklemek için Alt + Enter tuşuna basın.`,
|
|
2438
2109
|
"dragSelectedLongPress": (args, formatter)=>`${formatter.plural(args.count, {
|
|
2439
|
-
one: ()=>`${formatter.number(args.count)} seçilmiş öğe
|
|
2440
|
-
,
|
|
2110
|
+
one: ()=>`${formatter.number(args.count)} seçilmiş öğe`,
|
|
2441
2111
|
other: ()=>`${formatter.number(args.count)} seçilmiş öğe`
|
|
2442
|
-
})} öğesini sürüklemek için uzun basın
|
|
2443
|
-
,
|
|
2112
|
+
})} öğesini sürüklemek için uzun basın.`,
|
|
2444
2113
|
"dragStartedKeyboard": `Sürükleme başlatıldı. Bir bırakma hedefine gitmek için Tab’a basın, ardından bırakmak için Enter’a basın veya iptal etmek için Escape’e basın.`,
|
|
2445
2114
|
"dragStartedTouch": `Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için çift tıklayın.`,
|
|
2446
2115
|
"dragStartedVirtual": `Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için Enter’a tıklayın veya basın.`,
|
|
@@ -2450,16 +2119,13 @@ $da91b0d12d273475$exports = {
|
|
|
2450
2119
|
"dropDescriptionTouch": `Bırakmak için çift tıklayın.`,
|
|
2451
2120
|
"dropDescriptionVirtual": `Bırakmak için tıklayın.`,
|
|
2452
2121
|
"dropIndicator": `bırakma göstergesi`,
|
|
2453
|
-
"dropOnItem": (args)=>`${args.itemText} üzerine bırak
|
|
2454
|
-
,
|
|
2122
|
+
"dropOnItem": (args)=>`${args.itemText} üzerine bırak`,
|
|
2455
2123
|
"dropOnRoot": `Bırakın`,
|
|
2456
2124
|
"endDragKeyboard": `Sürükleme. Sürüklemeyi iptal etmek için Enter'a basın.`,
|
|
2457
2125
|
"endDragTouch": `Sürükleme. Sürüklemeyi iptal etmek için çift tıklayın.`,
|
|
2458
2126
|
"endDragVirtual": `Sürükleme. Sürüklemeyi iptal etmek için tıklayın.`,
|
|
2459
|
-
"insertAfter": (args)=>`${args.itemText}’den sonra gir
|
|
2460
|
-
|
|
2461
|
-
"insertBefore": (args)=>`${args.itemText}’den önce gir`
|
|
2462
|
-
,
|
|
2127
|
+
"insertAfter": (args)=>`${args.itemText}’den sonra gir`,
|
|
2128
|
+
"insertBefore": (args)=>`${args.itemText}’den önce gir`,
|
|
2463
2129
|
"insertBetween": (args)=>`${args.beforeItemText} ve ${args.afterItemText} arasına gir`
|
|
2464
2130
|
};
|
|
2465
2131
|
|
|
@@ -2471,32 +2137,23 @@ $d6f72e28f0f4871c$exports = {
|
|
|
2471
2137
|
"dragDescriptionLongPress": `Натисніть і утримуйте, щоб почати перетягування.`,
|
|
2472
2138
|
"dragDescriptionTouch": `Натисніть двічі, щоб почати перетягування.`,
|
|
2473
2139
|
"dragDescriptionVirtual": `Натисніть, щоб почати перетягування.`,
|
|
2474
|
-
"dragItem": (args)=>`Перетягнути ${args.itemText}
|
|
2475
|
-
,
|
|
2140
|
+
"dragItem": (args)=>`Перетягнути ${args.itemText}`,
|
|
2476
2141
|
"dragSelectedItems": (args, formatter)=>`Перетягніть ${formatter.plural(args.count, {
|
|
2477
|
-
one: ()=>`${formatter.number(args.count)} вибраний
|
|
2478
|
-
,
|
|
2142
|
+
one: ()=>`${formatter.number(args.count)} вибраний елемент`,
|
|
2479
2143
|
other: ()=>`${formatter.number(args.count)} вибраних елем`
|
|
2480
|
-
})}
|
|
2481
|
-
,
|
|
2144
|
+
})}`,
|
|
2482
2145
|
"dragSelectedKeyboard": (args, formatter)=>`Натисніть Enter, щоб перетягнути ${formatter.plural(args.count, {
|
|
2483
|
-
one: ()=>`${formatter.number(args.count)} вибраний
|
|
2484
|
-
,
|
|
2146
|
+
one: ()=>`${formatter.number(args.count)} вибраний елемент`,
|
|
2485
2147
|
other: ()=>`${formatter.number(args.count)} вибраних елементи(-ів)`
|
|
2486
|
-
})}
|
|
2487
|
-
,
|
|
2148
|
+
})}.`,
|
|
2488
2149
|
"dragSelectedKeyboardAlt": (args, formatter)=>`Натисніть Alt + Enter, щоб перетягнути ${formatter.plural(args.count, {
|
|
2489
|
-
one: ()=>`${formatter.number(args.count)} вибраний
|
|
2490
|
-
,
|
|
2150
|
+
one: ()=>`${formatter.number(args.count)} вибраний елемент`,
|
|
2491
2151
|
other: ()=>`${formatter.number(args.count)} вибраних елементи(-ів)`
|
|
2492
|
-
})}
|
|
2493
|
-
,
|
|
2152
|
+
})}.`,
|
|
2494
2153
|
"dragSelectedLongPress": (args, formatter)=>`Утримуйте, щоб перетягнути ${formatter.plural(args.count, {
|
|
2495
|
-
one: ()=>`${formatter.number(args.count)} вибраний
|
|
2496
|
-
,
|
|
2154
|
+
one: ()=>`${formatter.number(args.count)} вибраний елемент`,
|
|
2497
2155
|
other: ()=>`${formatter.number(args.count)} вибраних елементи(-ів)`
|
|
2498
|
-
})}
|
|
2499
|
-
,
|
|
2156
|
+
})}.`,
|
|
2500
2157
|
"dragStartedKeyboard": `Перетягування почалося. Натисніть Tab, щоб перейти до цілі перетягування, потім натисніть Enter, щоб перетягнути, або Escape, щоб скасувати.`,
|
|
2501
2158
|
"dragStartedTouch": `Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть двічі, щоб перетягнути.`,
|
|
2502
2159
|
"dragStartedVirtual": `Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть Enter, щоб перетягнути.`,
|
|
@@ -2506,16 +2163,13 @@ $d6f72e28f0f4871c$exports = {
|
|
|
2506
2163
|
"dropDescriptionTouch": `Натисніть двічі, щоб перетягнути.`,
|
|
2507
2164
|
"dropDescriptionVirtual": `Натисніть, щоб перетягнути.`,
|
|
2508
2165
|
"dropIndicator": `індикатор перетягування`,
|
|
2509
|
-
"dropOnItem": (args)=>`Перетягнути на ${args.itemText}
|
|
2510
|
-
,
|
|
2166
|
+
"dropOnItem": (args)=>`Перетягнути на ${args.itemText}`,
|
|
2511
2167
|
"dropOnRoot": `Перетягнути на`,
|
|
2512
2168
|
"endDragKeyboard": `Триває перетягування. Натисніть Enter, щоб скасувати перетягування.`,
|
|
2513
2169
|
"endDragTouch": `Триває перетягування. Натисніть двічі, щоб скасувати перетягування.`,
|
|
2514
2170
|
"endDragVirtual": `Триває перетягування. Натисніть, щоб скасувати перетягування.`,
|
|
2515
|
-
"insertAfter": (args)=>`Вставити після ${args.itemText}
|
|
2516
|
-
|
|
2517
|
-
"insertBefore": (args)=>`Вставити перед ${args.itemText}`
|
|
2518
|
-
,
|
|
2171
|
+
"insertAfter": (args)=>`Вставити після ${args.itemText}`,
|
|
2172
|
+
"insertBefore": (args)=>`Вставити перед ${args.itemText}`,
|
|
2519
2173
|
"insertBetween": (args)=>`Вставити між ${args.beforeItemText} і ${args.afterItemText}`
|
|
2520
2174
|
};
|
|
2521
2175
|
|
|
@@ -2527,32 +2181,23 @@ $187738fbdc896f75$exports = {
|
|
|
2527
2181
|
"dragDescriptionLongPress": `长按以开始拖动。`,
|
|
2528
2182
|
"dragDescriptionTouch": `双击开始拖动。`,
|
|
2529
2183
|
"dragDescriptionVirtual": `单击开始拖动。`,
|
|
2530
|
-
"dragItem": (args)=>`拖动 ${args.itemText}
|
|
2531
|
-
,
|
|
2184
|
+
"dragItem": (args)=>`拖动 ${args.itemText}`,
|
|
2532
2185
|
"dragSelectedItems": (args, formatter)=>`拖动 ${formatter.plural(args.count, {
|
|
2533
|
-
one: ()=>`${formatter.number(args.count)}
|
|
2534
|
-
,
|
|
2186
|
+
one: ()=>`${formatter.number(args.count)} 选中项目`,
|
|
2535
2187
|
other: ()=>`${formatter.number(args.count)} 选中项目`
|
|
2536
|
-
})}
|
|
2537
|
-
,
|
|
2188
|
+
})}`,
|
|
2538
2189
|
"dragSelectedKeyboard": (args, formatter)=>`按 Enter 以拖动 ${formatter.plural(args.count, {
|
|
2539
|
-
one: ()=>`${formatter.number(args.count)}
|
|
2540
|
-
,
|
|
2190
|
+
one: ()=>`${formatter.number(args.count)} 个选定项`,
|
|
2541
2191
|
other: ()=>`${formatter.number(args.count)} 个选定项`
|
|
2542
|
-
})}
|
|
2543
|
-
,
|
|
2192
|
+
})}。`,
|
|
2544
2193
|
"dragSelectedKeyboardAlt": (args, formatter)=>`按 Alt + Enter 以拖动 ${formatter.plural(args.count, {
|
|
2545
|
-
one: ()=>`${formatter.number(args.count)}
|
|
2546
|
-
,
|
|
2194
|
+
one: ()=>`${formatter.number(args.count)} 个选定项`,
|
|
2547
2195
|
other: ()=>`${formatter.number(args.count)} 个选定项`
|
|
2548
|
-
})}
|
|
2549
|
-
,
|
|
2196
|
+
})}。`,
|
|
2550
2197
|
"dragSelectedLongPress": (args, formatter)=>`长按以拖动 ${formatter.plural(args.count, {
|
|
2551
|
-
one: ()=>`${formatter.number(args.count)}
|
|
2552
|
-
,
|
|
2198
|
+
one: ()=>`${formatter.number(args.count)} 个选定项`,
|
|
2553
2199
|
other: ()=>`${formatter.number(args.count)} 个选定项`
|
|
2554
|
-
})}
|
|
2555
|
-
,
|
|
2200
|
+
})}。`,
|
|
2556
2201
|
"dragStartedKeyboard": `已开始拖动。按 Tab 导航到放置目标,然后按 Enter 放置或按 Escape 取消。`,
|
|
2557
2202
|
"dragStartedTouch": `已开始拖动。导航到放置目标,然后双击放置。`,
|
|
2558
2203
|
"dragStartedVirtual": `已开始拖动。导航到放置目标,然后单击或按 Enter 放置。`,
|
|
@@ -2562,16 +2207,13 @@ $187738fbdc896f75$exports = {
|
|
|
2562
2207
|
"dropDescriptionTouch": `双击放置。`,
|
|
2563
2208
|
"dropDescriptionVirtual": `单击放置。`,
|
|
2564
2209
|
"dropIndicator": `放置标记`,
|
|
2565
|
-
"dropOnItem": (args)=>`放置于 ${args.itemText}
|
|
2566
|
-
,
|
|
2210
|
+
"dropOnItem": (args)=>`放置于 ${args.itemText}`,
|
|
2567
2211
|
"dropOnRoot": `放置于`,
|
|
2568
2212
|
"endDragKeyboard": `正在拖动。按 Enter 取消拖动。`,
|
|
2569
2213
|
"endDragTouch": `正在拖动。双击取消拖动。`,
|
|
2570
2214
|
"endDragVirtual": `正在拖动。单击取消拖动。`,
|
|
2571
|
-
"insertAfter": (args)=>`插入到 ${args.itemText}
|
|
2572
|
-
|
|
2573
|
-
"insertBefore": (args)=>`插入到 ${args.itemText} 之前`
|
|
2574
|
-
,
|
|
2215
|
+
"insertAfter": (args)=>`插入到 ${args.itemText} 之后`,
|
|
2216
|
+
"insertBefore": (args)=>`插入到 ${args.itemText} 之前`,
|
|
2575
2217
|
"insertBetween": (args)=>`插入到 ${args.beforeItemText} 和 ${args.afterItemText} 之间`
|
|
2576
2218
|
};
|
|
2577
2219
|
|
|
@@ -2583,32 +2225,23 @@ $80cfc1f1f7d356d3$exports = {
|
|
|
2583
2225
|
"dragDescriptionLongPress": `長按以開始拖曳。`,
|
|
2584
2226
|
"dragDescriptionTouch": `輕點兩下以開始拖曳。`,
|
|
2585
2227
|
"dragDescriptionVirtual": `按一下滑鼠以開始拖曳。`,
|
|
2586
|
-
"dragItem": (args)=>`拖曳「${args.itemText}
|
|
2587
|
-
,
|
|
2228
|
+
"dragItem": (args)=>`拖曳「${args.itemText}」`,
|
|
2588
2229
|
"dragSelectedItems": (args, formatter)=>`拖曳 ${formatter.plural(args.count, {
|
|
2589
|
-
one: ()=>`${formatter.number(args.count)}
|
|
2590
|
-
,
|
|
2230
|
+
one: ()=>`${formatter.number(args.count)} 個選定項目`,
|
|
2591
2231
|
other: ()=>`${formatter.number(args.count)} 個選定項目`
|
|
2592
|
-
})}
|
|
2593
|
-
,
|
|
2232
|
+
})}`,
|
|
2594
2233
|
"dragSelectedKeyboard": (args, formatter)=>`按 Enter 鍵以拖曳 ${formatter.plural(args.count, {
|
|
2595
|
-
one: ()=>`${formatter.number(args.count)}
|
|
2596
|
-
,
|
|
2234
|
+
one: ()=>`${formatter.number(args.count)} 個選定項目`,
|
|
2597
2235
|
other: ()=>`${formatter.number(args.count)} 個選定項目`
|
|
2598
|
-
})}
|
|
2599
|
-
,
|
|
2236
|
+
})}。`,
|
|
2600
2237
|
"dragSelectedKeyboardAlt": (args, formatter)=>`按 Alt+Enter 鍵以拖曳 ${formatter.plural(args.count, {
|
|
2601
|
-
one: ()=>`${formatter.number(args.count)}
|
|
2602
|
-
,
|
|
2238
|
+
one: ()=>`${formatter.number(args.count)} 個選定項目`,
|
|
2603
2239
|
other: ()=>`${formatter.number(args.count)} 個選定項目`
|
|
2604
|
-
})}
|
|
2605
|
-
,
|
|
2240
|
+
})}。`,
|
|
2606
2241
|
"dragSelectedLongPress": (args, formatter)=>`長按以拖曳 ${formatter.plural(args.count, {
|
|
2607
|
-
one: ()=>`${formatter.number(args.count)}
|
|
2608
|
-
,
|
|
2242
|
+
one: ()=>`${formatter.number(args.count)} 個選定項目`,
|
|
2609
2243
|
other: ()=>`${formatter.number(args.count)} 個選定項目`
|
|
2610
|
-
})}
|
|
2611
|
-
,
|
|
2244
|
+
})}。`,
|
|
2612
2245
|
"dragStartedKeyboard": `已開始拖曳。按 Tab 鍵以瀏覽至放置目標,然後按 Enter 鍵以放置,或按 Escape 鍵以取消。`,
|
|
2613
2246
|
"dragStartedTouch": `已開始拖曳。瀏覽至放置目標,然後輕點兩下以放置。`,
|
|
2614
2247
|
"dragStartedVirtual": `已開始拖曳。瀏覽至放置目標,然後按一下滑鼠或按 Enter 鍵以放置。`,
|
|
@@ -2618,16 +2251,13 @@ $80cfc1f1f7d356d3$exports = {
|
|
|
2618
2251
|
"dropDescriptionTouch": `輕點兩下以放置。`,
|
|
2619
2252
|
"dropDescriptionVirtual": `按一下滑鼠以放置。`,
|
|
2620
2253
|
"dropIndicator": `放置指示器`,
|
|
2621
|
-
"dropOnItem": (args)=>`放置在「${args.itemText}
|
|
2622
|
-
,
|
|
2254
|
+
"dropOnItem": (args)=>`放置在「${args.itemText}」上`,
|
|
2623
2255
|
"dropOnRoot": `放置在`,
|
|
2624
2256
|
"endDragKeyboard": `拖曳中。按 Enter 鍵以取消拖曳。`,
|
|
2625
2257
|
"endDragTouch": `拖曳中。輕點兩下以取消拖曳。`,
|
|
2626
2258
|
"endDragVirtual": `拖曳中。按一下滑鼠以取消拖曳。`,
|
|
2627
|
-
"insertAfter": (args)=>`插入至「${args.itemText}
|
|
2628
|
-
|
|
2629
|
-
"insertBefore": (args)=>`插入至「${args.itemText}」之前`
|
|
2630
|
-
,
|
|
2259
|
+
"insertAfter": (args)=>`插入至「${args.itemText}」之後`,
|
|
2260
|
+
"insertBefore": (args)=>`插入至「${args.itemText}」之前`,
|
|
2631
2261
|
"insertBetween": (args)=>`插入至「${args.beforeItemText}」和「${args.afterItemText}」之間`
|
|
2632
2262
|
};
|
|
2633
2263
|
|
|
@@ -2674,70 +2304,70 @@ $d624b4da796f302a$exports = {
|
|
|
2674
2304
|
|
|
2675
2305
|
const $dc204e8ec58447a6$var$MESSAGES = {
|
|
2676
2306
|
keyboard: {
|
|
2677
|
-
start:
|
|
2678
|
-
end:
|
|
2307
|
+
start: "dragDescriptionKeyboard",
|
|
2308
|
+
end: "endDragKeyboard"
|
|
2679
2309
|
},
|
|
2680
2310
|
touch: {
|
|
2681
|
-
start:
|
|
2682
|
-
end:
|
|
2311
|
+
start: "dragDescriptionTouch",
|
|
2312
|
+
end: "endDragTouch"
|
|
2683
2313
|
},
|
|
2684
2314
|
virtual: {
|
|
2685
|
-
start:
|
|
2686
|
-
end:
|
|
2315
|
+
start: "dragDescriptionVirtual",
|
|
2316
|
+
end: "endDragVirtual"
|
|
2687
2317
|
}
|
|
2688
2318
|
};
|
|
2689
2319
|
function $dc204e8ec58447a6$export$7941f8aafa4b6021(options) {
|
|
2690
2320
|
let { hasDragButton: hasDragButton } = options;
|
|
2691
|
-
let stringFormatter = $4vY0V$reactariai18n.useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($d624b4da796f302a$exports)));
|
|
2692
|
-
let state = $4vY0V$react.useRef({
|
|
2321
|
+
let stringFormatter = (0, $4vY0V$reactariai18n.useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($d624b4da796f302a$exports))));
|
|
2322
|
+
let state = (0, $4vY0V$react.useRef)({
|
|
2693
2323
|
options: options,
|
|
2694
2324
|
x: 0,
|
|
2695
2325
|
y: 0
|
|
2696
2326
|
}).current;
|
|
2697
2327
|
state.options = options;
|
|
2698
|
-
let isDraggingRef = $4vY0V$react.useRef(false);
|
|
2699
|
-
let [, setDraggingState] = $4vY0V$react.useState(false);
|
|
2328
|
+
let isDraggingRef = (0, $4vY0V$react.useRef)(false);
|
|
2329
|
+
let [, setDraggingState] = (0, $4vY0V$react.useState)(false);
|
|
2700
2330
|
let setDragging = (isDragging)=>{
|
|
2701
2331
|
isDraggingRef.current = isDragging;
|
|
2702
2332
|
setDraggingState(isDragging);
|
|
2703
2333
|
};
|
|
2704
|
-
let { addGlobalListener: addGlobalListener , removeAllGlobalListeners: removeAllGlobalListeners } = $4vY0V$reactariautils.useGlobalListeners();
|
|
2705
|
-
let modalityOnPointerDown = $4vY0V$react.useRef(null);
|
|
2706
|
-
let onDragStart = (
|
|
2334
|
+
let { addGlobalListener: addGlobalListener , removeAllGlobalListeners: removeAllGlobalListeners } = (0, $4vY0V$reactariautils.useGlobalListeners)();
|
|
2335
|
+
let modalityOnPointerDown = (0, $4vY0V$react.useRef)(null);
|
|
2336
|
+
let onDragStart = (e)=>{
|
|
2707
2337
|
var ref;
|
|
2708
|
-
if (
|
|
2338
|
+
if (e.defaultPrevented) return;
|
|
2709
2339
|
// If this drag was initiated by a mobile screen reader (e.g. VoiceOver or TalkBack), enter virtual dragging mode.
|
|
2710
|
-
if (modalityOnPointerDown.current ===
|
|
2711
|
-
|
|
2712
|
-
startDragging(
|
|
2340
|
+
if (modalityOnPointerDown.current === "virtual") {
|
|
2341
|
+
e.preventDefault();
|
|
2342
|
+
startDragging(e.target);
|
|
2713
2343
|
modalityOnPointerDown.current = null;
|
|
2714
2344
|
return;
|
|
2715
2345
|
}
|
|
2716
|
-
if (typeof options.onDragStart ===
|
|
2717
|
-
type:
|
|
2718
|
-
x:
|
|
2719
|
-
y:
|
|
2346
|
+
if (typeof options.onDragStart === "function") options.onDragStart({
|
|
2347
|
+
type: "dragstart",
|
|
2348
|
+
x: e.clientX,
|
|
2349
|
+
y: e.clientY
|
|
2720
2350
|
});
|
|
2721
2351
|
let items = options.getItems();
|
|
2722
|
-
$4620ae0dc40f0031$export$f9c1490890ddd063(
|
|
2723
|
-
let allowed = $76b1e110a27b1ccd$export$60b7b4bcf3903d8e.all;
|
|
2724
|
-
if (typeof options.getAllowedDropOperations ===
|
|
2352
|
+
(0, $4620ae0dc40f0031$export$f9c1490890ddd063)(e.dataTransfer, items);
|
|
2353
|
+
let allowed = (0, $76b1e110a27b1ccd$export$60b7b4bcf3903d8e).all;
|
|
2354
|
+
if (typeof options.getAllowedDropOperations === "function") {
|
|
2725
2355
|
let allowedOperations = options.getAllowedDropOperations();
|
|
2726
|
-
allowed = $76b1e110a27b1ccd$export$60b7b4bcf3903d8e.none;
|
|
2727
|
-
for (let operation of allowedOperations)allowed |= $76b1e110a27b1ccd$export$60b7b4bcf3903d8e[operation] || $76b1e110a27b1ccd$export$60b7b4bcf3903d8e.none;
|
|
2356
|
+
allowed = (0, $76b1e110a27b1ccd$export$60b7b4bcf3903d8e).none;
|
|
2357
|
+
for (let operation of allowedOperations)allowed |= (0, $76b1e110a27b1ccd$export$60b7b4bcf3903d8e)[operation] || (0, $76b1e110a27b1ccd$export$60b7b4bcf3903d8e).none;
|
|
2728
2358
|
}
|
|
2729
|
-
$4620ae0dc40f0031$export$6539bc8c3a0a2d67(allowed);
|
|
2730
|
-
|
|
2359
|
+
(0, $4620ae0dc40f0031$export$6539bc8c3a0a2d67)(allowed);
|
|
2360
|
+
e.dataTransfer.effectAllowed = (0, $76b1e110a27b1ccd$export$dd0165308d8bff45)[allowed] || "none";
|
|
2731
2361
|
// If there is a preview option, use it to render a custom preview image that will
|
|
2732
2362
|
// appear under the pointer while dragging. If not, the element itself is dragged by the browser.
|
|
2733
|
-
if (typeof ((ref = options.preview) === null || ref === void 0 ? void 0 : ref.current) ===
|
|
2363
|
+
if (typeof ((ref = options.preview) === null || ref === void 0 ? void 0 : ref.current) === "function") options.preview.current(items, (node)=>{
|
|
2734
2364
|
// Compute the offset that the preview will appear under the mouse.
|
|
2735
2365
|
// If possible, this is based on the point the user clicked on the target.
|
|
2736
2366
|
// If the preview is much smaller, then just use the center point of the preview.
|
|
2737
2367
|
let size = node.getBoundingClientRect();
|
|
2738
|
-
let rect =
|
|
2739
|
-
let x =
|
|
2740
|
-
let y =
|
|
2368
|
+
let rect = e.currentTarget.getBoundingClientRect();
|
|
2369
|
+
let x = e.clientX - rect.x;
|
|
2370
|
+
let y = e.clientY - rect.y;
|
|
2741
2371
|
if (x > size.width || y > size.height) {
|
|
2742
2372
|
x = size.width / 2;
|
|
2743
2373
|
y = size.height / 2;
|
|
@@ -2745,21 +2375,21 @@ function $dc204e8ec58447a6$export$7941f8aafa4b6021(options) {
|
|
|
2745
2375
|
// Rounding height to an even number prevents blurry preview seen on some screens
|
|
2746
2376
|
let height = 2 * Math.round(rect.height / 2);
|
|
2747
2377
|
node.style.height = `${height}px`;
|
|
2748
|
-
|
|
2378
|
+
e.dataTransfer.setDragImage(node, x, y);
|
|
2749
2379
|
});
|
|
2750
2380
|
// Enforce that drops are handled by useDrop.
|
|
2751
|
-
addGlobalListener(window,
|
|
2381
|
+
addGlobalListener(window, "drop", (e)=>{
|
|
2752
2382
|
if (!$28e10663603f5ea1$export$7454aff2e161f241(e.target)) {
|
|
2753
2383
|
e.preventDefault();
|
|
2754
2384
|
e.stopPropagation();
|
|
2755
|
-
throw new Error(
|
|
2385
|
+
throw new Error("Drags initiated from the React Aria useDrag hook may only be dropped on a target created with useDrop. This ensures that a keyboard and screen reader accessible alternative is available.");
|
|
2756
2386
|
}
|
|
2757
2387
|
}, {
|
|
2758
2388
|
capture: true,
|
|
2759
2389
|
once: true
|
|
2760
2390
|
});
|
|
2761
|
-
state.x =
|
|
2762
|
-
state.y =
|
|
2391
|
+
state.x = e.clientX;
|
|
2392
|
+
state.y = e.clientY;
|
|
2763
2393
|
// Wait a frame before we set dragging to true so that the browser has time to
|
|
2764
2394
|
// render the preview image before we update the element that has been dragged.
|
|
2765
2395
|
requestAnimationFrame(()=>{
|
|
@@ -2768,8 +2398,8 @@ function $dc204e8ec58447a6$export$7941f8aafa4b6021(options) {
|
|
|
2768
2398
|
};
|
|
2769
2399
|
let onDrag = (e)=>{
|
|
2770
2400
|
if (e.clientX === state.x && e.clientY === state.y) return;
|
|
2771
|
-
if (typeof options.onDragMove ===
|
|
2772
|
-
type:
|
|
2401
|
+
if (typeof options.onDragMove === "function") options.onDragMove({
|
|
2402
|
+
type: "dragmove",
|
|
2773
2403
|
x: e.clientX,
|
|
2774
2404
|
y: e.clientY
|
|
2775
2405
|
});
|
|
@@ -2777,55 +2407,55 @@ function $dc204e8ec58447a6$export$7941f8aafa4b6021(options) {
|
|
|
2777
2407
|
state.y = e.clientY;
|
|
2778
2408
|
};
|
|
2779
2409
|
let onDragEnd = (e)=>{
|
|
2780
|
-
if (typeof options.onDragEnd ===
|
|
2410
|
+
if (typeof options.onDragEnd === "function") {
|
|
2781
2411
|
let event = {
|
|
2782
|
-
type:
|
|
2412
|
+
type: "dragend",
|
|
2783
2413
|
x: e.clientX,
|
|
2784
2414
|
y: e.clientY,
|
|
2785
|
-
dropOperation: $76b1e110a27b1ccd$export$608ecc6f1b23c35d[e.dataTransfer.dropEffect]
|
|
2415
|
+
dropOperation: (0, $76b1e110a27b1ccd$export$608ecc6f1b23c35d)[e.dataTransfer.dropEffect]
|
|
2786
2416
|
};
|
|
2787
2417
|
// Chrome Android always returns none as its dropEffect so we use the drop effect set in useDrop via
|
|
2788
2418
|
// onDragEnter/onDragOver instead. https://bugs.chromium.org/p/chromium/issues/detail?id=1353951
|
|
2789
|
-
if ($4620ae0dc40f0031$export$8e6636520ac15722) event.dropOperation = $76b1e110a27b1ccd$export$608ecc6f1b23c35d[$4620ae0dc40f0031$export$8e6636520ac15722];
|
|
2419
|
+
if (0, $4620ae0dc40f0031$export$8e6636520ac15722) event.dropOperation = (0, $76b1e110a27b1ccd$export$608ecc6f1b23c35d)[0, $4620ae0dc40f0031$export$8e6636520ac15722];
|
|
2790
2420
|
options.onDragEnd(event);
|
|
2791
2421
|
}
|
|
2792
2422
|
setDragging(false);
|
|
2793
2423
|
removeAllGlobalListeners();
|
|
2794
|
-
$4620ae0dc40f0031$export$6539bc8c3a0a2d67($76b1e110a27b1ccd$export$60b7b4bcf3903d8e.none);
|
|
2795
|
-
$4620ae0dc40f0031$export$64f52ed7349ddb84(undefined);
|
|
2424
|
+
(0, $4620ae0dc40f0031$export$6539bc8c3a0a2d67)((0, $76b1e110a27b1ccd$export$60b7b4bcf3903d8e).none);
|
|
2425
|
+
(0, $4620ae0dc40f0031$export$64f52ed7349ddb84)(undefined);
|
|
2796
2426
|
};
|
|
2797
2427
|
// If the dragged element is removed from the DOM via onDrop, onDragEnd won't fire: https://bugzilla.mozilla.org/show_bug.cgi?id=460801
|
|
2798
2428
|
// In this case, we need to manually call onDragEnd on cleanup
|
|
2799
2429
|
// eslint-disable-next-line arrow-body-style
|
|
2800
|
-
$4vY0V$reactariautils.useLayoutEffect(()=>{
|
|
2430
|
+
(0, $4vY0V$reactariautils.useLayoutEffect)(()=>{
|
|
2801
2431
|
return ()=>{
|
|
2802
2432
|
if (isDraggingRef.current) {
|
|
2803
|
-
if (typeof state.options.onDragEnd ===
|
|
2433
|
+
if (typeof state.options.onDragEnd === "function") {
|
|
2804
2434
|
let event = {
|
|
2805
|
-
type:
|
|
2435
|
+
type: "dragend",
|
|
2806
2436
|
x: 0,
|
|
2807
2437
|
y: 0,
|
|
2808
|
-
dropOperation: $76b1e110a27b1ccd$export$608ecc6f1b23c35d[$4620ae0dc40f0031$export$8e6636520ac15722 ||
|
|
2438
|
+
dropOperation: (0, $76b1e110a27b1ccd$export$608ecc6f1b23c35d)[(0, $4620ae0dc40f0031$export$8e6636520ac15722) || "none"]
|
|
2809
2439
|
};
|
|
2810
2440
|
state.options.onDragEnd(event);
|
|
2811
2441
|
}
|
|
2812
2442
|
setDragging(false);
|
|
2813
|
-
$4620ae0dc40f0031$export$6539bc8c3a0a2d67($76b1e110a27b1ccd$export$60b7b4bcf3903d8e.none);
|
|
2814
|
-
$4620ae0dc40f0031$export$64f52ed7349ddb84(undefined);
|
|
2443
|
+
(0, $4620ae0dc40f0031$export$6539bc8c3a0a2d67)((0, $76b1e110a27b1ccd$export$60b7b4bcf3903d8e).none);
|
|
2444
|
+
(0, $4620ae0dc40f0031$export$64f52ed7349ddb84)(undefined);
|
|
2815
2445
|
}
|
|
2816
2446
|
};
|
|
2817
2447
|
}, [
|
|
2818
2448
|
state
|
|
2819
2449
|
]);
|
|
2820
2450
|
let onPress = (e)=>{
|
|
2821
|
-
if (e.pointerType !==
|
|
2451
|
+
if (e.pointerType !== "keyboard" && e.pointerType !== "virtual") return;
|
|
2822
2452
|
startDragging(e.target);
|
|
2823
2453
|
};
|
|
2824
2454
|
let startDragging = (target)=>{
|
|
2825
|
-
if (typeof state.options.onDragStart ===
|
|
2455
|
+
if (typeof state.options.onDragStart === "function") {
|
|
2826
2456
|
let rect = target.getBoundingClientRect();
|
|
2827
2457
|
state.options.onDragStart({
|
|
2828
|
-
type:
|
|
2458
|
+
type: "dragstart",
|
|
2829
2459
|
x: rect.x + rect.width / 2,
|
|
2830
2460
|
y: rect.y + rect.height / 2
|
|
2831
2461
|
});
|
|
@@ -2833,21 +2463,21 @@ function $dc204e8ec58447a6$export$7941f8aafa4b6021(options) {
|
|
|
2833
2463
|
$28e10663603f5ea1$export$549dbcf8649bf3b2({
|
|
2834
2464
|
element: target,
|
|
2835
2465
|
items: state.options.getItems(),
|
|
2836
|
-
allowedDropOperations: typeof state.options.getAllowedDropOperations ===
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2466
|
+
allowedDropOperations: typeof state.options.getAllowedDropOperations === "function" ? state.options.getAllowedDropOperations() : [
|
|
2467
|
+
"move",
|
|
2468
|
+
"copy",
|
|
2469
|
+
"link"
|
|
2840
2470
|
],
|
|
2841
2471
|
onDragEnd (e) {
|
|
2842
2472
|
setDragging(false);
|
|
2843
|
-
if (typeof state.options.onDragEnd ===
|
|
2473
|
+
if (typeof state.options.onDragEnd === "function") state.options.onDragEnd(e);
|
|
2844
2474
|
}
|
|
2845
2475
|
}, stringFormatter);
|
|
2846
2476
|
setDragging(true);
|
|
2847
2477
|
};
|
|
2848
|
-
let modality = $4620ae0dc40f0031$export$49bac5d6d4b352ea();
|
|
2478
|
+
let modality = (0, $4620ae0dc40f0031$export$49bac5d6d4b352ea)();
|
|
2849
2479
|
let message = !isDraggingRef.current ? $dc204e8ec58447a6$var$MESSAGES[modality].start : $dc204e8ec58447a6$var$MESSAGES[modality].end;
|
|
2850
|
-
let descriptionProps = $4vY0V$reactariautils.useDescription(stringFormatter.format(message));
|
|
2480
|
+
let descriptionProps = (0, $4vY0V$reactariautils.useDescription)(stringFormatter.format(message));
|
|
2851
2481
|
let interactions;
|
|
2852
2482
|
if (!hasDragButton) // If there's no separate button to trigger accessible drag and drop mode,
|
|
2853
2483
|
// then add event handlers to the draggable element itself to start dragging.
|
|
@@ -2858,10 +2488,10 @@ function $dc204e8ec58447a6$export$7941f8aafa4b6021(options) {
|
|
|
2858
2488
|
interactions = {
|
|
2859
2489
|
...descriptionProps,
|
|
2860
2490
|
onPointerDown (e) {
|
|
2861
|
-
modalityOnPointerDown.current = $4vY0V$reactariautils.isVirtualPointerEvent(e.nativeEvent) ?
|
|
2491
|
+
modalityOnPointerDown.current = (0, $4vY0V$reactariautils.isVirtualPointerEvent)(e.nativeEvent) ? "virtual" : e.pointerType;
|
|
2862
2492
|
// Try to detect virtual drag passthrough gestures.
|
|
2863
2493
|
if (e.width < 1 && e.height < 1) // iOS VoiceOver.
|
|
2864
|
-
modalityOnPointerDown.current =
|
|
2494
|
+
modalityOnPointerDown.current = "virtual";
|
|
2865
2495
|
else {
|
|
2866
2496
|
let rect = e.currentTarget.getBoundingClientRect();
|
|
2867
2497
|
let offsetX = e.clientX - rect.x;
|
|
@@ -2869,18 +2499,18 @@ function $dc204e8ec58447a6$export$7941f8aafa4b6021(options) {
|
|
|
2869
2499
|
let centerX = rect.width / 2;
|
|
2870
2500
|
let centerY = rect.height / 2;
|
|
2871
2501
|
if (Math.abs(offsetX - centerX) <= 0.5 && Math.abs(offsetY - centerY) <= 0.5) // Android TalkBack.
|
|
2872
|
-
modalityOnPointerDown.current =
|
|
2502
|
+
modalityOnPointerDown.current = "virtual";
|
|
2873
2503
|
else modalityOnPointerDown.current = e.pointerType;
|
|
2874
2504
|
}
|
|
2875
2505
|
},
|
|
2876
2506
|
onKeyDownCapture (e) {
|
|
2877
|
-
if (e.target === e.currentTarget && e.key ===
|
|
2507
|
+
if (e.target === e.currentTarget && e.key === "Enter") {
|
|
2878
2508
|
e.preventDefault();
|
|
2879
2509
|
e.stopPropagation();
|
|
2880
2510
|
}
|
|
2881
2511
|
},
|
|
2882
2512
|
onKeyUpCapture (e) {
|
|
2883
|
-
if (e.target === e.currentTarget && e.key ===
|
|
2513
|
+
if (e.target === e.currentTarget && e.key === "Enter") {
|
|
2884
2514
|
e.preventDefault();
|
|
2885
2515
|
e.stopPropagation();
|
|
2886
2516
|
startDragging(e.target);
|
|
@@ -2888,7 +2518,7 @@ function $dc204e8ec58447a6$export$7941f8aafa4b6021(options) {
|
|
|
2888
2518
|
},
|
|
2889
2519
|
onClick (e) {
|
|
2890
2520
|
// Handle NVDA/JAWS in browse mode, and touch screen readers. In this case, no keyboard events are fired.
|
|
2891
|
-
if ($4vY0V$reactariautils.isVirtualClick(e.nativeEvent) || modalityOnPointerDown.current ===
|
|
2521
|
+
if ((0, $4vY0V$reactariautils.isVirtualClick)(e.nativeEvent) || modalityOnPointerDown.current === "virtual") {
|
|
2892
2522
|
e.preventDefault();
|
|
2893
2523
|
e.stopPropagation();
|
|
2894
2524
|
startDragging(e.target);
|
|
@@ -2898,7 +2528,7 @@ function $dc204e8ec58447a6$export$7941f8aafa4b6021(options) {
|
|
|
2898
2528
|
return {
|
|
2899
2529
|
dragProps: {
|
|
2900
2530
|
...interactions,
|
|
2901
|
-
draggable:
|
|
2531
|
+
draggable: "true",
|
|
2902
2532
|
onDragStart: onDragStart,
|
|
2903
2533
|
onDrag: onDrag,
|
|
2904
2534
|
onDragEnd: onDragEnd
|
|
@@ -2912,26 +2542,46 @@ function $dc204e8ec58447a6$export$7941f8aafa4b6021(options) {
|
|
|
2912
2542
|
}
|
|
2913
2543
|
|
|
2914
2544
|
|
|
2545
|
+
/*
|
|
2546
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
2547
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
2548
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
2549
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
2550
|
+
*
|
|
2551
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
2552
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
2553
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
2554
|
+
* governing permissions and limitations under the License.
|
|
2555
|
+
*/
|
|
2915
2556
|
|
|
2916
2557
|
|
|
2917
2558
|
|
|
2918
2559
|
|
|
2919
|
-
|
|
2920
|
-
|
|
2560
|
+
/*
|
|
2561
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
2562
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
2563
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
2564
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
2565
|
+
*
|
|
2566
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
2567
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
2568
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
2569
|
+
* governing permissions and limitations under the License.
|
|
2570
|
+
*/
|
|
2921
2571
|
|
|
2922
2572
|
|
|
2923
2573
|
|
|
2924
2574
|
|
|
2925
2575
|
const $419982e205c8e8dc$var$MESSAGES = {
|
|
2926
|
-
keyboard:
|
|
2927
|
-
touch:
|
|
2928
|
-
virtual:
|
|
2576
|
+
keyboard: "dropDescriptionKeyboard",
|
|
2577
|
+
touch: "dropDescriptionTouch",
|
|
2578
|
+
virtual: "dropDescriptionVirtual"
|
|
2929
2579
|
};
|
|
2930
2580
|
function $419982e205c8e8dc$export$62447ad3d2ec7da6() {
|
|
2931
|
-
let stringFormatter = $4vY0V$reactariai18n.useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($d624b4da796f302a$exports)));
|
|
2932
|
-
let modality = $4620ae0dc40f0031$export$49bac5d6d4b352ea();
|
|
2581
|
+
let stringFormatter = (0, $4vY0V$reactariai18n.useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($d624b4da796f302a$exports))));
|
|
2582
|
+
let modality = (0, $4620ae0dc40f0031$export$49bac5d6d4b352ea)();
|
|
2933
2583
|
let dragSession = $28e10663603f5ea1$export$418e185dd3f1b968();
|
|
2934
|
-
let descriptionProps = $4vY0V$reactariautils.useDescription(dragSession ? stringFormatter.format($419982e205c8e8dc$var$MESSAGES[modality]) :
|
|
2584
|
+
let descriptionProps = (0, $4vY0V$reactariautils.useDescription)(dragSession ? stringFormatter.format($419982e205c8e8dc$var$MESSAGES[modality]) : "");
|
|
2935
2585
|
return {
|
|
2936
2586
|
dropProps: {
|
|
2937
2587
|
...descriptionProps,
|
|
@@ -2940,8 +2590,7 @@ function $419982e205c8e8dc$export$62447ad3d2ec7da6() {
|
|
|
2940
2590
|
// handler, React will take care of adding that for us, and we are able to handle document
|
|
2941
2591
|
// level click events in the DragManager.
|
|
2942
2592
|
// See https://www.quirksmode.org/blog/archives/2010/09/click_event_del.html
|
|
2943
|
-
onClick: ()=>{
|
|
2944
|
-
}
|
|
2593
|
+
onClick: ()=>{}
|
|
2945
2594
|
}
|
|
2946
2595
|
};
|
|
2947
2596
|
}
|
|
@@ -2949,21 +2598,21 @@ function $419982e205c8e8dc$export$62447ad3d2ec7da6() {
|
|
|
2949
2598
|
|
|
2950
2599
|
const $1ca228bc9257ca16$var$DROP_ACTIVATE_TIMEOUT = 800;
|
|
2951
2600
|
function $1ca228bc9257ca16$export$ccdee5eaf73cf661(options) {
|
|
2952
|
-
let [isDropTarget, setDropTarget] = $4vY0V$react.useState(false);
|
|
2953
|
-
let state = $4vY0V$react.useRef({
|
|
2601
|
+
let [isDropTarget, setDropTarget] = (0, $4vY0V$react.useState)(false);
|
|
2602
|
+
let state = (0, $4vY0V$react.useRef)({
|
|
2954
2603
|
x: 0,
|
|
2955
2604
|
y: 0,
|
|
2956
2605
|
dragOverElements: new Set(),
|
|
2957
|
-
dropEffect:
|
|
2958
|
-
allowedOperations: $76b1e110a27b1ccd$export$60b7b4bcf3903d8e.all,
|
|
2606
|
+
dropEffect: "none",
|
|
2607
|
+
allowedOperations: (0, $76b1e110a27b1ccd$export$60b7b4bcf3903d8e).all,
|
|
2959
2608
|
dropActivateTimer: null
|
|
2960
2609
|
}).current;
|
|
2961
2610
|
let fireDropEnter = (e)=>{
|
|
2962
2611
|
setDropTarget(true);
|
|
2963
|
-
if (typeof options.onDropEnter ===
|
|
2612
|
+
if (typeof options.onDropEnter === "function") {
|
|
2964
2613
|
let rect = e.currentTarget.getBoundingClientRect();
|
|
2965
2614
|
options.onDropEnter({
|
|
2966
|
-
type:
|
|
2615
|
+
type: "dropenter",
|
|
2967
2616
|
x: e.clientX - rect.x,
|
|
2968
2617
|
y: e.clientY - rect.y
|
|
2969
2618
|
});
|
|
@@ -2971,10 +2620,10 @@ function $1ca228bc9257ca16$export$ccdee5eaf73cf661(options) {
|
|
|
2971
2620
|
};
|
|
2972
2621
|
let fireDropExit = (e)=>{
|
|
2973
2622
|
setDropTarget(false);
|
|
2974
|
-
if (typeof options.onDropExit ===
|
|
2623
|
+
if (typeof options.onDropExit === "function") {
|
|
2975
2624
|
let rect = e.currentTarget.getBoundingClientRect();
|
|
2976
2625
|
options.onDropExit({
|
|
2977
|
-
type:
|
|
2626
|
+
type: "dropexit",
|
|
2978
2627
|
x: e.clientX - rect.x,
|
|
2979
2628
|
y: e.clientY - rect.y
|
|
2980
2629
|
});
|
|
@@ -2995,39 +2644,39 @@ function $1ca228bc9257ca16$export$ccdee5eaf73cf661(options) {
|
|
|
2995
2644
|
if (allowedOperations !== state.allowedOperations) {
|
|
2996
2645
|
let allowedOps = $1ca228bc9257ca16$var$allowedOperationsToArray(allowedOperations);
|
|
2997
2646
|
let dropOperation = allowedOps[0];
|
|
2998
|
-
if (typeof options.getDropOperation ===
|
|
2999
|
-
let types = new $4620ae0dc40f0031$export$7f04ce188c91447c(e.dataTransfer);
|
|
2647
|
+
if (typeof options.getDropOperation === "function") {
|
|
2648
|
+
let types = new (0, $4620ae0dc40f0031$export$7f04ce188c91447c)(e.dataTransfer);
|
|
3000
2649
|
dropOperation = $1ca228bc9257ca16$var$getDropOperation(allowedOperations, options.getDropOperation(types, allowedOps));
|
|
3001
2650
|
}
|
|
3002
|
-
state.dropEffect = $76b1e110a27b1ccd$export$5eacb0769d26d3b2[dropOperation] ||
|
|
2651
|
+
state.dropEffect = (0, $76b1e110a27b1ccd$export$5eacb0769d26d3b2)[dropOperation] || "none";
|
|
3003
2652
|
}
|
|
3004
|
-
if (typeof options.getDropOperationForPoint ===
|
|
3005
|
-
let
|
|
2653
|
+
if (typeof options.getDropOperationForPoint === "function") {
|
|
2654
|
+
let types1 = new (0, $4620ae0dc40f0031$export$7f04ce188c91447c)(e.dataTransfer);
|
|
3006
2655
|
let rect = e.currentTarget.getBoundingClientRect();
|
|
3007
|
-
let
|
|
3008
|
-
state.dropEffect = $76b1e110a27b1ccd$export$5eacb0769d26d3b2[
|
|
2656
|
+
let dropOperation1 = $1ca228bc9257ca16$var$getDropOperation(allowedOperations, options.getDropOperationForPoint(types1, $1ca228bc9257ca16$var$allowedOperationsToArray(allowedOperations), state.x - rect.x, state.y - rect.y));
|
|
2657
|
+
state.dropEffect = (0, $76b1e110a27b1ccd$export$5eacb0769d26d3b2)[dropOperation1] || "none";
|
|
3009
2658
|
}
|
|
3010
2659
|
state.allowedOperations = allowedOperations;
|
|
3011
2660
|
e.dataTransfer.dropEffect = state.dropEffect;
|
|
3012
2661
|
// If the drop operation changes, update state and fire events appropriately.
|
|
3013
|
-
if (state.dropEffect ===
|
|
3014
|
-
else if (state.dropEffect !==
|
|
3015
|
-
if (typeof options.onDropMove ===
|
|
3016
|
-
let
|
|
2662
|
+
if (state.dropEffect === "none" && prevDropEffect !== "none") fireDropExit(e);
|
|
2663
|
+
else if (state.dropEffect !== "none" && prevDropEffect === "none") fireDropEnter(e);
|
|
2664
|
+
if (typeof options.onDropMove === "function" && state.dropEffect !== "none") {
|
|
2665
|
+
let rect1 = e.currentTarget.getBoundingClientRect();
|
|
3017
2666
|
options.onDropMove({
|
|
3018
|
-
type:
|
|
3019
|
-
x: state.x -
|
|
3020
|
-
y: state.y -
|
|
2667
|
+
type: "dropmove",
|
|
2668
|
+
x: state.x - rect1.x,
|
|
2669
|
+
y: state.y - rect1.y
|
|
3021
2670
|
});
|
|
3022
2671
|
}
|
|
3023
2672
|
clearTimeout(state.dropActivateTimer);
|
|
3024
|
-
if (typeof options.onDropActivate ===
|
|
3025
|
-
let
|
|
2673
|
+
if (typeof options.onDropActivate === "function" && state.dropEffect !== "none") {
|
|
2674
|
+
let rect2 = e.currentTarget.getBoundingClientRect();
|
|
3026
2675
|
state.dropActivateTimer = setTimeout(()=>{
|
|
3027
2676
|
options.onDropActivate({
|
|
3028
|
-
type:
|
|
3029
|
-
x: state.x -
|
|
3030
|
-
y: state.y -
|
|
2677
|
+
type: "dropactivate",
|
|
2678
|
+
x: state.x - rect2.x,
|
|
2679
|
+
y: state.y - rect2.y
|
|
3031
2680
|
});
|
|
3032
2681
|
}, $1ca228bc9257ca16$var$DROP_ACTIVATE_TIMEOUT);
|
|
3033
2682
|
}
|
|
@@ -3040,21 +2689,21 @@ function $1ca228bc9257ca16$export$ccdee5eaf73cf661(options) {
|
|
|
3040
2689
|
let allowedOperationsBits = $1ca228bc9257ca16$var$getAllowedOperations(e);
|
|
3041
2690
|
let allowedOperations = $1ca228bc9257ca16$var$allowedOperationsToArray(allowedOperationsBits);
|
|
3042
2691
|
let dropOperation = allowedOperations[0];
|
|
3043
|
-
if (typeof options.getDropOperation ===
|
|
3044
|
-
let types = new $4620ae0dc40f0031$export$7f04ce188c91447c(e.dataTransfer);
|
|
2692
|
+
if (typeof options.getDropOperation === "function") {
|
|
2693
|
+
let types = new (0, $4620ae0dc40f0031$export$7f04ce188c91447c)(e.dataTransfer);
|
|
3045
2694
|
dropOperation = $1ca228bc9257ca16$var$getDropOperation(allowedOperationsBits, options.getDropOperation(types, allowedOperations));
|
|
3046
2695
|
}
|
|
3047
|
-
if (typeof options.getDropOperationForPoint ===
|
|
3048
|
-
let
|
|
2696
|
+
if (typeof options.getDropOperationForPoint === "function") {
|
|
2697
|
+
let types1 = new (0, $4620ae0dc40f0031$export$7f04ce188c91447c)(e.dataTransfer);
|
|
3049
2698
|
let rect = e.currentTarget.getBoundingClientRect();
|
|
3050
|
-
dropOperation = $1ca228bc9257ca16$var$getDropOperation(allowedOperationsBits, options.getDropOperationForPoint(
|
|
2699
|
+
dropOperation = $1ca228bc9257ca16$var$getDropOperation(allowedOperationsBits, options.getDropOperationForPoint(types1, allowedOperations, e.clientX - rect.x, e.clientY - rect.y));
|
|
3051
2700
|
}
|
|
3052
2701
|
state.x = e.clientX;
|
|
3053
2702
|
state.y = e.clientY;
|
|
3054
2703
|
state.allowedOperations = allowedOperationsBits;
|
|
3055
|
-
state.dropEffect = $76b1e110a27b1ccd$export$5eacb0769d26d3b2[dropOperation] ||
|
|
2704
|
+
state.dropEffect = (0, $76b1e110a27b1ccd$export$5eacb0769d26d3b2)[dropOperation] || "none";
|
|
3056
2705
|
e.dataTransfer.dropEffect = state.dropEffect;
|
|
3057
|
-
if (dropOperation !==
|
|
2706
|
+
if (dropOperation !== "cancel") fireDropEnter(e);
|
|
3058
2707
|
};
|
|
3059
2708
|
let onDragLeave = (e)=>{
|
|
3060
2709
|
e.preventDefault();
|
|
@@ -3069,7 +2718,7 @@ function $1ca228bc9257ca16$export$ccdee5eaf73cf661(options) {
|
|
|
3069
2718
|
state.dragOverElements.delete(e.target);
|
|
3070
2719
|
for (let element of state.dragOverElements)if (!e.currentTarget.contains(element)) state.dragOverElements.delete(element);
|
|
3071
2720
|
if (state.dragOverElements.size > 0) return;
|
|
3072
|
-
if (state.dropEffect !==
|
|
2721
|
+
if (state.dropEffect !== "none") fireDropExit(e);
|
|
3073
2722
|
clearTimeout(state.dropActivateTimer);
|
|
3074
2723
|
};
|
|
3075
2724
|
let onDrop = (e)=>{
|
|
@@ -3077,13 +2726,13 @@ function $1ca228bc9257ca16$export$ccdee5eaf73cf661(options) {
|
|
|
3077
2726
|
e.stopPropagation();
|
|
3078
2727
|
// Track drop effect in global state for Chrome Android. https://bugs.chromium.org/p/chromium/issues/detail?id=1353951
|
|
3079
2728
|
// Android onDragEnd always returns "none" as its drop effect.
|
|
3080
|
-
$4620ae0dc40f0031$export$64f52ed7349ddb84(state.dropEffect);
|
|
3081
|
-
if (typeof options.onDrop ===
|
|
3082
|
-
let dropOperation = $76b1e110a27b1ccd$export$608ecc6f1b23c35d[state.dropEffect];
|
|
3083
|
-
let items = $4620ae0dc40f0031$export$d9e760437831f8b3(e.dataTransfer);
|
|
2729
|
+
(0, $4620ae0dc40f0031$export$64f52ed7349ddb84)(state.dropEffect);
|
|
2730
|
+
if (typeof options.onDrop === "function") {
|
|
2731
|
+
let dropOperation = (0, $76b1e110a27b1ccd$export$608ecc6f1b23c35d)[state.dropEffect];
|
|
2732
|
+
let items = (0, $4620ae0dc40f0031$export$d9e760437831f8b3)(e.dataTransfer);
|
|
3084
2733
|
let rect = e.currentTarget.getBoundingClientRect();
|
|
3085
2734
|
let event = {
|
|
3086
|
-
type:
|
|
2735
|
+
type: "drop",
|
|
3087
2736
|
x: e.clientX - rect.x,
|
|
3088
2737
|
y: e.clientY - rect.y,
|
|
3089
2738
|
items: items,
|
|
@@ -3092,42 +2741,41 @@ function $1ca228bc9257ca16$export$ccdee5eaf73cf661(options) {
|
|
|
3092
2741
|
options.onDrop(event);
|
|
3093
2742
|
}
|
|
3094
2743
|
let dndStateSnapshot = {
|
|
3095
|
-
|
|
2744
|
+
...(0, $4620ae0dc40f0031$export$6ca6700462636d0b)
|
|
3096
2745
|
};
|
|
3097
2746
|
state.dragOverElements.clear();
|
|
3098
2747
|
fireDropExit(e);
|
|
3099
2748
|
clearTimeout(state.dropActivateTimer);
|
|
3100
2749
|
// If there wasn't a collection being tracked as a dragged collection, then we are in a case where a non RSP drag is dropped on a
|
|
3101
2750
|
// RSP collection and thus we don't need to preserve the global drop effect
|
|
3102
|
-
if (dndStateSnapshot.draggingCollectionRef == null) $4620ae0dc40f0031$export$64f52ed7349ddb84(undefined);
|
|
2751
|
+
if (dndStateSnapshot.draggingCollectionRef == null) (0, $4620ae0dc40f0031$export$64f52ed7349ddb84)(undefined);
|
|
3103
2752
|
else // Otherwise we need to preserve the global dnd state for onDragEnd's isInternal check.
|
|
3104
2753
|
// At the moment fireDropExit may clear dropCollectionRef (i.e. useDroppableCollection's provided onDropExit, required to clear dropCollectionRef when exiting a valid drop target)
|
|
3105
|
-
$4620ae0dc40f0031$export$6c10d32b362bfa5f(dndStateSnapshot);
|
|
2754
|
+
(0, $4620ae0dc40f0031$export$6c10d32b362bfa5f)(dndStateSnapshot);
|
|
3106
2755
|
};
|
|
3107
|
-
let optionsRef = $4vY0V$react.useRef(options);
|
|
2756
|
+
let optionsRef = (0, $4vY0V$react.useRef)(options);
|
|
3108
2757
|
optionsRef.current = options;
|
|
3109
|
-
$4vY0V$reactariautils.useLayoutEffect(()=>$28e10663603f5ea1$export$c28d9fb4a54e471a({
|
|
2758
|
+
(0, $4vY0V$reactariautils.useLayoutEffect)(()=>$28e10663603f5ea1$export$c28d9fb4a54e471a({
|
|
3110
2759
|
element: optionsRef.current.ref.current,
|
|
3111
2760
|
getDropOperation: optionsRef.current.getDropOperation,
|
|
3112
2761
|
onDropEnter (e) {
|
|
3113
2762
|
setDropTarget(true);
|
|
3114
|
-
if (typeof optionsRef.current.onDropEnter ===
|
|
2763
|
+
if (typeof optionsRef.current.onDropEnter === "function") optionsRef.current.onDropEnter(e);
|
|
3115
2764
|
},
|
|
3116
2765
|
onDropExit (e) {
|
|
3117
2766
|
setDropTarget(false);
|
|
3118
|
-
if (typeof optionsRef.current.onDropExit ===
|
|
2767
|
+
if (typeof optionsRef.current.onDropExit === "function") optionsRef.current.onDropExit(e);
|
|
3119
2768
|
},
|
|
3120
2769
|
onDrop (e) {
|
|
3121
|
-
if (typeof optionsRef.current.onDrop ===
|
|
2770
|
+
if (typeof optionsRef.current.onDrop === "function") optionsRef.current.onDrop(e);
|
|
3122
2771
|
},
|
|
3123
2772
|
onDropActivate (e) {
|
|
3124
|
-
if (typeof optionsRef.current.onDropActivate ===
|
|
2773
|
+
if (typeof optionsRef.current.onDropActivate === "function") optionsRef.current.onDropActivate(e);
|
|
3125
2774
|
}
|
|
3126
|
-
})
|
|
3127
|
-
, [
|
|
2775
|
+
}), [
|
|
3128
2776
|
optionsRef
|
|
3129
2777
|
]);
|
|
3130
|
-
let { dropProps: dropProps } = $419982e205c8e8dc$export$62447ad3d2ec7da6();
|
|
2778
|
+
let { dropProps: dropProps } = (0, $419982e205c8e8dc$export$62447ad3d2ec7da6)();
|
|
3131
2779
|
return {
|
|
3132
2780
|
dropProps: {
|
|
3133
2781
|
...dropProps,
|
|
@@ -3140,7 +2788,7 @@ function $1ca228bc9257ca16$export$ccdee5eaf73cf661(options) {
|
|
|
3140
2788
|
};
|
|
3141
2789
|
}
|
|
3142
2790
|
function $1ca228bc9257ca16$var$getAllowedOperations(e) {
|
|
3143
|
-
let allowedOperations = $76b1e110a27b1ccd$export$9bbdfc78cf083e16[e.dataTransfer.effectAllowed];
|
|
2791
|
+
let allowedOperations = (0, $76b1e110a27b1ccd$export$9bbdfc78cf083e16)[e.dataTransfer.effectAllowed];
|
|
3144
2792
|
// WebKit always sets effectAllowed to "copyMove" on macOS, and "all" on iOS, regardless of what was
|
|
3145
2793
|
// set during the dragstart event: https://bugs.webkit.org/show_bug.cgi?id=178058
|
|
3146
2794
|
//
|
|
@@ -3149,7 +2797,7 @@ function $1ca228bc9257ca16$var$getAllowedOperations(e) {
|
|
|
3149
2797
|
// If the drag started within the page, we can use a global variable to get the real allowed operations.
|
|
3150
2798
|
// This needs to be intersected with the actual effectAllowed, which may have been filtered based on modifier keys.
|
|
3151
2799
|
// Unfortunately, this means that link operations do not work at all in Safari.
|
|
3152
|
-
if ($4620ae0dc40f0031$export$f0130eb70b6347b8) allowedOperations &= $4620ae0dc40f0031$export$f0130eb70b6347b8;
|
|
2800
|
+
if (0, $4620ae0dc40f0031$export$f0130eb70b6347b8) allowedOperations &= (0, $4620ae0dc40f0031$export$f0130eb70b6347b8);
|
|
3153
2801
|
// Chrome and Safari on macOS will automatically filter effectAllowed when pressing modifier keys,
|
|
3154
2802
|
// allowing the user to switch between move, link, and copy operations. Firefox on macOS and all
|
|
3155
2803
|
// Windows browsers do not do this, so do it ourselves instead. The exact keys are platform dependent.
|
|
@@ -3157,56 +2805,76 @@ function $1ca228bc9257ca16$var$getAllowedOperations(e) {
|
|
|
3157
2805
|
//
|
|
3158
2806
|
// Note that none of these modifiers are ever set in WebKit due to a bug: https://bugs.webkit.org/show_bug.cgi?id=77465
|
|
3159
2807
|
// However, Safari does update effectAllowed correctly, so we can just rely on that.
|
|
3160
|
-
let allowedModifiers = $76b1e110a27b1ccd$export$60b7b4bcf3903d8e.none;
|
|
3161
|
-
if ($4vY0V$reactariautils.isMac()) {
|
|
3162
|
-
if (e.altKey) allowedModifiers |= $76b1e110a27b1ccd$export$60b7b4bcf3903d8e.copy;
|
|
2808
|
+
let allowedModifiers = (0, $76b1e110a27b1ccd$export$60b7b4bcf3903d8e).none;
|
|
2809
|
+
if ((0, $4vY0V$reactariautils.isMac)()) {
|
|
2810
|
+
if (e.altKey) allowedModifiers |= (0, $76b1e110a27b1ccd$export$60b7b4bcf3903d8e).copy;
|
|
3163
2811
|
// Chrome and Safari both use the Control key for link, even though Finder uses Command + Option.
|
|
3164
2812
|
// iPadOS doesn't support link operations and will not fire the drop event at all if dropEffect is set to link.
|
|
3165
2813
|
// https://bugs.webkit.org/show_bug.cgi?id=244701
|
|
3166
|
-
if (e.ctrlKey &&
|
|
3167
|
-
if (e.metaKey) allowedModifiers |= $76b1e110a27b1ccd$export$60b7b4bcf3903d8e.move;
|
|
2814
|
+
if (e.ctrlKey && !(0, $4vY0V$reactariautils.isIPad)()) allowedModifiers |= (0, $76b1e110a27b1ccd$export$60b7b4bcf3903d8e).link;
|
|
2815
|
+
if (e.metaKey) allowedModifiers |= (0, $76b1e110a27b1ccd$export$60b7b4bcf3903d8e).move;
|
|
3168
2816
|
} else {
|
|
3169
|
-
if (e.altKey) allowedModifiers |= $76b1e110a27b1ccd$export$60b7b4bcf3903d8e.link;
|
|
3170
|
-
if (e.shiftKey) allowedModifiers |= $76b1e110a27b1ccd$export$60b7b4bcf3903d8e.move;
|
|
3171
|
-
if (e.ctrlKey) allowedModifiers |= $76b1e110a27b1ccd$export$60b7b4bcf3903d8e.copy;
|
|
2817
|
+
if (e.altKey) allowedModifiers |= (0, $76b1e110a27b1ccd$export$60b7b4bcf3903d8e).link;
|
|
2818
|
+
if (e.shiftKey) allowedModifiers |= (0, $76b1e110a27b1ccd$export$60b7b4bcf3903d8e).move;
|
|
2819
|
+
if (e.ctrlKey) allowedModifiers |= (0, $76b1e110a27b1ccd$export$60b7b4bcf3903d8e).copy;
|
|
3172
2820
|
}
|
|
3173
2821
|
if (allowedModifiers) return allowedOperations & allowedModifiers;
|
|
3174
2822
|
return allowedOperations;
|
|
3175
2823
|
}
|
|
3176
2824
|
function $1ca228bc9257ca16$var$allowedOperationsToArray(allowedOperationsBits) {
|
|
3177
2825
|
let allowedOperations = [];
|
|
3178
|
-
if (allowedOperationsBits & $76b1e110a27b1ccd$export$60b7b4bcf3903d8e.move) allowedOperations.push(
|
|
3179
|
-
if (allowedOperationsBits & $76b1e110a27b1ccd$export$60b7b4bcf3903d8e.copy) allowedOperations.push(
|
|
3180
|
-
if (allowedOperationsBits & $76b1e110a27b1ccd$export$60b7b4bcf3903d8e.link) allowedOperations.push(
|
|
2826
|
+
if (allowedOperationsBits & (0, $76b1e110a27b1ccd$export$60b7b4bcf3903d8e).move) allowedOperations.push("move");
|
|
2827
|
+
if (allowedOperationsBits & (0, $76b1e110a27b1ccd$export$60b7b4bcf3903d8e).copy) allowedOperations.push("copy");
|
|
2828
|
+
if (allowedOperationsBits & (0, $76b1e110a27b1ccd$export$60b7b4bcf3903d8e).link) allowedOperations.push("link");
|
|
3181
2829
|
return allowedOperations;
|
|
3182
2830
|
}
|
|
3183
2831
|
function $1ca228bc9257ca16$var$getDropOperation(allowedOperations, operation) {
|
|
3184
|
-
let op = $76b1e110a27b1ccd$export$60b7b4bcf3903d8e[operation];
|
|
3185
|
-
return allowedOperations & op ? operation :
|
|
2832
|
+
let op = (0, $76b1e110a27b1ccd$export$60b7b4bcf3903d8e)[operation];
|
|
2833
|
+
return allowedOperations & op ? operation : "cancel";
|
|
3186
2834
|
}
|
|
3187
2835
|
|
|
3188
2836
|
|
|
2837
|
+
/*
|
|
2838
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
2839
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
2840
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
2841
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
2842
|
+
*
|
|
2843
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
2844
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
2845
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
2846
|
+
* governing permissions and limitations under the License.
|
|
2847
|
+
*/
|
|
3189
2848
|
|
|
3190
2849
|
|
|
3191
2850
|
|
|
3192
2851
|
|
|
3193
|
-
|
|
3194
|
-
|
|
2852
|
+
/*
|
|
2853
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
2854
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
2855
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
2856
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
2857
|
+
*
|
|
2858
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
2859
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
2860
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
2861
|
+
* governing permissions and limitations under the License.
|
|
2862
|
+
*/
|
|
3195
2863
|
|
|
3196
2864
|
const $12cc069a1c69155b$var$AUTOSCROLL_AREA_SIZE = 20;
|
|
3197
2865
|
function $12cc069a1c69155b$export$6323452ca4533ed8(ref) {
|
|
3198
|
-
let scrollableRef = $4vY0V$react.useRef(null);
|
|
3199
|
-
$4vY0V$react.useEffect(()=>{
|
|
3200
|
-
if (ref.current) scrollableRef.current = $4vY0V$reactariautils.getScrollParent(ref.current);
|
|
2866
|
+
let scrollableRef = (0, $4vY0V$react.useRef)(null);
|
|
2867
|
+
(0, $4vY0V$react.useEffect)(()=>{
|
|
2868
|
+
if (ref.current) scrollableRef.current = (0, $4vY0V$reactariautils.getScrollParent)(ref.current);
|
|
3201
2869
|
}, [
|
|
3202
2870
|
ref
|
|
3203
2871
|
]);
|
|
3204
|
-
let state = $4vY0V$react.useRef({
|
|
2872
|
+
let state = (0, $4vY0V$react.useRef)({
|
|
3205
2873
|
timer: null,
|
|
3206
2874
|
dx: 0,
|
|
3207
2875
|
dy: 0
|
|
3208
2876
|
}).current;
|
|
3209
|
-
let scroll = $4vY0V$react.useCallback(()=>{
|
|
2877
|
+
let scroll = (0, $4vY0V$react.useCallback)(()=>{
|
|
3210
2878
|
scrollableRef.current.scrollLeft += state.dx;
|
|
3211
2879
|
scrollableRef.current.scrollTop += state.dy;
|
|
3212
2880
|
if (state.timer) state.timer = requestAnimationFrame(scroll);
|
|
@@ -3218,7 +2886,7 @@ function $12cc069a1c69155b$export$6323452ca4533ed8(ref) {
|
|
|
3218
2886
|
move (x, y) {
|
|
3219
2887
|
// Most browsers auto scroll natively, but WebKit on macOS does not (iOS does 🤷♂️).
|
|
3220
2888
|
// https://bugs.webkit.org/show_bug.cgi?id=222636
|
|
3221
|
-
if (
|
|
2889
|
+
if (!(0, $4vY0V$reactariautils.isWebKit)() || (0, $4vY0V$reactariautils.isIOS)() || !scrollableRef.current) return;
|
|
3222
2890
|
let box = scrollableRef.current.getBoundingClientRect();
|
|
3223
2891
|
let left = $12cc069a1c69155b$var$AUTOSCROLL_AREA_SIZE;
|
|
3224
2892
|
let top = $12cc069a1c69155b$var$AUTOSCROLL_AREA_SIZE;
|
|
@@ -3244,55 +2912,54 @@ function $12cc069a1c69155b$export$6323452ca4533ed8(ref) {
|
|
|
3244
2912
|
|
|
3245
2913
|
|
|
3246
2914
|
const $7f93a158ac20b90a$var$DROP_POSITIONS = [
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
2915
|
+
"before",
|
|
2916
|
+
"on",
|
|
2917
|
+
"after"
|
|
3250
2918
|
];
|
|
3251
|
-
function $7f93a158ac20b90a$export$f4e2f423c21f7b04(props,
|
|
3252
|
-
let localState = $4vY0V$react.useRef({
|
|
2919
|
+
function $7f93a158ac20b90a$export$f4e2f423c21f7b04(props, state, ref) {
|
|
2920
|
+
let localState = (0, $4vY0V$react.useRef)({
|
|
3253
2921
|
props: props,
|
|
3254
|
-
state:
|
|
2922
|
+
state: state,
|
|
3255
2923
|
nextTarget: null,
|
|
3256
2924
|
dropOperation: null
|
|
3257
2925
|
}).current;
|
|
3258
2926
|
localState.props = props;
|
|
3259
|
-
localState.state =
|
|
3260
|
-
let defaultOnDrop = $4vY0V$react.useCallback(async (e)=>{
|
|
3261
|
-
let { onInsert: onInsert , onRootDrop: onRootDrop , onItemDrop: onItemDrop , onReorder: onReorder , acceptedDragTypes: acceptedDragTypes =
|
|
3262
|
-
let { draggingKeys: draggingKeys } = $4620ae0dc40f0031$export$6ca6700462636d0b;
|
|
3263
|
-
let isInternal = $4620ae0dc40f0031$export$78bf638634500fa5(
|
|
2927
|
+
localState.state = state;
|
|
2928
|
+
let defaultOnDrop = (0, $4vY0V$react.useCallback)(async (e)=>{
|
|
2929
|
+
let { onInsert: onInsert , onRootDrop: onRootDrop , onItemDrop: onItemDrop , onReorder: onReorder , acceptedDragTypes: acceptedDragTypes = "all" , shouldAcceptItemDrop: shouldAcceptItemDrop } = localState.props;
|
|
2930
|
+
let { draggingKeys: draggingKeys } = (0, $4620ae0dc40f0031$export$6ca6700462636d0b);
|
|
2931
|
+
let isInternal = (0, $4620ae0dc40f0031$export$78bf638634500fa5)(ref);
|
|
3264
2932
|
let { target: target , dropOperation: dropOperation , items: items } = e;
|
|
3265
2933
|
let filteredItems = items;
|
|
3266
|
-
if (acceptedDragTypes !==
|
|
2934
|
+
if (acceptedDragTypes !== "all" || shouldAcceptItemDrop) filteredItems = items.filter((item)=>{
|
|
3267
2935
|
let itemTypes;
|
|
3268
|
-
if (item.kind ===
|
|
3269
|
-
$4620ae0dc40f0031$export$990fced5dfac2637
|
|
2936
|
+
if (item.kind === "directory") itemTypes = new Set([
|
|
2937
|
+
(0, $4620ae0dc40f0031$export$990fced5dfac2637)
|
|
3270
2938
|
]);
|
|
3271
|
-
else itemTypes = item.kind ===
|
|
2939
|
+
else itemTypes = item.kind === "file" ? new Set([
|
|
3272
2940
|
item.type
|
|
3273
2941
|
]) : item.types;
|
|
3274
|
-
if (acceptedDragTypes ===
|
|
3275
|
-
)) {
|
|
2942
|
+
if (acceptedDragTypes === "all" || acceptedDragTypes.some((type)=>itemTypes.has(type))) {
|
|
3276
2943
|
// If we are performing a on item drop, check if the item in question accepts the dropped item since the item may have heavier restrictions
|
|
3277
2944
|
// than the droppable collection itself
|
|
3278
|
-
if (target.type ===
|
|
2945
|
+
if (target.type === "item" && target.dropPosition === "on" && shouldAcceptItemDrop) return shouldAcceptItemDrop(target, itemTypes);
|
|
3279
2946
|
return true;
|
|
3280
2947
|
}
|
|
3281
2948
|
return false;
|
|
3282
2949
|
});
|
|
3283
2950
|
if (filteredItems.length > 0) {
|
|
3284
|
-
if (target.type ===
|
|
2951
|
+
if (target.type === "root" && onRootDrop) await onRootDrop({
|
|
3285
2952
|
items: filteredItems,
|
|
3286
2953
|
dropOperation: dropOperation
|
|
3287
2954
|
});
|
|
3288
|
-
if (target.type ===
|
|
3289
|
-
if (target.dropPosition ===
|
|
2955
|
+
if (target.type === "item") {
|
|
2956
|
+
if (target.dropPosition === "on" && onItemDrop) await onItemDrop({
|
|
3290
2957
|
items: filteredItems,
|
|
3291
2958
|
dropOperation: dropOperation,
|
|
3292
2959
|
isInternal: isInternal,
|
|
3293
2960
|
target: target
|
|
3294
2961
|
});
|
|
3295
|
-
if (target.dropPosition !==
|
|
2962
|
+
if (target.dropPosition !== "on") {
|
|
3296
2963
|
if (!isInternal && onInsert) await onInsert({
|
|
3297
2964
|
items: filteredItems,
|
|
3298
2965
|
dropOperation: dropOperation,
|
|
@@ -3308,104 +2975,103 @@ function $7f93a158ac20b90a$export$f4e2f423c21f7b04(props, state1, ref2) {
|
|
|
3308
2975
|
}
|
|
3309
2976
|
}, [
|
|
3310
2977
|
localState,
|
|
3311
|
-
|
|
2978
|
+
ref
|
|
3312
2979
|
]);
|
|
3313
|
-
let autoScroll = $12cc069a1c69155b$export$6323452ca4533ed8(
|
|
3314
|
-
let { dropProps: dropProps } = $1ca228bc9257ca16$export$ccdee5eaf73cf661({
|
|
3315
|
-
ref:
|
|
2980
|
+
let autoScroll = (0, $12cc069a1c69155b$export$6323452ca4533ed8)(ref);
|
|
2981
|
+
let { dropProps: dropProps } = (0, $1ca228bc9257ca16$export$ccdee5eaf73cf661)({
|
|
2982
|
+
ref: ref,
|
|
3316
2983
|
onDropEnter () {
|
|
3317
|
-
|
|
2984
|
+
state.setTarget(localState.nextTarget);
|
|
3318
2985
|
},
|
|
3319
2986
|
onDropMove (e) {
|
|
3320
|
-
|
|
2987
|
+
state.setTarget(localState.nextTarget);
|
|
3321
2988
|
autoScroll.move(e.x, e.y);
|
|
3322
2989
|
},
|
|
3323
2990
|
getDropOperationForPoint (types, allowedOperations, x, y) {
|
|
3324
|
-
let { draggingKeys: draggingKeys , dropCollectionRef: dropCollectionRef } = $4620ae0dc40f0031$export$6ca6700462636d0b;
|
|
3325
|
-
let isInternal = $4620ae0dc40f0031$export$78bf638634500fa5(
|
|
3326
|
-
let isValidDropTarget = (target)=>
|
|
2991
|
+
let { draggingKeys: draggingKeys , dropCollectionRef: dropCollectionRef } = (0, $4620ae0dc40f0031$export$6ca6700462636d0b);
|
|
2992
|
+
let isInternal = (0, $4620ae0dc40f0031$export$78bf638634500fa5)(ref);
|
|
2993
|
+
let isValidDropTarget = (target)=>state.getDropOperation({
|
|
3327
2994
|
target: target,
|
|
3328
2995
|
types: types,
|
|
3329
2996
|
allowedOperations: allowedOperations,
|
|
3330
2997
|
isInternal: isInternal,
|
|
3331
2998
|
draggingKeys: draggingKeys
|
|
3332
|
-
}) !==
|
|
3333
|
-
;
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
localState.dropOperation = 'cancel';
|
|
2999
|
+
}) !== "cancel";
|
|
3000
|
+
let target = props.dropTargetDelegate.getDropTargetFromPoint(x, y, isValidDropTarget);
|
|
3001
|
+
if (!target) {
|
|
3002
|
+
localState.dropOperation = "cancel";
|
|
3337
3003
|
localState.nextTarget = null;
|
|
3338
|
-
return
|
|
3004
|
+
return "cancel";
|
|
3339
3005
|
}
|
|
3340
|
-
localState.dropOperation =
|
|
3341
|
-
target:
|
|
3006
|
+
localState.dropOperation = state.getDropOperation({
|
|
3007
|
+
target: target,
|
|
3342
3008
|
types: types,
|
|
3343
3009
|
allowedOperations: allowedOperations,
|
|
3344
3010
|
isInternal: isInternal,
|
|
3345
3011
|
draggingKeys: draggingKeys
|
|
3346
3012
|
});
|
|
3347
3013
|
// If the target doesn't accept the drop, see if the root accepts it instead.
|
|
3348
|
-
if (localState.dropOperation ===
|
|
3014
|
+
if (localState.dropOperation === "cancel") {
|
|
3349
3015
|
let rootTarget = {
|
|
3350
|
-
type:
|
|
3016
|
+
type: "root"
|
|
3351
3017
|
};
|
|
3352
|
-
let dropOperation =
|
|
3018
|
+
let dropOperation = state.getDropOperation({
|
|
3353
3019
|
target: rootTarget,
|
|
3354
3020
|
types: types,
|
|
3355
3021
|
allowedOperations: allowedOperations,
|
|
3356
3022
|
isInternal: isInternal,
|
|
3357
3023
|
draggingKeys: draggingKeys
|
|
3358
3024
|
});
|
|
3359
|
-
if (dropOperation !==
|
|
3360
|
-
|
|
3025
|
+
if (dropOperation !== "cancel") {
|
|
3026
|
+
target = rootTarget;
|
|
3361
3027
|
localState.dropOperation = dropOperation;
|
|
3362
3028
|
}
|
|
3363
3029
|
}
|
|
3364
3030
|
// Only set dropCollectionRef if there is a valid drop target since we cleanup dropCollectionRef in onDropExit
|
|
3365
3031
|
// which only runs when leaving a valid drop target or if the dropEffect become none (mouse dnd only).
|
|
3366
|
-
if (
|
|
3367
|
-
localState.nextTarget = localState.dropOperation ===
|
|
3032
|
+
if (target && localState.dropOperation !== "cancel" && (ref === null || ref === void 0 ? void 0 : ref.current) !== (dropCollectionRef === null || dropCollectionRef === void 0 ? void 0 : dropCollectionRef.current)) (0, $4620ae0dc40f0031$export$dac8db29d42db9a1)(ref);
|
|
3033
|
+
localState.nextTarget = localState.dropOperation === "cancel" ? null : target;
|
|
3368
3034
|
return localState.dropOperation;
|
|
3369
3035
|
},
|
|
3370
3036
|
onDropExit () {
|
|
3371
|
-
$4620ae0dc40f0031$export$dac8db29d42db9a1(undefined);
|
|
3372
|
-
|
|
3037
|
+
(0, $4620ae0dc40f0031$export$dac8db29d42db9a1)(undefined);
|
|
3038
|
+
state.setTarget(null);
|
|
3373
3039
|
autoScroll.stop();
|
|
3374
3040
|
},
|
|
3375
3041
|
onDropActivate (e) {
|
|
3376
3042
|
var ref, ref1;
|
|
3377
|
-
if (((ref =
|
|
3378
|
-
type:
|
|
3043
|
+
if (((ref = state.target) === null || ref === void 0 ? void 0 : ref.type) === "item" && ((ref1 = state.target) === null || ref1 === void 0 ? void 0 : ref1.dropPosition) === "on" && typeof props.onDropActivate === "function") props.onDropActivate({
|
|
3044
|
+
type: "dropactivate",
|
|
3379
3045
|
x: e.x,
|
|
3380
3046
|
y: e.y,
|
|
3381
|
-
target:
|
|
3047
|
+
target: state.target
|
|
3382
3048
|
});
|
|
3383
3049
|
},
|
|
3384
3050
|
onDrop (e) {
|
|
3385
|
-
$4620ae0dc40f0031$export$dac8db29d42db9a1(
|
|
3386
|
-
if (
|
|
3051
|
+
(0, $4620ae0dc40f0031$export$dac8db29d42db9a1)(ref);
|
|
3052
|
+
if (state.target) onDrop(e, state.target);
|
|
3387
3053
|
// If there wasn't a collection being tracked as a dragged collection, then we are in a case where a non RSP drag is dropped on a
|
|
3388
3054
|
// RSP collection and thus we don't need to preserve the global DnD state for onDragEnd
|
|
3389
|
-
let { draggingCollectionRef: draggingCollectionRef } = $4620ae0dc40f0031$export$6ca6700462636d0b;
|
|
3390
|
-
if (draggingCollectionRef == null) $4620ae0dc40f0031$export$70936501603e6c57();
|
|
3055
|
+
let { draggingCollectionRef: draggingCollectionRef } = (0, $4620ae0dc40f0031$export$6ca6700462636d0b);
|
|
3056
|
+
if (draggingCollectionRef == null) (0, $4620ae0dc40f0031$export$70936501603e6c57)();
|
|
3391
3057
|
}
|
|
3392
3058
|
});
|
|
3393
|
-
let droppingState = $4vY0V$react.useRef(null);
|
|
3394
|
-
let onDrop = $4vY0V$react.useCallback((e, target)=>{
|
|
3395
|
-
let { state:
|
|
3059
|
+
let droppingState = (0, $4vY0V$react.useRef)(null);
|
|
3060
|
+
let onDrop = (0, $4vY0V$react.useCallback)((e, target)=>{
|
|
3061
|
+
let { state: state } = localState;
|
|
3396
3062
|
// Focus the collection.
|
|
3397
|
-
|
|
3063
|
+
state.selectionManager.setFocused(true);
|
|
3398
3064
|
// Save some state of the collection/selection before the drop occurs so we can compare later.
|
|
3399
|
-
let focusedKey =
|
|
3065
|
+
let focusedKey = state.selectionManager.focusedKey;
|
|
3400
3066
|
droppingState.current = {
|
|
3401
3067
|
timeout: null,
|
|
3402
3068
|
focusedKey: focusedKey,
|
|
3403
|
-
collection:
|
|
3404
|
-
selectedKeys:
|
|
3069
|
+
collection: state.collection,
|
|
3070
|
+
selectedKeys: state.selectionManager.selectedKeys
|
|
3405
3071
|
};
|
|
3406
3072
|
let onDropFn = localState.props.onDrop || defaultOnDrop;
|
|
3407
3073
|
onDropFn({
|
|
3408
|
-
type:
|
|
3074
|
+
type: "drop",
|
|
3409
3075
|
x: e.x,
|
|
3410
3076
|
y: e.y,
|
|
3411
3077
|
target: target,
|
|
@@ -3421,11 +3087,11 @@ function $7f93a158ac20b90a$export$f4e2f423c21f7b04(props, state1, ref2) {
|
|
|
3421
3087
|
// focus that item and show the focus ring to give the user feedback that the drop occurred.
|
|
3422
3088
|
// Also show the focus ring if the focused key is not selected, e.g. in case of a reorder.
|
|
3423
3089
|
let { state: state } = localState;
|
|
3424
|
-
if (target.type ===
|
|
3090
|
+
if (target.type === "item" && target.dropPosition === "on" && state.collection.getItem(target.key) != null) {
|
|
3425
3091
|
state.selectionManager.setFocusedKey(target.key);
|
|
3426
3092
|
state.selectionManager.setFocused(true);
|
|
3427
|
-
$4vY0V$reactariainteractions.setInteractionModality(
|
|
3428
|
-
} else if (!state.selectionManager.isSelected(focusedKey)) $4vY0V$reactariainteractions.setInteractionModality(
|
|
3093
|
+
(0, $4vY0V$reactariainteractions.setInteractionModality)("keyboard");
|
|
3094
|
+
} else if (!state.selectionManager.isSelected(focusedKey)) (0, $4vY0V$reactariainteractions.setInteractionModality)("keyboard");
|
|
3429
3095
|
droppingState.current = null;
|
|
3430
3096
|
}, 50);
|
|
3431
3097
|
}, [
|
|
@@ -3433,86 +3099,86 @@ function $7f93a158ac20b90a$export$f4e2f423c21f7b04(props, state1, ref2) {
|
|
|
3433
3099
|
defaultOnDrop
|
|
3434
3100
|
]);
|
|
3435
3101
|
// eslint-disable-next-line arrow-body-style
|
|
3436
|
-
$4vY0V$react.useEffect(()=>{
|
|
3102
|
+
(0, $4vY0V$react.useEffect)(()=>{
|
|
3437
3103
|
return ()=>{
|
|
3438
3104
|
if (droppingState.current) clearTimeout(droppingState.current.timeout);
|
|
3439
3105
|
};
|
|
3440
3106
|
}, []);
|
|
3441
|
-
$4vY0V$reactariautils.useLayoutEffect(()=>{
|
|
3107
|
+
(0, $4vY0V$reactariautils.useLayoutEffect)(()=>{
|
|
3442
3108
|
// If an insert occurs during a drop, we want to immediately select these items to give
|
|
3443
3109
|
// feedback to the user that a drop occurred. Only do this if the selection didn't change
|
|
3444
3110
|
// since the drop started so we don't override if the user or application did something.
|
|
3445
|
-
if (droppingState.current &&
|
|
3111
|
+
if (droppingState.current && state.selectionManager.isFocused && state.collection.size > droppingState.current.collection.size && state.selectionManager.isSelectionEqual(droppingState.current.selectedKeys)) {
|
|
3446
3112
|
let newKeys = new Set();
|
|
3447
|
-
for (let key of
|
|
3448
|
-
|
|
3113
|
+
for (let key of state.collection.getKeys())if (!droppingState.current.collection.getItem(key)) newKeys.add(key);
|
|
3114
|
+
state.selectionManager.setSelectedKeys(newKeys);
|
|
3449
3115
|
// If the focused item didn't change since the drop occurred, also focus the first
|
|
3450
3116
|
// inserted item. If selection is disabled, then also show the focus ring so there
|
|
3451
3117
|
// is some indication that items were added.
|
|
3452
|
-
if (
|
|
3118
|
+
if (state.selectionManager.focusedKey === droppingState.current.focusedKey) {
|
|
3453
3119
|
let first = newKeys.keys().next().value;
|
|
3454
|
-
|
|
3455
|
-
if (
|
|
3120
|
+
state.selectionManager.setFocusedKey(first);
|
|
3121
|
+
if (state.selectionManager.selectionMode === "none") (0, $4vY0V$reactariainteractions.setInteractionModality)("keyboard");
|
|
3456
3122
|
}
|
|
3457
3123
|
droppingState.current = null;
|
|
3458
3124
|
}
|
|
3459
3125
|
});
|
|
3460
|
-
$4vY0V$react.useEffect(()=>{
|
|
3461
|
-
let
|
|
3126
|
+
(0, $4vY0V$react.useEffect)(()=>{
|
|
3127
|
+
let getNextTarget = (target, wrap = true)=>{
|
|
3462
3128
|
if (!target) return {
|
|
3463
|
-
type:
|
|
3129
|
+
type: "root"
|
|
3464
3130
|
};
|
|
3465
3131
|
let { keyboardDelegate: keyboardDelegate } = localState.props;
|
|
3466
|
-
let nextKey = target.type ===
|
|
3467
|
-
let dropPosition =
|
|
3468
|
-
if (target.type ===
|
|
3132
|
+
let nextKey = target.type === "item" ? keyboardDelegate.getKeyBelow(target.key) : keyboardDelegate.getFirstKey();
|
|
3133
|
+
let dropPosition = "before";
|
|
3134
|
+
if (target.type === "item") {
|
|
3469
3135
|
let positionIndex = $7f93a158ac20b90a$var$DROP_POSITIONS.indexOf(target.dropPosition);
|
|
3470
3136
|
let nextDropPosition = $7f93a158ac20b90a$var$DROP_POSITIONS[positionIndex + 1];
|
|
3471
|
-
if (positionIndex < $7f93a158ac20b90a$var$DROP_POSITIONS.length - 1 && !(nextDropPosition ===
|
|
3472
|
-
type:
|
|
3137
|
+
if (positionIndex < $7f93a158ac20b90a$var$DROP_POSITIONS.length - 1 && !(nextDropPosition === "after" && nextKey != null)) return {
|
|
3138
|
+
type: "item",
|
|
3473
3139
|
key: target.key,
|
|
3474
3140
|
dropPosition: nextDropPosition
|
|
3475
3141
|
};
|
|
3476
3142
|
// If the last drop position was 'after', then 'before' on the next key is equivalent.
|
|
3477
3143
|
// Switch to 'on' instead.
|
|
3478
|
-
if (target.dropPosition ===
|
|
3144
|
+
if (target.dropPosition === "after") dropPosition = "on";
|
|
3479
3145
|
}
|
|
3480
3146
|
if (nextKey == null) {
|
|
3481
3147
|
if (wrap) return {
|
|
3482
|
-
type:
|
|
3148
|
+
type: "root"
|
|
3483
3149
|
};
|
|
3484
3150
|
return null;
|
|
3485
3151
|
}
|
|
3486
3152
|
return {
|
|
3487
|
-
type:
|
|
3153
|
+
type: "item",
|
|
3488
3154
|
key: nextKey,
|
|
3489
3155
|
dropPosition: dropPosition
|
|
3490
3156
|
};
|
|
3491
3157
|
};
|
|
3492
3158
|
let getPreviousTarget = (target, wrap = true)=>{
|
|
3493
3159
|
let { keyboardDelegate: keyboardDelegate } = localState.props;
|
|
3494
|
-
let nextKey = (target === null || target === void 0 ? void 0 : target.type) ===
|
|
3495
|
-
let dropPosition = !target || target.type ===
|
|
3496
|
-
if ((target === null || target === void 0 ? void 0 : target.type) ===
|
|
3160
|
+
let nextKey = (target === null || target === void 0 ? void 0 : target.type) === "item" ? keyboardDelegate.getKeyAbove(target.key) : keyboardDelegate.getLastKey();
|
|
3161
|
+
let dropPosition = !target || target.type === "root" ? "after" : "on";
|
|
3162
|
+
if ((target === null || target === void 0 ? void 0 : target.type) === "item") {
|
|
3497
3163
|
let positionIndex = $7f93a158ac20b90a$var$DROP_POSITIONS.indexOf(target.dropPosition);
|
|
3498
3164
|
let nextDropPosition = $7f93a158ac20b90a$var$DROP_POSITIONS[positionIndex - 1];
|
|
3499
|
-
if (positionIndex > 0 && nextDropPosition !==
|
|
3500
|
-
type:
|
|
3165
|
+
if (positionIndex > 0 && nextDropPosition !== "after") return {
|
|
3166
|
+
type: "item",
|
|
3501
3167
|
key: target.key,
|
|
3502
3168
|
dropPosition: nextDropPosition
|
|
3503
3169
|
};
|
|
3504
3170
|
// If the last drop position was 'before', then 'after' on the previous key is equivalent.
|
|
3505
3171
|
// Switch to 'on' instead.
|
|
3506
|
-
if (target.dropPosition ===
|
|
3172
|
+
if (target.dropPosition === "before") dropPosition = "on";
|
|
3507
3173
|
}
|
|
3508
3174
|
if (nextKey == null) {
|
|
3509
3175
|
if (wrap) return {
|
|
3510
|
-
type:
|
|
3176
|
+
type: "root"
|
|
3511
3177
|
};
|
|
3512
3178
|
return null;
|
|
3513
3179
|
}
|
|
3514
3180
|
return {
|
|
3515
|
-
type:
|
|
3181
|
+
type: "item",
|
|
3516
3182
|
key: nextKey,
|
|
3517
3183
|
dropPosition: dropPosition
|
|
3518
3184
|
};
|
|
@@ -3520,8 +3186,8 @@ function $7f93a158ac20b90a$export$f4e2f423c21f7b04(props, state1, ref2) {
|
|
|
3520
3186
|
let nextValidTarget = (target, types, allowedDropOperations, getNextTarget, wrap = true)=>{
|
|
3521
3187
|
let seenRoot = 0;
|
|
3522
3188
|
let operation;
|
|
3523
|
-
let { draggingKeys: draggingKeys } = $4620ae0dc40f0031$export$6ca6700462636d0b;
|
|
3524
|
-
let isInternal = $4620ae0dc40f0031$export$78bf638634500fa5(
|
|
3189
|
+
let { draggingKeys: draggingKeys } = (0, $4620ae0dc40f0031$export$6ca6700462636d0b);
|
|
3190
|
+
let isInternal = (0, $4620ae0dc40f0031$export$78bf638634500fa5)(ref);
|
|
3525
3191
|
do {
|
|
3526
3192
|
let nextTarget = getNextTarget(target, wrap);
|
|
3527
3193
|
if (!nextTarget) return null;
|
|
@@ -3533,17 +3199,17 @@ function $7f93a158ac20b90a$export$f4e2f423c21f7b04(props, state1, ref2) {
|
|
|
3533
3199
|
isInternal: isInternal,
|
|
3534
3200
|
draggingKeys: draggingKeys
|
|
3535
3201
|
});
|
|
3536
|
-
if (target.type ===
|
|
3537
|
-
}while (operation ===
|
|
3538
|
-
if (operation ===
|
|
3202
|
+
if (target.type === "root") seenRoot++;
|
|
3203
|
+
}while (operation === "cancel" && !localState.state.isDropTarget(target) && seenRoot < 2);
|
|
3204
|
+
if (operation === "cancel") return null;
|
|
3539
3205
|
return target;
|
|
3540
3206
|
};
|
|
3541
3207
|
return $28e10663603f5ea1$export$c28d9fb4a54e471a({
|
|
3542
|
-
element:
|
|
3208
|
+
element: ref.current,
|
|
3543
3209
|
getDropOperation (types, allowedOperations) {
|
|
3544
3210
|
if (localState.state.target) {
|
|
3545
|
-
let { draggingKeys: draggingKeys } = $4620ae0dc40f0031$export$6ca6700462636d0b;
|
|
3546
|
-
let isInternal = $4620ae0dc40f0031$export$78bf638634500fa5(
|
|
3211
|
+
let { draggingKeys: draggingKeys } = (0, $4620ae0dc40f0031$export$6ca6700462636d0b);
|
|
3212
|
+
let isInternal = (0, $4620ae0dc40f0031$export$78bf638634500fa5)(ref);
|
|
3547
3213
|
return localState.state.getDropOperation({
|
|
3548
3214
|
target: localState.state.target,
|
|
3549
3215
|
types: types,
|
|
@@ -3554,40 +3220,40 @@ function $7f93a158ac20b90a$export$f4e2f423c21f7b04(props, state1, ref2) {
|
|
|
3554
3220
|
}
|
|
3555
3221
|
// Check if any of the targets accept the drop.
|
|
3556
3222
|
// TODO: should we have a faster way of doing this or e.g. for pagination?
|
|
3557
|
-
let target = nextValidTarget(null, types, allowedOperations,
|
|
3558
|
-
return target ?
|
|
3223
|
+
let target = nextValidTarget(null, types, allowedOperations, getNextTarget);
|
|
3224
|
+
return target ? "move" : "cancel";
|
|
3559
3225
|
},
|
|
3560
3226
|
onDropEnter (e, drag) {
|
|
3561
|
-
let types = $4620ae0dc40f0031$export$e1d41611756c6326(drag.items);
|
|
3227
|
+
let types = (0, $4620ae0dc40f0031$export$e1d41611756c6326)(drag.items);
|
|
3562
3228
|
let selectionManager = localState.state.selectionManager;
|
|
3563
3229
|
let target;
|
|
3564
3230
|
// Update the drop collection ref tracker for useDroppableItem's getDropOperation isInternal check
|
|
3565
|
-
$4620ae0dc40f0031$export$dac8db29d42db9a1(
|
|
3231
|
+
(0, $4620ae0dc40f0031$export$dac8db29d42db9a1)(ref);
|
|
3566
3232
|
// When entering the droppable collection for the first time, the default drop target
|
|
3567
3233
|
// is after the focused key.
|
|
3568
3234
|
let key = selectionManager.focusedKey;
|
|
3569
|
-
let dropPosition =
|
|
3235
|
+
let dropPosition = "after";
|
|
3570
3236
|
// If the focused key is a cell, get the parent item instead.
|
|
3571
3237
|
// For now, we assume that individual cells cannot be dropped on.
|
|
3572
3238
|
let item = localState.state.collection.getItem(key);
|
|
3573
|
-
if ((item === null || item === void 0 ? void 0 : item.type) ===
|
|
3239
|
+
if ((item === null || item === void 0 ? void 0 : item.type) === "cell") key = item.parentKey;
|
|
3574
3240
|
// If the focused item is also selected, the default drop target is after the last selected item.
|
|
3575
3241
|
// But if the focused key is the first selected item, then default to before the first selected item.
|
|
3576
3242
|
// This is to make reordering lists slightly easier. If you select top down, we assume you want to
|
|
3577
3243
|
// move the items down. If you select bottom up, we assume you want to move the items up.
|
|
3578
3244
|
if (selectionManager.isSelected(key)) {
|
|
3579
|
-
if (selectionManager.selectedKeys.size > 1 && selectionManager.firstSelectedKey === key) dropPosition =
|
|
3245
|
+
if (selectionManager.selectedKeys.size > 1 && selectionManager.firstSelectedKey === key) dropPosition = "before";
|
|
3580
3246
|
else key = selectionManager.lastSelectedKey;
|
|
3581
3247
|
}
|
|
3582
3248
|
if (key != null) {
|
|
3583
3249
|
target = {
|
|
3584
|
-
type:
|
|
3250
|
+
type: "item",
|
|
3585
3251
|
key: key,
|
|
3586
3252
|
dropPosition: dropPosition
|
|
3587
3253
|
};
|
|
3588
|
-
let { draggingKeys: draggingKeys } = $4620ae0dc40f0031$export$6ca6700462636d0b;
|
|
3589
|
-
let isInternal = $4620ae0dc40f0031$export$78bf638634500fa5(
|
|
3590
|
-
var
|
|
3254
|
+
let { draggingKeys: draggingKeys } = (0, $4620ae0dc40f0031$export$6ca6700462636d0b);
|
|
3255
|
+
let isInternal = (0, $4620ae0dc40f0031$export$78bf638634500fa5)(ref);
|
|
3256
|
+
var ref1;
|
|
3591
3257
|
// If the default target is not valid, find the next one that is.
|
|
3592
3258
|
if (localState.state.getDropOperation({
|
|
3593
3259
|
target: target,
|
|
@@ -3595,133 +3261,133 @@ function $7f93a158ac20b90a$export$f4e2f423c21f7b04(props, state1, ref2) {
|
|
|
3595
3261
|
allowedOperations: drag.allowedDropOperations,
|
|
3596
3262
|
isInternal: isInternal,
|
|
3597
3263
|
draggingKeys: draggingKeys
|
|
3598
|
-
}) ===
|
|
3264
|
+
}) === "cancel") target = (ref1 = nextValidTarget(target, types, drag.allowedDropOperations, getNextTarget, false)) !== null && ref1 !== void 0 ? ref1 : nextValidTarget(target, types, drag.allowedDropOperations, getPreviousTarget, false);
|
|
3599
3265
|
}
|
|
3600
3266
|
// If no focused key, then start from the root.
|
|
3601
|
-
if (!target) target = nextValidTarget(null, types, drag.allowedDropOperations,
|
|
3267
|
+
if (!target) target = nextValidTarget(null, types, drag.allowedDropOperations, getNextTarget);
|
|
3602
3268
|
localState.state.setTarget(target);
|
|
3603
3269
|
},
|
|
3604
3270
|
onDropExit () {
|
|
3605
|
-
$4620ae0dc40f0031$export$dac8db29d42db9a1(undefined);
|
|
3271
|
+
(0, $4620ae0dc40f0031$export$dac8db29d42db9a1)(undefined);
|
|
3606
3272
|
localState.state.setTarget(null);
|
|
3607
3273
|
},
|
|
3608
3274
|
onDropTargetEnter (target) {
|
|
3609
3275
|
localState.state.setTarget(target);
|
|
3610
3276
|
},
|
|
3611
3277
|
onDropActivate (e) {
|
|
3612
|
-
var ref,
|
|
3613
|
-
if (((ref = localState.state.target) === null || ref === void 0 ? void 0 : ref.type) ===
|
|
3614
|
-
type:
|
|
3278
|
+
var ref, ref1;
|
|
3279
|
+
if (((ref = localState.state.target) === null || ref === void 0 ? void 0 : ref.type) === "item" && ((ref1 = localState.state.target) === null || ref1 === void 0 ? void 0 : ref1.dropPosition) === "on" && typeof localState.props.onDropActivate === "function") localState.props.onDropActivate({
|
|
3280
|
+
type: "dropactivate",
|
|
3615
3281
|
x: e.x,
|
|
3616
3282
|
y: e.y,
|
|
3617
3283
|
target: localState.state.target
|
|
3618
3284
|
});
|
|
3619
3285
|
},
|
|
3620
3286
|
onDrop (e, target) {
|
|
3621
|
-
$4620ae0dc40f0031$export$dac8db29d42db9a1(
|
|
3287
|
+
(0, $4620ae0dc40f0031$export$dac8db29d42db9a1)(ref);
|
|
3622
3288
|
if (localState.state.target) onDrop(e, target || localState.state.target);
|
|
3623
3289
|
},
|
|
3624
3290
|
onKeyDown (e, drag) {
|
|
3625
3291
|
let { keyboardDelegate: keyboardDelegate } = localState.props;
|
|
3626
|
-
let types = $4620ae0dc40f0031$export$e1d41611756c6326(drag.items);
|
|
3292
|
+
let types = (0, $4620ae0dc40f0031$export$e1d41611756c6326)(drag.items);
|
|
3627
3293
|
switch(e.key){
|
|
3628
|
-
case
|
|
3294
|
+
case "ArrowDown":
|
|
3629
3295
|
if (keyboardDelegate.getKeyBelow) {
|
|
3630
|
-
let target = nextValidTarget(localState.state.target, types, drag.allowedDropOperations,
|
|
3296
|
+
let target = nextValidTarget(localState.state.target, types, drag.allowedDropOperations, getNextTarget);
|
|
3631
3297
|
localState.state.setTarget(target);
|
|
3632
3298
|
}
|
|
3633
3299
|
break;
|
|
3634
|
-
case
|
|
3300
|
+
case "ArrowUp":
|
|
3635
3301
|
if (keyboardDelegate.getKeyAbove) {
|
|
3636
|
-
let
|
|
3637
|
-
localState.state.setTarget(
|
|
3302
|
+
let target1 = nextValidTarget(localState.state.target, types, drag.allowedDropOperations, getPreviousTarget);
|
|
3303
|
+
localState.state.setTarget(target1);
|
|
3638
3304
|
}
|
|
3639
3305
|
break;
|
|
3640
|
-
case
|
|
3306
|
+
case "Home":
|
|
3641
3307
|
if (keyboardDelegate.getFirstKey) {
|
|
3642
|
-
let
|
|
3643
|
-
localState.state.setTarget(
|
|
3308
|
+
let target2 = nextValidTarget(null, types, drag.allowedDropOperations, getNextTarget);
|
|
3309
|
+
localState.state.setTarget(target2);
|
|
3644
3310
|
}
|
|
3645
3311
|
break;
|
|
3646
|
-
case
|
|
3312
|
+
case "End":
|
|
3647
3313
|
if (keyboardDelegate.getLastKey) {
|
|
3648
|
-
let
|
|
3649
|
-
localState.state.setTarget(
|
|
3314
|
+
let target3 = nextValidTarget(null, types, drag.allowedDropOperations, getPreviousTarget);
|
|
3315
|
+
localState.state.setTarget(target3);
|
|
3650
3316
|
}
|
|
3651
3317
|
break;
|
|
3652
|
-
case
|
|
3318
|
+
case "PageDown":
|
|
3653
3319
|
if (keyboardDelegate.getKeyPageBelow) {
|
|
3654
|
-
let
|
|
3655
|
-
if (!
|
|
3320
|
+
let target4 = localState.state.target;
|
|
3321
|
+
if (!target4) target4 = nextValidTarget(null, types, drag.allowedDropOperations, getNextTarget);
|
|
3656
3322
|
else {
|
|
3657
3323
|
// If on the root, go to the item a page below the top. Otherwise a page below the current item.
|
|
3658
|
-
let nextKey = keyboardDelegate.getKeyPageBelow(
|
|
3659
|
-
let dropPosition =
|
|
3324
|
+
let nextKey = keyboardDelegate.getKeyPageBelow(target4.type === "item" ? target4.key : keyboardDelegate.getFirstKey());
|
|
3325
|
+
let dropPosition = target4.type === "item" ? target4.dropPosition : "after";
|
|
3660
3326
|
// If there is no next key, or we are starting on the last key, jump to the last possible position.
|
|
3661
|
-
if (nextKey == null ||
|
|
3327
|
+
if (nextKey == null || target4.type === "item" && target4.key === keyboardDelegate.getLastKey()) {
|
|
3662
3328
|
nextKey = keyboardDelegate.getLastKey();
|
|
3663
|
-
dropPosition =
|
|
3329
|
+
dropPosition = "after";
|
|
3664
3330
|
}
|
|
3665
|
-
|
|
3666
|
-
type:
|
|
3331
|
+
target4 = {
|
|
3332
|
+
type: "item",
|
|
3667
3333
|
key: nextKey,
|
|
3668
3334
|
dropPosition: dropPosition
|
|
3669
3335
|
};
|
|
3670
3336
|
// If the target does not accept the drop, find the next valid target.
|
|
3671
3337
|
// If no next valid target, find the previous valid target.
|
|
3672
|
-
let { draggingCollectionRef: draggingCollectionRef , draggingKeys: draggingKeys } = $4620ae0dc40f0031$export$6ca6700462636d0b;
|
|
3673
|
-
let isInternal = (draggingCollectionRef === null || draggingCollectionRef === void 0 ? void 0 : draggingCollectionRef.current) === (
|
|
3338
|
+
let { draggingCollectionRef: draggingCollectionRef , draggingKeys: draggingKeys } = (0, $4620ae0dc40f0031$export$6ca6700462636d0b);
|
|
3339
|
+
let isInternal = (draggingCollectionRef === null || draggingCollectionRef === void 0 ? void 0 : draggingCollectionRef.current) === (ref === null || ref === void 0 ? void 0 : ref.current);
|
|
3674
3340
|
let operation = localState.state.getDropOperation({
|
|
3675
|
-
target:
|
|
3341
|
+
target: target4,
|
|
3676
3342
|
types: types,
|
|
3677
3343
|
allowedOperations: drag.allowedDropOperations,
|
|
3678
3344
|
isInternal: isInternal,
|
|
3679
3345
|
draggingKeys: draggingKeys
|
|
3680
3346
|
});
|
|
3681
|
-
var
|
|
3682
|
-
if (operation ===
|
|
3347
|
+
var ref1;
|
|
3348
|
+
if (operation === "cancel") target4 = (ref1 = nextValidTarget(target4, types, drag.allowedDropOperations, getNextTarget, false)) !== null && ref1 !== void 0 ? ref1 : nextValidTarget(target4, types, drag.allowedDropOperations, getPreviousTarget, false);
|
|
3683
3349
|
}
|
|
3684
|
-
localState.state.setTarget(
|
|
3350
|
+
localState.state.setTarget(target4 !== null && target4 !== void 0 ? target4 : localState.state.target);
|
|
3685
3351
|
}
|
|
3686
3352
|
break;
|
|
3687
|
-
case
|
|
3353
|
+
case "PageUp":
|
|
3688
3354
|
{
|
|
3689
3355
|
if (!keyboardDelegate.getKeyPageAbove) break;
|
|
3690
|
-
let
|
|
3691
|
-
if (!
|
|
3692
|
-
else if (
|
|
3356
|
+
let target5 = localState.state.target;
|
|
3357
|
+
if (!target5) target5 = nextValidTarget(null, types, drag.allowedDropOperations, getPreviousTarget);
|
|
3358
|
+
else if (target5.type === "item") {
|
|
3693
3359
|
// If at the top already, switch to the root. Otherwise navigate a page up.
|
|
3694
|
-
if (
|
|
3695
|
-
type:
|
|
3360
|
+
if (target5.key === keyboardDelegate.getFirstKey()) target5 = {
|
|
3361
|
+
type: "root"
|
|
3696
3362
|
};
|
|
3697
3363
|
else {
|
|
3698
|
-
let
|
|
3699
|
-
let
|
|
3700
|
-
if (
|
|
3701
|
-
|
|
3702
|
-
|
|
3364
|
+
let nextKey1 = keyboardDelegate.getKeyPageAbove(target5.key);
|
|
3365
|
+
let dropPosition1 = target5.dropPosition;
|
|
3366
|
+
if (nextKey1 == null) {
|
|
3367
|
+
nextKey1 = keyboardDelegate.getFirstKey();
|
|
3368
|
+
dropPosition1 = "before";
|
|
3703
3369
|
}
|
|
3704
|
-
|
|
3705
|
-
type:
|
|
3706
|
-
key:
|
|
3707
|
-
dropPosition:
|
|
3370
|
+
target5 = {
|
|
3371
|
+
type: "item",
|
|
3372
|
+
key: nextKey1,
|
|
3373
|
+
dropPosition: dropPosition1
|
|
3708
3374
|
};
|
|
3709
3375
|
}
|
|
3710
3376
|
// If the target does not accept the drop, find the previous valid target.
|
|
3711
3377
|
// If no next valid target, find the next valid target.
|
|
3712
|
-
let { draggingKeys:
|
|
3713
|
-
let
|
|
3714
|
-
let
|
|
3715
|
-
target:
|
|
3378
|
+
let { draggingKeys: draggingKeys1 } = (0, $4620ae0dc40f0031$export$6ca6700462636d0b);
|
|
3379
|
+
let isInternal1 = (0, $4620ae0dc40f0031$export$78bf638634500fa5)(ref);
|
|
3380
|
+
let operation1 = localState.state.getDropOperation({
|
|
3381
|
+
target: target5,
|
|
3716
3382
|
types: types,
|
|
3717
3383
|
allowedOperations: drag.allowedDropOperations,
|
|
3718
|
-
isInternal:
|
|
3719
|
-
draggingKeys:
|
|
3384
|
+
isInternal: isInternal1,
|
|
3385
|
+
draggingKeys: draggingKeys1
|
|
3720
3386
|
});
|
|
3721
|
-
var
|
|
3722
|
-
if (
|
|
3387
|
+
var ref2;
|
|
3388
|
+
if (operation1 === "cancel") target5 = (ref2 = nextValidTarget(target5, types, drag.allowedDropOperations, getPreviousTarget, false)) !== null && ref2 !== void 0 ? ref2 : nextValidTarget(target5, types, drag.allowedDropOperations, getNextTarget, false);
|
|
3723
3389
|
}
|
|
3724
|
-
localState.state.setTarget(
|
|
3390
|
+
localState.state.setTarget(target5 !== null && target5 !== void 0 ? target5 : localState.state.target);
|
|
3725
3391
|
break;
|
|
3726
3392
|
}
|
|
3727
3393
|
}
|
|
@@ -3729,39 +3395,49 @@ function $7f93a158ac20b90a$export$f4e2f423c21f7b04(props, state1, ref2) {
|
|
|
3729
3395
|
});
|
|
3730
3396
|
}, [
|
|
3731
3397
|
localState,
|
|
3732
|
-
|
|
3398
|
+
ref,
|
|
3733
3399
|
onDrop
|
|
3734
3400
|
]);
|
|
3735
|
-
let id = $4vY0V$reactariautils.useId();
|
|
3736
|
-
$4620ae0dc40f0031$export$dfdf5deeaf27473f.set(
|
|
3401
|
+
let id = (0, $4vY0V$reactariautils.useId)();
|
|
3402
|
+
(0, $4620ae0dc40f0031$export$dfdf5deeaf27473f).set(state, {
|
|
3737
3403
|
id: id,
|
|
3738
|
-
ref:
|
|
3404
|
+
ref: ref
|
|
3739
3405
|
});
|
|
3740
3406
|
return {
|
|
3741
|
-
collectionProps: $4vY0V$reactariautils.mergeProps(dropProps, {
|
|
3407
|
+
collectionProps: (0, $4vY0V$reactariautils.mergeProps)(dropProps, {
|
|
3742
3408
|
id: id,
|
|
3743
3409
|
// Remove description from collection element. If dropping on the entire collection,
|
|
3744
3410
|
// there should be a drop indicator that has this description, so no need to double announce.
|
|
3745
|
-
|
|
3411
|
+
"aria-describedby": null
|
|
3746
3412
|
})
|
|
3747
3413
|
};
|
|
3748
3414
|
}
|
|
3749
3415
|
|
|
3750
3416
|
|
|
3751
|
-
|
|
3417
|
+
/*
|
|
3418
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
3419
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
3420
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
3421
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
3422
|
+
*
|
|
3423
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
3424
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
3425
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
3426
|
+
* governing permissions and limitations under the License.
|
|
3427
|
+
*/
|
|
3752
3428
|
|
|
3753
3429
|
|
|
3754
3430
|
|
|
3755
3431
|
function $fc1876157e07bcec$export$f7b0c5d28b66b6a5(options, state, ref) {
|
|
3756
|
-
let { dropProps: dropProps } = $419982e205c8e8dc$export$62447ad3d2ec7da6();
|
|
3757
|
-
let droppableCollectionRef = $4620ae0dc40f0031$export$7e397efd01d3db27(state);
|
|
3758
|
-
$4vY0V$react.useEffect(()=>{
|
|
3432
|
+
let { dropProps: dropProps } = (0, $419982e205c8e8dc$export$62447ad3d2ec7da6)();
|
|
3433
|
+
let droppableCollectionRef = (0, $4620ae0dc40f0031$export$7e397efd01d3db27)(state);
|
|
3434
|
+
(0, $4vY0V$react.useEffect)(()=>{
|
|
3759
3435
|
if (ref.current) return $28e10663603f5ea1$export$aef80212ac99c003({
|
|
3760
3436
|
element: ref.current,
|
|
3761
3437
|
target: options.target,
|
|
3762
3438
|
getDropOperation (types, allowedOperations) {
|
|
3763
|
-
let { draggingKeys: draggingKeys } = $4620ae0dc40f0031$export$6ca6700462636d0b;
|
|
3764
|
-
let isInternal = $4620ae0dc40f0031$export$78bf638634500fa5(droppableCollectionRef);
|
|
3439
|
+
let { draggingKeys: draggingKeys } = (0, $4620ae0dc40f0031$export$6ca6700462636d0b);
|
|
3440
|
+
let isInternal = (0, $4620ae0dc40f0031$export$78bf638634500fa5)(droppableCollectionRef);
|
|
3765
3441
|
return state.getDropOperation({
|
|
3766
3442
|
target: options.target,
|
|
3767
3443
|
types: types,
|
|
@@ -3778,17 +3454,17 @@ function $fc1876157e07bcec$export$f7b0c5d28b66b6a5(options, state, ref) {
|
|
|
3778
3454
|
droppableCollectionRef
|
|
3779
3455
|
]);
|
|
3780
3456
|
let dragSession = $28e10663603f5ea1$export$418e185dd3f1b968();
|
|
3781
|
-
let { draggingKeys:
|
|
3782
|
-
let
|
|
3457
|
+
let { draggingKeys: draggingKeys } = (0, $4620ae0dc40f0031$export$6ca6700462636d0b);
|
|
3458
|
+
let isInternal = (0, $4620ae0dc40f0031$export$78bf638634500fa5)(droppableCollectionRef);
|
|
3783
3459
|
let isValidDropTarget = dragSession && state.getDropOperation({
|
|
3784
3460
|
target: options.target,
|
|
3785
|
-
types: $4620ae0dc40f0031$export$e1d41611756c6326(dragSession.dragTarget.items),
|
|
3461
|
+
types: (0, $4620ae0dc40f0031$export$e1d41611756c6326)(dragSession.dragTarget.items),
|
|
3786
3462
|
allowedOperations: dragSession.dragTarget.allowedDropOperations,
|
|
3787
|
-
isInternal:
|
|
3788
|
-
draggingKeys:
|
|
3789
|
-
}) !==
|
|
3463
|
+
isInternal: isInternal,
|
|
3464
|
+
draggingKeys: draggingKeys
|
|
3465
|
+
}) !== "cancel";
|
|
3790
3466
|
let isDropTarget = state.isDropTarget(options.target);
|
|
3791
|
-
$4vY0V$react.useEffect(()=>{
|
|
3467
|
+
(0, $4vY0V$react.useEffect)(()=>{
|
|
3792
3468
|
if (dragSession && isDropTarget && ref.current) ref.current.focus();
|
|
3793
3469
|
}, [
|
|
3794
3470
|
isDropTarget,
|
|
@@ -3798,62 +3474,72 @@ function $fc1876157e07bcec$export$f7b0c5d28b66b6a5(options, state, ref) {
|
|
|
3798
3474
|
return {
|
|
3799
3475
|
dropProps: {
|
|
3800
3476
|
...dropProps,
|
|
3801
|
-
|
|
3477
|
+
"aria-hidden": !dragSession || isValidDropTarget ? undefined : "true"
|
|
3802
3478
|
},
|
|
3803
3479
|
isDropTarget: isDropTarget
|
|
3804
3480
|
};
|
|
3805
3481
|
}
|
|
3806
3482
|
|
|
3807
3483
|
|
|
3484
|
+
/*
|
|
3485
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
3486
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
3487
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
3488
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
3489
|
+
*
|
|
3490
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
3491
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
3492
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
3493
|
+
* governing permissions and limitations under the License.
|
|
3494
|
+
*/
|
|
3808
3495
|
|
|
3809
3496
|
|
|
3810
3497
|
|
|
3811
3498
|
|
|
3812
3499
|
|
|
3813
|
-
|
|
3814
|
-
function $c5557edbed563ebf$export$8d0e41d2815afac5(props, state, ref1) {
|
|
3500
|
+
function $c5557edbed563ebf$export$8d0e41d2815afac5(props, state, ref) {
|
|
3815
3501
|
let { target: target } = props;
|
|
3816
3502
|
let { collection: collection } = state;
|
|
3817
|
-
let stringFormatter = $4vY0V$reactariai18n.useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($d624b4da796f302a$exports)));
|
|
3503
|
+
let stringFormatter = (0, $4vY0V$reactariai18n.useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($d624b4da796f302a$exports))));
|
|
3818
3504
|
let dragSession = $28e10663603f5ea1$export$418e185dd3f1b968();
|
|
3819
|
-
let { dropProps: dropProps } = $fc1876157e07bcec$export$f7b0c5d28b66b6a5(props, state,
|
|
3820
|
-
let id = $4vY0V$reactariautils.useId();
|
|
3505
|
+
let { dropProps: dropProps } = (0, $fc1876157e07bcec$export$f7b0c5d28b66b6a5)(props, state, ref);
|
|
3506
|
+
let id = (0, $4vY0V$reactariautils.useId)();
|
|
3821
3507
|
let getText = (key)=>{
|
|
3822
3508
|
var ref;
|
|
3823
3509
|
return (ref = collection.getItem(key)) === null || ref === void 0 ? void 0 : ref.textValue;
|
|
3824
3510
|
};
|
|
3825
|
-
let label =
|
|
3511
|
+
let label = "";
|
|
3826
3512
|
let labelledBy;
|
|
3827
|
-
if (target.type ===
|
|
3828
|
-
label = stringFormatter.format(
|
|
3829
|
-
labelledBy = `${id} ${$4620ae0dc40f0031$export$3093291712f09a77(state)}`;
|
|
3830
|
-
} else if (target.dropPosition ===
|
|
3513
|
+
if (target.type === "root") {
|
|
3514
|
+
label = stringFormatter.format("dropOnRoot");
|
|
3515
|
+
labelledBy = `${id} ${(0, $4620ae0dc40f0031$export$3093291712f09a77)(state)}`;
|
|
3516
|
+
} else if (target.dropPosition === "on") label = stringFormatter.format("dropOnItem", {
|
|
3831
3517
|
itemText: getText(target.key)
|
|
3832
3518
|
});
|
|
3833
3519
|
else {
|
|
3834
|
-
let before = target.dropPosition ===
|
|
3835
|
-
let after = target.dropPosition ===
|
|
3836
|
-
if (before && after) label = stringFormatter.format(
|
|
3520
|
+
let before = target.dropPosition === "before" ? collection.getKeyBefore(target.key) : target.key;
|
|
3521
|
+
let after = target.dropPosition === "after" ? collection.getKeyAfter(target.key) : target.key;
|
|
3522
|
+
if (before && after) label = stringFormatter.format("insertBetween", {
|
|
3837
3523
|
beforeItemText: getText(before),
|
|
3838
3524
|
afterItemText: getText(after)
|
|
3839
3525
|
});
|
|
3840
|
-
else if (before) label = stringFormatter.format(
|
|
3526
|
+
else if (before) label = stringFormatter.format("insertAfter", {
|
|
3841
3527
|
itemText: getText(before)
|
|
3842
3528
|
});
|
|
3843
|
-
else if (after) label = stringFormatter.format(
|
|
3529
|
+
else if (after) label = stringFormatter.format("insertBefore", {
|
|
3844
3530
|
itemText: getText(after)
|
|
3845
3531
|
});
|
|
3846
3532
|
}
|
|
3847
3533
|
let isDropTarget = state.isDropTarget(target);
|
|
3848
|
-
let ariaHidden = !dragSession ?
|
|
3534
|
+
let ariaHidden = !dragSession ? "true" : dropProps["aria-hidden"];
|
|
3849
3535
|
return {
|
|
3850
3536
|
dropIndicatorProps: {
|
|
3851
3537
|
...dropProps,
|
|
3852
3538
|
id: id,
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3539
|
+
"aria-roledescription": stringFormatter.format("dropIndicator"),
|
|
3540
|
+
"aria-label": label,
|
|
3541
|
+
"aria-labelledby": labelledBy,
|
|
3542
|
+
"aria-hidden": ariaHidden,
|
|
3857
3543
|
tabIndex: -1
|
|
3858
3544
|
},
|
|
3859
3545
|
isDropTarget: isDropTarget,
|
|
@@ -3865,7 +3551,17 @@ function $c5557edbed563ebf$export$8d0e41d2815afac5(props, state, ref1) {
|
|
|
3865
3551
|
}
|
|
3866
3552
|
|
|
3867
3553
|
|
|
3868
|
-
|
|
3554
|
+
/*
|
|
3555
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
3556
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
3557
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
3558
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
3559
|
+
*
|
|
3560
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
3561
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
3562
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
3563
|
+
* governing permissions and limitations under the License.
|
|
3564
|
+
*/
|
|
3869
3565
|
|
|
3870
3566
|
|
|
3871
3567
|
|
|
@@ -3873,22 +3569,22 @@ function $c5557edbed563ebf$export$8d0e41d2815afac5(props, state, ref1) {
|
|
|
3873
3569
|
|
|
3874
3570
|
const $0cbbd00cda972c67$var$MESSAGES = {
|
|
3875
3571
|
keyboard: {
|
|
3876
|
-
selected:
|
|
3877
|
-
notSelected:
|
|
3572
|
+
selected: "dragSelectedKeyboard",
|
|
3573
|
+
notSelected: "dragDescriptionKeyboard"
|
|
3878
3574
|
},
|
|
3879
3575
|
touch: {
|
|
3880
|
-
selected:
|
|
3881
|
-
notSelected:
|
|
3576
|
+
selected: "dragSelectedLongPress",
|
|
3577
|
+
notSelected: "dragDescriptionLongPress"
|
|
3882
3578
|
},
|
|
3883
3579
|
virtual: {
|
|
3884
|
-
selected:
|
|
3885
|
-
notSelected:
|
|
3580
|
+
selected: "dragDescriptionVirtual",
|
|
3581
|
+
notSelected: "dragDescriptionVirtual"
|
|
3886
3582
|
}
|
|
3887
3583
|
};
|
|
3888
3584
|
function $0cbbd00cda972c67$export$b35afafff42da2d9(props, state) {
|
|
3889
|
-
let stringFormatter = $4vY0V$reactariai18n.useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($d624b4da796f302a$exports)));
|
|
3585
|
+
let stringFormatter = (0, $4vY0V$reactariai18n.useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($d624b4da796f302a$exports))));
|
|
3890
3586
|
let isDisabled = state.selectionManager.isDisabled(props.key);
|
|
3891
|
-
let { dragProps: dragProps , dragButtonProps: dragButtonProps } = $dc204e8ec58447a6$export$7941f8aafa4b6021({
|
|
3587
|
+
let { dragProps: dragProps , dragButtonProps: dragButtonProps } = (0, $dc204e8ec58447a6$export$7941f8aafa4b6021)({
|
|
3892
3588
|
getItems () {
|
|
3893
3589
|
return state.getItems(props.key);
|
|
3894
3590
|
},
|
|
@@ -3898,20 +3594,20 @@ function $0cbbd00cda972c67$export$b35afafff42da2d9(props, state) {
|
|
|
3898
3594
|
onDragStart (e) {
|
|
3899
3595
|
state.startDrag(props.key, e);
|
|
3900
3596
|
// Track draggingKeys for useDroppableCollection's default onDrop handler and useDroppableCollectionState's default getDropOperation
|
|
3901
|
-
$4620ae0dc40f0031$export$72cb63bdda528276(state.draggingKeys);
|
|
3597
|
+
(0, $4620ae0dc40f0031$export$72cb63bdda528276)(state.draggingKeys);
|
|
3902
3598
|
},
|
|
3903
3599
|
onDragMove (e) {
|
|
3904
3600
|
state.moveDrag(e);
|
|
3905
3601
|
},
|
|
3906
3602
|
onDragEnd (e) {
|
|
3907
3603
|
let { dropOperation: dropOperation } = e;
|
|
3908
|
-
let isInternal = dropOperation ===
|
|
3604
|
+
let isInternal = dropOperation === "cancel" ? false : (0, $4620ae0dc40f0031$export$78bf638634500fa5)();
|
|
3909
3605
|
state.endDrag({
|
|
3910
3606
|
...e,
|
|
3911
3607
|
keys: state.draggingKeys,
|
|
3912
3608
|
isInternal: isInternal
|
|
3913
3609
|
});
|
|
3914
|
-
$4620ae0dc40f0031$export$70936501603e6c57();
|
|
3610
|
+
(0, $4620ae0dc40f0031$export$70936501603e6c57)();
|
|
3915
3611
|
}
|
|
3916
3612
|
});
|
|
3917
3613
|
let item = state.collection.getItem(props.key);
|
|
@@ -3920,11 +3616,11 @@ function $0cbbd00cda972c67$export$b35afafff42da2d9(props, state) {
|
|
|
3920
3616
|
let dragButtonLabel;
|
|
3921
3617
|
let description;
|
|
3922
3618
|
// Override description to include selected item count.
|
|
3923
|
-
let modality = $4620ae0dc40f0031$export$49bac5d6d4b352ea();
|
|
3619
|
+
let modality = (0, $4620ae0dc40f0031$export$49bac5d6d4b352ea)();
|
|
3924
3620
|
var ref;
|
|
3925
|
-
if (!props.hasDragButton && state.selectionManager.selectionMode !==
|
|
3926
|
-
let msg = $0cbbd00cda972c67$var$MESSAGES[modality][isSelected ?
|
|
3927
|
-
if (props.hasAction && modality ===
|
|
3621
|
+
if (!props.hasDragButton && state.selectionManager.selectionMode !== "none") {
|
|
3622
|
+
let msg = $0cbbd00cda972c67$var$MESSAGES[modality][isSelected ? "selected" : "notSelected"];
|
|
3623
|
+
if (props.hasAction && modality === "keyboard") msg += "Alt";
|
|
3928
3624
|
if (isSelected) description = stringFormatter.format(msg, {
|
|
3929
3625
|
count: numKeysForDrag
|
|
3930
3626
|
});
|
|
@@ -3932,18 +3628,18 @@ function $0cbbd00cda972c67$export$b35afafff42da2d9(props, state) {
|
|
|
3932
3628
|
// Remove the onClick handler from useDrag. Long pressing will be required on touch devices,
|
|
3933
3629
|
// and NVDA/JAWS are always in forms mode within collection components.
|
|
3934
3630
|
delete dragProps.onClick;
|
|
3935
|
-
} else if (isSelected) dragButtonLabel = stringFormatter.format(
|
|
3631
|
+
} else if (isSelected) dragButtonLabel = stringFormatter.format("dragSelectedItems", {
|
|
3936
3632
|
count: numKeysForDrag
|
|
3937
3633
|
});
|
|
3938
|
-
else dragButtonLabel = stringFormatter.format(
|
|
3939
|
-
itemText: (ref = item === null || item === void 0 ? void 0 : item.textValue) !== null && ref !== void 0 ? ref :
|
|
3634
|
+
else dragButtonLabel = stringFormatter.format("dragItem", {
|
|
3635
|
+
itemText: (ref = item === null || item === void 0 ? void 0 : item.textValue) !== null && ref !== void 0 ? ref : ""
|
|
3940
3636
|
});
|
|
3941
|
-
let descriptionProps = $4vY0V$reactariautils.useDescription(description);
|
|
3637
|
+
let descriptionProps = (0, $4vY0V$reactariautils.useDescription)(description);
|
|
3942
3638
|
if (description) Object.assign(dragProps, descriptionProps);
|
|
3943
3639
|
if (!props.hasDragButton && props.hasAction) {
|
|
3944
3640
|
let { onKeyDownCapture: onKeyDownCapture , onKeyUpCapture: onKeyUpCapture } = dragProps;
|
|
3945
|
-
if (modality ===
|
|
3946
|
-
delete dragProps[
|
|
3641
|
+
if (modality === "touch") // Remove long press description if an action is present, because in that case long pressing selects the item.
|
|
3642
|
+
delete dragProps["aria-describedby"];
|
|
3947
3643
|
// Require Alt key if there is a conflicting action.
|
|
3948
3644
|
dragProps.onKeyDownCapture = (e)=>{
|
|
3949
3645
|
if (e.altKey) onKeyDownCapture(e);
|
|
@@ -3953,26 +3649,45 @@ function $0cbbd00cda972c67$export$b35afafff42da2d9(props, state) {
|
|
|
3953
3649
|
};
|
|
3954
3650
|
}
|
|
3955
3651
|
return {
|
|
3956
|
-
dragProps: isDisabled ? {
|
|
3957
|
-
} : dragProps,
|
|
3652
|
+
dragProps: isDisabled ? {} : dragProps,
|
|
3958
3653
|
dragButtonProps: {
|
|
3959
3654
|
...dragButtonProps,
|
|
3960
3655
|
isDisabled: isDisabled,
|
|
3961
|
-
|
|
3656
|
+
"aria-label": dragButtonLabel
|
|
3962
3657
|
}
|
|
3963
3658
|
};
|
|
3964
3659
|
}
|
|
3965
3660
|
|
|
3966
3661
|
|
|
3967
|
-
|
|
3662
|
+
/*
|
|
3663
|
+
* Copyright 2022 Adobe. All rights reserved.
|
|
3664
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
3665
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
3666
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
3667
|
+
*
|
|
3668
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
3669
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
3670
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
3671
|
+
* governing permissions and limitations under the License.
|
|
3672
|
+
*/
|
|
3968
3673
|
function $c3e901bab7fcc6ff$export$2962a7984b2f0a80(props, state, ref) {
|
|
3969
3674
|
// Update global DnD state if this keys within this collection are dragged
|
|
3970
|
-
let { draggingCollectionRef: draggingCollectionRef } = $4620ae0dc40f0031$export$6ca6700462636d0b;
|
|
3971
|
-
if (state.draggingKeys.size > 0 && (draggingCollectionRef === null || draggingCollectionRef === void 0 ? void 0 : draggingCollectionRef.current) !== ref.current) $4620ae0dc40f0031$export$f2be18a910c0caa6(ref);
|
|
3675
|
+
let { draggingCollectionRef: draggingCollectionRef } = (0, $4620ae0dc40f0031$export$6ca6700462636d0b);
|
|
3676
|
+
if (state.draggingKeys.size > 0 && (draggingCollectionRef === null || draggingCollectionRef === void 0 ? void 0 : draggingCollectionRef.current) !== ref.current) (0, $4620ae0dc40f0031$export$f2be18a910c0caa6)(ref);
|
|
3972
3677
|
}
|
|
3973
3678
|
|
|
3974
3679
|
|
|
3975
|
-
|
|
3680
|
+
/*
|
|
3681
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
3682
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
3683
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
3684
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
3685
|
+
*
|
|
3686
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
3687
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
3688
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
3689
|
+
* governing permissions and limitations under the License.
|
|
3690
|
+
*/
|
|
3976
3691
|
|
|
3977
3692
|
|
|
3978
3693
|
|
|
@@ -4000,16 +3715,16 @@ function $74f3dedaa4d234b4$var$addGlobalEventListener(event, fn) {
|
|
|
4000
3715
|
}
|
|
4001
3716
|
};
|
|
4002
3717
|
}
|
|
4003
|
-
function $74f3dedaa4d234b4$export$2314ca2a3e892862(
|
|
4004
|
-
let ref = $4vY0V$react.useRef(
|
|
4005
|
-
ref.current =
|
|
4006
|
-
let isFocusedRef = $4vY0V$react.useRef(false);
|
|
4007
|
-
let { focusProps: focusProps } = $4vY0V$reactariainteractions.useFocus({
|
|
3718
|
+
function $74f3dedaa4d234b4$export$2314ca2a3e892862(options) {
|
|
3719
|
+
let ref = (0, $4vY0V$react.useRef)(options);
|
|
3720
|
+
ref.current = options;
|
|
3721
|
+
let isFocusedRef = (0, $4vY0V$react.useRef)(false);
|
|
3722
|
+
let { focusProps: focusProps } = (0, $4vY0V$reactariainteractions.useFocus)({
|
|
4008
3723
|
onFocusChange: (isFocused)=>{
|
|
4009
3724
|
isFocusedRef.current = isFocused;
|
|
4010
3725
|
}
|
|
4011
3726
|
});
|
|
4012
|
-
$4vY0V$react.useEffect(()=>{
|
|
3727
|
+
(0, $4vY0V$react.useEffect)(()=>{
|
|
4013
3728
|
let onBeforeCopy = (e)=>{
|
|
4014
3729
|
// Enable the "Copy" menu item in Safari if this element is focused and copying is supported.
|
|
4015
3730
|
let options = ref.current;
|
|
@@ -4020,7 +3735,7 @@ function $74f3dedaa4d234b4$export$2314ca2a3e892862(options1) {
|
|
|
4020
3735
|
let options = ref.current;
|
|
4021
3736
|
if (!isFocusedRef.current || !options.getItems) return;
|
|
4022
3737
|
e.preventDefault();
|
|
4023
|
-
$4620ae0dc40f0031$export$f9c1490890ddd063(e.clipboardData, options.getItems());
|
|
3738
|
+
(0, $4620ae0dc40f0031$export$f9c1490890ddd063)(e.clipboardData, options.getItems());
|
|
4024
3739
|
(ref1 = options.onCopy) === null || ref1 === void 0 ? void 0 : ref1.call(options);
|
|
4025
3740
|
};
|
|
4026
3741
|
let onBeforeCut = (e)=>{
|
|
@@ -4031,7 +3746,7 @@ function $74f3dedaa4d234b4$export$2314ca2a3e892862(options1) {
|
|
|
4031
3746
|
let options = ref.current;
|
|
4032
3747
|
if (!isFocusedRef.current || !options.onCut || !options.getItems) return;
|
|
4033
3748
|
e.preventDefault();
|
|
4034
|
-
$4620ae0dc40f0031$export$f9c1490890ddd063(e.clipboardData, options.getItems());
|
|
3749
|
+
(0, $4620ae0dc40f0031$export$f9c1490890ddd063)(e.clipboardData, options.getItems());
|
|
4035
3750
|
options.onCut();
|
|
4036
3751
|
};
|
|
4037
3752
|
let onBeforePaste = (e)=>{
|
|
@@ -4044,10 +3759,10 @@ function $74f3dedaa4d234b4$export$2314ca2a3e892862(options1) {
|
|
|
4044
3759
|
let options = ref.current;
|
|
4045
3760
|
if (!isFocusedRef.current || !options.onPaste) return;
|
|
4046
3761
|
e.preventDefault();
|
|
4047
|
-
let items = $4620ae0dc40f0031$export$d9e760437831f8b3(e.clipboardData);
|
|
3762
|
+
let items = (0, $4620ae0dc40f0031$export$d9e760437831f8b3)(e.clipboardData);
|
|
4048
3763
|
options.onPaste(items);
|
|
4049
3764
|
};
|
|
4050
|
-
return $4vY0V$reactariautils.chain($74f3dedaa4d234b4$var$addGlobalEventListener(
|
|
3765
|
+
return (0, $4vY0V$reactariautils.chain)($74f3dedaa4d234b4$var$addGlobalEventListener("beforecopy", onBeforeCopy), $74f3dedaa4d234b4$var$addGlobalEventListener("copy", onCopy), $74f3dedaa4d234b4$var$addGlobalEventListener("beforecut", onBeforeCut), $74f3dedaa4d234b4$var$addGlobalEventListener("cut", onCut), $74f3dedaa4d234b4$var$addGlobalEventListener("beforepaste", onBeforePaste), $74f3dedaa4d234b4$var$addGlobalEventListener("paste", onPaste));
|
|
4051
3766
|
}, []);
|
|
4052
3767
|
return {
|
|
4053
3768
|
clipboardProps: focusProps
|
|
@@ -4055,16 +3770,26 @@ function $74f3dedaa4d234b4$export$2314ca2a3e892862(options1) {
|
|
|
4055
3770
|
}
|
|
4056
3771
|
|
|
4057
3772
|
|
|
4058
|
-
|
|
3773
|
+
/*
|
|
3774
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
3775
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
3776
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
3777
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
3778
|
+
*
|
|
3779
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
3780
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
3781
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
3782
|
+
* governing permissions and limitations under the License.
|
|
3783
|
+
*/
|
|
4059
3784
|
|
|
4060
3785
|
function $2dccaca1f4baa446$var$DragPreview(props, ref) {
|
|
4061
3786
|
let render = props.children;
|
|
4062
|
-
let [children, setChildren] = $4vY0V$react.useState(null);
|
|
4063
|
-
let domRef = $4vY0V$react.useRef(null);
|
|
4064
|
-
$4vY0V$react.useImperativeHandle(ref, ()=>(items, callback)=>{
|
|
3787
|
+
let [children, setChildren] = (0, $4vY0V$react.useState)(null);
|
|
3788
|
+
let domRef = (0, $4vY0V$react.useRef)(null);
|
|
3789
|
+
(0, $4vY0V$react.useImperativeHandle)(ref, ()=>(items, callback)=>{
|
|
4065
3790
|
// This will be called during the onDragStart event by useDrag. We need to render the
|
|
4066
3791
|
// preview synchronously before this event returns so we can call event.dataTransfer.setDragImage.
|
|
4067
|
-
$4vY0V$reactdom.flushSync(()=>{
|
|
3792
|
+
(0, $4vY0V$reactdom.flushSync)(()=>{
|
|
4068
3793
|
setChildren(render(items));
|
|
4069
3794
|
});
|
|
4070
3795
|
// Yield back to useDrag to set the drag image.
|
|
@@ -4073,33 +3798,32 @@ function $2dccaca1f4baa446$var$DragPreview(props, ref) {
|
|
|
4073
3798
|
requestAnimationFrame(()=>{
|
|
4074
3799
|
setChildren(null);
|
|
4075
3800
|
});
|
|
4076
|
-
}
|
|
4077
|
-
, [
|
|
3801
|
+
}, [
|
|
4078
3802
|
render
|
|
4079
3803
|
]);
|
|
4080
3804
|
if (!children) return null;
|
|
4081
|
-
return
|
|
3805
|
+
return /*#__PURE__*/ (0, ($parcel$interopDefault($4vY0V$react))).createElement("div", {
|
|
4082
3806
|
style: {
|
|
4083
3807
|
zIndex: -100,
|
|
4084
|
-
position:
|
|
3808
|
+
position: "absolute",
|
|
4085
3809
|
top: 0,
|
|
4086
3810
|
left: -100000
|
|
4087
3811
|
},
|
|
4088
3812
|
ref: domRef
|
|
4089
|
-
}, children)
|
|
3813
|
+
}, children);
|
|
4090
3814
|
}
|
|
4091
|
-
let $2dccaca1f4baa446$export$905ab40ac2179daa = /*#__PURE__*/ ($parcel$interopDefault($4vY0V$react)).forwardRef($2dccaca1f4baa446$var$DragPreview);
|
|
3815
|
+
let $2dccaca1f4baa446$export$905ab40ac2179daa = /*#__PURE__*/ (0, ($parcel$interopDefault($4vY0V$react))).forwardRef($2dccaca1f4baa446$var$DragPreview);
|
|
4092
3816
|
|
|
4093
3817
|
|
|
4094
3818
|
class $2268795bbb597ecb$export$fbd65d14c79e28cc {
|
|
4095
3819
|
getDropTargetFromPoint(x, y, isValidDropTarget) {
|
|
4096
3820
|
if (this.collection.size === 0) return {
|
|
4097
|
-
type:
|
|
3821
|
+
type: "root"
|
|
4098
3822
|
};
|
|
4099
3823
|
let rect = this.ref.current.getBoundingClientRect();
|
|
4100
3824
|
x += rect.x;
|
|
4101
3825
|
y += rect.y;
|
|
4102
|
-
let elements = this.ref.current.querySelectorAll(
|
|
3826
|
+
let elements = this.ref.current.querySelectorAll("[data-key]");
|
|
4103
3827
|
let elementMap = new Map();
|
|
4104
3828
|
for (let item of elements)if (item instanceof HTMLElement) elementMap.set(item.dataset.key, item);
|
|
4105
3829
|
let items = [
|
|
@@ -4109,55 +3833,55 @@ class $2268795bbb597ecb$export$fbd65d14c79e28cc {
|
|
|
4109
3833
|
let high = items.length;
|
|
4110
3834
|
while(low < high){
|
|
4111
3835
|
let mid = Math.floor((low + high) / 2);
|
|
4112
|
-
let
|
|
4113
|
-
let element = elementMap.get(String(
|
|
4114
|
-
let
|
|
4115
|
-
if (y <
|
|
4116
|
-
else if (y >
|
|
3836
|
+
let item1 = items[mid];
|
|
3837
|
+
let element = elementMap.get(String(item1.key));
|
|
3838
|
+
let rect1 = element.getBoundingClientRect();
|
|
3839
|
+
if (y < rect1.top) high = mid;
|
|
3840
|
+
else if (y > rect1.bottom) low = mid + 1;
|
|
4117
3841
|
else {
|
|
4118
3842
|
let target = {
|
|
4119
|
-
type:
|
|
4120
|
-
key:
|
|
4121
|
-
dropPosition:
|
|
3843
|
+
type: "item",
|
|
3844
|
+
key: item1.key,
|
|
3845
|
+
dropPosition: "on"
|
|
4122
3846
|
};
|
|
4123
3847
|
if (isValidDropTarget(target)) {
|
|
4124
3848
|
// Otherwise, if dropping on the item is accepted, try the before/after positions if within 5px
|
|
4125
3849
|
// of the top or bottom of the item.
|
|
4126
|
-
if (y <=
|
|
3850
|
+
if (y <= rect1.top + 5 && isValidDropTarget({
|
|
4127
3851
|
...target,
|
|
4128
|
-
dropPosition:
|
|
4129
|
-
})) target.dropPosition =
|
|
4130
|
-
else if (y >=
|
|
3852
|
+
dropPosition: "before"
|
|
3853
|
+
})) target.dropPosition = "before";
|
|
3854
|
+
else if (y >= rect1.bottom - 5 && isValidDropTarget({
|
|
4131
3855
|
...target,
|
|
4132
|
-
dropPosition:
|
|
4133
|
-
})) target.dropPosition =
|
|
3856
|
+
dropPosition: "after"
|
|
3857
|
+
})) target.dropPosition = "after";
|
|
4134
3858
|
} else {
|
|
4135
3859
|
// If dropping on the item isn't accepted, try the target before or after depending on the y position.
|
|
4136
|
-
let midY =
|
|
3860
|
+
let midY = rect1.top + rect1.height / 2;
|
|
4137
3861
|
if (y <= midY && isValidDropTarget({
|
|
4138
3862
|
...target,
|
|
4139
|
-
dropPosition:
|
|
4140
|
-
})) target.dropPosition =
|
|
3863
|
+
dropPosition: "before"
|
|
3864
|
+
})) target.dropPosition = "before";
|
|
4141
3865
|
else if (y >= midY && isValidDropTarget({
|
|
4142
3866
|
...target,
|
|
4143
|
-
dropPosition:
|
|
4144
|
-
})) target.dropPosition =
|
|
3867
|
+
dropPosition: "after"
|
|
3868
|
+
})) target.dropPosition = "after";
|
|
4145
3869
|
}
|
|
4146
3870
|
return target;
|
|
4147
3871
|
}
|
|
4148
3872
|
}
|
|
4149
|
-
let
|
|
4150
|
-
let
|
|
4151
|
-
rect =
|
|
3873
|
+
let item2 = items[Math.min(low, items.length - 1)];
|
|
3874
|
+
let element1 = elementMap.get(String(item2.key));
|
|
3875
|
+
rect = element1.getBoundingClientRect();
|
|
4152
3876
|
if (Math.abs(y - rect.top) < Math.abs(y - rect.bottom)) return {
|
|
4153
|
-
type:
|
|
4154
|
-
key:
|
|
4155
|
-
dropPosition:
|
|
3877
|
+
type: "item",
|
|
3878
|
+
key: item2.key,
|
|
3879
|
+
dropPosition: "before"
|
|
4156
3880
|
};
|
|
4157
3881
|
return {
|
|
4158
|
-
type:
|
|
4159
|
-
key:
|
|
4160
|
-
dropPosition:
|
|
3882
|
+
type: "item",
|
|
3883
|
+
key: item2.key,
|
|
3884
|
+
dropPosition: "after"
|
|
4161
3885
|
};
|
|
4162
3886
|
}
|
|
4163
3887
|
constructor(collection, ref){
|