q2-tecton-elements 1.20.0 → 1.21.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/cjs/{icons-47b9bd3f.js → icons-2d056aad.js} +50 -75
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
- package/dist/cjs/q2-badge_2.cjs.entry.js +3 -3
- package/dist/cjs/q2-calendar.cjs.entry.js +54 -56
- package/dist/cjs/q2-carousel.cjs.entry.js +1 -1
- package/dist/cjs/q2-icon.cjs.entry.js +3 -2
- package/dist/cjs/q2-section.cjs.entry.js +3 -5
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +4 -4
- package/dist/cjs/q2-stepper.cjs.entry.js +3 -3
- package/dist/cjs/q2-tab-container.cjs.entry.js +1 -1
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/collection/components/q2-btn/index.js +2 -2
- package/dist/collection/components/q2-calendar/helpers.js +1 -1
- package/dist/collection/components/q2-carousel/styles.css +5 -3
- package/dist/collection/components/q2-icon/icons.js +25 -25
- package/dist/collection/components/q2-icon/index.js +18 -0
- package/dist/collection/components/q2-icon/styles.css +5 -0
- package/dist/collection/components/q2-input/index.js +2 -2
- package/dist/collection/components/q2-input/styles.css +1 -0
- package/dist/collection/components/q2-section/index.js +3 -5
- package/dist/collection/components/q2-stepper/index.js +2 -2
- package/dist/collection/components/q2-stepper/styles.css +13 -3
- package/dist/collection/components/q2-stepper-vertical/index.js +3 -3
- package/dist/collection/components/q2-stepper-vertical/styles.css +15 -2
- package/dist/collection/components/q2-tab-container/styles.css +1 -0
- package/dist/esm/{icons-869de05b.js → icons-e2bbe4b0.js} +50 -75
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-avatar.entry.js +1 -1
- package/dist/esm/q2-badge_2.entry.js +3 -3
- package/dist/esm/q2-calendar.entry.js +54 -56
- package/dist/esm/q2-carousel.entry.js +1 -1
- package/dist/esm/q2-icon.entry.js +3 -2
- package/dist/esm/q2-section.entry.js +3 -5
- package/dist/esm/q2-stepper-vertical.entry.js +4 -4
- package/dist/esm/q2-stepper.entry.js +3 -3
- package/dist/esm/q2-tab-container.entry.js +1 -1
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/q2-tecton-elements/{p-315fdb74.entry.js → p-041b3a82.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-0766a694.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-5f61bb6d.entry.js → p-35177f6c.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-416c97e4.entry.js +1 -0
- package/dist/q2-tecton-elements/p-9281adaa.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-4ed63393.entry.js → p-9ebb283a.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-cbd1289a.entry.js +1 -0
- package/dist/q2-tecton-elements/p-db873db2.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-8d7ad8cc.entry.js → p-e4aa271e.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-1bee154c.js → p-f23bcb4b.js} +1 -1
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/types/components/q2-btn/index.d.ts +1 -1
- package/dist/types/components/q2-icon/index.d.ts +1 -0
- package/dist/types/components.d.ts +4 -2
- package/package.json +2 -2
- package/dist/q2-tecton-elements/p-0a155257.entry.js +0 -1
- package/dist/q2-tecton-elements/p-2e832e42.entry.js +0 -1
- package/dist/q2-tecton-elements/p-30263b82.entry.js +0 -1
- package/dist/q2-tecton-elements/p-54e792bd.entry.js +0 -1
- package/dist/q2-tecton-elements/p-74136b15.entry.js +0 -1
|
@@ -25,7 +25,6 @@ function requiredArgs(required, args) {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
function _typeof$1(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$1 = function _typeof(obj) { return typeof obj; }; } else { _typeof$1 = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$1(obj); }
|
|
29
28
|
/**
|
|
30
29
|
* @name toDate
|
|
31
30
|
* @category Common Helpers
|
|
@@ -61,7 +60,7 @@ function toDate(argument) {
|
|
|
61
60
|
requiredArgs(1, arguments);
|
|
62
61
|
var argStr = Object.prototype.toString.call(argument); // Clone the date
|
|
63
62
|
|
|
64
|
-
if (argument instanceof Date ||
|
|
63
|
+
if (argument instanceof Date || typeof argument === 'object' && argStr === '[object Date]') {
|
|
65
64
|
// Prevent the date to lose the milliseconds when passed to new Date() in IE10
|
|
66
65
|
return new Date(argument.getTime());
|
|
67
66
|
} else if (typeof argument === 'number' || argStr === '[object Number]') {
|
|
@@ -225,7 +224,6 @@ function isSameDay(dirtyDateLeft, dirtyDateRight) {
|
|
|
225
224
|
return dateLeftStartOfDay.getTime() === dateRightStartOfDay.getTime();
|
|
226
225
|
}
|
|
227
226
|
|
|
228
|
-
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
229
227
|
/**
|
|
230
228
|
* @name isDate
|
|
231
229
|
* @category Common Helpers
|
|
@@ -261,7 +259,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
|
261
259
|
|
|
262
260
|
function isDate(value) {
|
|
263
261
|
requiredArgs(1, arguments);
|
|
264
|
-
return value instanceof Date ||
|
|
262
|
+
return value instanceof Date || typeof value === 'object' && Object.prototype.toString.call(value) === '[object Date]';
|
|
265
263
|
}
|
|
266
264
|
|
|
267
265
|
/**
|
|
@@ -499,7 +497,7 @@ function addLeadingZeros(number, targetLength) {
|
|
|
499
497
|
|
|
500
498
|
var formatters$1 = {
|
|
501
499
|
// Year
|
|
502
|
-
y: function
|
|
500
|
+
y: function (date, token) {
|
|
503
501
|
// From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens
|
|
504
502
|
// | Year | y | yy | yyy | yyyy | yyyyy |
|
|
505
503
|
// |----------|-------|----|-------|-------|-------|
|
|
@@ -514,16 +512,16 @@ var formatters$1 = {
|
|
|
514
512
|
return addLeadingZeros(token === 'yy' ? year % 100 : year, token.length);
|
|
515
513
|
},
|
|
516
514
|
// Month
|
|
517
|
-
M: function
|
|
515
|
+
M: function (date, token) {
|
|
518
516
|
var month = date.getUTCMonth();
|
|
519
517
|
return token === 'M' ? String(month + 1) : addLeadingZeros(month + 1, 2);
|
|
520
518
|
},
|
|
521
519
|
// Day of the month
|
|
522
|
-
d: function
|
|
520
|
+
d: function (date, token) {
|
|
523
521
|
return addLeadingZeros(date.getUTCDate(), token.length);
|
|
524
522
|
},
|
|
525
523
|
// AM or PM
|
|
526
|
-
a: function
|
|
524
|
+
a: function (date, token) {
|
|
527
525
|
var dayPeriodEnumValue = date.getUTCHours() / 12 >= 1 ? 'pm' : 'am';
|
|
528
526
|
|
|
529
527
|
switch (token) {
|
|
@@ -543,23 +541,23 @@ var formatters$1 = {
|
|
|
543
541
|
}
|
|
544
542
|
},
|
|
545
543
|
// Hour [1-12]
|
|
546
|
-
h: function
|
|
544
|
+
h: function (date, token) {
|
|
547
545
|
return addLeadingZeros(date.getUTCHours() % 12 || 12, token.length);
|
|
548
546
|
},
|
|
549
547
|
// Hour [0-23]
|
|
550
|
-
H: function
|
|
548
|
+
H: function (date, token) {
|
|
551
549
|
return addLeadingZeros(date.getUTCHours(), token.length);
|
|
552
550
|
},
|
|
553
551
|
// Minute
|
|
554
|
-
m: function
|
|
552
|
+
m: function (date, token) {
|
|
555
553
|
return addLeadingZeros(date.getUTCMinutes(), token.length);
|
|
556
554
|
},
|
|
557
555
|
// Second
|
|
558
|
-
s: function
|
|
556
|
+
s: function (date, token) {
|
|
559
557
|
return addLeadingZeros(date.getUTCSeconds(), token.length);
|
|
560
558
|
},
|
|
561
559
|
// Fraction of second
|
|
562
|
-
S: function
|
|
560
|
+
S: function (date, token) {
|
|
563
561
|
var numberOfDigits = token.length;
|
|
564
562
|
var milliseconds = date.getUTCMilliseconds();
|
|
565
563
|
var fractionalSeconds = Math.floor(milliseconds * Math.pow(10, numberOfDigits - 3));
|
|
@@ -625,7 +623,7 @@ var dayPeriodEnum = {
|
|
|
625
623
|
*/
|
|
626
624
|
var formatters = {
|
|
627
625
|
// Era
|
|
628
|
-
G: function
|
|
626
|
+
G: function (date, token, localize) {
|
|
629
627
|
var era = date.getUTCFullYear() > 0 ? 1 : 0;
|
|
630
628
|
|
|
631
629
|
switch (token) {
|
|
@@ -652,7 +650,7 @@ var formatters = {
|
|
|
652
650
|
}
|
|
653
651
|
},
|
|
654
652
|
// Year
|
|
655
|
-
y: function
|
|
653
|
+
y: function (date, token, localize) {
|
|
656
654
|
// Ordinal number
|
|
657
655
|
if (token === 'yo') {
|
|
658
656
|
var signedYear = date.getUTCFullYear(); // Returns 1 for 1 BC (which is year 0 in JavaScript)
|
|
@@ -666,7 +664,7 @@ var formatters = {
|
|
|
666
664
|
return formatters$1.y(date, token);
|
|
667
665
|
},
|
|
668
666
|
// Local week-numbering year
|
|
669
|
-
Y: function
|
|
667
|
+
Y: function (date, token, localize, options) {
|
|
670
668
|
var signedWeekYear = getUTCWeekYear(date, options); // Returns 1 for 1 BC (which is year 0 in JavaScript)
|
|
671
669
|
|
|
672
670
|
var weekYear = signedWeekYear > 0 ? signedWeekYear : 1 - signedWeekYear; // Two digit year
|
|
@@ -687,7 +685,7 @@ var formatters = {
|
|
|
687
685
|
return addLeadingZeros(weekYear, token.length);
|
|
688
686
|
},
|
|
689
687
|
// ISO week-numbering year
|
|
690
|
-
R: function
|
|
688
|
+
R: function (date, token) {
|
|
691
689
|
var isoWeekYear = getUTCISOWeekYear(date); // Padding
|
|
692
690
|
|
|
693
691
|
return addLeadingZeros(isoWeekYear, token.length);
|
|
@@ -701,12 +699,12 @@ var formatters = {
|
|
|
701
699
|
// | BC 2 | 2 | -1 |
|
|
702
700
|
// Also `yy` always returns the last two digits of a year,
|
|
703
701
|
// while `uu` pads single digit years to 2 characters and returns other years unchanged.
|
|
704
|
-
u: function
|
|
702
|
+
u: function (date, token) {
|
|
705
703
|
var year = date.getUTCFullYear();
|
|
706
704
|
return addLeadingZeros(year, token.length);
|
|
707
705
|
},
|
|
708
706
|
// Quarter
|
|
709
|
-
Q: function
|
|
707
|
+
Q: function (date, token, localize) {
|
|
710
708
|
var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);
|
|
711
709
|
|
|
712
710
|
switch (token) {
|
|
@@ -748,7 +746,7 @@ var formatters = {
|
|
|
748
746
|
}
|
|
749
747
|
},
|
|
750
748
|
// Stand-alone quarter
|
|
751
|
-
q: function
|
|
749
|
+
q: function (date, token, localize) {
|
|
752
750
|
var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);
|
|
753
751
|
|
|
754
752
|
switch (token) {
|
|
@@ -790,7 +788,7 @@ var formatters = {
|
|
|
790
788
|
}
|
|
791
789
|
},
|
|
792
790
|
// Month
|
|
793
|
-
M: function
|
|
791
|
+
M: function (date, token, localize) {
|
|
794
792
|
var month = date.getUTCMonth();
|
|
795
793
|
|
|
796
794
|
switch (token) {
|
|
@@ -828,7 +826,7 @@ var formatters = {
|
|
|
828
826
|
}
|
|
829
827
|
},
|
|
830
828
|
// Stand-alone month
|
|
831
|
-
L: function
|
|
829
|
+
L: function (date, token, localize) {
|
|
832
830
|
var month = date.getUTCMonth();
|
|
833
831
|
|
|
834
832
|
switch (token) {
|
|
@@ -870,7 +868,7 @@ var formatters = {
|
|
|
870
868
|
}
|
|
871
869
|
},
|
|
872
870
|
// Local week of year
|
|
873
|
-
w: function
|
|
871
|
+
w: function (date, token, localize, options) {
|
|
874
872
|
var week = getUTCWeek(date, options);
|
|
875
873
|
|
|
876
874
|
if (token === 'wo') {
|
|
@@ -882,7 +880,7 @@ var formatters = {
|
|
|
882
880
|
return addLeadingZeros(week, token.length);
|
|
883
881
|
},
|
|
884
882
|
// ISO week of year
|
|
885
|
-
I: function
|
|
883
|
+
I: function (date, token, localize) {
|
|
886
884
|
var isoWeek = getUTCISOWeek(date);
|
|
887
885
|
|
|
888
886
|
if (token === 'Io') {
|
|
@@ -894,7 +892,7 @@ var formatters = {
|
|
|
894
892
|
return addLeadingZeros(isoWeek, token.length);
|
|
895
893
|
},
|
|
896
894
|
// Day of the month
|
|
897
|
-
d: function
|
|
895
|
+
d: function (date, token, localize) {
|
|
898
896
|
if (token === 'do') {
|
|
899
897
|
return localize.ordinalNumber(date.getUTCDate(), {
|
|
900
898
|
unit: 'date'
|
|
@@ -904,7 +902,7 @@ var formatters = {
|
|
|
904
902
|
return formatters$1.d(date, token);
|
|
905
903
|
},
|
|
906
904
|
// Day of year
|
|
907
|
-
D: function
|
|
905
|
+
D: function (date, token, localize) {
|
|
908
906
|
var dayOfYear = getUTCDayOfYear(date);
|
|
909
907
|
|
|
910
908
|
if (token === 'Do') {
|
|
@@ -916,7 +914,7 @@ var formatters = {
|
|
|
916
914
|
return addLeadingZeros(dayOfYear, token.length);
|
|
917
915
|
},
|
|
918
916
|
// Day of week
|
|
919
|
-
E: function
|
|
917
|
+
E: function (date, token, localize) {
|
|
920
918
|
var dayOfWeek = date.getUTCDay();
|
|
921
919
|
|
|
922
920
|
switch (token) {
|
|
@@ -953,7 +951,7 @@ var formatters = {
|
|
|
953
951
|
}
|
|
954
952
|
},
|
|
955
953
|
// Local day of week
|
|
956
|
-
e: function
|
|
954
|
+
e: function (date, token, localize, options) {
|
|
957
955
|
var dayOfWeek = date.getUTCDay();
|
|
958
956
|
var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;
|
|
959
957
|
|
|
@@ -1002,7 +1000,7 @@ var formatters = {
|
|
|
1002
1000
|
}
|
|
1003
1001
|
},
|
|
1004
1002
|
// Stand-alone local day of week
|
|
1005
|
-
c: function
|
|
1003
|
+
c: function (date, token, localize, options) {
|
|
1006
1004
|
var dayOfWeek = date.getUTCDay();
|
|
1007
1005
|
var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;
|
|
1008
1006
|
|
|
@@ -1051,7 +1049,7 @@ var formatters = {
|
|
|
1051
1049
|
}
|
|
1052
1050
|
},
|
|
1053
1051
|
// ISO day of week
|
|
1054
|
-
i: function
|
|
1052
|
+
i: function (date, token, localize) {
|
|
1055
1053
|
var dayOfWeek = date.getUTCDay();
|
|
1056
1054
|
var isoDayOfWeek = dayOfWeek === 0 ? 7 : dayOfWeek;
|
|
1057
1055
|
|
|
@@ -1101,7 +1099,7 @@ var formatters = {
|
|
|
1101
1099
|
}
|
|
1102
1100
|
},
|
|
1103
1101
|
// AM or PM
|
|
1104
|
-
a: function
|
|
1102
|
+
a: function (date, token, localize) {
|
|
1105
1103
|
var hours = date.getUTCHours();
|
|
1106
1104
|
var dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am';
|
|
1107
1105
|
|
|
@@ -1134,7 +1132,7 @@ var formatters = {
|
|
|
1134
1132
|
}
|
|
1135
1133
|
},
|
|
1136
1134
|
// AM, PM, midnight, noon
|
|
1137
|
-
b: function
|
|
1135
|
+
b: function (date, token, localize) {
|
|
1138
1136
|
var hours = date.getUTCHours();
|
|
1139
1137
|
var dayPeriodEnumValue;
|
|
1140
1138
|
|
|
@@ -1175,7 +1173,7 @@ var formatters = {
|
|
|
1175
1173
|
}
|
|
1176
1174
|
},
|
|
1177
1175
|
// in the morning, in the afternoon, in the evening, at night
|
|
1178
|
-
B: function
|
|
1176
|
+
B: function (date, token, localize) {
|
|
1179
1177
|
var hours = date.getUTCHours();
|
|
1180
1178
|
var dayPeriodEnumValue;
|
|
1181
1179
|
|
|
@@ -1213,7 +1211,7 @@ var formatters = {
|
|
|
1213
1211
|
}
|
|
1214
1212
|
},
|
|
1215
1213
|
// Hour [1-12]
|
|
1216
|
-
h: function
|
|
1214
|
+
h: function (date, token, localize) {
|
|
1217
1215
|
if (token === 'ho') {
|
|
1218
1216
|
var hours = date.getUTCHours() % 12;
|
|
1219
1217
|
if (hours === 0) hours = 12;
|
|
@@ -1225,7 +1223,7 @@ var formatters = {
|
|
|
1225
1223
|
return formatters$1.h(date, token);
|
|
1226
1224
|
},
|
|
1227
1225
|
// Hour [0-23]
|
|
1228
|
-
H: function
|
|
1226
|
+
H: function (date, token, localize) {
|
|
1229
1227
|
if (token === 'Ho') {
|
|
1230
1228
|
return localize.ordinalNumber(date.getUTCHours(), {
|
|
1231
1229
|
unit: 'hour'
|
|
@@ -1235,7 +1233,7 @@ var formatters = {
|
|
|
1235
1233
|
return formatters$1.H(date, token);
|
|
1236
1234
|
},
|
|
1237
1235
|
// Hour [0-11]
|
|
1238
|
-
K: function
|
|
1236
|
+
K: function (date, token, localize) {
|
|
1239
1237
|
var hours = date.getUTCHours() % 12;
|
|
1240
1238
|
|
|
1241
1239
|
if (token === 'Ko') {
|
|
@@ -1247,7 +1245,7 @@ var formatters = {
|
|
|
1247
1245
|
return addLeadingZeros(hours, token.length);
|
|
1248
1246
|
},
|
|
1249
1247
|
// Hour [1-24]
|
|
1250
|
-
k: function
|
|
1248
|
+
k: function (date, token, localize) {
|
|
1251
1249
|
var hours = date.getUTCHours();
|
|
1252
1250
|
if (hours === 0) hours = 24;
|
|
1253
1251
|
|
|
@@ -1260,7 +1258,7 @@ var formatters = {
|
|
|
1260
1258
|
return addLeadingZeros(hours, token.length);
|
|
1261
1259
|
},
|
|
1262
1260
|
// Minute
|
|
1263
|
-
m: function
|
|
1261
|
+
m: function (date, token, localize) {
|
|
1264
1262
|
if (token === 'mo') {
|
|
1265
1263
|
return localize.ordinalNumber(date.getUTCMinutes(), {
|
|
1266
1264
|
unit: 'minute'
|
|
@@ -1270,7 +1268,7 @@ var formatters = {
|
|
|
1270
1268
|
return formatters$1.m(date, token);
|
|
1271
1269
|
},
|
|
1272
1270
|
// Second
|
|
1273
|
-
s: function
|
|
1271
|
+
s: function (date, token, localize) {
|
|
1274
1272
|
if (token === 'so') {
|
|
1275
1273
|
return localize.ordinalNumber(date.getUTCSeconds(), {
|
|
1276
1274
|
unit: 'second'
|
|
@@ -1280,11 +1278,11 @@ var formatters = {
|
|
|
1280
1278
|
return formatters$1.s(date, token);
|
|
1281
1279
|
},
|
|
1282
1280
|
// Fraction of second
|
|
1283
|
-
S: function
|
|
1281
|
+
S: function (date, token) {
|
|
1284
1282
|
return formatters$1.S(date, token);
|
|
1285
1283
|
},
|
|
1286
1284
|
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
1287
|
-
X: function
|
|
1285
|
+
X: function (date, token, _localize, options) {
|
|
1288
1286
|
var originalDate = options._originalDate || date;
|
|
1289
1287
|
var timezoneOffset = originalDate.getTimezoneOffset();
|
|
1290
1288
|
|
|
@@ -1316,7 +1314,7 @@ var formatters = {
|
|
|
1316
1314
|
}
|
|
1317
1315
|
},
|
|
1318
1316
|
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
1319
|
-
x: function
|
|
1317
|
+
x: function (date, token, _localize, options) {
|
|
1320
1318
|
var originalDate = options._originalDate || date;
|
|
1321
1319
|
var timezoneOffset = originalDate.getTimezoneOffset();
|
|
1322
1320
|
|
|
@@ -1344,7 +1342,7 @@ var formatters = {
|
|
|
1344
1342
|
}
|
|
1345
1343
|
},
|
|
1346
1344
|
// Timezone (GMT)
|
|
1347
|
-
O: function
|
|
1345
|
+
O: function (date, token, _localize, options) {
|
|
1348
1346
|
var originalDate = options._originalDate || date;
|
|
1349
1347
|
var timezoneOffset = originalDate.getTimezoneOffset();
|
|
1350
1348
|
|
|
@@ -1362,7 +1360,7 @@ var formatters = {
|
|
|
1362
1360
|
}
|
|
1363
1361
|
},
|
|
1364
1362
|
// Timezone (specific non-location)
|
|
1365
|
-
z: function
|
|
1363
|
+
z: function (date, token, _localize, options) {
|
|
1366
1364
|
var originalDate = options._originalDate || date;
|
|
1367
1365
|
var timezoneOffset = originalDate.getTimezoneOffset();
|
|
1368
1366
|
|
|
@@ -1380,13 +1378,13 @@ var formatters = {
|
|
|
1380
1378
|
}
|
|
1381
1379
|
},
|
|
1382
1380
|
// Seconds timestamp
|
|
1383
|
-
t: function
|
|
1381
|
+
t: function (date, token, _localize, options) {
|
|
1384
1382
|
var originalDate = options._originalDate || date;
|
|
1385
1383
|
var timestamp = Math.floor(originalDate.getTime() / 1000);
|
|
1386
1384
|
return addLeadingZeros(timestamp, token.length);
|
|
1387
1385
|
},
|
|
1388
1386
|
// Milliseconds timestamp
|
|
1389
|
-
T: function
|
|
1387
|
+
T: function (date, token, _localize, options) {
|
|
1390
1388
|
var originalDate = options._originalDate || date;
|
|
1391
1389
|
var timestamp = originalDate.getTime();
|
|
1392
1390
|
return addLeadingZeros(timestamp, token.length);
|
|
@@ -1425,7 +1423,7 @@ function formatTimezone(offset, dirtyDelimiter) {
|
|
|
1425
1423
|
return sign + hours + delimiter + minutes;
|
|
1426
1424
|
}
|
|
1427
1425
|
|
|
1428
|
-
var dateLongFormatter = function
|
|
1426
|
+
var dateLongFormatter = function (pattern, formatLong) {
|
|
1429
1427
|
switch (pattern) {
|
|
1430
1428
|
case 'P':
|
|
1431
1429
|
return formatLong.date({
|
|
@@ -1450,7 +1448,7 @@ var dateLongFormatter = function dateLongFormatter(pattern, formatLong) {
|
|
|
1450
1448
|
}
|
|
1451
1449
|
};
|
|
1452
1450
|
|
|
1453
|
-
var timeLongFormatter = function
|
|
1451
|
+
var timeLongFormatter = function (pattern, formatLong) {
|
|
1454
1452
|
switch (pattern) {
|
|
1455
1453
|
case 'p':
|
|
1456
1454
|
return formatLong.time({
|
|
@@ -1475,7 +1473,7 @@ var timeLongFormatter = function timeLongFormatter(pattern, formatLong) {
|
|
|
1475
1473
|
}
|
|
1476
1474
|
};
|
|
1477
1475
|
|
|
1478
|
-
var dateTimeLongFormatter = function
|
|
1476
|
+
var dateTimeLongFormatter = function (pattern, formatLong) {
|
|
1479
1477
|
var matchResult = pattern.match(/(P+)(p+)?/) || [];
|
|
1480
1478
|
var datePattern = matchResult[1];
|
|
1481
1479
|
var timePattern = matchResult[2];
|
|
@@ -1605,7 +1603,7 @@ var formatDistanceLocale = {
|
|
|
1605
1603
|
}
|
|
1606
1604
|
};
|
|
1607
1605
|
|
|
1608
|
-
var formatDistance = function
|
|
1606
|
+
var formatDistance = function (token, count, options) {
|
|
1609
1607
|
var result;
|
|
1610
1608
|
var tokenValue = formatDistanceLocale[token];
|
|
1611
1609
|
|
|
@@ -1680,7 +1678,7 @@ var formatRelativeLocale = {
|
|
|
1680
1678
|
other: 'P'
|
|
1681
1679
|
};
|
|
1682
1680
|
|
|
1683
|
-
var formatRelative = function
|
|
1681
|
+
var formatRelative = function (token, _date, _baseDate, _options) {
|
|
1684
1682
|
return formatRelativeLocale[token];
|
|
1685
1683
|
};
|
|
1686
1684
|
|
|
@@ -1797,7 +1795,7 @@ var formattingDayPeriodValues = {
|
|
|
1797
1795
|
}
|
|
1798
1796
|
};
|
|
1799
1797
|
|
|
1800
|
-
var ordinalNumber = function
|
|
1798
|
+
var ordinalNumber = function (dirtyNumber, _options) {
|
|
1801
1799
|
var number = Number(dirtyNumber); // If ordinal numbers depend on context, for example,
|
|
1802
1800
|
// if they are different for different grammatical genders,
|
|
1803
1801
|
// use `options.unit`.
|
|
@@ -1832,7 +1830,7 @@ var localize = {
|
|
|
1832
1830
|
quarter: buildLocalizeFn({
|
|
1833
1831
|
values: quarterValues,
|
|
1834
1832
|
defaultWidth: 'wide',
|
|
1835
|
-
argumentCallback: function
|
|
1833
|
+
argumentCallback: function (quarter) {
|
|
1836
1834
|
return quarter - 1;
|
|
1837
1835
|
}
|
|
1838
1836
|
}),
|
|
@@ -1976,7 +1974,7 @@ var match = {
|
|
|
1976
1974
|
ordinalNumber: buildMatchPatternFn({
|
|
1977
1975
|
matchPattern: matchOrdinalNumberPattern,
|
|
1978
1976
|
parsePattern: parseOrdinalNumberPattern,
|
|
1979
|
-
valueCallback: function
|
|
1977
|
+
valueCallback: function (value) {
|
|
1980
1978
|
return parseInt(value, 10);
|
|
1981
1979
|
}
|
|
1982
1980
|
}),
|
|
@@ -1991,7 +1989,7 @@ var match = {
|
|
|
1991
1989
|
defaultMatchWidth: 'wide',
|
|
1992
1990
|
parsePatterns: parseQuarterPatterns,
|
|
1993
1991
|
defaultParseWidth: 'any',
|
|
1994
|
-
valueCallback: function
|
|
1992
|
+
valueCallback: function (index) {
|
|
1995
1993
|
return index + 1;
|
|
1996
1994
|
}
|
|
1997
1995
|
}),
|
|
@@ -2764,7 +2762,7 @@ function setupMonthYear(value = new Date()) {
|
|
|
2764
2762
|
function validateInput(input = '', validDays = [], validDates = [], // white list
|
|
2765
2763
|
invalidDates = [], // black list
|
|
2766
2764
|
startDate, endDate, formatString = 'mm/dd/yyyy', assume) {
|
|
2767
|
-
let isValid$1 =
|
|
2765
|
+
let isValid$1 = true;
|
|
2768
2766
|
let isAvailable = false;
|
|
2769
2767
|
let messageType = 'info';
|
|
2770
2768
|
let message = `${index.loc('tecton.element.calendar.hint.format')}: ${formatString}`;
|
|
@@ -5033,7 +5033,7 @@ function Autoplay({
|
|
|
5033
5033
|
});
|
|
5034
5034
|
}
|
|
5035
5035
|
|
|
5036
|
-
const stylesCss = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #33b4ff #06C)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}q2-carousel{display:
|
|
5036
|
+
const stylesCss = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #33b4ff #06C)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}q2-carousel{display:grid;grid-template-rows:repeat(2, auto);gap:var(--app-scale-2x, 10px)}.swiper-container{--comp-container-padding:var(--app-scale-1x, 5px) 0 var(--app-scale-2x, 10px);display:block;width:100%;margin-left:auto;margin-right:auto;position:relative;overflow:hidden;padding:var(--tct-carousel-container-padding, var(--t-carousel-container-padding, var(--comp-container-padding, 5px 0 10px)))}.insufficient-pane-feedback{text-align:center;box-shadow:var(--app-shadow-2, 0px 2px 8px 0px rgba(0, 0, 0, 0.25));background-color:var(--tct-carousel-background-color, var(--t-carousel-background-color, var(--tct-white, var(--app-white, #ffffff))));border:var(--tct-carousel-pane-border-width, var(--t-carousel-pane-border-width, 1px)) solid var(--tct-carousel-pane-border-color, var(--t-carousel-pane-border-color, var(--tct-gray-11, var(--t-gray-11, var(--tct-gray-l1, var(--app-gray-l1, #cccccc))))));border-radius:var(--tct-carousel-pane-border-radius, var(--t-carousel-pane-border-radius, 8px));padding:var(--tct-carousel-pane-padding, var(--t-carousel-pane-padding, 0.5rem 0.5rem 0.5rem 0.5rem))}.insufficient-pane-feedback.content-peek-display{max-width:395px;margin:0 auto}.insufficient-pane-feedback .insufficient-panes-header,.insufficient-pane-feedback .insufficient-panes-body{text-align:center}.insufficient-pane-feedback .insufficient-panes-header strong{font-weight:600}.insufficient-pane-feedback .insufficient-panes-body{margin:0 auto 2rem auto;max-width:75%}.insufficient-pane-feedback .insufficient-panes-icon-wrapper{display:flex;justify-content:center;margin:1rem 0 2rem 0}.insufficient-pane-feedback .insufficient-panes-icon-wrapper q2-icon{width:38px}.q2-carousel-pagination-navigation-wrapper{grid-row:2;display:flex;justify-content:center;align-items:center;min-height:44px}.q2-carousel-pagination-navigation-wrapper.evenly-space{justify-content:space-between}.q2-carousel-control-center-tray{display:flex;align-items:center}.q2-carousel-swiper-wrapper.compact{overflow:visible}.q2-carousel-swiper-wrapper.compact q2-btn{margin-top:4px}.q2-carousel-pagination{height:12px;display:flex;align-content:center;justify-content:center;gap:0.5rem}.q2-carousel-pagination .q2-carousel-page-indicator{display:inline-block;height:12px;width:12px;border-radius:50%;background-color:var(--tct-carousel-pagination-inactive-color, var(--t-carousel-pagination-inactive-color, var(--t-a11y--gray-color-AA, #949494)));padding:0;border:0;transition:all 0.5s}.q2-carousel-pagination .q2-carousel-page-indicator:hover{background-color:var(--tct-carousel-pagination-active-color, var(--t-carousel-pagination-active-color, var(--tct-primary, var(--t-primary, #006eb2))))}.q2-carousel-pagination .q2-carousel-page-indicator.active-page{display:inline-block;background-color:var(--tct-carousel-pagination-active-color, var(--t-carousel-pagination-active-color, var(--tct-primary, var(--t-primary, #006eb2))))}.q2-carousel-pagination.dynamic .q2-carousel-page-indicator{display:none}.q2-carousel-pagination.dynamic .q2-carousel-page-indicator.active-adjacent{display:inline-block;height:10px;width:10px}.q2-carousel-pagination.dynamic .q2-carousel-page-indicator.active-adjacent-adjacent{display:inline-block;height:8px;width:8px}.q2-carousel-swiper-container{grid-row:1;}.q2-carousel-swiper-container .swiper-wrapper{position:relative;width:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.q2-carousel-swiper-container.content-peek-display .q2-carousel-pane:not(.swiper-slide-active){transform:scale(0.9)}.q2-carousel-swiper-container.full-width-display{--comp-container-padding:var(--app-scale-1x, 5px) var(--app-scale-2x, 10px) var(--app-scale-2x, 10px);padding:var(--tct-carousel-full-width-container-padding, var(--t-carousel-full-width-container-padding, var(--comp-container-padding, 5px 10px 10px)))}";
|
|
5037
5037
|
|
|
5038
5038
|
const carouselBreakpoint = 500; /* width in px of this host element where the layout starts to get unruly */
|
|
5039
5039
|
const Q2Carousel = class {
|
|
@@ -4,15 +4,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-734296a7.js');
|
|
6
6
|
const index$1 = require('./index-3518c78c.js');
|
|
7
|
-
const icons = require('./icons-
|
|
7
|
+
const icons = require('./icons-2d056aad.js');
|
|
8
8
|
|
|
9
|
-
const stylesCss = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #33b4ff #06C)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:inline-block;height:var(--tct-icon-size, 24px);width:var(--tct-icon-size, 24px);position:relative;fill:none}svg{display:block;position:absolute;top:0;left:0;stroke-width:var(--tct-icon-stroke-width, var(--t-icon-stroke-width, 1.5));stroke-linecap:var(--tct-icon-cap, var(--t-icon-cap, round));stroke-linejoin:var(--tct-icon-cap, var(--t-icon-cap, round))}.stroke-primary{stroke:var(--tct-icon-stroke-primary, var(--t-icon-stroke-primary, var(--t-text, currentColor)))}.stroke-secondary{stroke:var(--tct-icon-stroke-secondary, var(--t-icon-stroke-secondary, var(--t-text, currentColor)))}.fill-primary{fill:var(--tct-icon-stroke-primary, var(--t-icon-stroke-primary, var(--t-text, currentColor)))}.filled{fill:var(--tct-icon-fill, var(--t-icon-fill, none))}.uniform{fill:var(--tct-icon-stroke-primary, var(--t-icon-stroke-primary, currentColor))}:host([type=info]),:host([type=info-filled]){--tct-icon-stroke-primary:transparent;--tct-icon-fill:var(--tct-stoplight-info, var(--const-stoplight-info, #0079c1))}:host([type=success]),:host([type=success-filled]){--tct-icon-stroke-primary:transparent;--tct-icon-fill:var(--tct-stoplight-success, var(--const-stoplight-success, #0e8a00))}:host([type=warning]),:host([type=warning-filled]){--tct-icon-stroke-primary:transparent;--tct-icon-fill:var(--tct-stoplight-warning, var(--const-stoplight-warning, #f0b400))}:host([type=error]),:host([type=error-filled]){--tct-icon-stroke-primary:transparent;--tct-icon-fill:var(--tct-stoplight-alert, var(--const-stoplight-alert, #c30000))}";
|
|
9
|
+
const stylesCss = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #33b4ff #06C)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:inline-block;height:var(--tct-icon-size, 24px);width:var(--tct-icon-size, 24px);position:relative;fill:none}:host([inline]){height:1em;width:1em}svg{display:block;position:absolute;top:0;left:0;stroke-width:var(--tct-icon-stroke-width, var(--t-icon-stroke-width, 1.5));stroke-linecap:var(--tct-icon-cap, var(--t-icon-cap, round));stroke-linejoin:var(--tct-icon-cap, var(--t-icon-cap, round))}.stroke-primary{stroke:var(--tct-icon-stroke-primary, var(--t-icon-stroke-primary, var(--t-text, currentColor)))}.stroke-secondary{stroke:var(--tct-icon-stroke-secondary, var(--t-icon-stroke-secondary, var(--t-text, currentColor)))}.fill-primary{fill:var(--tct-icon-stroke-primary, var(--t-icon-stroke-primary, var(--t-text, currentColor)))}.filled{fill:var(--tct-icon-fill, var(--t-icon-fill, none))}.uniform{fill:var(--tct-icon-stroke-primary, var(--t-icon-stroke-primary, currentColor))}:host([type=info]),:host([type=info-filled]){--tct-icon-stroke-primary:transparent;--tct-icon-fill:var(--tct-stoplight-info, var(--const-stoplight-info, #0079c1))}:host([type=success]),:host([type=success-filled]){--tct-icon-stroke-primary:transparent;--tct-icon-fill:var(--tct-stoplight-success, var(--const-stoplight-success, #0e8a00))}:host([type=warning]),:host([type=warning-filled]){--tct-icon-stroke-primary:transparent;--tct-icon-fill:var(--tct-stoplight-warning, var(--const-stoplight-warning, #f0b400))}:host([type=error]),:host([type=error-filled]){--tct-icon-stroke-primary:transparent;--tct-icon-fill:var(--tct-stoplight-alert, var(--const-stoplight-alert, #c30000))}";
|
|
10
10
|
|
|
11
11
|
const Q2Icon = class {
|
|
12
12
|
constructor(hostRef) {
|
|
13
13
|
index.registerInstance(this, hostRef);
|
|
14
14
|
this.type = undefined;
|
|
15
15
|
this.label = undefined;
|
|
16
|
+
this.inline = undefined;
|
|
16
17
|
}
|
|
17
18
|
get iconMarkup() {
|
|
18
19
|
return (icons.icons[this.type] && icons.icons[this.type].markup()) || '';
|
|
@@ -34,10 +34,7 @@ const Q2Section = class {
|
|
|
34
34
|
}, 1000);
|
|
35
35
|
};
|
|
36
36
|
this.onHeaderSlotChange = () => {
|
|
37
|
-
|
|
38
|
-
const hasSlotContent = this.headerSlot
|
|
39
|
-
? this.headerSlot.assignedNodes().length > 0
|
|
40
|
-
: (_b = (_a = this.headerSlotWrapper) === null || _a === void 0 ? void 0 : _a.children.length) !== null && _b !== void 0 ? _b : 0 > 0;
|
|
37
|
+
const hasSlotContent = !!this.hostElement.querySelector('[slot="q2-section-header"]');
|
|
41
38
|
if (this.hasYieldedHeader !== hasSlotContent) {
|
|
42
39
|
this.hasYieldedHeader = !!hasSlotContent;
|
|
43
40
|
}
|
|
@@ -164,7 +161,8 @@ const Q2Section = class {
|
|
|
164
161
|
else if (contentHeight)
|
|
165
162
|
wrapperClasses.push('is-transitioning');
|
|
166
163
|
}
|
|
167
|
-
|
|
164
|
+
const showDefaultHeader = !this.hasYieldedHeader && !!this.label;
|
|
165
|
+
return (index.h("section", { class: "wrapper" }, index.h("header", { class: hasHeader ? 'has-header' : '' }, index.h("div", { class: "header-content", id: this.titleId, onClick: this.collapsible && this.onHeaderClick }, showDefaultHeader && index.h("h2", { class: "title" }, index$1.loc(this.label)), index.h("div", { ref: el => (this.headerSlotWrapper = el), class: "header-slot-wrapper" }, index.h("slot", { ref: (el) => (this.headerSlot = el), name: "q2-section-header" }))), this.collapsible && !this.noCollapseIcon && (index.h("q2-btn", { label: index$1.loc(this.label || 'tecton.element.section.defaultToggleLabel'), ariaExpanded: `${!!this.expanded}`, ariaControls: this.contentId, "test-id": "toggleButton", "hide-label": true, onClick: this.onHeaderClick }, index.h("q2-icon", { type: "chevron-up" })))), index.h("div", { class: wrapperClasses.join(' '), id: this.contentId, "aria-labelledby": this.titleId, role: "region", onTransitionEnd: this.onTransitionEnd, style: this.collapsible && {
|
|
168
166
|
height: this.contentHeight,
|
|
169
167
|
} }, index.h("div", { ref: el => (this.contentContainer = el), class: "content", tabindex: "-1" }, index.h("slot", { ref: (el) => (this.contentSlot = el) })))));
|
|
170
168
|
}
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-734296a7.js');
|
|
6
6
|
const index$1 = require('./index-3518c78c.js');
|
|
7
7
|
|
|
8
|
-
const stylesCss = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #33b4ff #06C)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:grid;grid-template-columns:var(--tct-advanced-stepper-list-width, var(--t-advanced-stepper-list-width, 180px)) 1fr;gap:var(--tct-advanced-stepper-layout-gap, var(--t-advanced-stepper-layout-gap, 120px))}.step-label,.step-child-label{color:var(--comp-btn-label-color);font-size:var(--comp-btn-label-font-size);font-weight:var(--comp-label-font-weight, 400);height:1.5em}.step-label{text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}[aria-selected=true] .step-label{font-weight:var(--tct-advanced-stepper-btn-active-font-weight, var(--t-advanced-stepper-btn-active-font-weight, 600))}[aria-describedby] .step-label{-webkit-line-clamp:1}.step-child-label{grid-area:content;color:var(--comp-btn-label-color)}.step-description{color:var(--tct-advanced-stepper-description-color, var(--t-advanced-stepper-description-color, var(--t-textA, rgba(77, 77, 77, 0.77))));font-size:var(--tct-advanced-stepper-description-font-size, var(--t-advanced-stepper-description-font-size, var(--app-font-size-small, 12px)));padding-bottom:0.2em}ul{--comp-top-btn-icon-size:var(--tct-advanced-stepper-btn-icon-size, var(--t-advanced-stepper-btn-icon-size, 24px));--comp-btn-icon-size:var(--comp-top-btn-icon-size);--comp-btn-content-gap:var(--tct-advanced-stepper-btn-gap, var(--t-advanced-stepper-btn-gap, var(--app-scale-3x, 15px)));--comp-btn-label-font-size:var-list(var-prefixer(advanced-stepper-btn-label-font-size), 16px);--comp-btn-label-color:var(--tct-advanced-stepper-label-color, var(--t-advanced-stepper-label-color, var(--t-text, #4d4d4d)));--comp-tween:var(--tct-advanced-stepper-tween, var(--t-advanced-stepper-tween, var(--app-tween-1, 0.2s ease)));list-style:none;margin:0;padding:0}ul ul{--comp-btn-icon-size:var(--tct-advanced-stepper-child-btn-icon-size, var(--t-advanced-stepper-child-btn-icon-size, 12px));--comp-btn-content-gap:var(--tct-advanced-stepper-btn-gap, var(--t-advanced-stepper-btn-gap, var(--app-scale-2x, 10px)));--comp-btn-label-font-size:var-list(\n var-prefixer(advanced-stepper-child-btn-label-font-size),\n --app-font-size-small,\n 12px\n )}ul ul[aria-hidden=true]{display:none}.step-btn,.step-child-btn{display:grid;grid-template-columns:var(--comp-btn-icon-size) 1fr;gap:var(--comp-btn-content-gap);text-align:var(--tct-advanced-stepper-btn-text-align, var(--t-advanced-stepper-btn-text-align, start));grid-template-areas:\"icon content\";align-items:center;width:100%;position:relative;background:transparent;border:0;cursor:pointer;padding:0;transition-property:box-shadow;outline:none}.step-btn[aria-disabled],.step-child-btn[aria-disabled]{cursor:default;--comp-label-font-weight:300;--comp-btn-label-color:var(--tct-advanced-stepper-btn-locked-color, var(--t-advanced-stepper-btn-locked-color, var(--t-textA, rgba(77, 77, 77, 0.77))))}.step-btn[aria-selected=true],.step-child-btn[aria-selected=true]{--comp-label-font-weight:600}.step-btn{min-height:var(--tct-advanced-stepper-btn-height, var(--t-advanced-stepper-btn-height, 40px));font-size:var(--tct-advanced-stepper-btn-font-size, var(--t-advanced-stepper-btn-font-size, 16px));--comp-active-color:var(--t-primary, #0079c1)}.step-btn.status-complete{--comp-active-color:var(--const-stoplight-success, #0e8a00)}.step-btn.status-error{--comp-active-color:var(--const-stoplight-alert, #c30000)}.step-btn.status-locked{cursor:not-allowed}.step-child-btn{--comp-active-color:var(--t-primary, #0079c1);min-height:var(--tct-advanced-stepper-child-btn-height, var(--t-advanced-stepper-child-btn-height, 30px));padding-left:var(--tct-advanced-stepper-child-btn-left-padding, var(--t-advanced-stepper-child-btn-left-padding, var(--app-scale-2x, 10px)));font-size:var(--tct-advanced-stepper-child-btn-font-size, var(--t-advanced-stepper-child-btn-font-size, 12px));border-left-width:var(--tct-advanced-stepper-child-btn-left-border-width, var(--t-advanced-stepper-child-btn-left-border-width, 3px));border-left-style:var(--tct-advanced-stepper-child-btn-left-border-style, var(--t-advanced-stepper-child-btn-left-border-style, solid));border-left-color:transparent}.step-child-btn[aria-selected=true]{--comp-btn-label-color:var(--comp-active-color);border-left-color:var(--comp-active-color)}.step-child-btn.status-error{--comp-btn-label-color:var(--const-stoplight-alert, #c30000);--comp-active-color:var(--const-stoplight-alert, #c30000)}.step-child-btn.status-locked{cursor:not-allowed}.step-content{grid-area:content}.step-icon,.step-bubble,.step-child-icon{grid-area:icon;width:var(--comp-btn-icon-size);height:var(--comp-btn-icon-size)}.step-icon q2-icon,.step-bubble q2-icon,.step-child-icon q2-icon{width:var(--comp-btn-icon-size);height:var(--comp-btn-icon-size);--tct-icon-
|
|
8
|
+
const stylesCss = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #33b4ff #06C)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:grid;grid-template-columns:var(--tct-advanced-stepper-list-width, var(--t-advanced-stepper-list-width, 180px)) 1fr;gap:var(--tct-advanced-stepper-layout-gap, var(--t-advanced-stepper-layout-gap, 120px))}.step-label,.step-child-label{color:var(--comp-btn-label-color);font-size:var(--comp-btn-label-font-size);font-weight:var(--comp-label-font-weight, 400);height:1.5em}.step-label{text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}[aria-selected=true] .step-label{font-weight:var(--tct-advanced-stepper-btn-active-font-weight, var(--t-advanced-stepper-btn-active-font-weight, 600))}[aria-describedby] .step-label{-webkit-line-clamp:1}.step-child-label{grid-area:content;color:var(--comp-btn-label-color)}.step-description{color:var(--tct-advanced-stepper-description-color, var(--t-advanced-stepper-description-color, var(--t-textA, rgba(77, 77, 77, 0.77))));font-size:var(--tct-advanced-stepper-description-font-size, var(--t-advanced-stepper-description-font-size, var(--app-font-size-small, 12px)));padding-bottom:0.2em}ul{--comp-top-btn-icon-size:var(--tct-advanced-stepper-btn-icon-size, var(--t-advanced-stepper-btn-icon-size, 24px));--comp-btn-icon-size:var(--comp-top-btn-icon-size);--comp-btn-content-gap:var(--tct-advanced-stepper-btn-gap, var(--t-advanced-stepper-btn-gap, var(--app-scale-3x, 15px)));--comp-btn-label-font-size:var-list(var-prefixer(advanced-stepper-btn-label-font-size), 16px);--comp-btn-label-color:var(--tct-advanced-stepper-label-color, var(--t-advanced-stepper-label-color, var(--t-text, #4d4d4d)));--comp-tween:var(--tct-advanced-stepper-tween, var(--t-advanced-stepper-tween, var(--app-tween-1, 0.2s ease)));list-style:none;margin:0;padding:0}ul ul{--comp-btn-icon-size:var(--tct-advanced-stepper-child-btn-icon-size, var(--t-advanced-stepper-child-btn-icon-size, 12px));--comp-btn-content-gap:var(--tct-advanced-stepper-btn-gap, var(--t-advanced-stepper-btn-gap, var(--app-scale-2x, 10px)));--comp-btn-label-font-size:var-list(\n var-prefixer(advanced-stepper-child-btn-label-font-size),\n --app-font-size-small,\n 12px\n )}ul ul[aria-hidden=true]{display:none}.step-btn,.step-child-btn{display:grid;grid-template-columns:var(--comp-btn-icon-size) 1fr;gap:var(--comp-btn-content-gap);text-align:var(--tct-advanced-stepper-btn-text-align, var(--t-advanced-stepper-btn-text-align, start));grid-template-areas:\"icon content\";align-items:center;width:100%;position:relative;background:transparent;border:0;cursor:pointer;padding:0;transition-property:box-shadow;outline:none}.step-btn[aria-disabled],.step-child-btn[aria-disabled]{cursor:default;--comp-label-font-weight:300;--comp-btn-label-color:var(--tct-advanced-stepper-btn-locked-color, var(--t-advanced-stepper-btn-locked-color, var(--t-textA, rgba(77, 77, 77, 0.77))))}.step-btn[aria-selected=true],.step-child-btn[aria-selected=true]{--comp-label-font-weight:600}.step-btn{min-height:var(--tct-advanced-stepper-btn-height, var(--t-advanced-stepper-btn-height, 40px));font-size:var(--tct-advanced-stepper-btn-font-size, var(--t-advanced-stepper-btn-font-size, 16px));--comp-active-color:var(--t-primary, #0079c1)}.step-btn.status-complete{--comp-active-color:var(--const-stoplight-success, #0e8a00)}.step-btn.status-error{--comp-active-color:var(--const-stoplight-alert, #c30000)}.step-btn.status-locked{cursor:not-allowed}.step-child-btn{--comp-active-color:var(--t-primary, #0079c1);min-height:var(--tct-advanced-stepper-child-btn-height, var(--t-advanced-stepper-child-btn-height, 30px));padding-left:var(--tct-advanced-stepper-child-btn-left-padding, var(--t-advanced-stepper-child-btn-left-padding, var(--app-scale-2x, 10px)));font-size:var(--tct-advanced-stepper-child-btn-font-size, var(--t-advanced-stepper-child-btn-font-size, 12px));border-left-width:var(--tct-advanced-stepper-child-btn-left-border-width, var(--t-advanced-stepper-child-btn-left-border-width, 3px));border-left-style:var(--tct-advanced-stepper-child-btn-left-border-style, var(--t-advanced-stepper-child-btn-left-border-style, solid));border-left-color:transparent}.step-child-btn[aria-selected=true]{--comp-btn-label-color:var(--comp-active-color);border-left-color:var(--comp-active-color)}.step-child-btn.status-error{--comp-btn-label-color:var(--const-stoplight-alert, #c30000);--comp-active-color:var(--const-stoplight-alert, #c30000)}.step-child-btn.status-locked{cursor:not-allowed}.step-content{grid-area:content}.step-icon,.step-bubble,.step-child-icon{grid-area:icon;width:var(--comp-btn-icon-size);height:var(--comp-btn-icon-size);line-height:0}.step-icon q2-icon,.step-bubble q2-icon,.step-child-icon q2-icon{width:var(--comp-btn-icon-size);height:var(--comp-btn-icon-size);--tct-icon-fill:var(--comp-active-color)}.step-icon,.step-bubble{background:var(--t-primary, #0079c1);color:var(--t-base, #ffffff);border-radius:50%}.status-complete .step-icon,.status-error .step-icon,.status-complete .step-bubble,.status-error .step-bubble{background:var(--comp-active-color)}.step-icon q2-icon,.step-bubble q2-icon{--tct-icon-fill:var(--comp-active-color)}.step-icon q2-icon:before,.step-bubble q2-icon:before{content:\"\";display:block;background:var(--t-base, #ffffff);position:absolute;width:80%;height:80%;left:11%;top:11%;border-radius:50%}.status-locked .step-icon,.status-locked .step-bubble{background:var(--t-gray-12, #d9d9d9);color:var(--t-text, #4d4d4d)}[aria-selected=true] .step-icon,[aria-selected=true] .step-bubble{box-shadow:0 0 0 2px var(--t-base, #ffffff), 0 0 0 4px var(--comp-active-color)}.step-bubble{display:flex;justify-content:center;align-items:center;line-height:0}.step-child-icon q2-icon{--tct-icon-stroke-primary:var(--comp-active-color);--tct-icon-stroke-secondary:var(--comp-active-color)}[aria-selected=true] .step-child-icon q2-icon{fill:var(--comp-active-color);--tct-icon-stroke-secondary:var(--t-base, #ffffff)}.spacer{height:var(--tct-advanced-stepper-spacer-height, var(--t-advanced-stepper-spacer-height, var(--app-scale-6x, 30px)));border-left-width:var(--tct-advanced-stepper-child-border-width, var(--t-advanced-stepper-child-border-width, 1px));border-left-style:var(--tct-advanced-stepper-child-border-style, var(--t-advanced-stepper-child-border-style, solid));border-left-color:var(--tct-advanced-stepper-child-border-color, var(--t-advanced-stepper-child-border-color, var(--t-gray-12, #d9d9d9)));overflow:hidden;margin-left:calc(var(--comp-top-btn-icon-size) / 2);transition:height var(--comp-tween)}.spacer ul{opacity:0;transition:opacity var(--comp-tween)}.spacer.is-opening ul,.spacer.is-open ul{display:block;opacity:1 !important}.spacer.is-open{overflow:visible}";
|
|
9
9
|
|
|
10
10
|
const Q2AdvancedStepper = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -241,9 +241,9 @@ const Q2AdvancedStepper = class {
|
|
|
241
241
|
const btnLabel = !label && index$1.loc('tecton.element.advancedStepper.number', [`${stepNumber}`, `${structuredPanes.length}`]);
|
|
242
242
|
let statusIcon;
|
|
243
243
|
if (status === 'complete')
|
|
244
|
-
statusIcon = 'success';
|
|
244
|
+
statusIcon = 'success-filled';
|
|
245
245
|
else if (status === 'error')
|
|
246
|
-
statusIcon = 'warning';
|
|
246
|
+
statusIcon = 'warning-filled';
|
|
247
247
|
const stepClasses = ['step-btn'];
|
|
248
248
|
if (status)
|
|
249
249
|
stepClasses.push(`status-${status}`);
|
|
@@ -261,7 +261,7 @@ const Q2AdvancedStepper = class {
|
|
|
261
261
|
const btnLabel = !label && index$1.loc('tecton.element.advancedStepper.childNumber', [`${stepNumber}`, `${children}`, parentLabel]);
|
|
262
262
|
let statusIcon;
|
|
263
263
|
if (status === 'error')
|
|
264
|
-
statusIcon = 'warning';
|
|
264
|
+
statusIcon = 'warning-filled';
|
|
265
265
|
const stepClasses = ['step-child-btn'];
|
|
266
266
|
if (status)
|
|
267
267
|
stepClasses.push(`status-${status}`);
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index$1 = require('./index-734296a7.js');
|
|
6
6
|
const index = require('./index-3518c78c.js');
|
|
7
7
|
|
|
8
|
-
const stylesCss = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #33b4ff #06C)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:block;position:relative}ul{--comp-bullet-bg:var(--tct-stepper-bullet-active-bg, var(--t-stepper-bullet-active-bg, var(--t-primary, #0079c1)));--comp-bullet-font-color:var(--tct-stepper-bullet-active-font-color, var(--t-stepper-bullet-active-font-color, var(--t-primary-font-color, #ffffff)));--comp-bullet-size:var(--tct-stepper-btn-icon-size, var(--t-stepper-btn-icon-size, 24px));--comp-bullet-gap:var(--tct-stepper-btn-gap, var(--t-stepper-btn-gap, var(--app-scale-3x, 15px)));--comp-bullet-border-offset:var(--tct-stepper-bullet-border-offset, var(--t-stepper-bullet-border-offset, 4px));--comp-bullet-border:var(--tct-stepper-bullet-border, var(--t-stepper-bullet-border, 2px solid var(--t-primary-l3, #21acff)));--comp-bullet-font-size:var-list(var-prefixer(stepper-btn-label-font-size), 16px);--comp-step-width:var(--tct-stepper-step-width, var(--t-stepper-step-width, var(--t-stepper-step-width, 80px)));--comp-step-gap:var(--tct-stepper-step-gap, var(--t-stepper-step-gap, 5px));--comp-top-btn-icon-size:var(--tct-stepper-btn-icon-size, var(--t-stepper-btn-icon-size, 24px));--comp-btn-icon-size:var(--comp-top-btn-icon-size);--comp-btn-content-gap:var(--tct-stepper-btn-gap, var(--t-stepper-btn-gap, var(--app-scale-3x, 15px)));--comp-btn-label-font-size:var-list(var-prefixer(stepper-btn-label-font-size), 16px);--comp-btn-label-color:var(--tct-stepper-label-color, var(--t-stepper-label-color, var(--t-text, #4d4d4d)));--comp-tween:var(--tct-stepper-tween, var(--t-stepper-tween, var(--app-tween-1, 0.2s ease)));overflow-x:auto;display:flex;justify-content:center;list-style:none;padding:0;padding:var(--tct-stepper-list-padding, var(--t-stepper-list-padding, 2px));margin:0;gap:var(--comp-step-gap);--comp-scrollbar-size:var(--tct-scrollbar-size, var(--t-scrollbar-size, var(--app-scale-1x, 5px)));--comp-scrollbar-border-radius:var(--tct-scrollbar-border-radius, var(--t-scrollbar-border-radius, var(--app-border-radius-1, 3px)));--comp-scrollbar-color:var(--tct-scrollbar-color, var(--t-scrollbar-color, var(--t-a11y-gray-color, #747474)));scrollbar-width:thin;scrollbar-color:var(--comp-scrollbar-color) transparent}ul::-webkit-scrollbar{width:var(--comp-scrollbar-size);height:var(--comp-scrollbar-size);margin:5px}ul::-webkit-scrollbar-thumb{background:var(--comp-scrollbar-color);border-radius:var(--comp-scrollbar-border-radius)}ul::-webkit-scrollbar-track{background:transparent;border-radius:var(--comp-scrollbar-border-radius)}.has-scroll ul{justify-content:unset}li{min-height:var(--tct-stepper-min-height, var(--t-stepper-min-height, 50px));flex:0 0 auto;position:relative;width:var(--comp-step-width);text-align:center;max-width:150px;min-width:80px}.step-btn{position:relative;background:transparent;border:0;cursor:pointer;display:flex;flex-direction:column;align-items:center;height:calc(100% - 4px);width:100%;transition:var(--comp-tween);padding:0;transition-property:box-shadow;outline:none;margin-top:2px;--comp-active-color:var(--t-primary, #0079c1)}.step-btn.status-complete{--comp-active-color:var(--const-stoplight-success, #0e8a00)}.step-btn.status-error{--comp-active-color:var(--const-stoplight-alert, #c30000)}.step-btn[aria-disabled]{cursor:not-allowed}.step-btn[aria-disabled],.step-btn[aria-disabled]+hr{--comp-bullet-font-color:var(--tct-stepper-bullet-inactive-font-color, var(--t-stepper-bullet-inactive-font-color, var(--t-text, #4d4d4d)));--comp-bullet-bg:var(--tct-stepper-bullet-inactive-bg, var(--t-stepper-bullet-inactive-bg, var(--t-gray-12, #d9d9d9)))}.step-icon,.step-bubble{display:flex;justify-content:center;align-items:center;line-height:0;margin:var(--comp-bullet-gap) auto;color:var(--comp-bullet-font-color);width:var(--comp-btn-icon-size);height:var(--comp-btn-icon-size);min-height:var(--comp-btn-icon-size);font-size:var(--comp-bullet-font-size);transition:var(--comp-tween);transition-property:background, color;border-radius:50%;position:relative}.step-icon q2-icon,.step-bubble q2-icon{fill:var(--comp-active-color)
|
|
8
|
+
const stylesCss = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #33b4ff #06C)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:block;position:relative}ul{--comp-bullet-bg:var(--tct-stepper-bullet-active-bg, var(--t-stepper-bullet-active-bg, var(--t-primary, #0079c1)));--comp-bullet-font-color:var(--tct-stepper-bullet-active-font-color, var(--t-stepper-bullet-active-font-color, var(--t-primary-font-color, #ffffff)));--comp-bullet-size:var(--tct-stepper-btn-icon-size, var(--t-stepper-btn-icon-size, 24px));--comp-bullet-gap:var(--tct-stepper-btn-gap, var(--t-stepper-btn-gap, var(--app-scale-3x, 15px)));--comp-bullet-border-offset:var(--tct-stepper-bullet-border-offset, var(--t-stepper-bullet-border-offset, 4px));--comp-bullet-border:var(--tct-stepper-bullet-border, var(--t-stepper-bullet-border, 2px solid var(--t-primary-l3, #21acff)));--comp-bullet-font-size:var-list(var-prefixer(stepper-btn-label-font-size), 16px);--comp-step-width:var(--tct-stepper-step-width, var(--t-stepper-step-width, var(--t-stepper-step-width, 80px)));--comp-step-gap:var(--tct-stepper-step-gap, var(--t-stepper-step-gap, 5px));--comp-top-btn-icon-size:var(--tct-stepper-btn-icon-size, var(--t-stepper-btn-icon-size, 24px));--comp-btn-icon-size:var(--comp-top-btn-icon-size);--comp-btn-content-gap:var(--tct-stepper-btn-gap, var(--t-stepper-btn-gap, var(--app-scale-3x, 15px)));--comp-btn-label-font-size:var-list(var-prefixer(stepper-btn-label-font-size), 16px);--comp-btn-label-color:var(--tct-stepper-label-color, var(--t-stepper-label-color, var(--t-text, #4d4d4d)));--comp-tween:var(--tct-stepper-tween, var(--t-stepper-tween, var(--app-tween-1, 0.2s ease)));overflow-x:auto;display:flex;justify-content:center;list-style:none;padding:0;padding:var(--tct-stepper-list-padding, var(--t-stepper-list-padding, 2px));margin:0;gap:var(--comp-step-gap);--comp-scrollbar-size:var(--tct-scrollbar-size, var(--t-scrollbar-size, var(--app-scale-1x, 5px)));--comp-scrollbar-border-radius:var(--tct-scrollbar-border-radius, var(--t-scrollbar-border-radius, var(--app-border-radius-1, 3px)));--comp-scrollbar-color:var(--tct-scrollbar-color, var(--t-scrollbar-color, var(--t-a11y-gray-color, #747474)));scrollbar-width:thin;scrollbar-color:var(--comp-scrollbar-color) transparent}ul::-webkit-scrollbar{width:var(--comp-scrollbar-size);height:var(--comp-scrollbar-size);margin:5px}ul::-webkit-scrollbar-thumb{background:var(--comp-scrollbar-color);border-radius:var(--comp-scrollbar-border-radius)}ul::-webkit-scrollbar-track{background:transparent;border-radius:var(--comp-scrollbar-border-radius)}.has-scroll ul{justify-content:unset}li{min-height:var(--tct-stepper-min-height, var(--t-stepper-min-height, 50px));flex:0 0 auto;position:relative;width:var(--comp-step-width);text-align:center;max-width:150px;min-width:80px}.step-btn{position:relative;background:transparent;border:0;cursor:pointer;display:flex;flex-direction:column;align-items:center;height:calc(100% - 4px);width:100%;transition:var(--comp-tween);padding:0;transition-property:box-shadow;outline:none;margin-top:2px;--comp-active-color:var(--t-primary, #0079c1)}.step-btn.status-complete{--comp-active-color:var(--const-stoplight-success, #0e8a00)}.step-btn.status-error{--comp-active-color:var(--const-stoplight-alert, #c30000)}.step-btn[aria-disabled]{cursor:not-allowed}.step-btn[aria-disabled],.step-btn[aria-disabled]+hr{--comp-bullet-font-color:var(--tct-stepper-bullet-inactive-font-color, var(--t-stepper-bullet-inactive-font-color, var(--t-text, #4d4d4d)));--comp-bullet-bg:var(--tct-stepper-bullet-inactive-bg, var(--t-stepper-bullet-inactive-bg, var(--t-gray-12, #d9d9d9)))}.step-icon,.step-bubble{display:flex;justify-content:center;align-items:center;line-height:0;margin:var(--comp-bullet-gap) auto;color:var(--comp-bullet-font-color);width:var(--comp-btn-icon-size);height:var(--comp-btn-icon-size);min-height:var(--comp-btn-icon-size);font-size:var(--comp-bullet-font-size);transition:var(--comp-tween);transition-property:background, color;border-radius:50%;position:relative}.step-icon q2-icon,.step-bubble q2-icon{--tct-icon-fill:var(--comp-active-color)}.step-icon q2-icon:before,.step-bubble q2-icon:before{content:\"\";display:block;background:var(--comp-bullet-font-color);position:absolute;width:80%;height:80%;left:11%;top:11%;border-radius:50%}.status-complete .step-icon,.status-error .step-icon,.status-complete .step-bubble,.status-error .step-bubble{background:var(--comp-active-color)}[aria-selected] .step-icon,[aria-selected] .step-bubble{font-weight:var(--tct-stepper-bullet-active-font-weight, var(--t-stepper-bullet-active-font-weight, 600))}[aria-selected] .step-icon:before,[aria-selected] .step-bubble:before{content:\"\";position:absolute;inset:calc(var(--comp-bullet-border-offset) * -1);width:calc(var(--comp-bullet-size) + var(--comp-bullet-border-offset));height:calc(var(--comp-bullet-size) + var(--comp-bullet-border-offset));border-radius:50%;border:var(--comp-bullet-border);border-color:var(--comp-active-color)}.step-bubble{background:var(--comp-bullet-bg)}hr{width:calc(var(--comp-step-width) - var(--comp-step-gap) - var(--comp-bullet-gap) - var(--comp-bullet-size));top:calc(var(--comp-bullet-size) / 2 + var(--comp-bullet-gap));left:calc(var(--comp-step-width) * -0.5 + var(--comp-step-gap) + var(--comp-bullet-gap));border:0;border-top:1px solid var(--comp-bullet-bg);height:0;position:absolute;margin:0;transition:border var(--comp-tween)}.step-container{position:relative}.step-label{color:var(--tct-stepper-title-color, var(--t-stepper-title-color, var(--t-text, #4d4d4d)));font-size:var(--tct-stepper-title-font-size, var(--t-stepper-title-font-size, var(--app-font-size-small, 12px)));height:1.5em;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}[aria-selected] .step-label{font-weight:var(--tct-stepper-active-font-weight, var(--t-stepper-active-font-weight, 600))}[aria-describedby] .step-label{-webkit-line-clamp:1}.step-description{color:var(--tct-stepper-description-color, var(--t-stepper-description-color, var(--t-textA, rgba(77, 77, 77, 0.77))));font-size:var(--tct-stepper-description-font-size, var(--t-stepper-description-font-size, var(--app-font-size-small, 12px)));text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;padding-bottom:0.2em}.gradient-left,.gradient-right{z-index:1;position:absolute;top:0;height:100%;width:18px}.gradient-left{background-image:linear-gradient(to left, var(--t-base-a0, rgba(255, 255, 255, 0)), var(--t-base-a2, rgba(255, 255, 255, 0.5)) 10%, var(--t-base, #ffffff) 100%);left:0}.gradient-right{background-image:linear-gradient(to right, var(--t-base-a0, rgba(255, 255, 255, 0)), var(--t-base-a2, rgba(255, 255, 255, 0.5)) 10%, var(--t-base, #ffffff) 100%);right:0}.btn-left,.btn-right{--tct-icon-size:18px;--tct-btn-icon-hover-bg:transparent;--tct-btn-icon-width:22px;--tct-icon-stroke-primary:var(--tct-stepper-scroll-arrow-color, var(--t-stepper-scroll-arrow-color, var(--t-text, #4d4d4d)));position:absolute;top:calc(50% - 22px);z-index:2}.btn-left q2-icon,.btn-right q2-icon{--tct-icon-stroke-width:3}.btn-left{left:0}.btn-right{right:0}";
|
|
9
9
|
|
|
10
10
|
index.addSmoothScrollPolyfill();
|
|
11
11
|
const Q2Stepper = class {
|
|
@@ -185,9 +185,9 @@ const Q2Stepper = class {
|
|
|
185
185
|
const btnLabel = !label && index.loc('tecton.element.stepper.number', [`${stepNumber}`, `${stepCount}`]);
|
|
186
186
|
let statusIcon;
|
|
187
187
|
if (status === 'complete')
|
|
188
|
-
statusIcon = 'success';
|
|
188
|
+
statusIcon = 'success-filled';
|
|
189
189
|
else if (status === 'error')
|
|
190
|
-
statusIcon = 'warning';
|
|
190
|
+
statusIcon = 'warning-filled';
|
|
191
191
|
const stepClasses = ['step-btn'];
|
|
192
192
|
if (status)
|
|
193
193
|
stepClasses.push(`status-${status}`);
|