@webwriter/quiz 1.0.3 → 1.0.5
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/LICENSE +6 -6
- package/custom.d.ts +175 -175
- package/dist/widgets/webwriter-choice-item.js +58 -13
- package/dist/widgets/webwriter-choice.js +64 -19
- package/dist/widgets/webwriter-cloze-gap.js +59 -14
- package/dist/widgets/webwriter-cloze.js +56 -11
- package/dist/widgets/webwriter-mark.js +56 -11
- package/dist/widgets/webwriter-order-item.js +56 -11
- package/dist/widgets/webwriter-order.js +226 -1685
- package/dist/widgets/webwriter-pairing.js +59 -14
- package/dist/widgets/webwriter-quiz.js +67 -22
- package/dist/widgets/webwriter-speech.js +66 -20
- package/dist/widgets/webwriter-task.js +534 -308
- package/dist/widgets/webwriter-text.js +60 -14
- package/package.json +200 -200
- package/src/lib/combobox.ts +455 -455
- package/src/snippets/choice.html +7 -7
- package/src/snippets/cloze.html +3 -3
- package/src/snippets/mark.html +3 -3
- package/src/snippets/order.html +7 -7
- package/src/snippets/pairing.html +9 -9
- package/src/snippets/speech.html +3 -3
- package/src/snippets/text.html +3 -3
- package/src/snippets/wordsearch.html +3 -3
- package/src/widgets/webwriter-choice-item.ts +250 -250
- package/src/widgets/webwriter-choice.ts +309 -309
- package/src/widgets/webwriter-cloze-gap.ts +216 -216
- package/src/widgets/webwriter-cloze.ts +135 -135
- package/src/widgets/webwriter-mark.ts +434 -434
- package/src/widgets/webwriter-order-item.ts +436 -444
- package/src/widgets/webwriter-order.ts +279 -272
- package/src/widgets/webwriter-pairing-item.ts +155 -155
- package/src/widgets/webwriter-pairing.ts +187 -187
- package/src/widgets/webwriter-quiz.ts +280 -280
- package/src/widgets/webwriter-speech.ts +267 -267
- package/src/widgets/webwriter-task-explainer.ts +37 -37
- package/src/widgets/webwriter-task-hint.ts +16 -16
- package/src/widgets/webwriter-task-prompt.ts +17 -17
- package/src/widgets/webwriter-task.ts +543 -543
- package/src/widgets/webwriter-text.ts +130 -130
- package/tsconfig.json +6 -6
package/LICENSE
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
Copyright 2024 Frederic Salmen <frederic@fsalmen.de>
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
|
-
|
|
5
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
6
|
-
|
|
1
|
+
Copyright 2024 Frederic Salmen <frederic@fsalmen.de>
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
|
+
|
|
5
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
6
|
+
|
|
7
7
|
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/custom.d.ts
CHANGED
|
@@ -1,176 +1,176 @@
|
|
|
1
|
-
declare module '*.apng' {
|
|
2
|
-
const content: string;
|
|
3
|
-
export default content;
|
|
4
|
-
}
|
|
5
|
-
declare module '*.jpg' {
|
|
6
|
-
const content: string;
|
|
7
|
-
export default content;
|
|
8
|
-
}
|
|
9
|
-
declare module '*.jpeg' {
|
|
10
|
-
const content: string;
|
|
11
|
-
export default content;
|
|
12
|
-
}
|
|
13
|
-
declare module '*.jfif' {
|
|
14
|
-
const content: string;
|
|
15
|
-
export default content;
|
|
16
|
-
}
|
|
17
|
-
declare module '*.pjpeg' {
|
|
18
|
-
const content: string;
|
|
19
|
-
export default content;
|
|
20
|
-
}
|
|
21
|
-
declare module '*.pjp' {
|
|
22
|
-
const content: string;
|
|
23
|
-
export default content;
|
|
24
|
-
}
|
|
25
|
-
declare module '*.png' {
|
|
26
|
-
const content: string;
|
|
27
|
-
export default content;
|
|
28
|
-
}
|
|
29
|
-
declare module '*.svg' {
|
|
30
|
-
const content: string;
|
|
31
|
-
export default content;
|
|
32
|
-
}
|
|
33
|
-
declare module '*.webp' {
|
|
34
|
-
const content: string;
|
|
35
|
-
export default content;
|
|
36
|
-
}
|
|
37
|
-
declare module '*.bmp' {
|
|
38
|
-
const content: string;
|
|
39
|
-
export default content;
|
|
40
|
-
}
|
|
41
|
-
declare module '*.ico' {
|
|
42
|
-
const content: string;
|
|
43
|
-
export default content;
|
|
44
|
-
}
|
|
45
|
-
declare module '*.cur' {
|
|
46
|
-
const content: string;
|
|
47
|
-
export default content;
|
|
48
|
-
}
|
|
49
|
-
declare module '*.tif' {
|
|
50
|
-
const content: string;
|
|
51
|
-
export default content;
|
|
52
|
-
}
|
|
53
|
-
declare module '*.tiff' {
|
|
54
|
-
const content: string;
|
|
55
|
-
export default content;
|
|
56
|
-
}
|
|
57
|
-
declare module '*.wav' {
|
|
58
|
-
const content: string;
|
|
59
|
-
export default content;
|
|
60
|
-
}
|
|
61
|
-
declare module '*.wave' {
|
|
62
|
-
const content: string;
|
|
63
|
-
export default content;
|
|
64
|
-
}
|
|
65
|
-
declare module '*.mp3' {
|
|
66
|
-
const content: string;
|
|
67
|
-
export default content;
|
|
68
|
-
}
|
|
69
|
-
declare module '*.aac' {
|
|
70
|
-
const content: string;
|
|
71
|
-
export default content;
|
|
72
|
-
}
|
|
73
|
-
declare module '*.aacp' {
|
|
74
|
-
const content: string;
|
|
75
|
-
export default content;
|
|
76
|
-
}
|
|
77
|
-
declare module '*.oga' {
|
|
78
|
-
const content: string;
|
|
79
|
-
export default content;
|
|
80
|
-
}
|
|
81
|
-
declare module '*.flac' {
|
|
82
|
-
const content: string;
|
|
83
|
-
export default content;
|
|
84
|
-
}
|
|
85
|
-
declare module '*.weba' {
|
|
86
|
-
const content: string;
|
|
87
|
-
export default content;
|
|
88
|
-
}
|
|
89
|
-
declare module '*.mp4' {
|
|
90
|
-
const content: string;
|
|
91
|
-
export default content;
|
|
92
|
-
}
|
|
93
|
-
declare module '*.webm' {
|
|
94
|
-
const content: string;
|
|
95
|
-
export default content;
|
|
96
|
-
}
|
|
97
|
-
declare module '*.avif' {
|
|
98
|
-
const content: string;
|
|
99
|
-
export default content;
|
|
100
|
-
}
|
|
101
|
-
declare module '*.gif' {
|
|
102
|
-
const content: string;
|
|
103
|
-
export default content;
|
|
104
|
-
}
|
|
105
|
-
declare module '*.mov' {
|
|
106
|
-
const content: string;
|
|
107
|
-
export default content;
|
|
108
|
-
}
|
|
109
|
-
declare module '*.avi' {
|
|
110
|
-
const content: string;
|
|
111
|
-
export default content;
|
|
112
|
-
}
|
|
113
|
-
declare module '*.ogv' {
|
|
114
|
-
const content: string;
|
|
115
|
-
export default content;
|
|
116
|
-
}
|
|
117
|
-
declare module '*.mkv' {
|
|
118
|
-
const content: string;
|
|
119
|
-
export default content;
|
|
120
|
-
}
|
|
121
|
-
declare module '*.opus' {
|
|
122
|
-
const content: string;
|
|
123
|
-
export default content;
|
|
124
|
-
}
|
|
125
|
-
declare module '*.mpeg' {
|
|
126
|
-
const content: string;
|
|
127
|
-
export default content;
|
|
128
|
-
}
|
|
129
|
-
declare module '*.woff' {
|
|
130
|
-
const content: string;
|
|
131
|
-
export default content;
|
|
132
|
-
}
|
|
133
|
-
declare module '*.woff2' {
|
|
134
|
-
const content: string;
|
|
135
|
-
export default content;
|
|
136
|
-
}
|
|
137
|
-
declare module '*.ttf' {
|
|
138
|
-
const content: string;
|
|
139
|
-
export default content;
|
|
140
|
-
}
|
|
141
|
-
declare module '*.otf' {
|
|
142
|
-
const content: string;
|
|
143
|
-
export default content;
|
|
144
|
-
}
|
|
145
|
-
declare module '*.pdf' {
|
|
146
|
-
const content: string;
|
|
147
|
-
export default content;
|
|
148
|
-
}
|
|
149
|
-
declare module '*.json' {
|
|
150
|
-
const content: {[key: string]: any};
|
|
151
|
-
export default content;
|
|
152
|
-
}
|
|
153
|
-
declare module '*.jsonld' {
|
|
154
|
-
const content: {[key: string]: any};
|
|
155
|
-
export default content;
|
|
156
|
-
}
|
|
157
|
-
declare module '*.txt' {
|
|
158
|
-
const content: string;
|
|
159
|
-
export default content;
|
|
160
|
-
}
|
|
161
|
-
declare module '*.csv' {
|
|
162
|
-
const content: string;
|
|
163
|
-
export default content;
|
|
164
|
-
}
|
|
165
|
-
declare module '*.htm' {
|
|
166
|
-
const content: string;
|
|
167
|
-
export default content;
|
|
168
|
-
}
|
|
169
|
-
declare module '*.html' {
|
|
170
|
-
const content: string;
|
|
171
|
-
export default content;
|
|
172
|
-
}
|
|
173
|
-
declare module '*.xml' {
|
|
174
|
-
const content: string;
|
|
175
|
-
export default content;
|
|
1
|
+
declare module '*.apng' {
|
|
2
|
+
const content: string;
|
|
3
|
+
export default content;
|
|
4
|
+
}
|
|
5
|
+
declare module '*.jpg' {
|
|
6
|
+
const content: string;
|
|
7
|
+
export default content;
|
|
8
|
+
}
|
|
9
|
+
declare module '*.jpeg' {
|
|
10
|
+
const content: string;
|
|
11
|
+
export default content;
|
|
12
|
+
}
|
|
13
|
+
declare module '*.jfif' {
|
|
14
|
+
const content: string;
|
|
15
|
+
export default content;
|
|
16
|
+
}
|
|
17
|
+
declare module '*.pjpeg' {
|
|
18
|
+
const content: string;
|
|
19
|
+
export default content;
|
|
20
|
+
}
|
|
21
|
+
declare module '*.pjp' {
|
|
22
|
+
const content: string;
|
|
23
|
+
export default content;
|
|
24
|
+
}
|
|
25
|
+
declare module '*.png' {
|
|
26
|
+
const content: string;
|
|
27
|
+
export default content;
|
|
28
|
+
}
|
|
29
|
+
declare module '*.svg' {
|
|
30
|
+
const content: string;
|
|
31
|
+
export default content;
|
|
32
|
+
}
|
|
33
|
+
declare module '*.webp' {
|
|
34
|
+
const content: string;
|
|
35
|
+
export default content;
|
|
36
|
+
}
|
|
37
|
+
declare module '*.bmp' {
|
|
38
|
+
const content: string;
|
|
39
|
+
export default content;
|
|
40
|
+
}
|
|
41
|
+
declare module '*.ico' {
|
|
42
|
+
const content: string;
|
|
43
|
+
export default content;
|
|
44
|
+
}
|
|
45
|
+
declare module '*.cur' {
|
|
46
|
+
const content: string;
|
|
47
|
+
export default content;
|
|
48
|
+
}
|
|
49
|
+
declare module '*.tif' {
|
|
50
|
+
const content: string;
|
|
51
|
+
export default content;
|
|
52
|
+
}
|
|
53
|
+
declare module '*.tiff' {
|
|
54
|
+
const content: string;
|
|
55
|
+
export default content;
|
|
56
|
+
}
|
|
57
|
+
declare module '*.wav' {
|
|
58
|
+
const content: string;
|
|
59
|
+
export default content;
|
|
60
|
+
}
|
|
61
|
+
declare module '*.wave' {
|
|
62
|
+
const content: string;
|
|
63
|
+
export default content;
|
|
64
|
+
}
|
|
65
|
+
declare module '*.mp3' {
|
|
66
|
+
const content: string;
|
|
67
|
+
export default content;
|
|
68
|
+
}
|
|
69
|
+
declare module '*.aac' {
|
|
70
|
+
const content: string;
|
|
71
|
+
export default content;
|
|
72
|
+
}
|
|
73
|
+
declare module '*.aacp' {
|
|
74
|
+
const content: string;
|
|
75
|
+
export default content;
|
|
76
|
+
}
|
|
77
|
+
declare module '*.oga' {
|
|
78
|
+
const content: string;
|
|
79
|
+
export default content;
|
|
80
|
+
}
|
|
81
|
+
declare module '*.flac' {
|
|
82
|
+
const content: string;
|
|
83
|
+
export default content;
|
|
84
|
+
}
|
|
85
|
+
declare module '*.weba' {
|
|
86
|
+
const content: string;
|
|
87
|
+
export default content;
|
|
88
|
+
}
|
|
89
|
+
declare module '*.mp4' {
|
|
90
|
+
const content: string;
|
|
91
|
+
export default content;
|
|
92
|
+
}
|
|
93
|
+
declare module '*.webm' {
|
|
94
|
+
const content: string;
|
|
95
|
+
export default content;
|
|
96
|
+
}
|
|
97
|
+
declare module '*.avif' {
|
|
98
|
+
const content: string;
|
|
99
|
+
export default content;
|
|
100
|
+
}
|
|
101
|
+
declare module '*.gif' {
|
|
102
|
+
const content: string;
|
|
103
|
+
export default content;
|
|
104
|
+
}
|
|
105
|
+
declare module '*.mov' {
|
|
106
|
+
const content: string;
|
|
107
|
+
export default content;
|
|
108
|
+
}
|
|
109
|
+
declare module '*.avi' {
|
|
110
|
+
const content: string;
|
|
111
|
+
export default content;
|
|
112
|
+
}
|
|
113
|
+
declare module '*.ogv' {
|
|
114
|
+
const content: string;
|
|
115
|
+
export default content;
|
|
116
|
+
}
|
|
117
|
+
declare module '*.mkv' {
|
|
118
|
+
const content: string;
|
|
119
|
+
export default content;
|
|
120
|
+
}
|
|
121
|
+
declare module '*.opus' {
|
|
122
|
+
const content: string;
|
|
123
|
+
export default content;
|
|
124
|
+
}
|
|
125
|
+
declare module '*.mpeg' {
|
|
126
|
+
const content: string;
|
|
127
|
+
export default content;
|
|
128
|
+
}
|
|
129
|
+
declare module '*.woff' {
|
|
130
|
+
const content: string;
|
|
131
|
+
export default content;
|
|
132
|
+
}
|
|
133
|
+
declare module '*.woff2' {
|
|
134
|
+
const content: string;
|
|
135
|
+
export default content;
|
|
136
|
+
}
|
|
137
|
+
declare module '*.ttf' {
|
|
138
|
+
const content: string;
|
|
139
|
+
export default content;
|
|
140
|
+
}
|
|
141
|
+
declare module '*.otf' {
|
|
142
|
+
const content: string;
|
|
143
|
+
export default content;
|
|
144
|
+
}
|
|
145
|
+
declare module '*.pdf' {
|
|
146
|
+
const content: string;
|
|
147
|
+
export default content;
|
|
148
|
+
}
|
|
149
|
+
declare module '*.json' {
|
|
150
|
+
const content: {[key: string]: any};
|
|
151
|
+
export default content;
|
|
152
|
+
}
|
|
153
|
+
declare module '*.jsonld' {
|
|
154
|
+
const content: {[key: string]: any};
|
|
155
|
+
export default content;
|
|
156
|
+
}
|
|
157
|
+
declare module '*.txt' {
|
|
158
|
+
const content: string;
|
|
159
|
+
export default content;
|
|
160
|
+
}
|
|
161
|
+
declare module '*.csv' {
|
|
162
|
+
const content: string;
|
|
163
|
+
export default content;
|
|
164
|
+
}
|
|
165
|
+
declare module '*.htm' {
|
|
166
|
+
const content: string;
|
|
167
|
+
export default content;
|
|
168
|
+
}
|
|
169
|
+
declare module '*.html' {
|
|
170
|
+
const content: string;
|
|
171
|
+
export default content;
|
|
172
|
+
}
|
|
173
|
+
declare module '*.xml' {
|
|
174
|
+
const content: string;
|
|
175
|
+
export default content;
|
|
176
176
|
}
|
|
@@ -1776,7 +1776,7 @@ var icon_styles_default = i`
|
|
|
1776
1776
|
}
|
|
1777
1777
|
`;
|
|
1778
1778
|
|
|
1779
|
-
// ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.
|
|
1779
|
+
// ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.B3BW2AY6.js
|
|
1780
1780
|
var __defProp3 = Object.defineProperty;
|
|
1781
1781
|
var __defProps = Object.defineProperties;
|
|
1782
1782
|
var __getOwnPropDesc3 = Object.getOwnPropertyDescriptor;
|
|
@@ -1806,8 +1806,26 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
1806
1806
|
__defProp3(target, key, result);
|
|
1807
1807
|
return result;
|
|
1808
1808
|
};
|
|
1809
|
+
var __accessCheck3 = (obj, member, msg) => {
|
|
1810
|
+
if (!member.has(obj))
|
|
1811
|
+
throw TypeError("Cannot " + msg);
|
|
1812
|
+
};
|
|
1813
|
+
var __privateGet3 = (obj, member, getter) => {
|
|
1814
|
+
__accessCheck3(obj, member, "read from private field");
|
|
1815
|
+
return getter ? getter.call(obj) : member.get(obj);
|
|
1816
|
+
};
|
|
1817
|
+
var __privateAdd3 = (obj, member, value) => {
|
|
1818
|
+
if (member.has(obj))
|
|
1819
|
+
throw TypeError("Cannot add the same private member more than once");
|
|
1820
|
+
member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
1821
|
+
};
|
|
1822
|
+
var __privateSet3 = (obj, member, value, setter) => {
|
|
1823
|
+
__accessCheck3(obj, member, "write to private field");
|
|
1824
|
+
setter ? setter.call(obj, value) : member.set(obj, value);
|
|
1825
|
+
return value;
|
|
1826
|
+
};
|
|
1809
1827
|
|
|
1810
|
-
// ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.
|
|
1828
|
+
// ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.CCJUT23E.js
|
|
1811
1829
|
function watch(propertyName, options) {
|
|
1812
1830
|
const resolvedOptions = __spreadValues({
|
|
1813
1831
|
waitUntilFirstUpdate: false
|
|
@@ -1850,10 +1868,13 @@ var component_styles_default = i`
|
|
|
1850
1868
|
}
|
|
1851
1869
|
`;
|
|
1852
1870
|
|
|
1853
|
-
// ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.
|
|
1871
|
+
// ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.NLWS5DN7.js
|
|
1872
|
+
var _hasRecordedInitialProperties;
|
|
1854
1873
|
var ShoelaceElement = class extends h3 {
|
|
1855
1874
|
constructor() {
|
|
1856
1875
|
super();
|
|
1876
|
+
__privateAdd3(this, _hasRecordedInitialProperties, false);
|
|
1877
|
+
this.initialReflectedProperties = /* @__PURE__ */ new Map();
|
|
1857
1878
|
Object.entries(this.constructor.dependencies).forEach(([name, component]) => {
|
|
1858
1879
|
this.constructor.define(name, component);
|
|
1859
1880
|
});
|
|
@@ -1895,8 +1916,30 @@ var ShoelaceElement = class extends h3 {
|
|
|
1895
1916
|
`Attempted to register <${name}>${newVersion}, but <${name}>${existingVersion} has already been registered.`
|
|
1896
1917
|
);
|
|
1897
1918
|
}
|
|
1919
|
+
attributeChangedCallback(name, oldValue, newValue) {
|
|
1920
|
+
if (!__privateGet3(this, _hasRecordedInitialProperties)) {
|
|
1921
|
+
this.constructor.elementProperties.forEach(
|
|
1922
|
+
(obj, prop) => {
|
|
1923
|
+
if (obj.reflect && this[prop] != null) {
|
|
1924
|
+
this.initialReflectedProperties.set(prop, this[prop]);
|
|
1925
|
+
}
|
|
1926
|
+
}
|
|
1927
|
+
);
|
|
1928
|
+
__privateSet3(this, _hasRecordedInitialProperties, true);
|
|
1929
|
+
}
|
|
1930
|
+
super.attributeChangedCallback(name, oldValue, newValue);
|
|
1931
|
+
}
|
|
1932
|
+
willUpdate(changedProperties) {
|
|
1933
|
+
super.willUpdate(changedProperties);
|
|
1934
|
+
this.initialReflectedProperties.forEach((value, prop) => {
|
|
1935
|
+
if (changedProperties.has(prop) && this[prop] == null) {
|
|
1936
|
+
this[prop] = value;
|
|
1937
|
+
}
|
|
1938
|
+
});
|
|
1939
|
+
}
|
|
1898
1940
|
};
|
|
1899
|
-
|
|
1941
|
+
_hasRecordedInitialProperties = /* @__PURE__ */ new WeakMap();
|
|
1942
|
+
ShoelaceElement.version = "2.17.1";
|
|
1900
1943
|
ShoelaceElement.dependencies = {};
|
|
1901
1944
|
__decorateClass([
|
|
1902
1945
|
n5()
|
|
@@ -1912,7 +1955,7 @@ var rt = (o5) => void 0 === o5.strings;
|
|
|
1912
1955
|
var ht = {};
|
|
1913
1956
|
var dt = (o5, t5 = ht) => o5._$AH = t5;
|
|
1914
1957
|
|
|
1915
|
-
// ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.
|
|
1958
|
+
// ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.O7VCMB7W.js
|
|
1916
1959
|
var CACHEABLE_ERROR = Symbol();
|
|
1917
1960
|
var RETRYABLE_ERROR = Symbol();
|
|
1918
1961
|
var parser;
|
|
@@ -1933,11 +1976,6 @@ var SlIcon = class extends ShoelaceElement {
|
|
|
1933
1976
|
this.svg = ke`<svg part="svg">
|
|
1934
1977
|
<use part="use" href="${url}"></use>
|
|
1935
1978
|
</svg>`;
|
|
1936
|
-
await this.updateComplete;
|
|
1937
|
-
const svg = this.shadowRoot.querySelector("[part='svg']");
|
|
1938
|
-
if (typeof library2.mutator === "function") {
|
|
1939
|
-
library2.mutator(svg);
|
|
1940
|
-
}
|
|
1941
1979
|
return this.svg;
|
|
1942
1980
|
}
|
|
1943
1981
|
try {
|
|
@@ -2027,6 +2065,13 @@ var SlIcon = class extends ShoelaceElement {
|
|
|
2027
2065
|
}
|
|
2028
2066
|
if (nt(svg)) {
|
|
2029
2067
|
this.svg = svg;
|
|
2068
|
+
if (library2) {
|
|
2069
|
+
await this.updateComplete;
|
|
2070
|
+
const shadowSVG = this.shadowRoot.querySelector("[part='svg']");
|
|
2071
|
+
if (typeof library2.mutator === "function" && shadowSVG) {
|
|
2072
|
+
library2.mutator(shadowSVG);
|
|
2073
|
+
}
|
|
2074
|
+
}
|
|
2030
2075
|
return;
|
|
2031
2076
|
}
|
|
2032
2077
|
switch (svg) {
|
|
@@ -2068,7 +2113,7 @@ __decorateClass([
|
|
|
2068
2113
|
watch(["name", "src", "library"])
|
|
2069
2114
|
], SlIcon.prototype, "setIcon", 1);
|
|
2070
2115
|
|
|
2071
|
-
// ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.
|
|
2116
|
+
// ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.N5H7JIU3.js
|
|
2072
2117
|
var SlRadio = class extends ShoelaceElement {
|
|
2073
2118
|
constructor() {
|
|
2074
2119
|
super();
|
|
@@ -2356,7 +2401,7 @@ var form_control_styles_default = i`
|
|
|
2356
2401
|
}
|
|
2357
2402
|
`;
|
|
2358
2403
|
|
|
2359
|
-
// ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.
|
|
2404
|
+
// ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.2RCF7SLU.js
|
|
2360
2405
|
var formCollections = /* @__PURE__ */ new WeakMap();
|
|
2361
2406
|
var reportValidityOverloads = /* @__PURE__ */ new WeakMap();
|
|
2362
2407
|
var checkValidityOverloads = /* @__PURE__ */ new WeakMap();
|
|
@@ -2716,7 +2761,7 @@ var Ft = e3(class extends i3 {
|
|
|
2716
2761
|
}
|
|
2717
2762
|
});
|
|
2718
2763
|
|
|
2719
|
-
// ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.
|
|
2764
|
+
// ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.CX3DZWHK.js
|
|
2720
2765
|
var SlCheckbox = class extends ShoelaceElement {
|
|
2721
2766
|
constructor() {
|
|
2722
2767
|
super(...arguments);
|