@dooboostore/simple-web-component 1.0.50 → 1.0.52
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/README.md +735 -354
- package/dist/cjs/SwcAppEngine.js.map +2 -2
- package/dist/cjs/decorators/addEventListener.js +64 -146
- package/dist/cjs/decorators/addEventListener.js.map +2 -2
- package/dist/cjs/decorators/applyAttribute.js +36 -48
- package/dist/cjs/decorators/applyAttribute.js.map +2 -2
- package/dist/cjs/decorators/applyClass.js +9 -12
- package/dist/cjs/decorators/applyClass.js.map +2 -2
- package/dist/cjs/decorators/applyNode.js +14 -22
- package/dist/cjs/decorators/applyNode.js.map +2 -2
- package/dist/cjs/decorators/applyProperty.js +12 -42
- package/dist/cjs/decorators/applyProperty.js.map +2 -2
- package/dist/cjs/decorators/applySlot.js +3 -3
- package/dist/cjs/decorators/applySlot.js.map +2 -2
- package/dist/cjs/decorators/applyStyle.js +9 -12
- package/dist/cjs/decorators/applyStyle.js.map +2 -2
- package/dist/cjs/decorators/around.js +124 -0
- package/dist/cjs/decorators/around.js.map +7 -0
- package/dist/cjs/decorators/changedAttribute.js +40 -12
- package/dist/cjs/decorators/changedAttribute.js.map +2 -2
- package/dist/cjs/decorators/elementDefine.js +224 -195
- package/dist/cjs/decorators/elementDefine.js.map +3 -3
- package/dist/cjs/decorators/emitCustomEvent.js +14 -12
- package/dist/cjs/decorators/emitCustomEvent.js.map +2 -2
- package/dist/cjs/decorators/eventMedia.js +36 -8
- package/dist/cjs/decorators/eventMedia.js.map +2 -2
- package/dist/cjs/decorators/fetch.js +278 -0
- package/dist/cjs/decorators/fetch.js.map +7 -0
- package/dist/cjs/decorators/index.js +5 -2
- package/dist/cjs/decorators/index.js.map +2 -2
- package/dist/cjs/decorators/intersectionObserver.js +33 -13
- package/dist/cjs/decorators/intersectionObserver.js.map +2 -2
- package/dist/cjs/decorators/lifecycles.js +11 -11
- package/dist/cjs/decorators/lifecycles.js.map +2 -2
- package/dist/cjs/decorators/mutationObserver.js +55 -39
- package/dist/cjs/decorators/mutationObserver.js.map +3 -3
- package/dist/cjs/decorators/parameter.js +92 -9
- package/dist/cjs/decorators/parameter.js.map +2 -2
- package/dist/cjs/decorators/publishSwcAppMessage.js +2 -2
- package/dist/cjs/decorators/publishSwcAppMessage.js.map +2 -2
- package/dist/cjs/decorators/query.js +11 -5
- package/dist/cjs/decorators/query.js.map +2 -2
- package/dist/cjs/decorators/requestAnimationFrame.js +7 -16
- package/dist/cjs/decorators/requestAnimationFrame.js.map +2 -2
- package/dist/cjs/decorators/resizeObserver.js +41 -17
- package/dist/cjs/decorators/resizeObserver.js.map +3 -3
- package/dist/cjs/decorators/setInterval.js +36 -25
- package/dist/cjs/decorators/setInterval.js.map +2 -2
- package/dist/cjs/decorators/setTimeout.js +36 -25
- package/dist/cjs/decorators/setTimeout.js.map +2 -2
- package/dist/cjs/decorators/state.js +13 -10
- package/dist/cjs/decorators/state.js.map +2 -2
- package/dist/cjs/decorators/{subscribeSwcAppMessageWhileConnected.js → subscribeSwcAppMessage.js} +20 -21
- package/dist/cjs/decorators/subscribeSwcAppMessage.js.map +7 -0
- package/dist/cjs/decorators/{subscribeSwcAppRouteChangeWhileConnected.js → subscribeSwcAppRouteChange.js} +23 -19
- package/dist/cjs/decorators/subscribeSwcAppRouteChange.js.map +7 -0
- package/dist/cjs/decorators/swcAppRoute.js +149 -0
- package/dist/cjs/decorators/swcAppRoute.js.map +7 -0
- package/dist/cjs/elements/SwcApp.js +70 -0
- package/dist/cjs/elements/SwcApp.js.map +2 -2
- package/dist/cjs/elements/SwcAppMixin.js +262 -83
- package/dist/cjs/elements/SwcAppMixin.js.map +3 -3
- package/dist/cjs/types/index.js +5 -1
- package/dist/cjs/types/index.js.map +2 -2
- package/dist/cjs/utils/Utils.js +36 -15
- package/dist/cjs/utils/Utils.js.map +2 -2
- package/dist/esm/SwcAppEngine.js.map +2 -2
- package/dist/esm/decorators/addEventListener.js +64 -146
- package/dist/esm/decorators/addEventListener.js.map +2 -2
- package/dist/esm/decorators/applyAttribute.js +36 -48
- package/dist/esm/decorators/applyAttribute.js.map +2 -2
- package/dist/esm/decorators/applyClass.js +9 -12
- package/dist/esm/decorators/applyClass.js.map +2 -2
- package/dist/esm/decorators/applyNode.js +15 -23
- package/dist/esm/decorators/applyNode.js.map +2 -2
- package/dist/esm/decorators/applyProperty.js +12 -42
- package/dist/esm/decorators/applyProperty.js.map +2 -2
- package/dist/esm/decorators/applySlot.js +3 -3
- package/dist/esm/decorators/applySlot.js.map +2 -2
- package/dist/esm/decorators/applyStyle.js +9 -12
- package/dist/esm/decorators/applyStyle.js.map +2 -2
- package/dist/esm/decorators/around.js +105 -0
- package/dist/esm/decorators/around.js.map +7 -0
- package/dist/esm/decorators/changedAttribute.js +40 -12
- package/dist/esm/decorators/changedAttribute.js.map +2 -2
- package/dist/esm/decorators/elementDefine.js +222 -193
- package/dist/esm/decorators/elementDefine.js.map +3 -3
- package/dist/esm/decorators/emitCustomEvent.js +15 -13
- package/dist/esm/decorators/emitCustomEvent.js.map +2 -2
- package/dist/esm/decorators/eventMedia.js +36 -8
- package/dist/esm/decorators/eventMedia.js.map +2 -2
- package/dist/esm/decorators/fetch.js +259 -0
- package/dist/esm/decorators/fetch.js.map +7 -0
- package/dist/esm/decorators/index.js +5 -2
- package/dist/esm/decorators/index.js.map +2 -2
- package/dist/esm/decorators/intersectionObserver.js +33 -13
- package/dist/esm/decorators/intersectionObserver.js.map +2 -2
- package/dist/esm/decorators/lifecycles.js +11 -11
- package/dist/esm/decorators/lifecycles.js.map +2 -2
- package/dist/esm/decorators/mutationObserver.js +55 -39
- package/dist/esm/decorators/mutationObserver.js.map +3 -3
- package/dist/esm/decorators/parameter.js +92 -9
- package/dist/esm/decorators/parameter.js.map +2 -2
- package/dist/esm/decorators/publishSwcAppMessage.js +2 -2
- package/dist/esm/decorators/publishSwcAppMessage.js.map +2 -2
- package/dist/esm/decorators/query.js +11 -5
- package/dist/esm/decorators/query.js.map +2 -2
- package/dist/esm/decorators/requestAnimationFrame.js +8 -17
- package/dist/esm/decorators/requestAnimationFrame.js.map +2 -2
- package/dist/esm/decorators/resizeObserver.js +41 -17
- package/dist/esm/decorators/resizeObserver.js.map +2 -2
- package/dist/esm/decorators/setInterval.js +37 -26
- package/dist/esm/decorators/setInterval.js.map +2 -2
- package/dist/esm/decorators/setTimeout.js +37 -26
- package/dist/esm/decorators/setTimeout.js.map +2 -2
- package/dist/esm/decorators/state.js +13 -10
- package/dist/esm/decorators/state.js.map +2 -2
- package/dist/esm/decorators/subscribeSwcAppMessage.js +53 -0
- package/dist/esm/decorators/subscribeSwcAppMessage.js.map +7 -0
- package/dist/esm/decorators/{subscribeSwcAppRouteChangeWhileConnected.js → subscribeSwcAppRouteChange.js} +20 -16
- package/dist/esm/decorators/subscribeSwcAppRouteChange.js.map +7 -0
- package/dist/esm/decorators/swcAppRoute.js +130 -0
- package/dist/esm/decorators/swcAppRoute.js.map +7 -0
- package/dist/esm/elements/SwcApp.js +70 -0
- package/dist/esm/elements/SwcApp.js.map +2 -2
- package/dist/esm/elements/SwcAppMixin.js +264 -85
- package/dist/esm/elements/SwcAppMixin.js.map +3 -3
- package/dist/esm/types/index.js +5 -1
- package/dist/esm/types/index.js.map +2 -2
- package/dist/esm/utils/Utils.js +36 -15
- package/dist/esm/utils/Utils.js.map +2 -2
- package/dist/esm-bundle/dooboostore-simple-web-component.esm.js +1893 -1000
- package/dist/esm-bundle/dooboostore-simple-web-component.esm.js.map +4 -4
- package/dist/types/SwcAppEngine.d.ts +1 -0
- package/dist/types/SwcAppEngine.d.ts.map +1 -1
- package/dist/types/decorators/addEventListener.d.ts +923 -960
- package/dist/types/decorators/addEventListener.d.ts.map +1 -1
- package/dist/types/decorators/applyAttribute.d.ts +26 -38
- package/dist/types/decorators/applyAttribute.d.ts.map +1 -1
- package/dist/types/decorators/applyClass.d.ts +1 -3
- package/dist/types/decorators/applyClass.d.ts.map +1 -1
- package/dist/types/decorators/applyNode.d.ts +15 -17
- package/dist/types/decorators/applyNode.d.ts.map +1 -1
- package/dist/types/decorators/applyProperty.d.ts +25 -45
- package/dist/types/decorators/applyProperty.d.ts.map +1 -1
- package/dist/types/decorators/applyStyle.d.ts +1 -3
- package/dist/types/decorators/applyStyle.d.ts.map +1 -1
- package/dist/types/decorators/around.d.ts +87 -0
- package/dist/types/decorators/around.d.ts.map +1 -0
- package/dist/types/decorators/changedAttribute.d.ts +21 -1
- package/dist/types/decorators/changedAttribute.d.ts.map +1 -1
- package/dist/types/decorators/elementDefine.d.ts.map +1 -1
- package/dist/types/decorators/emitCustomEvent.d.ts +0 -1
- package/dist/types/decorators/emitCustomEvent.d.ts.map +1 -1
- package/dist/types/decorators/eventMedia.d.ts +24 -1
- package/dist/types/decorators/eventMedia.d.ts.map +1 -1
- package/dist/types/decorators/fetch.d.ts +139 -0
- package/dist/types/decorators/fetch.d.ts.map +1 -0
- package/dist/types/decorators/index.d.ts +5 -2
- package/dist/types/decorators/index.d.ts.map +1 -1
- package/dist/types/decorators/intersectionObserver.d.ts +24 -11
- package/dist/types/decorators/intersectionObserver.d.ts.map +1 -1
- package/dist/types/decorators/lifecycles.d.ts +8 -7
- package/dist/types/decorators/lifecycles.d.ts.map +1 -1
- package/dist/types/decorators/mutationObserver.d.ts +26 -13
- package/dist/types/decorators/mutationObserver.d.ts.map +1 -1
- package/dist/types/decorators/parameter.d.ts +84 -6
- package/dist/types/decorators/parameter.d.ts.map +1 -1
- package/dist/types/decorators/publishSwcAppMessage.d.ts +0 -1
- package/dist/types/decorators/publishSwcAppMessage.d.ts.map +1 -1
- package/dist/types/decorators/query.d.ts +7 -7
- package/dist/types/decorators/query.d.ts.map +1 -1
- package/dist/types/decorators/requestAnimationFrame.d.ts +1 -1
- package/dist/types/decorators/requestAnimationFrame.d.ts.map +1 -1
- package/dist/types/decorators/resizeObserver.d.ts +26 -13
- package/dist/types/decorators/resizeObserver.d.ts.map +1 -1
- package/dist/types/decorators/setInterval.d.ts +10 -0
- package/dist/types/decorators/setInterval.d.ts.map +1 -1
- package/dist/types/decorators/setTimeout.d.ts +10 -0
- package/dist/types/decorators/setTimeout.d.ts.map +1 -1
- package/dist/types/decorators/state.d.ts.map +1 -1
- package/dist/types/decorators/subscribeSwcAppMessage.d.ts +44 -0
- package/dist/types/decorators/subscribeSwcAppMessage.d.ts.map +1 -0
- package/dist/types/decorators/subscribeSwcAppRouteChange.d.ts +60 -0
- package/dist/types/decorators/subscribeSwcAppRouteChange.d.ts.map +1 -0
- package/dist/types/decorators/swcAppRoute.d.ts +94 -0
- package/dist/types/decorators/swcAppRoute.d.ts.map +1 -0
- package/dist/types/elements/SwcApp.d.ts.map +1 -1
- package/dist/types/elements/SwcAppMixin.d.ts +423 -388
- package/dist/types/elements/SwcAppMixin.d.ts.map +1 -1
- package/dist/types/types/index.d.ts +43 -4
- package/dist/types/types/index.d.ts.map +1 -1
- package/dist/types/utils/Utils.d.ts +15 -5
- package/dist/types/utils/Utils.d.ts.map +1 -1
- package/dist/umd-bundle/dooboostore-simple-web-component.umd.js +1893 -1000
- package/dist/umd-bundle/dooboostore-simple-web-component.umd.js.map +4 -4
- package/package.json +8 -6
- package/src/SwcAppEngine.ts +1 -0
- package/src/decorators/addEventListener.ts +102 -96
- package/src/decorators/applyAttribute.ts +76 -138
- package/src/decorators/applyClass.ts +8 -14
- package/src/decorators/applyNode.ts +33 -41
- package/src/decorators/applyProperty.ts +51 -99
- package/src/decorators/applySlot.ts +3 -3
- package/src/decorators/applyStyle.ts +8 -14
- package/src/decorators/around.ts +196 -0
- package/src/decorators/changedAttribute.ts +39 -15
- package/src/decorators/elementDefine.ts +270 -219
- package/src/decorators/emitCustomEvent.ts +17 -13
- package/src/decorators/eventMedia.ts +50 -9
- package/src/decorators/fetch.ts +454 -0
- package/src/decorators/index.ts +5 -2
- package/src/decorators/intersectionObserver.ts +38 -24
- package/src/decorators/lifecycles.ts +24 -22
- package/src/decorators/mutationObserver.ts +71 -52
- package/src/decorators/parameter.ts +145 -14
- package/src/decorators/publishSwcAppMessage.ts +3 -4
- package/src/decorators/query.ts +22 -14
- package/src/decorators/requestAnimationFrame.ts +10 -19
- package/src/decorators/resizeObserver.ts +50 -29
- package/src/decorators/setInterval.ts +37 -26
- package/src/decorators/setTimeout.ts +37 -26
- package/src/decorators/state.ts +19 -13
- package/src/decorators/subscribeSwcAppMessage.ts +106 -0
- package/src/decorators/subscribeSwcAppRouteChange.ts +131 -0
- package/src/decorators/swcAppRoute.ts +231 -0
- package/src/elements/SwcApp.ts +40 -10
- package/src/elements/SwcAppMixin.ts +340 -101
- package/src/types/index.ts +38 -5
- package/src/utils/Utils.ts +50 -18
- package/dist/cjs/decorators/subscribeSwcAppMessageWhileConnected.js.map +0 -7
- package/dist/cjs/decorators/subscribeSwcAppRouteChangeWhileConnected.js.map +0 -7
- package/dist/esm/decorators/subscribeSwcAppMessageWhileConnected.js +0 -54
- package/dist/esm/decorators/subscribeSwcAppMessageWhileConnected.js.map +0 -7
- package/dist/esm/decorators/subscribeSwcAppRouteChangeWhileConnected.js.map +0 -7
- package/dist/types/decorators/subscribeSwcAppMessageWhileConnected.d.ts +0 -23
- package/dist/types/decorators/subscribeSwcAppMessageWhileConnected.d.ts.map +0 -1
- package/dist/types/decorators/subscribeSwcAppRouteChangeWhileConnected.d.ts +0 -31
- package/dist/types/decorators/subscribeSwcAppRouteChangeWhileConnected.d.ts.map +0 -1
- package/src/decorators/subscribeSwcAppMessageWhileConnected.ts +0 -91
- package/src/decorators/subscribeSwcAppRouteChangeWhileConnected.ts +0 -107
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SwcAppMessage } from '../types';
|
|
1
|
+
import { SwcAppMessage, SwcAppMessageObserveOptions, SwcElement } from '../types';
|
|
2
2
|
import { SwcAppEngine, SwcAttributeConfigType, SwcConfigType } from '../SwcAppEngine';
|
|
3
|
-
import { Subscription } from '@dooboostore/core';
|
|
3
|
+
import { Subscription, Subject, Observable } from '@dooboostore/core';
|
|
4
4
|
import { RouterEventType } from '@dooboostore/core-web';
|
|
5
5
|
export declare const isSSR: (i: HTMLElement) => boolean;
|
|
6
6
|
export declare const setSSRAttribute: (i: HTMLElement) => void;
|
|
@@ -16,390 +16,425 @@ export declare const removeSSRAttribute: (i: HTMLElement) => void;
|
|
|
16
16
|
*/
|
|
17
17
|
export declare function SwcAppMixin<T extends {
|
|
18
18
|
new (...args: any[]): HTMLElement;
|
|
19
|
-
}>(Base: T): {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
19
|
+
}>(Base: T): (abstract new (...args: any[]) => {
|
|
20
|
+
__swc_engine: SwcAppEngine;
|
|
21
|
+
_swcId: string;
|
|
22
|
+
_swc_connected_instance: Set<any>;
|
|
23
|
+
_routerSubscription?: Subscription;
|
|
24
|
+
_lastRouterEvent?: RouterEventType;
|
|
25
|
+
_replayedMessages: Map<string, SwcAppMessage[]>;
|
|
26
|
+
_messageSubject: Subject<SwcAppMessage, any>;
|
|
27
|
+
onConnected(...args: any[]): void | Promise<void>;
|
|
28
|
+
onDisconnected(...args: any[]): void | Promise<void>;
|
|
29
|
+
onSwcAppConnected(...args: any[]): void | Promise<void>;
|
|
30
|
+
_routeChangeInvocations: number;
|
|
31
|
+
_connectedInvocations: number;
|
|
32
|
+
_childrenRouteChangedInterval: any;
|
|
33
|
+
_childrenConnectedDoneInterval: any;
|
|
34
|
+
/**
|
|
35
|
+
* Safari is 속성 처리
|
|
36
|
+
* Safari polyfill에서는 자식부터 만들어지고 부모가 만들어지므로
|
|
37
|
+
* 부모가 자식들을 강제로 등록해주는 형태로 처리
|
|
38
|
+
*/
|
|
39
|
+
_connected_safari_and_standby: any[];
|
|
40
|
+
_appReadyWaiters: Array<() => void>;
|
|
41
|
+
get simpleApplication(): import("@dooboostore/simple-boot").SimpleApplication;
|
|
42
|
+
get config(): SwcConfigType;
|
|
43
|
+
get router(): import("@dooboostore/core-web").Router<any>;
|
|
44
|
+
_invokeRouteChangeSubscribers(instance: HTMLElement, re: RouterEventType, phase?: "live" | "connected" | "connectedDone"): Promise<void>;
|
|
45
|
+
/** 라우트 핸들러 인자: @swcAppRouterEvent / host 계열 / @routeChangeBeforeReturn / 라우트 파라미터(query·path 변수) */
|
|
46
|
+
_buildRouteArgs(instance: any, methodName: string | symbol, routeEventValue: any, pathDataAll: {
|
|
47
|
+
[k: string]: string[];
|
|
48
|
+
}, beforeReturn: any): any[];
|
|
49
|
+
/**
|
|
50
|
+
* on: 'beforeLeave' 구독을 라우터 가드로 등록. 지금 경로는 맞고 다음 경로는 안 맞을 때 핸들러를 부르고,
|
|
51
|
+
* false 를 리턴하면 이동을 취소한다. 요소가 떨어지면 _disconnected 에서 해제.
|
|
52
|
+
*/
|
|
53
|
+
_registerLeaveGuards(instance: any): void;
|
|
54
|
+
_connected(instance: HTMLElement, option?: {
|
|
55
|
+
noIncrements: boolean;
|
|
56
|
+
}): Promise</*elided*/ any>;
|
|
57
|
+
_connectedDone(instance: any, option?: {
|
|
58
|
+
aborted?: boolean;
|
|
59
|
+
}): Promise<void>;
|
|
60
|
+
_disconnected(instance: any): void;
|
|
61
|
+
_handleRouteChange(route: RouterEventType): Promise<void>;
|
|
62
|
+
connect(config?: SwcAttributeConfigType): Promise<void>;
|
|
63
|
+
connectedCallback(): void;
|
|
64
|
+
disconnectedCallback(): void;
|
|
65
|
+
routing(path: string): Promise<void>;
|
|
66
|
+
back(): void;
|
|
67
|
+
forward(): void;
|
|
68
|
+
reload(): void;
|
|
69
|
+
publishMessage(message: SwcAppMessage): void;
|
|
70
|
+
connectedElements(): Array<HTMLElement & SwcElement>;
|
|
71
|
+
/**
|
|
72
|
+
* 데코레이터 없이 코드로 메시지를 구독한다 (RxJS 스타일). 서비스·동적 구독 등 데코레이터를 못 붙이는 곳용.
|
|
73
|
+
* host.observeMessage<Me>(AUTH_CHANGED).subscribe(msg => ...) → Subscription (unsubscribe 필수)
|
|
74
|
+
* type 생략 시 전 타입 live. subject 옵션은 @subscribeSwcAppMessage 와 같은 규칙(type 지정 시에만 재생):
|
|
75
|
+
* 'behavior' = 버퍼 마지막 1개 먼저 / 'replay' = 버퍼 전체 시간순 먼저 / 미지정·'subject' = live만.
|
|
76
|
+
* 호출 형태:
|
|
77
|
+
* observeMessage() 전 타입 live
|
|
78
|
+
* observeMessage('auth') auth live
|
|
79
|
+
* observeMessage('auth', { subject: 'behavior' }) auth 마지막 1개 + live
|
|
80
|
+
* observeMessage({ type: 'auth', subject: 'replay' }) 옵션 객체 하나로
|
|
81
|
+
*/
|
|
82
|
+
observeMessage<T_1 = any>(): Observable<SwcAppMessage<T_1>>;
|
|
83
|
+
observeMessage<T_1 = any>(type: string): Observable<SwcAppMessage<T_1>>;
|
|
84
|
+
observeMessage<T_1 = any>(type: string, options: Omit<SwcAppMessageObserveOptions, "type">): Observable<SwcAppMessage<T_1>>;
|
|
85
|
+
observeMessage<T_1 = any>(options: SwcAppMessageObserveOptions): Observable<SwcAppMessage<T_1>>;
|
|
86
|
+
_invokeHook(methodName: string | symbol): Promise<any>;
|
|
87
|
+
_replayMessagesTo(instance: any, phase?: "connected" | "connectedDone"): void;
|
|
88
|
+
_invokeMessageSubscribers(instance: any, message: SwcAppMessage): void;
|
|
89
|
+
_runMessageSubscriber(instance: any, message: SwcAppMessage, metadata: any): Promise<void>;
|
|
90
|
+
accessKey: string;
|
|
91
|
+
readonly accessKeyLabel: string;
|
|
92
|
+
autocapitalize: string;
|
|
93
|
+
autocorrect: boolean;
|
|
94
|
+
dir: string;
|
|
95
|
+
draggable: boolean;
|
|
96
|
+
hidden: boolean;
|
|
97
|
+
inert: boolean;
|
|
98
|
+
innerText: string;
|
|
99
|
+
lang: string;
|
|
100
|
+
readonly offsetHeight: number;
|
|
101
|
+
readonly offsetLeft: number;
|
|
102
|
+
readonly offsetParent: Element | null;
|
|
103
|
+
readonly offsetTop: number;
|
|
104
|
+
readonly offsetWidth: number;
|
|
105
|
+
outerText: string;
|
|
106
|
+
popover: string | null;
|
|
107
|
+
spellcheck: boolean;
|
|
108
|
+
title: string;
|
|
109
|
+
translate: boolean;
|
|
110
|
+
writingSuggestions: string;
|
|
111
|
+
attachInternals(): ElementInternals;
|
|
112
|
+
click(): void;
|
|
113
|
+
hidePopover(): void;
|
|
114
|
+
showPopover(): void;
|
|
115
|
+
togglePopover(options?: boolean): boolean;
|
|
116
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
117
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
118
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
119
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
120
|
+
readonly attributes: NamedNodeMap;
|
|
121
|
+
get classList(): DOMTokenList;
|
|
122
|
+
set classList(value: string);
|
|
123
|
+
className: string;
|
|
124
|
+
readonly clientHeight: number;
|
|
125
|
+
readonly clientLeft: number;
|
|
126
|
+
readonly clientTop: number;
|
|
127
|
+
readonly clientWidth: number;
|
|
128
|
+
readonly currentCSSZoom: number;
|
|
129
|
+
id: string;
|
|
130
|
+
innerHTML: string;
|
|
131
|
+
readonly localName: string;
|
|
132
|
+
readonly namespaceURI: string | null;
|
|
133
|
+
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
134
|
+
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
135
|
+
outerHTML: string;
|
|
136
|
+
readonly ownerDocument: Document;
|
|
137
|
+
get part(): DOMTokenList;
|
|
138
|
+
set part(value: string);
|
|
139
|
+
readonly prefix: string | null;
|
|
140
|
+
readonly scrollHeight: number;
|
|
141
|
+
scrollLeft: number;
|
|
142
|
+
scrollTop: number;
|
|
143
|
+
readonly scrollWidth: number;
|
|
144
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
145
|
+
slot: string;
|
|
146
|
+
readonly tagName: string;
|
|
147
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
148
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
149
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K];
|
|
150
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K];
|
|
151
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K];
|
|
152
|
+
closest<E extends Element = Element>(selectors: string): E;
|
|
153
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
154
|
+
getAttribute(qualifiedName: string): string | null;
|
|
155
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
156
|
+
getAttributeNames(): string[];
|
|
157
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
|
158
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
159
|
+
getBoundingClientRect(): DOMRect;
|
|
160
|
+
getClientRects(): DOMRectList;
|
|
161
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
162
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
163
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
164
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
165
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
166
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
167
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
168
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
169
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
170
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
171
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
172
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
173
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
174
|
+
hasAttributes(): boolean;
|
|
175
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
176
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
177
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
178
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
179
|
+
matches(selectors: string): boolean;
|
|
180
|
+
releasePointerCapture(pointerId: number): void;
|
|
181
|
+
removeAttribute(qualifiedName: string): void;
|
|
182
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
183
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
184
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
185
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
186
|
+
scroll(options?: ScrollToOptions): void;
|
|
187
|
+
scroll(x: number, y: number): void;
|
|
188
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
189
|
+
scrollBy(x: number, y: number): void;
|
|
190
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
191
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
192
|
+
scrollTo(x: number, y: number): void;
|
|
193
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
194
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
195
|
+
setAttributeNode(attr: Attr): Attr | null;
|
|
196
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
197
|
+
setHTMLUnsafe(html: string): void;
|
|
198
|
+
setPointerCapture(pointerId: number): void;
|
|
199
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
200
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
201
|
+
textContent: string;
|
|
202
|
+
readonly baseURI: string;
|
|
203
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
204
|
+
readonly firstChild: ChildNode | null;
|
|
205
|
+
readonly isConnected: boolean;
|
|
206
|
+
readonly lastChild: ChildNode | null;
|
|
207
|
+
readonly nextSibling: ChildNode | null;
|
|
208
|
+
readonly nodeName: string;
|
|
209
|
+
readonly nodeType: number;
|
|
210
|
+
nodeValue: string | null;
|
|
211
|
+
readonly parentElement: HTMLElement | null;
|
|
212
|
+
readonly parentNode: ParentNode | null;
|
|
213
|
+
readonly previousSibling: ChildNode | null;
|
|
214
|
+
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
215
|
+
cloneNode(subtree?: boolean): Node;
|
|
216
|
+
compareDocumentPosition(other: Node): number;
|
|
217
|
+
contains(other: Node | null): boolean;
|
|
218
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
219
|
+
hasChildNodes(): boolean;
|
|
220
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
221
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
|
222
|
+
isEqualNode(otherNode: Node | null): boolean;
|
|
223
|
+
isSameNode(otherNode: Node | null): boolean;
|
|
224
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
|
225
|
+
lookupPrefix(namespace: string | null): string | null;
|
|
226
|
+
normalize(): void;
|
|
227
|
+
removeChild<T_1 extends Node>(child: T_1): T_1;
|
|
228
|
+
replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
|
|
229
|
+
readonly ELEMENT_NODE: 1;
|
|
230
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
231
|
+
readonly TEXT_NODE: 3;
|
|
232
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
233
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
234
|
+
readonly ENTITY_NODE: 6;
|
|
235
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
236
|
+
readonly COMMENT_NODE: 8;
|
|
237
|
+
readonly DOCUMENT_NODE: 9;
|
|
238
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
239
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
240
|
+
readonly NOTATION_NODE: 12;
|
|
241
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
242
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
243
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
244
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
245
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
246
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
247
|
+
dispatchEvent(event: Event): boolean;
|
|
248
|
+
ariaActiveDescendantElement: Element | null;
|
|
249
|
+
ariaAtomic: string | null;
|
|
250
|
+
ariaAutoComplete: string | null;
|
|
251
|
+
ariaBrailleLabel: string | null;
|
|
252
|
+
ariaBrailleRoleDescription: string | null;
|
|
253
|
+
ariaBusy: string | null;
|
|
254
|
+
ariaChecked: string | null;
|
|
255
|
+
ariaColCount: string | null;
|
|
256
|
+
ariaColIndex: string | null;
|
|
257
|
+
ariaColIndexText: string | null;
|
|
258
|
+
ariaColSpan: string | null;
|
|
259
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
260
|
+
ariaCurrent: string | null;
|
|
261
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
262
|
+
ariaDescription: string | null;
|
|
263
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
264
|
+
ariaDisabled: string | null;
|
|
265
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
266
|
+
ariaExpanded: string | null;
|
|
267
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
268
|
+
ariaHasPopup: string | null;
|
|
269
|
+
ariaHidden: string | null;
|
|
270
|
+
ariaInvalid: string | null;
|
|
271
|
+
ariaKeyShortcuts: string | null;
|
|
272
|
+
ariaLabel: string | null;
|
|
273
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
274
|
+
ariaLevel: string | null;
|
|
275
|
+
ariaLive: string | null;
|
|
276
|
+
ariaModal: string | null;
|
|
277
|
+
ariaMultiLine: string | null;
|
|
278
|
+
ariaMultiSelectable: string | null;
|
|
279
|
+
ariaOrientation: string | null;
|
|
280
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
281
|
+
ariaPlaceholder: string | null;
|
|
282
|
+
ariaPosInSet: string | null;
|
|
283
|
+
ariaPressed: string | null;
|
|
284
|
+
ariaReadOnly: string | null;
|
|
285
|
+
ariaRelevant: string | null;
|
|
286
|
+
ariaRequired: string | null;
|
|
287
|
+
ariaRoleDescription: string | null;
|
|
288
|
+
ariaRowCount: string | null;
|
|
289
|
+
ariaRowIndex: string | null;
|
|
290
|
+
ariaRowIndexText: string | null;
|
|
291
|
+
ariaRowSpan: string | null;
|
|
292
|
+
ariaSelected: string | null;
|
|
293
|
+
ariaSetSize: string | null;
|
|
294
|
+
ariaSort: string | null;
|
|
295
|
+
ariaValueMax: string | null;
|
|
296
|
+
ariaValueMin: string | null;
|
|
297
|
+
ariaValueNow: string | null;
|
|
298
|
+
ariaValueText: string | null;
|
|
299
|
+
role: string | null;
|
|
300
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
301
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
302
|
+
after(...nodes: (Node | string)[]): void;
|
|
303
|
+
before(...nodes: (Node | string)[]): void;
|
|
304
|
+
remove(): void;
|
|
305
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
306
|
+
readonly nextElementSibling: Element | null;
|
|
307
|
+
readonly previousElementSibling: Element | null;
|
|
308
|
+
readonly childElementCount: number;
|
|
309
|
+
readonly children: HTMLCollection;
|
|
310
|
+
readonly firstElementChild: Element | null;
|
|
311
|
+
readonly lastElementChild: Element | null;
|
|
312
|
+
append(...nodes: (Node | string)[]): void;
|
|
313
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
314
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
315
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
316
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
317
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
318
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
319
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
320
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
321
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
322
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
323
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
324
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
325
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
326
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
327
|
+
get style(): CSSStyleDeclaration;
|
|
328
|
+
set style(cssText: string);
|
|
329
|
+
contentEditable: string;
|
|
330
|
+
enterKeyHint: string;
|
|
331
|
+
inputMode: string;
|
|
332
|
+
readonly isContentEditable: boolean;
|
|
333
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
334
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
335
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
336
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
337
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
338
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
339
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
340
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
341
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
342
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
343
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
344
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
345
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
346
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
347
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
348
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
349
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
350
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
351
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
352
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
353
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
354
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
355
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
356
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
357
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
358
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
359
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
360
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
361
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
362
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
363
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
364
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
365
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
366
|
+
onerror: OnErrorEventHandler;
|
|
367
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
368
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
369
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
370
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
371
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
372
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
373
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
374
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
375
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
376
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
377
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
378
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
379
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
380
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
381
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
382
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
383
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
384
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
385
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
386
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
387
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
388
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
389
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
390
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
391
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
392
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
393
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
394
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
395
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
396
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
397
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
398
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
399
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
400
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
401
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
402
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
403
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
404
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
405
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
406
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
407
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
408
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
409
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
410
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
411
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
412
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
413
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
414
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
415
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
416
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
417
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
418
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
419
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
420
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
421
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
422
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
423
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
424
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
425
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
426
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
427
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
428
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
429
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
430
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
431
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
432
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
433
|
+
autofocus: boolean;
|
|
434
|
+
readonly dataset: DOMStringMap;
|
|
435
|
+
nonce?: string;
|
|
436
|
+
tabIndex: number;
|
|
437
|
+
blur(): void;
|
|
438
|
+
focus(options?: FocusOptions): void;
|
|
439
|
+
}) & T;
|
|
405
440
|
//# sourceMappingURL=SwcAppMixin.d.ts.map
|