@react-aria/dnd 3.0.0-nightly.3077 → 3.0.0-nightly.3089
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 +348 -348
- package/dist/module.js +342 -342
- package/package.json +12 -12
package/dist/main.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
var $
|
|
2
|
-
var $
|
|
3
|
-
var $
|
|
4
|
-
var $
|
|
5
|
-
var $
|
|
6
|
-
var $
|
|
7
|
-
var $
|
|
1
|
+
var $4on3C$react = require("react");
|
|
2
|
+
var $4on3C$reactdom = require("react-dom");
|
|
3
|
+
var $4on3C$reactariautils = require("@react-aria/utils");
|
|
4
|
+
var $4on3C$reactariai18n = require("@react-aria/i18n");
|
|
5
|
+
var $4on3C$reactarialiveannouncer = require("@react-aria/live-announcer");
|
|
6
|
+
var $4on3C$reactariaoverlays = require("@react-aria/overlays");
|
|
7
|
+
var $4on3C$reactariainteractions = require("@react-aria/interactions");
|
|
8
8
|
|
|
9
9
|
function $parcel$exportWildcard(dest, source) {
|
|
10
10
|
Object.keys(source).forEach(function(key) {
|
|
@@ -28,85 +28,85 @@ function $parcel$interopDefault(a) {
|
|
|
28
28
|
function $parcel$export(e, n, v, s) {
|
|
29
29
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
30
30
|
}
|
|
31
|
-
var $
|
|
31
|
+
var $d067e40b40cb0a24$exports = {};
|
|
32
32
|
|
|
33
|
-
$parcel$export($
|
|
33
|
+
$parcel$export($d067e40b40cb0a24$exports, "useDrag", () => $d067e40b40cb0a24$export$7941f8aafa4b6021);
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
let $
|
|
38
|
-
(function($
|
|
39
|
-
$
|
|
40
|
-
$
|
|
41
|
-
$
|
|
42
|
-
$
|
|
43
|
-
$
|
|
44
|
-
$
|
|
45
|
-
})($
|
|
37
|
+
let $8e4046ff5ec007bd$export$60b7b4bcf3903d8e;
|
|
38
|
+
(function($8e4046ff5ec007bd$export$60b7b4bcf3903d8e) {
|
|
39
|
+
$8e4046ff5ec007bd$export$60b7b4bcf3903d8e[$8e4046ff5ec007bd$export$60b7b4bcf3903d8e["none"] = 0] = "none";
|
|
40
|
+
$8e4046ff5ec007bd$export$60b7b4bcf3903d8e[$8e4046ff5ec007bd$export$60b7b4bcf3903d8e["cancel"] = 0] = "cancel";
|
|
41
|
+
$8e4046ff5ec007bd$export$60b7b4bcf3903d8e[$8e4046ff5ec007bd$export$60b7b4bcf3903d8e["move"] = 1] = "move";
|
|
42
|
+
$8e4046ff5ec007bd$export$60b7b4bcf3903d8e[$8e4046ff5ec007bd$export$60b7b4bcf3903d8e["copy"] = 2] = "copy";
|
|
43
|
+
$8e4046ff5ec007bd$export$60b7b4bcf3903d8e[$8e4046ff5ec007bd$export$60b7b4bcf3903d8e["link"] = 4] = "link";
|
|
44
|
+
$8e4046ff5ec007bd$export$60b7b4bcf3903d8e[$8e4046ff5ec007bd$export$60b7b4bcf3903d8e["all"] = 7] = "all";
|
|
45
|
+
})($8e4046ff5ec007bd$export$60b7b4bcf3903d8e || ($8e4046ff5ec007bd$export$60b7b4bcf3903d8e = {
|
|
46
46
|
}));
|
|
47
|
-
const $
|
|
48
|
-
...$
|
|
49
|
-
copyMove: $
|
|
50
|
-
copyLink: $
|
|
51
|
-
linkMove: $
|
|
52
|
-
all: $
|
|
53
|
-
uninitialized: $
|
|
47
|
+
const $8e4046ff5ec007bd$export$9bbdfc78cf083e16 = {
|
|
48
|
+
...$8e4046ff5ec007bd$export$60b7b4bcf3903d8e,
|
|
49
|
+
copyMove: $8e4046ff5ec007bd$export$60b7b4bcf3903d8e.copy | $8e4046ff5ec007bd$export$60b7b4bcf3903d8e.move,
|
|
50
|
+
copyLink: $8e4046ff5ec007bd$export$60b7b4bcf3903d8e.copy | $8e4046ff5ec007bd$export$60b7b4bcf3903d8e.link,
|
|
51
|
+
linkMove: $8e4046ff5ec007bd$export$60b7b4bcf3903d8e.link | $8e4046ff5ec007bd$export$60b7b4bcf3903d8e.move,
|
|
52
|
+
all: $8e4046ff5ec007bd$export$60b7b4bcf3903d8e.all,
|
|
53
|
+
uninitialized: $8e4046ff5ec007bd$export$60b7b4bcf3903d8e.all
|
|
54
54
|
};
|
|
55
|
-
const $
|
|
56
|
-
const $
|
|
57
|
-
const $
|
|
55
|
+
const $8e4046ff5ec007bd$export$dd0165308d8bff45 = $8e4046ff5ec007bd$var$invert($8e4046ff5ec007bd$export$9bbdfc78cf083e16);
|
|
56
|
+
const $8e4046ff5ec007bd$export$d7ebf00f36b7a95e = $8e4046ff5ec007bd$var$invert($8e4046ff5ec007bd$export$60b7b4bcf3903d8e);
|
|
57
|
+
const $8e4046ff5ec007bd$export$608ecc6f1b23c35d = {
|
|
58
58
|
none: 'cancel',
|
|
59
59
|
link: 'link',
|
|
60
60
|
copy: 'copy',
|
|
61
61
|
move: 'move'
|
|
62
62
|
};
|
|
63
|
-
const $
|
|
64
|
-
function $
|
|
63
|
+
const $8e4046ff5ec007bd$export$5eacb0769d26d3b2 = $8e4046ff5ec007bd$var$invert($8e4046ff5ec007bd$export$608ecc6f1b23c35d);
|
|
64
|
+
function $8e4046ff5ec007bd$var$invert(object) {
|
|
65
65
|
let res = {
|
|
66
66
|
};
|
|
67
67
|
for(let key in object)res[object[key]] = key;
|
|
68
68
|
return res;
|
|
69
69
|
}
|
|
70
|
-
const $
|
|
70
|
+
const $8e4046ff5ec007bd$export$4a7729b856e9a690 = new Set([
|
|
71
71
|
'text/plain',
|
|
72
72
|
'text/uri-list',
|
|
73
73
|
'text/html'
|
|
74
74
|
]);
|
|
75
|
-
const $
|
|
76
|
-
const $
|
|
75
|
+
const $8e4046ff5ec007bd$export$fd9f9fc120c5402d = 'application/vnd.react-aria.items+json';
|
|
76
|
+
const $8e4046ff5ec007bd$export$f8fc6581787339b3 = 'application/octet-stream';
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
|
|
81
|
-
const $
|
|
82
|
-
function $
|
|
83
|
-
let id = $
|
|
84
|
-
$
|
|
81
|
+
const $c1cba3854dc3a167$var$droppableCollectionIds = new WeakMap();
|
|
82
|
+
function $c1cba3854dc3a167$export$b1601eb39394a581(state) {
|
|
83
|
+
let id = $4on3C$reactariautils.useId();
|
|
84
|
+
$c1cba3854dc3a167$var$droppableCollectionIds.set(state, id);
|
|
85
85
|
return id;
|
|
86
86
|
}
|
|
87
|
-
function $
|
|
88
|
-
let id = $
|
|
87
|
+
function $c1cba3854dc3a167$export$3093291712f09a77(state) {
|
|
88
|
+
let id = $c1cba3854dc3a167$var$droppableCollectionIds.get(state);
|
|
89
89
|
if (!id) throw new Error('Droppable item outside a droppable collection');
|
|
90
90
|
return id;
|
|
91
91
|
}
|
|
92
|
-
function $
|
|
92
|
+
function $c1cba3854dc3a167$export$e1d41611756c6326(items) {
|
|
93
93
|
let types = new Set();
|
|
94
94
|
for (let item of items)for (let type of Object.keys(item))types.add(type);
|
|
95
95
|
return types;
|
|
96
96
|
}
|
|
97
|
-
function $
|
|
97
|
+
function $c1cba3854dc3a167$var$mapModality(modality) {
|
|
98
98
|
if (!modality) modality = 'virtual';
|
|
99
99
|
if (modality === 'pointer') modality = 'virtual';
|
|
100
100
|
if (modality === 'virtual' && 'ontouchstart' in window) modality = 'touch';
|
|
101
101
|
return modality;
|
|
102
102
|
}
|
|
103
|
-
function $
|
|
104
|
-
return $
|
|
103
|
+
function $c1cba3854dc3a167$export$49bac5d6d4b352ea() {
|
|
104
|
+
return $c1cba3854dc3a167$var$mapModality($4on3C$reactariainteractions.useInteractionModality());
|
|
105
105
|
}
|
|
106
|
-
function $
|
|
107
|
-
return $
|
|
106
|
+
function $c1cba3854dc3a167$export$1fb2158d224b542c() {
|
|
107
|
+
return $c1cba3854dc3a167$var$mapModality($4on3C$reactariainteractions.getInteractionModality());
|
|
108
108
|
}
|
|
109
|
-
function $
|
|
109
|
+
function $c1cba3854dc3a167$export$f9c1490890ddd063(dataTransfer, items) {
|
|
110
110
|
// The data transfer API doesn't support more than one item of a given type at once.
|
|
111
111
|
// In addition, only a small set of types are supported natively for transfer between applications.
|
|
112
112
|
// We allow for both multiple items, as well as multiple representations of a single item.
|
|
@@ -139,7 +139,7 @@ function $abb0460d779b39a8$export$f9c1490890ddd063(dataTransfer, items) {
|
|
|
139
139
|
}
|
|
140
140
|
customData.push(dataByType);
|
|
141
141
|
}
|
|
142
|
-
for (let [type, items1] of groupedByType)if ($
|
|
142
|
+
for (let [type, items1] of groupedByType)if ($8e4046ff5ec007bd$export$4a7729b856e9a690.has(type)) {
|
|
143
143
|
// Only one item of a given type can be set on a data transfer.
|
|
144
144
|
// Join all of the items together separated by newlines.
|
|
145
145
|
let data = items1.join('\n');
|
|
@@ -148,21 +148,21 @@ function $abb0460d779b39a8$export$f9c1490890ddd063(dataTransfer, items) {
|
|
|
148
148
|
dataTransfer.items.add(items1[0], type);
|
|
149
149
|
if (needsCustomData) {
|
|
150
150
|
let data = JSON.stringify(customData);
|
|
151
|
-
dataTransfer.items.add(data, $
|
|
151
|
+
dataTransfer.items.add(data, $8e4046ff5ec007bd$export$fd9f9fc120c5402d);
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
|
-
class $
|
|
154
|
+
class $c1cba3854dc3a167$export$7f04ce188c91447c {
|
|
155
155
|
constructor(dataTransfer){
|
|
156
156
|
this.types = new Set();
|
|
157
157
|
let hasFiles = false;
|
|
158
|
-
for (let item of dataTransfer.items)if (item.type !== $
|
|
158
|
+
for (let item of dataTransfer.items)if (item.type !== $8e4046ff5ec007bd$export$fd9f9fc120c5402d) {
|
|
159
159
|
if (item.kind === 'file') hasFiles = true;
|
|
160
160
|
if (item.type) this.types.add(item.type);
|
|
161
161
|
else // Files with unknown types or extensions that don't map to a known mime type
|
|
162
162
|
// are sometimes exposed as an empty string by the browser. Map to a generic
|
|
163
163
|
// mime type instead. Note that this could also be a directory as there's no
|
|
164
164
|
// way to determine if something is a file or directory until drop.
|
|
165
|
-
this.types.add($
|
|
165
|
+
this.types.add($8e4046ff5ec007bd$export$f8fc6581787339b3);
|
|
166
166
|
}
|
|
167
167
|
// In Safari, when dragging files, the dataTransfer.items list is empty, but dataTransfer.types contains "Files".
|
|
168
168
|
// Unfortunately, this doesn't tell us what types of files the user is dragging, so we need to assume that any
|
|
@@ -174,14 +174,14 @@ class $abb0460d779b39a8$export$7f04ce188c91447c {
|
|
|
174
174
|
return this.types.has(type);
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
|
-
function $
|
|
177
|
+
function $c1cba3854dc3a167$export$d9e760437831f8b3(dataTransfer) {
|
|
178
178
|
let items = [];
|
|
179
179
|
// If our custom drag type is available, use that. This is a JSON serialized
|
|
180
180
|
// representation of all items in the drag, set when there are multiple items
|
|
181
181
|
// of the same type, or an individual item has multiple representations.
|
|
182
182
|
let hasCustomType = false;
|
|
183
|
-
if (dataTransfer.types.includes($
|
|
184
|
-
let data = dataTransfer.getData($
|
|
183
|
+
if (dataTransfer.types.includes($8e4046ff5ec007bd$export$fd9f9fc120c5402d)) try {
|
|
184
|
+
let data = dataTransfer.getData($8e4046ff5ec007bd$export$fd9f9fc120c5402d);
|
|
185
185
|
let parsed = JSON.parse(data);
|
|
186
186
|
for (let item of parsed)items.push({
|
|
187
187
|
kind: 'text',
|
|
@@ -199,7 +199,7 @@ function $abb0460d779b39a8$export$d9e760437831f8b3(dataTransfer) {
|
|
|
199
199
|
if (item.kind === 'string') // The data for all formats must be read here because the data transfer gets
|
|
200
200
|
// cleared out after the event handler finishes. If the item has an empty string
|
|
201
201
|
// as a type, the mime type is unknown. Map to a generic mime type instead.
|
|
202
|
-
stringItems.set(item.type || $
|
|
202
|
+
stringItems.set(item.type || $8e4046ff5ec007bd$export$f8fc6581787339b3, dataTransfer.getData(item.type));
|
|
203
203
|
else if (item.kind === 'file') {
|
|
204
204
|
// Despite the name, webkitGetAsEntry is also implemented in Firefox and Edge.
|
|
205
205
|
// In the future, we may use getAsFileSystemHandle instead, but that's currently
|
|
@@ -207,10 +207,10 @@ function $abb0460d779b39a8$export$d9e760437831f8b3(dataTransfer) {
|
|
|
207
207
|
if (typeof item.webkitGetAsEntry === 'function') {
|
|
208
208
|
let entry = item.webkitGetAsEntry();
|
|
209
209
|
if (!entry) continue;
|
|
210
|
-
if (entry.isFile) items.push($
|
|
211
|
-
else if (entry.isDirectory) items.push($
|
|
210
|
+
if (entry.isFile) items.push($c1cba3854dc3a167$var$createFileItem(item.getAsFile()));
|
|
211
|
+
else if (entry.isDirectory) items.push($c1cba3854dc3a167$var$createDirectoryItem(entry));
|
|
212
212
|
} else // Assume it's a file.
|
|
213
|
-
items.push($
|
|
213
|
+
items.push($c1cba3854dc3a167$var$createFileItem(item.getAsFile()));
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
// All string items are different representations of the same item. There's no way to have
|
|
@@ -223,7 +223,7 @@ function $abb0460d779b39a8$export$d9e760437831f8b3(dataTransfer) {
|
|
|
223
223
|
}
|
|
224
224
|
return items;
|
|
225
225
|
}
|
|
226
|
-
function $
|
|
226
|
+
function $c1cba3854dc3a167$var$blobToString(blob) {
|
|
227
227
|
if (typeof blob.text === 'function') return blob.text();
|
|
228
228
|
// Safari doesn't have the Blob#text() method yet...
|
|
229
229
|
return new Promise((resolve, reject)=>{
|
|
@@ -235,24 +235,24 @@ function $abb0460d779b39a8$var$blobToString(blob) {
|
|
|
235
235
|
reader.readAsText(blob);
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
|
-
function $
|
|
238
|
+
function $c1cba3854dc3a167$var$createFileItem(file) {
|
|
239
239
|
return {
|
|
240
240
|
kind: 'file',
|
|
241
|
-
type: file.type || $
|
|
241
|
+
type: file.type || $8e4046ff5ec007bd$export$f8fc6581787339b3,
|
|
242
242
|
name: file.name,
|
|
243
|
-
getText: ()=>$
|
|
243
|
+
getText: ()=>$c1cba3854dc3a167$var$blobToString(file)
|
|
244
244
|
,
|
|
245
245
|
getFile: ()=>Promise.resolve(file)
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
|
-
function $
|
|
248
|
+
function $c1cba3854dc3a167$var$createDirectoryItem(entry) {
|
|
249
249
|
return {
|
|
250
250
|
kind: 'directory',
|
|
251
251
|
name: entry.name,
|
|
252
|
-
getEntries: ()=>$
|
|
252
|
+
getEntries: ()=>$c1cba3854dc3a167$var$getEntries(entry)
|
|
253
253
|
};
|
|
254
254
|
}
|
|
255
|
-
async function* $
|
|
255
|
+
async function* $c1cba3854dc3a167$var$getEntries(item) {
|
|
256
256
|
let reader = item.createReader();
|
|
257
257
|
// We must call readEntries repeatedly because there may be a limit to the
|
|
258
258
|
// number of entries that are returned at once.
|
|
@@ -263,63 +263,63 @@ async function* $abb0460d779b39a8$var$getEntries(item) {
|
|
|
263
263
|
});
|
|
264
264
|
for (let entry of entries){
|
|
265
265
|
if (entry.isFile) {
|
|
266
|
-
let file = await $
|
|
267
|
-
yield $
|
|
268
|
-
} else if (entry.isDirectory) yield $
|
|
266
|
+
let file = await $c1cba3854dc3a167$var$getEntryFile(entry);
|
|
267
|
+
yield $c1cba3854dc3a167$var$createFileItem(file);
|
|
268
|
+
} else if (entry.isDirectory) yield $c1cba3854dc3a167$var$createDirectoryItem(entry);
|
|
269
269
|
}
|
|
270
270
|
}while (entries.length > 0)
|
|
271
271
|
}
|
|
272
|
-
function $
|
|
272
|
+
function $c1cba3854dc3a167$var$getEntryFile(entry) {
|
|
273
273
|
return new Promise((resolve, reject)=>entry.file(resolve, reject)
|
|
274
274
|
);
|
|
275
275
|
}
|
|
276
276
|
|
|
277
277
|
|
|
278
278
|
|
|
279
|
-
let $
|
|
280
|
-
let $
|
|
281
|
-
let $
|
|
282
|
-
let $
|
|
283
|
-
function $
|
|
284
|
-
$
|
|
285
|
-
$
|
|
279
|
+
let $d69e2bc1de15721f$var$dropTargets = new Map();
|
|
280
|
+
let $d69e2bc1de15721f$var$dropItems = new Map();
|
|
281
|
+
let $d69e2bc1de15721f$var$dragSession = null;
|
|
282
|
+
let $d69e2bc1de15721f$var$subscriptions = new Set();
|
|
283
|
+
function $d69e2bc1de15721f$export$c28d9fb4a54e471a(target) {
|
|
284
|
+
$d69e2bc1de15721f$var$dropTargets.set(target.element, target);
|
|
285
|
+
$d69e2bc1de15721f$var$dragSession?.updateValidDropTargets();
|
|
286
286
|
return ()=>{
|
|
287
|
-
$
|
|
288
|
-
$
|
|
287
|
+
$d69e2bc1de15721f$var$dropTargets.delete(target.element);
|
|
288
|
+
$d69e2bc1de15721f$var$dragSession?.updateValidDropTargets();
|
|
289
289
|
};
|
|
290
290
|
}
|
|
291
|
-
function $
|
|
292
|
-
$
|
|
291
|
+
function $d69e2bc1de15721f$export$aef80212ac99c003(item) {
|
|
292
|
+
$d69e2bc1de15721f$var$dropItems.set(item.element, item);
|
|
293
293
|
return ()=>{
|
|
294
|
-
$
|
|
294
|
+
$d69e2bc1de15721f$var$dropItems.delete(item.element);
|
|
295
295
|
};
|
|
296
296
|
}
|
|
297
|
-
function $
|
|
298
|
-
if ($
|
|
299
|
-
$
|
|
297
|
+
function $d69e2bc1de15721f$export$549dbcf8649bf3b2(target, formatMessage) {
|
|
298
|
+
if ($d69e2bc1de15721f$var$dragSession) throw new Error('Cannot begin dragging while already dragging');
|
|
299
|
+
$d69e2bc1de15721f$var$dragSession = new $d69e2bc1de15721f$var$DragSession(target, formatMessage);
|
|
300
300
|
requestAnimationFrame(()=>{
|
|
301
|
-
$
|
|
302
|
-
if ($
|
|
301
|
+
$d69e2bc1de15721f$var$dragSession.setup();
|
|
302
|
+
if ($c1cba3854dc3a167$export$1fb2158d224b542c() === 'keyboard') $d69e2bc1de15721f$var$dragSession.next();
|
|
303
303
|
});
|
|
304
|
-
for (let cb of $
|
|
304
|
+
for (let cb of $d69e2bc1de15721f$var$subscriptions)cb();
|
|
305
305
|
}
|
|
306
|
-
function $
|
|
307
|
-
let [session, setSession] = $
|
|
308
|
-
$
|
|
309
|
-
let cb = ()=>setSession($
|
|
306
|
+
function $d69e2bc1de15721f$export$418e185dd3f1b968() {
|
|
307
|
+
let [session, setSession] = $4on3C$react.useState($d69e2bc1de15721f$var$dragSession);
|
|
308
|
+
$4on3C$react.useEffect(()=>{
|
|
309
|
+
let cb = ()=>setSession($d69e2bc1de15721f$var$dragSession)
|
|
310
310
|
;
|
|
311
|
-
$
|
|
311
|
+
$d69e2bc1de15721f$var$subscriptions.add(cb);
|
|
312
312
|
return ()=>{
|
|
313
|
-
$
|
|
313
|
+
$d69e2bc1de15721f$var$subscriptions.delete(cb);
|
|
314
314
|
};
|
|
315
315
|
}, []);
|
|
316
316
|
return session;
|
|
317
317
|
}
|
|
318
|
-
function $
|
|
319
|
-
$
|
|
320
|
-
for (let cb of $
|
|
318
|
+
function $d69e2bc1de15721f$var$endDragging() {
|
|
319
|
+
$d69e2bc1de15721f$var$dragSession = null;
|
|
320
|
+
for (let cb of $d69e2bc1de15721f$var$subscriptions)cb();
|
|
321
321
|
}
|
|
322
|
-
const $
|
|
322
|
+
const $d69e2bc1de15721f$var$CANCELED_EVENTS = [
|
|
323
323
|
'pointerdown',
|
|
324
324
|
'pointermove',
|
|
325
325
|
'pointerenter',
|
|
@@ -341,17 +341,17 @@ const $d969485343eae191$var$CANCELED_EVENTS = [
|
|
|
341
341
|
'focusin',
|
|
342
342
|
'focusout'
|
|
343
343
|
];
|
|
344
|
-
const $
|
|
344
|
+
const $d69e2bc1de15721f$var$CLICK_EVENTS = [
|
|
345
345
|
'pointerup',
|
|
346
346
|
'mouseup',
|
|
347
347
|
'touchend'
|
|
348
348
|
];
|
|
349
|
-
const $
|
|
349
|
+
const $d69e2bc1de15721f$var$MESSAGES = {
|
|
350
350
|
keyboard: 'dragStartedKeyboard',
|
|
351
351
|
touch: 'dragStartedTouch',
|
|
352
352
|
virtual: 'dragStartedVirtual'
|
|
353
353
|
};
|
|
354
|
-
class $
|
|
354
|
+
class $d69e2bc1de15721f$var$DragSession {
|
|
355
355
|
constructor(target, formatMessage){
|
|
356
356
|
this.dragTarget = target;
|
|
357
357
|
this.formatMessage = formatMessage;
|
|
@@ -366,18 +366,18 @@ class $d969485343eae191$var$DragSession {
|
|
|
366
366
|
window.addEventListener('focus', this.onFocus, true);
|
|
367
367
|
window.addEventListener('blur', this.onBlur, true);
|
|
368
368
|
document.addEventListener('click', this.onClick, true);
|
|
369
|
-
for (let event of $
|
|
369
|
+
for (let event of $d69e2bc1de15721f$var$CANCELED_EVENTS)document.addEventListener(event, this.cancelEvent, true);
|
|
370
370
|
this.mutationObserver = new MutationObserver(()=>this.updateValidDropTargets()
|
|
371
371
|
);
|
|
372
372
|
this.updateValidDropTargets();
|
|
373
|
-
$
|
|
373
|
+
$4on3C$reactarialiveannouncer.announce(this.formatMessage($d69e2bc1de15721f$var$MESSAGES[$c1cba3854dc3a167$export$1fb2158d224b542c()]));
|
|
374
374
|
}
|
|
375
375
|
teardown() {
|
|
376
376
|
document.removeEventListener('keydown', this.onKeyDown, true);
|
|
377
377
|
window.removeEventListener('focus', this.onFocus, true);
|
|
378
378
|
window.removeEventListener('blur', this.onBlur, true);
|
|
379
379
|
document.removeEventListener('click', this.onClick, true);
|
|
380
|
-
for (let event of $
|
|
380
|
+
for (let event of $d69e2bc1de15721f$var$CANCELED_EVENTS)document.removeEventListener(event, this.cancelEvent, true);
|
|
381
381
|
this.mutationObserver.disconnect();
|
|
382
382
|
this.restoreAriaHidden();
|
|
383
383
|
if (this.mutationImmediate) clearImmediate(this.mutationImmediate);
|
|
@@ -411,7 +411,7 @@ class $d969485343eae191$var$DragSession {
|
|
|
411
411
|
else this.dragTarget.element.focus();
|
|
412
412
|
return;
|
|
413
413
|
}
|
|
414
|
-
let item = $
|
|
414
|
+
let item = $d69e2bc1de15721f$var$dropItems.get(e.target);
|
|
415
415
|
this.setCurrentDropTarget(dropTarget, item);
|
|
416
416
|
}
|
|
417
417
|
onBlur(e) {
|
|
@@ -433,14 +433,14 @@ class $d969485343eae191$var$DragSession {
|
|
|
433
433
|
let dropTarget = this.validDropTargets.find((target)=>target.element.contains(e.target)
|
|
434
434
|
);
|
|
435
435
|
if (dropTarget) {
|
|
436
|
-
let item = $
|
|
436
|
+
let item = $d69e2bc1de15721f$var$dropItems.get(e.target);
|
|
437
437
|
this.setCurrentDropTarget(dropTarget, item);
|
|
438
438
|
this.drop(item);
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
441
|
cancelEvent(e) {
|
|
442
442
|
// Allow default for events that might cancel a click event
|
|
443
|
-
if (!$
|
|
443
|
+
if (!$d69e2bc1de15721f$var$CLICK_EVENTS.includes(e.type)) e.preventDefault();
|
|
444
444
|
e.stopPropagation();
|
|
445
445
|
e.stopImmediatePropagation();
|
|
446
446
|
}
|
|
@@ -448,12 +448,12 @@ class $d969485343eae191$var$DragSession {
|
|
|
448
448
|
if (!this.mutationObserver) return;
|
|
449
449
|
this.mutationObserver.disconnect();
|
|
450
450
|
if (this.restoreAriaHidden) this.restoreAriaHidden();
|
|
451
|
-
this.validDropTargets = $
|
|
451
|
+
this.validDropTargets = $d69e2bc1de15721f$var$findValidDropTargets(this.dragTarget);
|
|
452
452
|
if (this.currentDropTarget && !this.validDropTargets.includes(this.currentDropTarget)) this.setCurrentDropTarget(this.validDropTargets[0]);
|
|
453
453
|
// Find valid drop items within collections
|
|
454
|
-
let types = $
|
|
454
|
+
let types = $c1cba3854dc3a167$export$e1d41611756c6326(this.dragTarget.items);
|
|
455
455
|
let validDropItems = [
|
|
456
|
-
...$
|
|
456
|
+
...$d69e2bc1de15721f$var$dropItems.values()
|
|
457
457
|
].filter((item)=>{
|
|
458
458
|
if (typeof item.getDropOperation === 'function') return item.getDropOperation(types, this.dragTarget.allowedDropOperations) !== 'cancel';
|
|
459
459
|
return true;
|
|
@@ -463,7 +463,7 @@ class $d969485343eae191$var$DragSession {
|
|
|
463
463
|
let visibleDropTargets = this.validDropTargets.filter((target)=>!validDropItems.some((item)=>target.element.contains(item.element)
|
|
464
464
|
)
|
|
465
465
|
);
|
|
466
|
-
this.restoreAriaHidden = $
|
|
466
|
+
this.restoreAriaHidden = $4on3C$reactariaoverlays.ariaHideOutside([
|
|
467
467
|
this.dragTarget.element,
|
|
468
468
|
...validDropItems.map((item)=>item.element
|
|
469
469
|
),
|
|
@@ -558,12 +558,12 @@ class $d969485343eae191$var$DragSession {
|
|
|
558
558
|
});
|
|
559
559
|
}
|
|
560
560
|
this.setCurrentDropTarget(null);
|
|
561
|
-
$
|
|
561
|
+
$d69e2bc1de15721f$var$endDragging();
|
|
562
562
|
}
|
|
563
563
|
cancel() {
|
|
564
564
|
this.end();
|
|
565
565
|
if (!this.dragTarget.element.closest('[aria-hidden="true"]')) this.dragTarget.element.focus();
|
|
566
|
-
$
|
|
566
|
+
$4on3C$reactarialiveannouncer.announce(this.formatMessage('dropCanceled'));
|
|
567
567
|
}
|
|
568
568
|
drop(item1) {
|
|
569
569
|
if (!this.currentDropTarget) {
|
|
@@ -571,10 +571,10 @@ class $d969485343eae191$var$DragSession {
|
|
|
571
571
|
return;
|
|
572
572
|
}
|
|
573
573
|
if (typeof item1?.getDropOperation === 'function') {
|
|
574
|
-
let types = $
|
|
574
|
+
let types = $c1cba3854dc3a167$export$e1d41611756c6326(this.dragTarget.items);
|
|
575
575
|
this.dropOperation = item1.getDropOperation(types, this.dragTarget.allowedDropOperations);
|
|
576
576
|
} else if (typeof this.currentDropTarget.getDropOperation === 'function') {
|
|
577
|
-
let types = $
|
|
577
|
+
let types = $c1cba3854dc3a167$export$e1d41611756c6326(this.dragTarget.items);
|
|
578
578
|
this.dropOperation = this.currentDropTarget.getDropOperation(types, this.dragTarget.allowedDropOperations);
|
|
579
579
|
} else // TODO: show menu ??
|
|
580
580
|
this.dropOperation = this.dragTarget.allowedDropOperations[0];
|
|
@@ -595,7 +595,7 @@ class $d969485343eae191$var$DragSession {
|
|
|
595
595
|
}, item1?.target);
|
|
596
596
|
}
|
|
597
597
|
this.end();
|
|
598
|
-
$
|
|
598
|
+
$4on3C$reactarialiveannouncer.announce(this.formatMessage('dropComplete'));
|
|
599
599
|
}
|
|
600
600
|
activate() {
|
|
601
601
|
if (this.currentDropTarget && typeof this.currentDropTarget.onDropActivate === 'function') {
|
|
@@ -608,10 +608,10 @@ class $d969485343eae191$var$DragSession {
|
|
|
608
608
|
}
|
|
609
609
|
}
|
|
610
610
|
}
|
|
611
|
-
function $
|
|
612
|
-
let types = $
|
|
611
|
+
function $d69e2bc1de15721f$var$findValidDropTargets(options) {
|
|
612
|
+
let types = $c1cba3854dc3a167$export$e1d41611756c6326(options.items);
|
|
613
613
|
return [
|
|
614
|
-
...$
|
|
614
|
+
...$d69e2bc1de15721f$var$dropTargets.values()
|
|
615
615
|
].filter((target)=>{
|
|
616
616
|
if (target.element.closest('[aria-hidden="true"]')) return false;
|
|
617
617
|
if (typeof target.getDropOperation === 'function') return target.getDropOperation(types, options.allowedDropOperations) !== 'cancel';
|
|
@@ -621,178 +621,178 @@ function $d969485343eae191$var$findValidDropTargets(options) {
|
|
|
621
621
|
|
|
622
622
|
|
|
623
623
|
|
|
624
|
-
var $
|
|
625
|
-
var $
|
|
626
|
-
$
|
|
624
|
+
var $a0e2171154b8c4fe$exports = {};
|
|
625
|
+
var $e1076e638f72e513$exports = {};
|
|
626
|
+
$e1076e638f72e513$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"اضغط Enter لبدء السحب.\",\"dragDescriptionTouch\":\"اضغط مرتين لبدء السحب.\",\"dragDescriptionVirtual\":\"انقر لبدء السحب.\",\"dragItem\":\"اسحب {itemText}\",\"dragSelectedItems\":\"اسحب {count, plural, one {# عنصر محدد} other {# عناصر محددة}}\",\"dragStartedKeyboard\":\"بدأ السحب. اضغط Tab للانتقال إلى موضع الإفلات، ثم اضغط Enter للإفلات، أو اضغط Escape للإلغاء.\",\"dragStartedTouch\":\"بدأ السحب. انتقل إلى موضع الإفلات، ثم اضغط مرتين للإفلات.\",\"dragStartedVirtual\":\"بدأ السحب. انتقل إلى مكان الإفلات، ثم انقر أو اضغط Enter للإفلات.\",\"dropCanceled\":\"تم إلغاء الإفلات.\",\"dropComplete\":\"اكتمل الإفلات.\",\"dropDescriptionKeyboard\":\"اضغط Enter للإفلات. اضغط Escape لإلغاء السحب.\",\"dropDescriptionTouch\":\"اضغط مرتين للإفلات.\",\"dropDescriptionVirtual\":\"انقر للإفلات.\",\"dropIndicator\":\"مؤشر الإفلات\",\"dropOnItem\":\"إفلات {itemText}\",\"dropOnRoot\":\"الإفلات\",\"endDragKeyboard\":\"السحب. اضغط Enter لإلغاء السحب.\",\"endDragTouch\":\"السحب. اضغط مرتين لإلغاء السحب.\",\"endDragVirtual\":\"السحب. انقر لإلغاء السحب.\",\"insertAfter\":\"أدخل بعد {itemText}\",\"insertBefore\":\"أدخل قبل {itemText}\",\"insertBetween\":\"أدخل بين {beforeItemText} و {afterItemText}\"}");
|
|
627
627
|
|
|
628
628
|
|
|
629
|
-
var $
|
|
630
|
-
$
|
|
629
|
+
var $5247825c4c521ecd$exports = {};
|
|
630
|
+
$5247825c4c521ecd$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Натиснете „Enter“, за да започнете да плъзгате.\",\"dragDescriptionTouch\":\"Натиснете двукратно, за да започнете да плъзгате.\",\"dragDescriptionVirtual\":\"Щракнете, за да започнете да плъзгате.\",\"dragItem\":\"Плъзни {itemText}\",\"dragSelectedItems\":\"Плъзни {count, plural, one {# избран елемент} other {# избрани елемента}}\",\"dragStartedKeyboard\":\"Започна плъзгане. Натиснете „Tab“, за да се придвижите до целта, след което натиснете „Enter“ за пускане или натиснете „Escape“ за отмяна.\",\"dragStartedTouch\":\"Започна плъзгане. Придвижете се до целта, след което натиснете двукратно, за да пуснете.\",\"dragStartedVirtual\":\"Започна плъзгане. Придвижете се до целта, след което щракнете или натиснете „Enter“ за пускане.\",\"dropCanceled\":\"Пускането е отменено.\",\"dropComplete\":\"Пускането е завършено.\",\"dropDescriptionKeyboard\":\"Натиснете „Enter“ за пускане. Натиснете „Escape“ за отмяна на плъзгането.\",\"dropDescriptionTouch\":\"Натиснете двукратно за пускане.\",\"dropDescriptionVirtual\":\"Щракнете за пускане.\",\"dropIndicator\":\"индикатор за пускане\",\"dropOnItem\":\"Пусни върху {itemText}\",\"dropOnRoot\":\"Пусни върху\",\"endDragKeyboard\":\"Плъзгане. Натиснете „Enter“ за отмяна на плъзгането.\",\"endDragTouch\":\"Плъзгане. Натиснете двукратно за отмяна на плъзгането.\",\"endDragVirtual\":\"Плъзгане. Щракнете за отмяна.\",\"insertAfter\":\"Вмъкни след {itemText}\",\"insertBefore\":\"Вмъкни преди {itemText}\",\"insertBetween\":\"Вмъкни между {beforeItemText} и {afterItemText}\"}");
|
|
631
631
|
|
|
632
632
|
|
|
633
|
-
var $
|
|
634
|
-
$
|
|
633
|
+
var $679c7987be73b33a$exports = {};
|
|
634
|
+
$679c7987be73b33a$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Stisknutím klávesy Enter začnete s přetahováním.\",\"dragDescriptionTouch\":\"Poklepáním začnete s přetahováním.\",\"dragDescriptionVirtual\":\"Kliknutím začnete s přetahováním.\",\"dragItem\":\"Přetáhnout {itemText}\",\"dragSelectedItems\":\"Přetáhnout {count, plural, one {# vybranou položku} few {# vybrané položky} other {# vybraných položek}}\",\"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.\",\"dragStartedTouch\":\"Začněte s přetahováním. Najděte požadovaný cíl a poklepáním přetažení dokončete.\",\"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.\",\"dropCanceled\":\"Přetažení bylo zrušeno.\",\"dropComplete\":\"Přetažení bylo dokončeno.\",\"dropDescriptionKeyboard\":\"Stisknutím klávesy Enter přetažení dokončete nebo stisknutím klávesy Esc akci zrušte.\",\"dropDescriptionTouch\":\"Poklepáním přetažení dokončete.\",\"dropDescriptionVirtual\":\"Kliknutím objekt přetáhněte.\",\"dropIndicator\":\"indikátor přetažení\",\"dropOnItem\":\"Přetáhnout na {itemText}\",\"dropOnRoot\":\"Přetáhnout na\",\"endDragKeyboard\":\"Probíhá přetahování. Stisknutím klávesy Enter přetažení zrušíte.\",\"endDragTouch\":\"Probíhá přetahování. Poklepáním přetažení zrušíte.\",\"endDragVirtual\":\"Probíhá přetahování. Kliknutím přetažení zrušíte.\",\"insertAfter\":\"Vložit za {itemText}\",\"insertBefore\":\"Vložit před {itemText}\",\"insertBetween\":\"Vložit mezi {beforeItemText} a {afterItemText}\"}");
|
|
635
635
|
|
|
636
636
|
|
|
637
|
-
var $
|
|
638
|
-
$
|
|
637
|
+
var $1c6be209d930911d$exports = {};
|
|
638
|
+
$1c6be209d930911d$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Tryk på Enter for at starte med at trække.\",\"dragDescriptionTouch\":\"Dobbelttryk for at starte med at trække.\",\"dragDescriptionVirtual\":\"Klik for at starte med at trække.\",\"dragItem\":\"Træk {itemText}\",\"dragSelectedItems\":\"Træk {count, plural, one {# valgt element} other {# valgte elementer}}\",\"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.\",\"dragStartedTouch\":\"Startet med at trække. Gå til et slip-mål, og dobbelttryk derefter for at slippe.\",\"dragStartedVirtual\":\"Startet med at trække. Gå til et slip-mål, og klik eller tryk derefter på enter for at slippe.\",\"dropCanceled\":\"Slip annulleret.\",\"dropComplete\":\"Slip fuldført.\",\"dropDescriptionKeyboard\":\"Tryk på Enter for at slippe. Tryk på Escape for at annullere trækning.\",\"dropDescriptionTouch\":\"Dobbelttryk for at slippe.\",\"dropDescriptionVirtual\":\"Klik for at slippe.\",\"dropIndicator\":\"slip-indikator\",\"dropOnItem\":\"Slip på {itemText}\",\"dropOnRoot\":\"Slip på\",\"endDragKeyboard\":\"Trækning. Tryk på enter for at annullere træk.\",\"endDragTouch\":\"Trækning. Dobbelttryk for at annullere træk.\",\"endDragVirtual\":\"Trækning. Klik for at annullere trækning.\",\"insertAfter\":\"Indsæt efter {itemText}\",\"insertBefore\":\"Indsæt før {itemText}\",\"insertBetween\":\"Indsæt mellem {beforeItemText} og {afterItemText}\"}");
|
|
639
639
|
|
|
640
640
|
|
|
641
|
-
var $
|
|
642
|
-
$
|
|
641
|
+
var $0c5c28ae829fbcc5$exports = {};
|
|
642
|
+
$0c5c28ae829fbcc5$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Drücken Sie die Eingabetaste, um den Ziehvorgang zu starten.\",\"dragDescriptionTouch\":\"Tippen Sie doppelt, um den Ziehvorgang zu starten.\",\"dragDescriptionVirtual\":\"Zum Starten des Ziehvorgangs klicken.\",\"dragItem\":\"{itemText} ziehen\",\"dragSelectedItems\":\"{count, plural, one {# ausgewähltes Objekt} other {# ausgewählte Objekte}} ziehen\",\"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.\",\"dragStartedTouch\":\"Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und tippen Sie doppelt, um das Objekt abzulegen.\",\"dragStartedVirtual\":\"Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und klicken Sie oder drücken Sie die Eingabetaste, um das Objekt abzulegen.\",\"dropCanceled\":\"Ablegen abgebrochen.\",\"dropComplete\":\"Ablegen abgeschlossen.\",\"dropDescriptionKeyboard\":\"Drücken Sie die Eingabetaste, um das Objekt abzulegen. Drücken Sie Escape, um den Vorgang abzubrechen.\",\"dropDescriptionTouch\":\"Tippen Sie doppelt, um das Objekt abzulegen.\",\"dropDescriptionVirtual\":\"Zum Ablegen klicken.\",\"dropIndicator\":\"Ablegeanzeiger\",\"dropOnItem\":\"Auf {itemText} ablegen\",\"dropOnRoot\":\"Ablegen auf\",\"endDragKeyboard\":\"Ziehvorgang läuft. Drücken Sie die Eingabetaste, um den Vorgang abzubrechen.\",\"endDragTouch\":\"Ziehvorgang läuft. Tippen Sie doppelt, um den Vorgang abzubrechen.\",\"endDragVirtual\":\"Ziehvorgang läuft. Klicken Sie, um den Vorgang abzubrechen.\",\"insertAfter\":\"Nach {itemText} einfügen\",\"insertBefore\":\"Vor {itemText} einfügen\",\"insertBetween\":\"Zwischen {beforeItemText} und {afterItemText} einfügen\"}");
|
|
643
643
|
|
|
644
644
|
|
|
645
|
-
var $
|
|
646
|
-
$
|
|
645
|
+
var $362719e545ebbe59$exports = {};
|
|
646
|
+
$362719e545ebbe59$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Πατήστε Enter για έναρξη της μεταφοράς.\",\"dragDescriptionTouch\":\"Πατήστε δύο φορές για έναρξη της μεταφοράς.\",\"dragDescriptionVirtual\":\"Κάντε κλικ για να ξεκινήσετε τη μεταφορά.\",\"dragItem\":\"Μεταφορά {itemText}\",\"dragSelectedItems\":\"Μεταφορά σε {count, plural, one {# επιλεγμένο στοιχείο} other {# επιλεγμένα στοιχεία}}\",\"dragStartedKeyboard\":\"Η μεταφορά ξεκίνησε. Πατήστε το πλήκτρο Tab για να μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε Enter για απόθεση ή πατήστε Escape για ακύρωση.\",\"dragStartedTouch\":\"Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε δύο φορές για απόθεση.\",\"dragStartedVirtual\":\"Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, κάντε κλικ ή πατήστε Enter για απόθεση.\",\"dropCanceled\":\"Η απόθεση ακυρώθηκε.\",\"dropComplete\":\"Η απόθεση ολοκληρώθηκε.\",\"dropDescriptionKeyboard\":\"Πατήστε Enter για απόθεση. Πατήστε Escape για ακύρωση της μεταφοράς.\",\"dropDescriptionTouch\":\"Πατήστε δύο φορές για απόθεση.\",\"dropDescriptionVirtual\":\"Κάντε κλικ για απόθεση.\",\"dropIndicator\":\"δείκτης απόθεσης\",\"dropOnItem\":\"Απόθεση σε {itemText}\",\"dropOnRoot\":\"Απόθεση σε\",\"endDragKeyboard\":\"Μεταφορά σε εξέλιξη. Πατήστε Enter για ακύρωση της μεταφοράς.\",\"endDragTouch\":\"Μεταφορά σε εξέλιξη. Πατήστε δύο φορές για ακύρωση της μεταφοράς.\",\"endDragVirtual\":\"Μεταφορά σε εξέλιξη. Κάντε κλικ για ακύρωση της μεταφοράς.\",\"insertAfter\":\"Εισαγωγή μετά από {itemText}\",\"insertBefore\":\"Εισαγωγή πριν από {itemText}\",\"insertBetween\":\"Εισαγωγή μεταξύ {beforeItemText} και {afterItemText}\"}");
|
|
647
647
|
|
|
648
648
|
|
|
649
|
-
var $
|
|
650
|
-
$
|
|
649
|
+
var $bf5ca542ddbd7e1e$exports = {};
|
|
650
|
+
$bf5ca542ddbd7e1e$exports = JSON.parse("{\"dragItem\":\"Drag {itemText}\",\"dragSelectedItems\":\"Drag {count, plural, one {# selected item} other {# selected items}}\",\"dragDescriptionKeyboard\":\"Press Enter to start dragging.\",\"dragDescriptionTouch\":\"Double tap to start dragging.\",\"dragDescriptionVirtual\":\"Click to start dragging.\",\"dragStartedKeyboard\":\"Started dragging. Press Tab to navigate to a drop target, then press Enter to drop, or press Escape to cancel.\",\"dragStartedTouch\":\"Started dragging. Navigate to a drop target, then double tap to drop.\",\"dragStartedVirtual\":\"Started dragging. Navigate to a drop target, then click or press Enter to drop.\",\"endDragKeyboard\":\"Dragging. Press Enter to cancel drag.\",\"endDragTouch\":\"Dragging. Double tap to cancel drag.\",\"endDragVirtual\":\"Dragging. Click to cancel drag.\",\"dropDescriptionKeyboard\":\"Press Enter to drop. Press Escape to cancel drag.\",\"dropDescriptionTouch\":\"Double tap to drop.\",\"dropDescriptionVirtual\":\"Click to drop.\",\"dropCanceled\":\"Drop canceled.\",\"dropComplete\":\"Drop complete.\",\"dropIndicator\":\"drop indicator\",\"dropOnRoot\":\"Drop on\",\"dropOnItem\":\"Drop on {itemText}\",\"insertBefore\":\"Insert before {itemText}\",\"insertBetween\":\"Insert between {beforeItemText} and {afterItemText}\",\"insertAfter\":\"Insert after {itemText}\"}");
|
|
651
651
|
|
|
652
652
|
|
|
653
|
-
var $
|
|
654
|
-
$
|
|
653
|
+
var $249f7c6f2b021a36$exports = {};
|
|
654
|
+
$249f7c6f2b021a36$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Pulse Intro para empezar a arrastrar.\",\"dragDescriptionTouch\":\"Pulse dos veces para iniciar el arrastre.\",\"dragDescriptionVirtual\":\"Haga clic para iniciar el arrastre.\",\"dragItem\":\"Arrastrar {itemText}\",\"dragSelectedItems\":\"Arrastrar {count, plural, one {# elemento seleccionado} other {# elementos seleccionados}}\",\"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.\",\"dragStartedTouch\":\"Se ha empezado a arrastrar. Vaya al destino de colocación y, a continuación, pulse dos veces para soltar.\",\"dragStartedVirtual\":\"Se ha empezado a arrastrar. Vaya al destino de colocación y, a continuación, haga clic o pulse Intro para soltar.\",\"dropCanceled\":\"Se ha cancelado la colocación.\",\"dropComplete\":\"Colocación finalizada.\",\"dropDescriptionKeyboard\":\"Pulse Intro para soltar. Pulse Escape para cancelar el arrastre.\",\"dropDescriptionTouch\":\"Pulse dos veces para soltar.\",\"dropDescriptionVirtual\":\"Haga clic para soltar.\",\"dropIndicator\":\"indicador de colocación\",\"dropOnItem\":\"Soltar en {itemText}\",\"dropOnRoot\":\"Soltar en\",\"endDragKeyboard\":\"Arrastrando. Pulse Intro para cancelar el arrastre.\",\"endDragTouch\":\"Arrastrando. Pulse dos veces para cancelar el arrastre.\",\"endDragVirtual\":\"Arrastrando. Haga clic para cancelar el arrastre.\",\"insertAfter\":\"Insertar después de {itemText}\",\"insertBefore\":\"Insertar antes de {itemText}\",\"insertBetween\":\"Insertar entre {beforeItemText} y {afterItemText}\"}");
|
|
655
655
|
|
|
656
656
|
|
|
657
|
-
var $
|
|
658
|
-
$
|
|
657
|
+
var $a306aec76fcd0c95$exports = {};
|
|
658
|
+
$a306aec76fcd0c95$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Lohistamise alustamiseks vajutage klahvi Enter.\",\"dragDescriptionTouch\":\"Topeltpuudutage lohistamise alustamiseks.\",\"dragDescriptionVirtual\":\"Klõpsake lohistamise alustamiseks.\",\"dragItem\":\"Lohista {itemText}\",\"dragSelectedItems\":\"Lohista {count, plural, one {# valitud üksust} other {# valitud üksust}}\",\"dragStartedKeyboard\":\"Alustati lohistamist. Kukutamise sihtmärgi juurde navigeerimiseks vajutage klahvi Tab, seejärel vajutage kukutamiseks klahvi Enter või loobumiseks klahvi Escape.\",\"dragStartedTouch\":\"Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja topeltpuudutage kukutamiseks.\",\"dragStartedVirtual\":\"Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja kukutamiseks klõpsake või vajutage klahvi Enter.\",\"dropCanceled\":\"Lohistamisest loobuti.\",\"dropComplete\":\"Lohistamine on tehtud.\",\"dropDescriptionKeyboard\":\"Kukutamiseks vajutage klahvi Enter. Lohistamisest loobumiseks vajutage klahvi Escape.\",\"dropDescriptionTouch\":\"Kukutamiseks topeltpuudutage.\",\"dropDescriptionVirtual\":\"Kukutamiseks klõpsake.\",\"dropIndicator\":\"lohistamise indikaator\",\"dropOnItem\":\"Kukuta asukohta {itemText}\",\"dropOnRoot\":\"Kukuta asukohta\",\"endDragKeyboard\":\"Lohistamine. Lohistamisest loobumiseks vajutage klahvi Enter.\",\"endDragTouch\":\"Lohistamine. Lohistamisest loobumiseks topeltpuudutage.\",\"endDragVirtual\":\"Lohistamine. Lohistamisest loobumiseks klõpsake.\",\"insertAfter\":\"Sisesta {itemText} järele\",\"insertBefore\":\"Sisesta {itemText} ette\",\"insertBetween\":\"Sisesta {beforeItemText} ja {afterItemText} vahele\"}");
|
|
659
659
|
|
|
660
660
|
|
|
661
|
-
var $
|
|
662
|
-
$
|
|
661
|
+
var $6eb0560f4ff183ff$exports = {};
|
|
662
|
+
$6eb0560f4ff183ff$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Aloita vetäminen painamalla Enter-näppäintä.\",\"dragDescriptionTouch\":\"Aloita vetäminen kaksoisnapauttamalla.\",\"dragDescriptionVirtual\":\"Aloita vetäminen napsauttamalla.\",\"dragItem\":\"Vedä kohdetta {itemText}\",\"dragSelectedItems\":\"Vedä {count, plural, one {# valittua kohdetta} other {# valittua kohdetta}}\",\"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ä.\",\"dragStartedTouch\":\"Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota kaksoisnapauttamalla.\",\"dragStartedVirtual\":\"Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota napsauttamalla tai painamalla Enter-näppäintä.\",\"dropCanceled\":\"Pudotus peruutettu.\",\"dropComplete\":\"Pudotus suoritettu.\",\"dropDescriptionKeyboard\":\"Pudota painamalla Enter-näppäintä. Peruuta vetäminen painamalla Escape-näppäintä.\",\"dropDescriptionTouch\":\"Pudota kaksoisnapauttamalla.\",\"dropDescriptionVirtual\":\"Pudota napsauttamalla.\",\"dropIndicator\":\"pudotuksen ilmaisin\",\"dropOnItem\":\"Pudota kohteeseen {itemText}\",\"dropOnRoot\":\"Pudota kohteeseen\",\"endDragKeyboard\":\"Vedetään. Peruuta vetäminen painamalla Enter-näppäintä.\",\"endDragTouch\":\"Vedetään. Peruuta vetäminen kaksoisnapauttamalla.\",\"endDragVirtual\":\"Vedetään. Peruuta vetäminen napsauttamalla.\",\"insertAfter\":\"Lisää kohteen {itemText} jälkeen\",\"insertBefore\":\"Lisää ennen kohdetta {itemText}\",\"insertBetween\":\"Lisää kohteiden {beforeItemText} ja {afterItemText} väliin\"}");
|
|
663
663
|
|
|
664
664
|
|
|
665
|
-
var $
|
|
666
|
-
$
|
|
665
|
+
var $a9309d69baecc54a$exports = {};
|
|
666
|
+
$a9309d69baecc54a$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Appuyez sur Entrée pour commencer le déplacement.\",\"dragDescriptionTouch\":\"Touchez deux fois pour commencer le déplacement.\",\"dragDescriptionVirtual\":\"Cliquez pour commencer le déplacement.\",\"dragItem\":\"Déplacer {itemText}\",\"dragSelectedItems\":\"Déplacer {count, plural, one {# élément sélectionné} other {# éléments sélectionnés}}\",\"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.\",\"dragStartedTouch\":\"Déplacement commencé. Accédez à une cible de dépôt, puis touchez deux fois pour déposer.\",\"dragStartedVirtual\":\"Déplacement commencé. Accédez à une cible de dépôt, puis cliquez ou appuyez sur Entrée pour déposer.\",\"dropCanceled\":\"Dépôt annulé.\",\"dropComplete\":\"Dépôt terminé.\",\"dropDescriptionKeyboard\":\"Appuyez sur Entrée pour déposer. Appuyez sur Échap pour annuler le déplacement.\",\"dropDescriptionTouch\":\"Touchez deux fois pour déposer.\",\"dropDescriptionVirtual\":\"Cliquez pour déposer.\",\"dropIndicator\":\"indicateur de dépôt\",\"dropOnItem\":\"Déposer sur {itemText}\",\"dropOnRoot\":\"Déposer sur\",\"endDragKeyboard\":\"Déplacement. Appuyez sur Entrée pour annuler le déplacement.\",\"endDragTouch\":\"Déplacement. Touchez deux fois pour annuler le déplacement.\",\"endDragVirtual\":\"Déplacement. Cliquez pour annuler le déplacement.\",\"insertAfter\":\"Insérer après {itemText}\",\"insertBefore\":\"Insérer avant {itemText}\",\"insertBetween\":\"Insérer entre {beforeItemText} et {afterItemText}\"}");
|
|
667
667
|
|
|
668
668
|
|
|
669
|
-
var $
|
|
670
|
-
$
|
|
669
|
+
var $c306e39910a4b3d3$exports = {};
|
|
670
|
+
$c306e39910a4b3d3$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"הקש על Enter כדי להתחיל לגרור.\",\"dragDescriptionTouch\":\"הקש פעמיים כדי להתחיל בגרירה.\",\"dragDescriptionVirtual\":\"לחץ כדי להתחיל לגרור.\",\"dragItem\":\"גרור את {itemText}\",\"dragSelectedItems\":\"גרור {count, plural, one {פריט נבחר #} other {# פריטים שנבחרו}}\",\"dragStartedKeyboard\":\"התחלת לגרור. הקש על Tab כדי לנווט לנקודת הגרירה ולאחר מכן הקש על Enter כדי לשחרר או על Escape כדי לבטל.\",\"dragStartedTouch\":\"התחלת לגרור. נווט לנקודת השחרור ולאחר מכן הקש פעמיים כדי לשחרר.\",\"dragStartedVirtual\":\"התחלת לגרור. נווט לנקודת השחרור ולאחר מכן לחץ או הקש על Enter כדי לשחרר.\",\"dropCanceled\":\"השחרור בוטל.\",\"dropComplete\":\"השחרור הושלם.\",\"dropDescriptionKeyboard\":\"הקש על Enter כדי לשחרר. הקש על Escape כדי לבטל את הגרירה.\",\"dropDescriptionTouch\":\"הקש פעמיים כדי לשחרר.\",\"dropDescriptionVirtual\":\"לחץ כדי לשחרר.\",\"dropIndicator\":\"מחוון שחרור\",\"dropOnItem\":\"שחרר על {itemText}\",\"dropOnRoot\":\"שחרר על\",\"endDragKeyboard\":\"גורר. הקש על Enter כדי לבטל את הגרירה.\",\"endDragTouch\":\"גורר. הקש פעמיים כדי לבטל את הגרירה.\",\"endDragVirtual\":\"גורר. לחץ כדי לבטל את הגרירה.\",\"insertAfter\":\"הוסף אחרי {itemText}\",\"insertBefore\":\"הוסף לפני {itemText}\",\"insertBetween\":\"הוסף בין {beforeItemText} לבין {afterItemText}\"}");
|
|
671
671
|
|
|
672
672
|
|
|
673
|
-
var $
|
|
674
|
-
$
|
|
673
|
+
var $383c29c6b563fed3$exports = {};
|
|
674
|
+
$383c29c6b563fed3$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Pritisnite Enter da biste počeli povlačiti.\",\"dragDescriptionTouch\":\"Dvaput dodirnite da biste počeli povlačiti.\",\"dragDescriptionVirtual\":\"Kliknite da biste počeli povlačiti.\",\"dragItem\":\"Povucite stavku {itemText}\",\"dragSelectedItems\":\"Povucite {count, plural, one {# odabranu stavku} other {ovoliko odabranih stavki: #}}\",\"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.\",\"dragStartedTouch\":\"Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim dvaput dodirnite da biste ispustili stavku.\",\"dragStartedVirtual\":\"Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim kliknite ili pritisnite Enter da biste ispustili stavku.\",\"dropCanceled\":\"Povlačenje je prekinuto.\",\"dropComplete\":\"Ispuštanje je dovršeno.\",\"dropDescriptionKeyboard\":\"Pritisnite Enter da biste ispustili stavku. Pritisnite Escape da biste prekinuli povlačenje.\",\"dropDescriptionTouch\":\"Dvaput dodirnite da biste ispustili stavku.\",\"dropDescriptionVirtual\":\"Kliknite da biste ispustili stavku.\",\"dropIndicator\":\"pokazatelj ispuštanja\",\"dropOnItem\":\"Ispustite na stavku {itemText}\",\"dropOnRoot\":\"Ispustite na\",\"endDragKeyboard\":\"Povlačenje. Pritisnite Enter da biste prekinuli povlačenje.\",\"endDragTouch\":\"Povlačenje. Dvaput dodirnite da biste prekinuli povlačenje.\",\"endDragVirtual\":\"Povlačenje. Kliknite da biste prekinuli povlačenje.\",\"insertAfter\":\"Umetnite iza stavke {itemText}\",\"insertBefore\":\"Ispustite ispred stavke {itemText}\",\"insertBetween\":\"Umetnite između stavki {beforeItemText} i {afterItemText}\"}");
|
|
675
675
|
|
|
676
676
|
|
|
677
|
-
var $
|
|
678
|
-
$
|
|
677
|
+
var $f37e1d1f1c577681$exports = {};
|
|
678
|
+
$f37e1d1f1c577681$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Nyomja le az Enter billentyűt a húzás megkezdéséhez.\",\"dragDescriptionTouch\":\"Koppintson duplán a húzás megkezdéséhez.\",\"dragDescriptionVirtual\":\"Kattintson a húzás megkezdéséhez.\",\"dragItem\":\"{itemText} húzása\",\"dragSelectedItems\":\"{count, plural, one {# kijelölt elem} other {# kijelölt elem}} húzása\",\"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.\",\"dragStartedTouch\":\"Húzás megkezdve. Navigáljon egy elengedési célhoz, majd koppintson duplán az elengedéshez.\",\"dragStartedVirtual\":\"Húzás megkezdve. Navigáljon egy elengedési célhoz, majd kattintson vagy nyomja le az Enter billentyűt az elengedéshez.\",\"dropCanceled\":\"Elengedés megszakítva.\",\"dropComplete\":\"Elengedés teljesítve.\",\"dropDescriptionKeyboard\":\"Nyomja le az Enter billentyűt az elengedéshez. Nyomja le az Escape billentyűt a húzás megszakításához.\",\"dropDescriptionTouch\":\"Koppintson duplán az elengedéshez.\",\"dropDescriptionVirtual\":\"Kattintson az elengedéshez.\",\"dropIndicator\":\"elengedésjelző\",\"dropOnItem\":\"Elengedés erre: {itemText}\",\"dropOnRoot\":\"Elengedés erre:\",\"endDragKeyboard\":\"Húzás folyamatban. Nyomja le az Enter billentyűt a húzás megszakításához.\",\"endDragTouch\":\"Húzás folyamatban. Koppintson duplán a húzás megszakításához.\",\"endDragVirtual\":\"Húzás folyamatban. Kattintson a húzás megszakításához.\",\"insertAfter\":\"Beszúrás {itemText} után\",\"insertBefore\":\"Beszúrás {itemText} elé\",\"insertBetween\":\"Beszúrás {beforeItemText} és {afterItemText} közé\"}");
|
|
679
679
|
|
|
680
680
|
|
|
681
|
-
var $
|
|
682
|
-
$
|
|
681
|
+
var $57684896b9b64945$exports = {};
|
|
682
|
+
$57684896b9b64945$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Premi Invio per iniziare a trascinare.\",\"dragDescriptionTouch\":\"Tocca due volte per iniziare a trascinare.\",\"dragDescriptionVirtual\":\"Fai clic per iniziare a trascinare.\",\"dragItem\":\"Trascina {itemText}\",\"dragSelectedItems\":\"Trascina {count, plural, one {# altro elemento selezionato} other {# altri elementi selezionati}}\",\"dragStartedKeyboard\":\"Hai iniziato a trascinare. Premi Tab per arrivare sull’area di destinazione, quindi premi Invio per rilasciare o Esc per annullare.\",\"dragStartedTouch\":\"Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi tocca due volte per rilasciare.\",\"dragStartedVirtual\":\"Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi fai clic o premi Invio per rilasciare.\",\"dropCanceled\":\"Rilascio annullato.\",\"dropComplete\":\"Rilascio completato.\",\"dropDescriptionKeyboard\":\"Premi Invio per rilasciare. Premi Esc per annullare.\",\"dropDescriptionTouch\":\"Tocca due volte per rilasciare.\",\"dropDescriptionVirtual\":\"Fai clic per rilasciare.\",\"dropIndicator\":\"indicatore di rilascio\",\"dropOnItem\":\"Rilascia su {itemText}\",\"dropOnRoot\":\"Rilascia su\",\"endDragKeyboard\":\"Trascinamento. Premi Invio per annullare.\",\"endDragTouch\":\"Trascinamento. Tocca due volte per annullare.\",\"endDragVirtual\":\"Trascinamento. Fai clic per annullare.\",\"insertAfter\":\"Inserisci dopo {itemText}\",\"insertBefore\":\"Inserisci prima di {itemText}\",\"insertBetween\":\"Inserisci tra {beforeItemText} e {afterItemText}\"}");
|
|
683
683
|
|
|
684
684
|
|
|
685
|
-
var $
|
|
686
|
-
$
|
|
685
|
+
var $124f9b9a50d68f08$exports = {};
|
|
686
|
+
$124f9b9a50d68f08$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Enter キーを押してドラッグを開始してください。\",\"dragDescriptionTouch\":\"ダブルタップしてドラッグを開始します。\",\"dragDescriptionVirtual\":\"クリックしてドラッグを開始します。\",\"dragItem\":\"{itemText} をドラッグ\",\"dragSelectedItems\":\"{count, plural, one {# 個の選択項目} other {# 個の選択項目}} をドラッグ\",\"dragStartedKeyboard\":\"ドラッグを開始します。Tab キーを押してドロップターゲットにいどうし、Enter キーを押してドロップするか、Esc キーを押してキャンセルします。\",\"dragStartedTouch\":\"ドラッグを開始しました。ドロップのターゲットに移動し、ダブルタップしてドロップします。\",\"dragStartedVirtual\":\"ドラッグを開始しました。ドロップのターゲットに移動し、クリックまたは Enter キーを押してドロップします。\",\"dropCanceled\":\"ドロップがキャンセルされました。\",\"dropComplete\":\"ドロップが完了しました。\",\"dropDescriptionKeyboard\":\"Enter キーを押してドロップします。Esc キーを押してドラッグをキャンセルします。\",\"dropDescriptionTouch\":\"ダブルタップしてドロップします。\",\"dropDescriptionVirtual\":\"クリックしてドロップします。\",\"dropIndicator\":\"ドロップインジケーター\",\"dropOnItem\":\"{itemText} にドロップ\",\"dropOnRoot\":\"ドロップ場所\",\"endDragKeyboard\":\"ドラッグしています。Enter キーを押してドラッグをキャンセルします。\",\"endDragTouch\":\"ドラッグしています。ダブルタップしてドラッグをキャンセルします。\",\"endDragVirtual\":\"ドラッグしています。クリックしてドラッグをキャンセルします。\",\"insertAfter\":\"{itemText} の後に挿入\",\"insertBefore\":\"{itemText} の前に挿入\",\"insertBetween\":\"{beforeItemText} と {afterItemText} の間に挿入\"}");
|
|
687
687
|
|
|
688
688
|
|
|
689
|
-
var $
|
|
690
|
-
$
|
|
689
|
+
var $4e7a70c1eb8efae2$exports = {};
|
|
690
|
+
$4e7a70c1eb8efae2$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"드래그를 시작하려면 Enter를 누르세요.\",\"dragDescriptionTouch\":\"드래그를 시작하려면 더블 탭하세요.\",\"dragDescriptionVirtual\":\"드래그를 시작하려면 클릭하세요.\",\"dragItem\":\"{itemText} 드래그\",\"dragSelectedItems\":\"{count, plural, one {#개 선택 항목} other {#개 선택 항목}} 드래그\",\"dragStartedKeyboard\":\"드래그가 시작되었습니다. Tab을 눌러 드롭 대상으로 이동한 다음 Enter를 눌러 드롭하거나 Esc를 눌러 취소하세요.\",\"dragStartedTouch\":\"드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 더블 탭하여 드롭하세요.\",\"dragStartedVirtual\":\"드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 클릭하거나 Enter를 눌러 드롭하세요.\",\"dropCanceled\":\"드롭이 취소되었습니다.\",\"dropComplete\":\"드롭이 완료되었습니다.\",\"dropDescriptionKeyboard\":\"드롭하려면 Enter를 누르세요. 드래그를 취소하려면 Esc를 누르세요.\",\"dropDescriptionTouch\":\"더블 탭하여 드롭하세요.\",\"dropDescriptionVirtual\":\"드롭하려면 클릭하세요.\",\"dropIndicator\":\"드롭 표시기\",\"dropOnItem\":\"{itemText}에 드롭\",\"dropOnRoot\":\"드롭 대상\",\"endDragKeyboard\":\"드래그 중입니다. 드래그를 취소하려면 Enter를 누르세요.\",\"endDragTouch\":\"드래그 중입니다. 드래그를 취소하려면 더블 탭하세요.\",\"endDragVirtual\":\"드래그 중입니다. 드래그를 취소하려면 클릭하세요.\",\"insertAfter\":\"{itemText} 이후에 삽입\",\"insertBefore\":\"{itemText} 이전에 삽입\",\"insertBetween\":\"{beforeItemText} 및 {afterItemText} 사이에 삽입\"}");
|
|
691
691
|
|
|
692
692
|
|
|
693
|
-
var $
|
|
694
|
-
$
|
|
693
|
+
var $18a908ad59f24b71$exports = {};
|
|
694
|
+
$18a908ad59f24b71$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Paspauskite „Enter“, kad pradėtumėte vilkti.\",\"dragDescriptionTouch\":\"Palieskite dukart, kad pradėtumėte vilkti.\",\"dragDescriptionVirtual\":\"Spustelėkite, kad pradėtumėte vilkti.\",\"dragItem\":\"Vilkti {itemText}\",\"dragSelectedItems\":\"Vilkti {count, plural, one {# pasirinktą elementą} other {# pasirinktus elementus}}\",\"dragStartedKeyboard\":\"Pradėta vilkti. Paspauskite „Tab“, kad pereitumėte į tiesioginę paskirties vietą, tada paspauskite „Enter“, kad numestumėte, arba „Escape“, kad atšauktumėte.\",\"dragStartedTouch\":\"Pradėta vilkti. Eikite į tiesioginę paskirties vietą, tada palieskite dukart, kad numestumėte.\",\"dragStartedVirtual\":\"Pradėta vilkti. Eikite į tiesioginę paskirties vietą ir spustelėkite arba paspauskite „Enter“, kad numestumėte.\",\"dropCanceled\":\"Numetimas atšauktas.\",\"dropComplete\":\"Numesta.\",\"dropDescriptionKeyboard\":\"Paspauskite „Enter“, kad numestumėte. Paspauskite „Escape“, kad atšauktumėte vilkimą.\",\"dropDescriptionTouch\":\"Palieskite dukart, kad numestumėte.\",\"dropDescriptionVirtual\":\"Spustelėkite, kad numestumėte.\",\"dropIndicator\":\"numetimo indikatorius\",\"dropOnItem\":\"Numesti ant {itemText}\",\"dropOnRoot\":\"Numesti ant\",\"endDragKeyboard\":\"Velkama. Paspauskite „Enter“, kad atšauktumėte vilkimą.\",\"endDragTouch\":\"Velkama. Spustelėkite dukart, kad atšauktumėte vilkimą.\",\"endDragVirtual\":\"Velkama. Spustelėkite, kad atšauktumėte vilkimą.\",\"insertAfter\":\"Įterpti po {itemText}\",\"insertBefore\":\"Įterpti prieš {itemText}\",\"insertBetween\":\"Įterpti tarp {beforeItemText} ir {afterItemText}\"}");
|
|
695
695
|
|
|
696
696
|
|
|
697
|
-
var $
|
|
698
|
-
$
|
|
697
|
+
var $e9b69ae5de94453e$exports = {};
|
|
698
|
+
$e9b69ae5de94453e$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Nospiediet Enter, lai sāktu vilkšanu.\",\"dragDescriptionTouch\":\"Veiciet dubultskārienu, lai sāktu vilkšanu.\",\"dragDescriptionVirtual\":\"Noklikšķiniet, lai sāktu vilkšanu.\",\"dragItem\":\"Velciet {itemText}\",\"dragSelectedItems\":\"Velciet {count, plural, one {# atlasīto vienumu} other {# atlasītos vienumus}}\",\"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.\",\"dragStartedTouch\":\"Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam veiciet dubultskārienu, lai nomestu.\",\"dragStartedVirtual\":\"Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu.\",\"dropCanceled\":\"Nomešana atcelta.\",\"dropComplete\":\"Nomešana pabeigta.\",\"dropDescriptionKeyboard\":\"Nospiediet Enter, lai nomestu. Nospiediet Escape, lai atceltu vilkšanu.\",\"dropDescriptionTouch\":\"Veiciet dubultskārienu, lai nomestu.\",\"dropDescriptionVirtual\":\"Noklikšķiniet, lai nomestu.\",\"dropIndicator\":\"nomešanas indikators\",\"dropOnItem\":\"Nometiet uz {itemText}\",\"dropOnRoot\":\"Nometiet uz\",\"endDragKeyboard\":\"Notiek vilkšana. Nospiediet Enter, lai atceltu vilkšanu.\",\"endDragTouch\":\"Notiek vilkšana. Veiciet dubultskārienu, lai atceltu vilkšanu.\",\"endDragVirtual\":\"Notiek vilkšana. Noklikšķiniet, lai atceltu vilkšanu.\",\"insertAfter\":\"Ievietojiet pēc {itemText}\",\"insertBefore\":\"Ievietojiet pirms {itemText}\",\"insertBetween\":\"Ievietojiet starp {beforeItemText} un {afterItemText}\"}");
|
|
699
699
|
|
|
700
700
|
|
|
701
|
-
var $
|
|
702
|
-
$
|
|
701
|
+
var $28e302ddfe8a4bf5$exports = {};
|
|
702
|
+
$28e302ddfe8a4bf5$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Trykk på Enter for å begynne å dra.\",\"dragDescriptionTouch\":\"Dobbelttrykk for å begynne å dra.\",\"dragDescriptionVirtual\":\"Klikk for å begynne å dra.\",\"dragItem\":\"Dra {itemText}\",\"dragSelectedItems\":\"Dra {count, plural, one {# merket element} other {# merkede elementer}}\",\"dragStartedKeyboard\":\"Begynte å dra. Trykk på Tab for å navigere til et mål, og trykk deretter på Enter for å slippe eller på Esc for å avbryte.\",\"dragStartedTouch\":\"Begynte å dra. Naviger til et mål, og dobbelttrykk for å slippe.\",\"dragStartedVirtual\":\"Begynte å dra. Naviger til et mål, og klikk eller trykk på Enter for å slippe.\",\"dropCanceled\":\"Avbrøt slipping.\",\"dropComplete\":\"Slippingen er fullført.\",\"dropDescriptionKeyboard\":\"Trykk på Enter for å slippe. Trykk på Esc hvis du vil avbryte draingen.\",\"dropDescriptionTouch\":\"Dobbelttrykk for å slippe.\",\"dropDescriptionVirtual\":\"Klikk for å slippe.\",\"dropIndicator\":\"slippeindikator\",\"dropOnItem\":\"Slipp på {itemText}\",\"dropOnRoot\":\"Slipp på\",\"endDragKeyboard\":\"Drar. Trykk på Enter hvis du vil avbryte.\",\"endDragTouch\":\"Drar. Dobbelttrykk hvis du vil avbryte.\",\"endDragVirtual\":\"Drar. Klikk hvis du vil avbryte.\",\"insertAfter\":\"Sett inn etter {itemText}\",\"insertBefore\":\"Sett inn før {itemText}\",\"insertBetween\":\"Sett inn mellom {beforeItemText} og {afterItemText}\"}");
|
|
703
703
|
|
|
704
704
|
|
|
705
|
-
var $
|
|
706
|
-
$
|
|
705
|
+
var $8b329d015984c2b2$exports = {};
|
|
706
|
+
$8b329d015984c2b2$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Druk op Enter om te slepen.\",\"dragDescriptionTouch\":\"Dubbeltik om te slepen.\",\"dragDescriptionVirtual\":\"Klik om met slepen te starten.\",\"dragItem\":\"{itemText} slepen\",\"dragSelectedItems\":\"{count, plural, one {# geselecteerd item} other {# geselecteerde items}} slepen\",\"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.\",\"dragStartedTouch\":\"Begonnen met slepen. Ga naar de gewenste locatie en dubbeltik om neer te zetten.\",\"dragStartedVirtual\":\"Begonnen met slepen. Ga naar de gewenste locatie en klik of druk op Enter om neer te zetten.\",\"dropCanceled\":\"Neerzetten geannuleerd.\",\"dropComplete\":\"Neerzetten voltooid.\",\"dropDescriptionKeyboard\":\"Druk op Enter om neer te zetten. Druk op Esc om het slepen te annuleren.\",\"dropDescriptionTouch\":\"Dubbeltik om neer te zetten.\",\"dropDescriptionVirtual\":\"Klik om neer te zetten.\",\"dropIndicator\":\"aanwijzer voor neerzetten\",\"dropOnItem\":\"Neerzetten op {itemText}\",\"dropOnRoot\":\"Neerzetten op\",\"endDragKeyboard\":\"Bezig met slepen. Druk op Enter om te annuleren.\",\"endDragTouch\":\"Bezig met slepen. Dubbeltik om te annuleren.\",\"endDragVirtual\":\"Bezig met slepen. Klik om te annuleren.\",\"insertAfter\":\"Plaatsen na {itemText}\",\"insertBefore\":\"Plaatsen vóór {itemText}\",\"insertBetween\":\"Plaatsen tussen {beforeItemText} en {afterItemText}\"}");
|
|
707
707
|
|
|
708
708
|
|
|
709
|
-
var $
|
|
710
|
-
$
|
|
709
|
+
var $32ac997d901e8006$exports = {};
|
|
710
|
+
$32ac997d901e8006$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Naciśnij Enter, aby rozpocząć przeciąganie.\",\"dragDescriptionTouch\":\"Dotknij dwukrotnie, aby rozpocząć przeciąganie.\",\"dragDescriptionVirtual\":\"Kliknij, aby rozpocząć przeciąganie.\",\"dragItem\":\"Przeciągnij {itemText}\",\"dragSelectedItems\":\"Przeciągnij {count, plural, one {# wybrany element} other {# wybranych elementów}}\",\"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ć.\",\"dragStartedTouch\":\"Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie dotknij dwukrotnie, aby upuścić.F\",\"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ć.\",\"dropCanceled\":\"Anulowano upuszczenie.\",\"dropComplete\":\"Zakończono upuszczanie.\",\"dropDescriptionKeyboard\":\"Naciśnij Enter, aby upuścić. Naciśnij Escape, aby anulować przeciągnięcie.\",\"dropDescriptionTouch\":\"Dotknij dwukrotnie, aby upuścić.\",\"dropDescriptionVirtual\":\"Kliknij, aby upuścić.\",\"dropIndicator\":\"wskaźnik upuszczenia\",\"dropOnItem\":\"Upuść na {itemText}\",\"dropOnRoot\":\"Upuść\",\"endDragKeyboard\":\"Przeciąganie. Naciśnij Enter, aby anulować przeciągnięcie.\",\"endDragTouch\":\"Przeciąganie. Kliknij dwukrotnie, aby anulować przeciągnięcie.\",\"endDragVirtual\":\"Przeciąganie. Kliknij, aby anulować przeciąganie.\",\"insertAfter\":\"Umieść za {itemText}\",\"insertBefore\":\"Umieść przed {itemText}\",\"insertBetween\":\"Umieść między {beforeItemText} i {afterItemText}\"}");
|
|
711
711
|
|
|
712
712
|
|
|
713
|
-
var $
|
|
714
|
-
$
|
|
713
|
+
var $980d9cf229cf60df$exports = {};
|
|
714
|
+
$980d9cf229cf60df$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Pressione Enter para começar a arrastar.\",\"dragDescriptionTouch\":\"Toque duas vezes para começar a arrastar.\",\"dragDescriptionVirtual\":\"Clique para começar a arrastar.\",\"dragItem\":\"Arrastar {itemText}\",\"dragSelectedItems\":\"Arrastar {count, plural, one {# item selecionado} other {# itens selecionados}}\",\"dragStartedKeyboard\":\"Comece a arrastar. Pressione Tab para navegar até um alvo e, em seguida, pressione Enter para soltar ou pressione Escape para cancelar.\",\"dragStartedTouch\":\"Comece a arrastar. Navegue até um alvo e toque duas vezes para soltar.\",\"dragStartedVirtual\":\"Comece a arrastar. Navegue até um alvo e clique ou pressione Enter para soltar.\",\"dropCanceled\":\"Liberação cancelada.\",\"dropComplete\":\"Liberação concluída.\",\"dropDescriptionKeyboard\":\"Pressione Enter para soltar. Pressione Escape para cancelar.\",\"dropDescriptionTouch\":\"Toque duas vezes para soltar.\",\"dropDescriptionVirtual\":\"Clique para soltar.\",\"dropIndicator\":\"indicador de liberação\",\"dropOnItem\":\"Soltar em {itemText}\",\"dropOnRoot\":\"Soltar\",\"endDragKeyboard\":\"Arrastando. Pressione Enter para cancelar.\",\"endDragTouch\":\"Arrastando. Toque duas vezes para cancelar.\",\"endDragVirtual\":\"Arrastando. Clique para cancelar.\",\"insertAfter\":\"Inserir após {itemText}\",\"insertBefore\":\"Inserir antes de {itemText}\",\"insertBetween\":\"Inserir entre {beforeItemText} e {afterItemText}\"}");
|
|
715
715
|
|
|
716
716
|
|
|
717
|
-
var $
|
|
718
|
-
$
|
|
717
|
+
var $429c069033ac65fb$exports = {};
|
|
718
|
+
$429c069033ac65fb$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Prima Enter para iniciar o arrasto.\",\"dragDescriptionTouch\":\"Faça duplo toque para começar a arrastar.\",\"dragDescriptionVirtual\":\"Clique para iniciar o arrasto.\",\"dragItem\":\"Arrastar {itemText}\",\"dragSelectedItems\":\"Arrastar {count, plural, one {# item selecionado} outro {# itens selecionados}}\",\"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.\",\"dragStartedTouch\":\"Arrasto iniciado. Navegue para um destino para largar, e em seguida faça duplo toque para largar.\",\"dragStartedVirtual\":\"Arrasto iniciado. Navegue para um destino para largar, e em seguida clique ou prima Enter para largar.\",\"dropCanceled\":\"Largar cancelado.\",\"dropComplete\":\"Largar completo.\",\"dropDescriptionKeyboard\":\"Prima Enter para largar. Prima Escape para cancelar o arrasto.\",\"dropDescriptionTouch\":\"Faça duplo toque para largar.\",\"dropDescriptionVirtual\":\"Clique para largar.\",\"dropIndicator\":\"Indicador de largar\",\"dropOnItem\":\"Largar em {itemText}\",\"dropOnRoot\":\"Largar em\",\"endDragKeyboard\":\"A arrastar. Prima Enter para cancelar o arrasto.\",\"endDragTouch\":\"A arrastar. Faça duplo toque para cancelar o arrasto.\",\"endDragVirtual\":\"A arrastar. Clique para cancelar o arrasto.\",\"insertAfter\":\"Inserir depois de {itemText}\",\"insertBefore\":\"Inserir antes de {itemText}\",\"insertBetween\":\"Inserir entre {beforeItemText} e {afterItemText}\"}");
|
|
719
719
|
|
|
720
720
|
|
|
721
|
-
var $
|
|
722
|
-
$
|
|
721
|
+
var $5944d5a872573520$exports = {};
|
|
722
|
+
$5944d5a872573520$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Apăsați pe Enter pentru a începe glisarea.\",\"dragDescriptionTouch\":\"Atingeți de două ori pentru a începe să glisați.\",\"dragDescriptionVirtual\":\"Faceți clic pentru a începe glisarea.\",\"dragItem\":\"Glisați {itemText}\",\"dragSelectedItems\":\"Glisați {count, plural, one {# element selectat} other {# elemente selectate}}\",\"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.\",\"dragStartedTouch\":\"A început glisarea. Navigați la o țintă de fixare, apoi atingeți de două ori pentru a fixa.\",\"dragStartedVirtual\":\"A început glisarea. Navigați la o țintă de fixare, apoi faceți clic sau apăsați pe Enter pentru a fixa.\",\"dropCanceled\":\"Fixare anulată.\",\"dropComplete\":\"Fixare finalizată.\",\"dropDescriptionKeyboard\":\"Apăsați pe Enter pentru a fixa. Apăsați pe Escape pentru a anula glisarea.\",\"dropDescriptionTouch\":\"Atingeți de două ori pentru a fixa.\",\"dropDescriptionVirtual\":\"Faceți clic pentru a fixa.\",\"dropIndicator\":\"indicator de fixare\",\"dropOnItem\":\"Fixați pe {itemText}\",\"dropOnRoot\":\"Fixare pe\",\"endDragKeyboard\":\"Se glisează. Apăsați pe Enter pentru a anula glisarea.\",\"endDragTouch\":\"Se glisează. Atingeți de două ori pentru a anula glisarea.\",\"endDragVirtual\":\"Se glisează. Faceți clic pentru a anula glisarea.\",\"insertAfter\":\"Inserați după {itemText}\",\"insertBefore\":\"Inserați înainte de {itemText}\",\"insertBetween\":\"Inserați între {beforeItemText} și {afterItemText}\"}");
|
|
723
723
|
|
|
724
724
|
|
|
725
|
-
var $
|
|
726
|
-
$
|
|
725
|
+
var $5bd34815177e0598$exports = {};
|
|
726
|
+
$5bd34815177e0598$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Нажмите клавишу Enter для начала перетаскивания.\",\"dragDescriptionTouch\":\"Дважды нажмите для начала перетаскивания.\",\"dragDescriptionVirtual\":\"Щелкните для начала перетаскивания.\",\"dragItem\":\"Перетащить {itemText}\",\"dragSelectedItems\":\"Перетащить {count, plural, one {# выбранный элемент} other {# выбранных элем}}\",\"dragStartedKeyboard\":\"Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание, или клавишу Escape для отмены действия.\",\"dragStartedTouch\":\"Начато перетаскивание. Выберите цель, затем дважды нажмите, чтобы применить перетаскивание.\",\"dragStartedVirtual\":\"Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание.\",\"dropCanceled\":\"Перетаскивание отменено.\",\"dropComplete\":\"Перетаскивание завершено.\",\"dropDescriptionKeyboard\":\"Нажмите клавишу Enter, чтобы применить перетаскивание. Нажмите клавишу Escape для отмены.\",\"dropDescriptionTouch\":\"Дважды нажмите, чтобы применить перетаскивание.\",\"dropDescriptionVirtual\":\"Щелкните, чтобы применить перетаскивание.\",\"dropIndicator\":\"индикатор перетаскивания\",\"dropOnItem\":\"Перетащить на {itemText}\",\"dropOnRoot\":\"Перетащить на\",\"endDragKeyboard\":\"Перетаскивание. Нажмите клавишу Enter для отмены.\",\"endDragTouch\":\"Перетаскивание. Дважды нажмите для отмены.\",\"endDragVirtual\":\"Перетаскивание. Щелкните для отмены.\",\"insertAfter\":\"Вставить после {itemText}\",\"insertBefore\":\"Вставить перед {itemText}\",\"insertBetween\":\"Вставить между {beforeItemText} и {afterItemText}\"}");
|
|
727
727
|
|
|
728
728
|
|
|
729
|
-
var $
|
|
730
|
-
$
|
|
729
|
+
var $fd4fe85d82ae4b8e$exports = {};
|
|
730
|
+
$fd4fe85d82ae4b8e$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Stlačením klávesu Enter začnete presúvanie.\",\"dragDescriptionTouch\":\"Dvojitým kliknutím začnete presúvanie.\",\"dragDescriptionVirtual\":\"Kliknutím začnete presúvanie.\",\"dragItem\":\"Presunúť položku {itemText}\",\"dragSelectedItems\":\"Presunúť {count, plural, one {# vybratú položku} other {# vybraté položky}}\",\"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ť.\",\"dragStartedTouch\":\"Presúvanie sa začalo. Prejdite na cieľové umiestnenie a dvojitým kliknutím umiestnite položku.\",\"dragStartedVirtual\":\"Presúvanie sa začalo. Prejdite na cieľové umiestnenie a kliknutím alebo stlačením klávesu Enter umiestnite položku.\",\"dropCanceled\":\"Umiestnenie zrušené.\",\"dropComplete\":\"Umiestnenie dokončené.\",\"dropDescriptionKeyboard\":\"Stlačením klávesu Enter umiestnite položku. Stlačením klávesu Esc zrušíte presúvanie.\",\"dropDescriptionTouch\":\"Dvojitým kliknutím umiestnite položku.\",\"dropDescriptionVirtual\":\"Kliknutím umiestnite položku.\",\"dropIndicator\":\"indikátor umiestnenia\",\"dropOnItem\":\"Umiestniť na položku {itemText}\",\"dropOnRoot\":\"Umiestniť na\",\"endDragKeyboard\":\"Prebieha presúvanie. Ak ho chcete zrušiť, stlačte kláves Enter.\",\"endDragTouch\":\"Prebieha presúvanie. Dvojitým kliknutím ho môžete zrušiť.\",\"endDragVirtual\":\"Prebieha presúvanie.\",\"insertAfter\":\"Vložiť za položku {itemText}\",\"insertBefore\":\"Vložiť pred položku {itemText}\",\"insertBetween\":\"Vložiť medzi položky {beforeItemText} a {afterItemText}\"}");
|
|
731
731
|
|
|
732
732
|
|
|
733
|
-
var $
|
|
734
|
-
$
|
|
733
|
+
var $165d6bd72ce97cf9$exports = {};
|
|
734
|
+
$165d6bd72ce97cf9$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Pritisnite tipko Enter za začetek vlečenja.\",\"dragDescriptionTouch\":\"Dvotapnite za začetek vlečenja.\",\"dragDescriptionVirtual\":\"Kliknite za začetek vlečenja.\",\"dragItem\":\"Povleci {itemText}\",\"dragSelectedItems\":\"Povlecite {count, plural, one {# izbran element} other {izbrane elemente (#)}}\",\"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.\",\"dragStartedTouch\":\"Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in dvotapnite, da jih spustite.\",\"dragStartedVirtual\":\"Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in kliknite ali pritisnite tipko Enter, da jih spustite.\",\"dropCanceled\":\"Spust je preklican.\",\"dropComplete\":\"Spust je končan.\",\"dropDescriptionKeyboard\":\"Pritisnite tipko Enter, da spustite. Pritisnite tipko Escape, da prekličete vlečenje.\",\"dropDescriptionTouch\":\"Dvotapnite, da spustite.\",\"dropDescriptionVirtual\":\"Kliknite, da spustite.\",\"dropIndicator\":\"indikator spusta\",\"dropOnItem\":\"Spusti na mesto {itemText}\",\"dropOnRoot\":\"Spusti na mesto\",\"endDragKeyboard\":\"Vlečenje. Pritisnite tipko Enter za preklic vlečenja.\",\"endDragTouch\":\"Vlečenje. Dvotapnite za preklic vlečenja.\",\"endDragVirtual\":\"Vlečenje. Kliknite, da prekličete vlečenje.\",\"insertAfter\":\"Vstavi za {itemText}\",\"insertBefore\":\"Vstavi pred {itemText}\",\"insertBetween\":\"Vstavi med {beforeItemText} in {afterItemText}\"}");
|
|
735
735
|
|
|
736
736
|
|
|
737
|
-
var $
|
|
738
|
-
$
|
|
737
|
+
var $dc9b5237d38f3817$exports = {};
|
|
738
|
+
$dc9b5237d38f3817$exports = JSON.parse("{\"dragItem\":\"Prevucite {itemText}\",\"dragSelectedItems\":\"Prevucite {count, plural, one {# izabranu stavku} other {# izabrane stavke}}\",\"dragDescriptionKeyboard\":\"Pritisnite Enter da biste započeli prevlačenje..\",\"dragDescriptionTouch\":\"Dvaput dodirnite za otpuštanje.\",\"dragDescriptionVirtual\":\"Kliknite da biste započeli prevlačenje.\",\"dragStartedKeyboard\":\"Prevlačenje je započeto. Pritisnite Tab da biste otišli do cilja za otpuštanje, zatim pritisnite Enter za ispuštanje ili pritisnite Escape za otkazivanje.\",\"dragStartedTouch\":\"Prevlačenje je započeto. Idite do cilja za otpuštanje, a zatim dvaput dodirnite za otpuštanje.\",\"dragStartedVirtual\":\"Prevlačenje je započeto. Idite do cilja za otpuštanje, a zatim kliknite ili pritinite Enter za otpuštanje.\",\"endDragKeyboard\":\"Prevlačenje u toku. Pritisnite Enter da biste otkazali prevlačenje.\",\"endDragTouch\":\"Prevlačenje u toku. Dvaput dodirnite da biste otkazali prevlačenje.\",\"endDragVirtual\":\"Prevlačenje u toku. Kliknite da biste otkazali prevlačenje.\",\"dropDescriptionKeyboard\":\"Pritisnite Enter da biste otpustili. Pritisnite Escape da biste otkazali prevlačenje.\",\"dropDescriptionTouch\":\"Dvaput dodirnite za otpuštanje.\",\"dropDescriptionVirtual\":\"Kliknite za otpuštanje.\",\"dropCanceled\":\"Otpuštanje je otkazano.\",\"dropComplete\":\"Prevlačenje je završeno.\",\"dropIndicator\":\"Indikator otpuštanja\",\"dropOnRoot\":\"Otpusti na\",\"dropOnItem\":\"Otpusti na {itemText}\",\"insertBefore\":\"Umetnite ispred {itemText}\",\"insertBetween\":\"Umetnite između {beforeItemText} i {afterItemText}\",\"insertAfter\":\"Umetnite posle {itemText}\"}");
|
|
739
739
|
|
|
740
740
|
|
|
741
|
-
var $
|
|
742
|
-
$
|
|
741
|
+
var $fc3016bdba8283ce$exports = {};
|
|
742
|
+
$fc3016bdba8283ce$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Tryck på enter för att börja dra.\",\"dragDescriptionTouch\":\"Dubbeltryck för att börja dra.\",\"dragDescriptionVirtual\":\"Klicka för att börja dra.\",\"dragItem\":\"Dra {itemText}\",\"dragSelectedItems\":\"Dra {count, plural, one {# valt objekt} other {# valda objekt}}\",\"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.\",\"dragStartedTouch\":\"Börja dra. Navigera till ett mål och dubbeltryck för att släppa.\",\"dragStartedVirtual\":\"Börja dra. Navigera till ett mål och klicka eller tryck på enter för att släppa.\",\"dropCanceled\":\"Släppåtgärd avbröts.\",\"dropComplete\":\"Släppåtgärd klar.\",\"dropDescriptionKeyboard\":\"Tryck på enter för att släppa. Tryck på escape för att avbryta dragåtgärd.\",\"dropDescriptionTouch\":\"Dubbeltryck för att släppa.\",\"dropDescriptionVirtual\":\"Klicka för att släppa.\",\"dropIndicator\":\"släppindikator\",\"dropOnItem\":\"Släpp på {itemText}\",\"dropOnRoot\":\"Släpp på\",\"endDragKeyboard\":\"Drar. Tryck på enter för att avbryta dragåtgärd.\",\"endDragTouch\":\"Drar. Dubbeltryck för att avbryta dragåtgärd.\",\"endDragVirtual\":\"Drar. Klicka för att avbryta dragåtgärd.\",\"insertAfter\":\"Infoga efter {itemText}\",\"insertBefore\":\"Infoga före {itemText}\",\"insertBetween\":\"Infoga mellan {beforeItemText} och {afterItemText}\"}");
|
|
743
743
|
|
|
744
744
|
|
|
745
|
-
var $
|
|
746
|
-
$
|
|
745
|
+
var $359db1fb988d3e0a$exports = {};
|
|
746
|
+
$359db1fb988d3e0a$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Sürüklemeyi başlatmak için Enter'a basın.\",\"dragDescriptionTouch\":\"Sürüklemeyi başlatmak için çift tıklayın.\",\"dragDescriptionVirtual\":\"Sürüklemeyi başlatmak için tıklayın.\",\"dragItem\":\"{itemText}’i sürükle\",\"dragSelectedItems\":\"Sürükle {count, plural, one {# seçili öge} other {# seçili öge}}\",\"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.\",\"dragStartedTouch\":\"Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için çift tıklayın.\",\"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.\",\"dropCanceled\":\"Bırakma iptal edildi.\",\"dropComplete\":\"Bırakma tamamlandı.\",\"dropDescriptionKeyboard\":\"Bırakmak için Enter'a basın. Sürüklemeyi iptal etmek için Escape'e basın.\",\"dropDescriptionTouch\":\"Bırakmak için çift tıklayın.\",\"dropDescriptionVirtual\":\"Bırakmak için tıklayın.\",\"dropIndicator\":\"bırakma göstergesi\",\"dropOnItem\":\"{itemText} üzerine bırak\",\"dropOnRoot\":\"Bırakın\",\"endDragKeyboard\":\"Sürükleme. Sürüklemeyi iptal etmek için Enter'a basın.\",\"endDragTouch\":\"Sürükleme. Sürüklemeyi iptal etmek için çift tıklayın.\",\"endDragVirtual\":\"Sürükleme. Sürüklemeyi iptal etmek için tıklayın.\",\"insertAfter\":\"{itemText}’den sonra gir\",\"insertBefore\":\"{itemText}’den önce gir\",\"insertBetween\":\"{beforeItemText} ve {afterItemText} arasına gir\"}");
|
|
747
747
|
|
|
748
748
|
|
|
749
|
-
var $
|
|
750
|
-
$
|
|
749
|
+
var $231565b2fb81d522$exports = {};
|
|
750
|
+
$231565b2fb81d522$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"Натисніть Enter, щоб почати перетягування.\",\"dragDescriptionTouch\":\"Натисніть двічі, щоб почати перетягування.\",\"dragDescriptionVirtual\":\"Натисніть, щоб почати перетягування.\",\"dragItem\":\"Перетягнути {itemText}\",\"dragSelectedItems\":\"Перетягніть {count, plural, one {# вибраний елемент} other {# вибраних елем}}\",\"dragStartedKeyboard\":\"Перетягування почалося. Натисніть Tab, щоб перейти до цілі перетягування, потім натисніть Enter, щоб перетягнути, або Escape, щоб скасувати.\",\"dragStartedTouch\":\"Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть двічі, щоб перетягнути.\",\"dragStartedVirtual\":\"Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть Enter, щоб перетягнути.\",\"dropCanceled\":\"Перетягування скасовано.\",\"dropComplete\":\"Перетягування завершено.\",\"dropDescriptionKeyboard\":\"Натисніть Enter, щоб перетягнути. Натисніть Escape, щоб скасувати перетягування.\",\"dropDescriptionTouch\":\"Натисніть двічі, щоб перетягнути.\",\"dropDescriptionVirtual\":\"Натисніть, щоб перетягнути.\",\"dropIndicator\":\"індикатор перетягування\",\"dropOnItem\":\"Перетягнути на {itemText}\",\"dropOnRoot\":\"Перетягнути на\",\"endDragKeyboard\":\"Триває перетягування. Натисніть Enter, щоб скасувати перетягування.\",\"endDragTouch\":\"Триває перетягування. Натисніть двічі, щоб скасувати перетягування.\",\"endDragVirtual\":\"Триває перетягування. Натисніть, щоб скасувати перетягування.\",\"insertAfter\":\"Вставити після {itemText}\",\"insertBefore\":\"Вставити перед {itemText}\",\"insertBetween\":\"Вставити між {beforeItemText} і {afterItemText}\"}");
|
|
751
751
|
|
|
752
752
|
|
|
753
|
-
var $
|
|
754
|
-
$
|
|
753
|
+
var $9b078ce55391bbf3$exports = {};
|
|
754
|
+
$9b078ce55391bbf3$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"按 Enter 开始拖动。\",\"dragDescriptionTouch\":\"双击开始拖动。\",\"dragDescriptionVirtual\":\"单击开始拖动。\",\"dragItem\":\"拖动 {itemText}\",\"dragSelectedItems\":\"拖动 {count, plural, one {# 选中项目} other {# 选中项目}}\",\"dragStartedKeyboard\":\"已开始拖动。按 Tab 导航到放置目标,然后按 Enter 放置或按 Escape 取消。\",\"dragStartedTouch\":\"已开始拖动。导航到放置目标,然后双击放置。\",\"dragStartedVirtual\":\"已开始拖动。导航到放置目标,然后单击或按 Enter 放置。\",\"dropCanceled\":\"放置已取消。\",\"dropComplete\":\"放置已完成。\",\"dropDescriptionKeyboard\":\"按 Enter 放置。按 Escape 取消拖动。\",\"dropDescriptionTouch\":\"双击放置。\",\"dropDescriptionVirtual\":\"单击放置。\",\"dropIndicator\":\"放置标记\",\"dropOnItem\":\"放置于 {itemText}\",\"dropOnRoot\":\"放置于\",\"endDragKeyboard\":\"正在拖动。按 Enter 取消拖动。\",\"endDragTouch\":\"正在拖动。双击取消拖动。\",\"endDragVirtual\":\"正在拖动。单击取消拖动。\",\"insertAfter\":\"插入到 {itemText} 之后\",\"insertBefore\":\"插入到 {itemText} 之前\",\"insertBetween\":\"插入到 {beforeItemText} 和 {afterItemText} 之间\"}");
|
|
755
755
|
|
|
756
756
|
|
|
757
|
-
var $
|
|
758
|
-
$
|
|
757
|
+
var $94eee9f9dd033f7e$exports = {};
|
|
758
|
+
$94eee9f9dd033f7e$exports = JSON.parse("{\"dragDescriptionKeyboard\":\"按 Enter 鍵以開始拖曳。\",\"dragDescriptionTouch\":\"輕點兩下以開始拖曳。\",\"dragDescriptionVirtual\":\"按一下滑鼠以開始拖曳。\",\"dragItem\":\"拖曳「{itemText}」\",\"dragSelectedItems\":\"拖曳 {count, plural, one {# 個選定項目} other {# 個選定項目}}\",\"dragStartedKeyboard\":\"已開始拖曳。按 Tab 鍵以瀏覽至放置目標,然後按 Enter 鍵以放置,或按 Escape 鍵以取消。\",\"dragStartedTouch\":\"已開始拖曳。瀏覽至放置目標,然後輕點兩下以放置。\",\"dragStartedVirtual\":\"已開始拖曳。瀏覽至放置目標,然後按一下滑鼠或按 Enter 鍵以放置。\",\"dropCanceled\":\"放置已取消。\",\"dropComplete\":\"放置已完成。\",\"dropDescriptionKeyboard\":\"按 Enter 鍵以放置。按 Escape 鍵以取消拖曳。\",\"dropDescriptionTouch\":\"輕點兩下以放置。\",\"dropDescriptionVirtual\":\"按一下滑鼠以放置。\",\"dropIndicator\":\"放置指示器\",\"dropOnItem\":\"放置在「{itemText}」上\",\"dropOnRoot\":\"放置在\",\"endDragKeyboard\":\"拖曳中。按 Enter 鍵以取消拖曳。\",\"endDragTouch\":\"拖曳中。輕點兩下以取消拖曳。\",\"endDragVirtual\":\"拖曳中。按一下滑鼠以取消拖曳。\",\"insertAfter\":\"插入至「{itemText}」之後\",\"insertBefore\":\"插入至「{itemText}」之前\",\"insertBetween\":\"插入至「{beforeItemText}」和「{afterItemText}」之間\"}");
|
|
759
759
|
|
|
760
760
|
|
|
761
|
-
$
|
|
762
|
-
"ar-AE": $
|
|
763
|
-
"bg-BG": $
|
|
764
|
-
"cs-CZ": $
|
|
765
|
-
"da-DK": $
|
|
766
|
-
"de-DE": $
|
|
767
|
-
"el-GR": $
|
|
768
|
-
"en-US": $
|
|
769
|
-
"es-ES": $
|
|
770
|
-
"et-EE": $
|
|
771
|
-
"fi-FI": $
|
|
772
|
-
"fr-FR": $
|
|
773
|
-
"he-IL": $
|
|
774
|
-
"hr-HR": $
|
|
775
|
-
"hu-HU": $
|
|
776
|
-
"it-IT": $
|
|
777
|
-
"ja-JP": $
|
|
778
|
-
"ko-KR": $
|
|
779
|
-
"lt-LT": $
|
|
780
|
-
"lv-LV": $
|
|
781
|
-
"nb-NO": $
|
|
782
|
-
"nl-NL": $
|
|
783
|
-
"pl-PL": $
|
|
784
|
-
"pt-BR": $
|
|
785
|
-
"pt-PT": $
|
|
786
|
-
"ro-RO": $
|
|
787
|
-
"ru-RU": $
|
|
788
|
-
"sk-SK": $
|
|
789
|
-
"sl-SI": $
|
|
790
|
-
"sr-SP": $
|
|
791
|
-
"sv-SE": $
|
|
792
|
-
"tr-TR": $
|
|
793
|
-
"uk-UA": $
|
|
794
|
-
"zh-CN": $
|
|
795
|
-
"zh-TW": $
|
|
761
|
+
$a0e2171154b8c4fe$exports = {
|
|
762
|
+
"ar-AE": $e1076e638f72e513$exports,
|
|
763
|
+
"bg-BG": $5247825c4c521ecd$exports,
|
|
764
|
+
"cs-CZ": $679c7987be73b33a$exports,
|
|
765
|
+
"da-DK": $1c6be209d930911d$exports,
|
|
766
|
+
"de-DE": $0c5c28ae829fbcc5$exports,
|
|
767
|
+
"el-GR": $362719e545ebbe59$exports,
|
|
768
|
+
"en-US": $bf5ca542ddbd7e1e$exports,
|
|
769
|
+
"es-ES": $249f7c6f2b021a36$exports,
|
|
770
|
+
"et-EE": $a306aec76fcd0c95$exports,
|
|
771
|
+
"fi-FI": $6eb0560f4ff183ff$exports,
|
|
772
|
+
"fr-FR": $a9309d69baecc54a$exports,
|
|
773
|
+
"he-IL": $c306e39910a4b3d3$exports,
|
|
774
|
+
"hr-HR": $383c29c6b563fed3$exports,
|
|
775
|
+
"hu-HU": $f37e1d1f1c577681$exports,
|
|
776
|
+
"it-IT": $57684896b9b64945$exports,
|
|
777
|
+
"ja-JP": $124f9b9a50d68f08$exports,
|
|
778
|
+
"ko-KR": $4e7a70c1eb8efae2$exports,
|
|
779
|
+
"lt-LT": $18a908ad59f24b71$exports,
|
|
780
|
+
"lv-LV": $e9b69ae5de94453e$exports,
|
|
781
|
+
"nb-NO": $28e302ddfe8a4bf5$exports,
|
|
782
|
+
"nl-NL": $8b329d015984c2b2$exports,
|
|
783
|
+
"pl-PL": $32ac997d901e8006$exports,
|
|
784
|
+
"pt-BR": $980d9cf229cf60df$exports,
|
|
785
|
+
"pt-PT": $429c069033ac65fb$exports,
|
|
786
|
+
"ro-RO": $5944d5a872573520$exports,
|
|
787
|
+
"ru-RU": $5bd34815177e0598$exports,
|
|
788
|
+
"sk-SK": $fd4fe85d82ae4b8e$exports,
|
|
789
|
+
"sl-SI": $165d6bd72ce97cf9$exports,
|
|
790
|
+
"sr-SP": $dc9b5237d38f3817$exports,
|
|
791
|
+
"sv-SE": $fc3016bdba8283ce$exports,
|
|
792
|
+
"tr-TR": $359db1fb988d3e0a$exports,
|
|
793
|
+
"uk-UA": $231565b2fb81d522$exports,
|
|
794
|
+
"zh-CN": $9b078ce55391bbf3$exports,
|
|
795
|
+
"zh-TW": $94eee9f9dd033f7e$exports
|
|
796
796
|
};
|
|
797
797
|
|
|
798
798
|
|
|
@@ -801,7 +801,7 @@ $af5448629730bb0d$exports = {
|
|
|
801
801
|
|
|
802
802
|
|
|
803
803
|
|
|
804
|
-
const $
|
|
804
|
+
const $d067e40b40cb0a24$var$MESSAGES = {
|
|
805
805
|
keyboard: {
|
|
806
806
|
start: 'dragDescriptionKeyboard',
|
|
807
807
|
end: 'endDragKeyboard'
|
|
@@ -815,23 +815,23 @@ const $e5b8a339d420e160$var$MESSAGES = {
|
|
|
815
815
|
end: 'endDragVirtual'
|
|
816
816
|
}
|
|
817
817
|
};
|
|
818
|
-
function $
|
|
819
|
-
let formatMessage = $
|
|
820
|
-
let state = $
|
|
818
|
+
function $d067e40b40cb0a24$export$7941f8aafa4b6021(options) {
|
|
819
|
+
let formatMessage = $4on3C$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($a0e2171154b8c4fe$exports)));
|
|
820
|
+
let state = $4on3C$react.useRef({
|
|
821
821
|
options: options,
|
|
822
822
|
x: 0,
|
|
823
823
|
y: 0
|
|
824
824
|
}).current;
|
|
825
825
|
state.options = options;
|
|
826
|
-
let [isDragging, setDragging] = $
|
|
826
|
+
let [isDragging, setDragging] = $4on3C$react.useState(false);
|
|
827
827
|
let onDragStart = (e)=>{
|
|
828
828
|
let items = options.getItems();
|
|
829
|
-
$
|
|
829
|
+
$c1cba3854dc3a167$export$f9c1490890ddd063(e.dataTransfer, items);
|
|
830
830
|
if (typeof options.getAllowedDropOperations === 'function') {
|
|
831
831
|
let allowedOperations = options.getAllowedDropOperations();
|
|
832
|
-
let allowed = $
|
|
833
|
-
for (let operation of allowedOperations)allowed |= $
|
|
834
|
-
e.dataTransfer.effectAllowed = $
|
|
832
|
+
let allowed = $8e4046ff5ec007bd$export$60b7b4bcf3903d8e.none;
|
|
833
|
+
for (let operation of allowedOperations)allowed |= $8e4046ff5ec007bd$export$60b7b4bcf3903d8e[operation] || $8e4046ff5ec007bd$export$60b7b4bcf3903d8e.none;
|
|
834
|
+
e.dataTransfer.effectAllowed = $8e4046ff5ec007bd$export$dd0165308d8bff45[allowed] || 'none';
|
|
835
835
|
}
|
|
836
836
|
// If there is a renderPreview function, use it to render a custom preview image that will
|
|
837
837
|
// appear under the pointer while dragging. If not, the element itself is dragged by the browser.
|
|
@@ -846,7 +846,7 @@ function $e5b8a339d420e160$export$7941f8aafa4b6021(options) {
|
|
|
846
846
|
node.style.left = '-100000px';
|
|
847
847
|
document.body.appendChild(node);
|
|
848
848
|
// Call renderPreview to get a JSX element, and render it into the div with React DOM.
|
|
849
|
-
($parcel$interopDefault($
|
|
849
|
+
($parcel$interopDefault($4on3C$reactdom)).render(preview, node);
|
|
850
850
|
// Compute the offset that the preview will appear under the mouse.
|
|
851
851
|
// If possible, this is based on the point the user clicked on the target.
|
|
852
852
|
// If the preview is much smaller, then just use the center point of the preview.
|
|
@@ -893,7 +893,7 @@ function $e5b8a339d420e160$export$7941f8aafa4b6021(options) {
|
|
|
893
893
|
type: 'dragend',
|
|
894
894
|
x: e.clientX,
|
|
895
895
|
y: e.clientY,
|
|
896
|
-
dropOperation: $
|
|
896
|
+
dropOperation: $8e4046ff5ec007bd$export$608ecc6f1b23c35d[e.dataTransfer.dropEffect]
|
|
897
897
|
});
|
|
898
898
|
setDragging(false);
|
|
899
899
|
};
|
|
@@ -907,7 +907,7 @@ function $e5b8a339d420e160$export$7941f8aafa4b6021(options) {
|
|
|
907
907
|
y: rect.y + rect.height / 2
|
|
908
908
|
});
|
|
909
909
|
}
|
|
910
|
-
$
|
|
910
|
+
$d69e2bc1de15721f$export$549dbcf8649bf3b2({
|
|
911
911
|
element: e1.target,
|
|
912
912
|
items: state.options.getItems(),
|
|
913
913
|
allowedDropOperations: typeof state.options.getAllowedDropOperations === 'function' ? state.options.getAllowedDropOperations() : [
|
|
@@ -922,8 +922,8 @@ function $e5b8a339d420e160$export$7941f8aafa4b6021(options) {
|
|
|
922
922
|
}, formatMessage);
|
|
923
923
|
setDragging(true);
|
|
924
924
|
};
|
|
925
|
-
let modality = $
|
|
926
|
-
let descriptionProps = $
|
|
925
|
+
let modality = $c1cba3854dc3a167$export$49bac5d6d4b352ea();
|
|
926
|
+
let descriptionProps = $4on3C$reactariautils.useDescription(formatMessage(!isDragging ? $d067e40b40cb0a24$var$MESSAGES[modality].start : $d067e40b40cb0a24$var$MESSAGES[modality].end));
|
|
927
927
|
return {
|
|
928
928
|
dragProps: {
|
|
929
929
|
draggable: 'true',
|
|
@@ -940,9 +940,9 @@ function $e5b8a339d420e160$export$7941f8aafa4b6021(options) {
|
|
|
940
940
|
}
|
|
941
941
|
|
|
942
942
|
|
|
943
|
-
var $
|
|
943
|
+
var $444fab3ca6c3b038$exports = {};
|
|
944
944
|
|
|
945
|
-
$parcel$export($
|
|
945
|
+
$parcel$export($444fab3ca6c3b038$exports, "useDrop", () => $444fab3ca6c3b038$export$ccdee5eaf73cf661);
|
|
946
946
|
|
|
947
947
|
|
|
948
948
|
|
|
@@ -953,16 +953,16 @@ $parcel$export($b0b0871a1e5986b6$exports, "useDrop", () => $b0b0871a1e5986b6$exp
|
|
|
953
953
|
|
|
954
954
|
|
|
955
955
|
|
|
956
|
-
const $
|
|
956
|
+
const $116cc020faed051c$var$MESSAGES = {
|
|
957
957
|
keyboard: 'dropDescriptionKeyboard',
|
|
958
958
|
touch: 'dropDescriptionTouch',
|
|
959
959
|
virtual: 'dropDescriptionVirtual'
|
|
960
960
|
};
|
|
961
|
-
function $
|
|
962
|
-
let formatMessage = $
|
|
963
|
-
let modality = $
|
|
964
|
-
let dragSession = $
|
|
965
|
-
let descriptionProps = $
|
|
961
|
+
function $116cc020faed051c$export$62447ad3d2ec7da6() {
|
|
962
|
+
let formatMessage = $4on3C$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($a0e2171154b8c4fe$exports)));
|
|
963
|
+
let modality = $c1cba3854dc3a167$export$49bac5d6d4b352ea();
|
|
964
|
+
let dragSession = $d69e2bc1de15721f$export$418e185dd3f1b968();
|
|
965
|
+
let descriptionProps = $4on3C$reactariautils.useDescription(dragSession ? formatMessage($116cc020faed051c$var$MESSAGES[modality]) : '');
|
|
966
966
|
return {
|
|
967
967
|
dropProps: {
|
|
968
968
|
...descriptionProps,
|
|
@@ -978,10 +978,10 @@ function $0a31363092775982$export$62447ad3d2ec7da6() {
|
|
|
978
978
|
}
|
|
979
979
|
|
|
980
980
|
|
|
981
|
-
const $
|
|
982
|
-
function $
|
|
983
|
-
let [isDropTarget, setDropTarget] = $
|
|
984
|
-
let state = $
|
|
981
|
+
const $444fab3ca6c3b038$var$DROP_ACTIVATE_TIMEOUT = 800;
|
|
982
|
+
function $444fab3ca6c3b038$export$ccdee5eaf73cf661(options) {
|
|
983
|
+
let [isDropTarget, setDropTarget] = $4on3C$react.useState(false);
|
|
984
|
+
let state = $4on3C$react.useRef({
|
|
985
985
|
x: 0,
|
|
986
986
|
y: 0,
|
|
987
987
|
dragEnterCount: 0,
|
|
@@ -998,11 +998,11 @@ function $b0b0871a1e5986b6$export$ccdee5eaf73cf661(options) {
|
|
|
998
998
|
state.x = e.clientX;
|
|
999
999
|
state.y = e.clientY;
|
|
1000
1000
|
if (typeof options.getDropOperationForPoint === 'function') {
|
|
1001
|
-
let allowedOperations = $
|
|
1002
|
-
let types = new $
|
|
1001
|
+
let allowedOperations = $444fab3ca6c3b038$var$effectAllowedToOperations(e.dataTransfer.effectAllowed);
|
|
1002
|
+
let types = new $c1cba3854dc3a167$export$7f04ce188c91447c(e.dataTransfer);
|
|
1003
1003
|
let rect = e.currentTarget.getBoundingClientRect();
|
|
1004
1004
|
let dropOperation = options.getDropOperationForPoint(types, allowedOperations, state.x - rect.x, state.y - rect.y);
|
|
1005
|
-
state.dropEffect = $
|
|
1005
|
+
state.dropEffect = $8e4046ff5ec007bd$export$5eacb0769d26d3b2[dropOperation] || 'none';
|
|
1006
1006
|
}
|
|
1007
1007
|
e.dataTransfer.dropEffect = state.dropEffect;
|
|
1008
1008
|
if (typeof options.onDropMove === 'function') {
|
|
@@ -1022,26 +1022,26 @@ function $b0b0871a1e5986b6$export$ccdee5eaf73cf661(options) {
|
|
|
1022
1022
|
x: state.x - rect.x,
|
|
1023
1023
|
y: state.y - rect.y
|
|
1024
1024
|
});
|
|
1025
|
-
}, $
|
|
1025
|
+
}, $444fab3ca6c3b038$var$DROP_ACTIVATE_TIMEOUT);
|
|
1026
1026
|
}
|
|
1027
1027
|
};
|
|
1028
1028
|
let onDragEnter = (e)=>{
|
|
1029
1029
|
e.stopPropagation();
|
|
1030
1030
|
state.dragEnterCount++;
|
|
1031
1031
|
if (state.dragEnterCount > 1) return;
|
|
1032
|
-
let allowedOperations = $
|
|
1032
|
+
let allowedOperations = $444fab3ca6c3b038$var$effectAllowedToOperations(e.dataTransfer.effectAllowed);
|
|
1033
1033
|
let dropOperation = allowedOperations[0];
|
|
1034
1034
|
if (typeof options.getDropOperation === 'function') {
|
|
1035
|
-
let types = new $
|
|
1035
|
+
let types = new $c1cba3854dc3a167$export$7f04ce188c91447c(e.dataTransfer);
|
|
1036
1036
|
dropOperation = options.getDropOperation(types, allowedOperations);
|
|
1037
1037
|
}
|
|
1038
1038
|
if (dropOperation !== 'cancel') setDropTarget(true);
|
|
1039
1039
|
if (typeof options.getDropOperationForPoint === 'function') {
|
|
1040
|
-
let types = new $
|
|
1040
|
+
let types = new $c1cba3854dc3a167$export$7f04ce188c91447c(e.dataTransfer);
|
|
1041
1041
|
let rect = e.currentTarget.getBoundingClientRect();
|
|
1042
1042
|
dropOperation = options.getDropOperationForPoint(types, allowedOperations, e.clientX - rect.x, e.clientY - rect.y);
|
|
1043
1043
|
}
|
|
1044
|
-
state.dropEffect = $
|
|
1044
|
+
state.dropEffect = $8e4046ff5ec007bd$export$5eacb0769d26d3b2[dropOperation] || 'none';
|
|
1045
1045
|
e.dataTransfer.dropEffect = state.dropEffect;
|
|
1046
1046
|
if (typeof options.onDropEnter === 'function' && dropOperation !== 'cancel') {
|
|
1047
1047
|
let rect = e.currentTarget.getBoundingClientRect();
|
|
@@ -1073,8 +1073,8 @@ function $b0b0871a1e5986b6$export$ccdee5eaf73cf661(options) {
|
|
|
1073
1073
|
e.preventDefault();
|
|
1074
1074
|
e.stopPropagation();
|
|
1075
1075
|
if (typeof options.onDrop === 'function') {
|
|
1076
|
-
let dropOperation = $
|
|
1077
|
-
let items = $
|
|
1076
|
+
let dropOperation = $8e4046ff5ec007bd$export$608ecc6f1b23c35d[state.dropEffect];
|
|
1077
|
+
let items = $c1cba3854dc3a167$export$d9e760437831f8b3(e.dataTransfer);
|
|
1078
1078
|
let rect = e.currentTarget.getBoundingClientRect();
|
|
1079
1079
|
let event = {
|
|
1080
1080
|
type: 'drop',
|
|
@@ -1103,9 +1103,9 @@ function $b0b0871a1e5986b6$export$ccdee5eaf73cf661(options) {
|
|
|
1103
1103
|
setDropTarget(false);
|
|
1104
1104
|
clearTimeout(state.dropActivateTimer);
|
|
1105
1105
|
};
|
|
1106
|
-
let optionsRef = $
|
|
1106
|
+
let optionsRef = $4on3C$react.useRef(options);
|
|
1107
1107
|
optionsRef.current = options;
|
|
1108
|
-
$
|
|
1108
|
+
$4on3C$reactariautils.useLayoutEffect(()=>$d69e2bc1de15721f$export$c28d9fb4a54e471a({
|
|
1109
1109
|
element: optionsRef.current.ref.current,
|
|
1110
1110
|
getDropOperation: optionsRef.current.getDropOperation,
|
|
1111
1111
|
onDropEnter (e) {
|
|
@@ -1126,7 +1126,7 @@ function $b0b0871a1e5986b6$export$ccdee5eaf73cf661(options) {
|
|
|
1126
1126
|
, [
|
|
1127
1127
|
optionsRef
|
|
1128
1128
|
]);
|
|
1129
|
-
let { dropProps: dropProps } = $
|
|
1129
|
+
let { dropProps: dropProps } = $116cc020faed051c$export$62447ad3d2ec7da6();
|
|
1130
1130
|
return {
|
|
1131
1131
|
dropProps: {
|
|
1132
1132
|
...dropProps,
|
|
@@ -1138,19 +1138,19 @@ function $b0b0871a1e5986b6$export$ccdee5eaf73cf661(options) {
|
|
|
1138
1138
|
isDropTarget: isDropTarget
|
|
1139
1139
|
};
|
|
1140
1140
|
}
|
|
1141
|
-
function $
|
|
1142
|
-
let allowedOperationsBits = $
|
|
1141
|
+
function $444fab3ca6c3b038$var$effectAllowedToOperations(effectAllowed) {
|
|
1142
|
+
let allowedOperationsBits = $8e4046ff5ec007bd$export$9bbdfc78cf083e16[effectAllowed];
|
|
1143
1143
|
let allowedOperations = [];
|
|
1144
|
-
if (allowedOperationsBits & $
|
|
1145
|
-
if (allowedOperationsBits & $
|
|
1146
|
-
if (allowedOperationsBits & $
|
|
1144
|
+
if (allowedOperationsBits & $8e4046ff5ec007bd$export$60b7b4bcf3903d8e.move) allowedOperations.push('move');
|
|
1145
|
+
if (allowedOperationsBits & $8e4046ff5ec007bd$export$60b7b4bcf3903d8e.copy) allowedOperations.push('copy');
|
|
1146
|
+
if (allowedOperationsBits & $8e4046ff5ec007bd$export$60b7b4bcf3903d8e.link) allowedOperations.push('link');
|
|
1147
1147
|
return allowedOperations;
|
|
1148
1148
|
}
|
|
1149
1149
|
|
|
1150
1150
|
|
|
1151
|
-
var $
|
|
1151
|
+
var $f56fb52b53faaf3d$exports = {};
|
|
1152
1152
|
|
|
1153
|
-
$parcel$export($
|
|
1153
|
+
$parcel$export($f56fb52b53faaf3d$exports, "useDroppableCollection", () => $f56fb52b53faaf3d$export$f4e2f423c21f7b04);
|
|
1154
1154
|
|
|
1155
1155
|
|
|
1156
1156
|
|
|
@@ -1158,20 +1158,20 @@ $parcel$export($00c6d1d938df09ea$exports, "useDroppableCollection", () => $00c6d
|
|
|
1158
1158
|
|
|
1159
1159
|
|
|
1160
1160
|
|
|
1161
|
-
const $
|
|
1162
|
-
function $
|
|
1163
|
-
let scrollableRef = $
|
|
1164
|
-
$
|
|
1165
|
-
if (ref.current) scrollableRef.current = $
|
|
1161
|
+
const $0337847923f488b7$var$AUTOSCROLL_AREA_SIZE = 20;
|
|
1162
|
+
function $0337847923f488b7$export$6323452ca4533ed8(ref) {
|
|
1163
|
+
let scrollableRef = $4on3C$react.useRef(null);
|
|
1164
|
+
$4on3C$react.useEffect(()=>{
|
|
1165
|
+
if (ref.current) scrollableRef.current = $4on3C$reactariautils.getScrollParent(ref.current);
|
|
1166
1166
|
}, [
|
|
1167
1167
|
ref
|
|
1168
1168
|
]);
|
|
1169
|
-
let state = $
|
|
1169
|
+
let state = $4on3C$react.useRef({
|
|
1170
1170
|
timer: null,
|
|
1171
1171
|
dx: 0,
|
|
1172
1172
|
dy: 0
|
|
1173
1173
|
}).current;
|
|
1174
|
-
let scroll = $
|
|
1174
|
+
let scroll = $4on3C$react.useCallback(()=>{
|
|
1175
1175
|
scrollableRef.current.scrollLeft += state.dx;
|
|
1176
1176
|
scrollableRef.current.scrollTop += state.dy;
|
|
1177
1177
|
if (state.timer) state.timer = requestAnimationFrame(scroll);
|
|
@@ -1183,12 +1183,12 @@ function $4dbeadb21239b390$export$6323452ca4533ed8(ref) {
|
|
|
1183
1183
|
move (x, y) {
|
|
1184
1184
|
// Most browsers auto scroll natively, but WebKit on macOS does not (iOS does 🤷♂️).
|
|
1185
1185
|
// https://bugs.webkit.org/show_bug.cgi?id=222636
|
|
1186
|
-
if (!$
|
|
1186
|
+
if (!$4on3C$reactariautils.isWebKit() || $4on3C$reactariautils.isIOS() || !scrollableRef.current) return;
|
|
1187
1187
|
let box = scrollableRef.current.getBoundingClientRect();
|
|
1188
|
-
let left = $
|
|
1189
|
-
let top = $
|
|
1190
|
-
let bottom = box.height - $
|
|
1191
|
-
let right = box.width - $
|
|
1188
|
+
let left = $0337847923f488b7$var$AUTOSCROLL_AREA_SIZE;
|
|
1189
|
+
let top = $0337847923f488b7$var$AUTOSCROLL_AREA_SIZE;
|
|
1190
|
+
let bottom = box.height - $0337847923f488b7$var$AUTOSCROLL_AREA_SIZE;
|
|
1191
|
+
let right = box.width - $0337847923f488b7$var$AUTOSCROLL_AREA_SIZE;
|
|
1192
1192
|
if (x < left || x > right || y < top || y > bottom) {
|
|
1193
1193
|
if (x < left) state.dx = x - left;
|
|
1194
1194
|
else if (x > right) state.dx = x - right;
|
|
@@ -1209,13 +1209,13 @@ function $4dbeadb21239b390$export$6323452ca4533ed8(ref) {
|
|
|
1209
1209
|
|
|
1210
1210
|
|
|
1211
1211
|
|
|
1212
|
-
const $
|
|
1212
|
+
const $f56fb52b53faaf3d$var$DROP_POSITIONS = [
|
|
1213
1213
|
'before',
|
|
1214
1214
|
'on',
|
|
1215
1215
|
'after'
|
|
1216
1216
|
];
|
|
1217
|
-
function $
|
|
1218
|
-
let localState = $
|
|
1217
|
+
function $f56fb52b53faaf3d$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
1218
|
+
let localState = $4on3C$react.useRef({
|
|
1219
1219
|
props: props,
|
|
1220
1220
|
state: state1,
|
|
1221
1221
|
nextTarget: null,
|
|
@@ -1223,8 +1223,8 @@ function $00c6d1d938df09ea$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1223
1223
|
}).current;
|
|
1224
1224
|
localState.props = props;
|
|
1225
1225
|
localState.state = state1;
|
|
1226
|
-
let autoScroll = $
|
|
1227
|
-
let { dropProps: dropProps } = $
|
|
1226
|
+
let autoScroll = $0337847923f488b7$export$6323452ca4533ed8(ref);
|
|
1227
|
+
let { dropProps: dropProps } = $444fab3ca6c3b038$export$ccdee5eaf73cf661({
|
|
1228
1228
|
ref: ref,
|
|
1229
1229
|
onDropEnter (e) {
|
|
1230
1230
|
let target = props.getDropTargetFromPoint(e.x, e.y);
|
|
@@ -1276,8 +1276,8 @@ function $00c6d1d938df09ea$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1276
1276
|
if (state1.target && typeof props.onDrop === 'function') onDrop(e, state1.target);
|
|
1277
1277
|
}
|
|
1278
1278
|
});
|
|
1279
|
-
let droppingState = $
|
|
1280
|
-
let onDrop = $
|
|
1279
|
+
let droppingState = $4on3C$react.useRef(null);
|
|
1280
|
+
let onDrop = $4on3C$react.useCallback((e, target)=>{
|
|
1281
1281
|
let { state: state2 } = localState;
|
|
1282
1282
|
// Focus the collection.
|
|
1283
1283
|
state2.selectionManager.setFocused(true);
|
|
@@ -1310,8 +1310,8 @@ function $00c6d1d938df09ea$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1310
1310
|
if (target.type === 'item' && target.dropPosition === 'on' && state.collection.getItem(target.key) != null) {
|
|
1311
1311
|
state.selectionManager.setFocusedKey(target.key);
|
|
1312
1312
|
state.selectionManager.setFocused(true);
|
|
1313
|
-
$
|
|
1314
|
-
} else if (!state.selectionManager.isSelected(focusedKey)) $
|
|
1313
|
+
$4on3C$reactariainteractions.setInteractionModality('keyboard');
|
|
1314
|
+
} else if (!state.selectionManager.isSelected(focusedKey)) $4on3C$reactariainteractions.setInteractionModality('keyboard');
|
|
1315
1315
|
}
|
|
1316
1316
|
droppingState.current = null;
|
|
1317
1317
|
}, 50);
|
|
@@ -1319,12 +1319,12 @@ function $00c6d1d938df09ea$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1319
1319
|
localState
|
|
1320
1320
|
]);
|
|
1321
1321
|
// eslint-disable-next-line arrow-body-style
|
|
1322
|
-
$
|
|
1322
|
+
$4on3C$react.useEffect(()=>{
|
|
1323
1323
|
return ()=>{
|
|
1324
1324
|
if (droppingState.current) clearTimeout(droppingState.current.timeout);
|
|
1325
1325
|
};
|
|
1326
1326
|
}, []);
|
|
1327
|
-
$
|
|
1327
|
+
$4on3C$reactariautils.useLayoutEffect(()=>{
|
|
1328
1328
|
// If an insert occurs during a drop, we want to immediately select these items to give
|
|
1329
1329
|
// feedback to the user that a drop occurred. Only do this if the selection didn't change
|
|
1330
1330
|
// since the drop started so we don't override if the user or application did something.
|
|
@@ -1338,12 +1338,12 @@ function $00c6d1d938df09ea$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1338
1338
|
if (state1.selectionManager.focusedKey === droppingState.current.focusedKey) {
|
|
1339
1339
|
let first = newKeys.keys().next().value;
|
|
1340
1340
|
state1.selectionManager.setFocusedKey(first);
|
|
1341
|
-
if (state1.selectionManager.selectionMode === 'none') $
|
|
1341
|
+
if (state1.selectionManager.selectionMode === 'none') $4on3C$reactariainteractions.setInteractionModality('keyboard');
|
|
1342
1342
|
}
|
|
1343
1343
|
droppingState.current = null;
|
|
1344
1344
|
}
|
|
1345
1345
|
});
|
|
1346
|
-
$
|
|
1346
|
+
$4on3C$react.useEffect(()=>{
|
|
1347
1347
|
let getNextTarget1 = (target, wrap = true)=>{
|
|
1348
1348
|
if (!target) return {
|
|
1349
1349
|
type: 'root'
|
|
@@ -1352,9 +1352,9 @@ function $00c6d1d938df09ea$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1352
1352
|
let nextKey = target.type === 'item' ? keyboardDelegate.getKeyBelow(target.key) : keyboardDelegate.getFirstKey();
|
|
1353
1353
|
let dropPosition = 'before';
|
|
1354
1354
|
if (target.type === 'item') {
|
|
1355
|
-
let positionIndex = $
|
|
1356
|
-
let nextDropPosition = $
|
|
1357
|
-
if (positionIndex < $
|
|
1355
|
+
let positionIndex = $f56fb52b53faaf3d$var$DROP_POSITIONS.indexOf(target.dropPosition);
|
|
1356
|
+
let nextDropPosition = $f56fb52b53faaf3d$var$DROP_POSITIONS[positionIndex + 1];
|
|
1357
|
+
if (positionIndex < $f56fb52b53faaf3d$var$DROP_POSITIONS.length - 1 && !(nextDropPosition === 'after' && nextKey != null)) return {
|
|
1358
1358
|
type: 'item',
|
|
1359
1359
|
key: target.key,
|
|
1360
1360
|
dropPosition: nextDropPosition
|
|
@@ -1380,8 +1380,8 @@ function $00c6d1d938df09ea$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1380
1380
|
let nextKey = target?.type === 'item' ? keyboardDelegate.getKeyAbove(target.key) : keyboardDelegate.getLastKey();
|
|
1381
1381
|
let dropPosition = !target || target.type === 'root' ? 'after' : 'on';
|
|
1382
1382
|
if (target?.type === 'item') {
|
|
1383
|
-
let positionIndex = $
|
|
1384
|
-
let nextDropPosition = $
|
|
1383
|
+
let positionIndex = $f56fb52b53faaf3d$var$DROP_POSITIONS.indexOf(target.dropPosition);
|
|
1384
|
+
let nextDropPosition = $f56fb52b53faaf3d$var$DROP_POSITIONS[positionIndex - 1];
|
|
1385
1385
|
if (positionIndex > 0 && nextDropPosition !== 'after') return {
|
|
1386
1386
|
type: 'item',
|
|
1387
1387
|
key: target.key,
|
|
@@ -1416,7 +1416,7 @@ function $00c6d1d938df09ea$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1416
1416
|
if (operation === 'cancel') return null;
|
|
1417
1417
|
return target;
|
|
1418
1418
|
};
|
|
1419
|
-
return $
|
|
1419
|
+
return $d69e2bc1de15721f$export$c28d9fb4a54e471a({
|
|
1420
1420
|
element: ref.current,
|
|
1421
1421
|
getDropOperation (types, allowedOperations) {
|
|
1422
1422
|
if (localState.state.target) return localState.state.getDropOperation(localState.state.target, types, allowedOperations);
|
|
@@ -1426,7 +1426,7 @@ function $00c6d1d938df09ea$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1426
1426
|
return target ? 'move' : 'cancel';
|
|
1427
1427
|
},
|
|
1428
1428
|
onDropEnter (e, drag) {
|
|
1429
|
-
let types = $
|
|
1429
|
+
let types = $c1cba3854dc3a167$export$e1d41611756c6326(drag.items);
|
|
1430
1430
|
let selectionManager = localState.state.selectionManager;
|
|
1431
1431
|
let target;
|
|
1432
1432
|
// When entering the droppable collection for the first time, the default drop target
|
|
@@ -1477,7 +1477,7 @@ function $00c6d1d938df09ea$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1477
1477
|
},
|
|
1478
1478
|
onKeyDown (e, drag) {
|
|
1479
1479
|
let { keyboardDelegate: keyboardDelegate } = localState.props;
|
|
1480
|
-
let types = $
|
|
1480
|
+
let types = $c1cba3854dc3a167$export$e1d41611756c6326(drag.items);
|
|
1481
1481
|
switch(e.key){
|
|
1482
1482
|
case 'ArrowDown':
|
|
1483
1483
|
if (keyboardDelegate.getKeyBelow) {
|
|
@@ -1568,9 +1568,9 @@ function $00c6d1d938df09ea$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1568
1568
|
ref,
|
|
1569
1569
|
onDrop
|
|
1570
1570
|
]);
|
|
1571
|
-
let id = $
|
|
1571
|
+
let id = $c1cba3854dc3a167$export$b1601eb39394a581(state1);
|
|
1572
1572
|
return {
|
|
1573
|
-
collectionProps: $
|
|
1573
|
+
collectionProps: $4on3C$reactariautils.mergeProps(dropProps, {
|
|
1574
1574
|
id: id,
|
|
1575
1575
|
// Remove description from collection element. If dropping on the entire collection,
|
|
1576
1576
|
// there should be a drop indicator that has this description, so no need to double announce.
|
|
@@ -1580,17 +1580,17 @@ function $00c6d1d938df09ea$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1580
1580
|
}
|
|
1581
1581
|
|
|
1582
1582
|
|
|
1583
|
-
var $
|
|
1583
|
+
var $bfcc97d22144d9f4$exports = {};
|
|
1584
1584
|
|
|
1585
|
-
$parcel$export($
|
|
1585
|
+
$parcel$export($bfcc97d22144d9f4$exports, "useDroppableItem", () => $bfcc97d22144d9f4$export$f7b0c5d28b66b6a5);
|
|
1586
1586
|
|
|
1587
1587
|
|
|
1588
1588
|
|
|
1589
1589
|
|
|
1590
|
-
function $
|
|
1591
|
-
let { dropProps: dropProps } = $
|
|
1592
|
-
$
|
|
1593
|
-
if (ref.current) return $
|
|
1590
|
+
function $bfcc97d22144d9f4$export$f7b0c5d28b66b6a5(options, state, ref) {
|
|
1591
|
+
let { dropProps: dropProps } = $116cc020faed051c$export$62447ad3d2ec7da6();
|
|
1592
|
+
$4on3C$react.useEffect(()=>{
|
|
1593
|
+
if (ref.current) return $d69e2bc1de15721f$export$aef80212ac99c003({
|
|
1594
1594
|
element: ref.current,
|
|
1595
1595
|
target: options.target,
|
|
1596
1596
|
getDropOperation (types, allowedOperations) {
|
|
@@ -1602,10 +1602,10 @@ function $7c0161778f1187b4$export$f7b0c5d28b66b6a5(options, state, ref) {
|
|
|
1602
1602
|
options.target,
|
|
1603
1603
|
state
|
|
1604
1604
|
]);
|
|
1605
|
-
let dragSession = $
|
|
1606
|
-
let isValidDropTarget = dragSession && state.getDropOperation(options.target, $
|
|
1605
|
+
let dragSession = $d69e2bc1de15721f$export$418e185dd3f1b968();
|
|
1606
|
+
let isValidDropTarget = dragSession && state.getDropOperation(options.target, $c1cba3854dc3a167$export$e1d41611756c6326(dragSession.dragTarget.items), dragSession.dragTarget.allowedDropOperations) !== 'cancel';
|
|
1607
1607
|
let isDropTarget = state.isDropTarget(options.target);
|
|
1608
|
-
$
|
|
1608
|
+
$4on3C$react.useEffect(()=>{
|
|
1609
1609
|
if (dragSession && isDropTarget && ref.current) ref.current.focus();
|
|
1610
1610
|
}, [
|
|
1611
1611
|
isDropTarget,
|
|
@@ -1621,29 +1621,29 @@ function $7c0161778f1187b4$export$f7b0c5d28b66b6a5(options, state, ref) {
|
|
|
1621
1621
|
}
|
|
1622
1622
|
|
|
1623
1623
|
|
|
1624
|
-
var $
|
|
1624
|
+
var $dd3402c2521ab910$exports = {};
|
|
1625
1625
|
|
|
1626
|
-
$parcel$export($
|
|
1626
|
+
$parcel$export($dd3402c2521ab910$exports, "useDropIndicator", () => $dd3402c2521ab910$export$8d0e41d2815afac5);
|
|
1627
1627
|
|
|
1628
1628
|
|
|
1629
1629
|
|
|
1630
1630
|
|
|
1631
1631
|
|
|
1632
1632
|
|
|
1633
|
-
function $
|
|
1633
|
+
function $dd3402c2521ab910$export$8d0e41d2815afac5(props, state, ref) {
|
|
1634
1634
|
let { target: target } = props;
|
|
1635
1635
|
let { collection: collection } = state;
|
|
1636
|
-
let formatMessage = $
|
|
1637
|
-
let dragSession = $
|
|
1638
|
-
let { dropProps: dropProps } = $
|
|
1639
|
-
let id = $
|
|
1636
|
+
let formatMessage = $4on3C$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($a0e2171154b8c4fe$exports)));
|
|
1637
|
+
let dragSession = $d69e2bc1de15721f$export$418e185dd3f1b968();
|
|
1638
|
+
let { dropProps: dropProps } = $bfcc97d22144d9f4$export$f7b0c5d28b66b6a5(props, state, ref);
|
|
1639
|
+
let id = $4on3C$reactariautils.useId();
|
|
1640
1640
|
let getText = (key)=>collection.getItem(key)?.textValue
|
|
1641
1641
|
;
|
|
1642
1642
|
let label = '';
|
|
1643
1643
|
let labelledBy;
|
|
1644
1644
|
if (target.type === 'root') {
|
|
1645
1645
|
label = formatMessage('dropOnRoot');
|
|
1646
|
-
labelledBy = `${id} ${$
|
|
1646
|
+
labelledBy = `${id} ${$c1cba3854dc3a167$export$3093291712f09a77(state)}`;
|
|
1647
1647
|
} else if (target.dropPosition === 'on') label = formatMessage('dropOnItem', {
|
|
1648
1648
|
itemText: getText(target.key)
|
|
1649
1649
|
});
|
|
@@ -1675,15 +1675,15 @@ function $ac8877fe775d06be$export$8d0e41d2815afac5(props, state, ref) {
|
|
|
1675
1675
|
}
|
|
1676
1676
|
|
|
1677
1677
|
|
|
1678
|
-
var $
|
|
1678
|
+
var $ef813332c2b7144e$exports = {};
|
|
1679
1679
|
|
|
1680
|
-
$parcel$export($
|
|
1680
|
+
$parcel$export($ef813332c2b7144e$exports, "useDraggableItem", () => $ef813332c2b7144e$export$b35afafff42da2d9);
|
|
1681
1681
|
|
|
1682
1682
|
|
|
1683
1683
|
|
|
1684
|
-
function $
|
|
1685
|
-
let formatMessage = $
|
|
1686
|
-
let { dragProps: dragProps , dragButtonProps: dragButtonProps } = $
|
|
1684
|
+
function $ef813332c2b7144e$export$b35afafff42da2d9(props, state) {
|
|
1685
|
+
let formatMessage = $4on3C$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($a0e2171154b8c4fe$exports)));
|
|
1686
|
+
let { dragProps: dragProps , dragButtonProps: dragButtonProps } = $d067e40b40cb0a24$export$7941f8aafa4b6021({
|
|
1687
1687
|
getItems () {
|
|
1688
1688
|
return state.getItems(props.key);
|
|
1689
1689
|
},
|
|
@@ -1720,16 +1720,16 @@ function $e7e1a4c642bba41f$export$b35afafff42da2d9(props, state) {
|
|
|
1720
1720
|
}
|
|
1721
1721
|
|
|
1722
1722
|
|
|
1723
|
-
var $
|
|
1723
|
+
var $0e4f47463d859da8$exports = {};
|
|
1724
1724
|
|
|
1725
|
-
$parcel$export($
|
|
1725
|
+
$parcel$export($0e4f47463d859da8$exports, "useClipboard", () => $0e4f47463d859da8$export$2314ca2a3e892862);
|
|
1726
1726
|
|
|
1727
1727
|
|
|
1728
1728
|
|
|
1729
1729
|
|
|
1730
|
-
const $
|
|
1731
|
-
function $
|
|
1732
|
-
let eventData = $
|
|
1730
|
+
const $0e4f47463d859da8$var$globalEvents = new Map();
|
|
1731
|
+
function $0e4f47463d859da8$var$addGlobalEventListener(event, fn) {
|
|
1732
|
+
let eventData = $0e4f47463d859da8$var$globalEvents.get(event);
|
|
1733
1733
|
if (!eventData) {
|
|
1734
1734
|
let handlers = new Set();
|
|
1735
1735
|
let listener = (e)=>{
|
|
@@ -1739,7 +1739,7 @@ function $dac132f5b57715f8$var$addGlobalEventListener(event, fn) {
|
|
|
1739
1739
|
listener: listener,
|
|
1740
1740
|
handlers: handlers
|
|
1741
1741
|
};
|
|
1742
|
-
$
|
|
1742
|
+
$0e4f47463d859da8$var$globalEvents.set(event, eventData);
|
|
1743
1743
|
document.addEventListener(event, listener);
|
|
1744
1744
|
}
|
|
1745
1745
|
eventData.handlers.add(fn);
|
|
@@ -1747,20 +1747,20 @@ function $dac132f5b57715f8$var$addGlobalEventListener(event, fn) {
|
|
|
1747
1747
|
eventData.handlers.delete(fn);
|
|
1748
1748
|
if (eventData.handlers.size === 0) {
|
|
1749
1749
|
document.removeEventListener(event, eventData.listener);
|
|
1750
|
-
$
|
|
1750
|
+
$0e4f47463d859da8$var$globalEvents.delete(event);
|
|
1751
1751
|
}
|
|
1752
1752
|
};
|
|
1753
1753
|
}
|
|
1754
|
-
function $
|
|
1755
|
-
let ref = $
|
|
1754
|
+
function $0e4f47463d859da8$export$2314ca2a3e892862(options1) {
|
|
1755
|
+
let ref = $4on3C$react.useRef(options1);
|
|
1756
1756
|
ref.current = options1;
|
|
1757
|
-
let isFocusedRef = $
|
|
1758
|
-
let { focusProps: focusProps } = $
|
|
1757
|
+
let isFocusedRef = $4on3C$react.useRef(false);
|
|
1758
|
+
let { focusProps: focusProps } = $4on3C$reactariainteractions.useFocus({
|
|
1759
1759
|
onFocusChange: (isFocused)=>{
|
|
1760
1760
|
isFocusedRef.current = isFocused;
|
|
1761
1761
|
}
|
|
1762
1762
|
});
|
|
1763
|
-
$
|
|
1763
|
+
$4on3C$react.useEffect(()=>{
|
|
1764
1764
|
let onBeforeCopy = (e)=>{
|
|
1765
1765
|
// Enable the "Copy" menu item in Safari if this element is focused and copying is supported.
|
|
1766
1766
|
let options = ref.current;
|
|
@@ -1770,7 +1770,7 @@ function $dac132f5b57715f8$export$2314ca2a3e892862(options1) {
|
|
|
1770
1770
|
let options = ref.current;
|
|
1771
1771
|
if (!isFocusedRef.current || !options.getItems) return;
|
|
1772
1772
|
e.preventDefault();
|
|
1773
|
-
$
|
|
1773
|
+
$c1cba3854dc3a167$export$f9c1490890ddd063(e.clipboardData, options.getItems());
|
|
1774
1774
|
options.onCopy?.();
|
|
1775
1775
|
};
|
|
1776
1776
|
let onBeforeCut = (e)=>{
|
|
@@ -1781,7 +1781,7 @@ function $dac132f5b57715f8$export$2314ca2a3e892862(options1) {
|
|
|
1781
1781
|
let options = ref.current;
|
|
1782
1782
|
if (!isFocusedRef.current || !options.onCut || !options.getItems) return;
|
|
1783
1783
|
e.preventDefault();
|
|
1784
|
-
$
|
|
1784
|
+
$c1cba3854dc3a167$export$f9c1490890ddd063(e.clipboardData, options.getItems());
|
|
1785
1785
|
options.onCut();
|
|
1786
1786
|
};
|
|
1787
1787
|
let onBeforePaste = (e)=>{
|
|
@@ -1794,10 +1794,10 @@ function $dac132f5b57715f8$export$2314ca2a3e892862(options1) {
|
|
|
1794
1794
|
let options = ref.current;
|
|
1795
1795
|
if (!isFocusedRef.current || !options.onPaste) return;
|
|
1796
1796
|
e.preventDefault();
|
|
1797
|
-
let items = $
|
|
1797
|
+
let items = $c1cba3854dc3a167$export$d9e760437831f8b3(e.clipboardData);
|
|
1798
1798
|
options.onPaste(items);
|
|
1799
1799
|
};
|
|
1800
|
-
return $
|
|
1800
|
+
return $4on3C$reactariautils.chain($0e4f47463d859da8$var$addGlobalEventListener('beforecopy', onBeforeCopy), $0e4f47463d859da8$var$addGlobalEventListener('copy', onCopy), $0e4f47463d859da8$var$addGlobalEventListener('beforecut', onBeforeCut), $0e4f47463d859da8$var$addGlobalEventListener('cut', onCut), $0e4f47463d859da8$var$addGlobalEventListener('beforepaste', onBeforePaste), $0e4f47463d859da8$var$addGlobalEventListener('paste', onPaste));
|
|
1801
1801
|
}, []);
|
|
1802
1802
|
return {
|
|
1803
1803
|
clipboardProps: focusProps
|
|
@@ -1805,13 +1805,13 @@ function $dac132f5b57715f8$export$2314ca2a3e892862(options1) {
|
|
|
1805
1805
|
}
|
|
1806
1806
|
|
|
1807
1807
|
|
|
1808
|
-
$parcel$exportWildcard(module.exports, $
|
|
1809
|
-
$parcel$exportWildcard(module.exports, $
|
|
1810
|
-
$parcel$exportWildcard(module.exports, $
|
|
1811
|
-
$parcel$exportWildcard(module.exports, $
|
|
1812
|
-
$parcel$exportWildcard(module.exports, $
|
|
1813
|
-
$parcel$exportWildcard(module.exports, $
|
|
1814
|
-
$parcel$exportWildcard(module.exports, $
|
|
1808
|
+
$parcel$exportWildcard(module.exports, $d067e40b40cb0a24$exports);
|
|
1809
|
+
$parcel$exportWildcard(module.exports, $444fab3ca6c3b038$exports);
|
|
1810
|
+
$parcel$exportWildcard(module.exports, $f56fb52b53faaf3d$exports);
|
|
1811
|
+
$parcel$exportWildcard(module.exports, $bfcc97d22144d9f4$exports);
|
|
1812
|
+
$parcel$exportWildcard(module.exports, $dd3402c2521ab910$exports);
|
|
1813
|
+
$parcel$exportWildcard(module.exports, $ef813332c2b7144e$exports);
|
|
1814
|
+
$parcel$exportWildcard(module.exports, $0e4f47463d859da8$exports);
|
|
1815
1815
|
|
|
1816
1816
|
|
|
1817
1817
|
//# sourceMappingURL=main.js.map
|