q2-tecton-elements 1.21.2 → 1.22.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/installCanvasRenderer-b4d10c92.js +38433 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-badge_2.cjs.entry.js +5 -3
- package/dist/cjs/q2-calendar.cjs.entry.js +75 -55
- package/dist/cjs/q2-carousel.cjs.entry.js +3 -3
- package/dist/cjs/q2-chart-bar.cjs.entry.js +4679 -0
- package/dist/cjs/q2-chart-donut.cjs.entry.js +357 -35592
- package/dist/cjs/q2-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/q2-editable-field.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio.cjs.entry.js +1 -1
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/q2-calendar/index.js +43 -2
- package/dist/collection/components/q2-chart-bar/index.js +466 -0
- package/dist/collection/components/q2-chart-bar/styles.css +85 -0
- package/dist/collection/components/q2-chart-donut/index.js +3 -3
- package/dist/collection/components/q2-checkbox/styles.css +5 -1
- package/dist/collection/components/q2-editable-field/styles.css +1 -1
- package/dist/collection/components/q2-input/formatting/phone.js +2 -2
- package/dist/collection/components/q2-input/index.js +21 -0
- package/dist/collection/components/q2-input/styles.css +2 -2
- package/dist/collection/components/q2-radio/styles.css +1 -1
- package/dist/collection/utils/charting.js +182 -0
- package/dist/components/click-elsewhere.d.ts +11 -0
- package/dist/components/click-elsewhere.js +6 -0
- package/dist/components/index.d.ts +62 -0
- package/dist/components/index.js +42 -0
- package/dist/components/index10.js +84 -0
- package/dist/components/index11.js +383 -0
- package/dist/components/index12.js +125 -0
- package/dist/components/index13.js +602 -0
- package/dist/components/index2.js +100 -0
- package/dist/components/index3.js +90 -0
- package/dist/components/index4.js +62 -0
- package/dist/components/index5.js +146 -0
- package/dist/components/index6.js +145 -0
- package/dist/components/index7.js +2960 -0
- package/dist/components/index8.js +3356 -0
- package/dist/components/index9.js +101 -0
- package/dist/components/installCanvasRenderer.js +38282 -0
- package/dist/components/q2-avatar.d.ts +11 -0
- package/dist/components/q2-avatar.js +6 -0
- package/dist/components/q2-badge.d.ts +11 -0
- package/dist/components/q2-badge.js +6 -0
- package/dist/components/q2-btn.d.ts +11 -0
- package/dist/components/q2-btn.js +6 -0
- package/dist/components/q2-calendar.d.ts +11 -0
- package/dist/components/q2-calendar.js +3755 -0
- package/dist/components/q2-card.d.ts +11 -0
- package/dist/components/q2-card.js +187 -0
- package/dist/components/q2-carousel-pane.d.ts +11 -0
- package/dist/components/q2-carousel-pane.js +97 -0
- package/dist/components/q2-carousel.d.ts +11 -0
- package/dist/components/q2-carousel.js +5379 -0
- package/dist/components/q2-chart-bar.d.ts +11 -0
- package/dist/components/q2-chart-bar.js +4710 -0
- package/dist/components/q2-chart-donut.d.ts +11 -0
- package/dist/components/q2-chart-donut.js +4887 -0
- package/dist/components/q2-checkbox-group.d.ts +11 -0
- package/dist/components/q2-checkbox-group.js +114 -0
- package/dist/components/q2-checkbox.d.ts +11 -0
- package/dist/components/q2-checkbox.js +138 -0
- package/dist/components/q2-dropdown-item.d.ts +11 -0
- package/dist/components/q2-dropdown-item.js +6 -0
- package/dist/components/q2-dropdown.d.ts +11 -0
- package/dist/components/q2-dropdown.js +345 -0
- package/dist/components/q2-editable-field.d.ts +11 -0
- package/dist/components/q2-editable-field.js +220 -0
- package/dist/components/q2-icon.d.ts +11 -0
- package/dist/components/q2-icon.js +6 -0
- package/dist/components/q2-input.d.ts +11 -0
- package/dist/components/q2-input.js +6 -0
- package/dist/components/q2-loading-element.d.ts +11 -0
- package/dist/components/q2-loading-element.js +52 -0
- package/dist/components/q2-loading.d.ts +11 -0
- package/dist/components/q2-loading.js +6 -0
- package/dist/components/q2-loc.d.ts +11 -0
- package/dist/components/q2-loc.js +40 -0
- package/dist/components/q2-message.d.ts +11 -0
- package/dist/components/q2-message.js +6 -0
- package/dist/components/q2-month-picker.d.ts +11 -0
- package/dist/components/q2-month-picker.js +189 -0
- package/dist/components/q2-optgroup.d.ts +11 -0
- package/dist/components/q2-optgroup.js +75 -0
- package/dist/components/q2-option-list.d.ts +11 -0
- package/dist/components/q2-option-list.js +6 -0
- package/dist/components/q2-option.d.ts +11 -0
- package/dist/components/q2-option.js +81 -0
- package/dist/components/q2-pagination.d.ts +11 -0
- package/dist/components/q2-pagination.js +184 -0
- package/dist/components/q2-pill.d.ts +11 -0
- package/dist/components/q2-pill.js +216 -0
- package/dist/components/q2-popover.d.ts +11 -0
- package/dist/components/q2-popover.js +6 -0
- package/dist/components/q2-radio-group.d.ts +11 -0
- package/dist/components/q2-radio-group.js +191 -0
- package/dist/components/q2-radio.d.ts +11 -0
- package/dist/components/q2-radio.js +105 -0
- package/dist/components/q2-section.d.ts +11 -0
- package/dist/components/q2-section.js +218 -0
- package/dist/components/q2-select.d.ts +11 -0
- package/dist/components/q2-select.js +817 -0
- package/dist/components/q2-stepper-pane.d.ts +11 -0
- package/dist/components/q2-stepper-pane.js +92 -0
- package/dist/components/q2-stepper-vertical.d.ts +11 -0
- package/dist/components/q2-stepper-vertical.js +311 -0
- package/dist/components/q2-stepper.d.ts +11 -0
- package/dist/components/q2-stepper.js +252 -0
- package/dist/components/q2-tab-container.d.ts +11 -0
- package/dist/components/q2-tab-container.js +288 -0
- package/dist/components/q2-tab-pane.d.ts +11 -0
- package/dist/components/q2-tab-pane.js +58 -0
- package/dist/components/q2-tag.d.ts +11 -0
- package/dist/components/q2-tag.js +156 -0
- package/dist/components/q2-textarea.d.ts +11 -0
- package/dist/components/q2-textarea.js +265 -0
- package/dist/components/q2-tooltip.d.ts +11 -0
- package/dist/components/q2-tooltip.js +112 -0
- package/dist/components/shapes.js +91 -0
- package/dist/components/tecton-tab-pane.d.ts +11 -0
- package/dist/components/tecton-tab-pane.js +111 -0
- package/dist/esm/installCanvasRenderer-0143b52d.js +38282 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-badge_2.entry.js +5 -3
- package/dist/esm/q2-calendar.entry.js +75 -55
- package/dist/esm/q2-carousel.entry.js +3 -3
- package/dist/esm/q2-chart-bar.entry.js +4675 -0
- package/dist/esm/q2-chart-donut.entry.js +171 -35406
- package/dist/esm/q2-checkbox.entry.js +1 -1
- package/dist/esm/q2-editable-field.entry.js +1 -1
- package/dist/esm/q2-radio.entry.js +1 -1
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/q2-tecton-elements/p-1f85cced.js +39 -0
- package/dist/q2-tecton-elements/{p-89608314.entry.js → p-4625184b.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-9772b15f.entry.js → p-520c40f6.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-6b52a262.entry.js +1 -0
- package/dist/q2-tecton-elements/p-c4640b55.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-7e8f43d1.entry.js → p-cf41970f.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-e4dc9ac0.entry.js +1 -0
- package/dist/q2-tecton-elements/p-f35bf6a3.entry.js +1 -0
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/types/components/q2-calendar/index.d.ts +3 -0
- package/dist/types/components/q2-chart-bar/index.d.ts +40 -0
- package/dist/types/components/q2-chart-donut/index.d.ts +7 -10
- package/dist/types/components/q2-input/index.d.ts +1 -0
- package/dist/types/components.d.ts +50 -3
- package/dist/types/utils/charting.d.ts +14 -0
- package/package.json +5 -2
- package/dist/q2-tecton-elements/p-0766a694.entry.js +0 -1
- package/dist/q2-tecton-elements/p-5f064e1e.entry.js +0 -39
- package/dist/q2-tecton-elements/p-8d25ec52.entry.js +0 -1
- /package/dist/types/workspace/workspace/{tecton-production_release_1.21.x → Tecton_tecton-production_master}/packages/q2-tecton-elements/.stencil/test/helpers.d.ts +0 -0
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
var ValidColorNames;
|
|
2
|
+
(function (ValidColorNames) {
|
|
3
|
+
ValidColorNames[ValidColorNames["aliceblue"] = 0] = "aliceblue";
|
|
4
|
+
ValidColorNames[ValidColorNames["antiquewhite"] = 1] = "antiquewhite";
|
|
5
|
+
ValidColorNames[ValidColorNames["aqua"] = 2] = "aqua";
|
|
6
|
+
ValidColorNames[ValidColorNames["aquamarine"] = 3] = "aquamarine";
|
|
7
|
+
ValidColorNames[ValidColorNames["azure"] = 4] = "azure";
|
|
8
|
+
ValidColorNames[ValidColorNames["beige"] = 5] = "beige";
|
|
9
|
+
ValidColorNames[ValidColorNames["bisque"] = 6] = "bisque";
|
|
10
|
+
ValidColorNames[ValidColorNames["black"] = 7] = "black";
|
|
11
|
+
ValidColorNames[ValidColorNames["blanchedalmond"] = 8] = "blanchedalmond";
|
|
12
|
+
ValidColorNames[ValidColorNames["blue"] = 9] = "blue";
|
|
13
|
+
ValidColorNames[ValidColorNames["blueviolet"] = 10] = "blueviolet";
|
|
14
|
+
ValidColorNames[ValidColorNames["brown"] = 11] = "brown";
|
|
15
|
+
ValidColorNames[ValidColorNames["burlywood"] = 12] = "burlywood";
|
|
16
|
+
ValidColorNames[ValidColorNames["cadetblue"] = 13] = "cadetblue";
|
|
17
|
+
ValidColorNames[ValidColorNames["chartreuse"] = 14] = "chartreuse";
|
|
18
|
+
ValidColorNames[ValidColorNames["chocolate"] = 15] = "chocolate";
|
|
19
|
+
ValidColorNames[ValidColorNames["coral"] = 16] = "coral";
|
|
20
|
+
ValidColorNames[ValidColorNames["cornflowerblue"] = 17] = "cornflowerblue";
|
|
21
|
+
ValidColorNames[ValidColorNames["cornsilk"] = 18] = "cornsilk";
|
|
22
|
+
ValidColorNames[ValidColorNames["crimson"] = 19] = "crimson";
|
|
23
|
+
ValidColorNames[ValidColorNames["cyan"] = 20] = "cyan";
|
|
24
|
+
ValidColorNames[ValidColorNames["darkblue"] = 21] = "darkblue";
|
|
25
|
+
ValidColorNames[ValidColorNames["darkcyan"] = 22] = "darkcyan";
|
|
26
|
+
ValidColorNames[ValidColorNames["darkgoldenrod"] = 23] = "darkgoldenrod";
|
|
27
|
+
ValidColorNames[ValidColorNames["darkgray"] = 24] = "darkgray";
|
|
28
|
+
ValidColorNames[ValidColorNames["darkgreen"] = 25] = "darkgreen";
|
|
29
|
+
ValidColorNames[ValidColorNames["darkkhaki"] = 26] = "darkkhaki";
|
|
30
|
+
ValidColorNames[ValidColorNames["darkmagenta"] = 27] = "darkmagenta";
|
|
31
|
+
ValidColorNames[ValidColorNames["darkolivegreen"] = 28] = "darkolivegreen";
|
|
32
|
+
ValidColorNames[ValidColorNames["darkorange"] = 29] = "darkorange";
|
|
33
|
+
ValidColorNames[ValidColorNames["darkorchid"] = 30] = "darkorchid";
|
|
34
|
+
ValidColorNames[ValidColorNames["darkred"] = 31] = "darkred";
|
|
35
|
+
ValidColorNames[ValidColorNames["darksalmon"] = 32] = "darksalmon";
|
|
36
|
+
ValidColorNames[ValidColorNames["darkseagreen"] = 33] = "darkseagreen";
|
|
37
|
+
ValidColorNames[ValidColorNames["darkslateblue"] = 34] = "darkslateblue";
|
|
38
|
+
ValidColorNames[ValidColorNames["darkslategray"] = 35] = "darkslategray";
|
|
39
|
+
ValidColorNames[ValidColorNames["darkturquoise"] = 36] = "darkturquoise";
|
|
40
|
+
ValidColorNames[ValidColorNames["darkviolet"] = 37] = "darkviolet";
|
|
41
|
+
ValidColorNames[ValidColorNames["deeppink"] = 38] = "deeppink";
|
|
42
|
+
ValidColorNames[ValidColorNames["deepskyblue"] = 39] = "deepskyblue";
|
|
43
|
+
ValidColorNames[ValidColorNames["dimgray"] = 40] = "dimgray";
|
|
44
|
+
ValidColorNames[ValidColorNames["dodgerblue"] = 41] = "dodgerblue";
|
|
45
|
+
ValidColorNames[ValidColorNames["firebrick"] = 42] = "firebrick";
|
|
46
|
+
ValidColorNames[ValidColorNames["floralwhite"] = 43] = "floralwhite";
|
|
47
|
+
ValidColorNames[ValidColorNames["forestgreen"] = 44] = "forestgreen";
|
|
48
|
+
ValidColorNames[ValidColorNames["fuchsia"] = 45] = "fuchsia";
|
|
49
|
+
ValidColorNames[ValidColorNames["gainsboro"] = 46] = "gainsboro";
|
|
50
|
+
ValidColorNames[ValidColorNames["ghostwhite"] = 47] = "ghostwhite";
|
|
51
|
+
ValidColorNames[ValidColorNames["gold"] = 48] = "gold";
|
|
52
|
+
ValidColorNames[ValidColorNames["goldenrod"] = 49] = "goldenrod";
|
|
53
|
+
ValidColorNames[ValidColorNames["gray"] = 50] = "gray";
|
|
54
|
+
ValidColorNames[ValidColorNames["green"] = 51] = "green";
|
|
55
|
+
ValidColorNames[ValidColorNames["greenyellow"] = 52] = "greenyellow";
|
|
56
|
+
ValidColorNames[ValidColorNames["honeydew"] = 53] = "honeydew";
|
|
57
|
+
ValidColorNames[ValidColorNames["hotpink"] = 54] = "hotpink";
|
|
58
|
+
ValidColorNames[ValidColorNames["indianred"] = 55] = "indianred";
|
|
59
|
+
ValidColorNames[ValidColorNames["indigo"] = 56] = "indigo";
|
|
60
|
+
ValidColorNames[ValidColorNames["ivory"] = 57] = "ivory";
|
|
61
|
+
ValidColorNames[ValidColorNames["khaki"] = 58] = "khaki";
|
|
62
|
+
ValidColorNames[ValidColorNames["lavender"] = 59] = "lavender";
|
|
63
|
+
ValidColorNames[ValidColorNames["lavenderblush"] = 60] = "lavenderblush";
|
|
64
|
+
ValidColorNames[ValidColorNames["lawngreen"] = 61] = "lawngreen";
|
|
65
|
+
ValidColorNames[ValidColorNames["lemonchiffon"] = 62] = "lemonchiffon";
|
|
66
|
+
ValidColorNames[ValidColorNames["lightblue"] = 63] = "lightblue";
|
|
67
|
+
ValidColorNames[ValidColorNames["lightcoral"] = 64] = "lightcoral";
|
|
68
|
+
ValidColorNames[ValidColorNames["lightcyan"] = 65] = "lightcyan";
|
|
69
|
+
ValidColorNames[ValidColorNames["lightgoldenrodyellow"] = 66] = "lightgoldenrodyellow";
|
|
70
|
+
ValidColorNames[ValidColorNames["lightgrey"] = 67] = "lightgrey";
|
|
71
|
+
ValidColorNames[ValidColorNames["lightgreen"] = 68] = "lightgreen";
|
|
72
|
+
ValidColorNames[ValidColorNames["lightpink"] = 69] = "lightpink";
|
|
73
|
+
ValidColorNames[ValidColorNames["lightsalmon"] = 70] = "lightsalmon";
|
|
74
|
+
ValidColorNames[ValidColorNames["lightseagreen"] = 71] = "lightseagreen";
|
|
75
|
+
ValidColorNames[ValidColorNames["lightskyblue"] = 72] = "lightskyblue";
|
|
76
|
+
ValidColorNames[ValidColorNames["lightslategray"] = 73] = "lightslategray";
|
|
77
|
+
ValidColorNames[ValidColorNames["lightsteelblue"] = 74] = "lightsteelblue";
|
|
78
|
+
ValidColorNames[ValidColorNames["lightyellow"] = 75] = "lightyellow";
|
|
79
|
+
ValidColorNames[ValidColorNames["lime"] = 76] = "lime";
|
|
80
|
+
ValidColorNames[ValidColorNames["limegreen"] = 77] = "limegreen";
|
|
81
|
+
ValidColorNames[ValidColorNames["linen"] = 78] = "linen";
|
|
82
|
+
ValidColorNames[ValidColorNames["magenta"] = 79] = "magenta";
|
|
83
|
+
ValidColorNames[ValidColorNames["maroon"] = 80] = "maroon";
|
|
84
|
+
ValidColorNames[ValidColorNames["mediumaquamarine"] = 81] = "mediumaquamarine";
|
|
85
|
+
ValidColorNames[ValidColorNames["mediumblue"] = 82] = "mediumblue";
|
|
86
|
+
ValidColorNames[ValidColorNames["mediumorchid"] = 83] = "mediumorchid";
|
|
87
|
+
ValidColorNames[ValidColorNames["mediumpurple"] = 84] = "mediumpurple";
|
|
88
|
+
ValidColorNames[ValidColorNames["mediumseagreen"] = 85] = "mediumseagreen";
|
|
89
|
+
ValidColorNames[ValidColorNames["mediumslateblue"] = 86] = "mediumslateblue";
|
|
90
|
+
ValidColorNames[ValidColorNames["mediumspringgreen"] = 87] = "mediumspringgreen";
|
|
91
|
+
ValidColorNames[ValidColorNames["mediumturquoise"] = 88] = "mediumturquoise";
|
|
92
|
+
ValidColorNames[ValidColorNames["mediumvioletred"] = 89] = "mediumvioletred";
|
|
93
|
+
ValidColorNames[ValidColorNames["midnightblue"] = 90] = "midnightblue";
|
|
94
|
+
ValidColorNames[ValidColorNames["mintcream"] = 91] = "mintcream";
|
|
95
|
+
ValidColorNames[ValidColorNames["mistyrose"] = 92] = "mistyrose";
|
|
96
|
+
ValidColorNames[ValidColorNames["moccasin"] = 93] = "moccasin";
|
|
97
|
+
ValidColorNames[ValidColorNames["navajowhite"] = 94] = "navajowhite";
|
|
98
|
+
ValidColorNames[ValidColorNames["navy"] = 95] = "navy";
|
|
99
|
+
ValidColorNames[ValidColorNames["oldlace"] = 96] = "oldlace";
|
|
100
|
+
ValidColorNames[ValidColorNames["olive"] = 97] = "olive";
|
|
101
|
+
ValidColorNames[ValidColorNames["olivedrab"] = 98] = "olivedrab";
|
|
102
|
+
ValidColorNames[ValidColorNames["orange"] = 99] = "orange";
|
|
103
|
+
ValidColorNames[ValidColorNames["orangered"] = 100] = "orangered";
|
|
104
|
+
ValidColorNames[ValidColorNames["orchid"] = 101] = "orchid";
|
|
105
|
+
ValidColorNames[ValidColorNames["palegoldenrod"] = 102] = "palegoldenrod";
|
|
106
|
+
ValidColorNames[ValidColorNames["palegreen"] = 103] = "palegreen";
|
|
107
|
+
ValidColorNames[ValidColorNames["paleturquoise"] = 104] = "paleturquoise";
|
|
108
|
+
ValidColorNames[ValidColorNames["palevioletred"] = 105] = "palevioletred";
|
|
109
|
+
ValidColorNames[ValidColorNames["papayawhip"] = 106] = "papayawhip";
|
|
110
|
+
ValidColorNames[ValidColorNames["peachpuff"] = 107] = "peachpuff";
|
|
111
|
+
ValidColorNames[ValidColorNames["peru"] = 108] = "peru";
|
|
112
|
+
ValidColorNames[ValidColorNames["pink"] = 109] = "pink";
|
|
113
|
+
ValidColorNames[ValidColorNames["plum"] = 110] = "plum";
|
|
114
|
+
ValidColorNames[ValidColorNames["powderblue"] = 111] = "powderblue";
|
|
115
|
+
ValidColorNames[ValidColorNames["purple"] = 112] = "purple";
|
|
116
|
+
ValidColorNames[ValidColorNames["red"] = 113] = "red";
|
|
117
|
+
ValidColorNames[ValidColorNames["rosybrown"] = 114] = "rosybrown";
|
|
118
|
+
ValidColorNames[ValidColorNames["royalblue"] = 115] = "royalblue";
|
|
119
|
+
ValidColorNames[ValidColorNames["saddlebrown"] = 116] = "saddlebrown";
|
|
120
|
+
ValidColorNames[ValidColorNames["salmon"] = 117] = "salmon";
|
|
121
|
+
ValidColorNames[ValidColorNames["sandybrown"] = 118] = "sandybrown";
|
|
122
|
+
ValidColorNames[ValidColorNames["seagreen"] = 119] = "seagreen";
|
|
123
|
+
ValidColorNames[ValidColorNames["seashell"] = 120] = "seashell";
|
|
124
|
+
ValidColorNames[ValidColorNames["sienna"] = 121] = "sienna";
|
|
125
|
+
ValidColorNames[ValidColorNames["silver"] = 122] = "silver";
|
|
126
|
+
ValidColorNames[ValidColorNames["skyblue"] = 123] = "skyblue";
|
|
127
|
+
ValidColorNames[ValidColorNames["slateblue"] = 124] = "slateblue";
|
|
128
|
+
ValidColorNames[ValidColorNames["slategray"] = 125] = "slategray";
|
|
129
|
+
ValidColorNames[ValidColorNames["snow"] = 126] = "snow";
|
|
130
|
+
ValidColorNames[ValidColorNames["springgreen"] = 127] = "springgreen";
|
|
131
|
+
ValidColorNames[ValidColorNames["steelblue"] = 128] = "steelblue";
|
|
132
|
+
ValidColorNames[ValidColorNames["tan"] = 129] = "tan";
|
|
133
|
+
ValidColorNames[ValidColorNames["teal"] = 130] = "teal";
|
|
134
|
+
ValidColorNames[ValidColorNames["thistle"] = 131] = "thistle";
|
|
135
|
+
ValidColorNames[ValidColorNames["tomato"] = 132] = "tomato";
|
|
136
|
+
ValidColorNames[ValidColorNames["turquoise"] = 133] = "turquoise";
|
|
137
|
+
ValidColorNames[ValidColorNames["violet"] = 134] = "violet";
|
|
138
|
+
ValidColorNames[ValidColorNames["wheat"] = 135] = "wheat";
|
|
139
|
+
ValidColorNames[ValidColorNames["white"] = 136] = "white";
|
|
140
|
+
ValidColorNames[ValidColorNames["whitesmoke"] = 137] = "whitesmoke";
|
|
141
|
+
ValidColorNames[ValidColorNames["yellow"] = 138] = "yellow";
|
|
142
|
+
ValidColorNames[ValidColorNames["yellowgreen"] = 139] = "yellowgreen";
|
|
143
|
+
})(ValidColorNames || (ValidColorNames = {}));
|
|
144
|
+
export function isValidColor(color) {
|
|
145
|
+
const hexRegex = new RegExp('^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$');
|
|
146
|
+
const isValidHex = hexRegex.test(color);
|
|
147
|
+
const isValidCSSColorName = !!ValidColorNames[color];
|
|
148
|
+
return isValidHex || isValidCSSColorName;
|
|
149
|
+
}
|
|
150
|
+
export function getCSSProperty(name, containerStyles, hostElementStyles) {
|
|
151
|
+
if (!name)
|
|
152
|
+
return;
|
|
153
|
+
let fallback;
|
|
154
|
+
if (name.startsWith('var(') && name.endsWith(')')) {
|
|
155
|
+
const regExp = /var\((.*)\)/g;
|
|
156
|
+
const result = regExp.exec(name);
|
|
157
|
+
const split = result.length >= 2 ? result[1].split(',') : [];
|
|
158
|
+
name = split[0];
|
|
159
|
+
fallback = split[1];
|
|
160
|
+
}
|
|
161
|
+
let result = containerStyles.getPropertyValue(name).trim();
|
|
162
|
+
if (!result)
|
|
163
|
+
result = hostElementStyles.getPropertyValue(name).trim();
|
|
164
|
+
return result || fallback;
|
|
165
|
+
}
|
|
166
|
+
export function formatValue(value, format) {
|
|
167
|
+
const valueAsFloat = parseFloat(value.toString());
|
|
168
|
+
if (isNaN(valueAsFloat))
|
|
169
|
+
return;
|
|
170
|
+
const decimals = isNaN(+format.decimals) ? 0 : +format.decimals;
|
|
171
|
+
if (format.type === 'currency') {
|
|
172
|
+
return Intl.NumberFormat('en-US', {
|
|
173
|
+
style: 'currency',
|
|
174
|
+
currency: 'USD',
|
|
175
|
+
maximumFractionDigits: decimals,
|
|
176
|
+
minimumFractionDigits: decimals,
|
|
177
|
+
}).format(valueAsFloat);
|
|
178
|
+
}
|
|
179
|
+
else {
|
|
180
|
+
return Intl.NumberFormat('en-US').format(valueAsFloat);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface ClickElsewhere extends Components.ClickElsewhere, HTMLElement {}
|
|
4
|
+
export const ClickElsewhere: {
|
|
5
|
+
prototype: ClickElsewhere;
|
|
6
|
+
new (): ClickElsewhere;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/* Q2TectonElements custom elements */
|
|
2
|
+
export { ClickElsewhere as ClickElsewhere } from '../types/components/click-elsewhere/index';
|
|
3
|
+
export { Q2Avatar as Q2Avatar } from '../types/components/q2-avatar/index';
|
|
4
|
+
export { Q2Badge as Q2Badge } from '../types/components/q2-badge/index';
|
|
5
|
+
export { Q2Btn as Q2Btn } from '../types/components/q2-btn/index';
|
|
6
|
+
export { Q2Calendar as Q2Calendar } from '../types/components/q2-calendar/index';
|
|
7
|
+
export { Q2Card as Q2Card } from '../types/components/q2-card/index';
|
|
8
|
+
export { Q2Carousel as Q2Carousel } from '../types/components/q2-carousel/index';
|
|
9
|
+
export { Q2Carousel as Q2CarouselPane } from '../types/components/q2-carousel-pane/index';
|
|
10
|
+
export { Q2ChartBar as Q2ChartBar } from '../types/components/q2-chart-bar/index';
|
|
11
|
+
export { Q2ChartDonut as Q2ChartDonut } from '../types/components/q2-chart-donut/index';
|
|
12
|
+
export { Q2Checkbox as Q2Checkbox } from '../types/components/q2-checkbox/index';
|
|
13
|
+
export { Q2CheckboxGroup as Q2CheckboxGroup } from '../types/components/q2-checkbox-group/index';
|
|
14
|
+
export { Q2Dropdown as Q2Dropdown } from '../types/components/q2-dropdown/index';
|
|
15
|
+
export { Q2DropdownItem as Q2DropdownItem } from '../types/components/q2-dropdown-item/index';
|
|
16
|
+
export { Q2EditableField as Q2EditableField } from '../types/components/q2-editable-field/index';
|
|
17
|
+
export { Q2Icon as Q2Icon } from '../types/components/q2-icon/index';
|
|
18
|
+
export { Q2Input as Q2Input } from '../types/components/q2-input/index';
|
|
19
|
+
export { Q2Loading as Q2Loading } from '../types/components/q2-loading/index';
|
|
20
|
+
export { Q2Loading as Q2LoadingElement } from '../types/components/q2-loading/skeleton/q2-loading-element/index';
|
|
21
|
+
export { Q2Loc as Q2Loc } from '../types/components/q2-loc/index';
|
|
22
|
+
export { Q2Message as Q2Message } from '../types/components/q2-message/index';
|
|
23
|
+
export { Q2MonthPicker as Q2MonthPicker } from '../types/components/q2-calendar/q2-month-picker';
|
|
24
|
+
export { Q2Optgroup as Q2Optgroup } from '../types/components/q2-optgroup/index';
|
|
25
|
+
export { Q2Option as Q2Option } from '../types/components/q2-option/index';
|
|
26
|
+
export { Q2OptionList as Q2OptionList } from '../types/components/q2-option-list/index';
|
|
27
|
+
export { Q2Pagination as Q2Pagination } from '../types/components/q2-pagination/index';
|
|
28
|
+
export { Q2Pill as Q2Pill } from '../types/components/q2-pill/index';
|
|
29
|
+
export { Q2Popover as Q2Popover } from '../types/components/q2-popover/index';
|
|
30
|
+
export { Q2Radio as Q2Radio } from '../types/components/q2-radio/index';
|
|
31
|
+
export { Q2RadioGroup as Q2RadioGroup } from '../types/components/q2-radio-group/index';
|
|
32
|
+
export { Q2Section as Q2Section } from '../types/components/q2-section/index';
|
|
33
|
+
export { Q2Select as Q2Select } from '../types/components/q2-select/index';
|
|
34
|
+
export { Q2Stepper as Q2Stepper } from '../types/components/q2-stepper/index';
|
|
35
|
+
export { Q2StepperPane as Q2StepperPane } from '../types/components/q2-stepper-pane/index';
|
|
36
|
+
export { Q2AdvancedStepper as Q2StepperVertical } from '../types/components/q2-stepper-vertical/index';
|
|
37
|
+
export { Q2TabContainer as Q2TabContainer } from '../types/components/q2-tab-container/index';
|
|
38
|
+
export { Q2TabPane as Q2TabPane } from '../types/components/q2-tab-pane/index';
|
|
39
|
+
export { Q2Tag as Q2Tag } from '../types/components/q2-tag/index';
|
|
40
|
+
export { Q2Textarea as Q2Textarea } from '../types/components/q2-textarea/index';
|
|
41
|
+
export { Q2Tooltip as Q2Tooltip } from '../types/components/q2-tooltip/index';
|
|
42
|
+
export { TectonTabPane as TectonTabPane } from '../types/components/tecton-tab-pane/index';
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Used to manually set the base path where assets can be found.
|
|
46
|
+
* If the script is used as "module", it's recommended to use "import.meta.url",
|
|
47
|
+
* such as "setAssetPath(import.meta.url)". Other options include
|
|
48
|
+
* "setAssetPath(document.currentScript.src)", or using a bundler's replace plugin to
|
|
49
|
+
* dynamically set the path at build time, such as "setAssetPath(process.env.ASSET_PATH)".
|
|
50
|
+
* But do note that this configuration depends on how your script is bundled, or lack of
|
|
51
|
+
* bundling, and where your assets can be loaded from. Additionally custom bundling
|
|
52
|
+
* will have to ensure the static assets are copied to its build directory.
|
|
53
|
+
*/
|
|
54
|
+
export declare const setAssetPath: (path: string) => void;
|
|
55
|
+
|
|
56
|
+
export interface SetPlatformOptions {
|
|
57
|
+
raf?: (c: FrameRequestCallback) => number;
|
|
58
|
+
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
59
|
+
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
60
|
+
}
|
|
61
|
+
export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
|
|
62
|
+
export * from '../types';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
|
|
2
|
+
export { ClickElsewhere, defineCustomElement as defineCustomElementClickElsewhere } from './click-elsewhere.js';
|
|
3
|
+
export { Q2Avatar, defineCustomElement as defineCustomElementQ2Avatar } from './q2-avatar.js';
|
|
4
|
+
export { Q2Badge, defineCustomElement as defineCustomElementQ2Badge } from './q2-badge.js';
|
|
5
|
+
export { Q2Btn, defineCustomElement as defineCustomElementQ2Btn } from './q2-btn.js';
|
|
6
|
+
export { Q2Calendar, defineCustomElement as defineCustomElementQ2Calendar } from './q2-calendar.js';
|
|
7
|
+
export { Q2Card, defineCustomElement as defineCustomElementQ2Card } from './q2-card.js';
|
|
8
|
+
export { Q2Carousel, defineCustomElement as defineCustomElementQ2Carousel } from './q2-carousel.js';
|
|
9
|
+
export { Q2CarouselPane, defineCustomElement as defineCustomElementQ2CarouselPane } from './q2-carousel-pane.js';
|
|
10
|
+
export { Q2ChartBar, defineCustomElement as defineCustomElementQ2ChartBar } from './q2-chart-bar.js';
|
|
11
|
+
export { Q2ChartDonut, defineCustomElement as defineCustomElementQ2ChartDonut } from './q2-chart-donut.js';
|
|
12
|
+
export { Q2Checkbox, defineCustomElement as defineCustomElementQ2Checkbox } from './q2-checkbox.js';
|
|
13
|
+
export { Q2CheckboxGroup, defineCustomElement as defineCustomElementQ2CheckboxGroup } from './q2-checkbox-group.js';
|
|
14
|
+
export { Q2Dropdown, defineCustomElement as defineCustomElementQ2Dropdown } from './q2-dropdown.js';
|
|
15
|
+
export { Q2DropdownItem, defineCustomElement as defineCustomElementQ2DropdownItem } from './q2-dropdown-item.js';
|
|
16
|
+
export { Q2EditableField, defineCustomElement as defineCustomElementQ2EditableField } from './q2-editable-field.js';
|
|
17
|
+
export { Q2Icon, defineCustomElement as defineCustomElementQ2Icon } from './q2-icon.js';
|
|
18
|
+
export { Q2Input, defineCustomElement as defineCustomElementQ2Input } from './q2-input.js';
|
|
19
|
+
export { Q2Loading, defineCustomElement as defineCustomElementQ2Loading } from './q2-loading.js';
|
|
20
|
+
export { Q2LoadingElement, defineCustomElement as defineCustomElementQ2LoadingElement } from './q2-loading-element.js';
|
|
21
|
+
export { Q2Loc, defineCustomElement as defineCustomElementQ2Loc } from './q2-loc.js';
|
|
22
|
+
export { Q2Message, defineCustomElement as defineCustomElementQ2Message } from './q2-message.js';
|
|
23
|
+
export { Q2MonthPicker, defineCustomElement as defineCustomElementQ2MonthPicker } from './q2-month-picker.js';
|
|
24
|
+
export { Q2Optgroup, defineCustomElement as defineCustomElementQ2Optgroup } from './q2-optgroup.js';
|
|
25
|
+
export { Q2Option, defineCustomElement as defineCustomElementQ2Option } from './q2-option.js';
|
|
26
|
+
export { Q2OptionList, defineCustomElement as defineCustomElementQ2OptionList } from './q2-option-list.js';
|
|
27
|
+
export { Q2Pagination, defineCustomElement as defineCustomElementQ2Pagination } from './q2-pagination.js';
|
|
28
|
+
export { Q2Pill, defineCustomElement as defineCustomElementQ2Pill } from './q2-pill.js';
|
|
29
|
+
export { Q2Popover, defineCustomElement as defineCustomElementQ2Popover } from './q2-popover.js';
|
|
30
|
+
export { Q2Radio, defineCustomElement as defineCustomElementQ2Radio } from './q2-radio.js';
|
|
31
|
+
export { Q2RadioGroup, defineCustomElement as defineCustomElementQ2RadioGroup } from './q2-radio-group.js';
|
|
32
|
+
export { Q2Section, defineCustomElement as defineCustomElementQ2Section } from './q2-section.js';
|
|
33
|
+
export { Q2Select, defineCustomElement as defineCustomElementQ2Select } from './q2-select.js';
|
|
34
|
+
export { Q2Stepper, defineCustomElement as defineCustomElementQ2Stepper } from './q2-stepper.js';
|
|
35
|
+
export { Q2StepperPane, defineCustomElement as defineCustomElementQ2StepperPane } from './q2-stepper-pane.js';
|
|
36
|
+
export { Q2StepperVertical, defineCustomElement as defineCustomElementQ2StepperVertical } from './q2-stepper-vertical.js';
|
|
37
|
+
export { Q2TabContainer, defineCustomElement as defineCustomElementQ2TabContainer } from './q2-tab-container.js';
|
|
38
|
+
export { Q2TabPane, defineCustomElement as defineCustomElementQ2TabPane } from './q2-tab-pane.js';
|
|
39
|
+
export { Q2Tag, defineCustomElement as defineCustomElementQ2Tag } from './q2-tag.js';
|
|
40
|
+
export { Q2Textarea, defineCustomElement as defineCustomElementQ2Textarea } from './q2-textarea.js';
|
|
41
|
+
export { Q2Tooltip, defineCustomElement as defineCustomElementQ2Tooltip } from './q2-tooltip.js';
|
|
42
|
+
export { TectonTabPane, defineCustomElement as defineCustomElementTectonTabPane } from './tecton-tab-pane.js';
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { j as isFirefox, o as overrideFocus, n as nextPaint, i as isEventFromElement } from './index13.js';
|
|
3
|
+
import { d as defineCustomElement$1 } from './index7.js';
|
|
4
|
+
|
|
5
|
+
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}:host([hidden]){display:none}.message{border-left-width:var(--tct-message-bar-width, var(--t-message-bar-width, var(--app-scale-1x, 5px)));border-left-style:solid;--comp-line-height:var(--tct-message-line-height, var(--t-message-line-height, var(--app-line-height, 1.428571429em)));display:grid;gap:var(--tct-scale-1, var(--app-scale-1x, 5px));align-items:flex-start;background:var(--tct-message-bg, var(--t-message-bg, var(--tct-gray-14, var(--t-gray-14, var(--tct-gray-l3, var(--app-gray-l3, #f2f2f2))))));color:var(--tct-message-font-color, var(--t-message-font-color, inherit));box-shadow:var(--tct-message-box-shadow, var(--t-message-box-shadow, inherit));border-radius:var(--tct-message-border-radius, var(--t-message-border-radius, inherit))}.message:focus{box-shadow:var(--const-global-focus)}.message-icon{--comp-top-offset:calc(calc(var(--comp-line-height) - var(--comp-icon-size)) / 2);--tct-icon-size:var(--comp-icon-size);top:var(--comp-top-offset);margin-bottom:calc(var(--comp-top-offset) * -1)}.message-content{flex:1;line-height:var(--comp-line-height)}::slotted(ul){padding-left:var(--tct-scale-l3, var(--app-scale-3x, 15px))}:host(:not([appearance])),:host([appearance=standard]){margin:var(--tct-scale-l3, var(--app-scale-3x, 15px)) 0}:host(:not([appearance])) .message,:host([appearance=standard]) .message{--comp-icon-size:var(--tct-message-icon-size, var(--t-message-icon-size, 24px));--comp-padding:var(--tct-message-padding, var(--t-message-padding, var(--app-scale-3x, 15px)));grid-template-columns:var(--comp-icon-size) 1fr;padding:var(--comp-padding);padding-left:calc(var(--comp-padding) - var(--tct-scale-2, var(--app-scale-2x, 10px)));padding-bottom:calc(var(--comp-padding) - var(--tct-scale-1, var(--app-scale-1x, 5px)))}:host(:not([appearance])) ::slotted(ul),:host([appearance=standard]) ::slotted(ul){margin:var(--tct-scale-l3, var(--app-scale-3x, 15px)) 0}:host([appearance=minimal]){margin:0}:host([appearance=minimal]) .message{padding:var(--tct-message-minimal-padding, var(--t-message-minimal-padding, var(--app-scale-2x, 10px)));grid-template-columns:1fr}:host([appearance=minimal]) ::slotted(ul){margin:var(--tct-scale-1, var(--app-scale-1x, 5px)) 0}:host(:not([type])) .message,:host([type=info]) .message{border-left-color:var(--tct-stoplight-info, var(--const-stoplight-info, #0079c1))}:host(:not([type])) .message-icon,:host([type=info]) .message-icon{--tct-icon-stroke-primary:var(--tct-stoplight-info, var(--const-stoplight-info, #0079c1));--tct-icon-stroke-secondary:var(--tct-stoplight-info, var(--const-stoplight-info, #0079c1))}:host([type=success]) .message{border-left-color:var(--tct-stoplight-success, var(--const-stoplight-success, #0e8a00))}:host([type=success]) .message-icon{--tct-icon-stroke-primary:var(--tct-stoplight-success, var(--const-stoplight-success, #0e8a00));--tct-icon-stroke-secondary:var(--tct-stoplight-success, var(--const-stoplight-success, #0e8a00))}:host([type=warning]) .message{border-left-color:var(--tct-stoplight-warning, var(--const-stoplight-warning, #f0b400))}:host([type=warning]) .message-icon{--tct-icon-stroke-primary:var(--tct-stoplight-warning, var(--const-stoplight-warning, #f0b400));--tct-icon-stroke-secondary:var(--tct-stoplight-warning, var(--const-stoplight-warning, #f0b400))}:host([type=error]) .message,:host([type=danger]) .message{border-left-color:var(--tct-stoplight-error, var(--const-stoplight-alert, #c30000))}:host([type=error]) .message-icon,:host([type=danger]) .message-icon{--tct-icon-stroke-primary:var(--tct-stoplight-error, var(--const-stoplight-alert, #c30000));--tct-icon-stroke-secondary:var(--tct-stoplight-error, var(--const-stoplight-alert, #c30000))}";
|
|
6
|
+
|
|
7
|
+
const Q2Message = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
8
|
+
constructor() {
|
|
9
|
+
super();
|
|
10
|
+
this.__registerHost();
|
|
11
|
+
this.__attachShadow();
|
|
12
|
+
this.type = 'info';
|
|
13
|
+
this.appearance = 'standard';
|
|
14
|
+
this.description = false;
|
|
15
|
+
this.presentToggle = undefined;
|
|
16
|
+
}
|
|
17
|
+
get isFirefox() {
|
|
18
|
+
return isFirefox();
|
|
19
|
+
}
|
|
20
|
+
componentDidLoad() {
|
|
21
|
+
overrideFocus(this.hostElement);
|
|
22
|
+
}
|
|
23
|
+
async present() {
|
|
24
|
+
const { isFirefox } = this;
|
|
25
|
+
this.presentToggle = !this.presentToggle;
|
|
26
|
+
if (!isFirefox)
|
|
27
|
+
return;
|
|
28
|
+
nextPaint(() => {
|
|
29
|
+
this.presentToggle = false;
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
delegateFocus(event) {
|
|
33
|
+
if (!isEventFromElement(event, this.hostElement))
|
|
34
|
+
return;
|
|
35
|
+
this.hostElement.shadowRoot.querySelector('.message').focus();
|
|
36
|
+
}
|
|
37
|
+
render() {
|
|
38
|
+
const { isFirefox } = this;
|
|
39
|
+
const addAriaHiddenForAriaLive = isFirefox && this.presentToggle;
|
|
40
|
+
const addDivForAriaLive = !isFirefox && this.presentToggle;
|
|
41
|
+
const { description } = this;
|
|
42
|
+
return (h("div", { tabindex: "-1", class: "message", role: description ? undefined : 'alert', "aria-live": description ? undefined : 'assertive', "aria-atomic": description ? undefined : 'true', "aria-relevant": description ? undefined : 'all' }, this.appearance === 'standard' ? generateIcon(this.type) : '', addDivForAriaLive && h("div", { class: "sr" }), h("div", { class: "message-content", "aria-hidden": addAriaHiddenForAriaLive ? 'true' : undefined }, h("slot", null))));
|
|
43
|
+
}
|
|
44
|
+
get hostElement() { return this; }
|
|
45
|
+
static get style() { return stylesCss; }
|
|
46
|
+
}, [1, "q2-message", {
|
|
47
|
+
"type": [513],
|
|
48
|
+
"appearance": [513],
|
|
49
|
+
"description": [516],
|
|
50
|
+
"presentToggle": [32],
|
|
51
|
+
"present": [64]
|
|
52
|
+
}, [[0, "focus", "delegateFocus"]]]);
|
|
53
|
+
function generateIcon(type) {
|
|
54
|
+
const iconMap = {
|
|
55
|
+
success: 'success',
|
|
56
|
+
warning: 'warning',
|
|
57
|
+
danger: 'error',
|
|
58
|
+
error: 'error',
|
|
59
|
+
info: 'info',
|
|
60
|
+
};
|
|
61
|
+
const icon = iconMap[type] || iconMap.info;
|
|
62
|
+
return (h("q2-icon", { type: icon, class: "message-icon" }));
|
|
63
|
+
}
|
|
64
|
+
function defineCustomElement() {
|
|
65
|
+
if (typeof customElements === "undefined") {
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
const components = ["q2-message", "q2-icon"];
|
|
69
|
+
components.forEach(tagName => { switch (tagName) {
|
|
70
|
+
case "q2-message":
|
|
71
|
+
if (!customElements.get(tagName)) {
|
|
72
|
+
customElements.define(tagName, Q2Message);
|
|
73
|
+
}
|
|
74
|
+
break;
|
|
75
|
+
case "q2-icon":
|
|
76
|
+
if (!customElements.get(tagName)) {
|
|
77
|
+
defineCustomElement$1();
|
|
78
|
+
}
|
|
79
|
+
break;
|
|
80
|
+
} });
|
|
81
|
+
}
|
|
82
|
+
defineCustomElement();
|
|
83
|
+
|
|
84
|
+
export { Q2Message as Q, defineCustomElement as d };
|