@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/module.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {useRef as $
|
|
2
|
-
import $
|
|
3
|
-
import {useDescription as $
|
|
4
|
-
import {useMessageFormatter as $
|
|
5
|
-
import {announce as $
|
|
6
|
-
import {ariaHideOutside as $
|
|
7
|
-
import {useInteractionModality as $
|
|
1
|
+
import {useRef as $68NDG$useRef, useState as $68NDG$useState, useEffect as $68NDG$useEffect, useCallback as $68NDG$useCallback} from "react";
|
|
2
|
+
import $68NDG$reactdom from "react-dom";
|
|
3
|
+
import {useDescription as $68NDG$useDescription, useId as $68NDG$useId, useLayoutEffect as $68NDG$useLayoutEffect, mergeProps as $68NDG$mergeProps, getScrollParent as $68NDG$getScrollParent, isWebKit as $68NDG$isWebKit, isIOS as $68NDG$isIOS, chain as $68NDG$chain} from "@react-aria/utils";
|
|
4
|
+
import {useMessageFormatter as $68NDG$useMessageFormatter} from "@react-aria/i18n";
|
|
5
|
+
import {announce as $68NDG$announce} from "@react-aria/live-announcer";
|
|
6
|
+
import {ariaHideOutside as $68NDG$ariaHideOutside} from "@react-aria/overlays";
|
|
7
|
+
import {useInteractionModality as $68NDG$useInteractionModality, getInteractionModality as $68NDG$getInteractionModality, setInteractionModality as $68NDG$setInteractionModality, useFocus as $68NDG$useFocus} from "@react-aria/interactions";
|
|
8
8
|
|
|
9
9
|
function $parcel$interopDefault(a) {
|
|
10
10
|
return a && a.__esModule ? a.default : a;
|
|
@@ -12,85 +12,85 @@ function $parcel$interopDefault(a) {
|
|
|
12
12
|
function $parcel$export(e, n, v, s) {
|
|
13
13
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
14
14
|
}
|
|
15
|
-
var $
|
|
15
|
+
var $fd21d4ef39f74060$exports = {};
|
|
16
16
|
|
|
17
|
-
$parcel$export($
|
|
17
|
+
$parcel$export($fd21d4ef39f74060$exports, "useDrag", () => $fd21d4ef39f74060$export$7941f8aafa4b6021);
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
let $
|
|
22
|
-
(function($
|
|
23
|
-
$
|
|
24
|
-
$
|
|
25
|
-
$
|
|
26
|
-
$
|
|
27
|
-
$
|
|
28
|
-
$
|
|
29
|
-
})($
|
|
21
|
+
let $752cacd37d0ace61$export$60b7b4bcf3903d8e;
|
|
22
|
+
(function($752cacd37d0ace61$export$60b7b4bcf3903d8e) {
|
|
23
|
+
$752cacd37d0ace61$export$60b7b4bcf3903d8e[$752cacd37d0ace61$export$60b7b4bcf3903d8e["none"] = 0] = "none";
|
|
24
|
+
$752cacd37d0ace61$export$60b7b4bcf3903d8e[$752cacd37d0ace61$export$60b7b4bcf3903d8e["cancel"] = 0] = "cancel";
|
|
25
|
+
$752cacd37d0ace61$export$60b7b4bcf3903d8e[$752cacd37d0ace61$export$60b7b4bcf3903d8e["move"] = 1] = "move";
|
|
26
|
+
$752cacd37d0ace61$export$60b7b4bcf3903d8e[$752cacd37d0ace61$export$60b7b4bcf3903d8e["copy"] = 2] = "copy";
|
|
27
|
+
$752cacd37d0ace61$export$60b7b4bcf3903d8e[$752cacd37d0ace61$export$60b7b4bcf3903d8e["link"] = 4] = "link";
|
|
28
|
+
$752cacd37d0ace61$export$60b7b4bcf3903d8e[$752cacd37d0ace61$export$60b7b4bcf3903d8e["all"] = 7] = "all";
|
|
29
|
+
})($752cacd37d0ace61$export$60b7b4bcf3903d8e || ($752cacd37d0ace61$export$60b7b4bcf3903d8e = {
|
|
30
30
|
}));
|
|
31
|
-
const $
|
|
32
|
-
...$
|
|
33
|
-
copyMove: $
|
|
34
|
-
copyLink: $
|
|
35
|
-
linkMove: $
|
|
36
|
-
all: $
|
|
37
|
-
uninitialized: $
|
|
31
|
+
const $752cacd37d0ace61$export$9bbdfc78cf083e16 = {
|
|
32
|
+
...$752cacd37d0ace61$export$60b7b4bcf3903d8e,
|
|
33
|
+
copyMove: $752cacd37d0ace61$export$60b7b4bcf3903d8e.copy | $752cacd37d0ace61$export$60b7b4bcf3903d8e.move,
|
|
34
|
+
copyLink: $752cacd37d0ace61$export$60b7b4bcf3903d8e.copy | $752cacd37d0ace61$export$60b7b4bcf3903d8e.link,
|
|
35
|
+
linkMove: $752cacd37d0ace61$export$60b7b4bcf3903d8e.link | $752cacd37d0ace61$export$60b7b4bcf3903d8e.move,
|
|
36
|
+
all: $752cacd37d0ace61$export$60b7b4bcf3903d8e.all,
|
|
37
|
+
uninitialized: $752cacd37d0ace61$export$60b7b4bcf3903d8e.all
|
|
38
38
|
};
|
|
39
|
-
const $
|
|
40
|
-
const $
|
|
41
|
-
const $
|
|
39
|
+
const $752cacd37d0ace61$export$dd0165308d8bff45 = $752cacd37d0ace61$var$invert($752cacd37d0ace61$export$9bbdfc78cf083e16);
|
|
40
|
+
const $752cacd37d0ace61$export$d7ebf00f36b7a95e = $752cacd37d0ace61$var$invert($752cacd37d0ace61$export$60b7b4bcf3903d8e);
|
|
41
|
+
const $752cacd37d0ace61$export$608ecc6f1b23c35d = {
|
|
42
42
|
none: 'cancel',
|
|
43
43
|
link: 'link',
|
|
44
44
|
copy: 'copy',
|
|
45
45
|
move: 'move'
|
|
46
46
|
};
|
|
47
|
-
const $
|
|
48
|
-
function $
|
|
47
|
+
const $752cacd37d0ace61$export$5eacb0769d26d3b2 = $752cacd37d0ace61$var$invert($752cacd37d0ace61$export$608ecc6f1b23c35d);
|
|
48
|
+
function $752cacd37d0ace61$var$invert(object) {
|
|
49
49
|
let res = {
|
|
50
50
|
};
|
|
51
51
|
for(let key in object)res[object[key]] = key;
|
|
52
52
|
return res;
|
|
53
53
|
}
|
|
54
|
-
const $
|
|
54
|
+
const $752cacd37d0ace61$export$4a7729b856e9a690 = new Set([
|
|
55
55
|
'text/plain',
|
|
56
56
|
'text/uri-list',
|
|
57
57
|
'text/html'
|
|
58
58
|
]);
|
|
59
|
-
const $
|
|
60
|
-
const $
|
|
59
|
+
const $752cacd37d0ace61$export$fd9f9fc120c5402d = 'application/vnd.react-aria.items+json';
|
|
60
|
+
const $752cacd37d0ace61$export$f8fc6581787339b3 = 'application/octet-stream';
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
const $
|
|
66
|
-
function $
|
|
67
|
-
let id = $
|
|
68
|
-
$
|
|
65
|
+
const $8e71d0478f045349$var$droppableCollectionIds = new WeakMap();
|
|
66
|
+
function $8e71d0478f045349$export$b1601eb39394a581(state) {
|
|
67
|
+
let id = $68NDG$useId();
|
|
68
|
+
$8e71d0478f045349$var$droppableCollectionIds.set(state, id);
|
|
69
69
|
return id;
|
|
70
70
|
}
|
|
71
|
-
function $
|
|
72
|
-
let id = $
|
|
71
|
+
function $8e71d0478f045349$export$3093291712f09a77(state) {
|
|
72
|
+
let id = $8e71d0478f045349$var$droppableCollectionIds.get(state);
|
|
73
73
|
if (!id) throw new Error('Droppable item outside a droppable collection');
|
|
74
74
|
return id;
|
|
75
75
|
}
|
|
76
|
-
function $
|
|
76
|
+
function $8e71d0478f045349$export$e1d41611756c6326(items) {
|
|
77
77
|
let types = new Set();
|
|
78
78
|
for (let item of items)for (let type of Object.keys(item))types.add(type);
|
|
79
79
|
return types;
|
|
80
80
|
}
|
|
81
|
-
function $
|
|
81
|
+
function $8e71d0478f045349$var$mapModality(modality) {
|
|
82
82
|
if (!modality) modality = 'virtual';
|
|
83
83
|
if (modality === 'pointer') modality = 'virtual';
|
|
84
84
|
if (modality === 'virtual' && 'ontouchstart' in window) modality = 'touch';
|
|
85
85
|
return modality;
|
|
86
86
|
}
|
|
87
|
-
function $
|
|
88
|
-
return $
|
|
87
|
+
function $8e71d0478f045349$export$49bac5d6d4b352ea() {
|
|
88
|
+
return $8e71d0478f045349$var$mapModality($68NDG$useInteractionModality());
|
|
89
89
|
}
|
|
90
|
-
function $
|
|
91
|
-
return $
|
|
90
|
+
function $8e71d0478f045349$export$1fb2158d224b542c() {
|
|
91
|
+
return $8e71d0478f045349$var$mapModality($68NDG$getInteractionModality());
|
|
92
92
|
}
|
|
93
|
-
function $
|
|
93
|
+
function $8e71d0478f045349$export$f9c1490890ddd063(dataTransfer, items) {
|
|
94
94
|
// The data transfer API doesn't support more than one item of a given type at once.
|
|
95
95
|
// In addition, only a small set of types are supported natively for transfer between applications.
|
|
96
96
|
// We allow for both multiple items, as well as multiple representations of a single item.
|
|
@@ -123,7 +123,7 @@ function $6d32ba78df89e8ed$export$f9c1490890ddd063(dataTransfer, items) {
|
|
|
123
123
|
}
|
|
124
124
|
customData.push(dataByType);
|
|
125
125
|
}
|
|
126
|
-
for (let [type, items1] of groupedByType)if ($
|
|
126
|
+
for (let [type, items1] of groupedByType)if ($752cacd37d0ace61$export$4a7729b856e9a690.has(type)) {
|
|
127
127
|
// Only one item of a given type can be set on a data transfer.
|
|
128
128
|
// Join all of the items together separated by newlines.
|
|
129
129
|
let data = items1.join('\n');
|
|
@@ -132,40 +132,40 @@ function $6d32ba78df89e8ed$export$f9c1490890ddd063(dataTransfer, items) {
|
|
|
132
132
|
dataTransfer.items.add(items1[0], type);
|
|
133
133
|
if (needsCustomData) {
|
|
134
134
|
let data = JSON.stringify(customData);
|
|
135
|
-
dataTransfer.items.add(data, $
|
|
135
|
+
dataTransfer.items.add(data, $752cacd37d0ace61$export$fd9f9fc120c5402d);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
class $
|
|
138
|
+
class $8e71d0478f045349$export$7f04ce188c91447c {
|
|
139
|
+
has(type) {
|
|
140
|
+
if (this.includesUnknownTypes) return true;
|
|
141
|
+
return this.types.has(type);
|
|
142
|
+
}
|
|
139
143
|
constructor(dataTransfer){
|
|
140
144
|
this.types = new Set();
|
|
141
145
|
let hasFiles = false;
|
|
142
|
-
for (let item of dataTransfer.items)if (item.type !== $
|
|
146
|
+
for (let item of dataTransfer.items)if (item.type !== $752cacd37d0ace61$export$fd9f9fc120c5402d) {
|
|
143
147
|
if (item.kind === 'file') hasFiles = true;
|
|
144
148
|
if (item.type) this.types.add(item.type);
|
|
145
149
|
else // Files with unknown types or extensions that don't map to a known mime type
|
|
146
150
|
// are sometimes exposed as an empty string by the browser. Map to a generic
|
|
147
151
|
// mime type instead. Note that this could also be a directory as there's no
|
|
148
152
|
// way to determine if something is a file or directory until drop.
|
|
149
|
-
this.types.add($
|
|
153
|
+
this.types.add($752cacd37d0ace61$export$f8fc6581787339b3);
|
|
150
154
|
}
|
|
151
155
|
// In Safari, when dragging files, the dataTransfer.items list is empty, but dataTransfer.types contains "Files".
|
|
152
156
|
// Unfortunately, this doesn't tell us what types of files the user is dragging, so we need to assume that any
|
|
153
157
|
// type the user checks for is included. See https://bugs.webkit.org/show_bug.cgi?id=223517.
|
|
154
158
|
this.includesUnknownTypes = !hasFiles && dataTransfer.types.includes('Files');
|
|
155
159
|
}
|
|
156
|
-
has(type) {
|
|
157
|
-
if (this.includesUnknownTypes) return true;
|
|
158
|
-
return this.types.has(type);
|
|
159
|
-
}
|
|
160
160
|
}
|
|
161
|
-
function $
|
|
161
|
+
function $8e71d0478f045349$export$d9e760437831f8b3(dataTransfer) {
|
|
162
162
|
let items = [];
|
|
163
163
|
// If our custom drag type is available, use that. This is a JSON serialized
|
|
164
164
|
// representation of all items in the drag, set when there are multiple items
|
|
165
165
|
// of the same type, or an individual item has multiple representations.
|
|
166
166
|
let hasCustomType = false;
|
|
167
|
-
if (dataTransfer.types.includes($
|
|
168
|
-
let data = dataTransfer.getData($
|
|
167
|
+
if (dataTransfer.types.includes($752cacd37d0ace61$export$fd9f9fc120c5402d)) try {
|
|
168
|
+
let data = dataTransfer.getData($752cacd37d0ace61$export$fd9f9fc120c5402d);
|
|
169
169
|
let parsed = JSON.parse(data);
|
|
170
170
|
for (let item of parsed)items.push({
|
|
171
171
|
kind: 'text',
|
|
@@ -183,7 +183,7 @@ function $6d32ba78df89e8ed$export$d9e760437831f8b3(dataTransfer) {
|
|
|
183
183
|
if (item.kind === 'string') // The data for all formats must be read here because the data transfer gets
|
|
184
184
|
// cleared out after the event handler finishes. If the item has an empty string
|
|
185
185
|
// as a type, the mime type is unknown. Map to a generic mime type instead.
|
|
186
|
-
stringItems.set(item.type || $
|
|
186
|
+
stringItems.set(item.type || $752cacd37d0ace61$export$f8fc6581787339b3, dataTransfer.getData(item.type));
|
|
187
187
|
else if (item.kind === 'file') {
|
|
188
188
|
// Despite the name, webkitGetAsEntry is also implemented in Firefox and Edge.
|
|
189
189
|
// In the future, we may use getAsFileSystemHandle instead, but that's currently
|
|
@@ -191,10 +191,10 @@ function $6d32ba78df89e8ed$export$d9e760437831f8b3(dataTransfer) {
|
|
|
191
191
|
if (typeof item.webkitGetAsEntry === 'function') {
|
|
192
192
|
let entry = item.webkitGetAsEntry();
|
|
193
193
|
if (!entry) continue;
|
|
194
|
-
if (entry.isFile) items.push($
|
|
195
|
-
else if (entry.isDirectory) items.push($
|
|
194
|
+
if (entry.isFile) items.push($8e71d0478f045349$var$createFileItem(item.getAsFile()));
|
|
195
|
+
else if (entry.isDirectory) items.push($8e71d0478f045349$var$createDirectoryItem(entry));
|
|
196
196
|
} else // Assume it's a file.
|
|
197
|
-
items.push($
|
|
197
|
+
items.push($8e71d0478f045349$var$createFileItem(item.getAsFile()));
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
// All string items are different representations of the same item. There's no way to have
|
|
@@ -207,7 +207,7 @@ function $6d32ba78df89e8ed$export$d9e760437831f8b3(dataTransfer) {
|
|
|
207
207
|
}
|
|
208
208
|
return items;
|
|
209
209
|
}
|
|
210
|
-
function $
|
|
210
|
+
function $8e71d0478f045349$var$blobToString(blob) {
|
|
211
211
|
if (typeof blob.text === 'function') return blob.text();
|
|
212
212
|
// Safari doesn't have the Blob#text() method yet...
|
|
213
213
|
return new Promise((resolve, reject)=>{
|
|
@@ -219,24 +219,24 @@ function $6d32ba78df89e8ed$var$blobToString(blob) {
|
|
|
219
219
|
reader.readAsText(blob);
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
|
-
function $
|
|
222
|
+
function $8e71d0478f045349$var$createFileItem(file) {
|
|
223
223
|
return {
|
|
224
224
|
kind: 'file',
|
|
225
|
-
type: file.type || $
|
|
225
|
+
type: file.type || $752cacd37d0ace61$export$f8fc6581787339b3,
|
|
226
226
|
name: file.name,
|
|
227
|
-
getText: ()=>$
|
|
227
|
+
getText: ()=>$8e71d0478f045349$var$blobToString(file)
|
|
228
228
|
,
|
|
229
229
|
getFile: ()=>Promise.resolve(file)
|
|
230
230
|
};
|
|
231
231
|
}
|
|
232
|
-
function $
|
|
232
|
+
function $8e71d0478f045349$var$createDirectoryItem(entry) {
|
|
233
233
|
return {
|
|
234
234
|
kind: 'directory',
|
|
235
235
|
name: entry.name,
|
|
236
|
-
getEntries: ()=>$
|
|
236
|
+
getEntries: ()=>$8e71d0478f045349$var$getEntries(entry)
|
|
237
237
|
};
|
|
238
238
|
}
|
|
239
|
-
async function* $
|
|
239
|
+
async function* $8e71d0478f045349$var$getEntries(item) {
|
|
240
240
|
let reader = item.createReader();
|
|
241
241
|
// We must call readEntries repeatedly because there may be a limit to the
|
|
242
242
|
// number of entries that are returned at once.
|
|
@@ -247,63 +247,63 @@ async function* $6d32ba78df89e8ed$var$getEntries(item) {
|
|
|
247
247
|
});
|
|
248
248
|
for (let entry of entries){
|
|
249
249
|
if (entry.isFile) {
|
|
250
|
-
let file = await $
|
|
251
|
-
yield $
|
|
252
|
-
} else if (entry.isDirectory) yield $
|
|
250
|
+
let file = await $8e71d0478f045349$var$getEntryFile(entry);
|
|
251
|
+
yield $8e71d0478f045349$var$createFileItem(file);
|
|
252
|
+
} else if (entry.isDirectory) yield $8e71d0478f045349$var$createDirectoryItem(entry);
|
|
253
253
|
}
|
|
254
254
|
}while (entries.length > 0)
|
|
255
255
|
}
|
|
256
|
-
function $
|
|
256
|
+
function $8e71d0478f045349$var$getEntryFile(entry) {
|
|
257
257
|
return new Promise((resolve, reject)=>entry.file(resolve, reject)
|
|
258
258
|
);
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
|
|
262
262
|
|
|
263
|
-
let $
|
|
264
|
-
let $
|
|
265
|
-
let $
|
|
266
|
-
let $
|
|
267
|
-
function $
|
|
268
|
-
$
|
|
269
|
-
$
|
|
263
|
+
let $3ff2dbc10bf5c0b8$var$dropTargets = new Map();
|
|
264
|
+
let $3ff2dbc10bf5c0b8$var$dropItems = new Map();
|
|
265
|
+
let $3ff2dbc10bf5c0b8$var$dragSession = null;
|
|
266
|
+
let $3ff2dbc10bf5c0b8$var$subscriptions = new Set();
|
|
267
|
+
function $3ff2dbc10bf5c0b8$export$c28d9fb4a54e471a(target) {
|
|
268
|
+
$3ff2dbc10bf5c0b8$var$dropTargets.set(target.element, target);
|
|
269
|
+
$3ff2dbc10bf5c0b8$var$dragSession === null || $3ff2dbc10bf5c0b8$var$dragSession === void 0 ? void 0 : $3ff2dbc10bf5c0b8$var$dragSession.updateValidDropTargets();
|
|
270
270
|
return ()=>{
|
|
271
|
-
$
|
|
272
|
-
$
|
|
271
|
+
$3ff2dbc10bf5c0b8$var$dropTargets.delete(target.element);
|
|
272
|
+
$3ff2dbc10bf5c0b8$var$dragSession === null || $3ff2dbc10bf5c0b8$var$dragSession === void 0 ? void 0 : $3ff2dbc10bf5c0b8$var$dragSession.updateValidDropTargets();
|
|
273
273
|
};
|
|
274
274
|
}
|
|
275
|
-
function $
|
|
276
|
-
$
|
|
275
|
+
function $3ff2dbc10bf5c0b8$export$aef80212ac99c003(item) {
|
|
276
|
+
$3ff2dbc10bf5c0b8$var$dropItems.set(item.element, item);
|
|
277
277
|
return ()=>{
|
|
278
|
-
$
|
|
278
|
+
$3ff2dbc10bf5c0b8$var$dropItems.delete(item.element);
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
|
-
function $
|
|
282
|
-
if ($
|
|
283
|
-
$
|
|
281
|
+
function $3ff2dbc10bf5c0b8$export$549dbcf8649bf3b2(target, formatMessage) {
|
|
282
|
+
if ($3ff2dbc10bf5c0b8$var$dragSession) throw new Error('Cannot begin dragging while already dragging');
|
|
283
|
+
$3ff2dbc10bf5c0b8$var$dragSession = new $3ff2dbc10bf5c0b8$var$DragSession(target, formatMessage);
|
|
284
284
|
requestAnimationFrame(()=>{
|
|
285
|
-
$
|
|
286
|
-
if ($
|
|
285
|
+
$3ff2dbc10bf5c0b8$var$dragSession.setup();
|
|
286
|
+
if ($8e71d0478f045349$export$1fb2158d224b542c() === 'keyboard') $3ff2dbc10bf5c0b8$var$dragSession.next();
|
|
287
287
|
});
|
|
288
|
-
for (let cb of $
|
|
288
|
+
for (let cb of $3ff2dbc10bf5c0b8$var$subscriptions)cb();
|
|
289
289
|
}
|
|
290
|
-
function $
|
|
291
|
-
let [session, setSession] = $
|
|
292
|
-
$
|
|
293
|
-
let cb = ()=>setSession($
|
|
290
|
+
function $3ff2dbc10bf5c0b8$export$418e185dd3f1b968() {
|
|
291
|
+
let [session, setSession] = $68NDG$useState($3ff2dbc10bf5c0b8$var$dragSession);
|
|
292
|
+
$68NDG$useEffect(()=>{
|
|
293
|
+
let cb = ()=>setSession($3ff2dbc10bf5c0b8$var$dragSession)
|
|
294
294
|
;
|
|
295
|
-
$
|
|
295
|
+
$3ff2dbc10bf5c0b8$var$subscriptions.add(cb);
|
|
296
296
|
return ()=>{
|
|
297
|
-
$
|
|
297
|
+
$3ff2dbc10bf5c0b8$var$subscriptions.delete(cb);
|
|
298
298
|
};
|
|
299
299
|
}, []);
|
|
300
300
|
return session;
|
|
301
301
|
}
|
|
302
|
-
function $
|
|
303
|
-
$
|
|
304
|
-
for (let cb of $
|
|
302
|
+
function $3ff2dbc10bf5c0b8$var$endDragging() {
|
|
303
|
+
$3ff2dbc10bf5c0b8$var$dragSession = null;
|
|
304
|
+
for (let cb of $3ff2dbc10bf5c0b8$var$subscriptions)cb();
|
|
305
305
|
}
|
|
306
|
-
const $
|
|
306
|
+
const $3ff2dbc10bf5c0b8$var$CANCELED_EVENTS = [
|
|
307
307
|
'pointerdown',
|
|
308
308
|
'pointermove',
|
|
309
309
|
'pointerenter',
|
|
@@ -325,48 +325,40 @@ const $3f1be781b0a897ea$var$CANCELED_EVENTS = [
|
|
|
325
325
|
'focusin',
|
|
326
326
|
'focusout'
|
|
327
327
|
];
|
|
328
|
-
const $
|
|
328
|
+
const $3ff2dbc10bf5c0b8$var$CLICK_EVENTS = [
|
|
329
329
|
'pointerup',
|
|
330
330
|
'mouseup',
|
|
331
331
|
'touchend'
|
|
332
332
|
];
|
|
333
|
-
const $
|
|
333
|
+
const $3ff2dbc10bf5c0b8$var$MESSAGES = {
|
|
334
334
|
keyboard: 'dragStartedKeyboard',
|
|
335
335
|
touch: 'dragStartedTouch',
|
|
336
336
|
virtual: 'dragStartedVirtual'
|
|
337
337
|
};
|
|
338
|
-
class $
|
|
339
|
-
constructor(target, formatMessage){
|
|
340
|
-
this.dragTarget = target;
|
|
341
|
-
this.formatMessage = formatMessage;
|
|
342
|
-
this.onKeyDown = this.onKeyDown.bind(this);
|
|
343
|
-
this.onFocus = this.onFocus.bind(this);
|
|
344
|
-
this.onBlur = this.onBlur.bind(this);
|
|
345
|
-
this.onClick = this.onClick.bind(this);
|
|
346
|
-
this.cancelEvent = this.cancelEvent.bind(this);
|
|
347
|
-
}
|
|
338
|
+
class $3ff2dbc10bf5c0b8$var$DragSession {
|
|
348
339
|
setup() {
|
|
349
340
|
document.addEventListener('keydown', this.onKeyDown, true);
|
|
350
341
|
window.addEventListener('focus', this.onFocus, true);
|
|
351
342
|
window.addEventListener('blur', this.onBlur, true);
|
|
352
343
|
document.addEventListener('click', this.onClick, true);
|
|
353
|
-
for (let event of $
|
|
344
|
+
for (let event of $3ff2dbc10bf5c0b8$var$CANCELED_EVENTS)document.addEventListener(event, this.cancelEvent, true);
|
|
354
345
|
this.mutationObserver = new MutationObserver(()=>this.updateValidDropTargets()
|
|
355
346
|
);
|
|
356
347
|
this.updateValidDropTargets();
|
|
357
|
-
$
|
|
348
|
+
$68NDG$announce(this.formatMessage($3ff2dbc10bf5c0b8$var$MESSAGES[$8e71d0478f045349$export$1fb2158d224b542c()]));
|
|
358
349
|
}
|
|
359
350
|
teardown() {
|
|
360
351
|
document.removeEventListener('keydown', this.onKeyDown, true);
|
|
361
352
|
window.removeEventListener('focus', this.onFocus, true);
|
|
362
353
|
window.removeEventListener('blur', this.onBlur, true);
|
|
363
354
|
document.removeEventListener('click', this.onClick, true);
|
|
364
|
-
for (let event of $
|
|
355
|
+
for (let event of $3ff2dbc10bf5c0b8$var$CANCELED_EVENTS)document.removeEventListener(event, this.cancelEvent, true);
|
|
365
356
|
this.mutationObserver.disconnect();
|
|
366
357
|
this.restoreAriaHidden();
|
|
367
358
|
if (this.mutationImmediate) clearImmediate(this.mutationImmediate);
|
|
368
359
|
}
|
|
369
360
|
onKeyDown(e) {
|
|
361
|
+
var ref;
|
|
370
362
|
this.cancelEvent(e);
|
|
371
363
|
if (e.key === 'Escape') {
|
|
372
364
|
this.cancel();
|
|
@@ -381,7 +373,7 @@ class $3f1be781b0a897ea$var$DragSession {
|
|
|
381
373
|
if (e.shiftKey) this.previous();
|
|
382
374
|
else this.next();
|
|
383
375
|
}
|
|
384
|
-
if (typeof this.currentDropTarget
|
|
376
|
+
if (typeof ((ref = this.currentDropTarget) === null || ref === void 0 ? void 0 : ref.onKeyDown) === 'function') this.currentDropTarget.onKeyDown(e, this.dragTarget);
|
|
385
377
|
}
|
|
386
378
|
onFocus(e) {
|
|
387
379
|
// Prevent focus events, except to the original drag target.
|
|
@@ -395,7 +387,7 @@ class $3f1be781b0a897ea$var$DragSession {
|
|
|
395
387
|
else this.dragTarget.element.focus();
|
|
396
388
|
return;
|
|
397
389
|
}
|
|
398
|
-
let item = $
|
|
390
|
+
let item = $3ff2dbc10bf5c0b8$var$dropItems.get(e.target);
|
|
399
391
|
this.setCurrentDropTarget(dropTarget, item);
|
|
400
392
|
}
|
|
401
393
|
onBlur(e) {
|
|
@@ -417,14 +409,14 @@ class $3f1be781b0a897ea$var$DragSession {
|
|
|
417
409
|
let dropTarget = this.validDropTargets.find((target)=>target.element.contains(e.target)
|
|
418
410
|
);
|
|
419
411
|
if (dropTarget) {
|
|
420
|
-
let item = $
|
|
412
|
+
let item = $3ff2dbc10bf5c0b8$var$dropItems.get(e.target);
|
|
421
413
|
this.setCurrentDropTarget(dropTarget, item);
|
|
422
414
|
this.drop(item);
|
|
423
415
|
}
|
|
424
416
|
}
|
|
425
417
|
cancelEvent(e) {
|
|
426
418
|
// Allow default for events that might cancel a click event
|
|
427
|
-
if (!$
|
|
419
|
+
if (!$3ff2dbc10bf5c0b8$var$CLICK_EVENTS.includes(e.type)) e.preventDefault();
|
|
428
420
|
e.stopPropagation();
|
|
429
421
|
e.stopImmediatePropagation();
|
|
430
422
|
}
|
|
@@ -432,12 +424,12 @@ class $3f1be781b0a897ea$var$DragSession {
|
|
|
432
424
|
if (!this.mutationObserver) return;
|
|
433
425
|
this.mutationObserver.disconnect();
|
|
434
426
|
if (this.restoreAriaHidden) this.restoreAriaHidden();
|
|
435
|
-
this.validDropTargets = $
|
|
427
|
+
this.validDropTargets = $3ff2dbc10bf5c0b8$var$findValidDropTargets(this.dragTarget);
|
|
436
428
|
if (this.currentDropTarget && !this.validDropTargets.includes(this.currentDropTarget)) this.setCurrentDropTarget(this.validDropTargets[0]);
|
|
437
429
|
// Find valid drop items within collections
|
|
438
|
-
let types = $
|
|
430
|
+
let types = $8e71d0478f045349$export$e1d41611756c6326(this.dragTarget.items);
|
|
439
431
|
let validDropItems = [
|
|
440
|
-
...$
|
|
432
|
+
...$3ff2dbc10bf5c0b8$var$dropItems.values()
|
|
441
433
|
].filter((item)=>{
|
|
442
434
|
if (typeof item.getDropOperation === 'function') return item.getDropOperation(types, this.dragTarget.allowedDropOperations) !== 'cancel';
|
|
443
435
|
return true;
|
|
@@ -447,7 +439,7 @@ class $3f1be781b0a897ea$var$DragSession {
|
|
|
447
439
|
let visibleDropTargets = this.validDropTargets.filter((target)=>!validDropItems.some((item)=>target.element.contains(item.element)
|
|
448
440
|
)
|
|
449
441
|
);
|
|
450
|
-
this.restoreAriaHidden = $
|
|
442
|
+
this.restoreAriaHidden = $68NDG$ariaHideOutside([
|
|
451
443
|
this.dragTarget.element,
|
|
452
444
|
...validDropItems.map((item)=>item.element
|
|
453
445
|
),
|
|
@@ -520,12 +512,12 @@ class $3f1be781b0a897ea$var$DragSession {
|
|
|
520
512
|
y: rect.top + rect.height / 2
|
|
521
513
|
}, this.dragTarget);
|
|
522
514
|
}
|
|
523
|
-
if (!item) dropTarget
|
|
515
|
+
if (!item) dropTarget === null || dropTarget === void 0 ? void 0 : dropTarget.element.focus();
|
|
524
516
|
}
|
|
525
517
|
}
|
|
526
518
|
if (item !== this.currentDropItem) {
|
|
527
|
-
if (item && typeof this.currentDropTarget.onDropTargetEnter === 'function') this.currentDropTarget.onDropTargetEnter(item
|
|
528
|
-
item
|
|
519
|
+
if (item && typeof this.currentDropTarget.onDropTargetEnter === 'function') this.currentDropTarget.onDropTargetEnter(item === null || item === void 0 ? void 0 : item.target);
|
|
520
|
+
item === null || item === void 0 ? void 0 : item.element.focus();
|
|
529
521
|
this.currentDropItem = item;
|
|
530
522
|
}
|
|
531
523
|
}
|
|
@@ -542,23 +534,23 @@ class $3f1be781b0a897ea$var$DragSession {
|
|
|
542
534
|
});
|
|
543
535
|
}
|
|
544
536
|
this.setCurrentDropTarget(null);
|
|
545
|
-
$
|
|
537
|
+
$3ff2dbc10bf5c0b8$var$endDragging();
|
|
546
538
|
}
|
|
547
539
|
cancel() {
|
|
548
540
|
this.end();
|
|
549
541
|
if (!this.dragTarget.element.closest('[aria-hidden="true"]')) this.dragTarget.element.focus();
|
|
550
|
-
$
|
|
542
|
+
$68NDG$announce(this.formatMessage('dropCanceled'));
|
|
551
543
|
}
|
|
552
544
|
drop(item1) {
|
|
553
545
|
if (!this.currentDropTarget) {
|
|
554
546
|
this.cancel();
|
|
555
547
|
return;
|
|
556
548
|
}
|
|
557
|
-
if (typeof item1
|
|
558
|
-
let types = $
|
|
549
|
+
if (typeof (item1 === null || item1 === void 0 ? void 0 : item1.getDropOperation) === 'function') {
|
|
550
|
+
let types = $8e71d0478f045349$export$e1d41611756c6326(this.dragTarget.items);
|
|
559
551
|
this.dropOperation = item1.getDropOperation(types, this.dragTarget.allowedDropOperations);
|
|
560
552
|
} else if (typeof this.currentDropTarget.getDropOperation === 'function') {
|
|
561
|
-
let types = $
|
|
553
|
+
let types = $8e71d0478f045349$export$e1d41611756c6326(this.dragTarget.items);
|
|
562
554
|
this.dropOperation = this.currentDropTarget.getDropOperation(types, this.dragTarget.allowedDropOperations);
|
|
563
555
|
} else // TODO: show menu ??
|
|
564
556
|
this.dropOperation = this.dragTarget.allowedDropOperations[0];
|
|
@@ -576,10 +568,10 @@ class $3f1be781b0a897ea$var$DragSession {
|
|
|
576
568
|
y: rect.top + rect.height / 2,
|
|
577
569
|
items: items,
|
|
578
570
|
dropOperation: this.dropOperation
|
|
579
|
-
}, item1
|
|
571
|
+
}, item1 === null || item1 === void 0 ? void 0 : item1.target);
|
|
580
572
|
}
|
|
581
573
|
this.end();
|
|
582
|
-
$
|
|
574
|
+
$68NDG$announce(this.formatMessage('dropComplete'));
|
|
583
575
|
}
|
|
584
576
|
activate() {
|
|
585
577
|
if (this.currentDropTarget && typeof this.currentDropTarget.onDropActivate === 'function') {
|
|
@@ -591,11 +583,20 @@ class $3f1be781b0a897ea$var$DragSession {
|
|
|
591
583
|
});
|
|
592
584
|
}
|
|
593
585
|
}
|
|
586
|
+
constructor(target, formatMessage){
|
|
587
|
+
this.dragTarget = target;
|
|
588
|
+
this.formatMessage = formatMessage;
|
|
589
|
+
this.onKeyDown = this.onKeyDown.bind(this);
|
|
590
|
+
this.onFocus = this.onFocus.bind(this);
|
|
591
|
+
this.onBlur = this.onBlur.bind(this);
|
|
592
|
+
this.onClick = this.onClick.bind(this);
|
|
593
|
+
this.cancelEvent = this.cancelEvent.bind(this);
|
|
594
|
+
}
|
|
594
595
|
}
|
|
595
|
-
function $
|
|
596
|
-
let types = $
|
|
596
|
+
function $3ff2dbc10bf5c0b8$var$findValidDropTargets(options) {
|
|
597
|
+
let types = $8e71d0478f045349$export$e1d41611756c6326(options.items);
|
|
597
598
|
return [
|
|
598
|
-
...$
|
|
599
|
+
...$3ff2dbc10bf5c0b8$var$dropTargets.values()
|
|
599
600
|
].filter((target)=>{
|
|
600
601
|
if (target.element.closest('[aria-hidden="true"]')) return false;
|
|
601
602
|
if (typeof target.getDropOperation === 'function') return target.getDropOperation(types, options.allowedDropOperations) !== 'cancel';
|
|
@@ -605,178 +606,178 @@ function $3f1be781b0a897ea$var$findValidDropTargets(options) {
|
|
|
605
606
|
|
|
606
607
|
|
|
607
608
|
|
|
608
|
-
var $
|
|
609
|
-
var $
|
|
610
|
-
$
|
|
609
|
+
var $570b43ebcd82e11f$exports = {};
|
|
610
|
+
var $b3e9ffeb15459144$exports = {};
|
|
611
|
+
$b3e9ffeb15459144$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}\"}");
|
|
611
612
|
|
|
612
613
|
|
|
613
|
-
var $
|
|
614
|
-
$
|
|
614
|
+
var $ad779cb1d4e531ff$exports = {};
|
|
615
|
+
$ad779cb1d4e531ff$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}\"}");
|
|
615
616
|
|
|
616
617
|
|
|
617
|
-
var $
|
|
618
|
-
$
|
|
618
|
+
var $29994fbbd364dec0$exports = {};
|
|
619
|
+
$29994fbbd364dec0$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}\"}");
|
|
619
620
|
|
|
620
621
|
|
|
621
|
-
var $
|
|
622
|
-
$
|
|
622
|
+
var $48f6d2a0bc9fa38a$exports = {};
|
|
623
|
+
$48f6d2a0bc9fa38a$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}\"}");
|
|
623
624
|
|
|
624
625
|
|
|
625
|
-
var $
|
|
626
|
-
$
|
|
626
|
+
var $fb6e474f6a00346f$exports = {};
|
|
627
|
+
$fb6e474f6a00346f$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\"}");
|
|
627
628
|
|
|
628
629
|
|
|
629
|
-
var $
|
|
630
|
-
$
|
|
630
|
+
var $c0b89b189df9611e$exports = {};
|
|
631
|
+
$c0b89b189df9611e$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 $89a398a3c9db2677$exports = {};
|
|
635
|
+
$89a398a3c9db2677$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}\"}");
|
|
635
636
|
|
|
636
637
|
|
|
637
|
-
var $
|
|
638
|
-
$
|
|
638
|
+
var $8c0637056be79b96$exports = {};
|
|
639
|
+
$8c0637056be79b96$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}\"}");
|
|
639
640
|
|
|
640
641
|
|
|
641
|
-
var $
|
|
642
|
-
$
|
|
642
|
+
var $1c03357989c934d0$exports = {};
|
|
643
|
+
$1c03357989c934d0$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\"}");
|
|
643
644
|
|
|
644
645
|
|
|
645
|
-
var $
|
|
646
|
-
$
|
|
646
|
+
var $d45e8e252ac1c23c$exports = {};
|
|
647
|
+
$d45e8e252ac1c23c$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\"}");
|
|
647
648
|
|
|
648
649
|
|
|
649
|
-
var $
|
|
650
|
-
$
|
|
650
|
+
var $a4459c6466676700$exports = {};
|
|
651
|
+
$a4459c6466676700$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}\"}");
|
|
651
652
|
|
|
652
653
|
|
|
653
|
-
var $
|
|
654
|
-
$
|
|
654
|
+
var $7a778cf297dde413$exports = {};
|
|
655
|
+
$7a778cf297dde413$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}\"}");
|
|
655
656
|
|
|
656
657
|
|
|
657
|
-
var $
|
|
658
|
-
$
|
|
658
|
+
var $893718e7e304536d$exports = {};
|
|
659
|
+
$893718e7e304536d$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}\"}");
|
|
659
660
|
|
|
660
661
|
|
|
661
|
-
var $
|
|
662
|
-
$
|
|
662
|
+
var $507015104652b0f9$exports = {};
|
|
663
|
+
$507015104652b0f9$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é\"}");
|
|
663
664
|
|
|
664
665
|
|
|
665
|
-
var $
|
|
666
|
-
$
|
|
666
|
+
var $643ddbb0f6e665f7$exports = {};
|
|
667
|
+
$643ddbb0f6e665f7$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}\"}");
|
|
667
668
|
|
|
668
669
|
|
|
669
|
-
var $
|
|
670
|
-
$
|
|
670
|
+
var $7fe85cb4857676b3$exports = {};
|
|
671
|
+
$7fe85cb4857676b3$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} の間に挿入\"}");
|
|
671
672
|
|
|
672
673
|
|
|
673
|
-
var $
|
|
674
|
-
$
|
|
674
|
+
var $012e0fcadcd103a3$exports = {};
|
|
675
|
+
$012e0fcadcd103a3$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} 사이에 삽입\"}");
|
|
675
676
|
|
|
676
677
|
|
|
677
|
-
var $
|
|
678
|
-
$
|
|
678
|
+
var $63f6b6fe221a0ddd$exports = {};
|
|
679
|
+
$63f6b6fe221a0ddd$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}\"}");
|
|
679
680
|
|
|
680
681
|
|
|
681
|
-
var $
|
|
682
|
-
$
|
|
682
|
+
var $347ae3e4b031a987$exports = {};
|
|
683
|
+
$347ae3e4b031a987$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}\"}");
|
|
683
684
|
|
|
684
685
|
|
|
685
|
-
var $
|
|
686
|
-
$
|
|
686
|
+
var $3dfc5d85b653faf9$exports = {};
|
|
687
|
+
$3dfc5d85b653faf9$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}\"}");
|
|
687
688
|
|
|
688
689
|
|
|
689
|
-
var $
|
|
690
|
-
$
|
|
690
|
+
var $8e7c139744116fca$exports = {};
|
|
691
|
+
$8e7c139744116fca$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}\"}");
|
|
691
692
|
|
|
692
693
|
|
|
693
|
-
var $
|
|
694
|
-
$
|
|
694
|
+
var $2d3ac65f47ad7d16$exports = {};
|
|
695
|
+
$2d3ac65f47ad7d16$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}\"}");
|
|
695
696
|
|
|
696
697
|
|
|
697
|
-
var $
|
|
698
|
-
$
|
|
698
|
+
var $a9fd6c4feef48dda$exports = {};
|
|
699
|
+
$a9fd6c4feef48dda$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}\"}");
|
|
699
700
|
|
|
700
701
|
|
|
701
|
-
var $
|
|
702
|
-
$
|
|
702
|
+
var $2f01879a1fb057ab$exports = {};
|
|
703
|
+
$2f01879a1fb057ab$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}\"}");
|
|
703
704
|
|
|
704
705
|
|
|
705
|
-
var $
|
|
706
|
-
$
|
|
706
|
+
var $50c0f6763e8e2999$exports = {};
|
|
707
|
+
$50c0f6763e8e2999$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}\"}");
|
|
707
708
|
|
|
708
709
|
|
|
709
|
-
var $
|
|
710
|
-
$
|
|
710
|
+
var $7cfa25c9eb4e6990$exports = {};
|
|
711
|
+
$7cfa25c9eb4e6990$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}\"}");
|
|
711
712
|
|
|
712
713
|
|
|
713
|
-
var $
|
|
714
|
-
$
|
|
714
|
+
var $0f1cca33545b9af5$exports = {};
|
|
715
|
+
$0f1cca33545b9af5$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}\"}");
|
|
715
716
|
|
|
716
717
|
|
|
717
|
-
var $
|
|
718
|
-
$
|
|
718
|
+
var $81f62b8c63c0c93d$exports = {};
|
|
719
|
+
$81f62b8c63c0c93d$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}\"}");
|
|
719
720
|
|
|
720
721
|
|
|
721
|
-
var $
|
|
722
|
-
$
|
|
722
|
+
var $f0dbfc67a1761d76$exports = {};
|
|
723
|
+
$f0dbfc67a1761d76$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}\"}");
|
|
723
724
|
|
|
724
725
|
|
|
725
|
-
var $
|
|
726
|
-
$
|
|
726
|
+
var $5bd6b260cb1080bb$exports = {};
|
|
727
|
+
$5bd6b260cb1080bb$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}\"}");
|
|
727
728
|
|
|
728
729
|
|
|
729
|
-
var $
|
|
730
|
-
$
|
|
730
|
+
var $5c75742418802c0b$exports = {};
|
|
731
|
+
$5c75742418802c0b$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\"}");
|
|
731
732
|
|
|
732
733
|
|
|
733
|
-
var $
|
|
734
|
-
$
|
|
734
|
+
var $d4b68b91360d6e88$exports = {};
|
|
735
|
+
$d4b68b91360d6e88$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}\"}");
|
|
735
736
|
|
|
736
737
|
|
|
737
|
-
var $
|
|
738
|
-
$
|
|
738
|
+
var $f804e96b8b251faa$exports = {};
|
|
739
|
+
$f804e96b8b251faa$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} 之间\"}");
|
|
739
740
|
|
|
740
741
|
|
|
741
|
-
var $
|
|
742
|
-
$
|
|
742
|
+
var $474a7011d80ad185$exports = {};
|
|
743
|
+
$474a7011d80ad185$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}」之間\"}");
|
|
743
744
|
|
|
744
745
|
|
|
745
|
-
$
|
|
746
|
-
"ar-AE": $
|
|
747
|
-
"bg-BG": $
|
|
748
|
-
"cs-CZ": $
|
|
749
|
-
"da-DK": $
|
|
750
|
-
"de-DE": $
|
|
751
|
-
"el-GR": $
|
|
752
|
-
"en-US": $
|
|
753
|
-
"es-ES": $
|
|
754
|
-
"et-EE": $
|
|
755
|
-
"fi-FI": $
|
|
756
|
-
"fr-FR": $
|
|
757
|
-
"he-IL": $
|
|
758
|
-
"hr-HR": $
|
|
759
|
-
"hu-HU": $
|
|
760
|
-
"it-IT": $
|
|
761
|
-
"ja-JP": $
|
|
762
|
-
"ko-KR": $
|
|
763
|
-
"lt-LT": $
|
|
764
|
-
"lv-LV": $
|
|
765
|
-
"nb-NO": $
|
|
766
|
-
"nl-NL": $
|
|
767
|
-
"pl-PL": $
|
|
768
|
-
"pt-BR": $
|
|
769
|
-
"pt-PT": $
|
|
770
|
-
"ro-RO": $
|
|
771
|
-
"ru-RU": $
|
|
772
|
-
"sk-SK": $
|
|
773
|
-
"sl-SI": $
|
|
774
|
-
"sr-SP": $
|
|
775
|
-
"sv-SE": $
|
|
776
|
-
"tr-TR": $
|
|
777
|
-
"uk-UA": $
|
|
778
|
-
"zh-CN": $
|
|
779
|
-
"zh-TW": $
|
|
746
|
+
$570b43ebcd82e11f$exports = {
|
|
747
|
+
"ar-AE": $b3e9ffeb15459144$exports,
|
|
748
|
+
"bg-BG": $ad779cb1d4e531ff$exports,
|
|
749
|
+
"cs-CZ": $29994fbbd364dec0$exports,
|
|
750
|
+
"da-DK": $48f6d2a0bc9fa38a$exports,
|
|
751
|
+
"de-DE": $fb6e474f6a00346f$exports,
|
|
752
|
+
"el-GR": $c0b89b189df9611e$exports,
|
|
753
|
+
"en-US": $89a398a3c9db2677$exports,
|
|
754
|
+
"es-ES": $8c0637056be79b96$exports,
|
|
755
|
+
"et-EE": $1c03357989c934d0$exports,
|
|
756
|
+
"fi-FI": $d45e8e252ac1c23c$exports,
|
|
757
|
+
"fr-FR": $a4459c6466676700$exports,
|
|
758
|
+
"he-IL": $7a778cf297dde413$exports,
|
|
759
|
+
"hr-HR": $893718e7e304536d$exports,
|
|
760
|
+
"hu-HU": $507015104652b0f9$exports,
|
|
761
|
+
"it-IT": $643ddbb0f6e665f7$exports,
|
|
762
|
+
"ja-JP": $7fe85cb4857676b3$exports,
|
|
763
|
+
"ko-KR": $012e0fcadcd103a3$exports,
|
|
764
|
+
"lt-LT": $63f6b6fe221a0ddd$exports,
|
|
765
|
+
"lv-LV": $347ae3e4b031a987$exports,
|
|
766
|
+
"nb-NO": $3dfc5d85b653faf9$exports,
|
|
767
|
+
"nl-NL": $8e7c139744116fca$exports,
|
|
768
|
+
"pl-PL": $2d3ac65f47ad7d16$exports,
|
|
769
|
+
"pt-BR": $a9fd6c4feef48dda$exports,
|
|
770
|
+
"pt-PT": $2f01879a1fb057ab$exports,
|
|
771
|
+
"ro-RO": $50c0f6763e8e2999$exports,
|
|
772
|
+
"ru-RU": $7cfa25c9eb4e6990$exports,
|
|
773
|
+
"sk-SK": $0f1cca33545b9af5$exports,
|
|
774
|
+
"sl-SI": $81f62b8c63c0c93d$exports,
|
|
775
|
+
"sr-SP": $f0dbfc67a1761d76$exports,
|
|
776
|
+
"sv-SE": $5bd6b260cb1080bb$exports,
|
|
777
|
+
"tr-TR": $5c75742418802c0b$exports,
|
|
778
|
+
"uk-UA": $d4b68b91360d6e88$exports,
|
|
779
|
+
"zh-CN": $f804e96b8b251faa$exports,
|
|
780
|
+
"zh-TW": $474a7011d80ad185$exports
|
|
780
781
|
};
|
|
781
782
|
|
|
782
783
|
|
|
@@ -785,7 +786,7 @@ $56fb93a531e5f155$exports = {
|
|
|
785
786
|
|
|
786
787
|
|
|
787
788
|
|
|
788
|
-
const $
|
|
789
|
+
const $fd21d4ef39f74060$var$MESSAGES = {
|
|
789
790
|
keyboard: {
|
|
790
791
|
start: 'dragDescriptionKeyboard',
|
|
791
792
|
end: 'endDragKeyboard'
|
|
@@ -799,23 +800,23 @@ const $98f744b02c510da7$var$MESSAGES = {
|
|
|
799
800
|
end: 'endDragVirtual'
|
|
800
801
|
}
|
|
801
802
|
};
|
|
802
|
-
function $
|
|
803
|
-
let formatMessage = $
|
|
804
|
-
let state = $
|
|
803
|
+
function $fd21d4ef39f74060$export$7941f8aafa4b6021(options) {
|
|
804
|
+
let formatMessage = $68NDG$useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($570b43ebcd82e11f$exports)));
|
|
805
|
+
let state = $68NDG$useRef({
|
|
805
806
|
options: options,
|
|
806
807
|
x: 0,
|
|
807
808
|
y: 0
|
|
808
809
|
}).current;
|
|
809
810
|
state.options = options;
|
|
810
|
-
let [isDragging, setDragging] = $
|
|
811
|
+
let [isDragging, setDragging] = $68NDG$useState(false);
|
|
811
812
|
let onDragStart = (e)=>{
|
|
812
813
|
let items = options.getItems();
|
|
813
|
-
$
|
|
814
|
+
$8e71d0478f045349$export$f9c1490890ddd063(e.dataTransfer, items);
|
|
814
815
|
if (typeof options.getAllowedDropOperations === 'function') {
|
|
815
816
|
let allowedOperations = options.getAllowedDropOperations();
|
|
816
|
-
let allowed = $
|
|
817
|
-
for (let operation of allowedOperations)allowed |= $
|
|
818
|
-
e.dataTransfer.effectAllowed = $
|
|
817
|
+
let allowed = $752cacd37d0ace61$export$60b7b4bcf3903d8e.none;
|
|
818
|
+
for (let operation of allowedOperations)allowed |= $752cacd37d0ace61$export$60b7b4bcf3903d8e[operation] || $752cacd37d0ace61$export$60b7b4bcf3903d8e.none;
|
|
819
|
+
e.dataTransfer.effectAllowed = $752cacd37d0ace61$export$dd0165308d8bff45[allowed] || 'none';
|
|
819
820
|
}
|
|
820
821
|
// If there is a renderPreview function, use it to render a custom preview image that will
|
|
821
822
|
// appear under the pointer while dragging. If not, the element itself is dragged by the browser.
|
|
@@ -830,7 +831,7 @@ function $98f744b02c510da7$export$7941f8aafa4b6021(options) {
|
|
|
830
831
|
node.style.left = '-100000px';
|
|
831
832
|
document.body.appendChild(node);
|
|
832
833
|
// Call renderPreview to get a JSX element, and render it into the div with React DOM.
|
|
833
|
-
$
|
|
834
|
+
$68NDG$reactdom.render(preview, node);
|
|
834
835
|
// Compute the offset that the preview will appear under the mouse.
|
|
835
836
|
// If possible, this is based on the point the user clicked on the target.
|
|
836
837
|
// If the preview is much smaller, then just use the center point of the preview.
|
|
@@ -877,7 +878,7 @@ function $98f744b02c510da7$export$7941f8aafa4b6021(options) {
|
|
|
877
878
|
type: 'dragend',
|
|
878
879
|
x: e.clientX,
|
|
879
880
|
y: e.clientY,
|
|
880
|
-
dropOperation: $
|
|
881
|
+
dropOperation: $752cacd37d0ace61$export$608ecc6f1b23c35d[e.dataTransfer.dropEffect]
|
|
881
882
|
});
|
|
882
883
|
setDragging(false);
|
|
883
884
|
};
|
|
@@ -891,7 +892,7 @@ function $98f744b02c510da7$export$7941f8aafa4b6021(options) {
|
|
|
891
892
|
y: rect.y + rect.height / 2
|
|
892
893
|
});
|
|
893
894
|
}
|
|
894
|
-
$
|
|
895
|
+
$3ff2dbc10bf5c0b8$export$549dbcf8649bf3b2({
|
|
895
896
|
element: e1.target,
|
|
896
897
|
items: state.options.getItems(),
|
|
897
898
|
allowedDropOperations: typeof state.options.getAllowedDropOperations === 'function' ? state.options.getAllowedDropOperations() : [
|
|
@@ -906,8 +907,8 @@ function $98f744b02c510da7$export$7941f8aafa4b6021(options) {
|
|
|
906
907
|
}, formatMessage);
|
|
907
908
|
setDragging(true);
|
|
908
909
|
};
|
|
909
|
-
let modality = $
|
|
910
|
-
let descriptionProps = $
|
|
910
|
+
let modality = $8e71d0478f045349$export$49bac5d6d4b352ea();
|
|
911
|
+
let descriptionProps = $68NDG$useDescription(formatMessage(!isDragging ? $fd21d4ef39f74060$var$MESSAGES[modality].start : $fd21d4ef39f74060$var$MESSAGES[modality].end));
|
|
911
912
|
return {
|
|
912
913
|
dragProps: {
|
|
913
914
|
draggable: 'true',
|
|
@@ -924,9 +925,9 @@ function $98f744b02c510da7$export$7941f8aafa4b6021(options) {
|
|
|
924
925
|
}
|
|
925
926
|
|
|
926
927
|
|
|
927
|
-
var $
|
|
928
|
+
var $c68dfee587607bbe$exports = {};
|
|
928
929
|
|
|
929
|
-
$parcel$export($
|
|
930
|
+
$parcel$export($c68dfee587607bbe$exports, "useDrop", () => $c68dfee587607bbe$export$ccdee5eaf73cf661);
|
|
930
931
|
|
|
931
932
|
|
|
932
933
|
|
|
@@ -937,16 +938,16 @@ $parcel$export($0da183e6051d30ca$exports, "useDrop", () => $0da183e6051d30ca$exp
|
|
|
937
938
|
|
|
938
939
|
|
|
939
940
|
|
|
940
|
-
const $
|
|
941
|
+
const $3aee5decbf98b057$var$MESSAGES = {
|
|
941
942
|
keyboard: 'dropDescriptionKeyboard',
|
|
942
943
|
touch: 'dropDescriptionTouch',
|
|
943
944
|
virtual: 'dropDescriptionVirtual'
|
|
944
945
|
};
|
|
945
|
-
function $
|
|
946
|
-
let formatMessage = $
|
|
947
|
-
let modality = $
|
|
948
|
-
let dragSession = $
|
|
949
|
-
let descriptionProps = $
|
|
946
|
+
function $3aee5decbf98b057$export$62447ad3d2ec7da6() {
|
|
947
|
+
let formatMessage = $68NDG$useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($570b43ebcd82e11f$exports)));
|
|
948
|
+
let modality = $8e71d0478f045349$export$49bac5d6d4b352ea();
|
|
949
|
+
let dragSession = $3ff2dbc10bf5c0b8$export$418e185dd3f1b968();
|
|
950
|
+
let descriptionProps = $68NDG$useDescription(dragSession ? formatMessage($3aee5decbf98b057$var$MESSAGES[modality]) : '');
|
|
950
951
|
return {
|
|
951
952
|
dropProps: {
|
|
952
953
|
...descriptionProps,
|
|
@@ -962,10 +963,10 @@ function $354c3dcb83b4da5c$export$62447ad3d2ec7da6() {
|
|
|
962
963
|
}
|
|
963
964
|
|
|
964
965
|
|
|
965
|
-
const $
|
|
966
|
-
function $
|
|
967
|
-
let [isDropTarget, setDropTarget] = $
|
|
968
|
-
let state = $
|
|
966
|
+
const $c68dfee587607bbe$var$DROP_ACTIVATE_TIMEOUT = 800;
|
|
967
|
+
function $c68dfee587607bbe$export$ccdee5eaf73cf661(options) {
|
|
968
|
+
let [isDropTarget, setDropTarget] = $68NDG$useState(false);
|
|
969
|
+
let state = $68NDG$useRef({
|
|
969
970
|
x: 0,
|
|
970
971
|
y: 0,
|
|
971
972
|
dragEnterCount: 0,
|
|
@@ -982,11 +983,11 @@ function $0da183e6051d30ca$export$ccdee5eaf73cf661(options) {
|
|
|
982
983
|
state.x = e.clientX;
|
|
983
984
|
state.y = e.clientY;
|
|
984
985
|
if (typeof options.getDropOperationForPoint === 'function') {
|
|
985
|
-
let allowedOperations = $
|
|
986
|
-
let types = new $
|
|
986
|
+
let allowedOperations = $c68dfee587607bbe$var$effectAllowedToOperations(e.dataTransfer.effectAllowed);
|
|
987
|
+
let types = new $8e71d0478f045349$export$7f04ce188c91447c(e.dataTransfer);
|
|
987
988
|
let rect = e.currentTarget.getBoundingClientRect();
|
|
988
989
|
let dropOperation = options.getDropOperationForPoint(types, allowedOperations, state.x - rect.x, state.y - rect.y);
|
|
989
|
-
state.dropEffect = $
|
|
990
|
+
state.dropEffect = $752cacd37d0ace61$export$5eacb0769d26d3b2[dropOperation] || 'none';
|
|
990
991
|
}
|
|
991
992
|
e.dataTransfer.dropEffect = state.dropEffect;
|
|
992
993
|
if (typeof options.onDropMove === 'function') {
|
|
@@ -1006,26 +1007,26 @@ function $0da183e6051d30ca$export$ccdee5eaf73cf661(options) {
|
|
|
1006
1007
|
x: state.x - rect.x,
|
|
1007
1008
|
y: state.y - rect.y
|
|
1008
1009
|
});
|
|
1009
|
-
}, $
|
|
1010
|
+
}, $c68dfee587607bbe$var$DROP_ACTIVATE_TIMEOUT);
|
|
1010
1011
|
}
|
|
1011
1012
|
};
|
|
1012
1013
|
let onDragEnter = (e)=>{
|
|
1013
1014
|
e.stopPropagation();
|
|
1014
1015
|
state.dragEnterCount++;
|
|
1015
1016
|
if (state.dragEnterCount > 1) return;
|
|
1016
|
-
let allowedOperations = $
|
|
1017
|
+
let allowedOperations = $c68dfee587607bbe$var$effectAllowedToOperations(e.dataTransfer.effectAllowed);
|
|
1017
1018
|
let dropOperation = allowedOperations[0];
|
|
1018
1019
|
if (typeof options.getDropOperation === 'function') {
|
|
1019
|
-
let types = new $
|
|
1020
|
+
let types = new $8e71d0478f045349$export$7f04ce188c91447c(e.dataTransfer);
|
|
1020
1021
|
dropOperation = options.getDropOperation(types, allowedOperations);
|
|
1021
1022
|
}
|
|
1022
1023
|
if (dropOperation !== 'cancel') setDropTarget(true);
|
|
1023
1024
|
if (typeof options.getDropOperationForPoint === 'function') {
|
|
1024
|
-
let types = new $
|
|
1025
|
+
let types = new $8e71d0478f045349$export$7f04ce188c91447c(e.dataTransfer);
|
|
1025
1026
|
let rect = e.currentTarget.getBoundingClientRect();
|
|
1026
1027
|
dropOperation = options.getDropOperationForPoint(types, allowedOperations, e.clientX - rect.x, e.clientY - rect.y);
|
|
1027
1028
|
}
|
|
1028
|
-
state.dropEffect = $
|
|
1029
|
+
state.dropEffect = $752cacd37d0ace61$export$5eacb0769d26d3b2[dropOperation] || 'none';
|
|
1029
1030
|
e.dataTransfer.dropEffect = state.dropEffect;
|
|
1030
1031
|
if (typeof options.onDropEnter === 'function' && dropOperation !== 'cancel') {
|
|
1031
1032
|
let rect = e.currentTarget.getBoundingClientRect();
|
|
@@ -1057,8 +1058,8 @@ function $0da183e6051d30ca$export$ccdee5eaf73cf661(options) {
|
|
|
1057
1058
|
e.preventDefault();
|
|
1058
1059
|
e.stopPropagation();
|
|
1059
1060
|
if (typeof options.onDrop === 'function') {
|
|
1060
|
-
let dropOperation = $
|
|
1061
|
-
let items = $
|
|
1061
|
+
let dropOperation = $752cacd37d0ace61$export$608ecc6f1b23c35d[state.dropEffect];
|
|
1062
|
+
let items = $8e71d0478f045349$export$d9e760437831f8b3(e.dataTransfer);
|
|
1062
1063
|
let rect = e.currentTarget.getBoundingClientRect();
|
|
1063
1064
|
let event = {
|
|
1064
1065
|
type: 'drop',
|
|
@@ -1087,9 +1088,9 @@ function $0da183e6051d30ca$export$ccdee5eaf73cf661(options) {
|
|
|
1087
1088
|
setDropTarget(false);
|
|
1088
1089
|
clearTimeout(state.dropActivateTimer);
|
|
1089
1090
|
};
|
|
1090
|
-
let optionsRef = $
|
|
1091
|
+
let optionsRef = $68NDG$useRef(options);
|
|
1091
1092
|
optionsRef.current = options;
|
|
1092
|
-
$
|
|
1093
|
+
$68NDG$useLayoutEffect(()=>$3ff2dbc10bf5c0b8$export$c28d9fb4a54e471a({
|
|
1093
1094
|
element: optionsRef.current.ref.current,
|
|
1094
1095
|
getDropOperation: optionsRef.current.getDropOperation,
|
|
1095
1096
|
onDropEnter (e) {
|
|
@@ -1110,7 +1111,7 @@ function $0da183e6051d30ca$export$ccdee5eaf73cf661(options) {
|
|
|
1110
1111
|
, [
|
|
1111
1112
|
optionsRef
|
|
1112
1113
|
]);
|
|
1113
|
-
let { dropProps: dropProps } = $
|
|
1114
|
+
let { dropProps: dropProps } = $3aee5decbf98b057$export$62447ad3d2ec7da6();
|
|
1114
1115
|
return {
|
|
1115
1116
|
dropProps: {
|
|
1116
1117
|
...dropProps,
|
|
@@ -1122,19 +1123,19 @@ function $0da183e6051d30ca$export$ccdee5eaf73cf661(options) {
|
|
|
1122
1123
|
isDropTarget: isDropTarget
|
|
1123
1124
|
};
|
|
1124
1125
|
}
|
|
1125
|
-
function $
|
|
1126
|
-
let allowedOperationsBits = $
|
|
1126
|
+
function $c68dfee587607bbe$var$effectAllowedToOperations(effectAllowed) {
|
|
1127
|
+
let allowedOperationsBits = $752cacd37d0ace61$export$9bbdfc78cf083e16[effectAllowed];
|
|
1127
1128
|
let allowedOperations = [];
|
|
1128
|
-
if (allowedOperationsBits & $
|
|
1129
|
-
if (allowedOperationsBits & $
|
|
1130
|
-
if (allowedOperationsBits & $
|
|
1129
|
+
if (allowedOperationsBits & $752cacd37d0ace61$export$60b7b4bcf3903d8e.move) allowedOperations.push('move');
|
|
1130
|
+
if (allowedOperationsBits & $752cacd37d0ace61$export$60b7b4bcf3903d8e.copy) allowedOperations.push('copy');
|
|
1131
|
+
if (allowedOperationsBits & $752cacd37d0ace61$export$60b7b4bcf3903d8e.link) allowedOperations.push('link');
|
|
1131
1132
|
return allowedOperations;
|
|
1132
1133
|
}
|
|
1133
1134
|
|
|
1134
1135
|
|
|
1135
|
-
var $
|
|
1136
|
+
var $9ca0e158e516b9bb$exports = {};
|
|
1136
1137
|
|
|
1137
|
-
$parcel$export($
|
|
1138
|
+
$parcel$export($9ca0e158e516b9bb$exports, "useDroppableCollection", () => $9ca0e158e516b9bb$export$f4e2f423c21f7b04);
|
|
1138
1139
|
|
|
1139
1140
|
|
|
1140
1141
|
|
|
@@ -1142,20 +1143,20 @@ $parcel$export($84a095b08b269050$exports, "useDroppableCollection", () => $84a09
|
|
|
1142
1143
|
|
|
1143
1144
|
|
|
1144
1145
|
|
|
1145
|
-
const $
|
|
1146
|
-
function $
|
|
1147
|
-
let scrollableRef = $
|
|
1148
|
-
$
|
|
1149
|
-
if (ref.current) scrollableRef.current = $
|
|
1146
|
+
const $70a47f6ec683dbce$var$AUTOSCROLL_AREA_SIZE = 20;
|
|
1147
|
+
function $70a47f6ec683dbce$export$6323452ca4533ed8(ref) {
|
|
1148
|
+
let scrollableRef = $68NDG$useRef(null);
|
|
1149
|
+
$68NDG$useEffect(()=>{
|
|
1150
|
+
if (ref.current) scrollableRef.current = $68NDG$getScrollParent(ref.current);
|
|
1150
1151
|
}, [
|
|
1151
1152
|
ref
|
|
1152
1153
|
]);
|
|
1153
|
-
let state = $
|
|
1154
|
+
let state = $68NDG$useRef({
|
|
1154
1155
|
timer: null,
|
|
1155
1156
|
dx: 0,
|
|
1156
1157
|
dy: 0
|
|
1157
1158
|
}).current;
|
|
1158
|
-
let scroll = $
|
|
1159
|
+
let scroll = $68NDG$useCallback(()=>{
|
|
1159
1160
|
scrollableRef.current.scrollLeft += state.dx;
|
|
1160
1161
|
scrollableRef.current.scrollTop += state.dy;
|
|
1161
1162
|
if (state.timer) state.timer = requestAnimationFrame(scroll);
|
|
@@ -1167,12 +1168,12 @@ function $643307e080d84be7$export$6323452ca4533ed8(ref) {
|
|
|
1167
1168
|
move (x, y) {
|
|
1168
1169
|
// Most browsers auto scroll natively, but WebKit on macOS does not (iOS does 🤷♂️).
|
|
1169
1170
|
// https://bugs.webkit.org/show_bug.cgi?id=222636
|
|
1170
|
-
if (!$
|
|
1171
|
+
if (!$68NDG$isWebKit() || $68NDG$isIOS() || !scrollableRef.current) return;
|
|
1171
1172
|
let box = scrollableRef.current.getBoundingClientRect();
|
|
1172
|
-
let left = $
|
|
1173
|
-
let top = $
|
|
1174
|
-
let bottom = box.height - $
|
|
1175
|
-
let right = box.width - $
|
|
1173
|
+
let left = $70a47f6ec683dbce$var$AUTOSCROLL_AREA_SIZE;
|
|
1174
|
+
let top = $70a47f6ec683dbce$var$AUTOSCROLL_AREA_SIZE;
|
|
1175
|
+
let bottom = box.height - $70a47f6ec683dbce$var$AUTOSCROLL_AREA_SIZE;
|
|
1176
|
+
let right = box.width - $70a47f6ec683dbce$var$AUTOSCROLL_AREA_SIZE;
|
|
1176
1177
|
if (x < left || x > right || y < top || y > bottom) {
|
|
1177
1178
|
if (x < left) state.dx = x - left;
|
|
1178
1179
|
else if (x > right) state.dx = x - right;
|
|
@@ -1193,13 +1194,13 @@ function $643307e080d84be7$export$6323452ca4533ed8(ref) {
|
|
|
1193
1194
|
|
|
1194
1195
|
|
|
1195
1196
|
|
|
1196
|
-
const $
|
|
1197
|
+
const $9ca0e158e516b9bb$var$DROP_POSITIONS = [
|
|
1197
1198
|
'before',
|
|
1198
1199
|
'on',
|
|
1199
1200
|
'after'
|
|
1200
1201
|
];
|
|
1201
|
-
function $
|
|
1202
|
-
let localState = $
|
|
1202
|
+
function $9ca0e158e516b9bb$export$f4e2f423c21f7b04(props, state1, ref2) {
|
|
1203
|
+
let localState = $68NDG$useRef({
|
|
1203
1204
|
props: props,
|
|
1204
1205
|
state: state1,
|
|
1205
1206
|
nextTarget: null,
|
|
@@ -1207,9 +1208,9 @@ function $84a095b08b269050$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1207
1208
|
}).current;
|
|
1208
1209
|
localState.props = props;
|
|
1209
1210
|
localState.state = state1;
|
|
1210
|
-
let autoScroll = $
|
|
1211
|
-
let { dropProps: dropProps } = $
|
|
1212
|
-
ref:
|
|
1211
|
+
let autoScroll = $70a47f6ec683dbce$export$6323452ca4533ed8(ref2);
|
|
1212
|
+
let { dropProps: dropProps } = $c68dfee587607bbe$export$ccdee5eaf73cf661({
|
|
1213
|
+
ref: ref2,
|
|
1213
1214
|
onDropEnter (e) {
|
|
1214
1215
|
let target = props.getDropTargetFromPoint(e.x, e.y);
|
|
1215
1216
|
state1.setTarget(target);
|
|
@@ -1249,7 +1250,8 @@ function $84a095b08b269050$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1249
1250
|
autoScroll.stop();
|
|
1250
1251
|
},
|
|
1251
1252
|
onDropActivate (e) {
|
|
1252
|
-
|
|
1253
|
+
var ref, ref1;
|
|
1254
|
+
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({
|
|
1253
1255
|
type: 'dropactivate',
|
|
1254
1256
|
x: e.x,
|
|
1255
1257
|
y: e.y,
|
|
@@ -1260,8 +1262,8 @@ function $84a095b08b269050$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1260
1262
|
if (state1.target && typeof props.onDrop === 'function') onDrop(e, state1.target);
|
|
1261
1263
|
}
|
|
1262
1264
|
});
|
|
1263
|
-
let droppingState = $
|
|
1264
|
-
let onDrop = $
|
|
1265
|
+
let droppingState = $68NDG$useRef(null);
|
|
1266
|
+
let onDrop = $68NDG$useCallback((e, target)=>{
|
|
1265
1267
|
let { state: state2 } = localState;
|
|
1266
1268
|
// Focus the collection.
|
|
1267
1269
|
state2.selectionManager.setFocused(true);
|
|
@@ -1294,8 +1296,8 @@ function $84a095b08b269050$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1294
1296
|
if (target.type === 'item' && target.dropPosition === 'on' && state.collection.getItem(target.key) != null) {
|
|
1295
1297
|
state.selectionManager.setFocusedKey(target.key);
|
|
1296
1298
|
state.selectionManager.setFocused(true);
|
|
1297
|
-
$
|
|
1298
|
-
} else if (!state.selectionManager.isSelected(focusedKey)) $
|
|
1299
|
+
$68NDG$setInteractionModality('keyboard');
|
|
1300
|
+
} else if (!state.selectionManager.isSelected(focusedKey)) $68NDG$setInteractionModality('keyboard');
|
|
1299
1301
|
}
|
|
1300
1302
|
droppingState.current = null;
|
|
1301
1303
|
}, 50);
|
|
@@ -1303,12 +1305,12 @@ function $84a095b08b269050$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1303
1305
|
localState
|
|
1304
1306
|
]);
|
|
1305
1307
|
// eslint-disable-next-line arrow-body-style
|
|
1306
|
-
$
|
|
1308
|
+
$68NDG$useEffect(()=>{
|
|
1307
1309
|
return ()=>{
|
|
1308
1310
|
if (droppingState.current) clearTimeout(droppingState.current.timeout);
|
|
1309
1311
|
};
|
|
1310
1312
|
}, []);
|
|
1311
|
-
$
|
|
1313
|
+
$68NDG$useLayoutEffect(()=>{
|
|
1312
1314
|
// If an insert occurs during a drop, we want to immediately select these items to give
|
|
1313
1315
|
// feedback to the user that a drop occurred. Only do this if the selection didn't change
|
|
1314
1316
|
// since the drop started so we don't override if the user or application did something.
|
|
@@ -1322,12 +1324,12 @@ function $84a095b08b269050$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1322
1324
|
if (state1.selectionManager.focusedKey === droppingState.current.focusedKey) {
|
|
1323
1325
|
let first = newKeys.keys().next().value;
|
|
1324
1326
|
state1.selectionManager.setFocusedKey(first);
|
|
1325
|
-
if (state1.selectionManager.selectionMode === 'none') $
|
|
1327
|
+
if (state1.selectionManager.selectionMode === 'none') $68NDG$setInteractionModality('keyboard');
|
|
1326
1328
|
}
|
|
1327
1329
|
droppingState.current = null;
|
|
1328
1330
|
}
|
|
1329
1331
|
});
|
|
1330
|
-
$
|
|
1332
|
+
$68NDG$useEffect(()=>{
|
|
1331
1333
|
let getNextTarget1 = (target, wrap = true)=>{
|
|
1332
1334
|
if (!target) return {
|
|
1333
1335
|
type: 'root'
|
|
@@ -1336,9 +1338,9 @@ function $84a095b08b269050$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1336
1338
|
let nextKey = target.type === 'item' ? keyboardDelegate.getKeyBelow(target.key) : keyboardDelegate.getFirstKey();
|
|
1337
1339
|
let dropPosition = 'before';
|
|
1338
1340
|
if (target.type === 'item') {
|
|
1339
|
-
let positionIndex = $
|
|
1340
|
-
let nextDropPosition = $
|
|
1341
|
-
if (positionIndex < $
|
|
1341
|
+
let positionIndex = $9ca0e158e516b9bb$var$DROP_POSITIONS.indexOf(target.dropPosition);
|
|
1342
|
+
let nextDropPosition = $9ca0e158e516b9bb$var$DROP_POSITIONS[positionIndex + 1];
|
|
1343
|
+
if (positionIndex < $9ca0e158e516b9bb$var$DROP_POSITIONS.length - 1 && !(nextDropPosition === 'after' && nextKey != null)) return {
|
|
1342
1344
|
type: 'item',
|
|
1343
1345
|
key: target.key,
|
|
1344
1346
|
dropPosition: nextDropPosition
|
|
@@ -1361,11 +1363,11 @@ function $84a095b08b269050$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1361
1363
|
};
|
|
1362
1364
|
let getPreviousTarget = (target, wrap = true)=>{
|
|
1363
1365
|
let { keyboardDelegate: keyboardDelegate } = localState.props;
|
|
1364
|
-
let nextKey = target
|
|
1366
|
+
let nextKey = (target === null || target === void 0 ? void 0 : target.type) === 'item' ? keyboardDelegate.getKeyAbove(target.key) : keyboardDelegate.getLastKey();
|
|
1365
1367
|
let dropPosition = !target || target.type === 'root' ? 'after' : 'on';
|
|
1366
|
-
if (target
|
|
1367
|
-
let positionIndex = $
|
|
1368
|
-
let nextDropPosition = $
|
|
1368
|
+
if ((target === null || target === void 0 ? void 0 : target.type) === 'item') {
|
|
1369
|
+
let positionIndex = $9ca0e158e516b9bb$var$DROP_POSITIONS.indexOf(target.dropPosition);
|
|
1370
|
+
let nextDropPosition = $9ca0e158e516b9bb$var$DROP_POSITIONS[positionIndex - 1];
|
|
1369
1371
|
if (positionIndex > 0 && nextDropPosition !== 'after') return {
|
|
1370
1372
|
type: 'item',
|
|
1371
1373
|
key: target.key,
|
|
@@ -1400,8 +1402,8 @@ function $84a095b08b269050$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1400
1402
|
if (operation === 'cancel') return null;
|
|
1401
1403
|
return target;
|
|
1402
1404
|
};
|
|
1403
|
-
return $
|
|
1404
|
-
element:
|
|
1405
|
+
return $3ff2dbc10bf5c0b8$export$c28d9fb4a54e471a({
|
|
1406
|
+
element: ref2.current,
|
|
1405
1407
|
getDropOperation (types, allowedOperations) {
|
|
1406
1408
|
if (localState.state.target) return localState.state.getDropOperation(localState.state.target, types, allowedOperations);
|
|
1407
1409
|
// Check if any of the targets accept the drop.
|
|
@@ -1410,7 +1412,7 @@ function $84a095b08b269050$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1410
1412
|
return target ? 'move' : 'cancel';
|
|
1411
1413
|
},
|
|
1412
1414
|
onDropEnter (e, drag) {
|
|
1413
|
-
let types = $
|
|
1415
|
+
let types = $8e71d0478f045349$export$e1d41611756c6326(drag.items);
|
|
1414
1416
|
let selectionManager = localState.state.selectionManager;
|
|
1415
1417
|
let target;
|
|
1416
1418
|
// When entering the droppable collection for the first time, the default drop target
|
|
@@ -1420,7 +1422,7 @@ function $84a095b08b269050$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1420
1422
|
// If the focused key is a cell, get the parent item instead.
|
|
1421
1423
|
// For now, we assume that individual cells cannot be dropped on.
|
|
1422
1424
|
let item = localState.state.collection.getItem(key);
|
|
1423
|
-
if (item
|
|
1425
|
+
if ((item === null || item === void 0 ? void 0 : item.type) === 'cell') key = item.parentKey;
|
|
1424
1426
|
// If the focused item is also selected, the default drop target is after the last selected item.
|
|
1425
1427
|
// But if the focused key is the first selected item, then default to before the first selected item.
|
|
1426
1428
|
// This is to make reordering lists slightly easier. If you select top down, we assume you want to
|
|
@@ -1435,8 +1437,9 @@ function $84a095b08b269050$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1435
1437
|
key: key,
|
|
1436
1438
|
dropPosition: dropPosition
|
|
1437
1439
|
};
|
|
1440
|
+
var ref;
|
|
1438
1441
|
// If the default target is not valid, find the next one that is.
|
|
1439
|
-
if (localState.state.getDropOperation(target, types, drag.allowedDropOperations) === 'cancel') target = nextValidTarget(target, types, drag.allowedDropOperations, getNextTarget1, false)
|
|
1442
|
+
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);
|
|
1440
1443
|
}
|
|
1441
1444
|
// If no focused key, then start from the root.
|
|
1442
1445
|
if (!target) target = nextValidTarget(null, types, drag.allowedDropOperations, getNextTarget1);
|
|
@@ -1449,7 +1452,8 @@ function $84a095b08b269050$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1449
1452
|
localState.state.setTarget(target);
|
|
1450
1453
|
},
|
|
1451
1454
|
onDropActivate (e) {
|
|
1452
|
-
|
|
1455
|
+
var ref, ref3;
|
|
1456
|
+
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({
|
|
1453
1457
|
type: 'dropactivate',
|
|
1454
1458
|
x: e.x,
|
|
1455
1459
|
y: e.y,
|
|
@@ -1461,7 +1465,7 @@ function $84a095b08b269050$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1461
1465
|
},
|
|
1462
1466
|
onKeyDown (e, drag) {
|
|
1463
1467
|
let { keyboardDelegate: keyboardDelegate } = localState.props;
|
|
1464
|
-
let types = $
|
|
1468
|
+
let types = $8e71d0478f045349$export$e1d41611756c6326(drag.items);
|
|
1465
1469
|
switch(e.key){
|
|
1466
1470
|
case 'ArrowDown':
|
|
1467
1471
|
if (keyboardDelegate.getKeyBelow) {
|
|
@@ -1508,9 +1512,10 @@ function $84a095b08b269050$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1508
1512
|
// If the target does not accept the drop, find the next valid target.
|
|
1509
1513
|
// If no next valid target, find the previous valid target.
|
|
1510
1514
|
let operation = localState.state.getDropOperation(target, types, drag.allowedDropOperations);
|
|
1511
|
-
|
|
1515
|
+
var ref;
|
|
1516
|
+
if (operation === 'cancel') target = (ref = nextValidTarget(target, types, drag.allowedDropOperations, getNextTarget1, false)) !== null && ref !== void 0 ? ref : nextValidTarget(target, types, drag.allowedDropOperations, getPreviousTarget, false);
|
|
1512
1517
|
}
|
|
1513
|
-
localState.state.setTarget(target
|
|
1518
|
+
localState.state.setTarget(target !== null && target !== void 0 ? target : localState.state.target);
|
|
1514
1519
|
}
|
|
1515
1520
|
break;
|
|
1516
1521
|
case 'PageUp':
|
|
@@ -1539,9 +1544,10 @@ function $84a095b08b269050$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1539
1544
|
// If the target does not accept the drop, find the previous valid target.
|
|
1540
1545
|
// If no next valid target, find the next valid target.
|
|
1541
1546
|
let operation = localState.state.getDropOperation(target, types, drag.allowedDropOperations);
|
|
1542
|
-
|
|
1547
|
+
var ref4;
|
|
1548
|
+
if (operation === 'cancel') target = (ref4 = nextValidTarget(target, types, drag.allowedDropOperations, getPreviousTarget, false)) !== null && ref4 !== void 0 ? ref4 : nextValidTarget(target, types, drag.allowedDropOperations, getNextTarget1, false);
|
|
1543
1549
|
}
|
|
1544
|
-
localState.state.setTarget(target
|
|
1550
|
+
localState.state.setTarget(target !== null && target !== void 0 ? target : localState.state.target);
|
|
1545
1551
|
break;
|
|
1546
1552
|
}
|
|
1547
1553
|
}
|
|
@@ -1549,12 +1555,12 @@ function $84a095b08b269050$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1549
1555
|
});
|
|
1550
1556
|
}, [
|
|
1551
1557
|
localState,
|
|
1552
|
-
|
|
1558
|
+
ref2,
|
|
1553
1559
|
onDrop
|
|
1554
1560
|
]);
|
|
1555
|
-
let id = $
|
|
1561
|
+
let id = $8e71d0478f045349$export$b1601eb39394a581(state1);
|
|
1556
1562
|
return {
|
|
1557
|
-
collectionProps: $
|
|
1563
|
+
collectionProps: $68NDG$mergeProps(dropProps, {
|
|
1558
1564
|
id: id,
|
|
1559
1565
|
// Remove description from collection element. If dropping on the entire collection,
|
|
1560
1566
|
// there should be a drop indicator that has this description, so no need to double announce.
|
|
@@ -1564,17 +1570,17 @@ function $84a095b08b269050$export$f4e2f423c21f7b04(props, state1, ref) {
|
|
|
1564
1570
|
}
|
|
1565
1571
|
|
|
1566
1572
|
|
|
1567
|
-
var $
|
|
1573
|
+
var $939cc8a8c092cd72$exports = {};
|
|
1568
1574
|
|
|
1569
|
-
$parcel$export($
|
|
1575
|
+
$parcel$export($939cc8a8c092cd72$exports, "useDroppableItem", () => $939cc8a8c092cd72$export$f7b0c5d28b66b6a5);
|
|
1570
1576
|
|
|
1571
1577
|
|
|
1572
1578
|
|
|
1573
1579
|
|
|
1574
|
-
function $
|
|
1575
|
-
let { dropProps: dropProps } = $
|
|
1576
|
-
$
|
|
1577
|
-
if (ref.current) return $
|
|
1580
|
+
function $939cc8a8c092cd72$export$f7b0c5d28b66b6a5(options, state, ref) {
|
|
1581
|
+
let { dropProps: dropProps } = $3aee5decbf98b057$export$62447ad3d2ec7da6();
|
|
1582
|
+
$68NDG$useEffect(()=>{
|
|
1583
|
+
if (ref.current) return $3ff2dbc10bf5c0b8$export$aef80212ac99c003({
|
|
1578
1584
|
element: ref.current,
|
|
1579
1585
|
target: options.target,
|
|
1580
1586
|
getDropOperation (types, allowedOperations) {
|
|
@@ -1586,10 +1592,10 @@ function $45684752568fdb26$export$f7b0c5d28b66b6a5(options, state, ref) {
|
|
|
1586
1592
|
options.target,
|
|
1587
1593
|
state
|
|
1588
1594
|
]);
|
|
1589
|
-
let dragSession = $
|
|
1590
|
-
let isValidDropTarget = dragSession && state.getDropOperation(options.target, $
|
|
1595
|
+
let dragSession = $3ff2dbc10bf5c0b8$export$418e185dd3f1b968();
|
|
1596
|
+
let isValidDropTarget = dragSession && state.getDropOperation(options.target, $8e71d0478f045349$export$e1d41611756c6326(dragSession.dragTarget.items), dragSession.dragTarget.allowedDropOperations) !== 'cancel';
|
|
1591
1597
|
let isDropTarget = state.isDropTarget(options.target);
|
|
1592
|
-
$
|
|
1598
|
+
$68NDG$useEffect(()=>{
|
|
1593
1599
|
if (dragSession && isDropTarget && ref.current) ref.current.focus();
|
|
1594
1600
|
}, [
|
|
1595
1601
|
isDropTarget,
|
|
@@ -1605,29 +1611,31 @@ function $45684752568fdb26$export$f7b0c5d28b66b6a5(options, state, ref) {
|
|
|
1605
1611
|
}
|
|
1606
1612
|
|
|
1607
1613
|
|
|
1608
|
-
var $
|
|
1614
|
+
var $61e12d7d87fee06c$exports = {};
|
|
1609
1615
|
|
|
1610
|
-
$parcel$export($
|
|
1616
|
+
$parcel$export($61e12d7d87fee06c$exports, "useDropIndicator", () => $61e12d7d87fee06c$export$8d0e41d2815afac5);
|
|
1611
1617
|
|
|
1612
1618
|
|
|
1613
1619
|
|
|
1614
1620
|
|
|
1615
1621
|
|
|
1616
1622
|
|
|
1617
|
-
function $
|
|
1623
|
+
function $61e12d7d87fee06c$export$8d0e41d2815afac5(props, state, ref1) {
|
|
1618
1624
|
let { target: target } = props;
|
|
1619
1625
|
let { collection: collection } = state;
|
|
1620
|
-
let formatMessage = $
|
|
1621
|
-
let dragSession = $
|
|
1622
|
-
let { dropProps: dropProps } = $
|
|
1623
|
-
let id = $
|
|
1624
|
-
let getText = (key)=>
|
|
1625
|
-
|
|
1626
|
+
let formatMessage = $68NDG$useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($570b43ebcd82e11f$exports)));
|
|
1627
|
+
let dragSession = $3ff2dbc10bf5c0b8$export$418e185dd3f1b968();
|
|
1628
|
+
let { dropProps: dropProps } = $939cc8a8c092cd72$export$f7b0c5d28b66b6a5(props, state, ref1);
|
|
1629
|
+
let id = $68NDG$useId();
|
|
1630
|
+
let getText = (key)=>{
|
|
1631
|
+
var ref;
|
|
1632
|
+
return (ref = collection.getItem(key)) === null || ref === void 0 ? void 0 : ref.textValue;
|
|
1633
|
+
};
|
|
1626
1634
|
let label = '';
|
|
1627
1635
|
let labelledBy;
|
|
1628
1636
|
if (target.type === 'root') {
|
|
1629
1637
|
label = formatMessage('dropOnRoot');
|
|
1630
|
-
labelledBy = `${id} ${$
|
|
1638
|
+
labelledBy = `${id} ${$8e71d0478f045349$export$3093291712f09a77(state)}`;
|
|
1631
1639
|
} else if (target.dropPosition === 'on') label = formatMessage('dropOnItem', {
|
|
1632
1640
|
itemText: getText(target.key)
|
|
1633
1641
|
});
|
|
@@ -1659,15 +1667,15 @@ function $2daf78ecd1d9c0e9$export$8d0e41d2815afac5(props, state, ref) {
|
|
|
1659
1667
|
}
|
|
1660
1668
|
|
|
1661
1669
|
|
|
1662
|
-
var $
|
|
1670
|
+
var $5f9db871ed0189e9$exports = {};
|
|
1663
1671
|
|
|
1664
|
-
$parcel$export($
|
|
1672
|
+
$parcel$export($5f9db871ed0189e9$exports, "useDraggableItem", () => $5f9db871ed0189e9$export$b35afafff42da2d9);
|
|
1665
1673
|
|
|
1666
1674
|
|
|
1667
1675
|
|
|
1668
|
-
function $
|
|
1669
|
-
let formatMessage = $
|
|
1670
|
-
let { dragProps: dragProps , dragButtonProps: dragButtonProps } = $
|
|
1676
|
+
function $5f9db871ed0189e9$export$b35afafff42da2d9(props, state) {
|
|
1677
|
+
let formatMessage = $68NDG$useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($570b43ebcd82e11f$exports)));
|
|
1678
|
+
let { dragProps: dragProps , dragButtonProps: dragButtonProps } = $fd21d4ef39f74060$export$7941f8aafa4b6021({
|
|
1671
1679
|
getItems () {
|
|
1672
1680
|
return state.getItems(props.key);
|
|
1673
1681
|
},
|
|
@@ -1688,11 +1696,12 @@ function $7df0dba56fe89d49$export$b35afafff42da2d9(props, state) {
|
|
|
1688
1696
|
let numSelectedKeys = state.selectionManager.selectedKeys.size;
|
|
1689
1697
|
let isSelected = state.selectionManager.isSelected(props.key);
|
|
1690
1698
|
let message;
|
|
1699
|
+
var ref;
|
|
1691
1700
|
if (isSelected && numSelectedKeys > 1) message = formatMessage('dragSelectedItems', {
|
|
1692
1701
|
count: numSelectedKeys
|
|
1693
1702
|
});
|
|
1694
1703
|
else message = formatMessage('dragItem', {
|
|
1695
|
-
itemText: item
|
|
1704
|
+
itemText: (ref = item === null || item === void 0 ? void 0 : item.textValue) !== null && ref !== void 0 ? ref : ''
|
|
1696
1705
|
});
|
|
1697
1706
|
return {
|
|
1698
1707
|
dragProps: dragProps,
|
|
@@ -1704,16 +1713,16 @@ function $7df0dba56fe89d49$export$b35afafff42da2d9(props, state) {
|
|
|
1704
1713
|
}
|
|
1705
1714
|
|
|
1706
1715
|
|
|
1707
|
-
var $
|
|
1716
|
+
var $59f335667f89955c$exports = {};
|
|
1708
1717
|
|
|
1709
|
-
$parcel$export($
|
|
1718
|
+
$parcel$export($59f335667f89955c$exports, "useClipboard", () => $59f335667f89955c$export$2314ca2a3e892862);
|
|
1710
1719
|
|
|
1711
1720
|
|
|
1712
1721
|
|
|
1713
1722
|
|
|
1714
|
-
const $
|
|
1715
|
-
function $
|
|
1716
|
-
let eventData = $
|
|
1723
|
+
const $59f335667f89955c$var$globalEvents = new Map();
|
|
1724
|
+
function $59f335667f89955c$var$addGlobalEventListener(event, fn) {
|
|
1725
|
+
let eventData = $59f335667f89955c$var$globalEvents.get(event);
|
|
1717
1726
|
if (!eventData) {
|
|
1718
1727
|
let handlers = new Set();
|
|
1719
1728
|
let listener = (e)=>{
|
|
@@ -1723,7 +1732,7 @@ function $fb085ab411a33dd1$var$addGlobalEventListener(event, fn) {
|
|
|
1723
1732
|
listener: listener,
|
|
1724
1733
|
handlers: handlers
|
|
1725
1734
|
};
|
|
1726
|
-
$
|
|
1735
|
+
$59f335667f89955c$var$globalEvents.set(event, eventData);
|
|
1727
1736
|
document.addEventListener(event, listener);
|
|
1728
1737
|
}
|
|
1729
1738
|
eventData.handlers.add(fn);
|
|
@@ -1731,31 +1740,32 @@ function $fb085ab411a33dd1$var$addGlobalEventListener(event, fn) {
|
|
|
1731
1740
|
eventData.handlers.delete(fn);
|
|
1732
1741
|
if (eventData.handlers.size === 0) {
|
|
1733
1742
|
document.removeEventListener(event, eventData.listener);
|
|
1734
|
-
$
|
|
1743
|
+
$59f335667f89955c$var$globalEvents.delete(event);
|
|
1735
1744
|
}
|
|
1736
1745
|
};
|
|
1737
1746
|
}
|
|
1738
|
-
function $
|
|
1739
|
-
let ref = $
|
|
1747
|
+
function $59f335667f89955c$export$2314ca2a3e892862(options1) {
|
|
1748
|
+
let ref = $68NDG$useRef(options1);
|
|
1740
1749
|
ref.current = options1;
|
|
1741
|
-
let isFocusedRef = $
|
|
1742
|
-
let { focusProps: focusProps } = $
|
|
1750
|
+
let isFocusedRef = $68NDG$useRef(false);
|
|
1751
|
+
let { focusProps: focusProps } = $68NDG$useFocus({
|
|
1743
1752
|
onFocusChange: (isFocused)=>{
|
|
1744
1753
|
isFocusedRef.current = isFocused;
|
|
1745
1754
|
}
|
|
1746
1755
|
});
|
|
1747
|
-
$
|
|
1756
|
+
$68NDG$useEffect(()=>{
|
|
1748
1757
|
let onBeforeCopy = (e)=>{
|
|
1749
1758
|
// Enable the "Copy" menu item in Safari if this element is focused and copying is supported.
|
|
1750
1759
|
let options = ref.current;
|
|
1751
1760
|
if (isFocusedRef.current && options.getItems) e.preventDefault();
|
|
1752
1761
|
};
|
|
1753
1762
|
let onCopy = (e)=>{
|
|
1763
|
+
var ref1;
|
|
1754
1764
|
let options = ref.current;
|
|
1755
1765
|
if (!isFocusedRef.current || !options.getItems) return;
|
|
1756
1766
|
e.preventDefault();
|
|
1757
|
-
$
|
|
1758
|
-
options.onCopy
|
|
1767
|
+
$8e71d0478f045349$export$f9c1490890ddd063(e.clipboardData, options.getItems());
|
|
1768
|
+
(ref1 = options.onCopy) === null || ref1 === void 0 ? void 0 : ref1.call(options);
|
|
1759
1769
|
};
|
|
1760
1770
|
let onBeforeCut = (e)=>{
|
|
1761
1771
|
let options = ref.current;
|
|
@@ -1765,7 +1775,7 @@ function $fb085ab411a33dd1$export$2314ca2a3e892862(options1) {
|
|
|
1765
1775
|
let options = ref.current;
|
|
1766
1776
|
if (!isFocusedRef.current || !options.onCut || !options.getItems) return;
|
|
1767
1777
|
e.preventDefault();
|
|
1768
|
-
$
|
|
1778
|
+
$8e71d0478f045349$export$f9c1490890ddd063(e.clipboardData, options.getItems());
|
|
1769
1779
|
options.onCut();
|
|
1770
1780
|
};
|
|
1771
1781
|
let onBeforePaste = (e)=>{
|
|
@@ -1778,10 +1788,10 @@ function $fb085ab411a33dd1$export$2314ca2a3e892862(options1) {
|
|
|
1778
1788
|
let options = ref.current;
|
|
1779
1789
|
if (!isFocusedRef.current || !options.onPaste) return;
|
|
1780
1790
|
e.preventDefault();
|
|
1781
|
-
let items = $
|
|
1791
|
+
let items = $8e71d0478f045349$export$d9e760437831f8b3(e.clipboardData);
|
|
1782
1792
|
options.onPaste(items);
|
|
1783
1793
|
};
|
|
1784
|
-
return $
|
|
1794
|
+
return $68NDG$chain($59f335667f89955c$var$addGlobalEventListener('beforecopy', onBeforeCopy), $59f335667f89955c$var$addGlobalEventListener('copy', onCopy), $59f335667f89955c$var$addGlobalEventListener('beforecut', onBeforeCut), $59f335667f89955c$var$addGlobalEventListener('cut', onCut), $59f335667f89955c$var$addGlobalEventListener('beforepaste', onBeforePaste), $59f335667f89955c$var$addGlobalEventListener('paste', onPaste));
|
|
1785
1795
|
}, []);
|
|
1786
1796
|
return {
|
|
1787
1797
|
clipboardProps: focusProps
|
|
@@ -1791,5 +1801,5 @@ function $fb085ab411a33dd1$export$2314ca2a3e892862(options1) {
|
|
|
1791
1801
|
|
|
1792
1802
|
|
|
1793
1803
|
|
|
1794
|
-
export {$
|
|
1804
|
+
export {$fd21d4ef39f74060$export$7941f8aafa4b6021 as useDrag, $c68dfee587607bbe$export$ccdee5eaf73cf661 as useDrop, $9ca0e158e516b9bb$export$f4e2f423c21f7b04 as useDroppableCollection, $939cc8a8c092cd72$export$f7b0c5d28b66b6a5 as useDroppableItem, $61e12d7d87fee06c$export$8d0e41d2815afac5 as useDropIndicator, $5f9db871ed0189e9$export$b35afafff42da2d9 as useDraggableItem, $59f335667f89955c$export$2314ca2a3e892862 as useClipboard};
|
|
1795
1805
|
//# sourceMappingURL=module.js.map
|