@weitutech/by-components 1.2.0 → 1.2.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.
- package/lib/by-components.common.js +134 -49
- package/lib/by-components.umd.js +391 -306
- package/lib/by-components.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/by-components.umd.js
CHANGED
|
@@ -10695,6 +10695,262 @@ exports["default"] = function (target) {
|
|
|
10695
10695
|
|
|
10696
10696
|
/***/ }),
|
|
10697
10697
|
|
|
10698
|
+
/***/ 2050:
|
|
10699
|
+
/***/ (function(module) {
|
|
10700
|
+
|
|
10701
|
+
/**
|
|
10702
|
+
* Copyright 2004-present Facebook. All Rights Reserved.
|
|
10703
|
+
*
|
|
10704
|
+
* @providesModule UserAgent_DEPRECATED
|
|
10705
|
+
*/
|
|
10706
|
+
|
|
10707
|
+
/**
|
|
10708
|
+
* Provides entirely client-side User Agent and OS detection. You should prefer
|
|
10709
|
+
* the non-deprecated UserAgent module when possible, which exposes our
|
|
10710
|
+
* authoritative server-side PHP-based detection to the client.
|
|
10711
|
+
*
|
|
10712
|
+
* Usage is straightforward:
|
|
10713
|
+
*
|
|
10714
|
+
* if (UserAgent_DEPRECATED.ie()) {
|
|
10715
|
+
* // IE
|
|
10716
|
+
* }
|
|
10717
|
+
*
|
|
10718
|
+
* You can also do version checks:
|
|
10719
|
+
*
|
|
10720
|
+
* if (UserAgent_DEPRECATED.ie() >= 7) {
|
|
10721
|
+
* // IE7 or better
|
|
10722
|
+
* }
|
|
10723
|
+
*
|
|
10724
|
+
* The browser functions will return NaN if the browser does not match, so
|
|
10725
|
+
* you can also do version compares the other way:
|
|
10726
|
+
*
|
|
10727
|
+
* if (UserAgent_DEPRECATED.ie() < 7) {
|
|
10728
|
+
* // IE6 or worse
|
|
10729
|
+
* }
|
|
10730
|
+
*
|
|
10731
|
+
* Note that the version is a float and may include a minor version number,
|
|
10732
|
+
* so you should always use range operators to perform comparisons, not
|
|
10733
|
+
* strict equality.
|
|
10734
|
+
*
|
|
10735
|
+
* **Note:** You should **strongly** prefer capability detection to browser
|
|
10736
|
+
* version detection where it's reasonable:
|
|
10737
|
+
*
|
|
10738
|
+
* http://www.quirksmode.org/js/support.html
|
|
10739
|
+
*
|
|
10740
|
+
* Further, we have a large number of mature wrapper functions and classes
|
|
10741
|
+
* which abstract away many browser irregularities. Check the documentation,
|
|
10742
|
+
* grep for things, or ask on javascript@lists.facebook.com before writing yet
|
|
10743
|
+
* another copy of "event || window.event".
|
|
10744
|
+
*
|
|
10745
|
+
*/
|
|
10746
|
+
|
|
10747
|
+
var _populated = false;
|
|
10748
|
+
|
|
10749
|
+
// Browsers
|
|
10750
|
+
var _ie, _firefox, _opera, _webkit, _chrome;
|
|
10751
|
+
|
|
10752
|
+
// Actual IE browser for compatibility mode
|
|
10753
|
+
var _ie_real_version;
|
|
10754
|
+
|
|
10755
|
+
// Platforms
|
|
10756
|
+
var _osx, _windows, _linux, _android;
|
|
10757
|
+
|
|
10758
|
+
// Architectures
|
|
10759
|
+
var _win64;
|
|
10760
|
+
|
|
10761
|
+
// Devices
|
|
10762
|
+
var _iphone, _ipad, _native;
|
|
10763
|
+
var _mobile;
|
|
10764
|
+
function _populate() {
|
|
10765
|
+
if (_populated) {
|
|
10766
|
+
return;
|
|
10767
|
+
}
|
|
10768
|
+
_populated = true;
|
|
10769
|
+
|
|
10770
|
+
// To work around buggy JS libraries that can't handle multi-digit
|
|
10771
|
+
// version numbers, Opera 10's user agent string claims it's Opera
|
|
10772
|
+
// 9, then later includes a Version/X.Y field:
|
|
10773
|
+
//
|
|
10774
|
+
// Opera/9.80 (foo) Presto/2.2.15 Version/10.10
|
|
10775
|
+
var uas = navigator.userAgent;
|
|
10776
|
+
var agent = /(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(uas);
|
|
10777
|
+
var os = /(Mac OS X)|(Windows)|(Linux)/.exec(uas);
|
|
10778
|
+
_iphone = /\b(iPhone|iP[ao]d)/.exec(uas);
|
|
10779
|
+
_ipad = /\b(iP[ao]d)/.exec(uas);
|
|
10780
|
+
_android = /Android/i.exec(uas);
|
|
10781
|
+
_native = /FBAN\/\w+;/i.exec(uas);
|
|
10782
|
+
_mobile = /Mobile/i.exec(uas);
|
|
10783
|
+
|
|
10784
|
+
// Note that the IE team blog would have you believe you should be checking
|
|
10785
|
+
// for 'Win64; x64'. But MSDN then reveals that you can actually be coming
|
|
10786
|
+
// from either x64 or ia64; so ultimately, you should just check for Win64
|
|
10787
|
+
// as in indicator of whether you're in 64-bit IE. 32-bit IE on 64-bit
|
|
10788
|
+
// Windows will send 'WOW64' instead.
|
|
10789
|
+
_win64 = !!/Win64/.exec(uas);
|
|
10790
|
+
if (agent) {
|
|
10791
|
+
_ie = agent[1] ? parseFloat(agent[1]) : agent[5] ? parseFloat(agent[5]) : NaN;
|
|
10792
|
+
// IE compatibility mode
|
|
10793
|
+
if (_ie && document && document.documentMode) {
|
|
10794
|
+
_ie = document.documentMode;
|
|
10795
|
+
}
|
|
10796
|
+
// grab the "true" ie version from the trident token if available
|
|
10797
|
+
var trident = /(?:Trident\/(\d+.\d+))/.exec(uas);
|
|
10798
|
+
_ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie;
|
|
10799
|
+
_firefox = agent[2] ? parseFloat(agent[2]) : NaN;
|
|
10800
|
+
_opera = agent[3] ? parseFloat(agent[3]) : NaN;
|
|
10801
|
+
_webkit = agent[4] ? parseFloat(agent[4]) : NaN;
|
|
10802
|
+
if (_webkit) {
|
|
10803
|
+
// We do not add the regexp to the above test, because it will always
|
|
10804
|
+
// match 'safari' only since 'AppleWebKit' appears before 'Chrome' in
|
|
10805
|
+
// the userAgent string.
|
|
10806
|
+
agent = /(?:Chrome\/(\d+\.\d+))/.exec(uas);
|
|
10807
|
+
_chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN;
|
|
10808
|
+
} else {
|
|
10809
|
+
_chrome = NaN;
|
|
10810
|
+
}
|
|
10811
|
+
} else {
|
|
10812
|
+
_ie = _firefox = _opera = _chrome = _webkit = NaN;
|
|
10813
|
+
}
|
|
10814
|
+
if (os) {
|
|
10815
|
+
if (os[1]) {
|
|
10816
|
+
// Detect OS X version. If no version number matches, set _osx to true.
|
|
10817
|
+
// Version examples: 10, 10_6_1, 10.7
|
|
10818
|
+
// Parses version number as a float, taking only first two sets of
|
|
10819
|
+
// digits. If only one set of digits is found, returns just the major
|
|
10820
|
+
// version number.
|
|
10821
|
+
var ver = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(uas);
|
|
10822
|
+
_osx = ver ? parseFloat(ver[1].replace('_', '.')) : true;
|
|
10823
|
+
} else {
|
|
10824
|
+
_osx = false;
|
|
10825
|
+
}
|
|
10826
|
+
_windows = !!os[2];
|
|
10827
|
+
_linux = !!os[3];
|
|
10828
|
+
} else {
|
|
10829
|
+
_osx = _windows = _linux = false;
|
|
10830
|
+
}
|
|
10831
|
+
}
|
|
10832
|
+
var UserAgent_DEPRECATED = {
|
|
10833
|
+
/**
|
|
10834
|
+
* Check if the UA is Internet Explorer.
|
|
10835
|
+
*
|
|
10836
|
+
*
|
|
10837
|
+
* @return float|NaN Version number (if match) or NaN.
|
|
10838
|
+
*/
|
|
10839
|
+
ie: function () {
|
|
10840
|
+
return _populate() || _ie;
|
|
10841
|
+
},
|
|
10842
|
+
/**
|
|
10843
|
+
* Check if we're in Internet Explorer compatibility mode.
|
|
10844
|
+
*
|
|
10845
|
+
* @return bool true if in compatibility mode, false if
|
|
10846
|
+
* not compatibility mode or not ie
|
|
10847
|
+
*/
|
|
10848
|
+
ieCompatibilityMode: function () {
|
|
10849
|
+
return _populate() || _ie_real_version > _ie;
|
|
10850
|
+
},
|
|
10851
|
+
/**
|
|
10852
|
+
* Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
|
|
10853
|
+
* only need this because Skype can't handle 64-bit IE yet. We need to remove
|
|
10854
|
+
* this when we don't need it -- tracked by #601957.
|
|
10855
|
+
*/
|
|
10856
|
+
ie64: function () {
|
|
10857
|
+
return UserAgent_DEPRECATED.ie() && _win64;
|
|
10858
|
+
},
|
|
10859
|
+
/**
|
|
10860
|
+
* Check if the UA is Firefox.
|
|
10861
|
+
*
|
|
10862
|
+
*
|
|
10863
|
+
* @return float|NaN Version number (if match) or NaN.
|
|
10864
|
+
*/
|
|
10865
|
+
firefox: function () {
|
|
10866
|
+
return _populate() || _firefox;
|
|
10867
|
+
},
|
|
10868
|
+
/**
|
|
10869
|
+
* Check if the UA is Opera.
|
|
10870
|
+
*
|
|
10871
|
+
*
|
|
10872
|
+
* @return float|NaN Version number (if match) or NaN.
|
|
10873
|
+
*/
|
|
10874
|
+
opera: function () {
|
|
10875
|
+
return _populate() || _opera;
|
|
10876
|
+
},
|
|
10877
|
+
/**
|
|
10878
|
+
* Check if the UA is WebKit.
|
|
10879
|
+
*
|
|
10880
|
+
*
|
|
10881
|
+
* @return float|NaN Version number (if match) or NaN.
|
|
10882
|
+
*/
|
|
10883
|
+
webkit: function () {
|
|
10884
|
+
return _populate() || _webkit;
|
|
10885
|
+
},
|
|
10886
|
+
/**
|
|
10887
|
+
* For Push
|
|
10888
|
+
* WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
|
|
10889
|
+
*/
|
|
10890
|
+
safari: function () {
|
|
10891
|
+
return UserAgent_DEPRECATED.webkit();
|
|
10892
|
+
},
|
|
10893
|
+
/**
|
|
10894
|
+
* Check if the UA is a Chrome browser.
|
|
10895
|
+
*
|
|
10896
|
+
*
|
|
10897
|
+
* @return float|NaN Version number (if match) or NaN.
|
|
10898
|
+
*/
|
|
10899
|
+
chrome: function () {
|
|
10900
|
+
return _populate() || _chrome;
|
|
10901
|
+
},
|
|
10902
|
+
/**
|
|
10903
|
+
* Check if the user is running Windows.
|
|
10904
|
+
*
|
|
10905
|
+
* @return bool `true' if the user's OS is Windows.
|
|
10906
|
+
*/
|
|
10907
|
+
windows: function () {
|
|
10908
|
+
return _populate() || _windows;
|
|
10909
|
+
},
|
|
10910
|
+
/**
|
|
10911
|
+
* Check if the user is running Mac OS X.
|
|
10912
|
+
*
|
|
10913
|
+
* @return float|bool Returns a float if a version number is detected,
|
|
10914
|
+
* otherwise true/false.
|
|
10915
|
+
*/
|
|
10916
|
+
osx: function () {
|
|
10917
|
+
return _populate() || _osx;
|
|
10918
|
+
},
|
|
10919
|
+
/**
|
|
10920
|
+
* Check if the user is running Linux.
|
|
10921
|
+
*
|
|
10922
|
+
* @return bool `true' if the user's OS is some flavor of Linux.
|
|
10923
|
+
*/
|
|
10924
|
+
linux: function () {
|
|
10925
|
+
return _populate() || _linux;
|
|
10926
|
+
},
|
|
10927
|
+
/**
|
|
10928
|
+
* Check if the user is running on an iPhone or iPod platform.
|
|
10929
|
+
*
|
|
10930
|
+
* @return bool `true' if the user is running some flavor of the
|
|
10931
|
+
* iPhone OS.
|
|
10932
|
+
*/
|
|
10933
|
+
iphone: function () {
|
|
10934
|
+
return _populate() || _iphone;
|
|
10935
|
+
},
|
|
10936
|
+
mobile: function () {
|
|
10937
|
+
return _populate() || _iphone || _ipad || _android || _mobile;
|
|
10938
|
+
},
|
|
10939
|
+
nativeApp: function () {
|
|
10940
|
+
// webviews inside of the native apps
|
|
10941
|
+
return _populate() || _native;
|
|
10942
|
+
},
|
|
10943
|
+
android: function () {
|
|
10944
|
+
return _populate() || _android;
|
|
10945
|
+
},
|
|
10946
|
+
ipad: function () {
|
|
10947
|
+
return _populate() || _ipad;
|
|
10948
|
+
}
|
|
10949
|
+
};
|
|
10950
|
+
module.exports = UserAgent_DEPRECATED;
|
|
10951
|
+
|
|
10952
|
+
/***/ }),
|
|
10953
|
+
|
|
10698
10954
|
/***/ 2063:
|
|
10699
10955
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
10700
10956
|
|
|
@@ -55322,7 +55578,7 @@ module.exports = true;
|
|
|
55322
55578
|
|
|
55323
55579
|
|
|
55324
55580
|
|
|
55325
|
-
var UserAgent_DEPRECATED = __webpack_require__(
|
|
55581
|
+
var UserAgent_DEPRECATED = __webpack_require__(2050);
|
|
55326
55582
|
var isEventSupported = __webpack_require__(4544);
|
|
55327
55583
|
|
|
55328
55584
|
// Reasonable defaults
|
|
@@ -71380,262 +71636,6 @@ __webpack_require__(1806);
|
|
|
71380
71636
|
|
|
71381
71637
|
/***/ }),
|
|
71382
71638
|
|
|
71383
|
-
/***/ 9669:
|
|
71384
|
-
/***/ (function(module) {
|
|
71385
|
-
|
|
71386
|
-
/**
|
|
71387
|
-
* Copyright 2004-present Facebook. All Rights Reserved.
|
|
71388
|
-
*
|
|
71389
|
-
* @providesModule UserAgent_DEPRECATED
|
|
71390
|
-
*/
|
|
71391
|
-
|
|
71392
|
-
/**
|
|
71393
|
-
* Provides entirely client-side User Agent and OS detection. You should prefer
|
|
71394
|
-
* the non-deprecated UserAgent module when possible, which exposes our
|
|
71395
|
-
* authoritative server-side PHP-based detection to the client.
|
|
71396
|
-
*
|
|
71397
|
-
* Usage is straightforward:
|
|
71398
|
-
*
|
|
71399
|
-
* if (UserAgent_DEPRECATED.ie()) {
|
|
71400
|
-
* // IE
|
|
71401
|
-
* }
|
|
71402
|
-
*
|
|
71403
|
-
* You can also do version checks:
|
|
71404
|
-
*
|
|
71405
|
-
* if (UserAgent_DEPRECATED.ie() >= 7) {
|
|
71406
|
-
* // IE7 or better
|
|
71407
|
-
* }
|
|
71408
|
-
*
|
|
71409
|
-
* The browser functions will return NaN if the browser does not match, so
|
|
71410
|
-
* you can also do version compares the other way:
|
|
71411
|
-
*
|
|
71412
|
-
* if (UserAgent_DEPRECATED.ie() < 7) {
|
|
71413
|
-
* // IE6 or worse
|
|
71414
|
-
* }
|
|
71415
|
-
*
|
|
71416
|
-
* Note that the version is a float and may include a minor version number,
|
|
71417
|
-
* so you should always use range operators to perform comparisons, not
|
|
71418
|
-
* strict equality.
|
|
71419
|
-
*
|
|
71420
|
-
* **Note:** You should **strongly** prefer capability detection to browser
|
|
71421
|
-
* version detection where it's reasonable:
|
|
71422
|
-
*
|
|
71423
|
-
* http://www.quirksmode.org/js/support.html
|
|
71424
|
-
*
|
|
71425
|
-
* Further, we have a large number of mature wrapper functions and classes
|
|
71426
|
-
* which abstract away many browser irregularities. Check the documentation,
|
|
71427
|
-
* grep for things, or ask on javascript@lists.facebook.com before writing yet
|
|
71428
|
-
* another copy of "event || window.event".
|
|
71429
|
-
*
|
|
71430
|
-
*/
|
|
71431
|
-
|
|
71432
|
-
var _populated = false;
|
|
71433
|
-
|
|
71434
|
-
// Browsers
|
|
71435
|
-
var _ie, _firefox, _opera, _webkit, _chrome;
|
|
71436
|
-
|
|
71437
|
-
// Actual IE browser for compatibility mode
|
|
71438
|
-
var _ie_real_version;
|
|
71439
|
-
|
|
71440
|
-
// Platforms
|
|
71441
|
-
var _osx, _windows, _linux, _android;
|
|
71442
|
-
|
|
71443
|
-
// Architectures
|
|
71444
|
-
var _win64;
|
|
71445
|
-
|
|
71446
|
-
// Devices
|
|
71447
|
-
var _iphone, _ipad, _native;
|
|
71448
|
-
var _mobile;
|
|
71449
|
-
function _populate() {
|
|
71450
|
-
if (_populated) {
|
|
71451
|
-
return;
|
|
71452
|
-
}
|
|
71453
|
-
_populated = true;
|
|
71454
|
-
|
|
71455
|
-
// To work around buggy JS libraries that can't handle multi-digit
|
|
71456
|
-
// version numbers, Opera 10's user agent string claims it's Opera
|
|
71457
|
-
// 9, then later includes a Version/X.Y field:
|
|
71458
|
-
//
|
|
71459
|
-
// Opera/9.80 (foo) Presto/2.2.15 Version/10.10
|
|
71460
|
-
var uas = navigator.userAgent;
|
|
71461
|
-
var agent = /(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(uas);
|
|
71462
|
-
var os = /(Mac OS X)|(Windows)|(Linux)/.exec(uas);
|
|
71463
|
-
_iphone = /\b(iPhone|iP[ao]d)/.exec(uas);
|
|
71464
|
-
_ipad = /\b(iP[ao]d)/.exec(uas);
|
|
71465
|
-
_android = /Android/i.exec(uas);
|
|
71466
|
-
_native = /FBAN\/\w+;/i.exec(uas);
|
|
71467
|
-
_mobile = /Mobile/i.exec(uas);
|
|
71468
|
-
|
|
71469
|
-
// Note that the IE team blog would have you believe you should be checking
|
|
71470
|
-
// for 'Win64; x64'. But MSDN then reveals that you can actually be coming
|
|
71471
|
-
// from either x64 or ia64; so ultimately, you should just check for Win64
|
|
71472
|
-
// as in indicator of whether you're in 64-bit IE. 32-bit IE on 64-bit
|
|
71473
|
-
// Windows will send 'WOW64' instead.
|
|
71474
|
-
_win64 = !!/Win64/.exec(uas);
|
|
71475
|
-
if (agent) {
|
|
71476
|
-
_ie = agent[1] ? parseFloat(agent[1]) : agent[5] ? parseFloat(agent[5]) : NaN;
|
|
71477
|
-
// IE compatibility mode
|
|
71478
|
-
if (_ie && document && document.documentMode) {
|
|
71479
|
-
_ie = document.documentMode;
|
|
71480
|
-
}
|
|
71481
|
-
// grab the "true" ie version from the trident token if available
|
|
71482
|
-
var trident = /(?:Trident\/(\d+.\d+))/.exec(uas);
|
|
71483
|
-
_ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie;
|
|
71484
|
-
_firefox = agent[2] ? parseFloat(agent[2]) : NaN;
|
|
71485
|
-
_opera = agent[3] ? parseFloat(agent[3]) : NaN;
|
|
71486
|
-
_webkit = agent[4] ? parseFloat(agent[4]) : NaN;
|
|
71487
|
-
if (_webkit) {
|
|
71488
|
-
// We do not add the regexp to the above test, because it will always
|
|
71489
|
-
// match 'safari' only since 'AppleWebKit' appears before 'Chrome' in
|
|
71490
|
-
// the userAgent string.
|
|
71491
|
-
agent = /(?:Chrome\/(\d+\.\d+))/.exec(uas);
|
|
71492
|
-
_chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN;
|
|
71493
|
-
} else {
|
|
71494
|
-
_chrome = NaN;
|
|
71495
|
-
}
|
|
71496
|
-
} else {
|
|
71497
|
-
_ie = _firefox = _opera = _chrome = _webkit = NaN;
|
|
71498
|
-
}
|
|
71499
|
-
if (os) {
|
|
71500
|
-
if (os[1]) {
|
|
71501
|
-
// Detect OS X version. If no version number matches, set _osx to true.
|
|
71502
|
-
// Version examples: 10, 10_6_1, 10.7
|
|
71503
|
-
// Parses version number as a float, taking only first two sets of
|
|
71504
|
-
// digits. If only one set of digits is found, returns just the major
|
|
71505
|
-
// version number.
|
|
71506
|
-
var ver = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(uas);
|
|
71507
|
-
_osx = ver ? parseFloat(ver[1].replace('_', '.')) : true;
|
|
71508
|
-
} else {
|
|
71509
|
-
_osx = false;
|
|
71510
|
-
}
|
|
71511
|
-
_windows = !!os[2];
|
|
71512
|
-
_linux = !!os[3];
|
|
71513
|
-
} else {
|
|
71514
|
-
_osx = _windows = _linux = false;
|
|
71515
|
-
}
|
|
71516
|
-
}
|
|
71517
|
-
var UserAgent_DEPRECATED = {
|
|
71518
|
-
/**
|
|
71519
|
-
* Check if the UA is Internet Explorer.
|
|
71520
|
-
*
|
|
71521
|
-
*
|
|
71522
|
-
* @return float|NaN Version number (if match) or NaN.
|
|
71523
|
-
*/
|
|
71524
|
-
ie: function () {
|
|
71525
|
-
return _populate() || _ie;
|
|
71526
|
-
},
|
|
71527
|
-
/**
|
|
71528
|
-
* Check if we're in Internet Explorer compatibility mode.
|
|
71529
|
-
*
|
|
71530
|
-
* @return bool true if in compatibility mode, false if
|
|
71531
|
-
* not compatibility mode or not ie
|
|
71532
|
-
*/
|
|
71533
|
-
ieCompatibilityMode: function () {
|
|
71534
|
-
return _populate() || _ie_real_version > _ie;
|
|
71535
|
-
},
|
|
71536
|
-
/**
|
|
71537
|
-
* Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
|
|
71538
|
-
* only need this because Skype can't handle 64-bit IE yet. We need to remove
|
|
71539
|
-
* this when we don't need it -- tracked by #601957.
|
|
71540
|
-
*/
|
|
71541
|
-
ie64: function () {
|
|
71542
|
-
return UserAgent_DEPRECATED.ie() && _win64;
|
|
71543
|
-
},
|
|
71544
|
-
/**
|
|
71545
|
-
* Check if the UA is Firefox.
|
|
71546
|
-
*
|
|
71547
|
-
*
|
|
71548
|
-
* @return float|NaN Version number (if match) or NaN.
|
|
71549
|
-
*/
|
|
71550
|
-
firefox: function () {
|
|
71551
|
-
return _populate() || _firefox;
|
|
71552
|
-
},
|
|
71553
|
-
/**
|
|
71554
|
-
* Check if the UA is Opera.
|
|
71555
|
-
*
|
|
71556
|
-
*
|
|
71557
|
-
* @return float|NaN Version number (if match) or NaN.
|
|
71558
|
-
*/
|
|
71559
|
-
opera: function () {
|
|
71560
|
-
return _populate() || _opera;
|
|
71561
|
-
},
|
|
71562
|
-
/**
|
|
71563
|
-
* Check if the UA is WebKit.
|
|
71564
|
-
*
|
|
71565
|
-
*
|
|
71566
|
-
* @return float|NaN Version number (if match) or NaN.
|
|
71567
|
-
*/
|
|
71568
|
-
webkit: function () {
|
|
71569
|
-
return _populate() || _webkit;
|
|
71570
|
-
},
|
|
71571
|
-
/**
|
|
71572
|
-
* For Push
|
|
71573
|
-
* WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
|
|
71574
|
-
*/
|
|
71575
|
-
safari: function () {
|
|
71576
|
-
return UserAgent_DEPRECATED.webkit();
|
|
71577
|
-
},
|
|
71578
|
-
/**
|
|
71579
|
-
* Check if the UA is a Chrome browser.
|
|
71580
|
-
*
|
|
71581
|
-
*
|
|
71582
|
-
* @return float|NaN Version number (if match) or NaN.
|
|
71583
|
-
*/
|
|
71584
|
-
chrome: function () {
|
|
71585
|
-
return _populate() || _chrome;
|
|
71586
|
-
},
|
|
71587
|
-
/**
|
|
71588
|
-
* Check if the user is running Windows.
|
|
71589
|
-
*
|
|
71590
|
-
* @return bool `true' if the user's OS is Windows.
|
|
71591
|
-
*/
|
|
71592
|
-
windows: function () {
|
|
71593
|
-
return _populate() || _windows;
|
|
71594
|
-
},
|
|
71595
|
-
/**
|
|
71596
|
-
* Check if the user is running Mac OS X.
|
|
71597
|
-
*
|
|
71598
|
-
* @return float|bool Returns a float if a version number is detected,
|
|
71599
|
-
* otherwise true/false.
|
|
71600
|
-
*/
|
|
71601
|
-
osx: function () {
|
|
71602
|
-
return _populate() || _osx;
|
|
71603
|
-
},
|
|
71604
|
-
/**
|
|
71605
|
-
* Check if the user is running Linux.
|
|
71606
|
-
*
|
|
71607
|
-
* @return bool `true' if the user's OS is some flavor of Linux.
|
|
71608
|
-
*/
|
|
71609
|
-
linux: function () {
|
|
71610
|
-
return _populate() || _linux;
|
|
71611
|
-
},
|
|
71612
|
-
/**
|
|
71613
|
-
* Check if the user is running on an iPhone or iPod platform.
|
|
71614
|
-
*
|
|
71615
|
-
* @return bool `true' if the user is running some flavor of the
|
|
71616
|
-
* iPhone OS.
|
|
71617
|
-
*/
|
|
71618
|
-
iphone: function () {
|
|
71619
|
-
return _populate() || _iphone;
|
|
71620
|
-
},
|
|
71621
|
-
mobile: function () {
|
|
71622
|
-
return _populate() || _iphone || _ipad || _android || _mobile;
|
|
71623
|
-
},
|
|
71624
|
-
nativeApp: function () {
|
|
71625
|
-
// webviews inside of the native apps
|
|
71626
|
-
return _populate() || _native;
|
|
71627
|
-
},
|
|
71628
|
-
android: function () {
|
|
71629
|
-
return _populate() || _android;
|
|
71630
|
-
},
|
|
71631
|
-
ipad: function () {
|
|
71632
|
-
return _populate() || _ipad;
|
|
71633
|
-
}
|
|
71634
|
-
};
|
|
71635
|
-
module.exports = UserAgent_DEPRECATED;
|
|
71636
|
-
|
|
71637
|
-
/***/ }),
|
|
71638
|
-
|
|
71639
71639
|
/***/ 9720:
|
|
71640
71640
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
71641
71641
|
|
|
@@ -96025,8 +96025,8 @@ var ByCascaderPanel_component = normalizeComponent(
|
|
|
96025
96025
|
)
|
|
96026
96026
|
|
|
96027
96027
|
/* harmony default export */ var ByCascaderPanel = (ByCascaderPanel_component.exports);
|
|
96028
|
-
;// ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8cd600e8-vue-loader-template"}!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/cascader-panel-pro/ByCascaderPanelPro.vue?vue&type=template&id=
|
|
96029
|
-
var
|
|
96028
|
+
;// ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8cd600e8-vue-loader-template"}!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/cascader-panel-pro/ByCascaderPanelPro.vue?vue&type=template&id=804df886
|
|
96029
|
+
var ByCascaderPanelProvue_type_template_id_804df886_render = function render() {
|
|
96030
96030
|
var _vm = this,
|
|
96031
96031
|
_c = _vm._self._c;
|
|
96032
96032
|
return _c('div', {
|
|
@@ -96164,7 +96164,8 @@ var ByCascaderPanelProvue_type_template_id_4bdb9820_render = function render() {
|
|
|
96164
96164
|
},
|
|
96165
96165
|
on: {
|
|
96166
96166
|
"input": _vm.onMainPanelInput,
|
|
96167
|
-
"change": _vm.handleValueChange
|
|
96167
|
+
"change": _vm.handleValueChange,
|
|
96168
|
+
"store-ready": _vm.schedulePanelSyncFromExternalValue
|
|
96168
96169
|
}
|
|
96169
96170
|
}) : _vm._e(), _vm.searchOptions.length > 0 ? _c('VirtualCascaderPanel', {
|
|
96170
96171
|
directives: [{
|
|
@@ -96267,7 +96268,7 @@ var ByCascaderPanelProvue_type_template_id_4bdb9820_render = function render() {
|
|
|
96267
96268
|
staticClass: "empty-state"
|
|
96268
96269
|
}, [_vm._v("暂无选中项")])], 1)])])])]);
|
|
96269
96270
|
};
|
|
96270
|
-
var
|
|
96271
|
+
var ByCascaderPanelProvue_type_template_id_804df886_staticRenderFns = [];
|
|
96271
96272
|
|
|
96272
96273
|
;// ./src/components/cascader-panel-pro/cascaderUtilsPro.js
|
|
96273
96274
|
|
|
@@ -97026,8 +97027,8 @@ class CascaderUtilsPro {
|
|
|
97026
97027
|
return paths;
|
|
97027
97028
|
}
|
|
97028
97029
|
}
|
|
97029
|
-
;// ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8cd600e8-vue-loader-template"}!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/cascader-panel-pro/VirtualCascaderPanel.vue?vue&type=template&id=
|
|
97030
|
-
var
|
|
97030
|
+
;// ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8cd600e8-vue-loader-template"}!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/cascader-panel-pro/VirtualCascaderPanel.vue?vue&type=template&id=05f77638
|
|
97031
|
+
var VirtualCascaderPanelvue_type_template_id_05f77638_render = function render() {
|
|
97031
97032
|
var _vm = this,
|
|
97032
97033
|
_c = _vm._self._c;
|
|
97033
97034
|
return _c('div', {
|
|
@@ -97118,7 +97119,7 @@ var VirtualCascaderPanelvue_type_template_id_23086f90_render = function render()
|
|
|
97118
97119
|
})], 1);
|
|
97119
97120
|
}), 0);
|
|
97120
97121
|
};
|
|
97121
|
-
var
|
|
97122
|
+
var VirtualCascaderPanelvue_type_template_id_05f77638_staticRenderFns = [];
|
|
97122
97123
|
|
|
97123
97124
|
;// ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8cd600e8-vue-loader-template"}!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/cascader-panel-pro/VirtualList.vue?vue&type=template&id=43cb1148
|
|
97124
97125
|
var VirtualListvue_type_template_id_43cb1148_render = function render() {
|
|
@@ -97886,6 +97887,9 @@ class SelectionStatePro {
|
|
|
97886
97887
|
}
|
|
97887
97888
|
this.$nextTick(() => {
|
|
97888
97889
|
this.syncHorizontalOverflow();
|
|
97890
|
+
if (!this.syncValueFromParent) {
|
|
97891
|
+
this.$emit('store-ready');
|
|
97892
|
+
}
|
|
97889
97893
|
});
|
|
97890
97894
|
},
|
|
97891
97895
|
syncFromValue() {
|
|
@@ -98183,8 +98187,8 @@ class SelectionStatePro {
|
|
|
98183
98187
|
;
|
|
98184
98188
|
var VirtualCascaderPanel_component = normalizeComponent(
|
|
98185
98189
|
cascader_panel_pro_VirtualCascaderPanelvue_type_script_lang_js,
|
|
98186
|
-
|
|
98187
|
-
|
|
98190
|
+
VirtualCascaderPanelvue_type_template_id_05f77638_render,
|
|
98191
|
+
VirtualCascaderPanelvue_type_template_id_05f77638_staticRenderFns,
|
|
98188
98192
|
false,
|
|
98189
98193
|
null,
|
|
98190
98194
|
null,
|
|
@@ -98345,7 +98349,8 @@ var VirtualCascaderPanel_component = normalizeComponent(
|
|
|
98345
98349
|
compactPanelValue: [],
|
|
98346
98350
|
// 紧凑模式下稳定的空 value 引用,避免 watch 误触发清空
|
|
98347
98351
|
searchDebounceTimer: null,
|
|
98348
|
-
searchLeafSetCache: null
|
|
98352
|
+
searchLeafSetCache: null,
|
|
98353
|
+
panelSyncTimer: null
|
|
98349
98354
|
};
|
|
98350
98355
|
},
|
|
98351
98356
|
computed: {
|
|
@@ -98505,6 +98510,7 @@ var VirtualCascaderPanel_component = normalizeComponent(
|
|
|
98505
98510
|
clearTimeout(this.searchDebounceTimer);
|
|
98506
98511
|
this.searchDebounceTimer = null;
|
|
98507
98512
|
}
|
|
98513
|
+
this.clearPanelSyncTimer();
|
|
98508
98514
|
},
|
|
98509
98515
|
methods: {
|
|
98510
98516
|
onMainPanelInput(value) {
|
|
@@ -98582,44 +98588,132 @@ var VirtualCascaderPanel_component = normalizeComponent(
|
|
|
98582
98588
|
syncPanelFromExternalValue() {
|
|
98583
98589
|
const panel = this.$refs.cascaderPanel;
|
|
98584
98590
|
if (!panel || !panel.selection || !panel.store) {
|
|
98585
|
-
return;
|
|
98591
|
+
return false;
|
|
98586
98592
|
}
|
|
98587
|
-
if (!
|
|
98593
|
+
if (!this.hasExternalValue()) {
|
|
98588
98594
|
panel.clearCheckedNodes();
|
|
98589
98595
|
this.selectedItems = [];
|
|
98590
98596
|
this.selectedValues = [];
|
|
98591
|
-
return;
|
|
98597
|
+
return true;
|
|
98592
98598
|
}
|
|
98593
|
-
const paths = this.resolveExternalValueToPaths();
|
|
98594
98599
|
panel.selection.clear();
|
|
98595
|
-
|
|
98596
|
-
const leafValue = path[path.length - 1];
|
|
98597
|
-
if (panel.store.pathByLeafValue.has(leafValue)) {
|
|
98598
|
-
panel.selection.selectedLeafSet.add(leafValue);
|
|
98599
|
-
}
|
|
98600
|
-
});
|
|
98600
|
+
this.applyExternalValueToPanelSelection(panel);
|
|
98601
98601
|
panel.selection._reconcileAllRoots();
|
|
98602
98602
|
panel.bumpSelectionView();
|
|
98603
98603
|
this.applyPanelSelectionChange();
|
|
98604
98604
|
this.expandPanelToExternalValue(panel);
|
|
98605
|
+
return true;
|
|
98606
|
+
},
|
|
98607
|
+
hasExternalValue() {
|
|
98608
|
+
const val = this.value;
|
|
98609
|
+
if (val == null || val === '') {
|
|
98610
|
+
return false;
|
|
98611
|
+
}
|
|
98612
|
+
if (Array.isArray(val)) {
|
|
98613
|
+
return val.length > 0;
|
|
98614
|
+
}
|
|
98615
|
+
return true;
|
|
98616
|
+
},
|
|
98617
|
+
applyExternalValueToPanelSelection(panel) {
|
|
98618
|
+
const {
|
|
98619
|
+
store,
|
|
98620
|
+
selection
|
|
98621
|
+
} = panel;
|
|
98622
|
+
const paths = this.resolveExternalValueToPaths();
|
|
98623
|
+
paths.forEach(path => {
|
|
98624
|
+
const leafValue = path[path.length - 1];
|
|
98625
|
+
if (store.pathByLeafValue.has(leafValue)) {
|
|
98626
|
+
selection.selectedLeafSet.add(leafValue);
|
|
98627
|
+
}
|
|
98628
|
+
});
|
|
98629
|
+
|
|
98630
|
+
// 直接按外部 value 再补一遍,避免 paths 解析遗漏(聚合父节点、异步 options 等)
|
|
98631
|
+
this.getExternalValueList().forEach(val => {
|
|
98632
|
+
if (this.aggregationMode && CascaderUtilsPro.isParentNodeValue(val, this.parentNodePrefix)) {
|
|
98633
|
+
const actualValue = CascaderUtilsPro.extractParentNodeValue(val, this.parentNodePrefix);
|
|
98634
|
+
const node = store.nodeByValue.get(actualValue);
|
|
98635
|
+
if (node && !node.isLeaf && !node.disabled) {
|
|
98636
|
+
node.descendantLeafValues.forEach(leaf => selection.selectedLeafSet.add(leaf));
|
|
98637
|
+
}
|
|
98638
|
+
return;
|
|
98639
|
+
}
|
|
98640
|
+
if (store.pathByLeafValue.has(val)) {
|
|
98641
|
+
selection.selectedLeafSet.add(val);
|
|
98642
|
+
return;
|
|
98643
|
+
}
|
|
98644
|
+
const node = store.nodeByValue.get(val);
|
|
98645
|
+
if (node && node.isLeaf && !node.disabled) {
|
|
98646
|
+
selection.selectedLeafSet.add(val);
|
|
98647
|
+
} else if (node && !node.isLeaf && !node.disabled) {
|
|
98648
|
+
node.descendantLeafValues.forEach(leaf => selection.selectedLeafSet.add(leaf));
|
|
98649
|
+
}
|
|
98650
|
+
});
|
|
98651
|
+
},
|
|
98652
|
+
getExternalValueList() {
|
|
98653
|
+
const val = this.value;
|
|
98654
|
+
if (val == null || val === '') {
|
|
98655
|
+
return [];
|
|
98656
|
+
}
|
|
98657
|
+
if (Array.isArray(val)) {
|
|
98658
|
+
if (val.length === 0) {
|
|
98659
|
+
return [];
|
|
98660
|
+
}
|
|
98661
|
+
if (Array.isArray(val[0])) {
|
|
98662
|
+
return val.map(path => path[path.length - 1]);
|
|
98663
|
+
}
|
|
98664
|
+
return val;
|
|
98665
|
+
}
|
|
98666
|
+
return [val];
|
|
98667
|
+
},
|
|
98668
|
+
clearPanelSyncTimer() {
|
|
98669
|
+
if (this.panelSyncTimer) {
|
|
98670
|
+
clearTimeout(this.panelSyncTimer);
|
|
98671
|
+
this.panelSyncTimer = null;
|
|
98672
|
+
}
|
|
98673
|
+
},
|
|
98674
|
+
schedulePanelSyncFromExternalValue(retry = 0) {
|
|
98675
|
+
this.clearPanelSyncTimer();
|
|
98676
|
+
this.$nextTick(() => {
|
|
98677
|
+
if (!this.hasExternalValue()) {
|
|
98678
|
+
const panel = this.$refs.cascaderPanel;
|
|
98679
|
+
if (panel && panel.selection) {
|
|
98680
|
+
panel.clearCheckedNodes();
|
|
98681
|
+
}
|
|
98682
|
+
this.selectedItems = [];
|
|
98683
|
+
this.selectedValues = [];
|
|
98684
|
+
return;
|
|
98685
|
+
}
|
|
98686
|
+
const synced = this.syncPanelFromExternalValue();
|
|
98687
|
+
if (!synced && retry < 20) {
|
|
98688
|
+
this.panelSyncTimer = setTimeout(() => {
|
|
98689
|
+
this.schedulePanelSyncFromExternalValue(retry + 1);
|
|
98690
|
+
}, 50);
|
|
98691
|
+
}
|
|
98692
|
+
});
|
|
98605
98693
|
},
|
|
98606
98694
|
resolveExternalValueToPaths() {
|
|
98607
|
-
|
|
98695
|
+
const val = this.value;
|
|
98696
|
+
if (val == null || val === '') {
|
|
98608
98697
|
return [];
|
|
98609
98698
|
}
|
|
98610
|
-
if (
|
|
98699
|
+
if (Array.isArray(val) && val.length > 0 && Array.isArray(val[0])) {
|
|
98700
|
+
return [...val];
|
|
98701
|
+
}
|
|
98702
|
+
const values = Array.isArray(val) ? val : [val];
|
|
98703
|
+
if (typeof values[0] === 'string' || typeof values[0] === 'number') {
|
|
98611
98704
|
if (this.aggregationMode) {
|
|
98612
|
-
return CascaderUtilsPro.processValuesWithParentNodes(
|
|
98705
|
+
return CascaderUtilsPro.processValuesWithParentNodes(values, this.filteredOptions, this.cascaderProps, this.parentNodePrefix);
|
|
98613
98706
|
}
|
|
98614
|
-
return this.findPathsByValues(
|
|
98707
|
+
return this.findPathsByValues(values);
|
|
98615
98708
|
}
|
|
98616
|
-
return [...
|
|
98709
|
+
return Array.isArray(val) ? [...val] : [];
|
|
98617
98710
|
},
|
|
98618
98711
|
expandPanelToExternalValue(panel) {
|
|
98619
|
-
if (!panel || !panel.store || !
|
|
98712
|
+
if (!panel || !panel.store || !this.hasExternalValue()) {
|
|
98620
98713
|
return;
|
|
98621
98714
|
}
|
|
98622
|
-
const
|
|
98715
|
+
const values = this.getExternalValueList();
|
|
98716
|
+
const firstValue = values[0];
|
|
98623
98717
|
let pathValues = [];
|
|
98624
98718
|
if (this.aggregationMode && CascaderUtilsPro.isParentNodeValue(firstValue, this.parentNodePrefix)) {
|
|
98625
98719
|
const actualValue = CascaderUtilsPro.extractParentNodeValue(firstValue, this.parentNodePrefix);
|
|
@@ -98652,11 +98746,15 @@ var VirtualCascaderPanel_component = normalizeComponent(
|
|
|
98652
98746
|
},
|
|
98653
98747
|
// 处理 value 值
|
|
98654
98748
|
processValue() {
|
|
98749
|
+
if (!this.hasExternalValue()) {
|
|
98750
|
+
this.selectedValues = [];
|
|
98751
|
+
this.selectedItems = [];
|
|
98752
|
+
this.schedulePanelSyncFromExternalValue();
|
|
98753
|
+
return;
|
|
98754
|
+
}
|
|
98655
98755
|
if (this.useCompactSelection && this.isMultiple) {
|
|
98656
98756
|
this.selectedValues = [];
|
|
98657
|
-
this
|
|
98658
|
-
this.syncPanelFromExternalValue();
|
|
98659
|
-
});
|
|
98757
|
+
this.schedulePanelSyncFromExternalValue();
|
|
98660
98758
|
return;
|
|
98661
98759
|
}
|
|
98662
98760
|
if (this.isMultiple) {
|
|
@@ -98698,27 +98796,14 @@ var VirtualCascaderPanel_component = normalizeComponent(
|
|
|
98698
98796
|
this.selectedValues = [];
|
|
98699
98797
|
}
|
|
98700
98798
|
}
|
|
98701
|
-
this.
|
|
98702
|
-
|
|
98703
|
-
// 单选模式下,确保级联面板正确显示选中状态
|
|
98704
|
-
if (!this.isMultiple && this.selectedValues.length > 0) {
|
|
98705
|
-
this.$nextTick(() => {
|
|
98706
|
-
const panel = this.$refs.cascaderPanel;
|
|
98707
|
-
if (panel) {
|
|
98708
|
-
panel.syncCheckedValue();
|
|
98709
|
-
this.updateSelectedItems();
|
|
98710
|
-
}
|
|
98711
|
-
});
|
|
98712
|
-
}
|
|
98799
|
+
this.schedulePanelSyncFromExternalValue();
|
|
98713
98800
|
},
|
|
98714
98801
|
// 初始化选项数据
|
|
98715
98802
|
initOptions() {
|
|
98716
98803
|
this.filteredOptions = this.processOptions(this.options);
|
|
98717
98804
|
this.countTotalItems();
|
|
98718
|
-
if (this.
|
|
98719
|
-
this
|
|
98720
|
-
this.syncPanelFromExternalValue();
|
|
98721
|
-
});
|
|
98805
|
+
if (this.hasExternalValue()) {
|
|
98806
|
+
this.schedulePanelSyncFromExternalValue();
|
|
98722
98807
|
} else {
|
|
98723
98808
|
this.updateSelectedItems();
|
|
98724
98809
|
}
|
|
@@ -99049,7 +99134,7 @@ var VirtualCascaderPanel_component = normalizeComponent(
|
|
|
99049
99134
|
this.selectedValues = [];
|
|
99050
99135
|
}
|
|
99051
99136
|
}
|
|
99052
|
-
this.
|
|
99137
|
+
this.schedulePanelSyncFromExternalValue();
|
|
99053
99138
|
},
|
|
99054
99139
|
// 根据values找到对应的路径
|
|
99055
99140
|
findPathsByValues(values) {
|
|
@@ -99207,8 +99292,8 @@ var VirtualCascaderPanel_component = normalizeComponent(
|
|
|
99207
99292
|
;
|
|
99208
99293
|
var ByCascaderPanelPro_component = normalizeComponent(
|
|
99209
99294
|
cascader_panel_pro_ByCascaderPanelProvue_type_script_lang_js,
|
|
99210
|
-
|
|
99211
|
-
|
|
99295
|
+
ByCascaderPanelProvue_type_template_id_804df886_render,
|
|
99296
|
+
ByCascaderPanelProvue_type_template_id_804df886_staticRenderFns,
|
|
99212
99297
|
false,
|
|
99213
99298
|
null,
|
|
99214
99299
|
null,
|