@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
package/dist/dialtone-vue.umd.js
CHANGED
|
@@ -35,7 +35,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".enter-active,.leave-active{overflow:h
|
|
|
35
35
|
|
|
36
36
|
/***/ }),
|
|
37
37
|
|
|
38
|
-
/***/
|
|
38
|
+
/***/ 316:
|
|
39
39
|
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
40
40
|
|
|
41
41
|
"use strict";
|
|
@@ -203,7 +203,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".dt-list-section[tabindex=\"-1\"]:focu
|
|
|
203
203
|
|
|
204
204
|
/***/ }),
|
|
205
205
|
|
|
206
|
-
/***/
|
|
206
|
+
/***/ 99:
|
|
207
207
|
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
208
208
|
|
|
209
209
|
"use strict";
|
|
@@ -323,7 +323,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".tippy-box[data-popper-escaped] .d-too
|
|
|
323
323
|
|
|
324
324
|
/***/ }),
|
|
325
325
|
|
|
326
|
-
/***/
|
|
326
|
+
/***/ 238:
|
|
327
327
|
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
328
328
|
|
|
329
329
|
"use strict";
|
|
@@ -371,7 +371,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".dt-recipe--callbar-button-with-popove
|
|
|
371
371
|
|
|
372
372
|
/***/ }),
|
|
373
373
|
|
|
374
|
-
/***/
|
|
374
|
+
/***/ 743:
|
|
375
375
|
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
376
376
|
|
|
377
377
|
"use strict";
|
|
@@ -388,7 +388,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
388
388
|
|
|
389
389
|
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()));
|
|
390
390
|
// Module
|
|
391
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".ivr_node__width{width:280px}", ""]);
|
|
391
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".ivr_node__width{width:280px}.ivr_node__goto_icon{transform:rotate(90deg)}", ""]);
|
|
392
392
|
// Exports
|
|
393
393
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
394
394
|
|
|
@@ -538,6 +538,1012 @@ module.exports = function (i) {
|
|
|
538
538
|
return i[1];
|
|
539
539
|
};
|
|
540
540
|
|
|
541
|
+
/***/ }),
|
|
542
|
+
|
|
543
|
+
/***/ 377:
|
|
544
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
545
|
+
|
|
546
|
+
// A library of seedable RNGs implemented in Javascript.
|
|
547
|
+
//
|
|
548
|
+
// Usage:
|
|
549
|
+
//
|
|
550
|
+
// var seedrandom = require('seedrandom');
|
|
551
|
+
// var random = seedrandom(1); // or any seed.
|
|
552
|
+
// var x = random(); // 0 <= x < 1. Every bit is random.
|
|
553
|
+
// var x = random.quick(); // 0 <= x < 1. 32 bits of randomness.
|
|
554
|
+
|
|
555
|
+
// alea, a 53-bit multiply-with-carry generator by Johannes Baagøe.
|
|
556
|
+
// Period: ~2^116
|
|
557
|
+
// Reported to pass all BigCrush tests.
|
|
558
|
+
var alea = __webpack_require__(832);
|
|
559
|
+
|
|
560
|
+
// xor128, a pure xor-shift generator by George Marsaglia.
|
|
561
|
+
// Period: 2^128-1.
|
|
562
|
+
// Reported to fail: MatrixRank and LinearComp.
|
|
563
|
+
var xor128 = __webpack_require__(652);
|
|
564
|
+
|
|
565
|
+
// xorwow, George Marsaglia's 160-bit xor-shift combined plus weyl.
|
|
566
|
+
// Period: 2^192-2^32
|
|
567
|
+
// Reported to fail: CollisionOver, SimpPoker, and LinearComp.
|
|
568
|
+
var xorwow = __webpack_require__(801);
|
|
569
|
+
|
|
570
|
+
// xorshift7, by François Panneton and Pierre L'ecuyer, takes
|
|
571
|
+
// a different approach: it adds robustness by allowing more shifts
|
|
572
|
+
// than Marsaglia's original three. It is a 7-shift generator
|
|
573
|
+
// with 256 bits, that passes BigCrush with no systmatic failures.
|
|
574
|
+
// Period 2^256-1.
|
|
575
|
+
// No systematic BigCrush failures reported.
|
|
576
|
+
var xorshift7 = __webpack_require__(30);
|
|
577
|
+
|
|
578
|
+
// xor4096, by Richard Brent, is a 4096-bit xor-shift with a
|
|
579
|
+
// very long period that also adds a Weyl generator. It also passes
|
|
580
|
+
// BigCrush with no systematic failures. Its long period may
|
|
581
|
+
// be useful if you have many generators and need to avoid
|
|
582
|
+
// collisions.
|
|
583
|
+
// Period: 2^4128-2^32.
|
|
584
|
+
// No systematic BigCrush failures reported.
|
|
585
|
+
var xor4096 = __webpack_require__(618);
|
|
586
|
+
|
|
587
|
+
// Tyche-i, by Samuel Neves and Filipe Araujo, is a bit-shifting random
|
|
588
|
+
// number generator derived from ChaCha, a modern stream cipher.
|
|
589
|
+
// https://eden.dei.uc.pt/~sneves/pubs/2011-snfa2.pdf
|
|
590
|
+
// Period: ~2^127
|
|
591
|
+
// No systematic BigCrush failures reported.
|
|
592
|
+
var tychei = __webpack_require__(49);
|
|
593
|
+
|
|
594
|
+
// The original ARC4-based prng included in this library.
|
|
595
|
+
// Period: ~2^1600
|
|
596
|
+
var sr = __webpack_require__(971);
|
|
597
|
+
|
|
598
|
+
sr.alea = alea;
|
|
599
|
+
sr.xor128 = xor128;
|
|
600
|
+
sr.xorwow = xorwow;
|
|
601
|
+
sr.xorshift7 = xorshift7;
|
|
602
|
+
sr.xor4096 = xor4096;
|
|
603
|
+
sr.tychei = tychei;
|
|
604
|
+
|
|
605
|
+
module.exports = sr;
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
/***/ }),
|
|
609
|
+
|
|
610
|
+
/***/ 832:
|
|
611
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
612
|
+
|
|
613
|
+
/* module decorator */ module = __webpack_require__.nmd(module);
|
|
614
|
+
var __WEBPACK_AMD_DEFINE_RESULT__;// A port of an algorithm by Johannes Baagøe <baagoe@baagoe.com>, 2010
|
|
615
|
+
// http://baagoe.com/en/RandomMusings/javascript/
|
|
616
|
+
// https://github.com/nquinlan/better-random-numbers-for-javascript-mirror
|
|
617
|
+
// Original work is under MIT license -
|
|
618
|
+
|
|
619
|
+
// Copyright (C) 2010 by Johannes Baagøe <baagoe@baagoe.org>
|
|
620
|
+
//
|
|
621
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
622
|
+
// of this software and associated documentation files (the "Software"), to deal
|
|
623
|
+
// in the Software without restriction, including without limitation the rights
|
|
624
|
+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
625
|
+
// copies of the Software, and to permit persons to whom the Software is
|
|
626
|
+
// furnished to do so, subject to the following conditions:
|
|
627
|
+
//
|
|
628
|
+
// The above copyright notice and this permission notice shall be included in
|
|
629
|
+
// all copies or substantial portions of the Software.
|
|
630
|
+
//
|
|
631
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
632
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
633
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
634
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
635
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
636
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
637
|
+
// THE SOFTWARE.
|
|
638
|
+
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
(function(global, module, define) {
|
|
642
|
+
|
|
643
|
+
function Alea(seed) {
|
|
644
|
+
var me = this, mash = Mash();
|
|
645
|
+
|
|
646
|
+
me.next = function() {
|
|
647
|
+
var t = 2091639 * me.s0 + me.c * 2.3283064365386963e-10; // 2^-32
|
|
648
|
+
me.s0 = me.s1;
|
|
649
|
+
me.s1 = me.s2;
|
|
650
|
+
return me.s2 = t - (me.c = t | 0);
|
|
651
|
+
};
|
|
652
|
+
|
|
653
|
+
// Apply the seeding algorithm from Baagoe.
|
|
654
|
+
me.c = 1;
|
|
655
|
+
me.s0 = mash(' ');
|
|
656
|
+
me.s1 = mash(' ');
|
|
657
|
+
me.s2 = mash(' ');
|
|
658
|
+
me.s0 -= mash(seed);
|
|
659
|
+
if (me.s0 < 0) { me.s0 += 1; }
|
|
660
|
+
me.s1 -= mash(seed);
|
|
661
|
+
if (me.s1 < 0) { me.s1 += 1; }
|
|
662
|
+
me.s2 -= mash(seed);
|
|
663
|
+
if (me.s2 < 0) { me.s2 += 1; }
|
|
664
|
+
mash = null;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
function copy(f, t) {
|
|
668
|
+
t.c = f.c;
|
|
669
|
+
t.s0 = f.s0;
|
|
670
|
+
t.s1 = f.s1;
|
|
671
|
+
t.s2 = f.s2;
|
|
672
|
+
return t;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
function impl(seed, opts) {
|
|
676
|
+
var xg = new Alea(seed),
|
|
677
|
+
state = opts && opts.state,
|
|
678
|
+
prng = xg.next;
|
|
679
|
+
prng.int32 = function() { return (xg.next() * 0x100000000) | 0; }
|
|
680
|
+
prng.double = function() {
|
|
681
|
+
return prng() + (prng() * 0x200000 | 0) * 1.1102230246251565e-16; // 2^-53
|
|
682
|
+
};
|
|
683
|
+
prng.quick = prng;
|
|
684
|
+
if (state) {
|
|
685
|
+
if (typeof(state) == 'object') copy(state, xg);
|
|
686
|
+
prng.state = function() { return copy(xg, {}); }
|
|
687
|
+
}
|
|
688
|
+
return prng;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
function Mash() {
|
|
692
|
+
var n = 0xefc8249d;
|
|
693
|
+
|
|
694
|
+
var mash = function(data) {
|
|
695
|
+
data = String(data);
|
|
696
|
+
for (var i = 0; i < data.length; i++) {
|
|
697
|
+
n += data.charCodeAt(i);
|
|
698
|
+
var h = 0.02519603282416938 * n;
|
|
699
|
+
n = h >>> 0;
|
|
700
|
+
h -= n;
|
|
701
|
+
h *= n;
|
|
702
|
+
n = h >>> 0;
|
|
703
|
+
h -= n;
|
|
704
|
+
n += h * 0x100000000; // 2^32
|
|
705
|
+
}
|
|
706
|
+
return (n >>> 0) * 2.3283064365386963e-10; // 2^-32
|
|
707
|
+
};
|
|
708
|
+
|
|
709
|
+
return mash;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
if (module && module.exports) {
|
|
714
|
+
module.exports = impl;
|
|
715
|
+
} else if (__webpack_require__.amdD && __webpack_require__.amdO) {
|
|
716
|
+
!(__WEBPACK_AMD_DEFINE_RESULT__ = (function() { return impl; }).call(exports, __webpack_require__, exports, module),
|
|
717
|
+
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
718
|
+
} else {
|
|
719
|
+
this.alea = impl;
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
})(
|
|
723
|
+
this,
|
|
724
|
+
true && module, // present in node.js
|
|
725
|
+
__webpack_require__.amdD // present with an AMD loader
|
|
726
|
+
);
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
/***/ }),
|
|
732
|
+
|
|
733
|
+
/***/ 49:
|
|
734
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
735
|
+
|
|
736
|
+
/* module decorator */ module = __webpack_require__.nmd(module);
|
|
737
|
+
var __WEBPACK_AMD_DEFINE_RESULT__;// A Javascript implementaion of the "Tyche-i" prng algorithm by
|
|
738
|
+
// Samuel Neves and Filipe Araujo.
|
|
739
|
+
// See https://eden.dei.uc.pt/~sneves/pubs/2011-snfa2.pdf
|
|
740
|
+
|
|
741
|
+
(function(global, module, define) {
|
|
742
|
+
|
|
743
|
+
function XorGen(seed) {
|
|
744
|
+
var me = this, strseed = '';
|
|
745
|
+
|
|
746
|
+
// Set up generator function.
|
|
747
|
+
me.next = function() {
|
|
748
|
+
var b = me.b, c = me.c, d = me.d, a = me.a;
|
|
749
|
+
b = (b << 25) ^ (b >>> 7) ^ c;
|
|
750
|
+
c = (c - d) | 0;
|
|
751
|
+
d = (d << 24) ^ (d >>> 8) ^ a;
|
|
752
|
+
a = (a - b) | 0;
|
|
753
|
+
me.b = b = (b << 20) ^ (b >>> 12) ^ c;
|
|
754
|
+
me.c = c = (c - d) | 0;
|
|
755
|
+
me.d = (d << 16) ^ (c >>> 16) ^ a;
|
|
756
|
+
return me.a = (a - b) | 0;
|
|
757
|
+
};
|
|
758
|
+
|
|
759
|
+
/* The following is non-inverted tyche, which has better internal
|
|
760
|
+
* bit diffusion, but which is about 25% slower than tyche-i in JS.
|
|
761
|
+
me.next = function() {
|
|
762
|
+
var a = me.a, b = me.b, c = me.c, d = me.d;
|
|
763
|
+
a = (me.a + me.b | 0) >>> 0;
|
|
764
|
+
d = me.d ^ a; d = d << 16 ^ d >>> 16;
|
|
765
|
+
c = me.c + d | 0;
|
|
766
|
+
b = me.b ^ c; b = b << 12 ^ d >>> 20;
|
|
767
|
+
me.a = a = a + b | 0;
|
|
768
|
+
d = d ^ a; me.d = d = d << 8 ^ d >>> 24;
|
|
769
|
+
me.c = c = c + d | 0;
|
|
770
|
+
b = b ^ c;
|
|
771
|
+
return me.b = (b << 7 ^ b >>> 25);
|
|
772
|
+
}
|
|
773
|
+
*/
|
|
774
|
+
|
|
775
|
+
me.a = 0;
|
|
776
|
+
me.b = 0;
|
|
777
|
+
me.c = 2654435769 | 0;
|
|
778
|
+
me.d = 1367130551;
|
|
779
|
+
|
|
780
|
+
if (seed === Math.floor(seed)) {
|
|
781
|
+
// Integer seed.
|
|
782
|
+
me.a = (seed / 0x100000000) | 0;
|
|
783
|
+
me.b = seed | 0;
|
|
784
|
+
} else {
|
|
785
|
+
// String seed.
|
|
786
|
+
strseed += seed;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
// Mix in string seed, then discard an initial batch of 64 values.
|
|
790
|
+
for (var k = 0; k < strseed.length + 20; k++) {
|
|
791
|
+
me.b ^= strseed.charCodeAt(k) | 0;
|
|
792
|
+
me.next();
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
function copy(f, t) {
|
|
797
|
+
t.a = f.a;
|
|
798
|
+
t.b = f.b;
|
|
799
|
+
t.c = f.c;
|
|
800
|
+
t.d = f.d;
|
|
801
|
+
return t;
|
|
802
|
+
};
|
|
803
|
+
|
|
804
|
+
function impl(seed, opts) {
|
|
805
|
+
var xg = new XorGen(seed),
|
|
806
|
+
state = opts && opts.state,
|
|
807
|
+
prng = function() { return (xg.next() >>> 0) / 0x100000000; };
|
|
808
|
+
prng.double = function() {
|
|
809
|
+
do {
|
|
810
|
+
var top = xg.next() >>> 11,
|
|
811
|
+
bot = (xg.next() >>> 0) / 0x100000000,
|
|
812
|
+
result = (top + bot) / (1 << 21);
|
|
813
|
+
} while (result === 0);
|
|
814
|
+
return result;
|
|
815
|
+
};
|
|
816
|
+
prng.int32 = xg.next;
|
|
817
|
+
prng.quick = prng;
|
|
818
|
+
if (state) {
|
|
819
|
+
if (typeof(state) == 'object') copy(state, xg);
|
|
820
|
+
prng.state = function() { return copy(xg, {}); }
|
|
821
|
+
}
|
|
822
|
+
return prng;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
if (module && module.exports) {
|
|
826
|
+
module.exports = impl;
|
|
827
|
+
} else if (__webpack_require__.amdD && __webpack_require__.amdO) {
|
|
828
|
+
!(__WEBPACK_AMD_DEFINE_RESULT__ = (function() { return impl; }).call(exports, __webpack_require__, exports, module),
|
|
829
|
+
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
830
|
+
} else {
|
|
831
|
+
this.tychei = impl;
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
})(
|
|
835
|
+
this,
|
|
836
|
+
true && module, // present in node.js
|
|
837
|
+
__webpack_require__.amdD // present with an AMD loader
|
|
838
|
+
);
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
/***/ }),
|
|
844
|
+
|
|
845
|
+
/***/ 652:
|
|
846
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
847
|
+
|
|
848
|
+
/* module decorator */ module = __webpack_require__.nmd(module);
|
|
849
|
+
var __WEBPACK_AMD_DEFINE_RESULT__;// A Javascript implementaion of the "xor128" prng algorithm by
|
|
850
|
+
// George Marsaglia. See http://www.jstatsoft.org/v08/i14/paper
|
|
851
|
+
|
|
852
|
+
(function(global, module, define) {
|
|
853
|
+
|
|
854
|
+
function XorGen(seed) {
|
|
855
|
+
var me = this, strseed = '';
|
|
856
|
+
|
|
857
|
+
me.x = 0;
|
|
858
|
+
me.y = 0;
|
|
859
|
+
me.z = 0;
|
|
860
|
+
me.w = 0;
|
|
861
|
+
|
|
862
|
+
// Set up generator function.
|
|
863
|
+
me.next = function() {
|
|
864
|
+
var t = me.x ^ (me.x << 11);
|
|
865
|
+
me.x = me.y;
|
|
866
|
+
me.y = me.z;
|
|
867
|
+
me.z = me.w;
|
|
868
|
+
return me.w ^= (me.w >>> 19) ^ t ^ (t >>> 8);
|
|
869
|
+
};
|
|
870
|
+
|
|
871
|
+
if (seed === (seed | 0)) {
|
|
872
|
+
// Integer seed.
|
|
873
|
+
me.x = seed;
|
|
874
|
+
} else {
|
|
875
|
+
// String seed.
|
|
876
|
+
strseed += seed;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
// Mix in string seed, then discard an initial batch of 64 values.
|
|
880
|
+
for (var k = 0; k < strseed.length + 64; k++) {
|
|
881
|
+
me.x ^= strseed.charCodeAt(k) | 0;
|
|
882
|
+
me.next();
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
function copy(f, t) {
|
|
887
|
+
t.x = f.x;
|
|
888
|
+
t.y = f.y;
|
|
889
|
+
t.z = f.z;
|
|
890
|
+
t.w = f.w;
|
|
891
|
+
return t;
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
function impl(seed, opts) {
|
|
895
|
+
var xg = new XorGen(seed),
|
|
896
|
+
state = opts && opts.state,
|
|
897
|
+
prng = function() { return (xg.next() >>> 0) / 0x100000000; };
|
|
898
|
+
prng.double = function() {
|
|
899
|
+
do {
|
|
900
|
+
var top = xg.next() >>> 11,
|
|
901
|
+
bot = (xg.next() >>> 0) / 0x100000000,
|
|
902
|
+
result = (top + bot) / (1 << 21);
|
|
903
|
+
} while (result === 0);
|
|
904
|
+
return result;
|
|
905
|
+
};
|
|
906
|
+
prng.int32 = xg.next;
|
|
907
|
+
prng.quick = prng;
|
|
908
|
+
if (state) {
|
|
909
|
+
if (typeof(state) == 'object') copy(state, xg);
|
|
910
|
+
prng.state = function() { return copy(xg, {}); }
|
|
911
|
+
}
|
|
912
|
+
return prng;
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
if (module && module.exports) {
|
|
916
|
+
module.exports = impl;
|
|
917
|
+
} else if (__webpack_require__.amdD && __webpack_require__.amdO) {
|
|
918
|
+
!(__WEBPACK_AMD_DEFINE_RESULT__ = (function() { return impl; }).call(exports, __webpack_require__, exports, module),
|
|
919
|
+
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
920
|
+
} else {
|
|
921
|
+
this.xor128 = impl;
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
})(
|
|
925
|
+
this,
|
|
926
|
+
true && module, // present in node.js
|
|
927
|
+
__webpack_require__.amdD // present with an AMD loader
|
|
928
|
+
);
|
|
929
|
+
|
|
930
|
+
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
/***/ }),
|
|
934
|
+
|
|
935
|
+
/***/ 618:
|
|
936
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
937
|
+
|
|
938
|
+
/* module decorator */ module = __webpack_require__.nmd(module);
|
|
939
|
+
var __WEBPACK_AMD_DEFINE_RESULT__;// A Javascript implementaion of Richard Brent's Xorgens xor4096 algorithm.
|
|
940
|
+
//
|
|
941
|
+
// This fast non-cryptographic random number generator is designed for
|
|
942
|
+
// use in Monte-Carlo algorithms. It combines a long-period xorshift
|
|
943
|
+
// generator with a Weyl generator, and it passes all common batteries
|
|
944
|
+
// of stasticial tests for randomness while consuming only a few nanoseconds
|
|
945
|
+
// for each prng generated. For background on the generator, see Brent's
|
|
946
|
+
// paper: "Some long-period random number generators using shifts and xors."
|
|
947
|
+
// http://arxiv.org/pdf/1004.3115v1.pdf
|
|
948
|
+
//
|
|
949
|
+
// Usage:
|
|
950
|
+
//
|
|
951
|
+
// var xor4096 = require('xor4096');
|
|
952
|
+
// random = xor4096(1); // Seed with int32 or string.
|
|
953
|
+
// assert.equal(random(), 0.1520436450538547); // (0, 1) range, 53 bits.
|
|
954
|
+
// assert.equal(random.int32(), 1806534897); // signed int32, 32 bits.
|
|
955
|
+
//
|
|
956
|
+
// For nonzero numeric keys, this impelementation provides a sequence
|
|
957
|
+
// identical to that by Brent's xorgens 3 implementaion in C. This
|
|
958
|
+
// implementation also provides for initalizing the generator with
|
|
959
|
+
// string seeds, or for saving and restoring the state of the generator.
|
|
960
|
+
//
|
|
961
|
+
// On Chrome, this prng benchmarks about 2.1 times slower than
|
|
962
|
+
// Javascript's built-in Math.random().
|
|
963
|
+
|
|
964
|
+
(function(global, module, define) {
|
|
965
|
+
|
|
966
|
+
function XorGen(seed) {
|
|
967
|
+
var me = this;
|
|
968
|
+
|
|
969
|
+
// Set up generator function.
|
|
970
|
+
me.next = function() {
|
|
971
|
+
var w = me.w,
|
|
972
|
+
X = me.X, i = me.i, t, v;
|
|
973
|
+
// Update Weyl generator.
|
|
974
|
+
me.w = w = (w + 0x61c88647) | 0;
|
|
975
|
+
// Update xor generator.
|
|
976
|
+
v = X[(i + 34) & 127];
|
|
977
|
+
t = X[i = ((i + 1) & 127)];
|
|
978
|
+
v ^= v << 13;
|
|
979
|
+
t ^= t << 17;
|
|
980
|
+
v ^= v >>> 15;
|
|
981
|
+
t ^= t >>> 12;
|
|
982
|
+
// Update Xor generator array state.
|
|
983
|
+
v = X[i] = v ^ t;
|
|
984
|
+
me.i = i;
|
|
985
|
+
// Result is the combination.
|
|
986
|
+
return (v + (w ^ (w >>> 16))) | 0;
|
|
987
|
+
};
|
|
988
|
+
|
|
989
|
+
function init(me, seed) {
|
|
990
|
+
var t, v, i, j, w, X = [], limit = 128;
|
|
991
|
+
if (seed === (seed | 0)) {
|
|
992
|
+
// Numeric seeds initialize v, which is used to generates X.
|
|
993
|
+
v = seed;
|
|
994
|
+
seed = null;
|
|
995
|
+
} else {
|
|
996
|
+
// String seeds are mixed into v and X one character at a time.
|
|
997
|
+
seed = seed + '\0';
|
|
998
|
+
v = 0;
|
|
999
|
+
limit = Math.max(limit, seed.length);
|
|
1000
|
+
}
|
|
1001
|
+
// Initialize circular array and weyl value.
|
|
1002
|
+
for (i = 0, j = -32; j < limit; ++j) {
|
|
1003
|
+
// Put the unicode characters into the array, and shuffle them.
|
|
1004
|
+
if (seed) v ^= seed.charCodeAt((j + 32) % seed.length);
|
|
1005
|
+
// After 32 shuffles, take v as the starting w value.
|
|
1006
|
+
if (j === 0) w = v;
|
|
1007
|
+
v ^= v << 10;
|
|
1008
|
+
v ^= v >>> 15;
|
|
1009
|
+
v ^= v << 4;
|
|
1010
|
+
v ^= v >>> 13;
|
|
1011
|
+
if (j >= 0) {
|
|
1012
|
+
w = (w + 0x61c88647) | 0; // Weyl.
|
|
1013
|
+
t = (X[j & 127] ^= (v + w)); // Combine xor and weyl to init array.
|
|
1014
|
+
i = (0 == t) ? i + 1 : 0; // Count zeroes.
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
// We have detected all zeroes; make the key nonzero.
|
|
1018
|
+
if (i >= 128) {
|
|
1019
|
+
X[(seed && seed.length || 0) & 127] = -1;
|
|
1020
|
+
}
|
|
1021
|
+
// Run the generator 512 times to further mix the state before using it.
|
|
1022
|
+
// Factoring this as a function slows the main generator, so it is just
|
|
1023
|
+
// unrolled here. The weyl generator is not advanced while warming up.
|
|
1024
|
+
i = 127;
|
|
1025
|
+
for (j = 4 * 128; j > 0; --j) {
|
|
1026
|
+
v = X[(i + 34) & 127];
|
|
1027
|
+
t = X[i = ((i + 1) & 127)];
|
|
1028
|
+
v ^= v << 13;
|
|
1029
|
+
t ^= t << 17;
|
|
1030
|
+
v ^= v >>> 15;
|
|
1031
|
+
t ^= t >>> 12;
|
|
1032
|
+
X[i] = v ^ t;
|
|
1033
|
+
}
|
|
1034
|
+
// Storing state as object members is faster than using closure variables.
|
|
1035
|
+
me.w = w;
|
|
1036
|
+
me.X = X;
|
|
1037
|
+
me.i = i;
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
init(me, seed);
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
function copy(f, t) {
|
|
1044
|
+
t.i = f.i;
|
|
1045
|
+
t.w = f.w;
|
|
1046
|
+
t.X = f.X.slice();
|
|
1047
|
+
return t;
|
|
1048
|
+
};
|
|
1049
|
+
|
|
1050
|
+
function impl(seed, opts) {
|
|
1051
|
+
if (seed == null) seed = +(new Date);
|
|
1052
|
+
var xg = new XorGen(seed),
|
|
1053
|
+
state = opts && opts.state,
|
|
1054
|
+
prng = function() { return (xg.next() >>> 0) / 0x100000000; };
|
|
1055
|
+
prng.double = function() {
|
|
1056
|
+
do {
|
|
1057
|
+
var top = xg.next() >>> 11,
|
|
1058
|
+
bot = (xg.next() >>> 0) / 0x100000000,
|
|
1059
|
+
result = (top + bot) / (1 << 21);
|
|
1060
|
+
} while (result === 0);
|
|
1061
|
+
return result;
|
|
1062
|
+
};
|
|
1063
|
+
prng.int32 = xg.next;
|
|
1064
|
+
prng.quick = prng;
|
|
1065
|
+
if (state) {
|
|
1066
|
+
if (state.X) copy(state, xg);
|
|
1067
|
+
prng.state = function() { return copy(xg, {}); }
|
|
1068
|
+
}
|
|
1069
|
+
return prng;
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
if (module && module.exports) {
|
|
1073
|
+
module.exports = impl;
|
|
1074
|
+
} else if (__webpack_require__.amdD && __webpack_require__.amdO) {
|
|
1075
|
+
!(__WEBPACK_AMD_DEFINE_RESULT__ = (function() { return impl; }).call(exports, __webpack_require__, exports, module),
|
|
1076
|
+
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
1077
|
+
} else {
|
|
1078
|
+
this.xor4096 = impl;
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
})(
|
|
1082
|
+
this, // window object or global
|
|
1083
|
+
true && module, // present in node.js
|
|
1084
|
+
__webpack_require__.amdD // present with an AMD loader
|
|
1085
|
+
);
|
|
1086
|
+
|
|
1087
|
+
|
|
1088
|
+
/***/ }),
|
|
1089
|
+
|
|
1090
|
+
/***/ 30:
|
|
1091
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1092
|
+
|
|
1093
|
+
/* module decorator */ module = __webpack_require__.nmd(module);
|
|
1094
|
+
var __WEBPACK_AMD_DEFINE_RESULT__;// A Javascript implementaion of the "xorshift7" algorithm by
|
|
1095
|
+
// François Panneton and Pierre L'ecuyer:
|
|
1096
|
+
// "On the Xorgshift Random Number Generators"
|
|
1097
|
+
// http://saluc.engr.uconn.edu/refs/crypto/rng/panneton05onthexorshift.pdf
|
|
1098
|
+
|
|
1099
|
+
(function(global, module, define) {
|
|
1100
|
+
|
|
1101
|
+
function XorGen(seed) {
|
|
1102
|
+
var me = this;
|
|
1103
|
+
|
|
1104
|
+
// Set up generator function.
|
|
1105
|
+
me.next = function() {
|
|
1106
|
+
// Update xor generator.
|
|
1107
|
+
var X = me.x, i = me.i, t, v, w;
|
|
1108
|
+
t = X[i]; t ^= (t >>> 7); v = t ^ (t << 24);
|
|
1109
|
+
t = X[(i + 1) & 7]; v ^= t ^ (t >>> 10);
|
|
1110
|
+
t = X[(i + 3) & 7]; v ^= t ^ (t >>> 3);
|
|
1111
|
+
t = X[(i + 4) & 7]; v ^= t ^ (t << 7);
|
|
1112
|
+
t = X[(i + 7) & 7]; t = t ^ (t << 13); v ^= t ^ (t << 9);
|
|
1113
|
+
X[i] = v;
|
|
1114
|
+
me.i = (i + 1) & 7;
|
|
1115
|
+
return v;
|
|
1116
|
+
};
|
|
1117
|
+
|
|
1118
|
+
function init(me, seed) {
|
|
1119
|
+
var j, w, X = [];
|
|
1120
|
+
|
|
1121
|
+
if (seed === (seed | 0)) {
|
|
1122
|
+
// Seed state array using a 32-bit integer.
|
|
1123
|
+
w = X[0] = seed;
|
|
1124
|
+
} else {
|
|
1125
|
+
// Seed state using a string.
|
|
1126
|
+
seed = '' + seed;
|
|
1127
|
+
for (j = 0; j < seed.length; ++j) {
|
|
1128
|
+
X[j & 7] = (X[j & 7] << 15) ^
|
|
1129
|
+
(seed.charCodeAt(j) + X[(j + 1) & 7] << 13);
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
// Enforce an array length of 8, not all zeroes.
|
|
1133
|
+
while (X.length < 8) X.push(0);
|
|
1134
|
+
for (j = 0; j < 8 && X[j] === 0; ++j);
|
|
1135
|
+
if (j == 8) w = X[7] = -1; else w = X[j];
|
|
1136
|
+
|
|
1137
|
+
me.x = X;
|
|
1138
|
+
me.i = 0;
|
|
1139
|
+
|
|
1140
|
+
// Discard an initial 256 values.
|
|
1141
|
+
for (j = 256; j > 0; --j) {
|
|
1142
|
+
me.next();
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
init(me, seed);
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
function copy(f, t) {
|
|
1150
|
+
t.x = f.x.slice();
|
|
1151
|
+
t.i = f.i;
|
|
1152
|
+
return t;
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
function impl(seed, opts) {
|
|
1156
|
+
if (seed == null) seed = +(new Date);
|
|
1157
|
+
var xg = new XorGen(seed),
|
|
1158
|
+
state = opts && opts.state,
|
|
1159
|
+
prng = function() { return (xg.next() >>> 0) / 0x100000000; };
|
|
1160
|
+
prng.double = function() {
|
|
1161
|
+
do {
|
|
1162
|
+
var top = xg.next() >>> 11,
|
|
1163
|
+
bot = (xg.next() >>> 0) / 0x100000000,
|
|
1164
|
+
result = (top + bot) / (1 << 21);
|
|
1165
|
+
} while (result === 0);
|
|
1166
|
+
return result;
|
|
1167
|
+
};
|
|
1168
|
+
prng.int32 = xg.next;
|
|
1169
|
+
prng.quick = prng;
|
|
1170
|
+
if (state) {
|
|
1171
|
+
if (state.x) copy(state, xg);
|
|
1172
|
+
prng.state = function() { return copy(xg, {}); }
|
|
1173
|
+
}
|
|
1174
|
+
return prng;
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
if (module && module.exports) {
|
|
1178
|
+
module.exports = impl;
|
|
1179
|
+
} else if (__webpack_require__.amdD && __webpack_require__.amdO) {
|
|
1180
|
+
!(__WEBPACK_AMD_DEFINE_RESULT__ = (function() { return impl; }).call(exports, __webpack_require__, exports, module),
|
|
1181
|
+
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
1182
|
+
} else {
|
|
1183
|
+
this.xorshift7 = impl;
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
})(
|
|
1187
|
+
this,
|
|
1188
|
+
true && module, // present in node.js
|
|
1189
|
+
__webpack_require__.amdD // present with an AMD loader
|
|
1190
|
+
);
|
|
1191
|
+
|
|
1192
|
+
|
|
1193
|
+
|
|
1194
|
+
/***/ }),
|
|
1195
|
+
|
|
1196
|
+
/***/ 801:
|
|
1197
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1198
|
+
|
|
1199
|
+
/* module decorator */ module = __webpack_require__.nmd(module);
|
|
1200
|
+
var __WEBPACK_AMD_DEFINE_RESULT__;// A Javascript implementaion of the "xorwow" prng algorithm by
|
|
1201
|
+
// George Marsaglia. See http://www.jstatsoft.org/v08/i14/paper
|
|
1202
|
+
|
|
1203
|
+
(function(global, module, define) {
|
|
1204
|
+
|
|
1205
|
+
function XorGen(seed) {
|
|
1206
|
+
var me = this, strseed = '';
|
|
1207
|
+
|
|
1208
|
+
// Set up generator function.
|
|
1209
|
+
me.next = function() {
|
|
1210
|
+
var t = (me.x ^ (me.x >>> 2));
|
|
1211
|
+
me.x = me.y; me.y = me.z; me.z = me.w; me.w = me.v;
|
|
1212
|
+
return (me.d = (me.d + 362437 | 0)) +
|
|
1213
|
+
(me.v = (me.v ^ (me.v << 4)) ^ (t ^ (t << 1))) | 0;
|
|
1214
|
+
};
|
|
1215
|
+
|
|
1216
|
+
me.x = 0;
|
|
1217
|
+
me.y = 0;
|
|
1218
|
+
me.z = 0;
|
|
1219
|
+
me.w = 0;
|
|
1220
|
+
me.v = 0;
|
|
1221
|
+
|
|
1222
|
+
if (seed === (seed | 0)) {
|
|
1223
|
+
// Integer seed.
|
|
1224
|
+
me.x = seed;
|
|
1225
|
+
} else {
|
|
1226
|
+
// String seed.
|
|
1227
|
+
strseed += seed;
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
// Mix in string seed, then discard an initial batch of 64 values.
|
|
1231
|
+
for (var k = 0; k < strseed.length + 64; k++) {
|
|
1232
|
+
me.x ^= strseed.charCodeAt(k) | 0;
|
|
1233
|
+
if (k == strseed.length) {
|
|
1234
|
+
me.d = me.x << 10 ^ me.x >>> 4;
|
|
1235
|
+
}
|
|
1236
|
+
me.next();
|
|
1237
|
+
}
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
function copy(f, t) {
|
|
1241
|
+
t.x = f.x;
|
|
1242
|
+
t.y = f.y;
|
|
1243
|
+
t.z = f.z;
|
|
1244
|
+
t.w = f.w;
|
|
1245
|
+
t.v = f.v;
|
|
1246
|
+
t.d = f.d;
|
|
1247
|
+
return t;
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
function impl(seed, opts) {
|
|
1251
|
+
var xg = new XorGen(seed),
|
|
1252
|
+
state = opts && opts.state,
|
|
1253
|
+
prng = function() { return (xg.next() >>> 0) / 0x100000000; };
|
|
1254
|
+
prng.double = function() {
|
|
1255
|
+
do {
|
|
1256
|
+
var top = xg.next() >>> 11,
|
|
1257
|
+
bot = (xg.next() >>> 0) / 0x100000000,
|
|
1258
|
+
result = (top + bot) / (1 << 21);
|
|
1259
|
+
} while (result === 0);
|
|
1260
|
+
return result;
|
|
1261
|
+
};
|
|
1262
|
+
prng.int32 = xg.next;
|
|
1263
|
+
prng.quick = prng;
|
|
1264
|
+
if (state) {
|
|
1265
|
+
if (typeof(state) == 'object') copy(state, xg);
|
|
1266
|
+
prng.state = function() { return copy(xg, {}); }
|
|
1267
|
+
}
|
|
1268
|
+
return prng;
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
if (module && module.exports) {
|
|
1272
|
+
module.exports = impl;
|
|
1273
|
+
} else if (__webpack_require__.amdD && __webpack_require__.amdO) {
|
|
1274
|
+
!(__WEBPACK_AMD_DEFINE_RESULT__ = (function() { return impl; }).call(exports, __webpack_require__, exports, module),
|
|
1275
|
+
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
1276
|
+
} else {
|
|
1277
|
+
this.xorwow = impl;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
})(
|
|
1281
|
+
this,
|
|
1282
|
+
true && module, // present in node.js
|
|
1283
|
+
__webpack_require__.amdD // present with an AMD loader
|
|
1284
|
+
);
|
|
1285
|
+
|
|
1286
|
+
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
/***/ }),
|
|
1290
|
+
|
|
1291
|
+
/***/ 971:
|
|
1292
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1293
|
+
|
|
1294
|
+
var __WEBPACK_AMD_DEFINE_RESULT__;/*
|
|
1295
|
+
Copyright 2019 David Bau.
|
|
1296
|
+
|
|
1297
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
1298
|
+
a copy of this software and associated documentation files (the
|
|
1299
|
+
"Software"), to deal in the Software without restriction, including
|
|
1300
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
1301
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
1302
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
1303
|
+
the following conditions:
|
|
1304
|
+
|
|
1305
|
+
The above copyright notice and this permission notice shall be
|
|
1306
|
+
included in all copies or substantial portions of the Software.
|
|
1307
|
+
|
|
1308
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
1309
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
1310
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
1311
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
1312
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
1313
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
1314
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1315
|
+
|
|
1316
|
+
*/
|
|
1317
|
+
|
|
1318
|
+
(function (global, pool, math) {
|
|
1319
|
+
//
|
|
1320
|
+
// The following constants are related to IEEE 754 limits.
|
|
1321
|
+
//
|
|
1322
|
+
|
|
1323
|
+
var width = 256, // each RC4 output is 0 <= x < 256
|
|
1324
|
+
chunks = 6, // at least six RC4 outputs for each double
|
|
1325
|
+
digits = 52, // there are 52 significant digits in a double
|
|
1326
|
+
rngname = 'random', // rngname: name for Math.random and Math.seedrandom
|
|
1327
|
+
startdenom = math.pow(width, chunks),
|
|
1328
|
+
significance = math.pow(2, digits),
|
|
1329
|
+
overflow = significance * 2,
|
|
1330
|
+
mask = width - 1,
|
|
1331
|
+
nodecrypto; // node.js crypto module, initialized at the bottom.
|
|
1332
|
+
|
|
1333
|
+
//
|
|
1334
|
+
// seedrandom()
|
|
1335
|
+
// This is the seedrandom function described above.
|
|
1336
|
+
//
|
|
1337
|
+
function seedrandom(seed, options, callback) {
|
|
1338
|
+
var key = [];
|
|
1339
|
+
options = (options == true) ? { entropy: true } : (options || {});
|
|
1340
|
+
|
|
1341
|
+
// Flatten the seed string or build one from local entropy if needed.
|
|
1342
|
+
var shortseed = mixkey(flatten(
|
|
1343
|
+
options.entropy ? [seed, tostring(pool)] :
|
|
1344
|
+
(seed == null) ? autoseed() : seed, 3), key);
|
|
1345
|
+
|
|
1346
|
+
// Use the seed to initialize an ARC4 generator.
|
|
1347
|
+
var arc4 = new ARC4(key);
|
|
1348
|
+
|
|
1349
|
+
// This function returns a random double in [0, 1) that contains
|
|
1350
|
+
// randomness in every bit of the mantissa of the IEEE 754 value.
|
|
1351
|
+
var prng = function() {
|
|
1352
|
+
var n = arc4.g(chunks), // Start with a numerator n < 2 ^ 48
|
|
1353
|
+
d = startdenom, // and denominator d = 2 ^ 48.
|
|
1354
|
+
x = 0; // and no 'extra last byte'.
|
|
1355
|
+
while (n < significance) { // Fill up all significant digits by
|
|
1356
|
+
n = (n + x) * width; // shifting numerator and
|
|
1357
|
+
d *= width; // denominator and generating a
|
|
1358
|
+
x = arc4.g(1); // new least-significant-byte.
|
|
1359
|
+
}
|
|
1360
|
+
while (n >= overflow) { // To avoid rounding up, before adding
|
|
1361
|
+
n /= 2; // last byte, shift everything
|
|
1362
|
+
d /= 2; // right using integer math until
|
|
1363
|
+
x >>>= 1; // we have exactly the desired bits.
|
|
1364
|
+
}
|
|
1365
|
+
return (n + x) / d; // Form the number within [0, 1).
|
|
1366
|
+
};
|
|
1367
|
+
|
|
1368
|
+
prng.int32 = function() { return arc4.g(4) | 0; }
|
|
1369
|
+
prng.quick = function() { return arc4.g(4) / 0x100000000; }
|
|
1370
|
+
prng.double = prng;
|
|
1371
|
+
|
|
1372
|
+
// Mix the randomness into accumulated entropy.
|
|
1373
|
+
mixkey(tostring(arc4.S), pool);
|
|
1374
|
+
|
|
1375
|
+
// Calling convention: what to return as a function of prng, seed, is_math.
|
|
1376
|
+
return (options.pass || callback ||
|
|
1377
|
+
function(prng, seed, is_math_call, state) {
|
|
1378
|
+
if (state) {
|
|
1379
|
+
// Load the arc4 state from the given state if it has an S array.
|
|
1380
|
+
if (state.S) { copy(state, arc4); }
|
|
1381
|
+
// Only provide the .state method if requested via options.state.
|
|
1382
|
+
prng.state = function() { return copy(arc4, {}); }
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
// If called as a method of Math (Math.seedrandom()), mutate
|
|
1386
|
+
// Math.random because that is how seedrandom.js has worked since v1.0.
|
|
1387
|
+
if (is_math_call) { math[rngname] = prng; return seed; }
|
|
1388
|
+
|
|
1389
|
+
// Otherwise, it is a newer calling convention, so return the
|
|
1390
|
+
// prng directly.
|
|
1391
|
+
else return prng;
|
|
1392
|
+
})(
|
|
1393
|
+
prng,
|
|
1394
|
+
shortseed,
|
|
1395
|
+
'global' in options ? options.global : (this == math),
|
|
1396
|
+
options.state);
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
//
|
|
1400
|
+
// ARC4
|
|
1401
|
+
//
|
|
1402
|
+
// An ARC4 implementation. The constructor takes a key in the form of
|
|
1403
|
+
// an array of at most (width) integers that should be 0 <= x < (width).
|
|
1404
|
+
//
|
|
1405
|
+
// The g(count) method returns a pseudorandom integer that concatenates
|
|
1406
|
+
// the next (count) outputs from ARC4. Its return value is a number x
|
|
1407
|
+
// that is in the range 0 <= x < (width ^ count).
|
|
1408
|
+
//
|
|
1409
|
+
function ARC4(key) {
|
|
1410
|
+
var t, keylen = key.length,
|
|
1411
|
+
me = this, i = 0, j = me.i = me.j = 0, s = me.S = [];
|
|
1412
|
+
|
|
1413
|
+
// The empty key [] is treated as [0].
|
|
1414
|
+
if (!keylen) { key = [keylen++]; }
|
|
1415
|
+
|
|
1416
|
+
// Set up S using the standard key scheduling algorithm.
|
|
1417
|
+
while (i < width) {
|
|
1418
|
+
s[i] = i++;
|
|
1419
|
+
}
|
|
1420
|
+
for (i = 0; i < width; i++) {
|
|
1421
|
+
s[i] = s[j = mask & (j + key[i % keylen] + (t = s[i]))];
|
|
1422
|
+
s[j] = t;
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
// The "g" method returns the next (count) outputs as one number.
|
|
1426
|
+
(me.g = function(count) {
|
|
1427
|
+
// Using instance members instead of closure state nearly doubles speed.
|
|
1428
|
+
var t, r = 0,
|
|
1429
|
+
i = me.i, j = me.j, s = me.S;
|
|
1430
|
+
while (count--) {
|
|
1431
|
+
t = s[i = mask & (i + 1)];
|
|
1432
|
+
r = r * width + s[mask & ((s[i] = s[j = mask & (j + t)]) + (s[j] = t))];
|
|
1433
|
+
}
|
|
1434
|
+
me.i = i; me.j = j;
|
|
1435
|
+
return r;
|
|
1436
|
+
// For robust unpredictability, the function call below automatically
|
|
1437
|
+
// discards an initial batch of values. This is called RC4-drop[256].
|
|
1438
|
+
// See http://google.com/search?q=rsa+fluhrer+response&btnI
|
|
1439
|
+
})(width);
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
//
|
|
1443
|
+
// copy()
|
|
1444
|
+
// Copies internal state of ARC4 to or from a plain object.
|
|
1445
|
+
//
|
|
1446
|
+
function copy(f, t) {
|
|
1447
|
+
t.i = f.i;
|
|
1448
|
+
t.j = f.j;
|
|
1449
|
+
t.S = f.S.slice();
|
|
1450
|
+
return t;
|
|
1451
|
+
};
|
|
1452
|
+
|
|
1453
|
+
//
|
|
1454
|
+
// flatten()
|
|
1455
|
+
// Converts an object tree to nested arrays of strings.
|
|
1456
|
+
//
|
|
1457
|
+
function flatten(obj, depth) {
|
|
1458
|
+
var result = [], typ = (typeof obj), prop;
|
|
1459
|
+
if (depth && typ == 'object') {
|
|
1460
|
+
for (prop in obj) {
|
|
1461
|
+
try { result.push(flatten(obj[prop], depth - 1)); } catch (e) {}
|
|
1462
|
+
}
|
|
1463
|
+
}
|
|
1464
|
+
return (result.length ? result : typ == 'string' ? obj : obj + '\0');
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
//
|
|
1468
|
+
// mixkey()
|
|
1469
|
+
// Mixes a string seed into a key that is an array of integers, and
|
|
1470
|
+
// returns a shortened string seed that is equivalent to the result key.
|
|
1471
|
+
//
|
|
1472
|
+
function mixkey(seed, key) {
|
|
1473
|
+
var stringseed = seed + '', smear, j = 0;
|
|
1474
|
+
while (j < stringseed.length) {
|
|
1475
|
+
key[mask & j] =
|
|
1476
|
+
mask & ((smear ^= key[mask & j] * 19) + stringseed.charCodeAt(j++));
|
|
1477
|
+
}
|
|
1478
|
+
return tostring(key);
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
//
|
|
1482
|
+
// autoseed()
|
|
1483
|
+
// Returns an object for autoseeding, using window.crypto and Node crypto
|
|
1484
|
+
// module if available.
|
|
1485
|
+
//
|
|
1486
|
+
function autoseed() {
|
|
1487
|
+
try {
|
|
1488
|
+
var out;
|
|
1489
|
+
if (nodecrypto && (out = nodecrypto.randomBytes)) {
|
|
1490
|
+
// The use of 'out' to remember randomBytes makes tight minified code.
|
|
1491
|
+
out = out(width);
|
|
1492
|
+
} else {
|
|
1493
|
+
out = new Uint8Array(width);
|
|
1494
|
+
(global.crypto || global.msCrypto).getRandomValues(out);
|
|
1495
|
+
}
|
|
1496
|
+
return tostring(out);
|
|
1497
|
+
} catch (e) {
|
|
1498
|
+
var browser = global.navigator,
|
|
1499
|
+
plugins = browser && browser.plugins;
|
|
1500
|
+
return [+new Date, global, plugins, global.screen, tostring(pool)];
|
|
1501
|
+
}
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
//
|
|
1505
|
+
// tostring()
|
|
1506
|
+
// Converts an array of charcodes to a string
|
|
1507
|
+
//
|
|
1508
|
+
function tostring(a) {
|
|
1509
|
+
return String.fromCharCode.apply(0, a);
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
//
|
|
1513
|
+
// When seedrandom.js is loaded, we immediately mix a few bits
|
|
1514
|
+
// from the built-in RNG into the entropy pool. Because we do
|
|
1515
|
+
// not want to interfere with deterministic PRNG state later,
|
|
1516
|
+
// seedrandom will not call math.random on its own again after
|
|
1517
|
+
// initialization.
|
|
1518
|
+
//
|
|
1519
|
+
mixkey(math.random(), pool);
|
|
1520
|
+
|
|
1521
|
+
//
|
|
1522
|
+
// Nodejs and AMD support: export the implementation as a module using
|
|
1523
|
+
// either convention.
|
|
1524
|
+
//
|
|
1525
|
+
if ( true && module.exports) {
|
|
1526
|
+
module.exports = seedrandom;
|
|
1527
|
+
// When in node.js, try using crypto package for autoseeding.
|
|
1528
|
+
try {
|
|
1529
|
+
nodecrypto = __webpack_require__(42);
|
|
1530
|
+
} catch (ex) {}
|
|
1531
|
+
} else if (true) {
|
|
1532
|
+
!(__WEBPACK_AMD_DEFINE_RESULT__ = (function() { return seedrandom; }).call(exports, __webpack_require__, exports, module),
|
|
1533
|
+
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
1534
|
+
} else {}
|
|
1535
|
+
|
|
1536
|
+
|
|
1537
|
+
// End anonymous scope, and pass initial values.
|
|
1538
|
+
})(
|
|
1539
|
+
// global: `self` in browsers (including strict mode and web workers),
|
|
1540
|
+
// otherwise `this` in Node and other environments
|
|
1541
|
+
(typeof self !== 'undefined') ? self : this,
|
|
1542
|
+
[], // pool: entropy pool starts empty
|
|
1543
|
+
Math // math: package containing random, pow, and seedrandom
|
|
1544
|
+
);
|
|
1545
|
+
|
|
1546
|
+
|
|
541
1547
|
/***/ }),
|
|
542
1548
|
|
|
543
1549
|
/***/ 744:
|
|
@@ -576,19 +1582,19 @@ var update = add("d75292b8", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
576
1582
|
|
|
577
1583
|
/***/ }),
|
|
578
1584
|
|
|
579
|
-
/***/
|
|
1585
|
+
/***/ 577:
|
|
580
1586
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
581
1587
|
|
|
582
1588
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
583
1589
|
|
|
584
1590
|
// load the styles
|
|
585
|
-
var content = __webpack_require__(
|
|
1591
|
+
var content = __webpack_require__(316);
|
|
586
1592
|
if(content.__esModule) content = content.default;
|
|
587
1593
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
588
1594
|
if(content.locals) module.exports = content.locals;
|
|
589
1595
|
// add the styles to the DOM
|
|
590
1596
|
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
|
591
|
-
var update = add("
|
|
1597
|
+
var update = add("04be0210", content, true, {"sourceMap":false,"shadowMode":false});
|
|
592
1598
|
|
|
593
1599
|
/***/ }),
|
|
594
1600
|
|
|
@@ -688,19 +1694,19 @@ var update = add("2b02cf58", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
688
1694
|
|
|
689
1695
|
/***/ }),
|
|
690
1696
|
|
|
691
|
-
/***/
|
|
1697
|
+
/***/ 561:
|
|
692
1698
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
693
1699
|
|
|
694
1700
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
695
1701
|
|
|
696
1702
|
// load the styles
|
|
697
|
-
var content = __webpack_require__(
|
|
1703
|
+
var content = __webpack_require__(99);
|
|
698
1704
|
if(content.__esModule) content = content.default;
|
|
699
1705
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
700
1706
|
if(content.locals) module.exports = content.locals;
|
|
701
1707
|
// add the styles to the DOM
|
|
702
1708
|
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
|
703
|
-
var update = add("
|
|
1709
|
+
var update = add("6abdaff8", content, true, {"sourceMap":false,"shadowMode":false});
|
|
704
1710
|
|
|
705
1711
|
/***/ }),
|
|
706
1712
|
|
|
@@ -774,7 +1780,7 @@ var update = add("4dac94dc", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
774
1780
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
775
1781
|
|
|
776
1782
|
// load the styles
|
|
777
|
-
var content = __webpack_require__(
|
|
1783
|
+
var content = __webpack_require__(238);
|
|
778
1784
|
if(content.__esModule) content = content.default;
|
|
779
1785
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
780
1786
|
if(content.locals) module.exports = content.locals;
|
|
@@ -800,19 +1806,19 @@ var update = add("45697d7e", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
800
1806
|
|
|
801
1807
|
/***/ }),
|
|
802
1808
|
|
|
803
|
-
/***/
|
|
1809
|
+
/***/ 995:
|
|
804
1810
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
805
1811
|
|
|
806
1812
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
807
1813
|
|
|
808
1814
|
// load the styles
|
|
809
|
-
var content = __webpack_require__(
|
|
1815
|
+
var content = __webpack_require__(743);
|
|
810
1816
|
if(content.__esModule) content = content.default;
|
|
811
1817
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
812
1818
|
if(content.locals) module.exports = content.locals;
|
|
813
1819
|
// add the styles to the DOM
|
|
814
1820
|
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
|
815
|
-
var update = add("
|
|
1821
|
+
var update = add("2cc23047", content, true, {"sourceMap":false,"shadowMode":false});
|
|
816
1822
|
|
|
817
1823
|
/***/ }),
|
|
818
1824
|
|
|
@@ -1096,6 +2102,13 @@ function applyToTag (styleElement, obj) {
|
|
|
1096
2102
|
}
|
|
1097
2103
|
|
|
1098
2104
|
|
|
2105
|
+
/***/ }),
|
|
2106
|
+
|
|
2107
|
+
/***/ 42:
|
|
2108
|
+
/***/ (() => {
|
|
2109
|
+
|
|
2110
|
+
/* (ignored) */
|
|
2111
|
+
|
|
1099
2112
|
/***/ })
|
|
1100
2113
|
|
|
1101
2114
|
/******/ });
|
|
@@ -1113,18 +2126,33 @@ function applyToTag (styleElement, obj) {
|
|
|
1113
2126
|
/******/ // Create a new module (and put it into the cache)
|
|
1114
2127
|
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
1115
2128
|
/******/ id: moduleId,
|
|
1116
|
-
/******/
|
|
2129
|
+
/******/ loaded: false,
|
|
1117
2130
|
/******/ exports: {}
|
|
1118
2131
|
/******/ };
|
|
1119
2132
|
/******/
|
|
1120
2133
|
/******/ // Execute the module function
|
|
1121
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
2134
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
2135
|
+
/******/
|
|
2136
|
+
/******/ // Flag the module as loaded
|
|
2137
|
+
/******/ module.loaded = true;
|
|
1122
2138
|
/******/
|
|
1123
2139
|
/******/ // Return the exports of the module
|
|
1124
2140
|
/******/ return module.exports;
|
|
1125
2141
|
/******/ }
|
|
1126
2142
|
/******/
|
|
1127
2143
|
/************************************************************************/
|
|
2144
|
+
/******/ /* webpack/runtime/amd define */
|
|
2145
|
+
/******/ (() => {
|
|
2146
|
+
/******/ __webpack_require__.amdD = function () {
|
|
2147
|
+
/******/ throw new Error('define cannot be used indirect');
|
|
2148
|
+
/******/ };
|
|
2149
|
+
/******/ })();
|
|
2150
|
+
/******/
|
|
2151
|
+
/******/ /* webpack/runtime/amd options */
|
|
2152
|
+
/******/ (() => {
|
|
2153
|
+
/******/ __webpack_require__.amdO = {};
|
|
2154
|
+
/******/ })();
|
|
2155
|
+
/******/
|
|
1128
2156
|
/******/ /* webpack/runtime/compat get default export */
|
|
1129
2157
|
/******/ (() => {
|
|
1130
2158
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
@@ -1165,6 +2193,15 @@ function applyToTag (styleElement, obj) {
|
|
|
1165
2193
|
/******/ };
|
|
1166
2194
|
/******/ })();
|
|
1167
2195
|
/******/
|
|
2196
|
+
/******/ /* webpack/runtime/node module decorator */
|
|
2197
|
+
/******/ (() => {
|
|
2198
|
+
/******/ __webpack_require__.nmd = (module) => {
|
|
2199
|
+
/******/ module.paths = [];
|
|
2200
|
+
/******/ if (!module.children) module.children = [];
|
|
2201
|
+
/******/ return module;
|
|
2202
|
+
/******/ };
|
|
2203
|
+
/******/ })();
|
|
2204
|
+
/******/
|
|
1168
2205
|
/******/ /* webpack/runtime/publicPath */
|
|
1169
2206
|
/******/ (() => {
|
|
1170
2207
|
/******/ __webpack_require__.p = "";
|
|
@@ -1321,7 +2358,7 @@ if (typeof window !== 'undefined') {
|
|
|
1321
2358
|
|
|
1322
2359
|
;// CONCATENATED MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
1323
2360
|
const external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject = require("vue");
|
|
1324
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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=
|
|
2361
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
|
|
1325
2362
|
|
|
1326
2363
|
const _hoisted_1 = ["id"];
|
|
1327
2364
|
const _hoisted_2 = {
|
|
@@ -1345,7 +2382,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1345
2382
|
"data-qa": "dt-presence"
|
|
1346
2383
|
}), null, 16, ["presence", "class"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 14, _hoisted_1);
|
|
1347
2384
|
}
|
|
1348
|
-
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=template&id=
|
|
2385
|
+
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=template&id=3cb27068
|
|
1349
2386
|
|
|
1350
2387
|
;// CONCATENATED MODULE: ./common/constants.js
|
|
1351
2388
|
/* TODO: Move and sort these in a constants directory
|
|
@@ -1418,6 +2455,9 @@ const DEFAULT_PREFIX = 'dt';
|
|
|
1418
2455
|
;// CONCATENATED MODULE: ./common/utils.js
|
|
1419
2456
|
|
|
1420
2457
|
|
|
2458
|
+
|
|
2459
|
+
const seedrandom = __webpack_require__(377);
|
|
2460
|
+
|
|
1421
2461
|
let UNIQUE_ID_COUNTER = 0; // selector to find focusable not hidden inputs
|
|
1422
2462
|
|
|
1423
2463
|
const FOCUSABLE_SELECTOR_NOT_HIDDEN = 'input:not([type=hidden]):not(:disabled)'; // selector to find focusable not disables elements
|
|
@@ -1434,12 +2474,15 @@ function getUniqueString() {
|
|
|
1434
2474
|
}
|
|
1435
2475
|
/**
|
|
1436
2476
|
* Returns a random element from array
|
|
1437
|
-
* @param array
|
|
1438
|
-
* @
|
|
2477
|
+
* @param array - the array to return a random element from
|
|
2478
|
+
* @param {string} seed - use a string to seed the randomization, so it returns the same element each time
|
|
2479
|
+
* based on that string.
|
|
2480
|
+
* @returns {*} - the random element
|
|
1439
2481
|
*/
|
|
1440
2482
|
|
|
1441
|
-
function getRandomElement(array) {
|
|
1442
|
-
|
|
2483
|
+
function getRandomElement(array, seed) {
|
|
2484
|
+
const rng = seedrandom(seed);
|
|
2485
|
+
return array[Math.floor(rng() * array.length)];
|
|
1443
2486
|
}
|
|
1444
2487
|
function formatMessages(messages) {
|
|
1445
2488
|
if (!messages) {
|
|
@@ -1627,6 +2670,9 @@ const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(presencevue_typ
|
|
|
1627
2670
|
;// CONCATENATED MODULE: ./components/presence/index.js
|
|
1628
2671
|
|
|
1629
2672
|
|
|
2673
|
+
// EXTERNAL MODULE: ./node_modules/seedrandom/index.js
|
|
2674
|
+
var node_modules_seedrandom = __webpack_require__(377);
|
|
2675
|
+
var seedrandom_default = /*#__PURE__*/__webpack_require__.n(node_modules_seedrandom);
|
|
1630
2676
|
;// CONCATENATED MODULE: ./components/avatar/avatar_constants.js
|
|
1631
2677
|
const AVATAR_KIND_MODIFIERS = {
|
|
1632
2678
|
default: '',
|
|
@@ -1669,6 +2715,7 @@ const MAX_GRADIENT_COLORS_100 = 2;
|
|
|
1669
2715
|
|
|
1670
2716
|
|
|
1671
2717
|
|
|
2718
|
+
|
|
1672
2719
|
/**
|
|
1673
2720
|
* An avatar is a visual representation of a user or object.
|
|
1674
2721
|
* @see https://dialpad.design/components/avatar.html
|
|
@@ -1693,6 +2740,15 @@ const MAX_GRADIENT_COLORS_100 = 2;
|
|
|
1693
2740
|
|
|
1694
2741
|
},
|
|
1695
2742
|
|
|
2743
|
+
/**
|
|
2744
|
+
* Pass in a seed to get the random color generation based on that string. For example if you pass in a
|
|
2745
|
+
* user ID as the string it will return the same randomly generated colors every time for that user.
|
|
2746
|
+
*/
|
|
2747
|
+
seed: {
|
|
2748
|
+
type: String,
|
|
2749
|
+
default: undefined
|
|
2750
|
+
},
|
|
2751
|
+
|
|
1696
2752
|
/**
|
|
1697
2753
|
* The size of the avatar
|
|
1698
2754
|
* @values xs, sm, md, lg, xl
|
|
@@ -1849,21 +2905,29 @@ const MAX_GRADIENT_COLORS_100 = 2;
|
|
|
1849
2905
|
},
|
|
1850
2906
|
|
|
1851
2907
|
randomizeGradientAngle() {
|
|
1852
|
-
return getRandomElement(AVATAR_ANGLES);
|
|
2908
|
+
return getRandomElement(AVATAR_ANGLES, this.seed);
|
|
1853
2909
|
},
|
|
1854
2910
|
|
|
1855
2911
|
randomizeGradientColorStops() {
|
|
1856
|
-
const colors = new Set();
|
|
2912
|
+
const colors = new Set();
|
|
2913
|
+
let count = 0; // get 3 unique colors, 2 from colorsWith100 and one from colorsWith200
|
|
1857
2914
|
|
|
1858
2915
|
while (colors.size < MAX_GRADIENT_COLORS) {
|
|
2916
|
+
// add count to the seed since we are looking for 3 unique colors. If the seed makes it always
|
|
2917
|
+
// return the same color we'll get an infinite loop.
|
|
2918
|
+
const seedForColor = this.seed === undefined ? undefined : this.seed + count.toString();
|
|
2919
|
+
|
|
1859
2920
|
if (colors.size === MAX_GRADIENT_COLORS_100) {
|
|
1860
|
-
colors.add(getRandomElement(GRADIENT_COLORS.with200));
|
|
2921
|
+
colors.add(getRandomElement(GRADIENT_COLORS.with200, seedForColor));
|
|
1861
2922
|
} else {
|
|
1862
|
-
colors.add(getRandomElement(GRADIENT_COLORS.with100));
|
|
2923
|
+
colors.add(getRandomElement(GRADIENT_COLORS.with100, seedForColor));
|
|
1863
2924
|
}
|
|
2925
|
+
|
|
2926
|
+
count++;
|
|
1864
2927
|
}
|
|
1865
2928
|
|
|
1866
|
-
const
|
|
2929
|
+
const rng = seedrandom_default()(this.seed);
|
|
2930
|
+
const shuffledColors = Array.from(colors).sort(() => 0.5 - rng());
|
|
1867
2931
|
return shuffledColors;
|
|
1868
2932
|
},
|
|
1869
2933
|
|
|
@@ -1880,9 +2944,9 @@ const MAX_GRADIENT_COLORS_100 = 2;
|
|
|
1880
2944
|
});
|
|
1881
2945
|
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=script&lang=js
|
|
1882
2946
|
|
|
1883
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/avatar/avatar.vue?vue&type=style&index=0&id=
|
|
1884
|
-
var
|
|
1885
|
-
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=style&index=0&id=
|
|
2947
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.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
|
|
2948
|
+
var avatarvue_type_style_index_0_id_3cb27068_lang_less = __webpack_require__(577);
|
|
2949
|
+
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=style&index=0&id=3cb27068&lang=less
|
|
1886
2950
|
|
|
1887
2951
|
;// CONCATENATED MODULE: ./components/avatar/avatar.vue
|
|
1888
2952
|
|
|
@@ -6347,11 +7411,11 @@ function dropdownvue_type_template_id_6b8ca270_render(_ctx, _cache, $props, $set
|
|
|
6347
7411
|
}
|
|
6348
7412
|
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=template&id=6b8ca270
|
|
6349
7413
|
|
|
6350
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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=
|
|
7414
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
|
|
6351
7415
|
|
|
6352
|
-
const
|
|
6353
|
-
const
|
|
6354
|
-
function
|
|
7416
|
+
const popovervue_type_template_id_4199c610_hoisted_1 = ["aria-hidden"];
|
|
7417
|
+
const popovervue_type_template_id_4199c610_hoisted_2 = ["id", "tabindex"];
|
|
7418
|
+
function popovervue_type_template_id_4199c610_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6355
7419
|
const _component_popover_header_footer = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("popover-header-footer");
|
|
6356
7420
|
|
|
6357
7421
|
const _component_sr_only_close_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("sr-only-close-button");
|
|
@@ -6365,7 +7429,7 @@ function popovervue_type_template_id_ec7df6ce_render(_ctx, _cache, $props, $setu
|
|
|
6365
7429
|
class: "d-modal--transparent",
|
|
6366
7430
|
"aria-hidden": $props.modal && $data.isOpen ? 'false' : 'true',
|
|
6367
7431
|
onClick: _cache[0] || (_cache[0] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)(() => {}, ["prevent", "stop"]))
|
|
6368
|
-
}, null, 8,
|
|
7432
|
+
}, 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), {
|
|
6369
7433
|
ref: "popover",
|
|
6370
7434
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-popover', {
|
|
6371
7435
|
'd-popover__anchor--opened': $data.isOpen
|
|
@@ -6398,7 +7462,7 @@ function popovervue_type_template_id_ec7df6ce_render(_ctx, _cache, $props, $setu
|
|
|
6398
7462
|
'aria-controls': $props.id,
|
|
6399
7463
|
'aria-haspopup': $props.role
|
|
6400
7464
|
}
|
|
6401
|
-
})], 40,
|
|
7465
|
+
})], 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)({
|
|
6402
7466
|
id: $props.id,
|
|
6403
7467
|
ref: "content",
|
|
6404
7468
|
role: $props.role,
|
|
@@ -6461,7 +7525,7 @@ function popovervue_type_template_id_ec7df6ce_render(_ctx, _cache, $props, $setu
|
|
|
6461
7525
|
_: 3
|
|
6462
7526
|
}, 8, ["class"]))]);
|
|
6463
7527
|
}
|
|
6464
|
-
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=
|
|
7528
|
+
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=4199c610
|
|
6465
7529
|
|
|
6466
7530
|
;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getWindow.js
|
|
6467
7531
|
function getWindow(node) {
|
|
@@ -11022,6 +12086,7 @@ const POPOVER_HEADER_FOOTER_PADDING_CLASSES = {
|
|
|
11022
12086
|
const POPOVER_ROLES = ['dialog', 'menu', 'listbox', 'tree', 'grid'];
|
|
11023
12087
|
const POPOVER_CONTENT_WIDTHS = [null, 'anchor'];
|
|
11024
12088
|
const POPOVER_INITIAL_FOCUS_STRINGS = ['none', 'dialog', 'first'];
|
|
12089
|
+
const POPOVER_APPEND_TO_VALUES = ['parent'];
|
|
11025
12090
|
const POPOVER_STICKY_VALUES = [...TIPPY_STICKY_VALUES];
|
|
11026
12091
|
const POPOVER_DIRECTIONS = [...BASE_TIPPY_DIRECTIONS];
|
|
11027
12092
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
|
|
@@ -11469,6 +12534,18 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11469
12534
|
openWithArrowKeys: {
|
|
11470
12535
|
type: Boolean,
|
|
11471
12536
|
default: false
|
|
12537
|
+
},
|
|
12538
|
+
|
|
12539
|
+
/**
|
|
12540
|
+
* Sets the element to which the popover is going to append to.
|
|
12541
|
+
* @values 'parent', HTMLElement,
|
|
12542
|
+
*/
|
|
12543
|
+
appendTo: {
|
|
12544
|
+
type: [HTMLElement, String],
|
|
12545
|
+
default: () => document.body,
|
|
12546
|
+
validator: appendTo => {
|
|
12547
|
+
return POPOVER_APPEND_TO_VALUES.includes(appendTo) || appendTo instanceof HTMLElement;
|
|
12548
|
+
}
|
|
11472
12549
|
}
|
|
11473
12550
|
},
|
|
11474
12551
|
emits: [
|
|
@@ -11613,7 +12690,7 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11613
12690
|
placement: this.placement,
|
|
11614
12691
|
offset: this.offset,
|
|
11615
12692
|
sticky: this.sticky,
|
|
11616
|
-
appendTo:
|
|
12693
|
+
appendTo: this.appendTo,
|
|
11617
12694
|
interactive: true,
|
|
11618
12695
|
trigger: 'manual',
|
|
11619
12696
|
// We have to manage hideOnClick functionality manually to handle
|
|
@@ -11865,9 +12942,9 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
11865
12942
|
});
|
|
11866
12943
|
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=script&lang=js
|
|
11867
12944
|
|
|
11868
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/popover/popover.vue?vue&type=style&index=0&id=
|
|
11869
|
-
var
|
|
11870
|
-
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=style&index=0&id=
|
|
12945
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.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
|
|
12946
|
+
var popovervue_type_style_index_0_id_4199c610_lang_less = __webpack_require__(561);
|
|
12947
|
+
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=style&index=0&id=4199c610&lang=less
|
|
11871
12948
|
|
|
11872
12949
|
;// CONCATENATED MODULE: ./components/popover/popover.vue
|
|
11873
12950
|
|
|
@@ -11877,7 +12954,7 @@ var popovervue_type_style_index_0_id_ec7df6ce_lang_less = __webpack_require__(27
|
|
|
11877
12954
|
;
|
|
11878
12955
|
|
|
11879
12956
|
|
|
11880
|
-
const popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(popovervue_type_script_lang_js, [['render',
|
|
12957
|
+
const popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(popovervue_type_script_lang_js, [['render',popovervue_type_template_id_4199c610_render]])
|
|
11881
12958
|
|
|
11882
12959
|
/* harmony default export */ const popover = (popover_exports_);
|
|
11883
12960
|
;// CONCATENATED MODULE: ./components/popover/index.js
|
|
@@ -13785,26 +14862,16 @@ const input_group_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(input_
|
|
|
13785
14862
|
/* harmony default export */ const input_group_input_group = (input_group_exports_);
|
|
13786
14863
|
;// CONCATENATED MODULE: ./components/input_group/index.js
|
|
13787
14864
|
|
|
13788
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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=
|
|
14865
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
|
|
13789
14866
|
|
|
13790
|
-
const
|
|
13791
|
-
const
|
|
13792
|
-
const
|
|
13793
|
-
const
|
|
13794
|
-
key: 2,
|
|
13795
|
-
class: "d-modal__content",
|
|
13796
|
-
"data-qa": "dt-modal-copy"
|
|
13797
|
-
};
|
|
13798
|
-
const modalvue_type_template_id_44704674_hoisted_5 = {
|
|
13799
|
-
key: 3,
|
|
13800
|
-
class: "d-modal__content",
|
|
13801
|
-
"data-qa": "dt-modal-copy"
|
|
13802
|
-
};
|
|
13803
|
-
const modalvue_type_template_id_44704674_hoisted_6 = {
|
|
14867
|
+
const modalvue_type_template_id_2aa05149_hoisted_1 = ["aria-describedby", "aria-labelledby"];
|
|
14868
|
+
const modalvue_type_template_id_2aa05149_hoisted_2 = ["id"];
|
|
14869
|
+
const modalvue_type_template_id_2aa05149_hoisted_3 = ["id"];
|
|
14870
|
+
const modalvue_type_template_id_2aa05149_hoisted_4 = {
|
|
13804
14871
|
key: 4,
|
|
13805
14872
|
class: "d-modal__footer"
|
|
13806
14873
|
};
|
|
13807
|
-
function
|
|
14874
|
+
function modalvue_type_template_id_2aa05149_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13808
14875
|
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
13809
14876
|
|
|
13810
14877
|
const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
|
|
@@ -13841,12 +14908,20 @@ function modalvue_type_template_id_44704674_render(_ctx, _cache, $props, $setup,
|
|
|
13841
14908
|
id: $props.labelledById,
|
|
13842
14909
|
class: "d-modal__header",
|
|
13843
14910
|
"data-qa": "dt-modal-title"
|
|
13844
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "header")], 8,
|
|
14911
|
+
}, [(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", {
|
|
13845
14912
|
key: 1,
|
|
13846
14913
|
id: $props.labelledById,
|
|
13847
14914
|
class: "d-modal__header",
|
|
13848
14915
|
"data-qa": "dt-modal-title"
|
|
13849
|
-
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.title), 9,
|
|
14916
|
+
}, (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", {
|
|
14917
|
+
key: 2,
|
|
14918
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-modal__content', $props.contentClass]),
|
|
14919
|
+
"data-qa": "dt-modal-copy"
|
|
14920
|
+
}, [(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", {
|
|
14921
|
+
key: 3,
|
|
14922
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-modal__content', $props.contentClass]),
|
|
14923
|
+
"data-qa": "dt-modal-copy"
|
|
14924
|
+
}, (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)({
|
|
13850
14925
|
key: 5,
|
|
13851
14926
|
class: "d-modal__close",
|
|
13852
14927
|
circle: "",
|
|
@@ -13865,13 +14940,13 @@ function modalvue_type_template_id_44704674_render(_ctx, _cache, $props, $setup,
|
|
|
13865
14940
|
key: 6,
|
|
13866
14941
|
"visually-hidden-close-label": _ctx.visuallyHiddenCloseLabel,
|
|
13867
14942
|
onClose: $options.close
|
|
13868
|
-
}, null, 8, ["visually-hidden-close-label", "onClose"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 10,
|
|
14943
|
+
}, 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]])]),
|
|
13869
14944
|
_: 3
|
|
13870
14945
|
})]),
|
|
13871
14946
|
_: 3
|
|
13872
14947
|
}, 16, ["show", "class", "aria-hidden"]);
|
|
13873
14948
|
}
|
|
13874
|
-
;// CONCATENATED MODULE: ./components/modal/modal.vue?vue&type=template&id=
|
|
14949
|
+
;// CONCATENATED MODULE: ./components/modal/modal.vue?vue&type=template&id=2aa05149
|
|
13875
14950
|
|
|
13876
14951
|
;// CONCATENATED MODULE: ./components/modal/modal_constants.js
|
|
13877
14952
|
// Modal style modifiers
|
|
@@ -14016,6 +15091,16 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
14016
15091
|
default: ''
|
|
14017
15092
|
},
|
|
14018
15093
|
|
|
15094
|
+
/**
|
|
15095
|
+
* Additional class name for the content element within the modal.
|
|
15096
|
+
* Can accept String, Object, and Array, i.e. has the
|
|
15097
|
+
* same API as Vue's built-in handling of the class attribute.
|
|
15098
|
+
*/
|
|
15099
|
+
contentClass: {
|
|
15100
|
+
type: [String, Object, Array],
|
|
15101
|
+
default: ''
|
|
15102
|
+
},
|
|
15103
|
+
|
|
14019
15104
|
/**
|
|
14020
15105
|
* Additional class name for the banner element within the modal.
|
|
14021
15106
|
* Can accept String, Object, and Array, i.e. has the
|
|
@@ -14171,7 +15256,7 @@ const MODAL_SIZE_MODIFIERS = {
|
|
|
14171
15256
|
|
|
14172
15257
|
|
|
14173
15258
|
;
|
|
14174
|
-
const modal_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(modalvue_type_script_lang_js, [['render',
|
|
15259
|
+
const modal_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(modalvue_type_script_lang_js, [['render',modalvue_type_template_id_2aa05149_render]])
|
|
14175
15260
|
|
|
14176
15261
|
/* harmony default export */ const modal_modal = (modal_exports_);
|
|
14177
15262
|
;// CONCATENATED MODULE: ./components/modal/index.js
|
|
@@ -16013,27 +17098,26 @@ const checkbox_group_exports_ = checkbox_groupvue_type_script_lang_js;
|
|
|
16013
17098
|
/* harmony default export */ const checkbox_group = (checkbox_group_exports_);
|
|
16014
17099
|
;// CONCATENATED MODULE: ./components/checkbox_group/index.js
|
|
16015
17100
|
|
|
16016
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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=
|
|
17101
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
|
|
16017
17102
|
|
|
16018
|
-
const
|
|
16019
|
-
class: "d-chip"
|
|
16020
|
-
};
|
|
16021
|
-
const chipvue_type_template_id_af4b6988_hoisted_2 = {
|
|
17103
|
+
const chipvue_type_template_id_f2b79d66_hoisted_1 = {
|
|
16022
17104
|
key: 0,
|
|
16023
17105
|
"data-qa": "dt-chip-icon",
|
|
16024
17106
|
class: "d-chip__icon"
|
|
16025
17107
|
};
|
|
16026
|
-
const
|
|
17108
|
+
const chipvue_type_template_id_f2b79d66_hoisted_2 = {
|
|
16027
17109
|
key: 1,
|
|
16028
17110
|
"data-qa": "dt-chip-avatar"
|
|
16029
17111
|
};
|
|
16030
|
-
const
|
|
16031
|
-
function
|
|
17112
|
+
const chipvue_type_template_id_f2b79d66_hoisted_3 = ["id"];
|
|
17113
|
+
function chipvue_type_template_id_f2b79d66_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16032
17114
|
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
16033
17115
|
|
|
16034
17116
|
const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
|
|
16035
17117
|
|
|
16036
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span",
|
|
17118
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", {
|
|
17119
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-chip', _ctx.parentClass])
|
|
17120
|
+
}, [((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)({
|
|
16037
17121
|
id: $props.id,
|
|
16038
17122
|
type: $props.interactive && 'button',
|
|
16039
17123
|
class: $options.chipClasses(),
|
|
@@ -16041,12 +17125,12 @@ function chipvue_type_template_id_af4b6988_render(_ctx, _cache, $props, $setup,
|
|
|
16041
17125
|
"aria-labelledby": $props.ariaLabel ? undefined : `${$props.id}-content`,
|
|
16042
17126
|
"aria-label": $props.ariaLabel
|
|
16043
17127
|
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toHandlers)($options.chipListeners)), {
|
|
16044
|
-
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",
|
|
17128
|
+
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", {
|
|
16045
17129
|
key: 2,
|
|
16046
17130
|
id: `${$props.id}-content`,
|
|
16047
17131
|
"data-qa": "dt-chip-label",
|
|
16048
17132
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-truncate', 'd-chip__text', $props.contentClass])
|
|
16049
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")], 10,
|
|
17133
|
+
}, [(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)]),
|
|
16050
17134
|
_: 3
|
|
16051
17135
|
}, 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)({
|
|
16052
17136
|
key: 0
|
|
@@ -16061,9 +17145,9 @@ function chipvue_type_template_id_af4b6988_render(_ctx, _cache, $props, $setup,
|
|
|
16061
17145
|
size: $options.closeButtonIconSize
|
|
16062
17146
|
}, null, 8, ["size"])]),
|
|
16063
17147
|
_: 1
|
|
16064
|
-
}, 16, ["class", "aria-label"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]);
|
|
17148
|
+
}, 16, ["class", "aria-label"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 2);
|
|
16065
17149
|
}
|
|
16066
|
-
;// CONCATENATED MODULE: ./components/chip/chip.vue?vue&type=template&id=
|
|
17150
|
+
;// CONCATENATED MODULE: ./components/chip/chip.vue?vue&type=template&id=f2b79d66
|
|
16067
17151
|
|
|
16068
17152
|
;// CONCATENATED MODULE: ./components/chip/chip_constants.js
|
|
16069
17153
|
const CHIP_SIZE_MODIFIERS = {
|
|
@@ -16103,7 +17187,6 @@ const CHIP_ICON_SIZES = {
|
|
|
16103
17187
|
DtButton: button_button,
|
|
16104
17188
|
DtIcon: icon
|
|
16105
17189
|
},
|
|
16106
|
-
inheritAttrs: false,
|
|
16107
17190
|
props: {
|
|
16108
17191
|
/**
|
|
16109
17192
|
* A set of props to be passed into the modal's close button. Requires an 'ariaLabel' property.
|
|
@@ -16174,6 +17257,14 @@ const CHIP_ICON_SIZES = {
|
|
|
16174
17257
|
contentClass: {
|
|
16175
17258
|
type: [String, Array, Object],
|
|
16176
17259
|
default: ''
|
|
17260
|
+
},
|
|
17261
|
+
|
|
17262
|
+
/**
|
|
17263
|
+
* Additional class name for the span element.
|
|
17264
|
+
*/
|
|
17265
|
+
labelClass: {
|
|
17266
|
+
type: [String, Array, Object],
|
|
17267
|
+
default: ''
|
|
16177
17268
|
}
|
|
16178
17269
|
},
|
|
16179
17270
|
emits: [
|
|
@@ -16229,7 +17320,7 @@ const CHIP_ICON_SIZES = {
|
|
|
16229
17320
|
},
|
|
16230
17321
|
methods: {
|
|
16231
17322
|
chipClasses() {
|
|
16232
|
-
return [this.$attrs['grouped-chip'] ? 'd-chip' : 'd-chip__label', CHIP_SIZE_MODIFIERS[this.size]];
|
|
17323
|
+
return [this.$attrs['grouped-chip'] ? ['d-chip', ...this.labelClass] : 'd-chip__label', CHIP_SIZE_MODIFIERS[this.size]];
|
|
16233
17324
|
},
|
|
16234
17325
|
|
|
16235
17326
|
chipCloseButtonClasses() {
|
|
@@ -16252,7 +17343,7 @@ const CHIP_ICON_SIZES = {
|
|
|
16252
17343
|
|
|
16253
17344
|
|
|
16254
17345
|
;
|
|
16255
|
-
const chip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(chipvue_type_script_lang_js, [['render',
|
|
17346
|
+
const chip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(chipvue_type_script_lang_js, [['render',chipvue_type_template_id_f2b79d66_render]])
|
|
16256
17347
|
|
|
16257
17348
|
/* harmony default export */ const chip = (chip_exports_);
|
|
16258
17349
|
;// CONCATENATED MODULE: ./components/chip/index.js
|
|
@@ -17932,11 +19023,11 @@ const root_layout_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(root_l
|
|
|
17932
19023
|
;// CONCATENATED MODULE: ./components/root_layout/index.js
|
|
17933
19024
|
|
|
17934
19025
|
|
|
17935
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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=
|
|
19026
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
|
|
17936
19027
|
|
|
17937
|
-
const
|
|
17938
|
-
const
|
|
17939
|
-
function
|
|
19028
|
+
const combobox_with_popovervue_type_template_id_35131c6d_hoisted_1 = ["id"];
|
|
19029
|
+
const combobox_with_popovervue_type_template_id_35131c6d_hoisted_2 = ["onMouseleave", "onFocusout"];
|
|
19030
|
+
function combobox_with_popovervue_type_template_id_35131c6d_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
17940
19031
|
const _component_combobox_loading_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-loading-list");
|
|
17941
19032
|
|
|
17942
19033
|
const _component_combobox_empty_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-empty-list");
|
|
@@ -17978,7 +19069,7 @@ function combobox_with_popovervue_type_template_id_303c5a24_render(_ctx, _cache,
|
|
|
17978
19069
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "input", {
|
|
17979
19070
|
inputProps: inputProps,
|
|
17980
19071
|
onInput: $options.handleDisplayList
|
|
17981
|
-
})], 40,
|
|
19072
|
+
})], 40, combobox_with_popovervue_type_template_id_35131c6d_hoisted_1)];
|
|
17982
19073
|
}),
|
|
17983
19074
|
list: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(_ref2 => {
|
|
17984
19075
|
let {
|
|
@@ -18026,7 +19117,7 @@ function combobox_with_popovervue_type_template_id_303c5a24_render(_ctx, _cache,
|
|
|
18026
19117
|
}), null, 16, ["message"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "list", {
|
|
18027
19118
|
key: 2,
|
|
18028
19119
|
listProps: listProps
|
|
18029
|
-
})], 42,
|
|
19120
|
+
})], 42, combobox_with_popovervue_type_template_id_35131c6d_hoisted_2)]),
|
|
18030
19121
|
_: 2
|
|
18031
19122
|
}, [_ctx.$slots.header ? {
|
|
18032
19123
|
name: "headerContent",
|
|
@@ -18051,7 +19142,7 @@ function combobox_with_popovervue_type_template_id_303c5a24_render(_ctx, _cache,
|
|
|
18051
19142
|
_: 3
|
|
18052
19143
|
}, 16, ["loading", "label", "label-visible", "size", "description", "empty-list", "empty-state-message", "show-list", "on-beginning-of-list", "on-end-of-list", "list-id"]);
|
|
18053
19144
|
}
|
|
18054
|
-
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=
|
|
19145
|
+
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=35131c6d
|
|
18055
19146
|
|
|
18056
19147
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
|
|
18057
19148
|
|
|
@@ -18379,7 +19470,7 @@ function combobox_with_popovervue_type_template_id_303c5a24_render(_ctx, _cache,
|
|
|
18379
19470
|
onFocusOut(e) {
|
|
18380
19471
|
const comboboxRefs = ['input', 'header', 'footer', 'listWrapper']; // Check if the focus change was to another target within the combobox component
|
|
18381
19472
|
|
|
18382
|
-
const isComboboxStillFocused = comboboxRefs.some(ref => {
|
|
19473
|
+
const isComboboxStillFocused = e.relatedTarget === null || comboboxRefs.some(ref => {
|
|
18383
19474
|
var _this$$refs$ref;
|
|
18384
19475
|
|
|
18385
19476
|
return (_this$$refs$ref = this.$refs[ref]) === null || _this$$refs$ref === void 0 ? void 0 : _this$$refs$ref.contains(e.relatedTarget);
|
|
@@ -18408,32 +19499,32 @@ function combobox_with_popovervue_type_template_id_303c5a24_render(_ctx, _cache,
|
|
|
18408
19499
|
|
|
18409
19500
|
|
|
18410
19501
|
;
|
|
18411
|
-
const combobox_with_popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_with_popovervue_type_script_lang_js, [['render',
|
|
19502
|
+
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]])
|
|
18412
19503
|
|
|
18413
19504
|
/* harmony default export */ const combobox_with_popover = (combobox_with_popover_exports_);
|
|
18414
19505
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/index.js
|
|
18415
19506
|
|
|
18416
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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=
|
|
19507
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
|
|
18417
19508
|
|
|
18418
|
-
const
|
|
19509
|
+
const combobox_multi_selectvue_type_template_id_3b3f23a9_hoisted_1 = {
|
|
18419
19510
|
ref: "inputSlotWrapper",
|
|
18420
|
-
class: "d-ps-relative"
|
|
19511
|
+
class: "d-ps-relative d-d-block"
|
|
18421
19512
|
};
|
|
18422
|
-
const
|
|
19513
|
+
const combobox_multi_selectvue_type_template_id_3b3f23a9_hoisted_2 = {
|
|
18423
19514
|
ref: "chipsWrapper",
|
|
18424
19515
|
class: "d-ps-absolute d-mx2"
|
|
18425
19516
|
};
|
|
18426
|
-
const
|
|
19517
|
+
const combobox_multi_selectvue_type_template_id_3b3f23a9_hoisted_3 = {
|
|
18427
19518
|
ref: "header"
|
|
18428
19519
|
};
|
|
18429
|
-
const
|
|
19520
|
+
const combobox_multi_selectvue_type_template_id_3b3f23a9_hoisted_4 = {
|
|
18430
19521
|
key: 1,
|
|
18431
19522
|
class: "d-ta-center d-py16"
|
|
18432
19523
|
};
|
|
18433
|
-
const
|
|
19524
|
+
const combobox_multi_selectvue_type_template_id_3b3f23a9_hoisted_5 = {
|
|
18434
19525
|
ref: "footer"
|
|
18435
19526
|
};
|
|
18436
|
-
function
|
|
19527
|
+
function combobox_multi_selectvue_type_template_id_3b3f23a9_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18437
19528
|
const _component_dt_chip = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-chip");
|
|
18438
19529
|
|
|
18439
19530
|
const _component_dt_input = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-input");
|
|
@@ -18458,12 +19549,13 @@ function combobox_multi_selectvue_type_template_id_a5a3ecba_render(_ctx, _cache,
|
|
|
18458
19549
|
let {
|
|
18459
19550
|
onInput
|
|
18460
19551
|
} = _ref;
|
|
18461
|
-
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("span",
|
|
19552
|
+
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 => {
|
|
18462
19553
|
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)({
|
|
18463
19554
|
ref_for: true,
|
|
18464
19555
|
ref: "chips",
|
|
18465
19556
|
key: item,
|
|
18466
|
-
class:
|
|
19557
|
+
"label-class": ['d-chip__label'],
|
|
19558
|
+
class: ['d-mt4', 'd-mx2', 'd-zi-base1'],
|
|
18467
19559
|
"close-button-props": {
|
|
18468
19560
|
ariaLabel: 'close'
|
|
18469
19561
|
},
|
|
@@ -18479,7 +19571,7 @@ function combobox_multi_selectvue_type_template_id_a5a3ecba_render(_ctx, _cache,
|
|
|
18479
19571
|
ref: "input",
|
|
18480
19572
|
modelValue: $data.value,
|
|
18481
19573
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => $data.value = $event),
|
|
18482
|
-
class: "d-fl-grow1
|
|
19574
|
+
class: "d-fl-grow1",
|
|
18483
19575
|
"aria-label": $props.label,
|
|
18484
19576
|
label: $props.labelVisible ? $props.label : '',
|
|
18485
19577
|
description: $props.description,
|
|
@@ -18499,19 +19591,19 @@ function combobox_multi_selectvue_type_template_id_a5a3ecba_render(_ctx, _cache,
|
|
|
18499
19591
|
onMousedown: _cache[1] || (_cache[1] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)(() => {}, ["prevent"]))
|
|
18500
19592
|
}, [!$props.loading ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "list", {
|
|
18501
19593
|
key: 0
|
|
18502
|
-
}) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div",
|
|
19594
|
+
}) : ((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)]),
|
|
18503
19595
|
_: 2
|
|
18504
19596
|
}, [_ctx.$slots.header ? {
|
|
18505
19597
|
name: "header",
|
|
18506
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
19598
|
+
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)]),
|
|
18507
19599
|
key: "0"
|
|
18508
19600
|
} : undefined, _ctx.$slots.footer ? {
|
|
18509
19601
|
name: "footer",
|
|
18510
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
19602
|
+
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)]),
|
|
18511
19603
|
key: "1"
|
|
18512
19604
|
} : undefined]), 1032, ["label", "show-list", "max-height", "popover-offset", "has-suggestion-list", "visually-hidden-close-label", "visually-hidden-close", "onSelect"]);
|
|
18513
19605
|
}
|
|
18514
|
-
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue?vue&type=template&id=
|
|
19606
|
+
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue?vue&type=template&id=3b3f23a9
|
|
18515
19607
|
|
|
18516
19608
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select_story_constants.js
|
|
18517
19609
|
// The item list for default story
|
|
@@ -19090,7 +20182,7 @@ const MULTI_SELECT_SIZES = {
|
|
|
19090
20182
|
|
|
19091
20183
|
|
|
19092
20184
|
;
|
|
19093
|
-
const combobox_multi_select_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_multi_selectvue_type_script_lang_js, [['render',
|
|
20185
|
+
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]])
|
|
19094
20186
|
|
|
19095
20187
|
/* harmony default export */ const combobox_multi_select = (combobox_multi_select_exports_);
|
|
19096
20188
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/index.js
|
|
@@ -19775,19 +20867,19 @@ const top_banner_info_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(to
|
|
|
19775
20867
|
;// CONCATENATED MODULE: ./recipes/notices/top_banner_info/index.js
|
|
19776
20868
|
|
|
19777
20869
|
|
|
19778
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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=
|
|
20870
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
|
|
19779
20871
|
|
|
19780
|
-
const
|
|
20872
|
+
const ivr_nodevue_type_template_id_19695402_hoisted_1 = {
|
|
19781
20873
|
class: "d-d-flex d-ai-center"
|
|
19782
20874
|
};
|
|
19783
|
-
const
|
|
20875
|
+
const ivr_nodevue_type_template_id_19695402_hoisted_2 = {
|
|
19784
20876
|
class: "d-fs-200 d-fw-bold",
|
|
19785
20877
|
"data-qa": "ivr-node-label"
|
|
19786
20878
|
};
|
|
19787
|
-
const
|
|
20879
|
+
const ivr_nodevue_type_template_id_19695402_hoisted_3 = {
|
|
19788
20880
|
class: "d-w164"
|
|
19789
20881
|
};
|
|
19790
|
-
function
|
|
20882
|
+
function ivr_nodevue_type_template_id_19695402_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
19791
20883
|
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
19792
20884
|
|
|
19793
20885
|
const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
|
|
@@ -19819,7 +20911,7 @@ function ivr_nodevue_type_template_id_5f1f3c1e_render(_ctx, _cache, $props, $set
|
|
|
19819
20911
|
'd-btr4': !$props.isSelected
|
|
19820
20912
|
}]
|
|
19821
20913
|
}, {
|
|
19822
|
-
header: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
20914
|
+
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, {
|
|
19823
20915
|
"aria-label": $props.nodeType,
|
|
19824
20916
|
importance: "clear",
|
|
19825
20917
|
"data-qa": "dt-ivr-node-icon"
|
|
@@ -19827,10 +20919,12 @@ function ivr_nodevue_type_template_id_5f1f3c1e_render(_ctx, _cache, $props, $set
|
|
|
19827
20919
|
icon: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_icon, {
|
|
19828
20920
|
name: $options.nodeIcon,
|
|
19829
20921
|
size: "200",
|
|
19830
|
-
class:
|
|
19831
|
-
|
|
20922
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-fc-black-900', {
|
|
20923
|
+
'ivr_node__goto_icon': $options.isGotoNode
|
|
20924
|
+
}])
|
|
20925
|
+
}, null, 8, ["name", "class"])]),
|
|
19832
20926
|
_: 1
|
|
19833
|
-
}, 8, ["aria-label"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("p",
|
|
20927
|
+
}, 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, {
|
|
19834
20928
|
open: $data.isOpen,
|
|
19835
20929
|
"onUpdate:open": _cache[0] || (_cache[0] = $event => $data.isOpen = $event),
|
|
19836
20930
|
placement: "bottom"
|
|
@@ -19851,7 +20945,7 @@ function ivr_nodevue_type_template_id_5f1f3c1e_render(_ctx, _cache, $props, $set
|
|
|
19851
20945
|
let {
|
|
19852
20946
|
close
|
|
19853
20947
|
} = _ref;
|
|
19854
|
-
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
20948
|
+
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", {
|
|
19855
20949
|
close: close
|
|
19856
20950
|
})])];
|
|
19857
20951
|
}),
|
|
@@ -19861,7 +20955,7 @@ function ivr_nodevue_type_template_id_5f1f3c1e_render(_ctx, _cache, $props, $set
|
|
|
19861
20955
|
_: 3
|
|
19862
20956
|
}, 8, ["container-class", "header-class"])], 16);
|
|
19863
20957
|
}
|
|
19864
|
-
;// CONCATENATED MODULE: ./recipes/cards/ivr_node/ivr_node.vue?vue&type=template&id=
|
|
20958
|
+
;// CONCATENATED MODULE: ./recipes/cards/ivr_node/ivr_node.vue?vue&type=template&id=19695402
|
|
19865
20959
|
|
|
19866
20960
|
;// CONCATENATED MODULE: ./recipes/cards/ivr_node/ivr_node_constants.js
|
|
19867
20961
|
const IVR_NODE_PROMPT_MENU = 'promptmenu';
|
|
@@ -19876,9 +20970,9 @@ const IVR_NODE_ICON_TYPES = {
|
|
|
19876
20970
|
[IVR_NODE_PROMPT_MENU]: 'keypad',
|
|
19877
20971
|
[IVR_NODE_PROMPT_COLLECT]: 'dialer',
|
|
19878
20972
|
[IVR_NODE_PROMPT_PLAY]: 'volume-2',
|
|
19879
|
-
[IVR_NODE_EXPERT]: '
|
|
19880
|
-
[IVR_NODE_BRANCH]: '
|
|
19881
|
-
[IVR_NODE_GO_TO]: '
|
|
20973
|
+
[IVR_NODE_EXPERT]: 'expert-node',
|
|
20974
|
+
[IVR_NODE_BRANCH]: 'branch',
|
|
20975
|
+
[IVR_NODE_GO_TO]: 'call-merge',
|
|
19882
20976
|
[IVR_NODE_TRANSFER]: 'transfer',
|
|
19883
20977
|
[IVR_NODE_HANGUP]: 'phone-hang-up'
|
|
19884
20978
|
};
|
|
@@ -20003,6 +21097,10 @@ const IVR_NODE_COLOR_MAPPING = {
|
|
|
20003
21097
|
selected
|
|
20004
21098
|
} = IVR_NODE_COLOR_MAPPING[this.nodeType];
|
|
20005
21099
|
return this.isSelected ? selected : normal;
|
|
21100
|
+
},
|
|
21101
|
+
|
|
21102
|
+
isGotoNode() {
|
|
21103
|
+
return this.nodeType === IVR_NODE_GO_TO;
|
|
20006
21104
|
}
|
|
20007
21105
|
|
|
20008
21106
|
},
|
|
@@ -20015,9 +21113,9 @@ const IVR_NODE_COLOR_MAPPING = {
|
|
|
20015
21113
|
});
|
|
20016
21114
|
;// CONCATENATED MODULE: ./recipes/cards/ivr_node/ivr_node.vue?vue&type=script&lang=js
|
|
20017
21115
|
|
|
20018
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.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=
|
|
20019
|
-
var
|
|
20020
|
-
;// CONCATENATED MODULE: ./recipes/cards/ivr_node/ivr_node.vue?vue&type=style&index=0&id=
|
|
21116
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.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
|
|
21117
|
+
var ivr_nodevue_type_style_index_0_id_19695402_lang_less = __webpack_require__(995);
|
|
21118
|
+
;// CONCATENATED MODULE: ./recipes/cards/ivr_node/ivr_node.vue?vue&type=style&index=0&id=19695402&lang=less
|
|
20021
21119
|
|
|
20022
21120
|
;// CONCATENATED MODULE: ./recipes/cards/ivr_node/ivr_node.vue
|
|
20023
21121
|
|
|
@@ -20027,7 +21125,7 @@ var ivr_nodevue_type_style_index_0_id_5f1f3c1e_lang_less = __webpack_require__(5
|
|
|
20027
21125
|
;
|
|
20028
21126
|
|
|
20029
21127
|
|
|
20030
|
-
const ivr_node_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(ivr_nodevue_type_script_lang_js, [['render',
|
|
21128
|
+
const ivr_node_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(ivr_nodevue_type_script_lang_js, [['render',ivr_nodevue_type_template_id_19695402_render]])
|
|
20031
21129
|
|
|
20032
21130
|
/* harmony default export */ const ivr_node = (ivr_node_exports_);
|
|
20033
21131
|
;// CONCATENATED MODULE: ./recipes/cards/ivr_node/index.js
|