@spectrum-web-components/split-view 0.5.11-overlay.18 → 0.30.0
Sign up to get free protection for your applications and to get access to all the features.
- package/custom-elements.json +576 -0
- package/package.json +4 -4
- package/sp-split-view.dev.js +2 -1
- package/sp-split-view.dev.js.map +2 -2
- package/sp-split-view.js +1 -1
- package/sp-split-view.js.map +3 -3
- package/src/SplitView.js.map +1 -1
@@ -0,0 +1,576 @@
|
|
1
|
+
{
|
2
|
+
"schemaVersion": "1.0.0",
|
3
|
+
"readme": "",
|
4
|
+
"modules": [
|
5
|
+
{
|
6
|
+
"kind": "javascript-module",
|
7
|
+
"path": "sp-split-view.js",
|
8
|
+
"declarations": [],
|
9
|
+
"exports": []
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"kind": "javascript-module",
|
13
|
+
"path": "src/SplitView.js",
|
14
|
+
"declarations": [
|
15
|
+
{
|
16
|
+
"kind": "class",
|
17
|
+
"description": "",
|
18
|
+
"name": "SplitView",
|
19
|
+
"slots": [
|
20
|
+
{
|
21
|
+
"description": "sibling elements to be sized by the element attritubes",
|
22
|
+
"name": "Two"
|
23
|
+
}
|
24
|
+
],
|
25
|
+
"members": [
|
26
|
+
{
|
27
|
+
"kind": "field",
|
28
|
+
"name": "vertical",
|
29
|
+
"type": {
|
30
|
+
"text": "boolean"
|
31
|
+
},
|
32
|
+
"privacy": "public",
|
33
|
+
"default": "false",
|
34
|
+
"attribute": "vertical",
|
35
|
+
"reflects": true
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"kind": "field",
|
39
|
+
"name": "resizable",
|
40
|
+
"type": {
|
41
|
+
"text": "boolean"
|
42
|
+
},
|
43
|
+
"privacy": "public",
|
44
|
+
"default": "false",
|
45
|
+
"attribute": "resizable",
|
46
|
+
"reflects": true
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"kind": "field",
|
50
|
+
"name": "collapsible",
|
51
|
+
"type": {
|
52
|
+
"text": "boolean"
|
53
|
+
},
|
54
|
+
"privacy": "public",
|
55
|
+
"default": "false",
|
56
|
+
"attribute": "collapsible",
|
57
|
+
"reflects": true
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"kind": "field",
|
61
|
+
"name": "primaryMin",
|
62
|
+
"type": {
|
63
|
+
"text": "number"
|
64
|
+
},
|
65
|
+
"privacy": "public",
|
66
|
+
"default": "0",
|
67
|
+
"description": "The minimum size of the primary pane",
|
68
|
+
"attribute": "primary-min"
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"kind": "field",
|
72
|
+
"name": "primaryMax",
|
73
|
+
"privacy": "public",
|
74
|
+
"default": "3840",
|
75
|
+
"description": "The maximum size of the primary pane",
|
76
|
+
"attribute": "primary-max",
|
77
|
+
"type": {
|
78
|
+
"text": "number"
|
79
|
+
}
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"kind": "field",
|
83
|
+
"name": "primarySize",
|
84
|
+
"type": {
|
85
|
+
"text": "number | number"
|
86
|
+
},
|
87
|
+
"privacy": "public",
|
88
|
+
"description": "+ \"px\" | number + \"%\" | \"auto\"}",
|
89
|
+
"attribute": "primary-size"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"kind": "field",
|
93
|
+
"name": "secondaryMin",
|
94
|
+
"type": {
|
95
|
+
"text": "number"
|
96
|
+
},
|
97
|
+
"privacy": "public",
|
98
|
+
"default": "0",
|
99
|
+
"description": "The minimum size of the secondary pane",
|
100
|
+
"attribute": "secondary-min"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"kind": "field",
|
104
|
+
"name": "secondaryMax",
|
105
|
+
"privacy": "public",
|
106
|
+
"default": "3840",
|
107
|
+
"description": "The maximum size of the secondary pane",
|
108
|
+
"attribute": "secondary-max",
|
109
|
+
"type": {
|
110
|
+
"text": "number"
|
111
|
+
}
|
112
|
+
},
|
113
|
+
{
|
114
|
+
"kind": "field",
|
115
|
+
"name": "splitterPos",
|
116
|
+
"type": {
|
117
|
+
"text": "number | undefined"
|
118
|
+
},
|
119
|
+
"privacy": "public",
|
120
|
+
"description": "The current splitter position of split-view",
|
121
|
+
"attribute": "splitter-pos",
|
122
|
+
"reflects": true
|
123
|
+
},
|
124
|
+
{
|
125
|
+
"kind": "field",
|
126
|
+
"name": "firstPaneSize",
|
127
|
+
"type": {
|
128
|
+
"text": "string"
|
129
|
+
},
|
130
|
+
"privacy": "private",
|
131
|
+
"default": "'auto'",
|
132
|
+
"description": "The current size of first pane of split-view"
|
133
|
+
},
|
134
|
+
{
|
135
|
+
"kind": "field",
|
136
|
+
"name": "label",
|
137
|
+
"type": {
|
138
|
+
"text": "string | undefined"
|
139
|
+
},
|
140
|
+
"privacy": "public",
|
141
|
+
"attribute": "label"
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"kind": "field",
|
145
|
+
"name": "enoughChildren",
|
146
|
+
"type": {
|
147
|
+
"text": "boolean"
|
148
|
+
},
|
149
|
+
"privacy": "private",
|
150
|
+
"default": "false"
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"kind": "field",
|
154
|
+
"name": "viewSize",
|
155
|
+
"type": {
|
156
|
+
"text": "number"
|
157
|
+
},
|
158
|
+
"privacy": "private",
|
159
|
+
"default": "0",
|
160
|
+
"attribute": "viewSize"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"kind": "field",
|
164
|
+
"name": "paneSlot",
|
165
|
+
"type": {
|
166
|
+
"text": "HTMLSlotElement"
|
167
|
+
},
|
168
|
+
"privacy": "private"
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"kind": "field",
|
172
|
+
"name": "splitter",
|
173
|
+
"type": {
|
174
|
+
"text": "HTMLDivElement"
|
175
|
+
},
|
176
|
+
"privacy": "private"
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"kind": "field",
|
180
|
+
"name": "offset",
|
181
|
+
"type": {
|
182
|
+
"text": "number"
|
183
|
+
},
|
184
|
+
"privacy": "private",
|
185
|
+
"default": "0"
|
186
|
+
},
|
187
|
+
{
|
188
|
+
"kind": "field",
|
189
|
+
"name": "minPos",
|
190
|
+
"type": {
|
191
|
+
"text": "number"
|
192
|
+
},
|
193
|
+
"privacy": "private",
|
194
|
+
"default": "0"
|
195
|
+
},
|
196
|
+
{
|
197
|
+
"kind": "field",
|
198
|
+
"name": "maxPos",
|
199
|
+
"privacy": "private",
|
200
|
+
"default": "3840",
|
201
|
+
"type": {
|
202
|
+
"text": "number"
|
203
|
+
}
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"kind": "field",
|
207
|
+
"name": "observer",
|
208
|
+
"type": {
|
209
|
+
"text": "WithSWCResizeObserver['ResizeObserver'] | undefined"
|
210
|
+
},
|
211
|
+
"privacy": "private"
|
212
|
+
},
|
213
|
+
{
|
214
|
+
"kind": "field",
|
215
|
+
"name": "rect",
|
216
|
+
"type": {
|
217
|
+
"text": "DOMRect | undefined"
|
218
|
+
},
|
219
|
+
"privacy": "private"
|
220
|
+
},
|
221
|
+
{
|
222
|
+
"kind": "field",
|
223
|
+
"name": "_splitterSize",
|
224
|
+
"type": {
|
225
|
+
"text": "number | undefined"
|
226
|
+
},
|
227
|
+
"privacy": "private"
|
228
|
+
},
|
229
|
+
{
|
230
|
+
"kind": "field",
|
231
|
+
"name": "splitterSize",
|
232
|
+
"type": {
|
233
|
+
"text": "number"
|
234
|
+
},
|
235
|
+
"privacy": "private"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"kind": "method",
|
239
|
+
"name": "onContentSlotChange",
|
240
|
+
"privacy": "private",
|
241
|
+
"return": {
|
242
|
+
"type": {
|
243
|
+
"text": "void"
|
244
|
+
}
|
245
|
+
}
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"kind": "method",
|
249
|
+
"name": "onPointerdown",
|
250
|
+
"privacy": "private",
|
251
|
+
"return": {
|
252
|
+
"type": {
|
253
|
+
"text": "void"
|
254
|
+
}
|
255
|
+
},
|
256
|
+
"parameters": [
|
257
|
+
{
|
258
|
+
"name": "event",
|
259
|
+
"type": {
|
260
|
+
"text": "PointerEvent"
|
261
|
+
}
|
262
|
+
}
|
263
|
+
]
|
264
|
+
},
|
265
|
+
{
|
266
|
+
"kind": "method",
|
267
|
+
"name": "onPointermove",
|
268
|
+
"privacy": "private",
|
269
|
+
"return": {
|
270
|
+
"type": {
|
271
|
+
"text": "void"
|
272
|
+
}
|
273
|
+
},
|
274
|
+
"parameters": [
|
275
|
+
{
|
276
|
+
"name": "event",
|
277
|
+
"type": {
|
278
|
+
"text": "PointerEvent"
|
279
|
+
}
|
280
|
+
}
|
281
|
+
]
|
282
|
+
},
|
283
|
+
{
|
284
|
+
"kind": "method",
|
285
|
+
"name": "onPointerup",
|
286
|
+
"privacy": "private",
|
287
|
+
"return": {
|
288
|
+
"type": {
|
289
|
+
"text": "void"
|
290
|
+
}
|
291
|
+
},
|
292
|
+
"parameters": [
|
293
|
+
{
|
294
|
+
"name": "event",
|
295
|
+
"type": {
|
296
|
+
"text": "PointerEvent"
|
297
|
+
}
|
298
|
+
}
|
299
|
+
]
|
300
|
+
},
|
301
|
+
{
|
302
|
+
"kind": "method",
|
303
|
+
"name": "getOffset",
|
304
|
+
"privacy": "private",
|
305
|
+
"return": {
|
306
|
+
"type": {
|
307
|
+
"text": "number"
|
308
|
+
}
|
309
|
+
}
|
310
|
+
},
|
311
|
+
{
|
312
|
+
"kind": "method",
|
313
|
+
"name": "getPosition",
|
314
|
+
"privacy": "private",
|
315
|
+
"return": {
|
316
|
+
"type": {
|
317
|
+
"text": "number"
|
318
|
+
}
|
319
|
+
},
|
320
|
+
"parameters": [
|
321
|
+
{
|
322
|
+
"name": "event",
|
323
|
+
"type": {
|
324
|
+
"text": "PointerEvent"
|
325
|
+
}
|
326
|
+
}
|
327
|
+
]
|
328
|
+
},
|
329
|
+
{
|
330
|
+
"kind": "method",
|
331
|
+
"name": "movePosition",
|
332
|
+
"privacy": "private",
|
333
|
+
"return": {
|
334
|
+
"type": {
|
335
|
+
"text": "void"
|
336
|
+
}
|
337
|
+
},
|
338
|
+
"parameters": [
|
339
|
+
{
|
340
|
+
"name": "event",
|
341
|
+
"type": {
|
342
|
+
"text": "KeyboardEvent"
|
343
|
+
}
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"name": "offset",
|
347
|
+
"type": {
|
348
|
+
"text": "number"
|
349
|
+
}
|
350
|
+
}
|
351
|
+
]
|
352
|
+
},
|
353
|
+
{
|
354
|
+
"kind": "method",
|
355
|
+
"name": "onKeydown",
|
356
|
+
"privacy": "private",
|
357
|
+
"return": {
|
358
|
+
"type": {
|
359
|
+
"text": "void"
|
360
|
+
}
|
361
|
+
},
|
362
|
+
"parameters": [
|
363
|
+
{
|
364
|
+
"name": "event",
|
365
|
+
"type": {
|
366
|
+
"text": "KeyboardEvent"
|
367
|
+
}
|
368
|
+
}
|
369
|
+
]
|
370
|
+
},
|
371
|
+
{
|
372
|
+
"kind": "method",
|
373
|
+
"name": "checkResize",
|
374
|
+
"privacy": "private",
|
375
|
+
"return": {
|
376
|
+
"type": {
|
377
|
+
"text": "Promise<void>"
|
378
|
+
}
|
379
|
+
}
|
380
|
+
},
|
381
|
+
{
|
382
|
+
"kind": "method",
|
383
|
+
"name": "updateMinMax",
|
384
|
+
"privacy": "private",
|
385
|
+
"return": {
|
386
|
+
"type": {
|
387
|
+
"text": "void"
|
388
|
+
}
|
389
|
+
}
|
390
|
+
},
|
391
|
+
{
|
392
|
+
"kind": "method",
|
393
|
+
"name": "updatePosition",
|
394
|
+
"privacy": "private",
|
395
|
+
"return": {
|
396
|
+
"type": {
|
397
|
+
"text": "void"
|
398
|
+
}
|
399
|
+
},
|
400
|
+
"parameters": [
|
401
|
+
{
|
402
|
+
"name": "x",
|
403
|
+
"type": {
|
404
|
+
"text": "number"
|
405
|
+
}
|
406
|
+
}
|
407
|
+
]
|
408
|
+
},
|
409
|
+
{
|
410
|
+
"kind": "method",
|
411
|
+
"name": "getLimitedPosition",
|
412
|
+
"privacy": "private",
|
413
|
+
"return": {
|
414
|
+
"type": {
|
415
|
+
"text": "number"
|
416
|
+
}
|
417
|
+
},
|
418
|
+
"parameters": [
|
419
|
+
{
|
420
|
+
"name": "input",
|
421
|
+
"type": {
|
422
|
+
"text": "number"
|
423
|
+
}
|
424
|
+
}
|
425
|
+
]
|
426
|
+
},
|
427
|
+
{
|
428
|
+
"kind": "method",
|
429
|
+
"name": "calcStartPos",
|
430
|
+
"privacy": "private",
|
431
|
+
"return": {
|
432
|
+
"type": {
|
433
|
+
"text": "Promise<number>"
|
434
|
+
}
|
435
|
+
}
|
436
|
+
},
|
437
|
+
{
|
438
|
+
"kind": "method",
|
439
|
+
"name": "dispatchChangeEvent",
|
440
|
+
"privacy": "private",
|
441
|
+
"return": {
|
442
|
+
"type": {
|
443
|
+
"text": "void"
|
444
|
+
}
|
445
|
+
}
|
446
|
+
}
|
447
|
+
],
|
448
|
+
"events": [
|
449
|
+
{
|
450
|
+
"description": "Announces the new position of the splitter",
|
451
|
+
"name": "change"
|
452
|
+
}
|
453
|
+
],
|
454
|
+
"attributes": [
|
455
|
+
{
|
456
|
+
"name": "primarySize",
|
457
|
+
"type": {
|
458
|
+
"text": "number | number"
|
459
|
+
},
|
460
|
+
"description": "+ \"px\" | number + \"%\" | \"auto\"}",
|
461
|
+
"fieldName": "primarySize"
|
462
|
+
},
|
463
|
+
{
|
464
|
+
"name": "vertical",
|
465
|
+
"type": {
|
466
|
+
"text": "boolean"
|
467
|
+
},
|
468
|
+
"default": "false",
|
469
|
+
"fieldName": "vertical"
|
470
|
+
},
|
471
|
+
{
|
472
|
+
"name": "resizable",
|
473
|
+
"type": {
|
474
|
+
"text": "boolean"
|
475
|
+
},
|
476
|
+
"default": "false",
|
477
|
+
"fieldName": "resizable"
|
478
|
+
},
|
479
|
+
{
|
480
|
+
"name": "collapsible",
|
481
|
+
"type": {
|
482
|
+
"text": "boolean"
|
483
|
+
},
|
484
|
+
"default": "false",
|
485
|
+
"fieldName": "collapsible"
|
486
|
+
},
|
487
|
+
{
|
488
|
+
"name": "primary-min",
|
489
|
+
"type": {
|
490
|
+
"text": "number"
|
491
|
+
},
|
492
|
+
"default": "0",
|
493
|
+
"description": "The minimum size of the primary pane",
|
494
|
+
"fieldName": "primaryMin"
|
495
|
+
},
|
496
|
+
{
|
497
|
+
"name": "primary-max",
|
498
|
+
"default": "DEFAULT_MAX_SIZE",
|
499
|
+
"description": "The maximum size of the primary pane",
|
500
|
+
"resolveInitializer": {
|
501
|
+
"module": "src/SplitView.ts"
|
502
|
+
},
|
503
|
+
"fieldName": "primaryMax"
|
504
|
+
},
|
505
|
+
{
|
506
|
+
"name": "primary-size",
|
507
|
+
"type": {
|
508
|
+
"text": "number | number"
|
509
|
+
},
|
510
|
+
"description": "+ \"px\" | number + \"%\" | \"auto\"}",
|
511
|
+
"attribute": "primarySize",
|
512
|
+
"fieldName": "primarySize"
|
513
|
+
},
|
514
|
+
{
|
515
|
+
"name": "secondary-min",
|
516
|
+
"type": {
|
517
|
+
"text": "number"
|
518
|
+
},
|
519
|
+
"default": "0",
|
520
|
+
"description": "The minimum size of the secondary pane",
|
521
|
+
"fieldName": "secondaryMin"
|
522
|
+
},
|
523
|
+
{
|
524
|
+
"name": "secondary-max",
|
525
|
+
"default": "DEFAULT_MAX_SIZE",
|
526
|
+
"description": "The maximum size of the secondary pane",
|
527
|
+
"resolveInitializer": {
|
528
|
+
"module": "src/SplitView.ts"
|
529
|
+
},
|
530
|
+
"fieldName": "secondaryMax"
|
531
|
+
},
|
532
|
+
{
|
533
|
+
"name": "splitter-pos",
|
534
|
+
"type": {
|
535
|
+
"text": "number | undefined"
|
536
|
+
},
|
537
|
+
"description": "The current splitter position of split-view",
|
538
|
+
"fieldName": "splitterPos"
|
539
|
+
},
|
540
|
+
{
|
541
|
+
"name": "label",
|
542
|
+
"type": {
|
543
|
+
"text": "string | undefined"
|
544
|
+
},
|
545
|
+
"fieldName": "label"
|
546
|
+
},
|
547
|
+
{
|
548
|
+
"name": "viewSize",
|
549
|
+
"type": {
|
550
|
+
"text": "number"
|
551
|
+
},
|
552
|
+
"default": "0",
|
553
|
+
"fieldName": "viewSize"
|
554
|
+
}
|
555
|
+
],
|
556
|
+
"superclass": {
|
557
|
+
"name": "SpectrumElement",
|
558
|
+
"package": "@spectrum-web-components/base"
|
559
|
+
},
|
560
|
+
"tagName": "sp-split-view",
|
561
|
+
"customElement": true
|
562
|
+
}
|
563
|
+
],
|
564
|
+
"exports": [
|
565
|
+
{
|
566
|
+
"kind": "js",
|
567
|
+
"name": "SplitView",
|
568
|
+
"declaration": {
|
569
|
+
"name": "SplitView",
|
570
|
+
"module": "src/SplitView.js"
|
571
|
+
}
|
572
|
+
}
|
573
|
+
]
|
574
|
+
}
|
575
|
+
]
|
576
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@spectrum-web-components/split-view",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.30.0",
|
4
4
|
"publishConfig": {
|
5
5
|
"access": "public"
|
6
6
|
},
|
@@ -61,10 +61,10 @@
|
|
61
61
|
"lit-html"
|
62
62
|
],
|
63
63
|
"dependencies": {
|
64
|
-
"@spectrum-web-components/base": "^0.
|
64
|
+
"@spectrum-web-components/base": "^0.30.0"
|
65
65
|
},
|
66
66
|
"devDependencies": {
|
67
|
-
"@spectrum-css/splitview": "^3.0.
|
67
|
+
"@spectrum-css/splitview": "^3.0.38"
|
68
68
|
},
|
69
69
|
"types": "./src/index.d.ts",
|
70
70
|
"customElements": "custom-elements.json",
|
@@ -72,5 +72,5 @@
|
|
72
72
|
"./sp-*.js",
|
73
73
|
"./**/*.dev.js"
|
74
74
|
],
|
75
|
-
"gitHead": "
|
75
|
+
"gitHead": "e34a26bf2bbea5f60a5e415e0f12c97654f0e20d"
|
76
76
|
}
|
package/sp-split-view.dev.js
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
"use strict";
|
2
2
|
import { SplitView } from "./src/SplitView.dev.js";
|
3
|
-
|
3
|
+
import { defineElement } from "@spectrum-web-components/base/src/define-element.js";
|
4
|
+
defineElement("sp-split-view", SplitView);
|
4
5
|
//# sourceMappingURL=sp-split-view.dev.js.map
|
package/sp-split-view.dev.js.map
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["sp-split-view.ts"],
|
4
|
-
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport { SplitView } from './src/SplitView.dev.js'\n\
|
5
|
-
"mappings": ";AAYA,SAAS,iBAAiB;
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport { SplitView } from './src/SplitView.dev.js'\nimport { defineElement } from '@spectrum-web-components/base/src/define-element.js';\n\ndefineElement('sp-split-view', SplitView);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-split-view': SplitView;\n }\n}\n"],
|
5
|
+
"mappings": ";AAYA,SAAS,iBAAiB;AAC1B,SAAS,qBAAqB;AAE9B,cAAc,iBAAiB,SAAS;",
|
6
6
|
"names": []
|
7
7
|
}
|
package/sp-split-view.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";import{SplitView as e}from"./src/SplitView.js";
|
1
|
+
"use strict";import{SplitView as e}from"./src/SplitView.js";import{defineElement as i}from"@spectrum-web-components/base/src/define-element.js";i("sp-split-view",e);
|
2
2
|
//# sourceMappingURL=sp-split-view.js.map
|
package/sp-split-view.js.map
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["sp-split-view.ts"],
|
4
|
-
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport { SplitView } from './src/SplitView.js';\n\
|
5
|
-
"mappings": "aAYA,OAAS,aAAAA,MAAiB,
|
6
|
-
"names": ["SplitView"]
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport { SplitView } from './src/SplitView.js';\nimport { defineElement } from '@spectrum-web-components/base/src/define-element.js';\n\ndefineElement('sp-split-view', SplitView);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-split-view': SplitView;\n }\n}\n"],
|
5
|
+
"mappings": "aAYA,OAAS,aAAAA,MAAiB,qBAC1B,OAAS,iBAAAC,MAAqB,sDAE9BA,EAAc,gBAAiBD,CAAS",
|
6
|
+
"names": ["SplitView", "defineElement"]
|
7
7
|
}
|
package/src/SplitView.js.map
CHANGED
@@ -2,6 +2,6 @@
|
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["SplitView.ts"],
|
4
4
|
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport {\n CSSResultArray,\n html,\n LitElement,\n nothing,\n PropertyValues,\n SpectrumElement,\n TemplateResult,\n} from '@spectrum-web-components/base';\nimport {\n classMap,\n ifDefined,\n} from '@spectrum-web-components/base/src/directives.js';\nimport {\n property,\n query,\n} from '@spectrum-web-components/base/src/decorators.js';\nimport { streamingListener } from '@spectrum-web-components/base/src/streaming-listener.js';\n\nimport { WithSWCResizeObserver } from './types';\n\nimport styles from './split-view.css.js';\n\nconst DEFAULT_MAX_SIZE = 3840;\n\nconst SPLITTERSIZE = 2;\n\nconst ARROW_KEY_CHANGE_VALUE = 10;\n\nconst PAGEUPDOWN_KEY_CHANGE_VALUE = 50;\n\nconst COLLAPSE_THREASHOLD = 50;\n\n/**\n * @element sp-split-view\n *\n * @slot Two sibling elements to be sized by the element attritubes\n * @fires change - Announces the new position of the splitter\n */\nexport class SplitView extends SpectrumElement {\n public static override get styles(): CSSResultArray {\n return [styles];\n }\n\n @property({ type: Boolean, reflect: true })\n public vertical = false;\n\n @property({ type: Boolean, reflect: true })\n public resizable = false;\n\n @property({ type: Boolean, reflect: true })\n public collapsible = false;\n\n /** The minimum size of the primary pane */\n @property({ type: Number, attribute: 'primary-min' })\n public primaryMin = 0;\n\n /** The maximum size of the primary pane */\n @property({ type: Number, attribute: 'primary-max' })\n public primaryMax = DEFAULT_MAX_SIZE;\n\n /**\n * The start size of the primary pane, can be a real pixel number|string, percentage or \"auto\"\n * For example: \"100\", \"120px\", \"75%\" or \"auto\" are valid values\n * @type {number |\u00A0number + \"px\" | number + \"%\" | \"auto\"}\n * @attr\n */\n @property({ type: String, attribute: 'primary-size' })\n public primarySize?: string;\n\n /** The minimum size of the secondary pane */\n @property({ type: Number, attribute: 'secondary-min' })\n public secondaryMin = 0;\n\n /** The maximum size of the secondary pane */\n @property({ type: Number, attribute: 'secondary-max' })\n public secondaryMax = DEFAULT_MAX_SIZE;\n\n /** The current splitter position of split-view */\n @property({ type: Number, reflect: true, attribute: 'splitter-pos' })\n public splitterPos?: number;\n\n /** The current size of first pane of split-view */\n @property({ type: String, attribute: false })\n private firstPaneSize = 'auto';\n\n @property()\n public label?: string;\n\n @property({ type: Boolean, attribute: false })\n private enoughChildren = false;\n\n @property({ type: Number })\n private viewSize = 0;\n\n @query('slot')\n private paneSlot!: HTMLSlotElement;\n\n @query('#splitter')\n private splitter!: HTMLDivElement;\n\n private offset = 0;\n\n private minPos = 0;\n\n private maxPos = DEFAULT_MAX_SIZE;\n\n private observer?: WithSWCResizeObserver['ResizeObserver'];\n\n private rect?: DOMRect;\n\n private _splitterSize?: number;\n\n public constructor() {\n super();\n const RO = (window as unknown as WithSWCResizeObserver).ResizeObserver;\n if (RO) {\n this.observer = new RO(() => {\n this.rect = undefined;\n this.updateMinMax();\n });\n }\n }\n\n public override connectedCallback(): void {\n super.connectedCallback();\n this.observer?.observe(this);\n }\n\n public override disconnectedCallback(): void {\n this.observer?.unobserve(this);\n super.disconnectedCallback();\n }\n\n /**\n * @private\n **/\n public get splitterSize(): number {\n if (!this._splitterSize) {\n this._splitterSize =\n (this.splitter &&\n Math.round(\n parseFloat(\n window\n .getComputedStyle(this.splitter)\n .getPropertyValue(\n this.vertical ? 'height' : 'width'\n )\n )\n )) ||\n SPLITTERSIZE;\n }\n return this._splitterSize;\n }\n\n protected override render(): TemplateResult {\n const splitterClasses = {\n 'is-resized-start': this.splitterPos === this.minPos,\n 'is-resized-end': (this.splitterPos &&\n this.splitterPos > this.splitterSize &&\n this.splitterPos === this.maxPos) as boolean,\n 'is-collapsed-start': this.splitterPos === 0,\n 'is-collapsed-end': (this.splitterPos &&\n this.splitterPos >=\n Math.max(\n this.splitterSize,\n this.viewSize - this.splitterSize\n )) as boolean,\n };\n return html`\n <slot\n @slotchange=${this.onContentSlotChange}\n style=\"--spectrum-split-view-first-pane-size: ${this\n .firstPaneSize}\"\n ></slot>\n ${this.enoughChildren\n ? html`\n <div\n id=\"splitter\"\n class=${classMap(splitterClasses)}\n role=\"separator\"\n aria-label=${ifDefined(this.label || undefined)}\n tabindex=${ifDefined(\n this.resizable ? '0' : undefined\n )}\n @keydown=${this.onKeydown}\n ${streamingListener({\n start: ['pointerdown', this.onPointerdown],\n streamInside: ['pointermove', this.onPointermove],\n end: [\n [\n 'pointerup',\n 'pointercancel',\n 'pointerleave',\n ],\n this.onPointerup,\n ],\n })}\n >\n ${this.resizable\n ? html`\n <div id=\"gripper\"></div>\n `\n : html``}\n </div>\n `\n : nothing}\n `;\n }\n\n private onContentSlotChange(): void {\n this.enoughChildren = this.children.length > 1;\n this.checkResize();\n }\n\n private onPointerdown(event: PointerEvent): void {\n if (!this.resizable || (event.button && event.button !== 0)) {\n event.preventDefault();\n return;\n }\n this.splitter.setPointerCapture(event.pointerId);\n this.offset = this.getOffset();\n }\n\n private onPointermove(event: PointerEvent): void {\n event.preventDefault();\n let pos =\n this.vertical || this.isLTR\n ? this.getPosition(event) - this.offset\n : this.offset - this.getPosition(event);\n if (this.collapsible && pos < this.minPos - COLLAPSE_THREASHOLD) {\n pos = 0;\n }\n if (this.collapsible && pos > this.maxPos + COLLAPSE_THREASHOLD) {\n pos = this.viewSize - this.splitterSize;\n }\n this.updatePosition(pos);\n }\n\n private onPointerup(event: PointerEvent): void {\n this.splitter.releasePointerCapture(event.pointerId);\n }\n\n private getOffset(): number {\n if (!this.rect) {\n this.rect = this.getBoundingClientRect();\n }\n const offsetX = this.isLTR ? this.rect.left : this.rect.right;\n return this.vertical ? this.rect.top : offsetX;\n }\n\n private getPosition(event: PointerEvent): number {\n return this.vertical ? event.clientY : event.clientX;\n }\n\n private movePosition(event: KeyboardEvent, offset: number): void {\n event.preventDefault();\n if (this.splitterPos !== undefined) {\n this.updatePosition(this.splitterPos + offset);\n }\n }\n\n private onKeydown(event: KeyboardEvent): void {\n if (!this.resizable) {\n return;\n }\n let direction = 0;\n const isLTRorVertical = this.isLTR || this.vertical;\n switch (event.key) {\n case 'Home':\n event.preventDefault();\n this.updatePosition(this.collapsible ? 0 : this.minPos);\n return;\n case 'End':\n event.preventDefault();\n this.updatePosition(\n this.collapsible\n ? this.viewSize - this.splitterSize\n : this.maxPos\n );\n return;\n case 'ArrowLeft':\n direction = isLTRorVertical ? -1 : 1;\n break;\n case 'ArrowRight':\n direction = isLTRorVertical ? 1 : -1;\n break;\n case 'ArrowUp':\n direction = this.vertical ? -1 : 1;\n break;\n case 'ArrowDown':\n direction = this.vertical ? 1 : -1;\n break;\n case 'PageUp':\n direction = this.vertical ? -1 : 1;\n break;\n case 'PageDown':\n direction = this.vertical ? 1 : -1;\n break;\n }\n if (direction !== 0) {\n const moveBy = event.key.startsWith('Page')\n ? PAGEUPDOWN_KEY_CHANGE_VALUE\n : ARROW_KEY_CHANGE_VALUE;\n this.movePosition(event, moveBy * direction);\n }\n }\n\n private async checkResize(): Promise<void> {\n if (!this.enoughChildren) {\n return;\n }\n this.updateMinMax();\n if (this.splitterPos === undefined) {\n const startPos = await this.calcStartPos();\n this.updatePosition(startPos);\n }\n }\n\n private updateMinMax(): void {\n this.viewSize = this.vertical ? this.offsetHeight : this.offsetWidth;\n this.minPos = Math.max(\n this.primaryMin,\n this.viewSize - this.secondaryMax\n );\n this.maxPos = Math.min(\n this.primaryMax,\n this.viewSize - Math.max(this.secondaryMin, this.splitterSize)\n );\n }\n\n private updatePosition(x: number): void {\n let pos = this.getLimitedPosition(x);\n if (this.collapsible && x <= 0) {\n pos = 0;\n }\n if (\n this.collapsible &&\n x > this.maxPos &&\n x >= this.viewSize - this.splitterSize\n ) {\n pos = this.viewSize - this.splitterSize;\n }\n if (pos !== this.splitterPos) {\n this.splitterPos = pos;\n this.dispatchChangeEvent();\n }\n }\n\n private getLimitedPosition(input: number): number {\n if (input <= this.minPos) {\n return this.minPos;\n }\n if (input >= this.maxPos) {\n return this.maxPos;\n }\n return Math.max(this.minPos, Math.min(this.maxPos, input));\n }\n\n private async calcStartPos(): Promise<number> {\n if (\n this.primarySize !== undefined &&\n /^\\d+(px)?$/.test(this.primarySize)\n ) {\n return parseInt(this.primarySize, 10);\n }\n if (this.primarySize !== undefined && /^\\d+%$/.test(this.primarySize)) {\n return (parseInt(this.primarySize, 10) * this.viewSize) / 100;\n }\n if (this.primarySize === 'auto') {\n this.firstPaneSize = 'auto';\n const nodes = this.paneSlot.assignedNodes({ flatten: true });\n const firstEl = nodes.find(\n (node) => node instanceof HTMLElement\n ) as LitElement;\n if (typeof firstEl.updateComplete !== 'undefined') {\n await firstEl.updateComplete;\n }\n if (firstEl) {\n const size = window\n .getComputedStyle(firstEl)\n .getPropertyValue(this.vertical ? 'height' : 'width');\n const size_i = parseFloat(size);\n if (!isNaN(size_i)) {\n return this.getLimitedPosition(Math.ceil(size_i));\n }\n }\n }\n return this.viewSize / 2;\n }\n\n private dispatchChangeEvent(): void {\n const changeEvent = new Event('change', {\n bubbles: true,\n composed: true,\n });\n this.dispatchEvent(changeEvent);\n }\n\n protected override willUpdate(changed: PropertyValues): void {\n if (!this.hasUpdated || changed.has('primarySize')) {\n this.splitterPos = undefined;\n this.checkResize();\n }\n if (\n changed.has('splitterPos') &&\n this.splitterPos !== undefined &&\n this.enoughChildren\n ) {\n this.firstPaneSize = `${Math.round(this.splitterPos)}px`;\n }\n }\n}\n"],
|
5
|
-
"mappings": "qNAYA,OAEI,QAAAA,EAEA,WAAAC,EAEA,mBAAAC,MAEG,gCACP,OACI,YAAAC,EACA,aAAAC,MACG,kDACP,OACI,YAAAC,EACA,SAAAC,MACG,kDACP,O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EY_CHANGE_VALUE", "COLLAPSE_THREASHOLD", "RO", "_a", "splitterClasses", "event", "pos", "offsetX", "offset", "direction", "isLTRorVertical", "moveBy", "startPos", "x", "input", "firstEl", "node", "size", "size_i", "changeEvent", "changed", "__decorateClass"]
|
7
7
|
}
|