@dialpad/dialtone-vue 3.31.0 → 3.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.common.js +1219 -121
- package/dist/dialtone-vue.umd.js +1221 -123
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/dist/emoji.common.js +7 -15
- package/dist/emoji.umd.js +7 -15
- package/dist/emoji.umd.min.js +1 -1
- package/package.json +20 -19
|
@@ -25,7 +25,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".enter-active,.leave-active{overflow:h
|
|
|
25
25
|
|
|
26
26
|
/***/ }),
|
|
27
27
|
|
|
28
|
-
/***/
|
|
28
|
+
/***/ 794:
|
|
29
29
|
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
30
30
|
|
|
31
31
|
"use strict";
|
|
@@ -193,7 +193,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".dt-list-section[tabindex=\"-1\"]:focu
|
|
|
193
193
|
|
|
194
194
|
/***/ }),
|
|
195
195
|
|
|
196
|
-
/***/
|
|
196
|
+
/***/ 214:
|
|
197
197
|
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
198
198
|
|
|
199
199
|
"use strict";
|
|
@@ -361,7 +361,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".dt-recipe--callbar-button-with-popove
|
|
|
361
361
|
|
|
362
362
|
/***/ }),
|
|
363
363
|
|
|
364
|
-
/***/
|
|
364
|
+
/***/ 568:
|
|
365
365
|
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
366
366
|
|
|
367
367
|
"use strict";
|
|
@@ -378,7 +378,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
378
378
|
|
|
379
379
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
380
380
|
// Module
|
|
381
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".ivr_node__width{width:280px}", ""]);
|
|
381
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".ivr_node__width{width:280px}.ivr_node__goto_icon{transform:rotate(90deg)}", ""]);
|
|
382
382
|
// Exports
|
|
383
383
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
384
384
|
|
|
@@ -528,6 +528,1012 @@ module.exports = function (i) {
|
|
|
528
528
|
return i[1];
|
|
529
529
|
};
|
|
530
530
|
|
|
531
|
+
/***/ }),
|
|
532
|
+
|
|
533
|
+
/***/ 377:
|
|
534
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
535
|
+
|
|
536
|
+
// A library of seedable RNGs implemented in Javascript.
|
|
537
|
+
//
|
|
538
|
+
// Usage:
|
|
539
|
+
//
|
|
540
|
+
// var seedrandom = require('seedrandom');
|
|
541
|
+
// var random = seedrandom(1); // or any seed.
|
|
542
|
+
// var x = random(); // 0 <= x < 1. Every bit is random.
|
|
543
|
+
// var x = random.quick(); // 0 <= x < 1. 32 bits of randomness.
|
|
544
|
+
|
|
545
|
+
// alea, a 53-bit multiply-with-carry generator by Johannes Baagøe.
|
|
546
|
+
// Period: ~2^116
|
|
547
|
+
// Reported to pass all BigCrush tests.
|
|
548
|
+
var alea = __webpack_require__(832);
|
|
549
|
+
|
|
550
|
+
// xor128, a pure xor-shift generator by George Marsaglia.
|
|
551
|
+
// Period: 2^128-1.
|
|
552
|
+
// Reported to fail: MatrixRank and LinearComp.
|
|
553
|
+
var xor128 = __webpack_require__(652);
|
|
554
|
+
|
|
555
|
+
// xorwow, George Marsaglia's 160-bit xor-shift combined plus weyl.
|
|
556
|
+
// Period: 2^192-2^32
|
|
557
|
+
// Reported to fail: CollisionOver, SimpPoker, and LinearComp.
|
|
558
|
+
var xorwow = __webpack_require__(801);
|
|
559
|
+
|
|
560
|
+
// xorshift7, by François Panneton and Pierre L'ecuyer, takes
|
|
561
|
+
// a different approach: it adds robustness by allowing more shifts
|
|
562
|
+
// than Marsaglia's original three. It is a 7-shift generator
|
|
563
|
+
// with 256 bits, that passes BigCrush with no systmatic failures.
|
|
564
|
+
// Period 2^256-1.
|
|
565
|
+
// No systematic BigCrush failures reported.
|
|
566
|
+
var xorshift7 = __webpack_require__(30);
|
|
567
|
+
|
|
568
|
+
// xor4096, by Richard Brent, is a 4096-bit xor-shift with a
|
|
569
|
+
// very long period that also adds a Weyl generator. It also passes
|
|
570
|
+
// BigCrush with no systematic failures. Its long period may
|
|
571
|
+
// be useful if you have many generators and need to avoid
|
|
572
|
+
// collisions.
|
|
573
|
+
// Period: 2^4128-2^32.
|
|
574
|
+
// No systematic BigCrush failures reported.
|
|
575
|
+
var xor4096 = __webpack_require__(618);
|
|
576
|
+
|
|
577
|
+
// Tyche-i, by Samuel Neves and Filipe Araujo, is a bit-shifting random
|
|
578
|
+
// number generator derived from ChaCha, a modern stream cipher.
|
|
579
|
+
// https://eden.dei.uc.pt/~sneves/pubs/2011-snfa2.pdf
|
|
580
|
+
// Period: ~2^127
|
|
581
|
+
// No systematic BigCrush failures reported.
|
|
582
|
+
var tychei = __webpack_require__(49);
|
|
583
|
+
|
|
584
|
+
// The original ARC4-based prng included in this library.
|
|
585
|
+
// Period: ~2^1600
|
|
586
|
+
var sr = __webpack_require__(971);
|
|
587
|
+
|
|
588
|
+
sr.alea = alea;
|
|
589
|
+
sr.xor128 = xor128;
|
|
590
|
+
sr.xorwow = xorwow;
|
|
591
|
+
sr.xorshift7 = xorshift7;
|
|
592
|
+
sr.xor4096 = xor4096;
|
|
593
|
+
sr.tychei = tychei;
|
|
594
|
+
|
|
595
|
+
module.exports = sr;
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
/***/ }),
|
|
599
|
+
|
|
600
|
+
/***/ 832:
|
|
601
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
602
|
+
|
|
603
|
+
/* module decorator */ module = __webpack_require__.nmd(module);
|
|
604
|
+
var __WEBPACK_AMD_DEFINE_RESULT__;// A port of an algorithm by Johannes Baagøe <baagoe@baagoe.com>, 2010
|
|
605
|
+
// http://baagoe.com/en/RandomMusings/javascript/
|
|
606
|
+
// https://github.com/nquinlan/better-random-numbers-for-javascript-mirror
|
|
607
|
+
// Original work is under MIT license -
|
|
608
|
+
|
|
609
|
+
// Copyright (C) 2010 by Johannes Baagøe <baagoe@baagoe.org>
|
|
610
|
+
//
|
|
611
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
612
|
+
// of this software and associated documentation files (the "Software"), to deal
|
|
613
|
+
// in the Software without restriction, including without limitation the rights
|
|
614
|
+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
615
|
+
// copies of the Software, and to permit persons to whom the Software is
|
|
616
|
+
// furnished to do so, subject to the following conditions:
|
|
617
|
+
//
|
|
618
|
+
// The above copyright notice and this permission notice shall be included in
|
|
619
|
+
// all copies or substantial portions of the Software.
|
|
620
|
+
//
|
|
621
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
622
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
623
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
624
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
625
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
626
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
627
|
+
// THE SOFTWARE.
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
(function(global, module, define) {
|
|
632
|
+
|
|
633
|
+
function Alea(seed) {
|
|
634
|
+
var me = this, mash = Mash();
|
|
635
|
+
|
|
636
|
+
me.next = function() {
|
|
637
|
+
var t = 2091639 * me.s0 + me.c * 2.3283064365386963e-10; // 2^-32
|
|
638
|
+
me.s0 = me.s1;
|
|
639
|
+
me.s1 = me.s2;
|
|
640
|
+
return me.s2 = t - (me.c = t | 0);
|
|
641
|
+
};
|
|
642
|
+
|
|
643
|
+
// Apply the seeding algorithm from Baagoe.
|
|
644
|
+
me.c = 1;
|
|
645
|
+
me.s0 = mash(' ');
|
|
646
|
+
me.s1 = mash(' ');
|
|
647
|
+
me.s2 = mash(' ');
|
|
648
|
+
me.s0 -= mash(seed);
|
|
649
|
+
if (me.s0 < 0) { me.s0 += 1; }
|
|
650
|
+
me.s1 -= mash(seed);
|
|
651
|
+
if (me.s1 < 0) { me.s1 += 1; }
|
|
652
|
+
me.s2 -= mash(seed);
|
|
653
|
+
if (me.s2 < 0) { me.s2 += 1; }
|
|
654
|
+
mash = null;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
function copy(f, t) {
|
|
658
|
+
t.c = f.c;
|
|
659
|
+
t.s0 = f.s0;
|
|
660
|
+
t.s1 = f.s1;
|
|
661
|
+
t.s2 = f.s2;
|
|
662
|
+
return t;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
function impl(seed, opts) {
|
|
666
|
+
var xg = new Alea(seed),
|
|
667
|
+
state = opts && opts.state,
|
|
668
|
+
prng = xg.next;
|
|
669
|
+
prng.int32 = function() { return (xg.next() * 0x100000000) | 0; }
|
|
670
|
+
prng.double = function() {
|
|
671
|
+
return prng() + (prng() * 0x200000 | 0) * 1.1102230246251565e-16; // 2^-53
|
|
672
|
+
};
|
|
673
|
+
prng.quick = prng;
|
|
674
|
+
if (state) {
|
|
675
|
+
if (typeof(state) == 'object') copy(state, xg);
|
|
676
|
+
prng.state = function() { return copy(xg, {}); }
|
|
677
|
+
}
|
|
678
|
+
return prng;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
function Mash() {
|
|
682
|
+
var n = 0xefc8249d;
|
|
683
|
+
|
|
684
|
+
var mash = function(data) {
|
|
685
|
+
data = String(data);
|
|
686
|
+
for (var i = 0; i < data.length; i++) {
|
|
687
|
+
n += data.charCodeAt(i);
|
|
688
|
+
var h = 0.02519603282416938 * n;
|
|
689
|
+
n = h >>> 0;
|
|
690
|
+
h -= n;
|
|
691
|
+
h *= n;
|
|
692
|
+
n = h >>> 0;
|
|
693
|
+
h -= n;
|
|
694
|
+
n += h * 0x100000000; // 2^32
|
|
695
|
+
}
|
|
696
|
+
return (n >>> 0) * 2.3283064365386963e-10; // 2^-32
|
|
697
|
+
};
|
|
698
|
+
|
|
699
|
+
return mash;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
if (module && module.exports) {
|
|
704
|
+
module.exports = impl;
|
|
705
|
+
} else if (__webpack_require__.amdD && __webpack_require__.amdO) {
|
|
706
|
+
!(__WEBPACK_AMD_DEFINE_RESULT__ = (function() { return impl; }).call(exports, __webpack_require__, exports, module),
|
|
707
|
+
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
708
|
+
} else {
|
|
709
|
+
this.alea = impl;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
})(
|
|
713
|
+
this,
|
|
714
|
+
true && module, // present in node.js
|
|
715
|
+
__webpack_require__.amdD // present with an AMD loader
|
|
716
|
+
);
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
/***/ }),
|
|
722
|
+
|
|
723
|
+
/***/ 49:
|
|
724
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
725
|
+
|
|
726
|
+
/* module decorator */ module = __webpack_require__.nmd(module);
|
|
727
|
+
var __WEBPACK_AMD_DEFINE_RESULT__;// A Javascript implementaion of the "Tyche-i" prng algorithm by
|
|
728
|
+
// Samuel Neves and Filipe Araujo.
|
|
729
|
+
// See https://eden.dei.uc.pt/~sneves/pubs/2011-snfa2.pdf
|
|
730
|
+
|
|
731
|
+
(function(global, module, define) {
|
|
732
|
+
|
|
733
|
+
function XorGen(seed) {
|
|
734
|
+
var me = this, strseed = '';
|
|
735
|
+
|
|
736
|
+
// Set up generator function.
|
|
737
|
+
me.next = function() {
|
|
738
|
+
var b = me.b, c = me.c, d = me.d, a = me.a;
|
|
739
|
+
b = (b << 25) ^ (b >>> 7) ^ c;
|
|
740
|
+
c = (c - d) | 0;
|
|
741
|
+
d = (d << 24) ^ (d >>> 8) ^ a;
|
|
742
|
+
a = (a - b) | 0;
|
|
743
|
+
me.b = b = (b << 20) ^ (b >>> 12) ^ c;
|
|
744
|
+
me.c = c = (c - d) | 0;
|
|
745
|
+
me.d = (d << 16) ^ (c >>> 16) ^ a;
|
|
746
|
+
return me.a = (a - b) | 0;
|
|
747
|
+
};
|
|
748
|
+
|
|
749
|
+
/* The following is non-inverted tyche, which has better internal
|
|
750
|
+
* bit diffusion, but which is about 25% slower than tyche-i in JS.
|
|
751
|
+
me.next = function() {
|
|
752
|
+
var a = me.a, b = me.b, c = me.c, d = me.d;
|
|
753
|
+
a = (me.a + me.b | 0) >>> 0;
|
|
754
|
+
d = me.d ^ a; d = d << 16 ^ d >>> 16;
|
|
755
|
+
c = me.c + d | 0;
|
|
756
|
+
b = me.b ^ c; b = b << 12 ^ d >>> 20;
|
|
757
|
+
me.a = a = a + b | 0;
|
|
758
|
+
d = d ^ a; me.d = d = d << 8 ^ d >>> 24;
|
|
759
|
+
me.c = c = c + d | 0;
|
|
760
|
+
b = b ^ c;
|
|
761
|
+
return me.b = (b << 7 ^ b >>> 25);
|
|
762
|
+
}
|
|
763
|
+
*/
|
|
764
|
+
|
|
765
|
+
me.a = 0;
|
|
766
|
+
me.b = 0;
|
|
767
|
+
me.c = 2654435769 | 0;
|
|
768
|
+
me.d = 1367130551;
|
|
769
|
+
|
|
770
|
+
if (seed === Math.floor(seed)) {
|
|
771
|
+
// Integer seed.
|
|
772
|
+
me.a = (seed / 0x100000000) | 0;
|
|
773
|
+
me.b = seed | 0;
|
|
774
|
+
} else {
|
|
775
|
+
// String seed.
|
|
776
|
+
strseed += seed;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
// Mix in string seed, then discard an initial batch of 64 values.
|
|
780
|
+
for (var k = 0; k < strseed.length + 20; k++) {
|
|
781
|
+
me.b ^= strseed.charCodeAt(k) | 0;
|
|
782
|
+
me.next();
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
function copy(f, t) {
|
|
787
|
+
t.a = f.a;
|
|
788
|
+
t.b = f.b;
|
|
789
|
+
t.c = f.c;
|
|
790
|
+
t.d = f.d;
|
|
791
|
+
return t;
|
|
792
|
+
};
|
|
793
|
+
|
|
794
|
+
function impl(seed, opts) {
|
|
795
|
+
var xg = new XorGen(seed),
|
|
796
|
+
state = opts && opts.state,
|
|
797
|
+
prng = function() { return (xg.next() >>> 0) / 0x100000000; };
|
|
798
|
+
prng.double = function() {
|
|
799
|
+
do {
|
|
800
|
+
var top = xg.next() >>> 11,
|
|
801
|
+
bot = (xg.next() >>> 0) / 0x100000000,
|
|
802
|
+
result = (top + bot) / (1 << 21);
|
|
803
|
+
} while (result === 0);
|
|
804
|
+
return result;
|
|
805
|
+
};
|
|
806
|
+
prng.int32 = xg.next;
|
|
807
|
+
prng.quick = prng;
|
|
808
|
+
if (state) {
|
|
809
|
+
if (typeof(state) == 'object') copy(state, xg);
|
|
810
|
+
prng.state = function() { return copy(xg, {}); }
|
|
811
|
+
}
|
|
812
|
+
return prng;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
if (module && module.exports) {
|
|
816
|
+
module.exports = impl;
|
|
817
|
+
} else if (__webpack_require__.amdD && __webpack_require__.amdO) {
|
|
818
|
+
!(__WEBPACK_AMD_DEFINE_RESULT__ = (function() { return impl; }).call(exports, __webpack_require__, exports, module),
|
|
819
|
+
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
820
|
+
} else {
|
|
821
|
+
this.tychei = impl;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
})(
|
|
825
|
+
this,
|
|
826
|
+
true && module, // present in node.js
|
|
827
|
+
__webpack_require__.amdD // present with an AMD loader
|
|
828
|
+
);
|
|
829
|
+
|
|
830
|
+
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
/***/ }),
|
|
834
|
+
|
|
835
|
+
/***/ 652:
|
|
836
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
837
|
+
|
|
838
|
+
/* module decorator */ module = __webpack_require__.nmd(module);
|
|
839
|
+
var __WEBPACK_AMD_DEFINE_RESULT__;// A Javascript implementaion of the "xor128" prng algorithm by
|
|
840
|
+
// George Marsaglia. See http://www.jstatsoft.org/v08/i14/paper
|
|
841
|
+
|
|
842
|
+
(function(global, module, define) {
|
|
843
|
+
|
|
844
|
+
function XorGen(seed) {
|
|
845
|
+
var me = this, strseed = '';
|
|
846
|
+
|
|
847
|
+
me.x = 0;
|
|
848
|
+
me.y = 0;
|
|
849
|
+
me.z = 0;
|
|
850
|
+
me.w = 0;
|
|
851
|
+
|
|
852
|
+
// Set up generator function.
|
|
853
|
+
me.next = function() {
|
|
854
|
+
var t = me.x ^ (me.x << 11);
|
|
855
|
+
me.x = me.y;
|
|
856
|
+
me.y = me.z;
|
|
857
|
+
me.z = me.w;
|
|
858
|
+
return me.w ^= (me.w >>> 19) ^ t ^ (t >>> 8);
|
|
859
|
+
};
|
|
860
|
+
|
|
861
|
+
if (seed === (seed | 0)) {
|
|
862
|
+
// Integer seed.
|
|
863
|
+
me.x = seed;
|
|
864
|
+
} else {
|
|
865
|
+
// String seed.
|
|
866
|
+
strseed += seed;
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
// Mix in string seed, then discard an initial batch of 64 values.
|
|
870
|
+
for (var k = 0; k < strseed.length + 64; k++) {
|
|
871
|
+
me.x ^= strseed.charCodeAt(k) | 0;
|
|
872
|
+
me.next();
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
function copy(f, t) {
|
|
877
|
+
t.x = f.x;
|
|
878
|
+
t.y = f.y;
|
|
879
|
+
t.z = f.z;
|
|
880
|
+
t.w = f.w;
|
|
881
|
+
return t;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
function impl(seed, opts) {
|
|
885
|
+
var xg = new XorGen(seed),
|
|
886
|
+
state = opts && opts.state,
|
|
887
|
+
prng = function() { return (xg.next() >>> 0) / 0x100000000; };
|
|
888
|
+
prng.double = function() {
|
|
889
|
+
do {
|
|
890
|
+
var top = xg.next() >>> 11,
|
|
891
|
+
bot = (xg.next() >>> 0) / 0x100000000,
|
|
892
|
+
result = (top + bot) / (1 << 21);
|
|
893
|
+
} while (result === 0);
|
|
894
|
+
return result;
|
|
895
|
+
};
|
|
896
|
+
prng.int32 = xg.next;
|
|
897
|
+
prng.quick = prng;
|
|
898
|
+
if (state) {
|
|
899
|
+
if (typeof(state) == 'object') copy(state, xg);
|
|
900
|
+
prng.state = function() { return copy(xg, {}); }
|
|
901
|
+
}
|
|
902
|
+
return prng;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
if (module && module.exports) {
|
|
906
|
+
module.exports = impl;
|
|
907
|
+
} else if (__webpack_require__.amdD && __webpack_require__.amdO) {
|
|
908
|
+
!(__WEBPACK_AMD_DEFINE_RESULT__ = (function() { return impl; }).call(exports, __webpack_require__, exports, module),
|
|
909
|
+
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
910
|
+
} else {
|
|
911
|
+
this.xor128 = impl;
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
})(
|
|
915
|
+
this,
|
|
916
|
+
true && module, // present in node.js
|
|
917
|
+
__webpack_require__.amdD // present with an AMD loader
|
|
918
|
+
);
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
|
|
923
|
+
/***/ }),
|
|
924
|
+
|
|
925
|
+
/***/ 618:
|
|
926
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
927
|
+
|
|
928
|
+
/* module decorator */ module = __webpack_require__.nmd(module);
|
|
929
|
+
var __WEBPACK_AMD_DEFINE_RESULT__;// A Javascript implementaion of Richard Brent's Xorgens xor4096 algorithm.
|
|
930
|
+
//
|
|
931
|
+
// This fast non-cryptographic random number generator is designed for
|
|
932
|
+
// use in Monte-Carlo algorithms. It combines a long-period xorshift
|
|
933
|
+
// generator with a Weyl generator, and it passes all common batteries
|
|
934
|
+
// of stasticial tests for randomness while consuming only a few nanoseconds
|
|
935
|
+
// for each prng generated. For background on the generator, see Brent's
|
|
936
|
+
// paper: "Some long-period random number generators using shifts and xors."
|
|
937
|
+
// http://arxiv.org/pdf/1004.3115v1.pdf
|
|
938
|
+
//
|
|
939
|
+
// Usage:
|
|
940
|
+
//
|
|
941
|
+
// var xor4096 = require('xor4096');
|
|
942
|
+
// random = xor4096(1); // Seed with int32 or string.
|
|
943
|
+
// assert.equal(random(), 0.1520436450538547); // (0, 1) range, 53 bits.
|
|
944
|
+
// assert.equal(random.int32(), 1806534897); // signed int32, 32 bits.
|
|
945
|
+
//
|
|
946
|
+
// For nonzero numeric keys, this impelementation provides a sequence
|
|
947
|
+
// identical to that by Brent's xorgens 3 implementaion in C. This
|
|
948
|
+
// implementation also provides for initalizing the generator with
|
|
949
|
+
// string seeds, or for saving and restoring the state of the generator.
|
|
950
|
+
//
|
|
951
|
+
// On Chrome, this prng benchmarks about 2.1 times slower than
|
|
952
|
+
// Javascript's built-in Math.random().
|
|
953
|
+
|
|
954
|
+
(function(global, module, define) {
|
|
955
|
+
|
|
956
|
+
function XorGen(seed) {
|
|
957
|
+
var me = this;
|
|
958
|
+
|
|
959
|
+
// Set up generator function.
|
|
960
|
+
me.next = function() {
|
|
961
|
+
var w = me.w,
|
|
962
|
+
X = me.X, i = me.i, t, v;
|
|
963
|
+
// Update Weyl generator.
|
|
964
|
+
me.w = w = (w + 0x61c88647) | 0;
|
|
965
|
+
// Update xor generator.
|
|
966
|
+
v = X[(i + 34) & 127];
|
|
967
|
+
t = X[i = ((i + 1) & 127)];
|
|
968
|
+
v ^= v << 13;
|
|
969
|
+
t ^= t << 17;
|
|
970
|
+
v ^= v >>> 15;
|
|
971
|
+
t ^= t >>> 12;
|
|
972
|
+
// Update Xor generator array state.
|
|
973
|
+
v = X[i] = v ^ t;
|
|
974
|
+
me.i = i;
|
|
975
|
+
// Result is the combination.
|
|
976
|
+
return (v + (w ^ (w >>> 16))) | 0;
|
|
977
|
+
};
|
|
978
|
+
|
|
979
|
+
function init(me, seed) {
|
|
980
|
+
var t, v, i, j, w, X = [], limit = 128;
|
|
981
|
+
if (seed === (seed | 0)) {
|
|
982
|
+
// Numeric seeds initialize v, which is used to generates X.
|
|
983
|
+
v = seed;
|
|
984
|
+
seed = null;
|
|
985
|
+
} else {
|
|
986
|
+
// String seeds are mixed into v and X one character at a time.
|
|
987
|
+
seed = seed + '\0';
|
|
988
|
+
v = 0;
|
|
989
|
+
limit = Math.max(limit, seed.length);
|
|
990
|
+
}
|
|
991
|
+
// Initialize circular array and weyl value.
|
|
992
|
+
for (i = 0, j = -32; j < limit; ++j) {
|
|
993
|
+
// Put the unicode characters into the array, and shuffle them.
|
|
994
|
+
if (seed) v ^= seed.charCodeAt((j + 32) % seed.length);
|
|
995
|
+
// After 32 shuffles, take v as the starting w value.
|
|
996
|
+
if (j === 0) w = v;
|
|
997
|
+
v ^= v << 10;
|
|
998
|
+
v ^= v >>> 15;
|
|
999
|
+
v ^= v << 4;
|
|
1000
|
+
v ^= v >>> 13;
|
|
1001
|
+
if (j >= 0) {
|
|
1002
|
+
w = (w + 0x61c88647) | 0; // Weyl.
|
|
1003
|
+
t = (X[j & 127] ^= (v + w)); // Combine xor and weyl to init array.
|
|
1004
|
+
i = (0 == t) ? i + 1 : 0; // Count zeroes.
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
// We have detected all zeroes; make the key nonzero.
|
|
1008
|
+
if (i >= 128) {
|
|
1009
|
+
X[(seed && seed.length || 0) & 127] = -1;
|
|
1010
|
+
}
|
|
1011
|
+
// Run the generator 512 times to further mix the state before using it.
|
|
1012
|
+
// Factoring this as a function slows the main generator, so it is just
|
|
1013
|
+
// unrolled here. The weyl generator is not advanced while warming up.
|
|
1014
|
+
i = 127;
|
|
1015
|
+
for (j = 4 * 128; j > 0; --j) {
|
|
1016
|
+
v = X[(i + 34) & 127];
|
|
1017
|
+
t = X[i = ((i + 1) & 127)];
|
|
1018
|
+
v ^= v << 13;
|
|
1019
|
+
t ^= t << 17;
|
|
1020
|
+
v ^= v >>> 15;
|
|
1021
|
+
t ^= t >>> 12;
|
|
1022
|
+
X[i] = v ^ t;
|
|
1023
|
+
}
|
|
1024
|
+
// Storing state as object members is faster than using closure variables.
|
|
1025
|
+
me.w = w;
|
|
1026
|
+
me.X = X;
|
|
1027
|
+
me.i = i;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
init(me, seed);
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
function copy(f, t) {
|
|
1034
|
+
t.i = f.i;
|
|
1035
|
+
t.w = f.w;
|
|
1036
|
+
t.X = f.X.slice();
|
|
1037
|
+
return t;
|
|
1038
|
+
};
|
|
1039
|
+
|
|
1040
|
+
function impl(seed, opts) {
|
|
1041
|
+
if (seed == null) seed = +(new Date);
|
|
1042
|
+
var xg = new XorGen(seed),
|
|
1043
|
+
state = opts && opts.state,
|
|
1044
|
+
prng = function() { return (xg.next() >>> 0) / 0x100000000; };
|
|
1045
|
+
prng.double = function() {
|
|
1046
|
+
do {
|
|
1047
|
+
var top = xg.next() >>> 11,
|
|
1048
|
+
bot = (xg.next() >>> 0) / 0x100000000,
|
|
1049
|
+
result = (top + bot) / (1 << 21);
|
|
1050
|
+
} while (result === 0);
|
|
1051
|
+
return result;
|
|
1052
|
+
};
|
|
1053
|
+
prng.int32 = xg.next;
|
|
1054
|
+
prng.quick = prng;
|
|
1055
|
+
if (state) {
|
|
1056
|
+
if (state.X) copy(state, xg);
|
|
1057
|
+
prng.state = function() { return copy(xg, {}); }
|
|
1058
|
+
}
|
|
1059
|
+
return prng;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
if (module && module.exports) {
|
|
1063
|
+
module.exports = impl;
|
|
1064
|
+
} else if (__webpack_require__.amdD && __webpack_require__.amdO) {
|
|
1065
|
+
!(__WEBPACK_AMD_DEFINE_RESULT__ = (function() { return impl; }).call(exports, __webpack_require__, exports, module),
|
|
1066
|
+
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
1067
|
+
} else {
|
|
1068
|
+
this.xor4096 = impl;
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
})(
|
|
1072
|
+
this, // window object or global
|
|
1073
|
+
true && module, // present in node.js
|
|
1074
|
+
__webpack_require__.amdD // present with an AMD loader
|
|
1075
|
+
);
|
|
1076
|
+
|
|
1077
|
+
|
|
1078
|
+
/***/ }),
|
|
1079
|
+
|
|
1080
|
+
/***/ 30:
|
|
1081
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1082
|
+
|
|
1083
|
+
/* module decorator */ module = __webpack_require__.nmd(module);
|
|
1084
|
+
var __WEBPACK_AMD_DEFINE_RESULT__;// A Javascript implementaion of the "xorshift7" algorithm by
|
|
1085
|
+
// François Panneton and Pierre L'ecuyer:
|
|
1086
|
+
// "On the Xorgshift Random Number Generators"
|
|
1087
|
+
// http://saluc.engr.uconn.edu/refs/crypto/rng/panneton05onthexorshift.pdf
|
|
1088
|
+
|
|
1089
|
+
(function(global, module, define) {
|
|
1090
|
+
|
|
1091
|
+
function XorGen(seed) {
|
|
1092
|
+
var me = this;
|
|
1093
|
+
|
|
1094
|
+
// Set up generator function.
|
|
1095
|
+
me.next = function() {
|
|
1096
|
+
// Update xor generator.
|
|
1097
|
+
var X = me.x, i = me.i, t, v, w;
|
|
1098
|
+
t = X[i]; t ^= (t >>> 7); v = t ^ (t << 24);
|
|
1099
|
+
t = X[(i + 1) & 7]; v ^= t ^ (t >>> 10);
|
|
1100
|
+
t = X[(i + 3) & 7]; v ^= t ^ (t >>> 3);
|
|
1101
|
+
t = X[(i + 4) & 7]; v ^= t ^ (t << 7);
|
|
1102
|
+
t = X[(i + 7) & 7]; t = t ^ (t << 13); v ^= t ^ (t << 9);
|
|
1103
|
+
X[i] = v;
|
|
1104
|
+
me.i = (i + 1) & 7;
|
|
1105
|
+
return v;
|
|
1106
|
+
};
|
|
1107
|
+
|
|
1108
|
+
function init(me, seed) {
|
|
1109
|
+
var j, w, X = [];
|
|
1110
|
+
|
|
1111
|
+
if (seed === (seed | 0)) {
|
|
1112
|
+
// Seed state array using a 32-bit integer.
|
|
1113
|
+
w = X[0] = seed;
|
|
1114
|
+
} else {
|
|
1115
|
+
// Seed state using a string.
|
|
1116
|
+
seed = '' + seed;
|
|
1117
|
+
for (j = 0; j < seed.length; ++j) {
|
|
1118
|
+
X[j & 7] = (X[j & 7] << 15) ^
|
|
1119
|
+
(seed.charCodeAt(j) + X[(j + 1) & 7] << 13);
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
// Enforce an array length of 8, not all zeroes.
|
|
1123
|
+
while (X.length < 8) X.push(0);
|
|
1124
|
+
for (j = 0; j < 8 && X[j] === 0; ++j);
|
|
1125
|
+
if (j == 8) w = X[7] = -1; else w = X[j];
|
|
1126
|
+
|
|
1127
|
+
me.x = X;
|
|
1128
|
+
me.i = 0;
|
|
1129
|
+
|
|
1130
|
+
// Discard an initial 256 values.
|
|
1131
|
+
for (j = 256; j > 0; --j) {
|
|
1132
|
+
me.next();
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
init(me, seed);
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
function copy(f, t) {
|
|
1140
|
+
t.x = f.x.slice();
|
|
1141
|
+
t.i = f.i;
|
|
1142
|
+
return t;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
function impl(seed, opts) {
|
|
1146
|
+
if (seed == null) seed = +(new Date);
|
|
1147
|
+
var xg = new XorGen(seed),
|
|
1148
|
+
state = opts && opts.state,
|
|
1149
|
+
prng = function() { return (xg.next() >>> 0) / 0x100000000; };
|
|
1150
|
+
prng.double = function() {
|
|
1151
|
+
do {
|
|
1152
|
+
var top = xg.next() >>> 11,
|
|
1153
|
+
bot = (xg.next() >>> 0) / 0x100000000,
|
|
1154
|
+
result = (top + bot) / (1 << 21);
|
|
1155
|
+
} while (result === 0);
|
|
1156
|
+
return result;
|
|
1157
|
+
};
|
|
1158
|
+
prng.int32 = xg.next;
|
|
1159
|
+
prng.quick = prng;
|
|
1160
|
+
if (state) {
|
|
1161
|
+
if (state.x) copy(state, xg);
|
|
1162
|
+
prng.state = function() { return copy(xg, {}); }
|
|
1163
|
+
}
|
|
1164
|
+
return prng;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
if (module && module.exports) {
|
|
1168
|
+
module.exports = impl;
|
|
1169
|
+
} else if (__webpack_require__.amdD && __webpack_require__.amdO) {
|
|
1170
|
+
!(__WEBPACK_AMD_DEFINE_RESULT__ = (function() { return impl; }).call(exports, __webpack_require__, exports, module),
|
|
1171
|
+
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
1172
|
+
} else {
|
|
1173
|
+
this.xorshift7 = impl;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
})(
|
|
1177
|
+
this,
|
|
1178
|
+
true && module, // present in node.js
|
|
1179
|
+
__webpack_require__.amdD // present with an AMD loader
|
|
1180
|
+
);
|
|
1181
|
+
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
/***/ }),
|
|
1185
|
+
|
|
1186
|
+
/***/ 801:
|
|
1187
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1188
|
+
|
|
1189
|
+
/* module decorator */ module = __webpack_require__.nmd(module);
|
|
1190
|
+
var __WEBPACK_AMD_DEFINE_RESULT__;// A Javascript implementaion of the "xorwow" prng algorithm by
|
|
1191
|
+
// George Marsaglia. See http://www.jstatsoft.org/v08/i14/paper
|
|
1192
|
+
|
|
1193
|
+
(function(global, module, define) {
|
|
1194
|
+
|
|
1195
|
+
function XorGen(seed) {
|
|
1196
|
+
var me = this, strseed = '';
|
|
1197
|
+
|
|
1198
|
+
// Set up generator function.
|
|
1199
|
+
me.next = function() {
|
|
1200
|
+
var t = (me.x ^ (me.x >>> 2));
|
|
1201
|
+
me.x = me.y; me.y = me.z; me.z = me.w; me.w = me.v;
|
|
1202
|
+
return (me.d = (me.d + 362437 | 0)) +
|
|
1203
|
+
(me.v = (me.v ^ (me.v << 4)) ^ (t ^ (t << 1))) | 0;
|
|
1204
|
+
};
|
|
1205
|
+
|
|
1206
|
+
me.x = 0;
|
|
1207
|
+
me.y = 0;
|
|
1208
|
+
me.z = 0;
|
|
1209
|
+
me.w = 0;
|
|
1210
|
+
me.v = 0;
|
|
1211
|
+
|
|
1212
|
+
if (seed === (seed | 0)) {
|
|
1213
|
+
// Integer seed.
|
|
1214
|
+
me.x = seed;
|
|
1215
|
+
} else {
|
|
1216
|
+
// String seed.
|
|
1217
|
+
strseed += seed;
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
// Mix in string seed, then discard an initial batch of 64 values.
|
|
1221
|
+
for (var k = 0; k < strseed.length + 64; k++) {
|
|
1222
|
+
me.x ^= strseed.charCodeAt(k) | 0;
|
|
1223
|
+
if (k == strseed.length) {
|
|
1224
|
+
me.d = me.x << 10 ^ me.x >>> 4;
|
|
1225
|
+
}
|
|
1226
|
+
me.next();
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
function copy(f, t) {
|
|
1231
|
+
t.x = f.x;
|
|
1232
|
+
t.y = f.y;
|
|
1233
|
+
t.z = f.z;
|
|
1234
|
+
t.w = f.w;
|
|
1235
|
+
t.v = f.v;
|
|
1236
|
+
t.d = f.d;
|
|
1237
|
+
return t;
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
function impl(seed, opts) {
|
|
1241
|
+
var xg = new XorGen(seed),
|
|
1242
|
+
state = opts && opts.state,
|
|
1243
|
+
prng = function() { return (xg.next() >>> 0) / 0x100000000; };
|
|
1244
|
+
prng.double = function() {
|
|
1245
|
+
do {
|
|
1246
|
+
var top = xg.next() >>> 11,
|
|
1247
|
+
bot = (xg.next() >>> 0) / 0x100000000,
|
|
1248
|
+
result = (top + bot) / (1 << 21);
|
|
1249
|
+
} while (result === 0);
|
|
1250
|
+
return result;
|
|
1251
|
+
};
|
|
1252
|
+
prng.int32 = xg.next;
|
|
1253
|
+
prng.quick = prng;
|
|
1254
|
+
if (state) {
|
|
1255
|
+
if (typeof(state) == 'object') copy(state, xg);
|
|
1256
|
+
prng.state = function() { return copy(xg, {}); }
|
|
1257
|
+
}
|
|
1258
|
+
return prng;
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
if (module && module.exports) {
|
|
1262
|
+
module.exports = impl;
|
|
1263
|
+
} else if (__webpack_require__.amdD && __webpack_require__.amdO) {
|
|
1264
|
+
!(__WEBPACK_AMD_DEFINE_RESULT__ = (function() { return impl; }).call(exports, __webpack_require__, exports, module),
|
|
1265
|
+
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
1266
|
+
} else {
|
|
1267
|
+
this.xorwow = impl;
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
})(
|
|
1271
|
+
this,
|
|
1272
|
+
true && module, // present in node.js
|
|
1273
|
+
__webpack_require__.amdD // present with an AMD loader
|
|
1274
|
+
);
|
|
1275
|
+
|
|
1276
|
+
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
/***/ }),
|
|
1280
|
+
|
|
1281
|
+
/***/ 971:
|
|
1282
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1283
|
+
|
|
1284
|
+
var __WEBPACK_AMD_DEFINE_RESULT__;/*
|
|
1285
|
+
Copyright 2019 David Bau.
|
|
1286
|
+
|
|
1287
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
1288
|
+
a copy of this software and associated documentation files (the
|
|
1289
|
+
"Software"), to deal in the Software without restriction, including
|
|
1290
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
1291
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
1292
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
1293
|
+
the following conditions:
|
|
1294
|
+
|
|
1295
|
+
The above copyright notice and this permission notice shall be
|
|
1296
|
+
included in all copies or substantial portions of the Software.
|
|
1297
|
+
|
|
1298
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
1299
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
1300
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
1301
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
1302
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
1303
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
1304
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1305
|
+
|
|
1306
|
+
*/
|
|
1307
|
+
|
|
1308
|
+
(function (global, pool, math) {
|
|
1309
|
+
//
|
|
1310
|
+
// The following constants are related to IEEE 754 limits.
|
|
1311
|
+
//
|
|
1312
|
+
|
|
1313
|
+
var width = 256, // each RC4 output is 0 <= x < 256
|
|
1314
|
+
chunks = 6, // at least six RC4 outputs for each double
|
|
1315
|
+
digits = 52, // there are 52 significant digits in a double
|
|
1316
|
+
rngname = 'random', // rngname: name for Math.random and Math.seedrandom
|
|
1317
|
+
startdenom = math.pow(width, chunks),
|
|
1318
|
+
significance = math.pow(2, digits),
|
|
1319
|
+
overflow = significance * 2,
|
|
1320
|
+
mask = width - 1,
|
|
1321
|
+
nodecrypto; // node.js crypto module, initialized at the bottom.
|
|
1322
|
+
|
|
1323
|
+
//
|
|
1324
|
+
// seedrandom()
|
|
1325
|
+
// This is the seedrandom function described above.
|
|
1326
|
+
//
|
|
1327
|
+
function seedrandom(seed, options, callback) {
|
|
1328
|
+
var key = [];
|
|
1329
|
+
options = (options == true) ? { entropy: true } : (options || {});
|
|
1330
|
+
|
|
1331
|
+
// Flatten the seed string or build one from local entropy if needed.
|
|
1332
|
+
var shortseed = mixkey(flatten(
|
|
1333
|
+
options.entropy ? [seed, tostring(pool)] :
|
|
1334
|
+
(seed == null) ? autoseed() : seed, 3), key);
|
|
1335
|
+
|
|
1336
|
+
// Use the seed to initialize an ARC4 generator.
|
|
1337
|
+
var arc4 = new ARC4(key);
|
|
1338
|
+
|
|
1339
|
+
// This function returns a random double in [0, 1) that contains
|
|
1340
|
+
// randomness in every bit of the mantissa of the IEEE 754 value.
|
|
1341
|
+
var prng = function() {
|
|
1342
|
+
var n = arc4.g(chunks), // Start with a numerator n < 2 ^ 48
|
|
1343
|
+
d = startdenom, // and denominator d = 2 ^ 48.
|
|
1344
|
+
x = 0; // and no 'extra last byte'.
|
|
1345
|
+
while (n < significance) { // Fill up all significant digits by
|
|
1346
|
+
n = (n + x) * width; // shifting numerator and
|
|
1347
|
+
d *= width; // denominator and generating a
|
|
1348
|
+
x = arc4.g(1); // new least-significant-byte.
|
|
1349
|
+
}
|
|
1350
|
+
while (n >= overflow) { // To avoid rounding up, before adding
|
|
1351
|
+
n /= 2; // last byte, shift everything
|
|
1352
|
+
d /= 2; // right using integer math until
|
|
1353
|
+
x >>>= 1; // we have exactly the desired bits.
|
|
1354
|
+
}
|
|
1355
|
+
return (n + x) / d; // Form the number within [0, 1).
|
|
1356
|
+
};
|
|
1357
|
+
|
|
1358
|
+
prng.int32 = function() { return arc4.g(4) | 0; }
|
|
1359
|
+
prng.quick = function() { return arc4.g(4) / 0x100000000; }
|
|
1360
|
+
prng.double = prng;
|
|
1361
|
+
|
|
1362
|
+
// Mix the randomness into accumulated entropy.
|
|
1363
|
+
mixkey(tostring(arc4.S), pool);
|
|
1364
|
+
|
|
1365
|
+
// Calling convention: what to return as a function of prng, seed, is_math.
|
|
1366
|
+
return (options.pass || callback ||
|
|
1367
|
+
function(prng, seed, is_math_call, state) {
|
|
1368
|
+
if (state) {
|
|
1369
|
+
// Load the arc4 state from the given state if it has an S array.
|
|
1370
|
+
if (state.S) { copy(state, arc4); }
|
|
1371
|
+
// Only provide the .state method if requested via options.state.
|
|
1372
|
+
prng.state = function() { return copy(arc4, {}); }
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1375
|
+
// If called as a method of Math (Math.seedrandom()), mutate
|
|
1376
|
+
// Math.random because that is how seedrandom.js has worked since v1.0.
|
|
1377
|
+
if (is_math_call) { math[rngname] = prng; return seed; }
|
|
1378
|
+
|
|
1379
|
+
// Otherwise, it is a newer calling convention, so return the
|
|
1380
|
+
// prng directly.
|
|
1381
|
+
else return prng;
|
|
1382
|
+
})(
|
|
1383
|
+
prng,
|
|
1384
|
+
shortseed,
|
|
1385
|
+
'global' in options ? options.global : (this == math),
|
|
1386
|
+
options.state);
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
//
|
|
1390
|
+
// ARC4
|
|
1391
|
+
//
|
|
1392
|
+
// An ARC4 implementation. The constructor takes a key in the form of
|
|
1393
|
+
// an array of at most (width) integers that should be 0 <= x < (width).
|
|
1394
|
+
//
|
|
1395
|
+
// The g(count) method returns a pseudorandom integer that concatenates
|
|
1396
|
+
// the next (count) outputs from ARC4. Its return value is a number x
|
|
1397
|
+
// that is in the range 0 <= x < (width ^ count).
|
|
1398
|
+
//
|
|
1399
|
+
function ARC4(key) {
|
|
1400
|
+
var t, keylen = key.length,
|
|
1401
|
+
me = this, i = 0, j = me.i = me.j = 0, s = me.S = [];
|
|
1402
|
+
|
|
1403
|
+
// The empty key [] is treated as [0].
|
|
1404
|
+
if (!keylen) { key = [keylen++]; }
|
|
1405
|
+
|
|
1406
|
+
// Set up S using the standard key scheduling algorithm.
|
|
1407
|
+
while (i < width) {
|
|
1408
|
+
s[i] = i++;
|
|
1409
|
+
}
|
|
1410
|
+
for (i = 0; i < width; i++) {
|
|
1411
|
+
s[i] = s[j = mask & (j + key[i % keylen] + (t = s[i]))];
|
|
1412
|
+
s[j] = t;
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1415
|
+
// The "g" method returns the next (count) outputs as one number.
|
|
1416
|
+
(me.g = function(count) {
|
|
1417
|
+
// Using instance members instead of closure state nearly doubles speed.
|
|
1418
|
+
var t, r = 0,
|
|
1419
|
+
i = me.i, j = me.j, s = me.S;
|
|
1420
|
+
while (count--) {
|
|
1421
|
+
t = s[i = mask & (i + 1)];
|
|
1422
|
+
r = r * width + s[mask & ((s[i] = s[j = mask & (j + t)]) + (s[j] = t))];
|
|
1423
|
+
}
|
|
1424
|
+
me.i = i; me.j = j;
|
|
1425
|
+
return r;
|
|
1426
|
+
// For robust unpredictability, the function call below automatically
|
|
1427
|
+
// discards an initial batch of values. This is called RC4-drop[256].
|
|
1428
|
+
// See http://google.com/search?q=rsa+fluhrer+response&btnI
|
|
1429
|
+
})(width);
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
//
|
|
1433
|
+
// copy()
|
|
1434
|
+
// Copies internal state of ARC4 to or from a plain object.
|
|
1435
|
+
//
|
|
1436
|
+
function copy(f, t) {
|
|
1437
|
+
t.i = f.i;
|
|
1438
|
+
t.j = f.j;
|
|
1439
|
+
t.S = f.S.slice();
|
|
1440
|
+
return t;
|
|
1441
|
+
};
|
|
1442
|
+
|
|
1443
|
+
//
|
|
1444
|
+
// flatten()
|
|
1445
|
+
// Converts an object tree to nested arrays of strings.
|
|
1446
|
+
//
|
|
1447
|
+
function flatten(obj, depth) {
|
|
1448
|
+
var result = [], typ = (typeof obj), prop;
|
|
1449
|
+
if (depth && typ == 'object') {
|
|
1450
|
+
for (prop in obj) {
|
|
1451
|
+
try { result.push(flatten(obj[prop], depth - 1)); } catch (e) {}
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1454
|
+
return (result.length ? result : typ == 'string' ? obj : obj + '\0');
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
//
|
|
1458
|
+
// mixkey()
|
|
1459
|
+
// Mixes a string seed into a key that is an array of integers, and
|
|
1460
|
+
// returns a shortened string seed that is equivalent to the result key.
|
|
1461
|
+
//
|
|
1462
|
+
function mixkey(seed, key) {
|
|
1463
|
+
var stringseed = seed + '', smear, j = 0;
|
|
1464
|
+
while (j < stringseed.length) {
|
|
1465
|
+
key[mask & j] =
|
|
1466
|
+
mask & ((smear ^= key[mask & j] * 19) + stringseed.charCodeAt(j++));
|
|
1467
|
+
}
|
|
1468
|
+
return tostring(key);
|
|
1469
|
+
}
|
|
1470
|
+
|
|
1471
|
+
//
|
|
1472
|
+
// autoseed()
|
|
1473
|
+
// Returns an object for autoseeding, using window.crypto and Node crypto
|
|
1474
|
+
// module if available.
|
|
1475
|
+
//
|
|
1476
|
+
function autoseed() {
|
|
1477
|
+
try {
|
|
1478
|
+
var out;
|
|
1479
|
+
if (nodecrypto && (out = nodecrypto.randomBytes)) {
|
|
1480
|
+
// The use of 'out' to remember randomBytes makes tight minified code.
|
|
1481
|
+
out = out(width);
|
|
1482
|
+
} else {
|
|
1483
|
+
out = new Uint8Array(width);
|
|
1484
|
+
(global.crypto || global.msCrypto).getRandomValues(out);
|
|
1485
|
+
}
|
|
1486
|
+
return tostring(out);
|
|
1487
|
+
} catch (e) {
|
|
1488
|
+
var browser = global.navigator,
|
|
1489
|
+
plugins = browser && browser.plugins;
|
|
1490
|
+
return [+new Date, global, plugins, global.screen, tostring(pool)];
|
|
1491
|
+
}
|
|
1492
|
+
}
|
|
1493
|
+
|
|
1494
|
+
//
|
|
1495
|
+
// tostring()
|
|
1496
|
+
// Converts an array of charcodes to a string
|
|
1497
|
+
//
|
|
1498
|
+
function tostring(a) {
|
|
1499
|
+
return String.fromCharCode.apply(0, a);
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1502
|
+
//
|
|
1503
|
+
// When seedrandom.js is loaded, we immediately mix a few bits
|
|
1504
|
+
// from the built-in RNG into the entropy pool. Because we do
|
|
1505
|
+
// not want to interfere with deterministic PRNG state later,
|
|
1506
|
+
// seedrandom will not call math.random on its own again after
|
|
1507
|
+
// initialization.
|
|
1508
|
+
//
|
|
1509
|
+
mixkey(math.random(), pool);
|
|
1510
|
+
|
|
1511
|
+
//
|
|
1512
|
+
// Nodejs and AMD support: export the implementation as a module using
|
|
1513
|
+
// either convention.
|
|
1514
|
+
//
|
|
1515
|
+
if ( true && module.exports) {
|
|
1516
|
+
module.exports = seedrandom;
|
|
1517
|
+
// When in node.js, try using crypto package for autoseeding.
|
|
1518
|
+
try {
|
|
1519
|
+
nodecrypto = __webpack_require__(42);
|
|
1520
|
+
} catch (ex) {}
|
|
1521
|
+
} else if (true) {
|
|
1522
|
+
!(__WEBPACK_AMD_DEFINE_RESULT__ = (function() { return seedrandom; }).call(exports, __webpack_require__, exports, module),
|
|
1523
|
+
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
1524
|
+
} else {}
|
|
1525
|
+
|
|
1526
|
+
|
|
1527
|
+
// End anonymous scope, and pass initial values.
|
|
1528
|
+
})(
|
|
1529
|
+
// global: `self` in browsers (including strict mode and web workers),
|
|
1530
|
+
// otherwise `this` in Node and other environments
|
|
1531
|
+
(typeof self !== 'undefined') ? self : this,
|
|
1532
|
+
[], // pool: entropy pool starts empty
|
|
1533
|
+
Math // math: package containing random, pow, and seedrandom
|
|
1534
|
+
);
|
|
1535
|
+
|
|
1536
|
+
|
|
531
1537
|
/***/ }),
|
|
532
1538
|
|
|
533
1539
|
/***/ 744:
|
|
@@ -566,19 +1572,19 @@ var update = add("e1cef0bc", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
566
1572
|
|
|
567
1573
|
/***/ }),
|
|
568
1574
|
|
|
569
|
-
/***/
|
|
1575
|
+
/***/ 899:
|
|
570
1576
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
571
1577
|
|
|
572
1578
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
573
1579
|
|
|
574
1580
|
// load the styles
|
|
575
|
-
var content = __webpack_require__(
|
|
1581
|
+
var content = __webpack_require__(794);
|
|
576
1582
|
if(content.__esModule) content = content.default;
|
|
577
1583
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
578
1584
|
if(content.locals) module.exports = content.locals;
|
|
579
1585
|
// add the styles to the DOM
|
|
580
1586
|
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
|
581
|
-
var update = add("
|
|
1587
|
+
var update = add("7b0d71b4", content, true, {"sourceMap":false,"shadowMode":false});
|
|
582
1588
|
|
|
583
1589
|
/***/ }),
|
|
584
1590
|
|
|
@@ -678,19 +1684,19 @@ var update = add("4d925410", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
678
1684
|
|
|
679
1685
|
/***/ }),
|
|
680
1686
|
|
|
681
|
-
/***/
|
|
1687
|
+
/***/ 597:
|
|
682
1688
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
683
1689
|
|
|
684
1690
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
685
1691
|
|
|
686
1692
|
// load the styles
|
|
687
|
-
var content = __webpack_require__(
|
|
1693
|
+
var content = __webpack_require__(214);
|
|
688
1694
|
if(content.__esModule) content = content.default;
|
|
689
1695
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
690
1696
|
if(content.locals) module.exports = content.locals;
|
|
691
1697
|
// add the styles to the DOM
|
|
692
1698
|
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
|
693
|
-
var update = add("
|
|
1699
|
+
var update = add("79dcebc8", content, true, {"sourceMap":false,"shadowMode":false});
|
|
694
1700
|
|
|
695
1701
|
/***/ }),
|
|
696
1702
|
|
|
@@ -790,19 +1796,19 @@ var update = add("1d7a8b7e", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
790
1796
|
|
|
791
1797
|
/***/ }),
|
|
792
1798
|
|
|
793
|
-
/***/
|
|
1799
|
+
/***/ 836:
|
|
794
1800
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
795
1801
|
|
|
796
1802
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
797
1803
|
|
|
798
1804
|
// load the styles
|
|
799
|
-
var content = __webpack_require__(
|
|
1805
|
+
var content = __webpack_require__(568);
|
|
800
1806
|
if(content.__esModule) content = content.default;
|
|
801
1807
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
802
1808
|
if(content.locals) module.exports = content.locals;
|
|
803
1809
|
// add the styles to the DOM
|
|
804
1810
|
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
|
805
|
-
var update = add("
|
|
1811
|
+
var update = add("6a465747", content, true, {"sourceMap":false,"shadowMode":false});
|
|
806
1812
|
|
|
807
1813
|
/***/ }),
|
|
808
1814
|
|
|
@@ -1086,6 +2092,13 @@ function applyToTag (styleElement, obj) {
|
|
|
1086
2092
|
}
|
|
1087
2093
|
|
|
1088
2094
|
|
|
2095
|
+
/***/ }),
|
|
2096
|
+
|
|
2097
|
+
/***/ 42:
|
|
2098
|
+
/***/ (() => {
|
|
2099
|
+
|
|
2100
|
+
/* (ignored) */
|
|
2101
|
+
|
|
1089
2102
|
/***/ })
|
|
1090
2103
|
|
|
1091
2104
|
/******/ });
|
|
@@ -1103,18 +2116,33 @@ function applyToTag (styleElement, obj) {
|
|
|
1103
2116
|
/******/ // Create a new module (and put it into the cache)
|
|
1104
2117
|
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
1105
2118
|
/******/ id: moduleId,
|
|
1106
|
-
/******/
|
|
2119
|
+
/******/ loaded: false,
|
|
1107
2120
|
/******/ exports: {}
|
|
1108
2121
|
/******/ };
|
|
1109
2122
|
/******/
|
|
1110
2123
|
/******/ // Execute the module function
|
|
1111
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
2124
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
2125
|
+
/******/
|
|
2126
|
+
/******/ // Flag the module as loaded
|
|
2127
|
+
/******/ module.loaded = true;
|
|
1112
2128
|
/******/
|
|
1113
2129
|
/******/ // Return the exports of the module
|
|
1114
2130
|
/******/ return module.exports;
|
|
1115
2131
|
/******/ }
|
|
1116
2132
|
/******/
|
|
1117
2133
|
/************************************************************************/
|
|
2134
|
+
/******/ /* webpack/runtime/amd define */
|
|
2135
|
+
/******/ (() => {
|
|
2136
|
+
/******/ __webpack_require__.amdD = function () {
|
|
2137
|
+
/******/ throw new Error('define cannot be used indirect');
|
|
2138
|
+
/******/ };
|
|
2139
|
+
/******/ })();
|
|
2140
|
+
/******/
|
|
2141
|
+
/******/ /* webpack/runtime/amd options */
|
|
2142
|
+
/******/ (() => {
|
|
2143
|
+
/******/ __webpack_require__.amdO = {};
|
|
2144
|
+
/******/ })();
|
|
2145
|
+
/******/
|
|
1118
2146
|
/******/ /* webpack/runtime/compat get default export */
|
|
1119
2147
|
/******/ (() => {
|
|
1120
2148
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
@@ -1155,6 +2183,15 @@ function applyToTag (styleElement, obj) {
|
|
|
1155
2183
|
/******/ };
|
|
1156
2184
|
/******/ })();
|
|
1157
2185
|
/******/
|
|
2186
|
+
/******/ /* webpack/runtime/node module decorator */
|
|
2187
|
+
/******/ (() => {
|
|
2188
|
+
/******/ __webpack_require__.nmd = (module) => {
|
|
2189
|
+
/******/ module.paths = [];
|
|
2190
|
+
/******/ if (!module.children) module.children = [];
|
|
2191
|
+
/******/ return module;
|
|
2192
|
+
/******/ };
|
|
2193
|
+
/******/ })();
|
|
2194
|
+
/******/
|
|
1158
2195
|
/******/ /* webpack/runtime/publicPath */
|
|
1159
2196
|
/******/ (() => {
|
|
1160
2197
|
/******/ __webpack_require__.p = "";
|
|
@@ -1311,7 +2348,7 @@ if (typeof window !== 'undefined') {
|
|
|
1311
2348
|
|
|
1312
2349
|
;// CONCATENATED MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
1313
2350
|
const external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject = require("vue");
|
|
1314
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/avatar/avatar.vue?vue&type=template&id=
|
|
2351
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/avatar/avatar.vue?vue&type=template&id=3cb27068
|
|
1315
2352
|
|
|
1316
2353
|
const _hoisted_1 = ["id"];
|
|
1317
2354
|
const _hoisted_2 = {
|
|
@@ -1335,7 +2372,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1335
2372
|
"data-qa": "dt-presence"
|
|
1336
2373
|
}), null, 16, ["presence", "class"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 14, _hoisted_1);
|
|
1337
2374
|
}
|
|
1338
|
-
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=template&id=
|
|
2375
|
+
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=template&id=3cb27068
|
|
1339
2376
|
|
|
1340
2377
|
;// CONCATENATED MODULE: ./common/constants.js
|
|
1341
2378
|
/* TODO: Move and sort these in a constants directory
|
|
@@ -1408,6 +2445,9 @@ const DEFAULT_PREFIX = 'dt';
|
|
|
1408
2445
|
;// CONCATENATED MODULE: ./common/utils.js
|
|
1409
2446
|
|
|
1410
2447
|
|
|
2448
|
+
|
|
2449
|
+
const seedrandom = __webpack_require__(377);
|
|
2450
|
+
|
|
1411
2451
|
let UNIQUE_ID_COUNTER = 0; // selector to find focusable not hidden inputs
|
|
1412
2452
|
|
|
1413
2453
|
const FOCUSABLE_SELECTOR_NOT_HIDDEN = 'input:not([type=hidden]):not(:disabled)'; // selector to find focusable not disables elements
|
|
@@ -1424,12 +2464,15 @@ function getUniqueString() {
|
|
|
1424
2464
|
}
|
|
1425
2465
|
/**
|
|
1426
2466
|
* Returns a random element from array
|
|
1427
|
-
* @param array
|
|
1428
|
-
* @
|
|
2467
|
+
* @param array - the array to return a random element from
|
|
2468
|
+
* @param {string} seed - use a string to seed the randomization, so it returns the same element each time
|
|
2469
|
+
* based on that string.
|
|
2470
|
+
* @returns {*} - the random element
|
|
1429
2471
|
*/
|
|
1430
2472
|
|
|
1431
|
-
function getRandomElement(array) {
|
|
1432
|
-
|
|
2473
|
+
function getRandomElement(array, seed) {
|
|
2474
|
+
const rng = seedrandom(seed);
|
|
2475
|
+
return array[Math.floor(rng() * array.length)];
|
|
1433
2476
|
}
|
|
1434
2477
|
function formatMessages(messages) {
|
|
1435
2478
|
if (!messages) {
|
|
@@ -1617,6 +2660,9 @@ const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(presencevue_typ
|
|
|
1617
2660
|
;// CONCATENATED MODULE: ./components/presence/index.js
|
|
1618
2661
|
|
|
1619
2662
|
|
|
2663
|
+
// EXTERNAL MODULE: ./node_modules/seedrandom/index.js
|
|
2664
|
+
var node_modules_seedrandom = __webpack_require__(377);
|
|
2665
|
+
var seedrandom_default = /*#__PURE__*/__webpack_require__.n(node_modules_seedrandom);
|
|
1620
2666
|
;// CONCATENATED MODULE: ./components/avatar/avatar_constants.js
|
|
1621
2667
|
const AVATAR_KIND_MODIFIERS = {
|
|
1622
2668
|
default: '',
|
|
@@ -1659,6 +2705,7 @@ const MAX_GRADIENT_COLORS_100 = 2;
|
|
|
1659
2705
|
|
|
1660
2706
|
|
|
1661
2707
|
|
|
2708
|
+
|
|
1662
2709
|
/**
|
|
1663
2710
|
* An avatar is a visual representation of a user or object.
|
|
1664
2711
|
* @see https://dialpad.design/components/avatar.html
|
|
@@ -1683,6 +2730,15 @@ const MAX_GRADIENT_COLORS_100 = 2;
|
|
|
1683
2730
|
|
|
1684
2731
|
},
|
|
1685
2732
|
|
|
2733
|
+
/**
|
|
2734
|
+
* Pass in a seed to get the random color generation based on that string. For example if you pass in a
|
|
2735
|
+
* user ID as the string it will return the same randomly generated colors every time for that user.
|
|
2736
|
+
*/
|
|
2737
|
+
seed: {
|
|
2738
|
+
type: String,
|
|
2739
|
+
default: undefined
|
|
2740
|
+
},
|
|
2741
|
+
|
|
1686
2742
|
/**
|
|
1687
2743
|
* The size of the avatar
|
|
1688
2744
|
* @values xs, sm, md, lg, xl
|
|
@@ -1839,21 +2895,29 @@ const MAX_GRADIENT_COLORS_100 = 2;
|
|
|
1839
2895
|
},
|
|
1840
2896
|
|
|
1841
2897
|
randomizeGradientAngle() {
|
|
1842
|
-
return getRandomElement(AVATAR_ANGLES);
|
|
2898
|
+
return getRandomElement(AVATAR_ANGLES, this.seed);
|
|
1843
2899
|
},
|
|
1844
2900
|
|
|
1845
2901
|
randomizeGradientColorStops() {
|
|
1846
|
-
const colors = new Set();
|
|
2902
|
+
const colors = new Set();
|
|
2903
|
+
let count = 0; // get 3 unique colors, 2 from colorsWith100 and one from colorsWith200
|
|
1847
2904
|
|
|
1848
2905
|
while (colors.size < MAX_GRADIENT_COLORS) {
|
|
2906
|
+
// add count to the seed since we are looking for 3 unique colors. If the seed makes it always
|
|
2907
|
+
// return the same color we'll get an infinite loop.
|
|
2908
|
+
const seedForColor = this.seed === undefined ? undefined : this.seed + count.toString();
|
|
2909
|
+
|
|
1849
2910
|
if (colors.size === MAX_GRADIENT_COLORS_100) {
|
|
1850
|
-
colors.add(getRandomElement(GRADIENT_COLORS.with200));
|
|
2911
|
+
colors.add(getRandomElement(GRADIENT_COLORS.with200, seedForColor));
|
|
1851
2912
|
} else {
|
|
1852
|
-
colors.add(getRandomElement(GRADIENT_COLORS.with100));
|
|
2913
|
+
colors.add(getRandomElement(GRADIENT_COLORS.with100, seedForColor));
|
|
1853
2914
|
}
|
|
2915
|
+
|
|
2916
|
+
count++;
|
|
1854
2917
|
}
|
|
1855
2918
|
|
|
1856
|
-
const
|
|
2919
|
+
const rng = seedrandom_default()(this.seed);
|
|
2920
|
+
const shuffledColors = Array.from(colors).sort(() => 0.5 - rng());
|
|
1857
2921
|
return shuffledColors;
|
|
1858
2922
|
},
|
|
1859
2923
|
|
|
@@ -1870,9 +2934,9 @@ const MAX_GRADIENT_COLORS_100 = 2;
|
|
|
1870
2934
|
});
|
|
1871
2935
|
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=script&lang=js
|
|
1872
2936
|
|
|
1873
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/avatar/avatar.vue?vue&type=style&index=0&id=
|
|
1874
|
-
var
|
|
1875
|
-
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=style&index=0&id=
|
|
2937
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/avatar/avatar.vue?vue&type=style&index=0&id=3cb27068&lang=less
|
|
2938
|
+
var avatarvue_type_style_index_0_id_3cb27068_lang_less = __webpack_require__(899);
|
|
2939
|
+
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=style&index=0&id=3cb27068&lang=less
|
|
1876
2940
|
|
|
1877
2941
|
;// CONCATENATED MODULE: ./components/avatar/avatar.vue
|
|
1878
2942
|
|
|
@@ -6337,11 +7401,11 @@ function dropdownvue_type_template_id_6b8ca270_render(_ctx, _cache, $props, $set
|
|
|
6337
7401
|
}
|
|
6338
7402
|
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=template&id=6b8ca270
|
|
6339
7403
|
|
|
6340
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/popover/popover.vue?vue&type=template&id=
|
|
7404
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/popover/popover.vue?vue&type=template&id=4199c610
|
|
6341
7405
|
|
|
6342
|
-
const
|
|
6343
|
-
const
|
|
6344
|
-
function
|
|
7406
|
+
const popovervue_type_template_id_4199c610_hoisted_1 = ["aria-hidden"];
|
|
7407
|
+
const popovervue_type_template_id_4199c610_hoisted_2 = ["id", "tabindex"];
|
|
7408
|
+
function popovervue_type_template_id_4199c610_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6345
7409
|
const _component_popover_header_footer = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("popover-header-footer");
|
|
6346
7410
|
|
|
6347
7411
|
const _component_sr_only_close_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("sr-only-close-button");
|
|
@@ -6355,7 +7419,7 @@ function popovervue_type_template_id_ec7df6ce_render(_ctx, _cache, $props, $setu
|
|
|
6355
7419
|
class: "d-modal--transparent",
|
|
6356
7420
|
"aria-hidden": $props.modal && $data.isOpen ? 'false' : 'true',
|
|
6357
7421
|
onClick: _cache[0] || (_cache[0] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)(() => {}, ["prevent", "stop"]))
|
|
6358
|
-
}, null, 8,
|
|
7422
|
+
}, null, 8, popovervue_type_template_id_4199c610_hoisted_1)])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveDynamicComponent)($props.elementType), {
|
|
6359
7423
|
ref: "popover",
|
|
6360
7424
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-popover', {
|
|
6361
7425
|
'd-popover__anchor--opened': $data.isOpen
|
|
@@ -6388,7 +7452,7 @@ function popovervue_type_template_id_ec7df6ce_render(_ctx, _cache, $props, $setu
|
|
|
6388
7452
|
'aria-controls': $props.id,
|
|
6389
7453
|
'aria-haspopup': $props.role
|
|
6390
7454
|
}
|
|
6391
|
-
})], 40,
|
|
7455
|
+
})], 40, popovervue_type_template_id_4199c610_hoisted_2), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_lazy_show, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
6392
7456
|
id: $props.id,
|
|
6393
7457
|
ref: "content",
|
|
6394
7458
|
role: $props.role,
|
|
@@ -6451,7 +7515,7 @@ function popovervue_type_template_id_ec7df6ce_render(_ctx, _cache, $props, $setu
|
|
|
6451
7515
|
_: 3
|
|
6452
7516
|
}, 8, ["class"]))]);
|
|
6453
7517
|
}
|
|
6454
|
-
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=
|
|
7518
|
+
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=4199c610
|
|
6455
7519
|
|
|
6456
7520
|
;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getWindow.js
|
|
6457
7521
|
function getWindow(node) {
|
|
@@ -11012,6 +12076,7 @@ const POPOVER_HEADER_FOOTER_PADDING_CLASSES = {
|
|
|
11012
12076
|
const POPOVER_ROLES = ['dialog', 'menu', 'listbox', 'tree', 'grid'];
|
|
11013
12077
|
const POPOVER_CONTENT_WIDTHS = [null, 'anchor'];
|
|
11014
12078
|
const POPOVER_INITIAL_FOCUS_STRINGS = ['none', 'dialog', 'first'];
|
|
12079
|
+
const POPOVER_APPEND_TO_VALUES = ['parent'];
|
|
11015
12080
|
const POPOVER_STICKY_VALUES = [...TIPPY_STICKY_VALUES];
|
|
11016
12081
|
const POPOVER_DIRECTIONS = [...BASE_TIPPY_DIRECTIONS];
|
|
11017
12082
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/popover/popover_header_footer.vue?vue&type=template&id=9190eade
|
|
@@ -11459,6 +12524,18 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11459
12524
|
openWithArrowKeys: {
|
|
11460
12525
|
type: Boolean,
|
|
11461
12526
|
default: false
|
|
12527
|
+
},
|
|
12528
|
+
|
|
12529
|
+
/**
|
|
12530
|
+
* Sets the element to which the popover is going to append to.
|
|
12531
|
+
* @values 'parent', HTMLElement,
|
|
12532
|
+
*/
|
|
12533
|
+
appendTo: {
|
|
12534
|
+
type: [HTMLElement, String],
|
|
12535
|
+
default: () => document.body,
|
|
12536
|
+
validator: appendTo => {
|
|
12537
|
+
return POPOVER_APPEND_TO_VALUES.includes(appendTo) || appendTo instanceof HTMLElement;
|
|
12538
|
+
}
|
|
11462
12539
|
}
|
|
11463
12540
|
},
|
|
11464
12541
|
emits: [
|
|
@@ -11603,7 +12680,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11603
12680
|
placement: this.placement,
|
|
11604
12681
|
offset: this.offset,
|
|
11605
12682
|
sticky: this.sticky,
|
|
11606
|
-
appendTo:
|
|
12683
|
+
appendTo: this.appendTo,
|
|
11607
12684
|
interactive: true,
|
|
11608
12685
|
trigger: 'manual',
|
|
11609
12686
|
// We have to manage hideOnClick functionality manually to handle
|
|
@@ -11855,9 +12932,9 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11855
12932
|
});
|
|
11856
12933
|
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=script&lang=js
|
|
11857
12934
|
|
|
11858
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/popover/popover.vue?vue&type=style&index=0&id=
|
|
11859
|
-
var
|
|
11860
|
-
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=style&index=0&id=
|
|
12935
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/popover/popover.vue?vue&type=style&index=0&id=4199c610&lang=less
|
|
12936
|
+
var popovervue_type_style_index_0_id_4199c610_lang_less = __webpack_require__(597);
|
|
12937
|
+
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=style&index=0&id=4199c610&lang=less
|
|
11861
12938
|
|
|
11862
12939
|
;// CONCATENATED MODULE: ./components/popover/popover.vue
|
|
11863
12940
|
|
|
@@ -11867,7 +12944,7 @@ var popovervue_type_style_index_0_id_ec7df6ce_lang_less = __webpack_require__(23
|
|
|
11867
12944
|
;
|
|
11868
12945
|
|
|
11869
12946
|
|
|
11870
|
-
const popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(popovervue_type_script_lang_js, [['render',
|
|
12947
|
+
const popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(popovervue_type_script_lang_js, [['render',popovervue_type_template_id_4199c610_render]])
|
|
11871
12948
|
|
|
11872
12949
|
/* harmony default export */ const popover = (popover_exports_);
|
|
11873
12950
|
;// CONCATENATED MODULE: ./components/popover/index.js
|
|
@@ -13775,26 +14852,16 @@ const input_group_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(input_
|
|
|
13775
14852
|
/* harmony default export */ const input_group_input_group = (input_group_exports_);
|
|
13776
14853
|
;// CONCATENATED MODULE: ./components/input_group/index.js
|
|
13777
14854
|
|
|
13778
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/modal/modal.vue?vue&type=template&id=
|
|
14855
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/modal/modal.vue?vue&type=template&id=2aa05149
|
|
13779
14856
|
|
|
13780
|
-
const
|
|
13781
|
-
const
|
|
13782
|
-
const
|
|
13783
|
-
const
|
|
13784
|
-
key: 2,
|
|
13785
|
-
class: "d-modal__content",
|
|
13786
|
-
"data-qa": "dt-modal-copy"
|
|
13787
|
-
};
|
|
13788
|
-
const modalvue_type_template_id_44704674_hoisted_5 = {
|
|
13789
|
-
key: 3,
|
|
13790
|
-
class: "d-modal__content",
|
|
13791
|
-
"data-qa": "dt-modal-copy"
|
|
13792
|
-
};
|
|
13793
|
-
const modalvue_type_template_id_44704674_hoisted_6 = {
|
|
14857
|
+
const modalvue_type_template_id_2aa05149_hoisted_1 = ["aria-describedby", "aria-labelledby"];
|
|
14858
|
+
const modalvue_type_template_id_2aa05149_hoisted_2 = ["id"];
|
|
14859
|
+
const modalvue_type_template_id_2aa05149_hoisted_3 = ["id"];
|
|
14860
|
+
const modalvue_type_template_id_2aa05149_hoisted_4 = {
|
|
13794
14861
|
key: 4,
|
|
13795
14862
|
class: "d-modal__footer"
|
|
13796
14863
|
};
|
|
13797
|
-
function
|
|
14864
|
+
function modalvue_type_template_id_2aa05149_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13798
14865
|
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
13799
14866
|
|
|
13800
14867
|
const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
|
|
@@ -13831,12 +14898,20 @@ function modalvue_type_template_id_44704674_render(_ctx, _cache, $props, $setup,
|
|
|
13831
14898
|
id: $props.labelledById,
|
|
13832
14899
|
class: "d-modal__header",
|
|
13833
14900
|
"data-qa": "dt-modal-title"
|
|
13834
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "header")], 8,
|
|
14901
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "header")], 8, modalvue_type_template_id_2aa05149_hoisted_2)) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("h2", {
|
|
13835
14902
|
key: 1,
|
|
13836
14903
|
id: $props.labelledById,
|
|
13837
14904
|
class: "d-modal__header",
|
|
13838
14905
|
"data-qa": "dt-modal-title"
|
|
13839
|
-
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.title), 9,
|
|
14906
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.title), 9, modalvue_type_template_id_2aa05149_hoisted_3)), _ctx.$slots.default ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
14907
|
+
key: 2,
|
|
14908
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-modal__content', $props.contentClass]),
|
|
14909
|
+
"data-qa": "dt-modal-copy"
|
|
14910
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")], 2)) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("p", {
|
|
14911
|
+
key: 3,
|
|
14912
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-modal__content', $props.contentClass]),
|
|
14913
|
+
"data-qa": "dt-modal-copy"
|
|
14914
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.copy), 3)), $options.hasFooterSlot ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("footer", modalvue_type_template_id_2aa05149_hoisted_4, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "footer")])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), !$props.hideClose ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_button, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
13840
14915
|
key: 5,
|
|
13841
14916
|
class: "d-modal__close",
|
|
13842
14917
|
circle: "",
|
|
@@ -13855,13 +14930,13 @@ function modalvue_type_template_id_44704674_render(_ctx, _cache, $props, $setup,
|
|
|
13855
14930
|
key: 6,
|
|
13856
14931
|
"visually-hidden-close-label": _ctx.visuallyHiddenCloseLabel,
|
|
13857
14932
|
onClose: $options.close
|
|
13858
|
-
}, null, 8, ["visually-hidden-close-label", "onClose"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 10,
|
|
14933
|
+
}, null, 8, ["visually-hidden-close-label", "onClose"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 10, modalvue_type_template_id_2aa05149_hoisted_1), [[external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.vShow, $props.show]])]),
|
|
13859
14934
|
_: 3
|
|
13860
14935
|
})]),
|
|
13861
14936
|
_: 3
|
|
13862
14937
|
}, 16, ["show", "class", "aria-hidden"]);
|
|
13863
14938
|
}
|
|
13864
|
-
;// CONCATENATED MODULE: ./components/modal/modal.vue?vue&type=template&id=
|
|
14939
|
+
;// CONCATENATED MODULE: ./components/modal/modal.vue?vue&type=template&id=2aa05149
|
|
13865
14940
|
|
|
13866
14941
|
;// CONCATENATED MODULE: ./components/modal/modal_constants.js
|
|
13867
14942
|
// Modal style modifiers
|
|
@@ -14006,6 +15081,16 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
14006
15081
|
default: ''
|
|
14007
15082
|
},
|
|
14008
15083
|
|
|
15084
|
+
/**
|
|
15085
|
+
* Additional class name for the content element within the modal.
|
|
15086
|
+
* Can accept String, Object, and Array, i.e. has the
|
|
15087
|
+
* same API as Vue's built-in handling of the class attribute.
|
|
15088
|
+
*/
|
|
15089
|
+
contentClass: {
|
|
15090
|
+
type: [String, Object, Array],
|
|
15091
|
+
default: ''
|
|
15092
|
+
},
|
|
15093
|
+
|
|
14009
15094
|
/**
|
|
14010
15095
|
* Additional class name for the banner element within the modal.
|
|
14011
15096
|
* Can accept String, Object, and Array, i.e. has the
|
|
@@ -14161,7 +15246,7 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
14161
15246
|
|
|
14162
15247
|
|
|
14163
15248
|
;
|
|
14164
|
-
const modal_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(modalvue_type_script_lang_js, [['render',
|
|
15249
|
+
const modal_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(modalvue_type_script_lang_js, [['render',modalvue_type_template_id_2aa05149_render]])
|
|
14165
15250
|
|
|
14166
15251
|
/* harmony default export */ const modal_modal = (modal_exports_);
|
|
14167
15252
|
;// CONCATENATED MODULE: ./components/modal/index.js
|
|
@@ -16003,27 +17088,26 @@ const checkbox_group_exports_ = checkbox_groupvue_type_script_lang_js;
|
|
|
16003
17088
|
/* harmony default export */ const checkbox_group = (checkbox_group_exports_);
|
|
16004
17089
|
;// CONCATENATED MODULE: ./components/checkbox_group/index.js
|
|
16005
17090
|
|
|
16006
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/chip/chip.vue?vue&type=template&id=
|
|
17091
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/chip/chip.vue?vue&type=template&id=f2b79d66
|
|
16007
17092
|
|
|
16008
|
-
const
|
|
16009
|
-
class: "d-chip"
|
|
16010
|
-
};
|
|
16011
|
-
const chipvue_type_template_id_af4b6988_hoisted_2 = {
|
|
17093
|
+
const chipvue_type_template_id_f2b79d66_hoisted_1 = {
|
|
16012
17094
|
key: 0,
|
|
16013
17095
|
"data-qa": "dt-chip-icon",
|
|
16014
17096
|
class: "d-chip__icon"
|
|
16015
17097
|
};
|
|
16016
|
-
const
|
|
17098
|
+
const chipvue_type_template_id_f2b79d66_hoisted_2 = {
|
|
16017
17099
|
key: 1,
|
|
16018
17100
|
"data-qa": "dt-chip-avatar"
|
|
16019
17101
|
};
|
|
16020
|
-
const
|
|
16021
|
-
function
|
|
17102
|
+
const chipvue_type_template_id_f2b79d66_hoisted_3 = ["id"];
|
|
17103
|
+
function chipvue_type_template_id_f2b79d66_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16022
17104
|
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
16023
17105
|
|
|
16024
17106
|
const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
|
|
16025
17107
|
|
|
16026
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span",
|
|
17108
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", {
|
|
17109
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-chip', _ctx.parentClass])
|
|
17110
|
+
}, [((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveDynamicComponent)($props.interactive ? 'button' : 'span'), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
16027
17111
|
id: $props.id,
|
|
16028
17112
|
type: $props.interactive && 'button',
|
|
16029
17113
|
class: $options.chipClasses(),
|
|
@@ -16031,12 +17115,12 @@ function chipvue_type_template_id_af4b6988_render(_ctx, _cache, $props, $setup,
|
|
|
16031
17115
|
"aria-labelledby": $props.ariaLabel ? undefined : `${$props.id}-content`,
|
|
16032
17116
|
"aria-label": $props.ariaLabel
|
|
16033
17117
|
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toHandlers)($options.chipListeners)), {
|
|
16034
|
-
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [_ctx.$slots.icon ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span",
|
|
17118
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [_ctx.$slots.icon ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", chipvue_type_template_id_f2b79d66_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "icon")])) : _ctx.$slots.avatar ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", chipvue_type_template_id_f2b79d66_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "avatar")])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), _ctx.$slots.default ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", {
|
|
16035
17119
|
key: 2,
|
|
16036
17120
|
id: `${$props.id}-content`,
|
|
16037
17121
|
"data-qa": "dt-chip-label",
|
|
16038
17122
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-truncate', 'd-chip__text', $props.contentClass])
|
|
16039
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")], 10,
|
|
17123
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")], 10, chipvue_type_template_id_f2b79d66_hoisted_3)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]),
|
|
16040
17124
|
_: 3
|
|
16041
17125
|
}, 16, ["id", "type", "class", "aria-labelledby", "aria-label"])), !$props.hideClose ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_button, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
16042
17126
|
key: 0
|
|
@@ -16051,9 +17135,9 @@ function chipvue_type_template_id_af4b6988_render(_ctx, _cache, $props, $setup,
|
|
|
16051
17135
|
size: $options.closeButtonIconSize
|
|
16052
17136
|
}, null, 8, ["size"])]),
|
|
16053
17137
|
_: 1
|
|
16054
|
-
}, 16, ["class", "aria-label"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]);
|
|
17138
|
+
}, 16, ["class", "aria-label"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 2);
|
|
16055
17139
|
}
|
|
16056
|
-
;// CONCATENATED MODULE: ./components/chip/chip.vue?vue&type=template&id=
|
|
17140
|
+
;// CONCATENATED MODULE: ./components/chip/chip.vue?vue&type=template&id=f2b79d66
|
|
16057
17141
|
|
|
16058
17142
|
;// CONCATENATED MODULE: ./components/chip/chip_constants.js
|
|
16059
17143
|
const CHIP_SIZE_MODIFIERS = {
|
|
@@ -16093,7 +17177,6 @@ const CHIP_ICON_SIZES = {
|
|
|
16093
17177
|
DtButton: button_button,
|
|
16094
17178
|
DtIcon: icon
|
|
16095
17179
|
},
|
|
16096
|
-
inheritAttrs: false,
|
|
16097
17180
|
props: {
|
|
16098
17181
|
/**
|
|
16099
17182
|
* A set of props to be passed into the modal's close button. Requires an 'ariaLabel' property.
|
|
@@ -16164,6 +17247,14 @@ const CHIP_ICON_SIZES = {
|
|
|
16164
17247
|
contentClass: {
|
|
16165
17248
|
type: [String, Array, Object],
|
|
16166
17249
|
default: ''
|
|
17250
|
+
},
|
|
17251
|
+
|
|
17252
|
+
/**
|
|
17253
|
+
* Additional class name for the span element.
|
|
17254
|
+
*/
|
|
17255
|
+
labelClass: {
|
|
17256
|
+
type: [String, Array, Object],
|
|
17257
|
+
default: ''
|
|
16167
17258
|
}
|
|
16168
17259
|
},
|
|
16169
17260
|
emits: [
|
|
@@ -16219,7 +17310,7 @@ const CHIP_ICON_SIZES = {
|
|
|
16219
17310
|
},
|
|
16220
17311
|
methods: {
|
|
16221
17312
|
chipClasses() {
|
|
16222
|
-
return [this.$attrs['grouped-chip'] ? 'd-chip' : 'd-chip__label', CHIP_SIZE_MODIFIERS[this.size]];
|
|
17313
|
+
return [this.$attrs['grouped-chip'] ? ['d-chip', ...this.labelClass] : 'd-chip__label', CHIP_SIZE_MODIFIERS[this.size]];
|
|
16223
17314
|
},
|
|
16224
17315
|
|
|
16225
17316
|
chipCloseButtonClasses() {
|
|
@@ -16242,7 +17333,7 @@ const CHIP_ICON_SIZES = {
|
|
|
16242
17333
|
|
|
16243
17334
|
|
|
16244
17335
|
;
|
|
16245
|
-
const chip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(chipvue_type_script_lang_js, [['render',
|
|
17336
|
+
const chip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(chipvue_type_script_lang_js, [['render',chipvue_type_template_id_f2b79d66_render]])
|
|
16246
17337
|
|
|
16247
17338
|
/* harmony default export */ const chip = (chip_exports_);
|
|
16248
17339
|
;// CONCATENATED MODULE: ./components/chip/index.js
|
|
@@ -17922,11 +19013,11 @@ const root_layout_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(root_l
|
|
|
17922
19013
|
;// CONCATENATED MODULE: ./components/root_layout/index.js
|
|
17923
19014
|
|
|
17924
19015
|
|
|
17925
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=
|
|
19016
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=35131c6d
|
|
17926
19017
|
|
|
17927
|
-
const
|
|
17928
|
-
const
|
|
17929
|
-
function
|
|
19018
|
+
const combobox_with_popovervue_type_template_id_35131c6d_hoisted_1 = ["id"];
|
|
19019
|
+
const combobox_with_popovervue_type_template_id_35131c6d_hoisted_2 = ["onMouseleave", "onFocusout"];
|
|
19020
|
+
function combobox_with_popovervue_type_template_id_35131c6d_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
17930
19021
|
const _component_combobox_loading_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-loading-list");
|
|
17931
19022
|
|
|
17932
19023
|
const _component_combobox_empty_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-empty-list");
|
|
@@ -17968,7 +19059,7 @@ function combobox_with_popovervue_type_template_id_303c5a24_render(_ctx, _cache,
|
|
|
17968
19059
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "input", {
|
|
17969
19060
|
inputProps: inputProps,
|
|
17970
19061
|
onInput: $options.handleDisplayList
|
|
17971
|
-
})], 40,
|
|
19062
|
+
})], 40, combobox_with_popovervue_type_template_id_35131c6d_hoisted_1)];
|
|
17972
19063
|
}),
|
|
17973
19064
|
list: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(_ref2 => {
|
|
17974
19065
|
let {
|
|
@@ -18016,7 +19107,7 @@ function combobox_with_popovervue_type_template_id_303c5a24_render(_ctx, _cache,
|
|
|
18016
19107
|
}), null, 16, ["message"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "list", {
|
|
18017
19108
|
key: 2,
|
|
18018
19109
|
listProps: listProps
|
|
18019
|
-
})], 42,
|
|
19110
|
+
})], 42, combobox_with_popovervue_type_template_id_35131c6d_hoisted_2)]),
|
|
18020
19111
|
_: 2
|
|
18021
19112
|
}, [_ctx.$slots.header ? {
|
|
18022
19113
|
name: "headerContent",
|
|
@@ -18041,7 +19132,7 @@ function combobox_with_popovervue_type_template_id_303c5a24_render(_ctx, _cache,
|
|
|
18041
19132
|
_: 3
|
|
18042
19133
|
}, 16, ["loading", "label", "label-visible", "size", "description", "empty-list", "empty-state-message", "show-list", "on-beginning-of-list", "on-end-of-list", "list-id"]);
|
|
18043
19134
|
}
|
|
18044
|
-
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=
|
|
19135
|
+
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=35131c6d
|
|
18045
19136
|
|
|
18046
19137
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=script&lang=js
|
|
18047
19138
|
|
|
@@ -18369,7 +19460,7 @@ function combobox_with_popovervue_type_template_id_303c5a24_render(_ctx, _cache,
|
|
|
18369
19460
|
onFocusOut(e) {
|
|
18370
19461
|
const comboboxRefs = ['input', 'header', 'footer', 'listWrapper']; // Check if the focus change was to another target within the combobox component
|
|
18371
19462
|
|
|
18372
|
-
const isComboboxStillFocused = comboboxRefs.some(ref => {
|
|
19463
|
+
const isComboboxStillFocused = e.relatedTarget === null || comboboxRefs.some(ref => {
|
|
18373
19464
|
var _this$$refs$ref;
|
|
18374
19465
|
|
|
18375
19466
|
return (_this$$refs$ref = this.$refs[ref]) === null || _this$$refs$ref === void 0 ? void 0 : _this$$refs$ref.contains(e.relatedTarget);
|
|
@@ -18398,32 +19489,32 @@ function combobox_with_popovervue_type_template_id_303c5a24_render(_ctx, _cache,
|
|
|
18398
19489
|
|
|
18399
19490
|
|
|
18400
19491
|
;
|
|
18401
|
-
const combobox_with_popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_with_popovervue_type_script_lang_js, [['render',
|
|
19492
|
+
const combobox_with_popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_with_popovervue_type_script_lang_js, [['render',combobox_with_popovervue_type_template_id_35131c6d_render]])
|
|
18402
19493
|
|
|
18403
19494
|
/* harmony default export */ const combobox_with_popover = (combobox_with_popover_exports_);
|
|
18404
19495
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/index.js
|
|
18405
19496
|
|
|
18406
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue?vue&type=template&id=
|
|
19497
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue?vue&type=template&id=3b3f23a9
|
|
18407
19498
|
|
|
18408
|
-
const
|
|
19499
|
+
const combobox_multi_selectvue_type_template_id_3b3f23a9_hoisted_1 = {
|
|
18409
19500
|
ref: "inputSlotWrapper",
|
|
18410
|
-
class: "d-ps-relative"
|
|
19501
|
+
class: "d-ps-relative d-d-block"
|
|
18411
19502
|
};
|
|
18412
|
-
const
|
|
19503
|
+
const combobox_multi_selectvue_type_template_id_3b3f23a9_hoisted_2 = {
|
|
18413
19504
|
ref: "chipsWrapper",
|
|
18414
19505
|
class: "d-ps-absolute d-mx2"
|
|
18415
19506
|
};
|
|
18416
|
-
const
|
|
19507
|
+
const combobox_multi_selectvue_type_template_id_3b3f23a9_hoisted_3 = {
|
|
18417
19508
|
ref: "header"
|
|
18418
19509
|
};
|
|
18419
|
-
const
|
|
19510
|
+
const combobox_multi_selectvue_type_template_id_3b3f23a9_hoisted_4 = {
|
|
18420
19511
|
key: 1,
|
|
18421
19512
|
class: "d-ta-center d-py16"
|
|
18422
19513
|
};
|
|
18423
|
-
const
|
|
19514
|
+
const combobox_multi_selectvue_type_template_id_3b3f23a9_hoisted_5 = {
|
|
18424
19515
|
ref: "footer"
|
|
18425
19516
|
};
|
|
18426
|
-
function
|
|
19517
|
+
function combobox_multi_selectvue_type_template_id_3b3f23a9_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18427
19518
|
const _component_dt_chip = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-chip");
|
|
18428
19519
|
|
|
18429
19520
|
const _component_dt_input = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-input");
|
|
@@ -18448,12 +19539,13 @@ function combobox_multi_selectvue_type_template_id_a5a3ecba_render(_ctx, _cache,
|
|
|
18448
19539
|
let {
|
|
18449
19540
|
onInput
|
|
18450
19541
|
} = _ref;
|
|
18451
|
-
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("span",
|
|
19542
|
+
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("span", combobox_multi_selectvue_type_template_id_3b3f23a9_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("span", combobox_multi_selectvue_type_template_id_3b3f23a9_hoisted_2, [((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.Fragment, null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderList)($props.selectedItems, item => {
|
|
18452
19543
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_chip, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
18453
19544
|
ref_for: true,
|
|
18454
19545
|
ref: "chips",
|
|
18455
19546
|
key: item,
|
|
18456
|
-
class:
|
|
19547
|
+
"label-class": ['d-chip__label'],
|
|
19548
|
+
class: ['d-mt4', 'd-mx2', 'd-zi-base1'],
|
|
18457
19549
|
"close-button-props": {
|
|
18458
19550
|
ariaLabel: 'close'
|
|
18459
19551
|
},
|
|
@@ -18469,7 +19561,7 @@ function combobox_multi_selectvue_type_template_id_a5a3ecba_render(_ctx, _cache,
|
|
|
18469
19561
|
ref: "input",
|
|
18470
19562
|
modelValue: $data.value,
|
|
18471
19563
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => $data.value = $event),
|
|
18472
|
-
class: "d-fl-grow1
|
|
19564
|
+
class: "d-fl-grow1",
|
|
18473
19565
|
"aria-label": $props.label,
|
|
18474
19566
|
label: $props.labelVisible ? $props.label : '',
|
|
18475
19567
|
description: $props.description,
|
|
@@ -18489,19 +19581,19 @@ function combobox_multi_selectvue_type_template_id_a5a3ecba_render(_ctx, _cache,
|
|
|
18489
19581
|
onMousedown: _cache[1] || (_cache[1] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)(() => {}, ["prevent"]))
|
|
18490
19582
|
}, [!$props.loading ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "list", {
|
|
18491
19583
|
key: 0
|
|
18492
|
-
}) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div",
|
|
19584
|
+
}) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", combobox_multi_selectvue_type_template_id_3b3f23a9_hoisted_4, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.loadingMessage), 1))], 544)]),
|
|
18493
19585
|
_: 2
|
|
18494
19586
|
}, [_ctx.$slots.header ? {
|
|
18495
19587
|
name: "header",
|
|
18496
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
19588
|
+
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", combobox_multi_selectvue_type_template_id_3b3f23a9_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "header")], 512)]),
|
|
18497
19589
|
key: "0"
|
|
18498
19590
|
} : undefined, _ctx.$slots.footer ? {
|
|
18499
19591
|
name: "footer",
|
|
18500
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
19592
|
+
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", combobox_multi_selectvue_type_template_id_3b3f23a9_hoisted_5, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "footer")], 512)]),
|
|
18501
19593
|
key: "1"
|
|
18502
19594
|
} : undefined]), 1032, ["label", "show-list", "max-height", "popover-offset", "has-suggestion-list", "visually-hidden-close-label", "visually-hidden-close", "onSelect"]);
|
|
18503
19595
|
}
|
|
18504
|
-
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue?vue&type=template&id=
|
|
19596
|
+
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue?vue&type=template&id=3b3f23a9
|
|
18505
19597
|
|
|
18506
19598
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select_story_constants.js
|
|
18507
19599
|
// The item list for default story
|
|
@@ -19080,7 +20172,7 @@ const MULTI_SELECT_SIZES = {
|
|
|
19080
20172
|
|
|
19081
20173
|
|
|
19082
20174
|
;
|
|
19083
|
-
const combobox_multi_select_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_multi_selectvue_type_script_lang_js, [['render',
|
|
20175
|
+
const combobox_multi_select_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_multi_selectvue_type_script_lang_js, [['render',combobox_multi_selectvue_type_template_id_3b3f23a9_render]])
|
|
19084
20176
|
|
|
19085
20177
|
/* harmony default export */ const combobox_multi_select = (combobox_multi_select_exports_);
|
|
19086
20178
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/index.js
|
|
@@ -19765,19 +20857,19 @@ const top_banner_info_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(to
|
|
|
19765
20857
|
;// CONCATENATED MODULE: ./recipes/notices/top_banner_info/index.js
|
|
19766
20858
|
|
|
19767
20859
|
|
|
19768
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/cards/ivr_node/ivr_node.vue?vue&type=template&id=
|
|
20860
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/cards/ivr_node/ivr_node.vue?vue&type=template&id=19695402
|
|
19769
20861
|
|
|
19770
|
-
const
|
|
20862
|
+
const ivr_nodevue_type_template_id_19695402_hoisted_1 = {
|
|
19771
20863
|
class: "d-d-flex d-ai-center"
|
|
19772
20864
|
};
|
|
19773
|
-
const
|
|
20865
|
+
const ivr_nodevue_type_template_id_19695402_hoisted_2 = {
|
|
19774
20866
|
class: "d-fs-200 d-fw-bold",
|
|
19775
20867
|
"data-qa": "ivr-node-label"
|
|
19776
20868
|
};
|
|
19777
|
-
const
|
|
20869
|
+
const ivr_nodevue_type_template_id_19695402_hoisted_3 = {
|
|
19778
20870
|
class: "d-w164"
|
|
19779
20871
|
};
|
|
19780
|
-
function
|
|
20872
|
+
function ivr_nodevue_type_template_id_19695402_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
19781
20873
|
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
19782
20874
|
|
|
19783
20875
|
const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
|
|
@@ -19809,7 +20901,7 @@ function ivr_nodevue_type_template_id_5f1f3c1e_render(_ctx, _cache, $props, $set
|
|
|
19809
20901
|
'd-btr4': !$props.isSelected
|
|
19810
20902
|
}]
|
|
19811
20903
|
}, {
|
|
19812
|
-
header: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
20904
|
+
header: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ivr_nodevue_type_template_id_19695402_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_button, {
|
|
19813
20905
|
"aria-label": $props.nodeType,
|
|
19814
20906
|
importance: "clear",
|
|
19815
20907
|
"data-qa": "dt-ivr-node-icon"
|
|
@@ -19817,10 +20909,12 @@ function ivr_nodevue_type_template_id_5f1f3c1e_render(_ctx, _cache, $props, $set
|
|
|
19817
20909
|
icon: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_icon, {
|
|
19818
20910
|
name: $options.nodeIcon,
|
|
19819
20911
|
size: "200",
|
|
19820
|
-
class:
|
|
19821
|
-
|
|
20912
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-fc-black-900', {
|
|
20913
|
+
'ivr_node__goto_icon': $options.isGotoNode
|
|
20914
|
+
}])
|
|
20915
|
+
}, null, 8, ["name", "class"])]),
|
|
19822
20916
|
_: 1
|
|
19823
|
-
}, 8, ["aria-label"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("p",
|
|
20917
|
+
}, 8, ["aria-label"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("p", ivr_nodevue_type_template_id_19695402_hoisted_2, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.nodeLabel), 1)]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_dropdown, {
|
|
19824
20918
|
open: $data.isOpen,
|
|
19825
20919
|
"onUpdate:open": _cache[0] || (_cache[0] = $event => $data.isOpen = $event),
|
|
19826
20920
|
placement: "bottom"
|
|
@@ -19841,7 +20935,7 @@ function ivr_nodevue_type_template_id_5f1f3c1e_render(_ctx, _cache, $props, $set
|
|
|
19841
20935
|
let {
|
|
19842
20936
|
close
|
|
19843
20937
|
} = _ref;
|
|
19844
|
-
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
20938
|
+
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ivr_nodevue_type_template_id_19695402_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "menuItems", {
|
|
19845
20939
|
close: close
|
|
19846
20940
|
})])];
|
|
19847
20941
|
}),
|
|
@@ -19851,7 +20945,7 @@ function ivr_nodevue_type_template_id_5f1f3c1e_render(_ctx, _cache, $props, $set
|
|
|
19851
20945
|
_: 3
|
|
19852
20946
|
}, 8, ["container-class", "header-class"])], 16);
|
|
19853
20947
|
}
|
|
19854
|
-
;// CONCATENATED MODULE: ./recipes/cards/ivr_node/ivr_node.vue?vue&type=template&id=
|
|
20948
|
+
;// CONCATENATED MODULE: ./recipes/cards/ivr_node/ivr_node.vue?vue&type=template&id=19695402
|
|
19855
20949
|
|
|
19856
20950
|
;// CONCATENATED MODULE: ./recipes/cards/ivr_node/ivr_node_constants.js
|
|
19857
20951
|
const IVR_NODE_PROMPT_MENU = 'promptmenu';
|
|
@@ -19866,9 +20960,9 @@ const IVR_NODE_ICON_TYPES = {
|
|
|
19866
20960
|
[IVR_NODE_PROMPT_MENU]: 'keypad',
|
|
19867
20961
|
[IVR_NODE_PROMPT_COLLECT]: 'dialer',
|
|
19868
20962
|
[IVR_NODE_PROMPT_PLAY]: 'volume-2',
|
|
19869
|
-
[IVR_NODE_EXPERT]: '
|
|
19870
|
-
[IVR_NODE_BRANCH]: '
|
|
19871
|
-
[IVR_NODE_GO_TO]: '
|
|
20963
|
+
[IVR_NODE_EXPERT]: 'expert-node',
|
|
20964
|
+
[IVR_NODE_BRANCH]: 'branch',
|
|
20965
|
+
[IVR_NODE_GO_TO]: 'call-merge',
|
|
19872
20966
|
[IVR_NODE_TRANSFER]: 'transfer',
|
|
19873
20967
|
[IVR_NODE_HANGUP]: 'phone-hang-up'
|
|
19874
20968
|
};
|
|
@@ -19993,6 +21087,10 @@ const IVR_NODE_COLOR_MAPPING = {
|
|
|
19993
21087
|
selected
|
|
19994
21088
|
} = IVR_NODE_COLOR_MAPPING[this.nodeType];
|
|
19995
21089
|
return this.isSelected ? selected : normal;
|
|
21090
|
+
},
|
|
21091
|
+
|
|
21092
|
+
isGotoNode() {
|
|
21093
|
+
return this.nodeType === IVR_NODE_GO_TO;
|
|
19996
21094
|
}
|
|
19997
21095
|
|
|
19998
21096
|
},
|
|
@@ -20005,9 +21103,9 @@ const IVR_NODE_COLOR_MAPPING = {
|
|
|
20005
21103
|
});
|
|
20006
21104
|
;// CONCATENATED MODULE: ./recipes/cards/ivr_node/ivr_node.vue?vue&type=script&lang=js
|
|
20007
21105
|
|
|
20008
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/cards/ivr_node/ivr_node.vue?vue&type=style&index=0&id=
|
|
20009
|
-
var
|
|
20010
|
-
;// CONCATENATED MODULE: ./recipes/cards/ivr_node/ivr_node.vue?vue&type=style&index=0&id=
|
|
21106
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/cards/ivr_node/ivr_node.vue?vue&type=style&index=0&id=19695402&lang=less
|
|
21107
|
+
var ivr_nodevue_type_style_index_0_id_19695402_lang_less = __webpack_require__(836);
|
|
21108
|
+
;// CONCATENATED MODULE: ./recipes/cards/ivr_node/ivr_node.vue?vue&type=style&index=0&id=19695402&lang=less
|
|
20011
21109
|
|
|
20012
21110
|
;// CONCATENATED MODULE: ./recipes/cards/ivr_node/ivr_node.vue
|
|
20013
21111
|
|
|
@@ -20017,7 +21115,7 @@ var ivr_nodevue_type_style_index_0_id_5f1f3c1e_lang_less = __webpack_require__(7
|
|
|
20017
21115
|
;
|
|
20018
21116
|
|
|
20019
21117
|
|
|
20020
|
-
const ivr_node_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(ivr_nodevue_type_script_lang_js, [['render',
|
|
21118
|
+
const ivr_node_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(ivr_nodevue_type_script_lang_js, [['render',ivr_nodevue_type_template_id_19695402_render]])
|
|
20021
21119
|
|
|
20022
21120
|
/* harmony default export */ const ivr_node = (ivr_node_exports_);
|
|
20023
21121
|
;// CONCATENATED MODULE: ./recipes/cards/ivr_node/index.js
|