@react-aria/dnd 3.0.0-alpha.4 → 3.0.0-alpha.5
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 +394 -384
- package/dist/main.js.map +1 -1
- package/dist/module.js +388 -378
- package/dist/module.js.map +1 -1
- 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 $67uu7$react = require("react");
|
|
2
|
+
var $67uu7$reactdom = require("react-dom");
|
|
3
|
+
var $67uu7$reactariautils = require("@react-aria/utils");
|
|
4
|
+
var $67uu7$reactariai18n = require("@react-aria/i18n");
|
|
5
|
+
var $67uu7$reactarialiveannouncer = require("@react-aria/live-announcer");
|
|
6
|
+
var $67uu7$reactariaoverlays = require("@react-aria/overlays");
|
|
7
|
+
var $67uu7$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 $e2630e07d35639b3$exports = {};
|
|
32
32
|
|
|
33
|
-
$parcel$export($
|
|
33
|
+
$parcel$export($e2630e07d35639b3$exports, "useDrag", () => $e2630e07d35639b3$export$7941f8aafa4b6021);
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
let $
|
|
38
|
-
(function($
|
|
39
|
-
$
|
|
40
|
-
$
|
|
41
|
-
$
|
|
42
|
-
$
|
|
43
|
-
$
|
|
44
|
-
$
|
|
45
|
-
})($
|
|
37
|
+
let $d7547fb11526b355$export$60b7b4bcf3903d8e;
|
|
38
|
+
(function($d7547fb11526b355$export$60b7b4bcf3903d8e) {
|
|
39
|
+
$d7547fb11526b355$export$60b7b4bcf3903d8e[$d7547fb11526b355$export$60b7b4bcf3903d8e["none"] = 0] = "none";
|
|
40
|
+
$d7547fb11526b355$export$60b7b4bcf3903d8e[$d7547fb11526b355$export$60b7b4bcf3903d8e["cancel"] = 0] = "cancel";
|
|
41
|
+
$d7547fb11526b355$export$60b7b4bcf3903d8e[$d7547fb11526b355$export$60b7b4bcf3903d8e["move"] = 1] = "move";
|
|
42
|
+
$d7547fb11526b355$export$60b7b4bcf3903d8e[$d7547fb11526b355$export$60b7b4bcf3903d8e["copy"] = 2] = "copy";
|
|
43
|
+
$d7547fb11526b355$export$60b7b4bcf3903d8e[$d7547fb11526b355$export$60b7b4bcf3903d8e["link"] = 4] = "link";
|
|
44
|
+
$d7547fb11526b355$export$60b7b4bcf3903d8e[$d7547fb11526b355$export$60b7b4bcf3903d8e["all"] = 7] = "all";
|
|
45
|
+
})($d7547fb11526b355$export$60b7b4bcf3903d8e || ($d7547fb11526b355$export$60b7b4bcf3903d8e = {
|
|
46
46
|
}));
|
|
47
|
-
const $
|
|
48
|
-
...$
|
|
49
|
-
copyMove: $
|
|
50
|
-
copyLink: $
|
|
51
|
-
linkMove: $
|
|
52
|
-
all: $
|
|
53
|
-
uninitialized: $
|
|
47
|
+
const $d7547fb11526b355$export$9bbdfc78cf083e16 = {
|
|
48
|
+
...$d7547fb11526b355$export$60b7b4bcf3903d8e,
|
|
49
|
+
copyMove: $d7547fb11526b355$export$60b7b4bcf3903d8e.copy | $d7547fb11526b355$export$60b7b4bcf3903d8e.move,
|
|
50
|
+
copyLink: $d7547fb11526b355$export$60b7b4bcf3903d8e.copy | $d7547fb11526b355$export$60b7b4bcf3903d8e.link,
|
|
51
|
+
linkMove: $d7547fb11526b355$export$60b7b4bcf3903d8e.link | $d7547fb11526b355$export$60b7b4bcf3903d8e.move,
|
|
52
|
+
all: $d7547fb11526b355$export$60b7b4bcf3903d8e.all,
|
|
53
|
+
uninitialized: $d7547fb11526b355$export$60b7b4bcf3903d8e.all
|
|
54
54
|
};
|
|
55
|
-
const $
|
|
56
|
-
const $
|
|
57
|
-
const $
|
|
55
|
+
const $d7547fb11526b355$export$dd0165308d8bff45 = $d7547fb11526b355$var$invert($d7547fb11526b355$export$9bbdfc78cf083e16);
|
|
56
|
+
const $d7547fb11526b355$export$d7ebf00f36b7a95e = $d7547fb11526b355$var$invert($d7547fb11526b355$export$60b7b4bcf3903d8e);
|
|
57
|
+
const $d7547fb11526b355$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 $d7547fb11526b355$export$5eacb0769d26d3b2 = $d7547fb11526b355$var$invert($d7547fb11526b355$export$608ecc6f1b23c35d);
|
|
64
|
+
function $d7547fb11526b355$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 $d7547fb11526b355$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 $d7547fb11526b355$export$fd9f9fc120c5402d = 'application/vnd.react-aria.items+json';
|
|
76
|
+
const $d7547fb11526b355$export$f8fc6581787339b3 = 'application/octet-stream';
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
|
|
81
|
-
const $
|
|
82
|
-
function $
|
|
83
|
-
let id = $
|
|
84
|
-
$
|
|
81
|
+
const $29c8537521cf08fe$var$droppableCollectionIds = new WeakMap();
|
|
82
|
+
function $29c8537521cf08fe$export$b1601eb39394a581(state) {
|
|
83
|
+
let id = $67uu7$reactariautils.useId();
|
|
84
|
+
$29c8537521cf08fe$var$droppableCollectionIds.set(state, id);
|
|
85
85
|
return id;
|
|
86
86
|
}
|
|
87
|
-
function $
|
|
88
|
-
let id = $
|
|
87
|
+
function $29c8537521cf08fe$export$3093291712f09a77(state) {
|
|
88
|
+
let id = $29c8537521cf08fe$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 $29c8537521cf08fe$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 $29c8537521cf08fe$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 $29c8537521cf08fe$export$49bac5d6d4b352ea() {
|
|
104
|
+
return $29c8537521cf08fe$var$mapModality($67uu7$reactariainteractions.useInteractionModality());
|
|
105
105
|
}
|
|
106
|
-
function $
|
|
107
|
-
return $
|
|
106
|
+
function $29c8537521cf08fe$export$1fb2158d224b542c() {
|
|
107
|
+
return $29c8537521cf08fe$var$mapModality($67uu7$reactariainteractions.getInteractionModality());
|
|
108
108
|
}
|
|
109
|
-
function $
|
|
109
|
+
function $29c8537521cf08fe$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 $c1cba3854dc3a167$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 ($d7547fb11526b355$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,40 +148,40 @@ function $c1cba3854dc3a167$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, $d7547fb11526b355$export$fd9f9fc120c5402d);
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
|
-
class $
|
|
154
|
+
class $29c8537521cf08fe$export$7f04ce188c91447c {
|
|
155
|
+
has(type) {
|
|
156
|
+
if (this.includesUnknownTypes) return true;
|
|
157
|
+
return this.types.has(type);
|
|
158
|
+
}
|
|
155
159
|
constructor(dataTransfer){
|
|
156
160
|
this.types = new Set();
|
|
157
161
|
let hasFiles = false;
|
|
158
|
-
for (let item of dataTransfer.items)if (item.type !== $
|
|
162
|
+
for (let item of dataTransfer.items)if (item.type !== $d7547fb11526b355$export$fd9f9fc120c5402d) {
|
|
159
163
|
if (item.kind === 'file') hasFiles = true;
|
|
160
164
|
if (item.type) this.types.add(item.type);
|
|
161
165
|
else // Files with unknown types or extensions that don't map to a known mime type
|
|
162
166
|
// are sometimes exposed as an empty string by the browser. Map to a generic
|
|
163
167
|
// mime type instead. Note that this could also be a directory as there's no
|
|
164
168
|
// way to determine if something is a file or directory until drop.
|
|
165
|
-
this.types.add($
|
|
169
|
+
this.types.add($d7547fb11526b355$export$f8fc6581787339b3);
|
|
166
170
|
}
|
|
167
171
|
// In Safari, when dragging files, the dataTransfer.items list is empty, but dataTransfer.types contains "Files".
|
|
168
172
|
// Unfortunately, this doesn't tell us what types of files the user is dragging, so we need to assume that any
|
|
169
173
|
// type the user checks for is included. See https://bugs.webkit.org/show_bug.cgi?id=223517.
|
|
170
174
|
this.includesUnknownTypes = !hasFiles && dataTransfer.types.includes('Files');
|
|
171
175
|
}
|
|
172
|
-
has(type) {
|
|
173
|
-
if (this.includesUnknownTypes) return true;
|
|
174
|
-
return this.types.has(type);
|
|
175
|
-
}
|
|
176
176
|
}
|
|
177
|
-
function $
|
|
177
|
+
function $29c8537521cf08fe$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($d7547fb11526b355$export$fd9f9fc120c5402d)) try {
|
|
184
|
+
let data = dataTransfer.getData($d7547fb11526b355$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 $c1cba3854dc3a167$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 || $d7547fb11526b355$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 $c1cba3854dc3a167$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($29c8537521cf08fe$var$createFileItem(item.getAsFile()));
|
|
211
|
+
else if (entry.isDirectory) items.push($29c8537521cf08fe$var$createDirectoryItem(entry));
|
|
212
212
|
} else // Assume it's a file.
|
|
213
|
-
items.push($
|
|
213
|
+
items.push($29c8537521cf08fe$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 $c1cba3854dc3a167$export$d9e760437831f8b3(dataTransfer) {
|
|
|
223
223
|
}
|
|
224
224
|
return items;
|
|
225
225
|
}
|
|
226
|
-
function $
|
|
226
|
+
function $29c8537521cf08fe$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 $c1cba3854dc3a167$var$blobToString(blob) {
|
|
|
235
235
|
reader.readAsText(blob);
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
|
-
function $
|
|
238
|
+
function $29c8537521cf08fe$var$createFileItem(file) {
|
|
239
239
|
return {
|
|
240
240
|
kind: 'file',
|
|
241
|
-
type: file.type || $
|
|
241
|
+
type: file.type || $d7547fb11526b355$export$f8fc6581787339b3,
|
|
242
242
|
name: file.name,
|
|
243
|
-
getText: ()=>$
|
|
243
|
+
getText: ()=>$29c8537521cf08fe$var$blobToString(file)
|
|
244
244
|
,
|
|
245
245
|
getFile: ()=>Promise.resolve(file)
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
|
-
function $
|
|
248
|
+
function $29c8537521cf08fe$var$createDirectoryItem(entry) {
|
|
249
249
|
return {
|
|
250
250
|
kind: 'directory',
|
|
251
251
|
name: entry.name,
|
|
252
|
-
getEntries: ()=>$
|
|
252
|
+
getEntries: ()=>$29c8537521cf08fe$var$getEntries(entry)
|
|
253
253
|
};
|
|
254
254
|
}
|
|
255
|
-
async function* $
|
|
255
|
+
async function* $29c8537521cf08fe$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* $c1cba3854dc3a167$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 $29c8537521cf08fe$var$getEntryFile(entry);
|
|
267
|
+
yield $29c8537521cf08fe$var$createFileItem(file);
|
|
268
|
+
} else if (entry.isDirectory) yield $29c8537521cf08fe$var$createDirectoryItem(entry);
|
|
269
269
|
}
|
|
270
270
|
}while (entries.length > 0)
|
|
271
271
|
}
|
|
272
|
-
function $
|
|
272
|
+
function $29c8537521cf08fe$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 $7b1813d52b80b911$var$dropTargets = new Map();
|
|
280
|
+
let $7b1813d52b80b911$var$dropItems = new Map();
|
|
281
|
+
let $7b1813d52b80b911$var$dragSession = null;
|
|
282
|
+
let $7b1813d52b80b911$var$subscriptions = new Set();
|
|
283
|
+
function $7b1813d52b80b911$export$c28d9fb4a54e471a(target) {
|
|
284
|
+
$7b1813d52b80b911$var$dropTargets.set(target.element, target);
|
|
285
|
+
$7b1813d52b80b911$var$dragSession === null || $7b1813d52b80b911$var$dragSession === void 0 ? void 0 : $7b1813d52b80b911$var$dragSession.updateValidDropTargets();
|
|
286
286
|
return ()=>{
|
|
287
|
-
$
|
|
288
|
-
$
|
|
287
|
+
$7b1813d52b80b911$var$dropTargets.delete(target.element);
|
|
288
|
+
$7b1813d52b80b911$var$dragSession === null || $7b1813d52b80b911$var$dragSession === void 0 ? void 0 : $7b1813d52b80b911$var$dragSession.updateValidDropTargets();
|
|
289
289
|
};
|
|
290
290
|
}
|
|
291
|
-
function $
|
|
292
|
-
$
|
|
291
|
+
function $7b1813d52b80b911$export$aef80212ac99c003(item) {
|
|
292
|
+
$7b1813d52b80b911$var$dropItems.set(item.element, item);
|
|
293
293
|
return ()=>{
|
|
294
|
-
$
|
|
294
|
+
$7b1813d52b80b911$var$dropItems.delete(item.element);
|
|
295
295
|
};
|
|
296
296
|
}
|
|
297
|
-
function $
|
|
298
|
-
if ($
|
|
299
|
-
$
|
|
297
|
+
function $7b1813d52b80b911$export$549dbcf8649bf3b2(target, formatMessage) {
|
|
298
|
+
if ($7b1813d52b80b911$var$dragSession) throw new Error('Cannot begin dragging while already dragging');
|
|
299
|
+
$7b1813d52b80b911$var$dragSession = new $7b1813d52b80b911$var$DragSession(target, formatMessage);
|
|
300
300
|
requestAnimationFrame(()=>{
|
|
301
|
-
$
|
|
302
|
-
if ($
|
|
301
|
+
$7b1813d52b80b911$var$dragSession.setup();
|
|
302
|
+
if ($29c8537521cf08fe$export$1fb2158d224b542c() === 'keyboard') $7b1813d52b80b911$var$dragSession.next();
|
|
303
303
|
});
|
|
304
|
-
for (let cb of $
|
|
304
|
+
for (let cb of $7b1813d52b80b911$var$subscriptions)cb();
|
|
305
305
|
}
|
|
306
|
-
function $
|
|
307
|
-
let [session, setSession] = $
|
|
308
|
-
$
|
|
309
|
-
let cb = ()=>setSession($
|
|
306
|
+
function $7b1813d52b80b911$export$418e185dd3f1b968() {
|
|
307
|
+
let [session, setSession] = $67uu7$react.useState($7b1813d52b80b911$var$dragSession);
|
|
308
|
+
$67uu7$react.useEffect(()=>{
|
|
309
|
+
let cb = ()=>setSession($7b1813d52b80b911$var$dragSession)
|
|
310
310
|
;
|
|
311
|
-
$
|
|
311
|
+
$7b1813d52b80b911$var$subscriptions.add(cb);
|
|
312
312
|
return ()=>{
|
|
313
|
-
$
|
|
313
|
+
$7b1813d52b80b911$var$subscriptions.delete(cb);
|
|
314
314
|
};
|
|
315
315
|
}, []);
|
|
316
316
|
return session;
|
|
317
317
|
}
|
|
318
|
-
function $
|
|
319
|
-
$
|
|
320
|
-
for (let cb of $
|
|
318
|
+
function $7b1813d52b80b911$var$endDragging() {
|
|
319
|
+
$7b1813d52b80b911$var$dragSession = null;
|
|
320
|
+
for (let cb of $7b1813d52b80b911$var$subscriptions)cb();
|
|
321
321
|
}
|
|
322
|
-
const $
|
|
322
|
+
const $7b1813d52b80b911$var$CANCELED_EVENTS = [
|
|
323
323
|
'pointerdown',
|
|
324
324
|
'pointermove',
|
|
325
325
|
'pointerenter',
|
|
@@ -341,48 +341,40 @@ const $d69e2bc1de15721f$var$CANCELED_EVENTS = [
|
|
|
341
341
|
'focusin',
|
|
342
342
|
'focusout'
|
|
343
343
|
];
|
|
344
|
-
const $
|
|
344
|
+
const $7b1813d52b80b911$var$CLICK_EVENTS = [
|
|
345
345
|
'pointerup',
|
|
346
346
|
'mouseup',
|
|
347
347
|
'touchend'
|
|
348
348
|
];
|
|
349
|
-
const $
|
|
349
|
+
const $7b1813d52b80b911$var$MESSAGES = {
|
|
350
350
|
keyboard: 'dragStartedKeyboard',
|
|
351
351
|
touch: 'dragStartedTouch',
|
|
352
352
|
virtual: 'dragStartedVirtual'
|
|
353
353
|
};
|
|
354
|
-
class $
|
|
355
|
-
constructor(target, formatMessage){
|
|
356
|
-
this.dragTarget = target;
|
|
357
|
-
this.formatMessage = formatMessage;
|
|
358
|
-
this.onKeyDown = this.onKeyDown.bind(this);
|
|
359
|
-
this.onFocus = this.onFocus.bind(this);
|
|
360
|
-
this.onBlur = this.onBlur.bind(this);
|
|
361
|
-
this.onClick = this.onClick.bind(this);
|
|
362
|
-
this.cancelEvent = this.cancelEvent.bind(this);
|
|
363
|
-
}
|
|
354
|
+
class $7b1813d52b80b911$var$DragSession {
|
|
364
355
|
setup() {
|
|
365
356
|
document.addEventListener('keydown', this.onKeyDown, true);
|
|
366
357
|
window.addEventListener('focus', this.onFocus, true);
|
|
367
358
|
window.addEventListener('blur', this.onBlur, true);
|
|
368
359
|
document.addEventListener('click', this.onClick, true);
|
|
369
|
-
for (let event of $
|
|
360
|
+
for (let event of $7b1813d52b80b911$var$CANCELED_EVENTS)document.addEventListener(event, this.cancelEvent, true);
|
|
370
361
|
this.mutationObserver = new MutationObserver(()=>this.updateValidDropTargets()
|
|
371
362
|
);
|
|
372
363
|
this.updateValidDropTargets();
|
|
373
|
-
$
|
|
364
|
+
$67uu7$reactarialiveannouncer.announce(this.formatMessage($7b1813d52b80b911$var$MESSAGES[$29c8537521cf08fe$export$1fb2158d224b542c()]));
|
|
374
365
|
}
|
|
375
366
|
teardown() {
|
|
376
367
|
document.removeEventListener('keydown', this.onKeyDown, true);
|
|
377
368
|
window.removeEventListener('focus', this.onFocus, true);
|
|
378
369
|
window.removeEventListener('blur', this.onBlur, true);
|
|
379
370
|
document.removeEventListener('click', this.onClick, true);
|
|
380
|
-
for (let event of $
|
|
371
|
+
for (let event of $7b1813d52b80b911$var$CANCELED_EVENTS)document.removeEventListener(event, this.cancelEvent, true);
|
|
381
372
|
this.mutationObserver.disconnect();
|
|
382
373
|
this.restoreAriaHidden();
|
|
383
374
|
if (this.mutationImmediate) clearImmediate(this.mutationImmediate);
|
|
384
375
|
}
|
|
385
376
|
onKeyDown(e) {
|
|
377
|
+
var ref;
|
|
386
378
|
this.cancelEvent(e);
|
|
387
379
|
if (e.key === 'Escape') {
|
|
388
380
|
this.cancel();
|
|
@@ -397,7 +389,7 @@ class $d69e2bc1de15721f$var$DragSession {
|
|
|
397
389
|
if (e.shiftKey) this.previous();
|
|
398
390
|
else this.next();
|
|
399
391
|
}
|
|
400
|
-
if (typeof this.currentDropTarget
|
|
392
|
+
if (typeof ((ref = this.currentDropTarget) === null || ref === void 0 ? void 0 : ref.onKeyDown) === 'function') this.currentDropTarget.onKeyDown(e, this.dragTarget);
|
|
401
393
|
}
|
|
402
394
|
onFocus(e) {
|
|
403
395
|
// Prevent focus events, except to the original drag target.
|
|
@@ -411,7 +403,7 @@ class $d69e2bc1de15721f$var$DragSession {
|
|
|
411
403
|
else this.dragTarget.element.focus();
|
|
412
404
|
return;
|
|
413
405
|
}
|
|
414
|
-
let item = $
|
|
406
|
+
let item = $7b1813d52b80b911$var$dropItems.get(e.target);
|
|
415
407
|
this.setCurrentDropTarget(dropTarget, item);
|
|
416
408
|
}
|
|
417
409
|
onBlur(e) {
|
|
@@ -433,14 +425,14 @@ class $d69e2bc1de15721f$var$DragSession {
|
|
|
433
425
|
let dropTarget = this.validDropTargets.find((target)=>target.element.contains(e.target)
|
|
434
426
|
);
|
|
435
427
|
if (dropTarget) {
|
|
436
|
-
let item = $
|
|
428
|
+
let item = $7b1813d52b80b911$var$dropItems.get(e.target);
|
|
437
429
|
this.setCurrentDropTarget(dropTarget, item);
|
|
438
430
|
this.drop(item);
|
|
439
431
|
}
|
|
440
432
|
}
|
|
441
433
|
cancelEvent(e) {
|
|
442
434
|
// Allow default for events that might cancel a click event
|
|
443
|
-
if (!$
|
|
435
|
+
if (!$7b1813d52b80b911$var$CLICK_EVENTS.includes(e.type)) e.preventDefault();
|
|
444
436
|
e.stopPropagation();
|
|
445
437
|
e.stopImmediatePropagation();
|
|
446
438
|
}
|
|
@@ -448,12 +440,12 @@ class $d69e2bc1de15721f$var$DragSession {
|
|
|
448
440
|
if (!this.mutationObserver) return;
|
|
449
441
|
this.mutationObserver.disconnect();
|
|
450
442
|
if (this.restoreAriaHidden) this.restoreAriaHidden();
|
|
451
|
-
this.validDropTargets = $
|
|
443
|
+
this.validDropTargets = $7b1813d52b80b911$var$findValidDropTargets(this.dragTarget);
|
|
452
444
|
if (this.currentDropTarget && !this.validDropTargets.includes(this.currentDropTarget)) this.setCurrentDropTarget(this.validDropTargets[0]);
|
|
453
445
|
// Find valid drop items within collections
|
|
454
|
-
let types = $
|
|
446
|
+
let types = $29c8537521cf08fe$export$e1d41611756c6326(this.dragTarget.items);
|
|
455
447
|
let validDropItems = [
|
|
456
|
-
...$
|
|
448
|
+
...$7b1813d52b80b911$var$dropItems.values()
|
|
457
449
|
].filter((item)=>{
|
|
458
450
|
if (typeof item.getDropOperation === 'function') return item.getDropOperation(types, this.dragTarget.allowedDropOperations) !== 'cancel';
|
|
459
451
|
return true;
|
|
@@ -463,7 +455,7 @@ class $d69e2bc1de15721f$var$DragSession {
|
|
|
463
455
|
let visibleDropTargets = this.validDropTargets.filter((target)=>!validDropItems.some((item)=>target.element.contains(item.element)
|
|
464
456
|
)
|
|
465
457
|
);
|
|
466
|
-
this.restoreAriaHidden = $
|
|
458
|
+
this.restoreAriaHidden = $67uu7$reactariaoverlays.ariaHideOutside([
|
|
467
459
|
this.dragTarget.element,
|
|
468
460
|
...validDropItems.map((item)=>item.element
|
|
469
461
|
),
|
|
@@ -536,12 +528,12 @@ class $d69e2bc1de15721f$var$DragSession {
|
|
|
536
528
|
y: rect.top + rect.height / 2
|
|
537
529
|
}, this.dragTarget);
|
|
538
530
|
}
|
|
539
|
-
if (!item) dropTarget
|
|
531
|
+
if (!item) dropTarget === null || dropTarget === void 0 ? void 0 : dropTarget.element.focus();
|
|
540
532
|
}
|
|
541
533
|
}
|
|
542
534
|
if (item !== this.currentDropItem) {
|
|
543
|
-
if (item && typeof this.currentDropTarget.onDropTargetEnter === 'function') this.currentDropTarget.onDropTargetEnter(item
|
|
544
|
-
item
|
|
535
|
+
if (item && typeof this.currentDropTarget.onDropTargetEnter === 'function') this.currentDropTarget.onDropTargetEnter(item === null || item === void 0 ? void 0 : item.target);
|
|
536
|
+
item === null || item === void 0 ? void 0 : item.element.focus();
|
|
545
537
|
this.currentDropItem = item;
|
|
546
538
|
}
|
|
547
539
|
}
|
|
@@ -558,23 +550,23 @@ class $d69e2bc1de15721f$var$DragSession {
|
|
|
558
550
|
});
|
|
559
551
|
}
|
|
560
552
|
this.setCurrentDropTarget(null);
|
|
561
|
-
$
|
|
553
|
+
$7b1813d52b80b911$var$endDragging();
|
|
562
554
|
}
|
|
563
555
|
cancel() {
|
|
564
556
|
this.end();
|
|
565
557
|
if (!this.dragTarget.element.closest('[aria-hidden="true"]')) this.dragTarget.element.focus();
|
|
566
|
-
$
|
|
558
|
+
$67uu7$reactarialiveannouncer.announce(this.formatMessage('dropCanceled'));
|
|
567
559
|
}
|
|
568
560
|
drop(item1) {
|
|
569
561
|
if (!this.currentDropTarget) {
|
|
570
562
|
this.cancel();
|
|
571
563
|
return;
|
|
572
564
|
}
|
|
573
|
-
if (typeof item1
|
|
574
|
-
let types = $
|
|
565
|
+
if (typeof (item1 === null || item1 === void 0 ? void 0 : item1.getDropOperation) === 'function') {
|
|
566
|
+
let types = $29c8537521cf08fe$export$e1d41611756c6326(this.dragTarget.items);
|
|
575
567
|
this.dropOperation = item1.getDropOperation(types, this.dragTarget.allowedDropOperations);
|
|
576
568
|
} else if (typeof this.currentDropTarget.getDropOperation === 'function') {
|
|
577
|
-
let types = $
|
|
569
|
+
let types = $29c8537521cf08fe$export$e1d41611756c6326(this.dragTarget.items);
|
|
578
570
|
this.dropOperation = this.currentDropTarget.getDropOperation(types, this.dragTarget.allowedDropOperations);
|
|
579
571
|
} else // TODO: show menu ??
|
|
580
572
|
this.dropOperation = this.dragTarget.allowedDropOperations[0];
|
|
@@ -592,10 +584,10 @@ class $d69e2bc1de15721f$var$DragSession {
|
|
|
592
584
|
y: rect.top + rect.height / 2,
|
|
593
585
|
items: items,
|
|
594
586
|
dropOperation: this.dropOperation
|
|
595
|
-
}, item1
|
|
587
|
+
}, item1 === null || item1 === void 0 ? void 0 : item1.target);
|
|
596
588
|
}
|
|
597
589
|
this.end();
|
|
598
|
-
$
|
|
590
|
+
$67uu7$reactarialiveannouncer.announce(this.formatMessage('dropComplete'));
|
|
599
591
|
}
|
|
600
592
|
activate() {
|
|
601
593
|
if (this.currentDropTarget && typeof this.currentDropTarget.onDropActivate === 'function') {
|
|
@@ -607,11 +599,20 @@ class $d69e2bc1de15721f$var$DragSession {
|
|
|
607
599
|
});
|
|
608
600
|
}
|
|
609
601
|
}
|
|
602
|
+
constructor(target, formatMessage){
|
|
603
|
+
this.dragTarget = target;
|
|
604
|
+
this.formatMessage = formatMessage;
|
|
605
|
+
this.onKeyDown = this.onKeyDown.bind(this);
|
|
606
|
+
this.onFocus = this.onFocus.bind(this);
|
|
607
|
+
this.onBlur = this.onBlur.bind(this);
|
|
608
|
+
this.onClick = this.onClick.bind(this);
|
|
609
|
+
this.cancelEvent = this.cancelEvent.bind(this);
|
|
610
|
+
}
|
|
610
611
|
}
|
|
611
|
-
function $
|
|
612
|
-
let types = $
|
|
612
|
+
function $7b1813d52b80b911$var$findValidDropTargets(options) {
|
|
613
|
+
let types = $29c8537521cf08fe$export$e1d41611756c6326(options.items);
|
|
613
614
|
return [
|
|
614
|
-
...$
|
|
615
|
+
...$7b1813d52b80b911$var$dropTargets.values()
|
|
615
616
|
].filter((target)=>{
|
|
616
617
|
if (target.element.closest('[aria-hidden="true"]')) return false;
|
|
617
618
|
if (typeof target.getDropOperation === 'function') return target.getDropOperation(types, options.allowedDropOperations) !== 'cancel';
|
|
@@ -621,178 +622,178 @@ function $d69e2bc1de15721f$var$findValidDropTargets(options) {
|
|
|
621
622
|
|
|
622
623
|
|
|
623
624
|
|
|
624
|
-
var $
|
|
625
|
-
var $
|
|
626
|
-
$
|
|
625
|
+
var $6dae25bfb54cafe2$exports = {};
|
|
626
|
+
var $6a4207e9446e3fd6$exports = {};
|
|
627
|
+
$6a4207e9446e3fd6$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
628
|
|
|
628
629
|
|
|
629
|
-
var $
|
|
630
|
-
$
|
|
630
|
+
var $b35a262c6a180bbf$exports = {};
|
|
631
|
+
$b35a262c6a180bbf$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
632
|
|
|
632
633
|
|
|
633
|
-
var $
|
|
634
|
-
$
|
|
634
|
+
var $2295dfb4d9d6e70f$exports = {};
|
|
635
|
+
$2295dfb4d9d6e70f$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
636
|
|
|
636
637
|
|
|
637
|
-
var $
|
|
638
|
-
$
|
|
638
|
+
var $fe12c948c93e9e7c$exports = {};
|
|
639
|
+
$fe12c948c93e9e7c$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
640
|
|
|
640
641
|
|
|
641
|
-
var $
|
|
642
|
-
$
|
|
642
|
+
var $bd463c5fd759bcd3$exports = {};
|
|
643
|
+
$bd463c5fd759bcd3$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
644
|
|
|
644
645
|
|
|
645
|
-
var $
|
|
646
|
-
$
|
|
646
|
+
var $c53fec58c9b57aed$exports = {};
|
|
647
|
+
$c53fec58c9b57aed$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
648
|
|
|
648
649
|
|
|
649
|
-
var $
|
|
650
|
-
$
|
|
650
|
+
var $5203da54239cc53b$exports = {};
|
|
651
|
+
$5203da54239cc53b$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
652
|
|
|
652
653
|
|
|
653
|
-
var $
|
|
654
|
-
$
|
|
654
|
+
var $f8a76c76a7827fc9$exports = {};
|
|
655
|
+
$f8a76c76a7827fc9$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
656
|
|
|
656
657
|
|
|
657
|
-
var $
|
|
658
|
-
$
|
|
658
|
+
var $18a37c0580c6872d$exports = {};
|
|
659
|
+
$18a37c0580c6872d$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
660
|
|
|
660
661
|
|
|
661
|
-
var $
|
|
662
|
-
$
|
|
662
|
+
var $c83ae802bb286dd5$exports = {};
|
|
663
|
+
$c83ae802bb286dd5$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
664
|
|
|
664
665
|
|
|
665
|
-
var $
|
|
666
|
-
$
|
|
666
|
+
var $4f6107d6a00a2dc5$exports = {};
|
|
667
|
+
$4f6107d6a00a2dc5$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
668
|
|
|
668
669
|
|
|
669
|
-
var $
|
|
670
|
-
$
|
|
670
|
+
var $f8a8643ec8fb63f3$exports = {};
|
|
671
|
+
$f8a8643ec8fb63f3$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
672
|
|
|
672
673
|
|
|
673
|
-
var $
|
|
674
|
-
$
|
|
674
|
+
var $d625f0563955824c$exports = {};
|
|
675
|
+
$d625f0563955824c$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
676
|
|
|
676
677
|
|
|
677
|
-
var $
|
|
678
|
-
$
|
|
678
|
+
var $24553ce5446e49c4$exports = {};
|
|
679
|
+
$24553ce5446e49c4$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
680
|
|
|
680
681
|
|
|
681
|
-
var $
|
|
682
|
-
$
|
|
682
|
+
var $950ffefaa2ec3f25$exports = {};
|
|
683
|
+
$950ffefaa2ec3f25$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
684
|
|
|
684
685
|
|
|
685
|
-
var $
|
|
686
|
-
$
|
|
686
|
+
var $3da23275963b1c01$exports = {};
|
|
687
|
+
$3da23275963b1c01$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
688
|
|
|
688
689
|
|
|
689
|
-
var $
|
|
690
|
-
$
|
|
690
|
+
var $207c86ace90f7cb9$exports = {};
|
|
691
|
+
$207c86ace90f7cb9$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
692
|
|
|
692
693
|
|
|
693
|
-
var $
|
|
694
|
-
$
|
|
694
|
+
var $78c91fe39f28d801$exports = {};
|
|
695
|
+
$78c91fe39f28d801$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
696
|
|
|
696
697
|
|
|
697
|
-
var $
|
|
698
|
-
$
|
|
698
|
+
var $10dc7abacb309b1d$exports = {};
|
|
699
|
+
$10dc7abacb309b1d$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
700
|
|
|
700
701
|
|
|
701
|
-
var $
|
|
702
|
-
$
|
|
702
|
+
var $378f79a263916098$exports = {};
|
|
703
|
+
$378f79a263916098$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
704
|
|
|
704
705
|
|
|
705
|
-
var $
|
|
706
|
-
$
|
|
706
|
+
var $bb7919a8dd63447a$exports = {};
|
|
707
|
+
$bb7919a8dd63447a$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
708
|
|
|
708
709
|
|
|
709
|
-
var $
|
|
710
|
-
$
|
|
710
|
+
var $0dab7c4b200438bb$exports = {};
|
|
711
|
+
$0dab7c4b200438bb$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
712
|
|
|
712
713
|
|
|
713
|
-
var $
|
|
714
|
-
$
|
|
714
|
+
var $320b1b8402761dd9$exports = {};
|
|
715
|
+
$320b1b8402761dd9$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
716
|
|
|
716
717
|
|
|
717
|
-
var $
|
|
718
|
-
$
|
|
718
|
+
var $076b31123975b967$exports = {};
|
|
719
|
+
$076b31123975b967$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
720
|
|
|
720
721
|
|
|
721
|
-
var $
|
|
722
|
-
$
|
|
722
|
+
var $0e9ee9f78d3f0cd2$exports = {};
|
|
723
|
+
$0e9ee9f78d3f0cd2$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
724
|
|
|
724
725
|
|
|
725
|
-
var $
|
|
726
|
-
$
|
|
726
|
+
var $75565d05f47f6ccc$exports = {};
|
|
727
|
+
$75565d05f47f6ccc$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
728
|
|
|
728
729
|
|
|
729
|
-
var $
|
|
730
|
-
$
|
|
730
|
+
var $33e7643e065740e4$exports = {};
|
|
731
|
+
$33e7643e065740e4$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
732
|
|
|
732
733
|
|
|
733
|
-
var $
|
|
734
|
-
$
|
|
734
|
+
var $f7ca62df85ef8473$exports = {};
|
|
735
|
+
$f7ca62df85ef8473$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
736
|
|
|
736
737
|
|
|
737
|
-
var $
|
|
738
|
-
$
|
|
738
|
+
var $37058f74c9a3a05d$exports = {};
|
|
739
|
+
$37058f74c9a3a05d$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
740
|
|
|
740
741
|
|
|
741
|
-
var $
|
|
742
|
-
$
|
|
742
|
+
var $8086e3e54a0bdab1$exports = {};
|
|
743
|
+
$8086e3e54a0bdab1$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
744
|
|
|
744
745
|
|
|
745
|
-
var $
|
|
746
|
-
$
|
|
746
|
+
var $de3f67d6daadf686$exports = {};
|
|
747
|
+
$de3f67d6daadf686$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
748
|
|
|
748
749
|
|
|
749
|
-
var $
|
|
750
|
-
$
|
|
750
|
+
var $f971ade05c1512b7$exports = {};
|
|
751
|
+
$f971ade05c1512b7$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
752
|
|
|
752
753
|
|
|
753
|
-
var $
|
|
754
|
-
$
|
|
754
|
+
var $4f616c645f352135$exports = {};
|
|
755
|
+
$4f616c645f352135$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
756
|
|
|
756
757
|
|
|
757
|
-
var $
|
|
758
|
-
$
|
|
758
|
+
var $731d0feea052bdfb$exports = {};
|
|
759
|
+
$731d0feea052bdfb$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
760
|
|
|
760
761
|
|
|
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": $
|
|
762
|
+
$6dae25bfb54cafe2$exports = {
|
|
763
|
+
"ar-AE": $6a4207e9446e3fd6$exports,
|
|
764
|
+
"bg-BG": $b35a262c6a180bbf$exports,
|
|
765
|
+
"cs-CZ": $2295dfb4d9d6e70f$exports,
|
|
766
|
+
"da-DK": $fe12c948c93e9e7c$exports,
|
|
767
|
+
"de-DE": $bd463c5fd759bcd3$exports,
|
|
768
|
+
"el-GR": $c53fec58c9b57aed$exports,
|
|
769
|
+
"en-US": $5203da54239cc53b$exports,
|
|
770
|
+
"es-ES": $f8a76c76a7827fc9$exports,
|
|
771
|
+
"et-EE": $18a37c0580c6872d$exports,
|
|
772
|
+
"fi-FI": $c83ae802bb286dd5$exports,
|
|
773
|
+
"fr-FR": $4f6107d6a00a2dc5$exports,
|
|
774
|
+
"he-IL": $f8a8643ec8fb63f3$exports,
|
|
775
|
+
"hr-HR": $d625f0563955824c$exports,
|
|
776
|
+
"hu-HU": $24553ce5446e49c4$exports,
|
|
777
|
+
"it-IT": $950ffefaa2ec3f25$exports,
|
|
778
|
+
"ja-JP": $3da23275963b1c01$exports,
|
|
779
|
+
"ko-KR": $207c86ace90f7cb9$exports,
|
|
780
|
+
"lt-LT": $78c91fe39f28d801$exports,
|
|
781
|
+
"lv-LV": $10dc7abacb309b1d$exports,
|
|
782
|
+
"nb-NO": $378f79a263916098$exports,
|
|
783
|
+
"nl-NL": $bb7919a8dd63447a$exports,
|
|
784
|
+
"pl-PL": $0dab7c4b200438bb$exports,
|
|
785
|
+
"pt-BR": $320b1b8402761dd9$exports,
|
|
786
|
+
"pt-PT": $076b31123975b967$exports,
|
|
787
|
+
"ro-RO": $0e9ee9f78d3f0cd2$exports,
|
|
788
|
+
"ru-RU": $75565d05f47f6ccc$exports,
|
|
789
|
+
"sk-SK": $33e7643e065740e4$exports,
|
|
790
|
+
"sl-SI": $f7ca62df85ef8473$exports,
|
|
791
|
+
"sr-SP": $37058f74c9a3a05d$exports,
|
|
792
|
+
"sv-SE": $8086e3e54a0bdab1$exports,
|
|
793
|
+
"tr-TR": $de3f67d6daadf686$exports,
|
|
794
|
+
"uk-UA": $f971ade05c1512b7$exports,
|
|
795
|
+
"zh-CN": $4f616c645f352135$exports,
|
|
796
|
+
"zh-TW": $731d0feea052bdfb$exports
|
|
796
797
|
};
|
|
797
798
|
|
|
798
799
|
|
|
@@ -801,7 +802,7 @@ $a0e2171154b8c4fe$exports = {
|
|
|
801
802
|
|
|
802
803
|
|
|
803
804
|
|
|
804
|
-
const $
|
|
805
|
+
const $e2630e07d35639b3$var$MESSAGES = {
|
|
805
806
|
keyboard: {
|
|
806
807
|
start: 'dragDescriptionKeyboard',
|
|
807
808
|
end: 'endDragKeyboard'
|
|
@@ -815,23 +816,23 @@ const $d067e40b40cb0a24$var$MESSAGES = {
|
|
|
815
816
|
end: 'endDragVirtual'
|
|
816
817
|
}
|
|
817
818
|
};
|
|
818
|
-
function $
|
|
819
|
-
let formatMessage = $
|
|
820
|
-
let state = $
|
|
819
|
+
function $e2630e07d35639b3$export$7941f8aafa4b6021(options) {
|
|
820
|
+
let formatMessage = $67uu7$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($6dae25bfb54cafe2$exports)));
|
|
821
|
+
let state = $67uu7$react.useRef({
|
|
821
822
|
options: options,
|
|
822
823
|
x: 0,
|
|
823
824
|
y: 0
|
|
824
825
|
}).current;
|
|
825
826
|
state.options = options;
|
|
826
|
-
let [isDragging, setDragging] = $
|
|
827
|
+
let [isDragging, setDragging] = $67uu7$react.useState(false);
|
|
827
828
|
let onDragStart = (e)=>{
|
|
828
829
|
let items = options.getItems();
|
|
829
|
-
$
|
|
830
|
+
$29c8537521cf08fe$export$f9c1490890ddd063(e.dataTransfer, items);
|
|
830
831
|
if (typeof options.getAllowedDropOperations === 'function') {
|
|
831
832
|
let allowedOperations = options.getAllowedDropOperations();
|
|
832
|
-
let allowed = $
|
|
833
|
-
for (let operation of allowedOperations)allowed |= $
|
|
834
|
-
e.dataTransfer.effectAllowed = $
|
|
833
|
+
let allowed = $d7547fb11526b355$export$60b7b4bcf3903d8e.none;
|
|
834
|
+
for (let operation of allowedOperations)allowed |= $d7547fb11526b355$export$60b7b4bcf3903d8e[operation] || $d7547fb11526b355$export$60b7b4bcf3903d8e.none;
|
|
835
|
+
e.dataTransfer.effectAllowed = $d7547fb11526b355$export$dd0165308d8bff45[allowed] || 'none';
|
|
835
836
|
}
|
|
836
837
|
// If there is a renderPreview function, use it to render a custom preview image that will
|
|
837
838
|
// appear under the pointer while dragging. If not, the element itself is dragged by the browser.
|
|
@@ -846,7 +847,7 @@ function $d067e40b40cb0a24$export$7941f8aafa4b6021(options) {
|
|
|
846
847
|
node.style.left = '-100000px';
|
|
847
848
|
document.body.appendChild(node);
|
|
848
849
|
// Call renderPreview to get a JSX element, and render it into the div with React DOM.
|
|
849
|
-
($parcel$interopDefault($
|
|
850
|
+
($parcel$interopDefault($67uu7$reactdom)).render(preview, node);
|
|
850
851
|
// Compute the offset that the preview will appear under the mouse.
|
|
851
852
|
// If possible, this is based on the point the user clicked on the target.
|
|
852
853
|
// If the preview is much smaller, then just use the center point of the preview.
|
|
@@ -893,7 +894,7 @@ function $d067e40b40cb0a24$export$7941f8aafa4b6021(options) {
|
|
|
893
894
|
type: 'dragend',
|
|
894
895
|
x: e.clientX,
|
|
895
896
|
y: e.clientY,
|
|
896
|
-
dropOperation: $
|
|
897
|
+
dropOperation: $d7547fb11526b355$export$608ecc6f1b23c35d[e.dataTransfer.dropEffect]
|
|
897
898
|
});
|
|
898
899
|
setDragging(false);
|
|
899
900
|
};
|
|
@@ -907,7 +908,7 @@ function $d067e40b40cb0a24$export$7941f8aafa4b6021(options) {
|
|
|
907
908
|
y: rect.y + rect.height / 2
|
|
908
909
|
});
|
|
909
910
|
}
|
|
910
|
-
$
|
|
911
|
+
$7b1813d52b80b911$export$549dbcf8649bf3b2({
|
|
911
912
|
element: e1.target,
|
|
912
913
|
items: state.options.getItems(),
|
|
913
914
|
allowedDropOperations: typeof state.options.getAllowedDropOperations === 'function' ? state.options.getAllowedDropOperations() : [
|
|
@@ -922,8 +923,8 @@ function $d067e40b40cb0a24$export$7941f8aafa4b6021(options) {
|
|
|
922
923
|
}, formatMessage);
|
|
923
924
|
setDragging(true);
|
|
924
925
|
};
|
|
925
|
-
let modality = $
|
|
926
|
-
let descriptionProps = $
|
|
926
|
+
let modality = $29c8537521cf08fe$export$49bac5d6d4b352ea();
|
|
927
|
+
let descriptionProps = $67uu7$reactariautils.useDescription(formatMessage(!isDragging ? $e2630e07d35639b3$var$MESSAGES[modality].start : $e2630e07d35639b3$var$MESSAGES[modality].end));
|
|
927
928
|
return {
|
|
928
929
|
dragProps: {
|
|
929
930
|
draggable: 'true',
|
|
@@ -940,9 +941,9 @@ function $d067e40b40cb0a24$export$7941f8aafa4b6021(options) {
|
|
|
940
941
|
}
|
|
941
942
|
|
|
942
943
|
|
|
943
|
-
var $
|
|
944
|
+
var $8946a7288b8c2406$exports = {};
|
|
944
945
|
|
|
945
|
-
$parcel$export($
|
|
946
|
+
$parcel$export($8946a7288b8c2406$exports, "useDrop", () => $8946a7288b8c2406$export$ccdee5eaf73cf661);
|
|
946
947
|
|
|
947
948
|
|
|
948
949
|
|
|
@@ -953,16 +954,16 @@ $parcel$export($444fab3ca6c3b038$exports, "useDrop", () => $444fab3ca6c3b038$exp
|
|
|
953
954
|
|
|
954
955
|
|
|
955
956
|
|
|
956
|
-
const $
|
|
957
|
+
const $06a19d9f22d42d75$var$MESSAGES = {
|
|
957
958
|
keyboard: 'dropDescriptionKeyboard',
|
|
958
959
|
touch: 'dropDescriptionTouch',
|
|
959
960
|
virtual: 'dropDescriptionVirtual'
|
|
960
961
|
};
|
|
961
|
-
function $
|
|
962
|
-
let formatMessage = $
|
|
963
|
-
let modality = $
|
|
964
|
-
let dragSession = $
|
|
965
|
-
let descriptionProps = $
|
|
962
|
+
function $06a19d9f22d42d75$export$62447ad3d2ec7da6() {
|
|
963
|
+
let formatMessage = $67uu7$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($6dae25bfb54cafe2$exports)));
|
|
964
|
+
let modality = $29c8537521cf08fe$export$49bac5d6d4b352ea();
|
|
965
|
+
let dragSession = $7b1813d52b80b911$export$418e185dd3f1b968();
|
|
966
|
+
let descriptionProps = $67uu7$reactariautils.useDescription(dragSession ? formatMessage($06a19d9f22d42d75$var$MESSAGES[modality]) : '');
|
|
966
967
|
return {
|
|
967
968
|
dropProps: {
|
|
968
969
|
...descriptionProps,
|
|
@@ -978,10 +979,10 @@ function $116cc020faed051c$export$62447ad3d2ec7da6() {
|
|
|
978
979
|
}
|
|
979
980
|
|
|
980
981
|
|
|
981
|
-
const $
|
|
982
|
-
function $
|
|
983
|
-
let [isDropTarget, setDropTarget] = $
|
|
984
|
-
let state = $
|
|
982
|
+
const $8946a7288b8c2406$var$DROP_ACTIVATE_TIMEOUT = 800;
|
|
983
|
+
function $8946a7288b8c2406$export$ccdee5eaf73cf661(options) {
|
|
984
|
+
let [isDropTarget, setDropTarget] = $67uu7$react.useState(false);
|
|
985
|
+
let state = $67uu7$react.useRef({
|
|
985
986
|
x: 0,
|
|
986
987
|
y: 0,
|
|
987
988
|
dragEnterCount: 0,
|
|
@@ -998,11 +999,11 @@ function $444fab3ca6c3b038$export$ccdee5eaf73cf661(options) {
|
|
|
998
999
|
state.x = e.clientX;
|
|
999
1000
|
state.y = e.clientY;
|
|
1000
1001
|
if (typeof options.getDropOperationForPoint === 'function') {
|
|
1001
|
-
let allowedOperations = $
|
|
1002
|
-
let types = new $
|
|
1002
|
+
let allowedOperations = $8946a7288b8c2406$var$effectAllowedToOperations(e.dataTransfer.effectAllowed);
|
|
1003
|
+
let types = new $29c8537521cf08fe$export$7f04ce188c91447c(e.dataTransfer);
|
|
1003
1004
|
let rect = e.currentTarget.getBoundingClientRect();
|
|
1004
1005
|
let dropOperation = options.getDropOperationForPoint(types, allowedOperations, state.x - rect.x, state.y - rect.y);
|
|
1005
|
-
state.dropEffect = $
|
|
1006
|
+
state.dropEffect = $d7547fb11526b355$export$5eacb0769d26d3b2[dropOperation] || 'none';
|
|
1006
1007
|
}
|
|
1007
1008
|
e.dataTransfer.dropEffect = state.dropEffect;
|
|
1008
1009
|
if (typeof options.onDropMove === 'function') {
|
|
@@ -1022,26 +1023,26 @@ function $444fab3ca6c3b038$export$ccdee5eaf73cf661(options) {
|
|
|
1022
1023
|
x: state.x - rect.x,
|
|
1023
1024
|
y: state.y - rect.y
|
|
1024
1025
|
});
|
|
1025
|
-
}, $
|
|
1026
|
+
}, $8946a7288b8c2406$var$DROP_ACTIVATE_TIMEOUT);
|
|
1026
1027
|
}
|
|
1027
1028
|
};
|
|
1028
1029
|
let onDragEnter = (e)=>{
|
|
1029
1030
|
e.stopPropagation();
|
|
1030
1031
|
state.dragEnterCount++;
|
|
1031
1032
|
if (state.dragEnterCount > 1) return;
|
|
1032
|
-
let allowedOperations = $
|
|
1033
|
+
let allowedOperations = $8946a7288b8c2406$var$effectAllowedToOperations(e.dataTransfer.effectAllowed);
|
|
1033
1034
|
let dropOperation = allowedOperations[0];
|
|
1034
1035
|
if (typeof options.getDropOperation === 'function') {
|
|
1035
|
-
let types = new $
|
|
1036
|
+
let types = new $29c8537521cf08fe$export$7f04ce188c91447c(e.dataTransfer);
|
|
1036
1037
|
dropOperation = options.getDropOperation(types, allowedOperations);
|
|
1037
1038
|
}
|
|
1038
1039
|
if (dropOperation !== 'cancel') setDropTarget(true);
|
|
1039
1040
|
if (typeof options.getDropOperationForPoint === 'function') {
|
|
1040
|
-
let types = new $
|
|
1041
|
+
let types = new $29c8537521cf08fe$export$7f04ce188c91447c(e.dataTransfer);
|
|
1041
1042
|
let rect = e.currentTarget.getBoundingClientRect();
|
|
1042
1043
|
dropOperation = options.getDropOperationForPoint(types, allowedOperations, e.clientX - rect.x, e.clientY - rect.y);
|
|
1043
1044
|
}
|
|
1044
|
-
state.dropEffect = $
|
|
1045
|
+
state.dropEffect = $d7547fb11526b355$export$5eacb0769d26d3b2[dropOperation] || 'none';
|
|
1045
1046
|
e.dataTransfer.dropEffect = state.dropEffect;
|
|
1046
1047
|
if (typeof options.onDropEnter === 'function' && dropOperation !== 'cancel') {
|
|
1047
1048
|
let rect = e.currentTarget.getBoundingClientRect();
|
|
@@ -1073,8 +1074,8 @@ function $444fab3ca6c3b038$export$ccdee5eaf73cf661(options) {
|
|
|
1073
1074
|
e.preventDefault();
|
|
1074
1075
|
e.stopPropagation();
|
|
1075
1076
|
if (typeof options.onDrop === 'function') {
|
|
1076
|
-
let dropOperation = $
|
|
1077
|
-
let items = $
|
|
1077
|
+
let dropOperation = $d7547fb11526b355$export$608ecc6f1b23c35d[state.dropEffect];
|
|
1078
|
+
let items = $29c8537521cf08fe$export$d9e760437831f8b3(e.dataTransfer);
|
|
1078
1079
|
let rect = e.currentTarget.getBoundingClientRect();
|
|
1079
1080
|
let event = {
|
|
1080
1081
|
type: 'drop',
|
|
@@ -1103,9 +1104,9 @@ function $444fab3ca6c3b038$export$ccdee5eaf73cf661(options) {
|
|
|
1103
1104
|
setDropTarget(false);
|
|
1104
1105
|
clearTimeout(state.dropActivateTimer);
|
|
1105
1106
|
};
|
|
1106
|
-
let optionsRef = $
|
|
1107
|
+
let optionsRef = $67uu7$react.useRef(options);
|
|
1107
1108
|
optionsRef.current = options;
|
|
1108
|
-
$
|
|
1109
|
+
$67uu7$reactariautils.useLayoutEffect(()=>$7b1813d52b80b911$export$c28d9fb4a54e471a({
|
|
1109
1110
|
element: optionsRef.current.ref.current,
|
|
1110
1111
|
getDropOperation: optionsRef.current.getDropOperation,
|
|
1111
1112
|
onDropEnter (e) {
|
|
@@ -1126,7 +1127,7 @@ function $444fab3ca6c3b038$export$ccdee5eaf73cf661(options) {
|
|
|
1126
1127
|
, [
|
|
1127
1128
|
optionsRef
|
|
1128
1129
|
]);
|
|
1129
|
-
let { dropProps: dropProps } = $
|
|
1130
|
+
let { dropProps: dropProps } = $06a19d9f22d42d75$export$62447ad3d2ec7da6();
|
|
1130
1131
|
return {
|
|
1131
1132
|
dropProps: {
|
|
1132
1133
|
...dropProps,
|
|
@@ -1138,19 +1139,19 @@ function $444fab3ca6c3b038$export$ccdee5eaf73cf661(options) {
|
|
|
1138
1139
|
isDropTarget: isDropTarget
|
|
1139
1140
|
};
|
|
1140
1141
|
}
|
|
1141
|
-
function $
|
|
1142
|
-
let allowedOperationsBits = $
|
|
1142
|
+
function $8946a7288b8c2406$var$effectAllowedToOperations(effectAllowed) {
|
|
1143
|
+
let allowedOperationsBits = $d7547fb11526b355$export$9bbdfc78cf083e16[effectAllowed];
|
|
1143
1144
|
let allowedOperations = [];
|
|
1144
|
-
if (allowedOperationsBits & $
|
|
1145
|
-
if (allowedOperationsBits & $
|
|
1146
|
-
if (allowedOperationsBits & $
|
|
1145
|
+
if (allowedOperationsBits & $d7547fb11526b355$export$60b7b4bcf3903d8e.move) allowedOperations.push('move');
|
|
1146
|
+
if (allowedOperationsBits & $d7547fb11526b355$export$60b7b4bcf3903d8e.copy) allowedOperations.push('copy');
|
|
1147
|
+
if (allowedOperationsBits & $d7547fb11526b355$export$60b7b4bcf3903d8e.link) allowedOperations.push('link');
|
|
1147
1148
|
return allowedOperations;
|
|
1148
1149
|
}
|
|
1149
1150
|
|
|
1150
1151
|
|
|
1151
|
-
var $
|
|
1152
|
+
var $783cde594bac15e2$exports = {};
|
|
1152
1153
|
|
|
1153
|
-
$parcel$export($
|
|
1154
|
+
$parcel$export($783cde594bac15e2$exports, "useDroppableCollection", () => $783cde594bac15e2$export$f4e2f423c21f7b04);
|
|
1154
1155
|
|
|
1155
1156
|
|
|
1156
1157
|
|
|
@@ -1158,20 +1159,20 @@ $parcel$export($f56fb52b53faaf3d$exports, "useDroppableCollection", () => $f56fb
|
|
|
1158
1159
|
|
|
1159
1160
|
|
|
1160
1161
|
|
|
1161
|
-
const $
|
|
1162
|
-
function $
|
|
1163
|
-
let scrollableRef = $
|
|
1164
|
-
$
|
|
1165
|
-
if (ref.current) scrollableRef.current = $
|
|
1162
|
+
const $e7eb5ef06b31c864$var$AUTOSCROLL_AREA_SIZE = 20;
|
|
1163
|
+
function $e7eb5ef06b31c864$export$6323452ca4533ed8(ref) {
|
|
1164
|
+
let scrollableRef = $67uu7$react.useRef(null);
|
|
1165
|
+
$67uu7$react.useEffect(()=>{
|
|
1166
|
+
if (ref.current) scrollableRef.current = $67uu7$reactariautils.getScrollParent(ref.current);
|
|
1166
1167
|
}, [
|
|
1167
1168
|
ref
|
|
1168
1169
|
]);
|
|
1169
|
-
let state = $
|
|
1170
|
+
let state = $67uu7$react.useRef({
|
|
1170
1171
|
timer: null,
|
|
1171
1172
|
dx: 0,
|
|
1172
1173
|
dy: 0
|
|
1173
1174
|
}).current;
|
|
1174
|
-
let scroll = $
|
|
1175
|
+
let scroll = $67uu7$react.useCallback(()=>{
|
|
1175
1176
|
scrollableRef.current.scrollLeft += state.dx;
|
|
1176
1177
|
scrollableRef.current.scrollTop += state.dy;
|
|
1177
1178
|
if (state.timer) state.timer = requestAnimationFrame(scroll);
|
|
@@ -1183,12 +1184,12 @@ function $0337847923f488b7$export$6323452ca4533ed8(ref) {
|
|
|
1183
1184
|
move (x, y) {
|
|
1184
1185
|
// Most browsers auto scroll natively, but WebKit on macOS does not (iOS does 🤷♂️).
|
|
1185
1186
|
// https://bugs.webkit.org/show_bug.cgi?id=222636
|
|
1186
|
-
if (!$
|
|
1187
|
+
if (!$67uu7$reactariautils.isWebKit() || $67uu7$reactariautils.isIOS() || !scrollableRef.current) return;
|
|
1187
1188
|
let box = scrollableRef.current.getBoundingClientRect();
|
|
1188
|
-
let left = $
|
|
1189
|
-
let top = $
|
|
1190
|
-
let bottom = box.height - $
|
|
1191
|
-
let right = box.width - $
|
|
1189
|
+
let left = $e7eb5ef06b31c864$var$AUTOSCROLL_AREA_SIZE;
|
|
1190
|
+
let top = $e7eb5ef06b31c864$var$AUTOSCROLL_AREA_SIZE;
|
|
1191
|
+
let bottom = box.height - $e7eb5ef06b31c864$var$AUTOSCROLL_AREA_SIZE;
|
|
1192
|
+
let right = box.width - $e7eb5ef06b31c864$var$AUTOSCROLL_AREA_SIZE;
|
|
1192
1193
|
if (x < left || x > right || y < top || y > bottom) {
|
|
1193
1194
|
if (x < left) state.dx = x - left;
|
|
1194
1195
|
else if (x > right) state.dx = x - right;
|
|
@@ -1209,13 +1210,13 @@ function $0337847923f488b7$export$6323452ca4533ed8(ref) {
|
|
|
1209
1210
|
|
|
1210
1211
|
|
|
1211
1212
|
|
|
1212
|
-
const $
|
|
1213
|
+
const $783cde594bac15e2$var$DROP_POSITIONS = [
|
|
1213
1214
|
'before',
|
|
1214
1215
|
'on',
|
|
1215
1216
|
'after'
|
|
1216
1217
|
];
|
|
1217
|
-
function $
|
|
1218
|
-
let localState = $
|
|
1218
|
+
function $783cde594bac15e2$export$f4e2f423c21f7b04(props, state1, ref2) {
|
|
1219
|
+
let localState = $67uu7$react.useRef({
|
|
1219
1220
|
props: props,
|
|
1220
1221
|
state: state1,
|
|
1221
1222
|
nextTarget: null,
|
|
@@ -1223,9 +1224,9 @@ function $f56fb52b53faaf3d$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1223
1224
|
}).current;
|
|
1224
1225
|
localState.props = props;
|
|
1225
1226
|
localState.state = state1;
|
|
1226
|
-
let autoScroll = $
|
|
1227
|
-
let { dropProps: dropProps } = $
|
|
1228
|
-
ref:
|
|
1227
|
+
let autoScroll = $e7eb5ef06b31c864$export$6323452ca4533ed8(ref2);
|
|
1228
|
+
let { dropProps: dropProps } = $8946a7288b8c2406$export$ccdee5eaf73cf661({
|
|
1229
|
+
ref: ref2,
|
|
1229
1230
|
onDropEnter (e) {
|
|
1230
1231
|
let target = props.getDropTargetFromPoint(e.x, e.y);
|
|
1231
1232
|
state1.setTarget(target);
|
|
@@ -1265,7 +1266,8 @@ function $f56fb52b53faaf3d$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1265
1266
|
autoScroll.stop();
|
|
1266
1267
|
},
|
|
1267
1268
|
onDropActivate (e) {
|
|
1268
|
-
|
|
1269
|
+
var ref, ref1;
|
|
1270
|
+
if (((ref = state1.target) === null || ref === void 0 ? void 0 : ref.type) === 'item' && ((ref1 = state1.target) === null || ref1 === void 0 ? void 0 : ref1.dropPosition) === 'on' && typeof props.onDropActivate === 'function') props.onDropActivate({
|
|
1269
1271
|
type: 'dropactivate',
|
|
1270
1272
|
x: e.x,
|
|
1271
1273
|
y: e.y,
|
|
@@ -1276,8 +1278,8 @@ function $f56fb52b53faaf3d$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1276
1278
|
if (state1.target && typeof props.onDrop === 'function') onDrop(e, state1.target);
|
|
1277
1279
|
}
|
|
1278
1280
|
});
|
|
1279
|
-
let droppingState = $
|
|
1280
|
-
let onDrop = $
|
|
1281
|
+
let droppingState = $67uu7$react.useRef(null);
|
|
1282
|
+
let onDrop = $67uu7$react.useCallback((e, target)=>{
|
|
1281
1283
|
let { state: state2 } = localState;
|
|
1282
1284
|
// Focus the collection.
|
|
1283
1285
|
state2.selectionManager.setFocused(true);
|
|
@@ -1310,8 +1312,8 @@ function $f56fb52b53faaf3d$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1310
1312
|
if (target.type === 'item' && target.dropPosition === 'on' && state.collection.getItem(target.key) != null) {
|
|
1311
1313
|
state.selectionManager.setFocusedKey(target.key);
|
|
1312
1314
|
state.selectionManager.setFocused(true);
|
|
1313
|
-
$
|
|
1314
|
-
} else if (!state.selectionManager.isSelected(focusedKey)) $
|
|
1315
|
+
$67uu7$reactariainteractions.setInteractionModality('keyboard');
|
|
1316
|
+
} else if (!state.selectionManager.isSelected(focusedKey)) $67uu7$reactariainteractions.setInteractionModality('keyboard');
|
|
1315
1317
|
}
|
|
1316
1318
|
droppingState.current = null;
|
|
1317
1319
|
}, 50);
|
|
@@ -1319,12 +1321,12 @@ function $f56fb52b53faaf3d$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1319
1321
|
localState
|
|
1320
1322
|
]);
|
|
1321
1323
|
// eslint-disable-next-line arrow-body-style
|
|
1322
|
-
$
|
|
1324
|
+
$67uu7$react.useEffect(()=>{
|
|
1323
1325
|
return ()=>{
|
|
1324
1326
|
if (droppingState.current) clearTimeout(droppingState.current.timeout);
|
|
1325
1327
|
};
|
|
1326
1328
|
}, []);
|
|
1327
|
-
$
|
|
1329
|
+
$67uu7$reactariautils.useLayoutEffect(()=>{
|
|
1328
1330
|
// If an insert occurs during a drop, we want to immediately select these items to give
|
|
1329
1331
|
// feedback to the user that a drop occurred. Only do this if the selection didn't change
|
|
1330
1332
|
// since the drop started so we don't override if the user or application did something.
|
|
@@ -1338,12 +1340,12 @@ function $f56fb52b53faaf3d$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1338
1340
|
if (state1.selectionManager.focusedKey === droppingState.current.focusedKey) {
|
|
1339
1341
|
let first = newKeys.keys().next().value;
|
|
1340
1342
|
state1.selectionManager.setFocusedKey(first);
|
|
1341
|
-
if (state1.selectionManager.selectionMode === 'none') $
|
|
1343
|
+
if (state1.selectionManager.selectionMode === 'none') $67uu7$reactariainteractions.setInteractionModality('keyboard');
|
|
1342
1344
|
}
|
|
1343
1345
|
droppingState.current = null;
|
|
1344
1346
|
}
|
|
1345
1347
|
});
|
|
1346
|
-
$
|
|
1348
|
+
$67uu7$react.useEffect(()=>{
|
|
1347
1349
|
let getNextTarget1 = (target, wrap = true)=>{
|
|
1348
1350
|
if (!target) return {
|
|
1349
1351
|
type: 'root'
|
|
@@ -1352,9 +1354,9 @@ function $f56fb52b53faaf3d$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1352
1354
|
let nextKey = target.type === 'item' ? keyboardDelegate.getKeyBelow(target.key) : keyboardDelegate.getFirstKey();
|
|
1353
1355
|
let dropPosition = 'before';
|
|
1354
1356
|
if (target.type === 'item') {
|
|
1355
|
-
let positionIndex = $
|
|
1356
|
-
let nextDropPosition = $
|
|
1357
|
-
if (positionIndex < $
|
|
1357
|
+
let positionIndex = $783cde594bac15e2$var$DROP_POSITIONS.indexOf(target.dropPosition);
|
|
1358
|
+
let nextDropPosition = $783cde594bac15e2$var$DROP_POSITIONS[positionIndex + 1];
|
|
1359
|
+
if (positionIndex < $783cde594bac15e2$var$DROP_POSITIONS.length - 1 && !(nextDropPosition === 'after' && nextKey != null)) return {
|
|
1358
1360
|
type: 'item',
|
|
1359
1361
|
key: target.key,
|
|
1360
1362
|
dropPosition: nextDropPosition
|
|
@@ -1377,11 +1379,11 @@ function $f56fb52b53faaf3d$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1377
1379
|
};
|
|
1378
1380
|
let getPreviousTarget = (target, wrap = true)=>{
|
|
1379
1381
|
let { keyboardDelegate: keyboardDelegate } = localState.props;
|
|
1380
|
-
let nextKey = target
|
|
1382
|
+
let nextKey = (target === null || target === void 0 ? void 0 : target.type) === 'item' ? keyboardDelegate.getKeyAbove(target.key) : keyboardDelegate.getLastKey();
|
|
1381
1383
|
let dropPosition = !target || target.type === 'root' ? 'after' : 'on';
|
|
1382
|
-
if (target
|
|
1383
|
-
let positionIndex = $
|
|
1384
|
-
let nextDropPosition = $
|
|
1384
|
+
if ((target === null || target === void 0 ? void 0 : target.type) === 'item') {
|
|
1385
|
+
let positionIndex = $783cde594bac15e2$var$DROP_POSITIONS.indexOf(target.dropPosition);
|
|
1386
|
+
let nextDropPosition = $783cde594bac15e2$var$DROP_POSITIONS[positionIndex - 1];
|
|
1385
1387
|
if (positionIndex > 0 && nextDropPosition !== 'after') return {
|
|
1386
1388
|
type: 'item',
|
|
1387
1389
|
key: target.key,
|
|
@@ -1416,8 +1418,8 @@ function $f56fb52b53faaf3d$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1416
1418
|
if (operation === 'cancel') return null;
|
|
1417
1419
|
return target;
|
|
1418
1420
|
};
|
|
1419
|
-
return $
|
|
1420
|
-
element:
|
|
1421
|
+
return $7b1813d52b80b911$export$c28d9fb4a54e471a({
|
|
1422
|
+
element: ref2.current,
|
|
1421
1423
|
getDropOperation (types, allowedOperations) {
|
|
1422
1424
|
if (localState.state.target) return localState.state.getDropOperation(localState.state.target, types, allowedOperations);
|
|
1423
1425
|
// Check if any of the targets accept the drop.
|
|
@@ -1426,7 +1428,7 @@ function $f56fb52b53faaf3d$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1426
1428
|
return target ? 'move' : 'cancel';
|
|
1427
1429
|
},
|
|
1428
1430
|
onDropEnter (e, drag) {
|
|
1429
|
-
let types = $
|
|
1431
|
+
let types = $29c8537521cf08fe$export$e1d41611756c6326(drag.items);
|
|
1430
1432
|
let selectionManager = localState.state.selectionManager;
|
|
1431
1433
|
let target;
|
|
1432
1434
|
// When entering the droppable collection for the first time, the default drop target
|
|
@@ -1436,7 +1438,7 @@ function $f56fb52b53faaf3d$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1436
1438
|
// If the focused key is a cell, get the parent item instead.
|
|
1437
1439
|
// For now, we assume that individual cells cannot be dropped on.
|
|
1438
1440
|
let item = localState.state.collection.getItem(key);
|
|
1439
|
-
if (item
|
|
1441
|
+
if ((item === null || item === void 0 ? void 0 : item.type) === 'cell') key = item.parentKey;
|
|
1440
1442
|
// If the focused item is also selected, the default drop target is after the last selected item.
|
|
1441
1443
|
// But if the focused key is the first selected item, then default to before the first selected item.
|
|
1442
1444
|
// This is to make reordering lists slightly easier. If you select top down, we assume you want to
|
|
@@ -1451,8 +1453,9 @@ function $f56fb52b53faaf3d$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1451
1453
|
key: key,
|
|
1452
1454
|
dropPosition: dropPosition
|
|
1453
1455
|
};
|
|
1456
|
+
var ref;
|
|
1454
1457
|
// If the default target is not valid, find the next one that is.
|
|
1455
|
-
if (localState.state.getDropOperation(target, types, drag.allowedDropOperations) === 'cancel') target = nextValidTarget(target, types, drag.allowedDropOperations, getNextTarget1, false)
|
|
1458
|
+
if (localState.state.getDropOperation(target, types, drag.allowedDropOperations) === 'cancel') target = (ref = nextValidTarget(target, types, drag.allowedDropOperations, getNextTarget1, false)) !== null && ref !== void 0 ? ref : nextValidTarget(target, types, drag.allowedDropOperations, getPreviousTarget, false);
|
|
1456
1459
|
}
|
|
1457
1460
|
// If no focused key, then start from the root.
|
|
1458
1461
|
if (!target) target = nextValidTarget(null, types, drag.allowedDropOperations, getNextTarget1);
|
|
@@ -1465,7 +1468,8 @@ function $f56fb52b53faaf3d$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1465
1468
|
localState.state.setTarget(target);
|
|
1466
1469
|
},
|
|
1467
1470
|
onDropActivate (e) {
|
|
1468
|
-
|
|
1471
|
+
var ref, ref3;
|
|
1472
|
+
if (((ref = localState.state.target) === null || ref === void 0 ? void 0 : ref.type) === 'item' && ((ref3 = localState.state.target) === null || ref3 === void 0 ? void 0 : ref3.dropPosition) === 'on' && typeof localState.props.onDropActivate === 'function') localState.props.onDropActivate({
|
|
1469
1473
|
type: 'dropactivate',
|
|
1470
1474
|
x: e.x,
|
|
1471
1475
|
y: e.y,
|
|
@@ -1477,7 +1481,7 @@ function $f56fb52b53faaf3d$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1477
1481
|
},
|
|
1478
1482
|
onKeyDown (e, drag) {
|
|
1479
1483
|
let { keyboardDelegate: keyboardDelegate } = localState.props;
|
|
1480
|
-
let types = $
|
|
1484
|
+
let types = $29c8537521cf08fe$export$e1d41611756c6326(drag.items);
|
|
1481
1485
|
switch(e.key){
|
|
1482
1486
|
case 'ArrowDown':
|
|
1483
1487
|
if (keyboardDelegate.getKeyBelow) {
|
|
@@ -1524,9 +1528,10 @@ function $f56fb52b53faaf3d$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1524
1528
|
// If the target does not accept the drop, find the next valid target.
|
|
1525
1529
|
// If no next valid target, find the previous valid target.
|
|
1526
1530
|
let operation = localState.state.getDropOperation(target, types, drag.allowedDropOperations);
|
|
1527
|
-
|
|
1531
|
+
var ref;
|
|
1532
|
+
if (operation === 'cancel') target = (ref = nextValidTarget(target, types, drag.allowedDropOperations, getNextTarget1, false)) !== null && ref !== void 0 ? ref : nextValidTarget(target, types, drag.allowedDropOperations, getPreviousTarget, false);
|
|
1528
1533
|
}
|
|
1529
|
-
localState.state.setTarget(target
|
|
1534
|
+
localState.state.setTarget(target !== null && target !== void 0 ? target : localState.state.target);
|
|
1530
1535
|
}
|
|
1531
1536
|
break;
|
|
1532
1537
|
case 'PageUp':
|
|
@@ -1555,9 +1560,10 @@ function $f56fb52b53faaf3d$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1555
1560
|
// If the target does not accept the drop, find the previous valid target.
|
|
1556
1561
|
// If no next valid target, find the next valid target.
|
|
1557
1562
|
let operation = localState.state.getDropOperation(target, types, drag.allowedDropOperations);
|
|
1558
|
-
|
|
1563
|
+
var ref4;
|
|
1564
|
+
if (operation === 'cancel') target = (ref4 = nextValidTarget(target, types, drag.allowedDropOperations, getPreviousTarget, false)) !== null && ref4 !== void 0 ? ref4 : nextValidTarget(target, types, drag.allowedDropOperations, getNextTarget1, false);
|
|
1559
1565
|
}
|
|
1560
|
-
localState.state.setTarget(target
|
|
1566
|
+
localState.state.setTarget(target !== null && target !== void 0 ? target : localState.state.target);
|
|
1561
1567
|
break;
|
|
1562
1568
|
}
|
|
1563
1569
|
}
|
|
@@ -1565,12 +1571,12 @@ function $f56fb52b53faaf3d$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1565
1571
|
});
|
|
1566
1572
|
}, [
|
|
1567
1573
|
localState,
|
|
1568
|
-
|
|
1574
|
+
ref2,
|
|
1569
1575
|
onDrop
|
|
1570
1576
|
]);
|
|
1571
|
-
let id = $
|
|
1577
|
+
let id = $29c8537521cf08fe$export$b1601eb39394a581(state1);
|
|
1572
1578
|
return {
|
|
1573
|
-
collectionProps: $
|
|
1579
|
+
collectionProps: $67uu7$reactariautils.mergeProps(dropProps, {
|
|
1574
1580
|
id: id,
|
|
1575
1581
|
// Remove description from collection element. If dropping on the entire collection,
|
|
1576
1582
|
// there should be a drop indicator that has this description, so no need to double announce.
|
|
@@ -1580,17 +1586,17 @@ function $f56fb52b53faaf3d$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1580
1586
|
}
|
|
1581
1587
|
|
|
1582
1588
|
|
|
1583
|
-
var $
|
|
1589
|
+
var $7862eebad9f285c6$exports = {};
|
|
1584
1590
|
|
|
1585
|
-
$parcel$export($
|
|
1591
|
+
$parcel$export($7862eebad9f285c6$exports, "useDroppableItem", () => $7862eebad9f285c6$export$f7b0c5d28b66b6a5);
|
|
1586
1592
|
|
|
1587
1593
|
|
|
1588
1594
|
|
|
1589
1595
|
|
|
1590
|
-
function $
|
|
1591
|
-
let { dropProps: dropProps } = $
|
|
1592
|
-
$
|
|
1593
|
-
if (ref.current) return $
|
|
1596
|
+
function $7862eebad9f285c6$export$f7b0c5d28b66b6a5(options, state, ref) {
|
|
1597
|
+
let { dropProps: dropProps } = $06a19d9f22d42d75$export$62447ad3d2ec7da6();
|
|
1598
|
+
$67uu7$react.useEffect(()=>{
|
|
1599
|
+
if (ref.current) return $7b1813d52b80b911$export$aef80212ac99c003({
|
|
1594
1600
|
element: ref.current,
|
|
1595
1601
|
target: options.target,
|
|
1596
1602
|
getDropOperation (types, allowedOperations) {
|
|
@@ -1602,10 +1608,10 @@ function $bfcc97d22144d9f4$export$f7b0c5d28b66b6a5(options, state, ref) {
|
|
|
1602
1608
|
options.target,
|
|
1603
1609
|
state
|
|
1604
1610
|
]);
|
|
1605
|
-
let dragSession = $
|
|
1606
|
-
let isValidDropTarget = dragSession && state.getDropOperation(options.target, $
|
|
1611
|
+
let dragSession = $7b1813d52b80b911$export$418e185dd3f1b968();
|
|
1612
|
+
let isValidDropTarget = dragSession && state.getDropOperation(options.target, $29c8537521cf08fe$export$e1d41611756c6326(dragSession.dragTarget.items), dragSession.dragTarget.allowedDropOperations) !== 'cancel';
|
|
1607
1613
|
let isDropTarget = state.isDropTarget(options.target);
|
|
1608
|
-
$
|
|
1614
|
+
$67uu7$react.useEffect(()=>{
|
|
1609
1615
|
if (dragSession && isDropTarget && ref.current) ref.current.focus();
|
|
1610
1616
|
}, [
|
|
1611
1617
|
isDropTarget,
|
|
@@ -1621,29 +1627,31 @@ function $bfcc97d22144d9f4$export$f7b0c5d28b66b6a5(options, state, ref) {
|
|
|
1621
1627
|
}
|
|
1622
1628
|
|
|
1623
1629
|
|
|
1624
|
-
var $
|
|
1630
|
+
var $dba686f3b740894f$exports = {};
|
|
1625
1631
|
|
|
1626
|
-
$parcel$export($
|
|
1632
|
+
$parcel$export($dba686f3b740894f$exports, "useDropIndicator", () => $dba686f3b740894f$export$8d0e41d2815afac5);
|
|
1627
1633
|
|
|
1628
1634
|
|
|
1629
1635
|
|
|
1630
1636
|
|
|
1631
1637
|
|
|
1632
1638
|
|
|
1633
|
-
function $
|
|
1639
|
+
function $dba686f3b740894f$export$8d0e41d2815afac5(props, state, ref1) {
|
|
1634
1640
|
let { target: target } = props;
|
|
1635
1641
|
let { collection: collection } = state;
|
|
1636
|
-
let formatMessage = $
|
|
1637
|
-
let dragSession = $
|
|
1638
|
-
let { dropProps: dropProps } = $
|
|
1639
|
-
let id = $
|
|
1640
|
-
let getText = (key)=>
|
|
1641
|
-
|
|
1642
|
+
let formatMessage = $67uu7$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($6dae25bfb54cafe2$exports)));
|
|
1643
|
+
let dragSession = $7b1813d52b80b911$export$418e185dd3f1b968();
|
|
1644
|
+
let { dropProps: dropProps } = $7862eebad9f285c6$export$f7b0c5d28b66b6a5(props, state, ref1);
|
|
1645
|
+
let id = $67uu7$reactariautils.useId();
|
|
1646
|
+
let getText = (key)=>{
|
|
1647
|
+
var ref;
|
|
1648
|
+
return (ref = collection.getItem(key)) === null || ref === void 0 ? void 0 : ref.textValue;
|
|
1649
|
+
};
|
|
1642
1650
|
let label = '';
|
|
1643
1651
|
let labelledBy;
|
|
1644
1652
|
if (target.type === 'root') {
|
|
1645
1653
|
label = formatMessage('dropOnRoot');
|
|
1646
|
-
labelledBy = `${id} ${$
|
|
1654
|
+
labelledBy = `${id} ${$29c8537521cf08fe$export$3093291712f09a77(state)}`;
|
|
1647
1655
|
} else if (target.dropPosition === 'on') label = formatMessage('dropOnItem', {
|
|
1648
1656
|
itemText: getText(target.key)
|
|
1649
1657
|
});
|
|
@@ -1675,15 +1683,15 @@ function $dd3402c2521ab910$export$8d0e41d2815afac5(props, state, ref) {
|
|
|
1675
1683
|
}
|
|
1676
1684
|
|
|
1677
1685
|
|
|
1678
|
-
var $
|
|
1686
|
+
var $0d235029225a739d$exports = {};
|
|
1679
1687
|
|
|
1680
|
-
$parcel$export($
|
|
1688
|
+
$parcel$export($0d235029225a739d$exports, "useDraggableItem", () => $0d235029225a739d$export$b35afafff42da2d9);
|
|
1681
1689
|
|
|
1682
1690
|
|
|
1683
1691
|
|
|
1684
|
-
function $
|
|
1685
|
-
let formatMessage = $
|
|
1686
|
-
let { dragProps: dragProps , dragButtonProps: dragButtonProps } = $
|
|
1692
|
+
function $0d235029225a739d$export$b35afafff42da2d9(props, state) {
|
|
1693
|
+
let formatMessage = $67uu7$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($6dae25bfb54cafe2$exports)));
|
|
1694
|
+
let { dragProps: dragProps , dragButtonProps: dragButtonProps } = $e2630e07d35639b3$export$7941f8aafa4b6021({
|
|
1687
1695
|
getItems () {
|
|
1688
1696
|
return state.getItems(props.key);
|
|
1689
1697
|
},
|
|
@@ -1704,11 +1712,12 @@ function $ef813332c2b7144e$export$b35afafff42da2d9(props, state) {
|
|
|
1704
1712
|
let numSelectedKeys = state.selectionManager.selectedKeys.size;
|
|
1705
1713
|
let isSelected = state.selectionManager.isSelected(props.key);
|
|
1706
1714
|
let message;
|
|
1715
|
+
var ref;
|
|
1707
1716
|
if (isSelected && numSelectedKeys > 1) message = formatMessage('dragSelectedItems', {
|
|
1708
1717
|
count: numSelectedKeys
|
|
1709
1718
|
});
|
|
1710
1719
|
else message = formatMessage('dragItem', {
|
|
1711
|
-
itemText: item
|
|
1720
|
+
itemText: (ref = item === null || item === void 0 ? void 0 : item.textValue) !== null && ref !== void 0 ? ref : ''
|
|
1712
1721
|
});
|
|
1713
1722
|
return {
|
|
1714
1723
|
dragProps: dragProps,
|
|
@@ -1720,16 +1729,16 @@ function $ef813332c2b7144e$export$b35afafff42da2d9(props, state) {
|
|
|
1720
1729
|
}
|
|
1721
1730
|
|
|
1722
1731
|
|
|
1723
|
-
var $
|
|
1732
|
+
var $15e98f67a3ab1ee9$exports = {};
|
|
1724
1733
|
|
|
1725
|
-
$parcel$export($
|
|
1734
|
+
$parcel$export($15e98f67a3ab1ee9$exports, "useClipboard", () => $15e98f67a3ab1ee9$export$2314ca2a3e892862);
|
|
1726
1735
|
|
|
1727
1736
|
|
|
1728
1737
|
|
|
1729
1738
|
|
|
1730
|
-
const $
|
|
1731
|
-
function $
|
|
1732
|
-
let eventData = $
|
|
1739
|
+
const $15e98f67a3ab1ee9$var$globalEvents = new Map();
|
|
1740
|
+
function $15e98f67a3ab1ee9$var$addGlobalEventListener(event, fn) {
|
|
1741
|
+
let eventData = $15e98f67a3ab1ee9$var$globalEvents.get(event);
|
|
1733
1742
|
if (!eventData) {
|
|
1734
1743
|
let handlers = new Set();
|
|
1735
1744
|
let listener = (e)=>{
|
|
@@ -1739,7 +1748,7 @@ function $0e4f47463d859da8$var$addGlobalEventListener(event, fn) {
|
|
|
1739
1748
|
listener: listener,
|
|
1740
1749
|
handlers: handlers
|
|
1741
1750
|
};
|
|
1742
|
-
$
|
|
1751
|
+
$15e98f67a3ab1ee9$var$globalEvents.set(event, eventData);
|
|
1743
1752
|
document.addEventListener(event, listener);
|
|
1744
1753
|
}
|
|
1745
1754
|
eventData.handlers.add(fn);
|
|
@@ -1747,31 +1756,32 @@ function $0e4f47463d859da8$var$addGlobalEventListener(event, fn) {
|
|
|
1747
1756
|
eventData.handlers.delete(fn);
|
|
1748
1757
|
if (eventData.handlers.size === 0) {
|
|
1749
1758
|
document.removeEventListener(event, eventData.listener);
|
|
1750
|
-
$
|
|
1759
|
+
$15e98f67a3ab1ee9$var$globalEvents.delete(event);
|
|
1751
1760
|
}
|
|
1752
1761
|
};
|
|
1753
1762
|
}
|
|
1754
|
-
function $
|
|
1755
|
-
let ref = $
|
|
1763
|
+
function $15e98f67a3ab1ee9$export$2314ca2a3e892862(options1) {
|
|
1764
|
+
let ref = $67uu7$react.useRef(options1);
|
|
1756
1765
|
ref.current = options1;
|
|
1757
|
-
let isFocusedRef = $
|
|
1758
|
-
let { focusProps: focusProps } = $
|
|
1766
|
+
let isFocusedRef = $67uu7$react.useRef(false);
|
|
1767
|
+
let { focusProps: focusProps } = $67uu7$reactariainteractions.useFocus({
|
|
1759
1768
|
onFocusChange: (isFocused)=>{
|
|
1760
1769
|
isFocusedRef.current = isFocused;
|
|
1761
1770
|
}
|
|
1762
1771
|
});
|
|
1763
|
-
$
|
|
1772
|
+
$67uu7$react.useEffect(()=>{
|
|
1764
1773
|
let onBeforeCopy = (e)=>{
|
|
1765
1774
|
// Enable the "Copy" menu item in Safari if this element is focused and copying is supported.
|
|
1766
1775
|
let options = ref.current;
|
|
1767
1776
|
if (isFocusedRef.current && options.getItems) e.preventDefault();
|
|
1768
1777
|
};
|
|
1769
1778
|
let onCopy = (e)=>{
|
|
1779
|
+
var ref1;
|
|
1770
1780
|
let options = ref.current;
|
|
1771
1781
|
if (!isFocusedRef.current || !options.getItems) return;
|
|
1772
1782
|
e.preventDefault();
|
|
1773
|
-
$
|
|
1774
|
-
options.onCopy
|
|
1783
|
+
$29c8537521cf08fe$export$f9c1490890ddd063(e.clipboardData, options.getItems());
|
|
1784
|
+
(ref1 = options.onCopy) === null || ref1 === void 0 ? void 0 : ref1.call(options);
|
|
1775
1785
|
};
|
|
1776
1786
|
let onBeforeCut = (e)=>{
|
|
1777
1787
|
let options = ref.current;
|
|
@@ -1781,7 +1791,7 @@ function $0e4f47463d859da8$export$2314ca2a3e892862(options1) {
|
|
|
1781
1791
|
let options = ref.current;
|
|
1782
1792
|
if (!isFocusedRef.current || !options.onCut || !options.getItems) return;
|
|
1783
1793
|
e.preventDefault();
|
|
1784
|
-
$
|
|
1794
|
+
$29c8537521cf08fe$export$f9c1490890ddd063(e.clipboardData, options.getItems());
|
|
1785
1795
|
options.onCut();
|
|
1786
1796
|
};
|
|
1787
1797
|
let onBeforePaste = (e)=>{
|
|
@@ -1794,10 +1804,10 @@ function $0e4f47463d859da8$export$2314ca2a3e892862(options1) {
|
|
|
1794
1804
|
let options = ref.current;
|
|
1795
1805
|
if (!isFocusedRef.current || !options.onPaste) return;
|
|
1796
1806
|
e.preventDefault();
|
|
1797
|
-
let items = $
|
|
1807
|
+
let items = $29c8537521cf08fe$export$d9e760437831f8b3(e.clipboardData);
|
|
1798
1808
|
options.onPaste(items);
|
|
1799
1809
|
};
|
|
1800
|
-
return $
|
|
1810
|
+
return $67uu7$reactariautils.chain($15e98f67a3ab1ee9$var$addGlobalEventListener('beforecopy', onBeforeCopy), $15e98f67a3ab1ee9$var$addGlobalEventListener('copy', onCopy), $15e98f67a3ab1ee9$var$addGlobalEventListener('beforecut', onBeforeCut), $15e98f67a3ab1ee9$var$addGlobalEventListener('cut', onCut), $15e98f67a3ab1ee9$var$addGlobalEventListener('beforepaste', onBeforePaste), $15e98f67a3ab1ee9$var$addGlobalEventListener('paste', onPaste));
|
|
1801
1811
|
}, []);
|
|
1802
1812
|
return {
|
|
1803
1813
|
clipboardProps: focusProps
|
|
@@ -1805,13 +1815,13 @@ function $0e4f47463d859da8$export$2314ca2a3e892862(options1) {
|
|
|
1805
1815
|
}
|
|
1806
1816
|
|
|
1807
1817
|
|
|
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, $
|
|
1818
|
+
$parcel$exportWildcard(module.exports, $e2630e07d35639b3$exports);
|
|
1819
|
+
$parcel$exportWildcard(module.exports, $8946a7288b8c2406$exports);
|
|
1820
|
+
$parcel$exportWildcard(module.exports, $783cde594bac15e2$exports);
|
|
1821
|
+
$parcel$exportWildcard(module.exports, $7862eebad9f285c6$exports);
|
|
1822
|
+
$parcel$exportWildcard(module.exports, $dba686f3b740894f$exports);
|
|
1823
|
+
$parcel$exportWildcard(module.exports, $0d235029225a739d$exports);
|
|
1824
|
+
$parcel$exportWildcard(module.exports, $15e98f67a3ab1ee9$exports);
|
|
1815
1825
|
|
|
1816
1826
|
|
|
1817
1827
|
//# sourceMappingURL=main.js.map
|