unpoly-rails 2.6.0 → 2.6.1
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.
Potentially problematic release.
This version of unpoly-rails might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/assets/unpoly/unpoly-bootstrap3.js +16 -2
- data/assets/unpoly/unpoly-bootstrap3.min.js +1 -1
- data/assets/unpoly/unpoly-bootstrap4.js +16 -2
- data/assets/unpoly/unpoly-bootstrap4.min.js +1 -1
- data/assets/unpoly/unpoly-bootstrap5.js +16 -2
- data/assets/unpoly/unpoly-bootstrap5.min.js +1 -1
- data/assets/unpoly/unpoly.css +3 -0
- data/assets/unpoly/unpoly.es5.js +207 -128
- data/assets/unpoly/unpoly.es5.min.js +1 -1
- data/assets/unpoly/unpoly.js +242 -134
- data/assets/unpoly/unpoly.min.css +2 -0
- data/assets/unpoly/unpoly.min.js +1 -1
- data/lib/unpoly/rails/version.rb +1 -1
- metadata +2 -2
data/assets/unpoly/unpoly.js
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
@module up
|
9
9
|
*/
|
10
10
|
window.up = {
|
11
|
-
version: '2.6.
|
11
|
+
version: '2.6.1'
|
12
12
|
};
|
13
13
|
|
14
14
|
|
@@ -42,6 +42,8 @@ You will recognize many functions form other utility libraries like [Lodash](htt
|
|
42
42
|
While feature parity with Lodash is not a goal of `up.util`, you might find it sufficient
|
43
43
|
to not include another library in your asset bundle.
|
44
44
|
|
45
|
+
@see url-patterns
|
46
|
+
|
45
47
|
@module up.util
|
46
48
|
*/
|
47
49
|
up.util = (function () {
|
@@ -2286,8 +2288,9 @@ up.browser = (function () {
|
|
2286
2288
|
|
2287
2289
|
/***/ }),
|
2288
2290
|
/* 7 */
|
2289
|
-
/***/ (() => {
|
2291
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
2290
2292
|
|
2293
|
+
__webpack_require__(8);
|
2291
2294
|
/*-
|
2292
2295
|
DOM helpers
|
2293
2296
|
===========
|
@@ -2539,44 +2542,89 @@ up.element = (function () {
|
|
2539
2542
|
/*-
|
2540
2543
|
Hides the given element.
|
2541
2544
|
|
2542
|
-
|
2543
|
-
of `{ display: none }`.
|
2545
|
+
Also see `up.element.show()` and `up.element.toggle()`.
|
2544
2546
|
|
2545
|
-
|
2547
|
+
### Implementation
|
2548
|
+
|
2549
|
+
The element is hidden by setting an `[hidden]` attribute.
|
2550
|
+
This effectively gives the element a `display: none` rule.
|
2551
|
+
|
2552
|
+
To customize the CSS rule for hiding, see `[hidden]`.
|
2546
2553
|
|
2547
2554
|
@function up.element.hide
|
2548
2555
|
@param {Element} element
|
2549
2556
|
@stable
|
2550
2557
|
*/
|
2551
2558
|
function hide(element) {
|
2552
|
-
|
2559
|
+
// Set an attribute that the user can style with custom "hidden" styles.
|
2560
|
+
// E.g. certain JavaScript components cannot initialize properly within a
|
2561
|
+
// { display: none }, as such an element has no width or height.
|
2562
|
+
element.setAttribute('hidden', '');
|
2553
2563
|
}
|
2554
2564
|
/*-
|
2565
|
+
Elements with this attribute are hidden from the page.
|
2566
|
+
|
2567
|
+
While `[hidden]` is a [standard HTML attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)
|
2568
|
+
its default implementation is [not very useful](https://meowni.ca/hidden.is.a.lie.html).
|
2569
|
+
In particular it cannot hide elements with any `display` rule.
|
2570
|
+
Unpoly improves the default CSS styles of `[hidden]` so it can hide arbitrary elements.
|
2571
|
+
|
2572
|
+
## Customizing the CSS
|
2573
|
+
|
2574
|
+
Unpoly's default styles for `[hidden]` look like this:
|
2575
|
+
|
2576
|
+
```css
|
2577
|
+
[hidden][hidden] {
|
2578
|
+
display: none !important;
|
2579
|
+
}
|
2580
|
+
```
|
2581
|
+
|
2582
|
+
You can override the CSS to hide an element in a different way, e.g. by giving it a zero height:
|
2583
|
+
|
2584
|
+
```css
|
2585
|
+
.my-element[hidden] {
|
2586
|
+
display: block !important;
|
2587
|
+
height: 0 !important;
|
2588
|
+
}
|
2589
|
+
```
|
2590
|
+
|
2591
|
+
Note that any overriding selector must have a [specificity of `(0, 2, 0)`](https://polypane.app/css-specificity-calculator/#selector=.element%5Bhidden%5D).
|
2592
|
+
Also all rules should be defined with [`!important`](https://www.w3schools.com/css/css_important.asp) to override other
|
2593
|
+
styles defined on that element.
|
2594
|
+
|
2595
|
+
@selector [hidden]
|
2596
|
+
@experimental
|
2597
|
+
*/
|
2598
|
+
/*-
|
2555
2599
|
Shows the given element.
|
2556
2600
|
|
2557
|
-
Also see `up.element.hide()`.
|
2601
|
+
Also see `up.element.hide()` and `up.element.toggle()`.
|
2558
2602
|
|
2559
2603
|
### Limitations
|
2560
2604
|
|
2561
|
-
The element is shown by
|
2562
|
-
|
2605
|
+
The element is shown by removing the `[hidden]` attribute set by `up.element.hide()`.
|
2606
|
+
In case the element is hidden by an inline style (`[style="display: none"]`),
|
2607
|
+
that inline style is also removed.
|
2563
2608
|
|
2564
|
-
You
|
2565
|
-
Unpoly will not handle such cases in order to keep this function performant. As a workaround, you may
|
2566
|
-
manually set
|
2567
|
-
in jQuery issues [#88](https://github.com/jquery/jquery.com/issues/88),
|
2568
|
-
[#2057](https://github.com/jquery/jquery/issues/2057) and
|
2569
|
-
[this WHATWG mailing list post](http://lists.w3.org/Archives/Public/public-whatwg-archive/2014Apr/0094.html).
|
2609
|
+
You may have CSS rules causing the element to remain hidden after calling `up.element.show(element)`.
|
2610
|
+
Unpoly will *not* handle such cases in order to keep this function performant. As a workaround, you may
|
2611
|
+
manually set `element.style.display = 'block'`.
|
2570
2612
|
|
2571
2613
|
@function up.element.show
|
2572
2614
|
@param {Element} element
|
2573
2615
|
@stable
|
2574
2616
|
*/
|
2575
2617
|
function show(element) {
|
2576
|
-
element.
|
2618
|
+
// Remove the attribute set by `up.element.hide()`.
|
2619
|
+
element.removeAttribute('hidden');
|
2620
|
+
// In case the element was manually hidden through an inline style
|
2621
|
+
// of `display: none`, we also remove that.
|
2622
|
+
if (element.style.display === 'none') {
|
2623
|
+
element.style.display = '';
|
2624
|
+
}
|
2577
2625
|
}
|
2578
2626
|
/*-
|
2579
|
-
|
2627
|
+
Changes whether the given element is [shown](/up.element.show) or [hidden](/up.element.hide).
|
2580
2628
|
|
2581
2629
|
@function up.element.toggle
|
2582
2630
|
@param {Element} element
|
@@ -2592,10 +2640,6 @@ up.element = (function () {
|
|
2592
2640
|
}
|
2593
2641
|
(newVisible ? show : hide)(element);
|
2594
2642
|
}
|
2595
|
-
// trace = (fn) ->
|
2596
|
-
// (args...) ->
|
2597
|
-
// console.debug("Calling %o with %o", fn, args)
|
2598
|
-
// fn(args...)
|
2599
2643
|
/*-
|
2600
2644
|
Adds or removes the given class from the given element.
|
2601
2645
|
|
@@ -3526,6 +3570,15 @@ up.element = (function () {
|
|
3526
3570
|
|
3527
3571
|
/***/ }),
|
3528
3572
|
/* 8 */
|
3573
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
3574
|
+
|
3575
|
+
"use strict";
|
3576
|
+
__webpack_require__.r(__webpack_exports__);
|
3577
|
+
// extracted by mini-css-extract-plugin
|
3578
|
+
|
3579
|
+
|
3580
|
+
/***/ }),
|
3581
|
+
/* 9 */
|
3529
3582
|
/***/ (() => {
|
3530
3583
|
|
3531
3584
|
const u = up.util;
|
@@ -3555,7 +3608,7 @@ up.Record = class Record {
|
|
3555
3608
|
|
3556
3609
|
|
3557
3610
|
/***/ }),
|
3558
|
-
/*
|
3611
|
+
/* 10 */
|
3559
3612
|
/***/ (() => {
|
3560
3613
|
|
3561
3614
|
const u = up.util;
|
@@ -3571,7 +3624,7 @@ up.Config = class Config {
|
|
3571
3624
|
|
3572
3625
|
|
3573
3626
|
/***/ }),
|
3574
|
-
/*
|
3627
|
+
/* 11 */
|
3575
3628
|
/***/ (() => {
|
3576
3629
|
|
3577
3630
|
const u = up.util;
|
@@ -3722,7 +3775,7 @@ up.Cache = class Cache {
|
|
3722
3775
|
|
3723
3776
|
|
3724
3777
|
/***/ }),
|
3725
|
-
/*
|
3778
|
+
/* 12 */
|
3726
3779
|
/***/ (() => {
|
3727
3780
|
|
3728
3781
|
up.Rect = class Rect extends up.Record {
|
@@ -3747,7 +3800,7 @@ up.Rect = class Rect extends up.Record {
|
|
3747
3800
|
|
3748
3801
|
|
3749
3802
|
/***/ }),
|
3750
|
-
/*
|
3803
|
+
/* 13 */
|
3751
3804
|
/***/ (() => {
|
3752
3805
|
|
3753
3806
|
const e = up.element;
|
@@ -3817,7 +3870,7 @@ up.BodyShifter = class BodyShifter {
|
|
3817
3870
|
|
3818
3871
|
|
3819
3872
|
/***/ }),
|
3820
|
-
/*
|
3873
|
+
/* 14 */
|
3821
3874
|
/***/ (() => {
|
3822
3875
|
|
3823
3876
|
const u = up.util;
|
@@ -3851,7 +3904,7 @@ up.Change = class Change {
|
|
3851
3904
|
|
3852
3905
|
|
3853
3906
|
/***/ }),
|
3854
|
-
/*
|
3907
|
+
/* 15 */
|
3855
3908
|
/***/ (() => {
|
3856
3909
|
|
3857
3910
|
const u = up.util;
|
@@ -3932,7 +3985,7 @@ up.Change.Addition = class Addition extends up.Change {
|
|
3932
3985
|
|
3933
3986
|
|
3934
3987
|
/***/ }),
|
3935
|
-
/*
|
3988
|
+
/* 16 */
|
3936
3989
|
/***/ (() => {
|
3937
3990
|
|
3938
3991
|
up.Change.Removal = class Removal extends up.Change {
|
@@ -3940,7 +3993,7 @@ up.Change.Removal = class Removal extends up.Change {
|
|
3940
3993
|
|
3941
3994
|
|
3942
3995
|
/***/ }),
|
3943
|
-
/*
|
3996
|
+
/* 17 */
|
3944
3997
|
/***/ (() => {
|
3945
3998
|
|
3946
3999
|
const e = up.element;
|
@@ -4007,7 +4060,7 @@ up.Change.DestroyFragment = class DestroyFragment extends up.Change.Removal {
|
|
4007
4060
|
|
4008
4061
|
|
4009
4062
|
/***/ }),
|
4010
|
-
/*
|
4063
|
+
/* 18 */
|
4011
4064
|
/***/ (() => {
|
4012
4065
|
|
4013
4066
|
up.Change.OpenLayer = class OpenLayer extends up.Change.Addition {
|
@@ -4178,7 +4231,7 @@ up.Change.OpenLayer = class OpenLayer extends up.Change.Addition {
|
|
4178
4231
|
|
4179
4232
|
|
4180
4233
|
/***/ }),
|
4181
|
-
/*
|
4234
|
+
/* 19 */
|
4182
4235
|
/***/ (() => {
|
4183
4236
|
|
4184
4237
|
const u = up.util;
|
@@ -4573,7 +4626,7 @@ up.Change.UpdateLayer = class UpdateLayer extends up.Change.Addition {
|
|
4573
4626
|
|
4574
4627
|
|
4575
4628
|
/***/ }),
|
4576
|
-
/*
|
4629
|
+
/* 20 */
|
4577
4630
|
/***/ (() => {
|
4578
4631
|
|
4579
4632
|
const u = up.util;
|
@@ -4658,7 +4711,7 @@ up.Change.CloseLayer = class CloseLayer extends up.Change.Removal {
|
|
4658
4711
|
|
4659
4712
|
|
4660
4713
|
/***/ }),
|
4661
|
-
/*
|
4714
|
+
/* 21 */
|
4662
4715
|
/***/ (() => {
|
4663
4716
|
|
4664
4717
|
const u = up.util;
|
@@ -4804,7 +4857,7 @@ up.Change.FromContent = class FromContent extends up.Change {
|
|
4804
4857
|
|
4805
4858
|
|
4806
4859
|
/***/ }),
|
4807
|
-
/*
|
4860
|
+
/* 22 */
|
4808
4861
|
/***/ (() => {
|
4809
4862
|
|
4810
4863
|
const u = up.util;
|
@@ -4959,7 +5012,7 @@ up.Change.FromURL = class FromURL extends up.Change {
|
|
4959
5012
|
|
4960
5013
|
|
4961
5014
|
/***/ }),
|
4962
|
-
/*
|
5015
|
+
/* 23 */
|
4963
5016
|
/***/ (() => {
|
4964
5017
|
|
4965
5018
|
const u = up.util;
|
@@ -5083,7 +5136,7 @@ up.CompilerPass = class CompilerPass {
|
|
5083
5136
|
|
5084
5137
|
|
5085
5138
|
/***/ }),
|
5086
|
-
/*
|
5139
|
+
/* 24 */
|
5087
5140
|
/***/ (() => {
|
5088
5141
|
|
5089
5142
|
const u = up.util;
|
@@ -5208,7 +5261,7 @@ up.CSSTransition = class CSSTransition {
|
|
5208
5261
|
|
5209
5262
|
|
5210
5263
|
/***/ }),
|
5211
|
-
/*
|
5264
|
+
/* 25 */
|
5212
5265
|
/***/ (() => {
|
5213
5266
|
|
5214
5267
|
const u = up.util;
|
@@ -5251,7 +5304,7 @@ up.DestructorPass = class DestructorPass {
|
|
5251
5304
|
|
5252
5305
|
|
5253
5306
|
/***/ }),
|
5254
|
-
/*
|
5307
|
+
/* 26 */
|
5255
5308
|
/***/ (() => {
|
5256
5309
|
|
5257
5310
|
const u = up.util;
|
@@ -5387,7 +5440,7 @@ up.EventEmitter = class EventEmitter extends up.Record {
|
|
5387
5440
|
|
5388
5441
|
|
5389
5442
|
/***/ }),
|
5390
|
-
/*
|
5443
|
+
/* 27 */
|
5391
5444
|
/***/ (() => {
|
5392
5445
|
|
5393
5446
|
const u = up.util;
|
@@ -5519,7 +5572,7 @@ up.EventListener = class EventListener extends up.Record {
|
|
5519
5572
|
|
5520
5573
|
|
5521
5574
|
/***/ }),
|
5522
|
-
/*
|
5575
|
+
/* 28 */
|
5523
5576
|
/***/ (() => {
|
5524
5577
|
|
5525
5578
|
const u = up.util;
|
@@ -5606,7 +5659,7 @@ up.EventListenerGroup = class EventListenerGroup extends up.Record {
|
|
5606
5659
|
|
5607
5660
|
|
5608
5661
|
/***/ }),
|
5609
|
-
/*
|
5662
|
+
/* 29 */
|
5610
5663
|
/***/ (() => {
|
5611
5664
|
|
5612
5665
|
const u = up.util;
|
@@ -5699,7 +5752,7 @@ up.FieldObserver = class FieldObserver {
|
|
5699
5752
|
|
5700
5753
|
|
5701
5754
|
/***/ }),
|
5702
|
-
/*
|
5755
|
+
/* 30 */
|
5703
5756
|
/***/ (() => {
|
5704
5757
|
|
5705
5758
|
const e = up.element;
|
@@ -5755,7 +5808,7 @@ up.FocusCapsule = class FocusCapsule extends up.Record {
|
|
5755
5808
|
|
5756
5809
|
|
5757
5810
|
/***/ }),
|
5758
|
-
/*
|
5811
|
+
/* 31 */
|
5759
5812
|
/***/ (() => {
|
5760
5813
|
|
5761
5814
|
const u = up.util;
|
@@ -5814,7 +5867,7 @@ up.FragmentProcessor = class FragmentProcessor extends up.Record {
|
|
5814
5867
|
|
5815
5868
|
|
5816
5869
|
/***/ }),
|
5817
|
-
/*
|
5870
|
+
/* 32 */
|
5818
5871
|
/***/ (() => {
|
5819
5872
|
|
5820
5873
|
const DESCENDANT_SELECTOR = /^([^ >+(]+) (.+)$/;
|
@@ -5852,7 +5905,7 @@ up.FragmentFinder = class FragmentFinder {
|
|
5852
5905
|
|
5853
5906
|
|
5854
5907
|
/***/ }),
|
5855
|
-
/*
|
5908
|
+
/* 33 */
|
5856
5909
|
/***/ (() => {
|
5857
5910
|
|
5858
5911
|
const u = up.util;
|
@@ -5931,7 +5984,7 @@ up.FragmentFocus = class FragmentFocus extends up.FragmentProcessor {
|
|
5931
5984
|
|
5932
5985
|
|
5933
5986
|
/***/ }),
|
5934
|
-
/*
|
5987
|
+
/* 34 */
|
5935
5988
|
/***/ (() => {
|
5936
5989
|
|
5937
5990
|
const e = up.element;
|
@@ -6035,7 +6088,7 @@ up.FragmentPolling = class FragmentPolling {
|
|
6035
6088
|
|
6036
6089
|
|
6037
6090
|
/***/ }),
|
6038
|
-
/*
|
6091
|
+
/* 35 */
|
6039
6092
|
/***/ (() => {
|
6040
6093
|
|
6041
6094
|
const u = up.util;
|
@@ -6113,7 +6166,7 @@ up.FragmentScrolling = class FragmentScrolling extends up.FragmentProcessor {
|
|
6113
6166
|
|
6114
6167
|
|
6115
6168
|
/***/ }),
|
6116
|
-
/*
|
6169
|
+
/* 36 */
|
6117
6170
|
/***/ (() => {
|
6118
6171
|
|
6119
6172
|
const u = up.util;
|
@@ -6154,7 +6207,7 @@ up.HTMLWrapper = class HTMLWrapper {
|
|
6154
6207
|
|
6155
6208
|
|
6156
6209
|
/***/ }),
|
6157
|
-
/*
|
6210
|
+
/* 37 */
|
6158
6211
|
/***/ (() => {
|
6159
6212
|
|
6160
6213
|
const e = up.element;
|
@@ -6170,6 +6223,7 @@ even if that layer is not the frontmost layer. E.g. if you're compiling a fragme
|
|
6170
6223
|
the background layer during compilation.
|
6171
6224
|
|
6172
6225
|
@class up.Layer
|
6226
|
+
@parent up.layer
|
6173
6227
|
*/
|
6174
6228
|
up.Layer = class Layer extends up.Record {
|
6175
6229
|
/*-
|
@@ -6843,7 +6897,7 @@ up.Layer = class Layer extends up.Record {
|
|
6843
6897
|
|
6844
6898
|
|
6845
6899
|
/***/ }),
|
6846
|
-
/*
|
6900
|
+
/* 38 */
|
6847
6901
|
/***/ (() => {
|
6848
6902
|
|
6849
6903
|
const e = up.element;
|
@@ -7193,7 +7247,7 @@ up.Layer.Overlay = class Overlay extends up.Layer {
|
|
7193
7247
|
|
7194
7248
|
|
7195
7249
|
/***/ }),
|
7196
|
-
/*
|
7250
|
+
/* 39 */
|
7197
7251
|
/***/ (() => {
|
7198
7252
|
|
7199
7253
|
up.Layer.OverlayWithTether = class OverlayWithTether extends up.Layer.Overlay {
|
@@ -7238,7 +7292,7 @@ up.Layer.OverlayWithTether = class OverlayWithTether extends up.Layer.Overlay {
|
|
7238
7292
|
|
7239
7293
|
|
7240
7294
|
/***/ }),
|
7241
|
-
/*
|
7295
|
+
/* 40 */
|
7242
7296
|
/***/ (() => {
|
7243
7297
|
|
7244
7298
|
var _a;
|
@@ -7290,7 +7344,7 @@ up.Layer.OverlayWithViewport = (_a = class OverlayWithViewport extends up.Layer.
|
|
7290
7344
|
|
7291
7345
|
|
7292
7346
|
/***/ }),
|
7293
|
-
/*
|
7347
|
+
/* 41 */
|
7294
7348
|
/***/ (() => {
|
7295
7349
|
|
7296
7350
|
var _a;
|
@@ -7362,7 +7416,7 @@ up.Layer.Root = (_a = class Root extends up.Layer {
|
|
7362
7416
|
|
7363
7417
|
|
7364
7418
|
/***/ }),
|
7365
|
-
/*
|
7419
|
+
/* 42 */
|
7366
7420
|
/***/ (() => {
|
7367
7421
|
|
7368
7422
|
var _a;
|
@@ -7373,7 +7427,7 @@ up.Layer.Modal = (_a = class Modal extends up.Layer.OverlayWithViewport {
|
|
7373
7427
|
|
7374
7428
|
|
7375
7429
|
/***/ }),
|
7376
|
-
/*
|
7430
|
+
/* 43 */
|
7377
7431
|
/***/ (() => {
|
7378
7432
|
|
7379
7433
|
var _a;
|
@@ -7384,7 +7438,7 @@ up.Layer.Popup = (_a = class Popup extends up.Layer.OverlayWithTether {
|
|
7384
7438
|
|
7385
7439
|
|
7386
7440
|
/***/ }),
|
7387
|
-
/*
|
7441
|
+
/* 44 */
|
7388
7442
|
/***/ (() => {
|
7389
7443
|
|
7390
7444
|
var _a;
|
@@ -7395,7 +7449,7 @@ up.Layer.Drawer = (_a = class Drawer extends up.Layer.OverlayWithViewport {
|
|
7395
7449
|
|
7396
7450
|
|
7397
7451
|
/***/ }),
|
7398
|
-
/*
|
7452
|
+
/* 45 */
|
7399
7453
|
/***/ (() => {
|
7400
7454
|
|
7401
7455
|
var _a;
|
@@ -7406,7 +7460,7 @@ up.Layer.Cover = (_a = class Cover extends up.Layer.OverlayWithViewport {
|
|
7406
7460
|
|
7407
7461
|
|
7408
7462
|
/***/ }),
|
7409
|
-
/*
|
7463
|
+
/* 46 */
|
7410
7464
|
/***/ (() => {
|
7411
7465
|
|
7412
7466
|
const u = up.util;
|
@@ -7424,7 +7478,7 @@ up.LayerLookup = class LayerLookup {
|
|
7424
7478
|
}
|
7425
7479
|
this.values = u.splitValues(options.layer);
|
7426
7480
|
this.origin = options.origin;
|
7427
|
-
this.baseLayer = options.baseLayer || this.stack.current;
|
7481
|
+
this.baseLayer = options.baseLayer || this.originLayer() || this.stack.current;
|
7428
7482
|
if (u.isString(this.baseLayer)) {
|
7429
7483
|
// The { baseLayer } option may itself be a string like "parent".
|
7430
7484
|
// In this case we look it up using a new up.LayerLookup instance, using
|
@@ -7505,7 +7559,7 @@ up.LayerLookup = class LayerLookup {
|
|
7505
7559
|
|
7506
7560
|
|
7507
7561
|
/***/ }),
|
7508
|
-
/*
|
7562
|
+
/* 47 */
|
7509
7563
|
/***/ (() => {
|
7510
7564
|
|
7511
7565
|
const u = up.util;
|
@@ -7638,7 +7692,7 @@ up.LayerStack = class LayerStack extends Array {
|
|
7638
7692
|
|
7639
7693
|
|
7640
7694
|
/***/ }),
|
7641
|
-
/*
|
7695
|
+
/* 48 */
|
7642
7696
|
/***/ (() => {
|
7643
7697
|
|
7644
7698
|
up.LinkFeedbackURLs = class LinkFeedbackURLs {
|
@@ -7672,7 +7726,7 @@ up.LinkFeedbackURLs = class LinkFeedbackURLs {
|
|
7672
7726
|
|
7673
7727
|
|
7674
7728
|
/***/ }),
|
7675
|
-
/*
|
7729
|
+
/* 49 */
|
7676
7730
|
/***/ (() => {
|
7677
7731
|
|
7678
7732
|
const u = up.util;
|
@@ -7747,7 +7801,7 @@ up.LinkPreloader = class LinkPreloader {
|
|
7747
7801
|
|
7748
7802
|
|
7749
7803
|
/***/ }),
|
7750
|
-
/*
|
7804
|
+
/* 50 */
|
7751
7805
|
/***/ (() => {
|
7752
7806
|
|
7753
7807
|
const u = up.util;
|
@@ -7920,7 +7974,7 @@ up.MotionController = class MotionController {
|
|
7920
7974
|
|
7921
7975
|
|
7922
7976
|
/***/ }),
|
7923
|
-
/*
|
7977
|
+
/* 51 */
|
7924
7978
|
/***/ (() => {
|
7925
7979
|
|
7926
7980
|
const u = up.util;
|
@@ -8033,7 +8087,7 @@ up.NonceableCallback = class NonceableCallback {
|
|
8033
8087
|
|
8034
8088
|
|
8035
8089
|
/***/ }),
|
8036
|
-
/*
|
8090
|
+
/* 52 */
|
8037
8091
|
/***/ (() => {
|
8038
8092
|
|
8039
8093
|
const u = up.util;
|
@@ -8100,7 +8154,7 @@ up.OptionsParser = class OptionsParser {
|
|
8100
8154
|
|
8101
8155
|
|
8102
8156
|
/***/ }),
|
8103
|
-
/*
|
8157
|
+
/* 53 */
|
8104
8158
|
/***/ (() => {
|
8105
8159
|
|
8106
8160
|
const e = up.element;
|
@@ -8191,7 +8245,7 @@ up.OverlayFocus = class OverlayFocus {
|
|
8191
8245
|
|
8192
8246
|
|
8193
8247
|
/***/ }),
|
8194
|
-
/*
|
8248
|
+
/* 54 */
|
8195
8249
|
/***/ (() => {
|
8196
8250
|
|
8197
8251
|
const u = up.util;
|
@@ -8215,6 +8269,7 @@ The following types of parameter representation are supported:
|
|
8215
8269
|
On IE 11 and Edge, `FormData` payloads require a [polyfill for `FormData#entries()`](https://github.com/jimmywarting/FormData).
|
8216
8270
|
|
8217
8271
|
@class up.Params
|
8272
|
+
@parent up.form
|
8218
8273
|
*/
|
8219
8274
|
up.Params = class Params {
|
8220
8275
|
/*-
|
@@ -8579,7 +8634,7 @@ up.Params = class Params {
|
|
8579
8634
|
@param {string} name
|
8580
8635
|
@return {any}
|
8581
8636
|
The value of the param with the given name.
|
8582
|
-
@
|
8637
|
+
@experimental
|
8583
8638
|
*/
|
8584
8639
|
getFirst(name) {
|
8585
8640
|
const entry = u.find(this.entries, this.matchEntryFn(name));
|
@@ -8594,7 +8649,7 @@ up.Params = class Params {
|
|
8594
8649
|
@param {string} name
|
8595
8650
|
@return {Array}
|
8596
8651
|
An array of all values with the given name.
|
8597
|
-
@
|
8652
|
+
@experimental
|
8598
8653
|
*/
|
8599
8654
|
getAll(name) {
|
8600
8655
|
if (this.isArrayKey(name)) {
|
@@ -8778,7 +8833,7 @@ up.Params = class Params {
|
|
8778
8833
|
|
8779
8834
|
|
8780
8835
|
/***/ }),
|
8781
|
-
/*
|
8836
|
+
/* 55 */
|
8782
8837
|
/***/ (() => {
|
8783
8838
|
|
8784
8839
|
const e = up.element;
|
@@ -8835,7 +8890,7 @@ up.ProgressBar = class ProgressBar {
|
|
8835
8890
|
|
8836
8891
|
|
8837
8892
|
/***/ }),
|
8838
|
-
/*
|
8893
|
+
/* 56 */
|
8839
8894
|
/***/ (() => {
|
8840
8895
|
|
8841
8896
|
const u = up.util;
|
@@ -8973,7 +9028,7 @@ up.RenderOptions = (function () {
|
|
8973
9028
|
|
8974
9029
|
|
8975
9030
|
/***/ }),
|
8976
|
-
/*
|
9031
|
+
/* 57 */
|
8977
9032
|
/***/ (() => {
|
8978
9033
|
|
8979
9034
|
/*-
|
@@ -8988,6 +9043,7 @@ console.log(result.layer) // => up.Layer.Root
|
|
8988
9043
|
```
|
8989
9044
|
|
8990
9045
|
@class up.RenderResult
|
9046
|
+
@parent up.fragment
|
8991
9047
|
*/
|
8992
9048
|
up.RenderResult = class RenderResult extends up.Record {
|
8993
9049
|
/*-
|
@@ -9014,7 +9070,7 @@ up.RenderResult = class RenderResult extends up.Record {
|
|
9014
9070
|
|
9015
9071
|
|
9016
9072
|
/***/ }),
|
9017
|
-
/*
|
9073
|
+
/* 58 */
|
9018
9074
|
/***/ (() => {
|
9019
9075
|
|
9020
9076
|
const u = up.util;
|
@@ -9033,6 +9089,7 @@ console.log(response.text)
|
|
9033
9089
|
```
|
9034
9090
|
|
9035
9091
|
@class up.Request
|
9092
|
+
@parent up.network
|
9036
9093
|
*/
|
9037
9094
|
up.Request = class Request extends up.Record {
|
9038
9095
|
/*-
|
@@ -9609,7 +9666,7 @@ up.Request.tester = function (condition) {
|
|
9609
9666
|
|
9610
9667
|
|
9611
9668
|
/***/ }),
|
9612
|
-
/*
|
9669
|
+
/* 59 */
|
9613
9670
|
/***/ (() => {
|
9614
9671
|
|
9615
9672
|
let u = up.util;
|
@@ -9654,7 +9711,7 @@ up.Request.Cache = class Cache extends up.Cache {
|
|
9654
9711
|
|
9655
9712
|
|
9656
9713
|
/***/ }),
|
9657
|
-
/*
|
9714
|
+
/* 60 */
|
9658
9715
|
/***/ (() => {
|
9659
9716
|
|
9660
9717
|
const u = up.util;
|
@@ -9792,7 +9849,7 @@ up.Request.Queue = class Queue {
|
|
9792
9849
|
|
9793
9850
|
|
9794
9851
|
/***/ }),
|
9795
|
-
/*
|
9852
|
+
/* 61 */
|
9796
9853
|
/***/ (() => {
|
9797
9854
|
|
9798
9855
|
const u = up.util;
|
@@ -9844,7 +9901,7 @@ up.Request.FormRenderer = class FormRenderer {
|
|
9844
9901
|
|
9845
9902
|
|
9846
9903
|
/***/ }),
|
9847
|
-
/*
|
9904
|
+
/* 62 */
|
9848
9905
|
/***/ (() => {
|
9849
9906
|
|
9850
9907
|
const CONTENT_TYPE_URL_ENCODED = 'application/x-www-form-urlencoded';
|
@@ -9951,7 +10008,7 @@ up.Request.XHRRenderer = class XHRRenderer {
|
|
9951
10008
|
|
9952
10009
|
|
9953
10010
|
/***/ }),
|
9954
|
-
/*
|
10011
|
+
/* 63 */
|
9955
10012
|
/***/ (() => {
|
9956
10013
|
|
9957
10014
|
/*-
|
@@ -9965,6 +10022,7 @@ A response to an [HTTP request](/up.request).
|
|
9965
10022
|
})
|
9966
10023
|
|
9967
10024
|
@class up.Response
|
10025
|
+
@parent up.network
|
9968
10026
|
*/
|
9969
10027
|
up.Response = class Response extends up.Record {
|
9970
10028
|
/*-
|
@@ -10132,7 +10190,7 @@ up.Response = class Response extends up.Record {
|
|
10132
10190
|
|
10133
10191
|
|
10134
10192
|
/***/ }),
|
10135
|
-
/*
|
10193
|
+
/* 64 */
|
10136
10194
|
/***/ (() => {
|
10137
10195
|
|
10138
10196
|
const u = up.util;
|
@@ -10238,7 +10296,7 @@ up.ResponseDoc = class ResponseDoc {
|
|
10238
10296
|
|
10239
10297
|
|
10240
10298
|
/***/ }),
|
10241
|
-
/*
|
10299
|
+
/* 65 */
|
10242
10300
|
/***/ (() => {
|
10243
10301
|
|
10244
10302
|
const e = up.element;
|
@@ -10354,7 +10412,7 @@ up.RevealMotion = class RevealMotion {
|
|
10354
10412
|
|
10355
10413
|
|
10356
10414
|
/***/ }),
|
10357
|
-
/*
|
10415
|
+
/* 66 */
|
10358
10416
|
/***/ (() => {
|
10359
10417
|
|
10360
10418
|
const u = up.util;
|
@@ -10428,7 +10486,7 @@ up.ScrollMotion = class ScrollMotion {
|
|
10428
10486
|
|
10429
10487
|
|
10430
10488
|
/***/ }),
|
10431
|
-
/*
|
10489
|
+
/* 67 */
|
10432
10490
|
/***/ (() => {
|
10433
10491
|
|
10434
10492
|
const e = up.element;
|
@@ -10479,7 +10537,7 @@ up.Selector = class Selector {
|
|
10479
10537
|
|
10480
10538
|
|
10481
10539
|
/***/ }),
|
10482
|
-
/*
|
10540
|
+
/* 68 */
|
10483
10541
|
/***/ (() => {
|
10484
10542
|
|
10485
10543
|
const u = up.util;
|
@@ -10513,7 +10571,7 @@ up.store.Memory = class Memory {
|
|
10513
10571
|
|
10514
10572
|
|
10515
10573
|
/***/ }),
|
10516
|
-
/*
|
10574
|
+
/* 69 */
|
10517
10575
|
/***/ (() => {
|
10518
10576
|
|
10519
10577
|
//#
|
@@ -10583,7 +10641,7 @@ up.store.Session = class Session extends up.store.Memory {
|
|
10583
10641
|
|
10584
10642
|
|
10585
10643
|
/***/ }),
|
10586
|
-
/*
|
10644
|
+
/* 70 */
|
10587
10645
|
/***/ (() => {
|
10588
10646
|
|
10589
10647
|
const u = up.util;
|
@@ -10743,7 +10801,7 @@ up.Tether = class Tether {
|
|
10743
10801
|
|
10744
10802
|
|
10745
10803
|
/***/ }),
|
10746
|
-
/*
|
10804
|
+
/* 71 */
|
10747
10805
|
/***/ (() => {
|
10748
10806
|
|
10749
10807
|
const u = up.util;
|
@@ -10830,7 +10888,7 @@ up.URLPattern = class URLPattern {
|
|
10830
10888
|
|
10831
10889
|
|
10832
10890
|
/***/ }),
|
10833
|
-
/*
|
10891
|
+
/* 72 */
|
10834
10892
|
/***/ (() => {
|
10835
10893
|
|
10836
10894
|
/*-
|
@@ -11041,7 +11099,7 @@ up.boot = up.framework.boot;
|
|
11041
11099
|
|
11042
11100
|
|
11043
11101
|
/***/ }),
|
11044
|
-
/*
|
11102
|
+
/* 73 */
|
11045
11103
|
/***/ (() => {
|
11046
11104
|
|
11047
11105
|
/*-
|
@@ -11607,7 +11665,7 @@ up.emit = up.event.emit;
|
|
11607
11665
|
|
11608
11666
|
|
11609
11667
|
/***/ }),
|
11610
|
-
/*
|
11668
|
+
/* 74 */
|
11611
11669
|
/***/ (() => {
|
11612
11670
|
|
11613
11671
|
/*-
|
@@ -12404,7 +12462,7 @@ up.protocol = (function () {
|
|
12404
12462
|
|
12405
12463
|
|
12406
12464
|
/***/ }),
|
12407
|
-
/*
|
12465
|
+
/* 75 */
|
12408
12466
|
/***/ (() => {
|
12409
12467
|
|
12410
12468
|
/*-
|
@@ -12598,7 +12656,7 @@ up.warn = up.log.warn;
|
|
12598
12656
|
|
12599
12657
|
|
12600
12658
|
/***/ }),
|
12601
|
-
/*
|
12659
|
+
/* 76 */
|
12602
12660
|
/***/ (() => {
|
12603
12661
|
|
12604
12662
|
/*-
|
@@ -12607,6 +12665,8 @@ Custom JavaScript
|
|
12607
12665
|
|
12608
12666
|
The `up.syntax` package lets you pair HTML elements with JavaScript behavior.
|
12609
12667
|
|
12668
|
+
@see legacy-scripts
|
12669
|
+
|
12610
12670
|
@see up.compiler
|
12611
12671
|
@see [up-data]
|
12612
12672
|
@see up.macro
|
@@ -13102,7 +13162,7 @@ up.data = up.syntax.data;
|
|
13102
13162
|
|
13103
13163
|
|
13104
13164
|
/***/ }),
|
13105
|
-
/*
|
13165
|
+
/* 77 */
|
13106
13166
|
/***/ (() => {
|
13107
13167
|
|
13108
13168
|
/*-
|
@@ -13442,10 +13502,10 @@ up.history = (function () {
|
|
13442
13502
|
|
13443
13503
|
|
13444
13504
|
/***/ }),
|
13445
|
-
/*
|
13505
|
+
/* 78 */
|
13446
13506
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
13447
13507
|
|
13448
|
-
__webpack_require__(
|
13508
|
+
__webpack_require__(79);
|
13449
13509
|
const u = up.util;
|
13450
13510
|
const e = up.element;
|
13451
13511
|
/*-
|
@@ -13470,6 +13530,10 @@ a server-rendered web application:
|
|
13470
13530
|
|
13471
13531
|
For low-level DOM utilities that complement the browser's native API, see `up.element`.
|
13472
13532
|
|
13533
|
+
@see navigation
|
13534
|
+
@see focus-option
|
13535
|
+
@see csp
|
13536
|
+
|
13473
13537
|
@see up.render
|
13474
13538
|
@see up.navigate
|
13475
13539
|
@see up.destroy
|
@@ -15246,19 +15310,22 @@ u.delegate(up, 'context', () => up.layer.current);
|
|
15246
15310
|
|
15247
15311
|
|
15248
15312
|
/***/ }),
|
15249
|
-
/*
|
15250
|
-
/***/ (() => {
|
15313
|
+
/* 79 */
|
15314
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
15251
15315
|
|
15316
|
+
"use strict";
|
15317
|
+
__webpack_require__.r(__webpack_exports__);
|
15252
15318
|
// extracted by mini-css-extract-plugin
|
15253
15319
|
|
15320
|
+
|
15254
15321
|
/***/ }),
|
15255
|
-
/*
|
15322
|
+
/* 80 */
|
15256
15323
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
15257
15324
|
|
15258
|
-
__webpack_require__(
|
15325
|
+
__webpack_require__(81);
|
15259
15326
|
/*-
|
15260
|
-
Scrolling
|
15261
|
-
|
15327
|
+
Scrolling
|
15328
|
+
=========
|
15262
15329
|
|
15263
15330
|
The `up.viewport` module controls the scroll position and focus within scrollable containers ("viewports").
|
15264
15331
|
|
@@ -15267,6 +15334,9 @@ define additional viewports by giving the CSS property `{ overflow-y: scroll }`
|
|
15267
15334
|
|
15268
15335
|
Also see documentation for the [scroll option](/scroll-option) and [focus option](/focus-option).
|
15269
15336
|
|
15337
|
+
@see scroll-option
|
15338
|
+
@see scroll-tuning
|
15339
|
+
|
15270
15340
|
@see up.reveal
|
15271
15341
|
@see [up-fixed=top]
|
15272
15342
|
|
@@ -16110,13 +16180,16 @@ up.reveal = up.viewport.reveal;
|
|
16110
16180
|
|
16111
16181
|
|
16112
16182
|
/***/ }),
|
16113
|
-
/*
|
16114
|
-
/***/ (() => {
|
16183
|
+
/* 81 */
|
16184
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
16115
16185
|
|
16186
|
+
"use strict";
|
16187
|
+
__webpack_require__.r(__webpack_exports__);
|
16116
16188
|
// extracted by mini-css-extract-plugin
|
16117
16189
|
|
16190
|
+
|
16118
16191
|
/***/ }),
|
16119
|
-
/*
|
16192
|
+
/* 82 */
|
16120
16193
|
/***/ (() => {
|
16121
16194
|
|
16122
16195
|
/*-
|
@@ -16162,6 +16235,8 @@ and [predefined animations](/up.animate#named-animations).
|
|
16162
16235
|
You can define custom animations using `up.transition()` and
|
16163
16236
|
`up.animation()`.
|
16164
16237
|
|
16238
|
+
@see motion-tuning
|
16239
|
+
|
16165
16240
|
@see a[up-transition]
|
16166
16241
|
@see up.animation
|
16167
16242
|
@see up.transition
|
@@ -16806,10 +16881,10 @@ up.animate = up.motion.animate;
|
|
16806
16881
|
|
16807
16882
|
|
16808
16883
|
/***/ }),
|
16809
|
-
/*
|
16884
|
+
/* 83 */
|
16810
16885
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
16811
16886
|
|
16812
|
-
__webpack_require__(
|
16887
|
+
__webpack_require__(84);
|
16813
16888
|
const u = up.util;
|
16814
16889
|
/*-
|
16815
16890
|
Network requests
|
@@ -16952,6 +17027,7 @@ up.network = (function () {
|
|
16952
17027
|
return []
|
16953
17028
|
}
|
16954
17029
|
}
|
17030
|
+
```
|
16955
17031
|
|
16956
17032
|
@param {boolean|Function(): boolean} [config.progressBar]
|
16957
17033
|
Whether to show a progress bar for [late requests](/up:request:late).
|
@@ -17692,16 +17768,19 @@ up.cache = up.network.cache;
|
|
17692
17768
|
|
17693
17769
|
|
17694
17770
|
/***/ }),
|
17695
|
-
/*
|
17696
|
-
/***/ (() => {
|
17771
|
+
/* 84 */
|
17772
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
17697
17773
|
|
17774
|
+
"use strict";
|
17775
|
+
__webpack_require__.r(__webpack_exports__);
|
17698
17776
|
// extracted by mini-css-extract-plugin
|
17699
17777
|
|
17778
|
+
|
17700
17779
|
/***/ }),
|
17701
|
-
/*
|
17780
|
+
/* 85 */
|
17702
17781
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
17703
17782
|
|
17704
|
-
__webpack_require__(
|
17783
|
+
__webpack_require__(86);
|
17705
17784
|
const u = up.util;
|
17706
17785
|
const e = up.element;
|
17707
17786
|
/*-
|
@@ -17718,9 +17797,17 @@ or events from another layer. For instance, [fragment links](/up.link) will only
|
|
17718
17797
|
unless you [explicitly target another layer](/layer-option).
|
17719
17798
|
|
17720
17799
|
Overlays allow you to break up a complex screen into [subinteractions](/subinteractions).
|
17721
|
-
Subinteractions take place in overlays and may span one or many pages
|
17800
|
+
Subinteractions take place in overlays and may span one or many pages while the original screen remains open in the background.
|
17722
17801
|
Once the subinteraction is *done*, the overlay is closed and a result value is communicated back to the parent layer.
|
17723
17802
|
|
17803
|
+
@see layer-terminology
|
17804
|
+
@see layer-option
|
17805
|
+
@see opening-overlays
|
17806
|
+
@see closing-overlays
|
17807
|
+
@see subinteractions
|
17808
|
+
@see customizing-overlays
|
17809
|
+
@see context
|
17810
|
+
|
17724
17811
|
@see a[up-layer=new]
|
17725
17812
|
@see up.layer.current
|
17726
17813
|
@see up.layer.on
|
@@ -18977,16 +19064,19 @@ up.layer = (function () {
|
|
18977
19064
|
|
18978
19065
|
|
18979
19066
|
/***/ }),
|
18980
|
-
/*
|
18981
|
-
/***/ (() => {
|
19067
|
+
/* 86 */
|
19068
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
18982
19069
|
|
19070
|
+
"use strict";
|
19071
|
+
__webpack_require__.r(__webpack_exports__);
|
18983
19072
|
// extracted by mini-css-extract-plugin
|
18984
19073
|
|
19074
|
+
|
18985
19075
|
/***/ }),
|
18986
|
-
/*
|
19076
|
+
/* 87 */
|
18987
19077
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
18988
19078
|
|
18989
|
-
__webpack_require__(
|
19079
|
+
__webpack_require__(88);
|
18990
19080
|
/*-
|
18991
19081
|
Linking to fragments
|
18992
19082
|
====================
|
@@ -19010,7 +19100,7 @@ This makes for an unfriendly experience:
|
|
19010
19100
|
- The user sees a "flash" as the browser loads and renders the new page,
|
19011
19101
|
even if large portions of the old and new page are the same (navigation, layout, etc.).
|
19012
19102
|
|
19013
|
-
Unpoly fixes this by letting you annotate links with an [`up-target`](/a-up-follow#up-target)
|
19103
|
+
Unpoly fixes this by letting you annotate links with an [`[up-target]`](/a-up-follow#up-target)
|
19014
19104
|
attribute. The value of this attribute is a CSS selector that indicates which page
|
19015
19105
|
fragment to update. The server **still renders full HTML pages**, but we only use
|
19016
19106
|
the targeted fragments and discard the rest:
|
@@ -19053,10 +19143,14 @@ with an `up-target` attribute:
|
|
19053
19143
|
|
19054
19144
|
Note that instead of `article` you can use any other CSS selector like `#main .article`.
|
19055
19145
|
|
19056
|
-
With these [`up-target`](/a-up-follow#up-target) annotations Unpoly only updates the targeted part of the screen.
|
19146
|
+
With these [`[up-target]`](/a-up-follow#up-target) annotations Unpoly only updates the targeted part of the screen.
|
19057
19147
|
The JavaScript environment will persist and the user will not see a white flash while the
|
19058
19148
|
new page is loading.
|
19059
19149
|
|
19150
|
+
@see fragment-placement
|
19151
|
+
@see handling-everything
|
19152
|
+
@see server-errors
|
19153
|
+
|
19060
19154
|
@see a[up-follow]
|
19061
19155
|
@see a[up-instant]
|
19062
19156
|
@see a[up-preload]
|
@@ -19307,7 +19401,7 @@ up.link = (function () {
|
|
19307
19401
|
}
|
19308
19402
|
/*-
|
19309
19403
|
Parses the [render](/up.render) options that would be used to
|
19310
|
-
[
|
19404
|
+
[follow](/up.follow) the given link, but does not render.
|
19311
19405
|
|
19312
19406
|
### Example
|
19313
19407
|
|
@@ -20136,19 +20230,22 @@ up.follow = up.link.follow;
|
|
20136
20230
|
|
20137
20231
|
|
20138
20232
|
/***/ }),
|
20139
|
-
/*
|
20140
|
-
/***/ (() => {
|
20233
|
+
/* 88 */
|
20234
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
20141
20235
|
|
20236
|
+
"use strict";
|
20237
|
+
__webpack_require__.r(__webpack_exports__);
|
20142
20238
|
// extracted by mini-css-extract-plugin
|
20143
20239
|
|
20240
|
+
|
20144
20241
|
/***/ }),
|
20145
|
-
/*
|
20242
|
+
/* 89 */
|
20146
20243
|
/***/ (() => {
|
20147
20244
|
|
20148
20245
|
/*-
|
20149
20246
|
Forms
|
20150
20247
|
=====
|
20151
|
-
|
20248
|
+
|
20152
20249
|
The `up.form` module helps you work with non-trivial forms.
|
20153
20250
|
|
20154
20251
|
@see form[up-submit]
|
@@ -20335,7 +20432,7 @@ up.form = (function () {
|
|
20335
20432
|
});
|
20336
20433
|
/*-
|
20337
20434
|
Parses the [render](/up.render) options that would be used to
|
20338
|
-
[
|
20435
|
+
[submit](/up.submit) the given form, but does not render.
|
20339
20436
|
|
20340
20437
|
### Example
|
20341
20438
|
|
@@ -21264,10 +21361,10 @@ up.form = (function () {
|
|
21264
21361
|
```html
|
21265
21362
|
<input name="query" up-observe="showSuggestions(value)">
|
21266
21363
|
```
|
21267
|
-
|
21364
|
+
|
21268
21365
|
Note that the parameter name in the markup must be called `value` or it will not work.
|
21269
21366
|
The parameter name can be called whatever you want in the JavaScript, however.
|
21270
|
-
|
21367
|
+
|
21271
21368
|
Also note that the function must be declared on the `window` object to work, like so:
|
21272
21369
|
|
21273
21370
|
```js
|
@@ -21436,7 +21533,7 @@ up.validate = up.form.validate;
|
|
21436
21533
|
|
21437
21534
|
|
21438
21535
|
/***/ }),
|
21439
|
-
/*
|
21536
|
+
/* 90 */
|
21440
21537
|
/***/ (() => {
|
21441
21538
|
|
21442
21539
|
/*-
|
@@ -21870,7 +21967,7 @@ up.feedback = (function () {
|
|
21870
21967
|
|
21871
21968
|
|
21872
21969
|
/***/ }),
|
21873
|
-
/*
|
21970
|
+
/* 91 */
|
21874
21971
|
/***/ (() => {
|
21875
21972
|
|
21876
21973
|
/*-
|
@@ -22096,7 +22193,7 @@ up.radio = (function () {
|
|
22096
22193
|
|
22097
22194
|
|
22098
22195
|
/***/ }),
|
22099
|
-
/*
|
22196
|
+
/* 92 */
|
22100
22197
|
/***/ (() => {
|
22101
22198
|
|
22102
22199
|
/*
|
@@ -22156,7 +22253,18 @@ up.rails = (function () {
|
|
22156
22253
|
/******/ }
|
22157
22254
|
/******/
|
22158
22255
|
/************************************************************************/
|
22159
|
-
/******/
|
22256
|
+
/******/ /* webpack/runtime/make namespace object */
|
22257
|
+
/******/ (() => {
|
22258
|
+
/******/ // define __esModule on exports
|
22259
|
+
/******/ __webpack_require__.r = (exports) => {
|
22260
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
22261
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
22262
|
+
/******/ }
|
22263
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
22264
|
+
/******/ };
|
22265
|
+
/******/ })();
|
22266
|
+
/******/
|
22267
|
+
/************************************************************************/
|
22160
22268
|
var __webpack_exports__ = {};
|
22161
22269
|
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
22162
22270
|
(() => {
|
@@ -22167,7 +22275,6 @@ __webpack_require__(4);
|
|
22167
22275
|
__webpack_require__(5);
|
22168
22276
|
__webpack_require__(6);
|
22169
22277
|
__webpack_require__(7);
|
22170
|
-
__webpack_require__(8);
|
22171
22278
|
__webpack_require__(9);
|
22172
22279
|
__webpack_require__(10);
|
22173
22280
|
__webpack_require__(11);
|
@@ -22237,15 +22344,16 @@ __webpack_require__(74);
|
|
22237
22344
|
__webpack_require__(75);
|
22238
22345
|
__webpack_require__(76);
|
22239
22346
|
__webpack_require__(77);
|
22240
|
-
__webpack_require__(
|
22241
|
-
__webpack_require__(
|
22347
|
+
__webpack_require__(78);
|
22348
|
+
__webpack_require__(80);
|
22242
22349
|
__webpack_require__(82);
|
22243
|
-
__webpack_require__(
|
22244
|
-
__webpack_require__(
|
22245
|
-
__webpack_require__(
|
22350
|
+
__webpack_require__(83);
|
22351
|
+
__webpack_require__(85);
|
22352
|
+
__webpack_require__(87);
|
22246
22353
|
__webpack_require__(89);
|
22247
22354
|
__webpack_require__(90);
|
22248
22355
|
__webpack_require__(91);
|
22356
|
+
__webpack_require__(92);
|
22249
22357
|
up.framework.onEvaled();
|
22250
22358
|
|
22251
22359
|
})();
|