@dooboostore/simple-web-component 1.0.35 → 1.0.37

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.
Files changed (284) hide show
  1. package/README.md +58 -21
  2. package/dist/cjs/{elements/SwcAppEngine.js → SwcAppEngine.js} +6 -6
  3. package/dist/cjs/SwcAppEngine.js.map +7 -0
  4. package/dist/cjs/decorators/addEventListener.js +12 -4
  5. package/dist/cjs/decorators/addEventListener.js.map +2 -2
  6. package/dist/cjs/decorators/applyAttribute.js +19 -18
  7. package/dist/cjs/decorators/applyAttribute.js.map +2 -2
  8. package/dist/cjs/decorators/applyClass.js +23 -22
  9. package/dist/cjs/decorators/applyClass.js.map +2 -2
  10. package/dist/cjs/decorators/applyNode.js +28 -26
  11. package/dist/cjs/decorators/applyNode.js.map +2 -2
  12. package/dist/cjs/decorators/applySlot.js +122 -0
  13. package/dist/cjs/decorators/applySlot.js.map +7 -0
  14. package/dist/cjs/decorators/applyStyle.js +20 -19
  15. package/dist/cjs/decorators/applyStyle.js.map +2 -2
  16. package/dist/cjs/decorators/attribute.js +16 -15
  17. package/dist/cjs/decorators/attribute.js.map +2 -2
  18. package/dist/cjs/decorators/{changedAttributeHost.js → changedAttributeThis.js} +6 -6
  19. package/dist/cjs/decorators/changedAttributeThis.js.map +7 -0
  20. package/dist/cjs/decorators/elementDefine.js +59 -50
  21. package/dist/cjs/decorators/elementDefine.js.map +2 -2
  22. package/dist/cjs/decorators/emitCustomEvent.js +18 -16
  23. package/dist/cjs/decorators/emitCustomEvent.js.map +2 -2
  24. package/dist/cjs/decorators/index.js +2 -1
  25. package/dist/cjs/decorators/index.js.map +2 -2
  26. package/dist/cjs/decorators/lifecycles.js +56 -8
  27. package/dist/cjs/decorators/lifecycles.js.map +2 -2
  28. package/dist/cjs/decorators/query.js +38 -60
  29. package/dist/cjs/decorators/query.js.map +2 -2
  30. package/dist/cjs/decorators/queryAll.js +31 -63
  31. package/dist/cjs/decorators/queryAll.js.map +2 -2
  32. package/dist/cjs/decorators/setProperty.js +13 -12
  33. package/dist/cjs/decorators/setProperty.js.map +2 -2
  34. package/dist/cjs/elements/{SwcAppMixin.js → SwcApp.js} +107 -57
  35. package/dist/cjs/elements/SwcApp.js.map +7 -0
  36. package/dist/cjs/elements/index.js +21 -2
  37. package/dist/cjs/elements/index.js.map +3 -3
  38. package/dist/cjs/elements/tt/SwcAppMixin.js +1 -0
  39. package/dist/cjs/elements/tt/SwcAppMixin.js.map +7 -0
  40. package/dist/cjs/elements/tt/SwcAsync.js +1 -0
  41. package/dist/cjs/elements/tt/SwcAsync.js.map +7 -0
  42. package/dist/cjs/elements/tt/SwcAsyncTemplate.js +1 -0
  43. package/dist/cjs/elements/tt/SwcAsyncTemplate.js.map +7 -0
  44. package/dist/cjs/elements/tt/SwcChoose.js +1 -0
  45. package/dist/cjs/elements/tt/SwcChoose.js.map +7 -0
  46. package/dist/cjs/elements/tt/SwcChooseTemplate.js +1 -0
  47. package/dist/cjs/elements/tt/SwcChooseTemplate.js.map +7 -0
  48. package/dist/cjs/elements/tt/SwcIf.js +1 -0
  49. package/dist/cjs/elements/tt/SwcIf.js.map +7 -0
  50. package/dist/cjs/elements/tt/SwcIfTemplate.js +1 -0
  51. package/dist/cjs/elements/tt/SwcIfTemplate.js.map +7 -0
  52. package/dist/cjs/elements/tt/SwcLoop.js +1 -0
  53. package/dist/cjs/elements/tt/SwcLoop.js.map +7 -0
  54. package/dist/cjs/elements/tt/SwcLoopTemplate.js +1 -0
  55. package/dist/cjs/elements/tt/SwcLoopTemplate.js.map +7 -0
  56. package/dist/cjs/elements/tt/SwcSubTemplates.js +1 -0
  57. package/dist/cjs/elements/tt/SwcSubTemplates.js.map +7 -0
  58. package/dist/cjs/elements/tt/register.js +1 -0
  59. package/dist/cjs/elements/tt/register.js.map +7 -0
  60. package/dist/cjs/index.js +12 -8
  61. package/dist/cjs/index.js.map +2 -2
  62. package/dist/cjs/types/window.d.js +16 -0
  63. package/dist/cjs/types/window.d.js.map +7 -0
  64. package/dist/cjs/types.js.map +1 -1
  65. package/dist/cjs/utils/Utils.js +22 -19
  66. package/dist/cjs/utils/Utils.js.map +2 -2
  67. package/dist/esm/{elements/SwcAppEngine.js → SwcAppEngine.js} +4 -4
  68. package/dist/esm/SwcAppEngine.js.map +7 -0
  69. package/dist/esm/decorators/addEventListener.js +12 -4
  70. package/dist/esm/decorators/addEventListener.js.map +2 -2
  71. package/dist/esm/decorators/applyAttribute.js +19 -18
  72. package/dist/esm/decorators/applyAttribute.js.map +2 -2
  73. package/dist/esm/decorators/applyClass.js +23 -22
  74. package/dist/esm/decorators/applyClass.js.map +2 -2
  75. package/dist/esm/decorators/applyNode.js +28 -26
  76. package/dist/esm/decorators/applyNode.js.map +2 -2
  77. package/dist/esm/decorators/applySlot.js +103 -0
  78. package/dist/esm/decorators/applySlot.js.map +7 -0
  79. package/dist/esm/decorators/applyStyle.js +20 -19
  80. package/dist/esm/decorators/applyStyle.js.map +2 -2
  81. package/dist/esm/decorators/attribute.js +16 -15
  82. package/dist/esm/decorators/attribute.js.map +2 -2
  83. package/dist/esm/decorators/{changedAttributeHost.js → changedAttributeThis.js} +3 -3
  84. package/dist/esm/decorators/changedAttributeThis.js.map +7 -0
  85. package/dist/esm/decorators/elementDefine.js +60 -51
  86. package/dist/esm/decorators/elementDefine.js.map +2 -2
  87. package/dist/esm/decorators/emitCustomEvent.js +18 -16
  88. package/dist/esm/decorators/emitCustomEvent.js.map +2 -2
  89. package/dist/esm/decorators/index.js +2 -1
  90. package/dist/esm/decorators/index.js.map +2 -2
  91. package/dist/esm/decorators/lifecycles.js +56 -8
  92. package/dist/esm/decorators/lifecycles.js.map +2 -2
  93. package/dist/esm/decorators/query.js +38 -60
  94. package/dist/esm/decorators/query.js.map +2 -2
  95. package/dist/esm/decorators/queryAll.js +31 -63
  96. package/dist/esm/decorators/queryAll.js.map +2 -2
  97. package/dist/esm/decorators/setProperty.js +13 -12
  98. package/dist/esm/decorators/setProperty.js.map +2 -2
  99. package/dist/esm/elements/{SwcAppMixin.js → SwcApp.js} +102 -53
  100. package/dist/esm/elements/SwcApp.js.map +7 -0
  101. package/dist/esm/elements/index.js +7 -1
  102. package/dist/esm/elements/index.js.map +2 -2
  103. package/dist/esm/elements/tt/SwcAppMixin.js +1 -0
  104. package/dist/esm/elements/tt/SwcAppMixin.js.map +7 -0
  105. package/dist/esm/elements/tt/SwcAsync.js +1 -0
  106. package/dist/esm/elements/tt/SwcAsync.js.map +7 -0
  107. package/dist/esm/elements/tt/SwcAsyncTemplate.js +1 -0
  108. package/dist/esm/elements/tt/SwcAsyncTemplate.js.map +7 -0
  109. package/dist/esm/elements/tt/SwcChoose.js +1 -0
  110. package/dist/esm/elements/tt/SwcChoose.js.map +7 -0
  111. package/dist/esm/elements/tt/SwcChooseTemplate.js +1 -0
  112. package/dist/esm/elements/tt/SwcChooseTemplate.js.map +7 -0
  113. package/dist/esm/elements/tt/SwcIf.js +1 -0
  114. package/dist/esm/elements/tt/SwcIf.js.map +7 -0
  115. package/dist/esm/elements/tt/SwcIfTemplate.js +1 -0
  116. package/dist/esm/elements/tt/SwcIfTemplate.js.map +7 -0
  117. package/dist/esm/elements/tt/SwcLoop.js +1 -0
  118. package/dist/esm/elements/tt/SwcLoop.js.map +7 -0
  119. package/dist/esm/elements/tt/SwcLoopTemplate.js +1 -0
  120. package/dist/esm/elements/tt/SwcLoopTemplate.js.map +7 -0
  121. package/dist/esm/elements/tt/SwcSubTemplates.js +1 -0
  122. package/dist/esm/elements/tt/SwcSubTemplates.js.map +7 -0
  123. package/dist/esm/elements/tt/register.js +1 -0
  124. package/dist/esm/elements/tt/register.js.map +7 -0
  125. package/dist/esm/index.js +13 -9
  126. package/dist/esm/index.js.map +2 -2
  127. package/dist/esm/types/window.d.js +1 -0
  128. package/dist/esm/types/window.d.js.map +7 -0
  129. package/dist/esm/types.js.map +1 -1
  130. package/dist/esm/utils/Utils.js +22 -19
  131. package/dist/esm/utils/Utils.js.map +2 -2
  132. package/dist/esm-bundle/dooboostore-simple-web-component.esm.js +4189 -456
  133. package/dist/esm-bundle/dooboostore-simple-web-component.esm.js.map +4 -4
  134. package/dist/types/{elements/SwcAppEngine.d.ts → SwcAppEngine.d.ts} +9 -4
  135. package/dist/types/SwcAppEngine.d.ts.map +1 -0
  136. package/dist/types/decorators/addEventListener.d.ts +5 -7
  137. package/dist/types/decorators/addEventListener.d.ts.map +1 -1
  138. package/dist/types/decorators/applyAttribute.d.ts +4 -4
  139. package/dist/types/decorators/applyAttribute.d.ts.map +1 -1
  140. package/dist/types/decorators/applyClass.d.ts +6 -6
  141. package/dist/types/decorators/applyClass.d.ts.map +1 -1
  142. package/dist/types/decorators/applyNode.d.ts +9 -9
  143. package/dist/types/decorators/applyNode.d.ts.map +1 -1
  144. package/dist/types/decorators/applySlot.d.ts +27 -0
  145. package/dist/types/decorators/applySlot.d.ts.map +1 -0
  146. package/dist/types/decorators/applyStyle.d.ts +4 -4
  147. package/dist/types/decorators/applyStyle.d.ts.map +1 -1
  148. package/dist/types/decorators/attribute.d.ts +5 -5
  149. package/dist/types/decorators/attribute.d.ts.map +1 -1
  150. package/dist/types/decorators/changedAttributeThis.d.ts +18 -0
  151. package/dist/types/decorators/changedAttributeThis.d.ts.map +1 -0
  152. package/dist/types/decorators/elementDefine.d.ts.map +1 -1
  153. package/dist/types/decorators/emitCustomEvent.d.ts +4 -9
  154. package/dist/types/decorators/emitCustomEvent.d.ts.map +1 -1
  155. package/dist/types/decorators/index.d.ts +2 -1
  156. package/dist/types/decorators/index.d.ts.map +1 -1
  157. package/dist/types/decorators/lifecycles.d.ts +21 -6
  158. package/dist/types/decorators/lifecycles.d.ts.map +1 -1
  159. package/dist/types/decorators/query.d.ts +17 -63
  160. package/dist/types/decorators/query.d.ts.map +1 -1
  161. package/dist/types/decorators/queryAll.d.ts +6 -63
  162. package/dist/types/decorators/queryAll.d.ts.map +1 -1
  163. package/dist/types/decorators/setProperty.d.ts +1 -1
  164. package/dist/types/decorators/setProperty.d.ts.map +1 -1
  165. package/dist/types/elements/SwcApp.d.ts +7 -0
  166. package/dist/types/elements/SwcApp.d.ts.map +1 -0
  167. package/dist/types/elements/index.d.ts +2 -1
  168. package/dist/types/elements/index.d.ts.map +1 -1
  169. package/dist/types/elements/tt/SwcAppMixin.d.ts +1 -0
  170. package/dist/types/elements/tt/SwcAppMixin.d.ts.map +1 -0
  171. package/dist/types/elements/tt/SwcAsync.d.ts +1 -0
  172. package/dist/types/elements/tt/SwcAsync.d.ts.map +1 -0
  173. package/dist/types/elements/tt/SwcAsyncTemplate.d.ts +1 -0
  174. package/dist/types/elements/tt/SwcAsyncTemplate.d.ts.map +1 -0
  175. package/dist/types/elements/tt/SwcChoose.d.ts +1 -0
  176. package/dist/types/elements/tt/SwcChoose.d.ts.map +1 -0
  177. package/dist/types/elements/tt/SwcChooseTemplate.d.ts +1 -0
  178. package/dist/types/elements/tt/SwcChooseTemplate.d.ts.map +1 -0
  179. package/dist/types/elements/tt/SwcIf.d.ts +1 -0
  180. package/dist/types/elements/{SwcIf.d.ts.map → tt/SwcIf.d.ts.map} +1 -1
  181. package/dist/types/elements/tt/SwcIfTemplate.d.ts +1 -0
  182. package/dist/types/elements/tt/SwcIfTemplate.d.ts.map +1 -0
  183. package/dist/types/elements/tt/SwcLoop.d.ts +1 -0
  184. package/dist/types/elements/tt/SwcLoop.d.ts.map +1 -0
  185. package/dist/types/elements/tt/SwcLoopTemplate.d.ts +1 -0
  186. package/dist/types/elements/tt/SwcLoopTemplate.d.ts.map +1 -0
  187. package/dist/types/elements/tt/SwcSubTemplates.d.ts +1 -0
  188. package/dist/types/elements/tt/SwcSubTemplates.d.ts.map +1 -0
  189. package/dist/types/elements/tt/register.d.ts +1 -0
  190. package/dist/types/elements/tt/register.d.ts.map +1 -0
  191. package/dist/types/index.d.ts +2 -2
  192. package/dist/types/index.d.ts.map +1 -1
  193. package/dist/types/types.d.ts +5 -5
  194. package/dist/types/types.d.ts.map +1 -1
  195. package/dist/types/utils/Utils.d.ts +13 -12
  196. package/dist/types/utils/Utils.d.ts.map +1 -1
  197. package/dist/umd-bundle/dooboostore-simple-web-component.umd.js +4189 -456
  198. package/dist/umd-bundle/dooboostore-simple-web-component.umd.js.map +4 -4
  199. package/package.json +4 -4
  200. package/src/{elements/SwcAppEngine.ts → SwcAppEngine.ts} +12 -7
  201. package/src/decorators/addEventListener.ts +11 -9
  202. package/src/decorators/applyAttribute.ts +16 -15
  203. package/src/decorators/applyClass.ts +18 -17
  204. package/src/decorators/applyNode.ts +30 -27
  205. package/src/decorators/applySlot.ts +228 -0
  206. package/src/decorators/applyStyle.ts +17 -16
  207. package/src/decorators/attribute.ts +20 -19
  208. package/src/decorators/{changedAttributeHost.ts → changedAttributeThis.ts} +10 -12
  209. package/src/decorators/elementDefine.ts +80 -57
  210. package/src/decorators/emitCustomEvent.ts +21 -26
  211. package/src/decorators/index.ts +2 -1
  212. package/src/decorators/lifecycles.ts +76 -11
  213. package/src/decorators/query.ts +51 -124
  214. package/src/decorators/queryAll.ts +30 -127
  215. package/src/decorators/setProperty.ts +12 -11
  216. package/src/elements/{SwcAppMixin.ts → SwcApp.ts} +98 -31
  217. package/src/elements/index.ts +11 -1
  218. package/src/elements/tt/SwcAppMixin.ts +13 -0
  219. package/src/elements/tt/SwcAsync.ts +139 -0
  220. package/src/elements/tt/SwcAsyncTemplate.ts +126 -0
  221. package/src/elements/tt/SwcChoose.ts +182 -0
  222. package/src/elements/tt/SwcChooseTemplate.ts +229 -0
  223. package/src/elements/tt/SwcIf.ts +145 -0
  224. package/src/elements/tt/SwcIfTemplate.ts +158 -0
  225. package/src/elements/tt/SwcLoop.ts +222 -0
  226. package/src/elements/tt/SwcLoopTemplate.ts +255 -0
  227. package/src/elements/tt/SwcSubTemplates.ts +6 -0
  228. package/src/elements/tt/register.ts +720 -0
  229. package/src/index.ts +13 -9
  230. package/src/types/window.d.ts +43 -0
  231. package/src/types.ts +9 -8
  232. package/src/utils/Utils.ts +28 -24
  233. package/dist/cjs/decorators/changedAttributeHost.js.map +0 -7
  234. package/dist/cjs/elements/SwcAppEngine.js.map +0 -7
  235. package/dist/cjs/elements/SwcAppMixin.js.map +0 -7
  236. package/dist/cjs/elements/SwcAsync.js +0 -129
  237. package/dist/cjs/elements/SwcAsync.js.map +0 -7
  238. package/dist/cjs/elements/SwcChoose.js +0 -155
  239. package/dist/cjs/elements/SwcChoose.js.map +0 -7
  240. package/dist/cjs/elements/SwcIf.js +0 -117
  241. package/dist/cjs/elements/SwcIf.js.map +0 -7
  242. package/dist/cjs/elements/SwcLoop.js +0 -176
  243. package/dist/cjs/elements/SwcLoop.js.map +0 -7
  244. package/dist/cjs/elements/SwcSubTemplates.js +0 -13
  245. package/dist/cjs/elements/SwcSubTemplates.js.map +0 -7
  246. package/dist/cjs/elements/register.js +0 -1026
  247. package/dist/cjs/elements/register.js.map +0 -7
  248. package/dist/esm/decorators/changedAttributeHost.js.map +0 -7
  249. package/dist/esm/elements/SwcAppEngine.js.map +0 -7
  250. package/dist/esm/elements/SwcAppMixin.js.map +0 -7
  251. package/dist/esm/elements/SwcAsync.js +0 -129
  252. package/dist/esm/elements/SwcAsync.js.map +0 -7
  253. package/dist/esm/elements/SwcChoose.js +0 -155
  254. package/dist/esm/elements/SwcChoose.js.map +0 -7
  255. package/dist/esm/elements/SwcIf.js +0 -117
  256. package/dist/esm/elements/SwcIf.js.map +0 -7
  257. package/dist/esm/elements/SwcLoop.js +0 -176
  258. package/dist/esm/elements/SwcLoop.js.map +0 -7
  259. package/dist/esm/elements/SwcSubTemplates.js +0 -13
  260. package/dist/esm/elements/SwcSubTemplates.js.map +0 -7
  261. package/dist/esm/elements/register.js +0 -1007
  262. package/dist/esm/elements/register.js.map +0 -7
  263. package/dist/types/decorators/changedAttributeHost.d.ts +0 -20
  264. package/dist/types/decorators/changedAttributeHost.d.ts.map +0 -1
  265. package/dist/types/elements/SwcAppEngine.d.ts.map +0 -1
  266. package/dist/types/elements/SwcAppMixin.d.ts +0 -386
  267. package/dist/types/elements/SwcAppMixin.d.ts.map +0 -1
  268. package/dist/types/elements/SwcAsync.d.ts +0 -2
  269. package/dist/types/elements/SwcAsync.d.ts.map +0 -1
  270. package/dist/types/elements/SwcChoose.d.ts +0 -2
  271. package/dist/types/elements/SwcChoose.d.ts.map +0 -1
  272. package/dist/types/elements/SwcIf.d.ts +0 -2
  273. package/dist/types/elements/SwcLoop.d.ts +0 -2
  274. package/dist/types/elements/SwcLoop.d.ts.map +0 -1
  275. package/dist/types/elements/SwcSubTemplates.d.ts +0 -13
  276. package/dist/types/elements/SwcSubTemplates.d.ts.map +0 -1
  277. package/dist/types/elements/register.d.ts +0 -4
  278. package/dist/types/elements/register.d.ts.map +0 -1
  279. package/src/elements/SwcAsync.ts +0 -126
  280. package/src/elements/SwcChoose.ts +0 -190
  281. package/src/elements/SwcIf.ts +0 -124
  282. package/src/elements/SwcLoop.ts +0 -205
  283. package/src/elements/SwcSubTemplates.ts +0 -6
  284. package/src/elements/register.ts +0 -1022
@@ -1,18 +1,23 @@
1
- import { SimpleApplication } from '@dooboostore/simple-boot/SimpleApplication';
1
+ import { SimpleApplication } from '@dooboostore/simple-boot';
2
2
  import { Router, RouterEventType } from '@dooboostore/core-web';
3
3
  import { ConstructorType, OptionalType } from '@dooboostore/core';
4
- import { SwcAppInterface } from '../types';
4
+ import { SwcAppInterface } from './types';
5
5
  import { SimConfig } from '@dooboostore/simple-boot';
6
6
  export type SwcConfigType = {
7
7
  routeType: 'path' | 'hash' | 'element';
8
- connectMode?: 'direct' | 'swap' | 'clear-swap';
8
+ connectMode?: 'direct' | 'swap' | 'clear-swap' | 'hydrate';
9
9
  container?: symbol;
10
10
  otherInstanceSim?: Map<ConstructorType<any> | Function | SimConfig | symbol, any>;
11
11
  path?: string;
12
12
  window: Window;
13
- onEngineStarted?: (sp: SimpleApplication, app: SwcAppInterface) => void;
13
+ onEngineStarted?: (sp: SimpleApplication, app: SwcAppInterface) => Promise<void> | void;
14
+ onConnectedChildAfter?: (swcEl: HTMLElement) => void;
15
+ onConnectedChildBefore?: (swcEl: HTMLElement) => void;
16
+ onDisconnectedChildAfter?: (swcEl: HTMLElement) => void;
17
+ onDisconnectedChildBefore?: (swcEl: HTMLElement) => void;
14
18
  onConnected?: (app: SwcAppInterface) => void;
15
19
  onDisconnected?: (app: SwcAppInterface) => void;
20
+ ssr?: boolean;
16
21
  onChildrenConnectedDone?: (app: SwcAppInterface) => void;
17
22
  onChildrenRouteChanged?: (event: RouterEventType, app: SwcAppInterface) => void;
18
23
  childrenRouteChangedCheckIntervalTime?: number;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SwcAppEngine.d.ts","sourceRoot":"","sources":["../../src/SwcAppEngine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAA0B,MAAM,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGxF,OAAO,EAAE,eAAe,EAAE,YAAY,EAAgB,MAAM,mBAAmB,CAAC;AAEhF,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD,MAAM,MAAM,aAAa,GAAG;IAC1B,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACvC,WAAW,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,YAAY,GAAG,SAAS,CAAC;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC;IAClF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,CAAC,EAAE,EAAE,iBAAiB,EAAE,GAAG,EAAE,eAAe,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IACxF,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IACrD,sBAAsB,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IACtD,wBAAwB,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IACxD,yBAAyB,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IACzD,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,eAAe,KAAK,IAAI,CAAC;IAC7C,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,eAAe,KAAK,IAAI,CAAC;IAChD,GAAG,CAAC,EAAE,OAAO,CAAC;IAEd,uBAAuB,CAAC,EAAE,CAAC,GAAG,EAAE,eAAe,KAAK,IAAI,CAAC;IAGzD,sBAAsB,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,EAAE,GAAG,EAAE,eAAe,KAAK,IAAI,CAAC;IAChF,qCAAqC,CAAC,EAAE,MAAM,CAAC;IAC/C,sCAAsC,CAAC,EAAE,MAAM,CAAC;CACjD,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,YAAY,CAAC,aAAa,EAAE,WAAW,GAAG,QAAQ,CAAC,CAAC;AAEzF,qBAAa,YAAY;IAMX,OAAO,CAAC,IAAI;IALjB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,kBAAkB,CAAC,CAAe;IAC1C,OAAO,CAAC,OAAO,CAAC,CAAgB;gBAEZ,IAAI,EAAE,WAAW;IAErC,IAAI,MAAM,kBAET;IAEK,OAAO,CAAC,MAAM,EAAE,aAAa;IAsCnC,UAAU;CAGX"}
@@ -28,15 +28,13 @@ export declare function addEventListener(selector: string, type: string, options
28
28
  }): MethodDecorator;
29
29
  export declare const getAddEventListenerMetadata: (target: any) => AddEventListenerMetadata[] | undefined;
30
30
  /**
31
- * @addEventListenerHost decorator - simplified version of @addEventListener for :host selector
32
- * Usage: @addEventListenerHost('click')
33
- * Usage: @addEventListenerHost('click', { stopPropagation: true })
31
+ * @addEventListenerThis decorator - simplified version of @addEventListener for $this selector
34
32
  */
35
- export declare function addEventListenerHost(type: string, options?: AddEventListenerBaseOptions & SwcQueryOptions): MethodDecorator;
33
+ export declare function addEventListenerThis(type: string, options?: AddEventListenerBaseOptions & SwcQueryOptions): MethodDecorator;
36
34
  /**
37
- * @addEventListenerAppHost decorator - simplified version of @addEventListener for :appHost selector
38
- * Usage: @addEventListenerAppHost('click')
39
- * Usage: @addEventListenerAppHost('click', { stopPropagation: true })
35
+ * @addEventListenerAppHost decorator - simplified version of @addEventListener for $appHost selector
40
36
  */
41
37
  export declare function addEventListenerAppHost(type: string, options?: AddEventListenerBaseOptions & SwcQueryOptions): MethodDecorator;
38
+ export declare function addEventListenerWindow(type: string, options?: AddEventListenerBaseOptions & SwcQueryOptions): MethodDecorator;
39
+ export declare function addEventListenerDocument(type: string, options?: AddEventListenerBaseOptions & SwcQueryOptions): MethodDecorator;
42
40
  //# sourceMappingURL=addEventListener.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"addEventListener.d.ts","sourceRoot":"","sources":["../../../src/decorators/addEventListener.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE3E,MAAM,WAAW,2BAA4B,SAAQ,oBAAoB;IACvE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IAC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OAAO,CAAC,EAAE,2BAA2B,GAAG,eAAe,GAAG,eAAe,CAE3H;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,2BAA2B,GAAG,eAAe,GAAG,eAAe,CAE9H;AACD,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,2BAA2B,GAAG,eAAe,GAAG,eAAe,CAE7H;AACD,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,2BAA2B,GAAG,eAAe,GAAG,eAAe,CAE/H"}
@@ -18,9 +18,9 @@ export declare function applyAttribute(selector: string, action?: AttributeActio
18
18
  export declare const setAttribute: (selector: string, nameOrOptions?: string | AttributeApplyOptions, options?: AttributeApplyOptions) => MethodDecorator;
19
19
  export declare const updateAttribute: (selector: string, nameOrOptions?: string | AttributeApplyOptions, options?: AttributeApplyOptions) => MethodDecorator;
20
20
  export declare const removeAttribute: (selector: string, nameOrOptions?: string | AttributeApplyOptions, options?: AttributeApplyOptions) => MethodDecorator;
21
- export declare function applyAttributeHost(action?: AttributeAction, options?: AttributeApplyOptions): MethodDecorator;
22
- export declare const setAttributeHost: (nameOrOptions: string | AttributeApplyOptions, options?: AttributeApplyOptions) => MethodDecorator;
23
- export declare const updateAttributeHost: (nameOrOptions: string | AttributeApplyOptions, options?: AttributeApplyOptions) => MethodDecorator;
24
- export declare const removeAttributeHost: (nameOrOptions?: string | AttributeApplyOptions, options?: AttributeApplyOptions) => MethodDecorator;
21
+ export declare function applyAttributeThis(action?: AttributeAction, options?: AttributeApplyOptions): MethodDecorator;
22
+ export declare const setAttributeThis: (nameOrOptions: string | AttributeApplyOptions, options?: AttributeApplyOptions) => MethodDecorator;
23
+ export declare const updateAttributeThis: (nameOrOptions: string | AttributeApplyOptions, options?: AttributeApplyOptions) => MethodDecorator;
24
+ export declare const removeAttributeThis: (nameOrOptions?: string | AttributeApplyOptions, options?: AttributeApplyOptions) => MethodDecorator;
25
25
  export declare const findAllAttributeApplyMetadata: (target: any) => Map<string | symbol, AttributeApplyMetadata>;
26
26
  //# sourceMappingURL=applyAttribute.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"applyAttribute.d.ts","sourceRoot":"","sources":["../../../src/decorators/applyAttribute.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE1D,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE1D,MAAM,WAAW,qBAAsB,SAAQ,eAAe;IAC5D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE;QAAC,WAAW,EAAE,GAAG,CAAC;QAAC,MAAM,EAAE,aAAa,CAAA;KAAC,KAAK,OAAO,CAAC;CACxG;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,eAAe,CAAC;IACxB,OAAO,EAAE,qBAAqB,CAAC;CAChC;AAED,eAAO,MAAM,4BAA4B,eAAqD,CAAC;AAmH/F,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,GAAE,eAA0B,EAAE,OAAO,GAAE,qBAA0B,GAAG,eAAe,CAEzI;AAED,eAAO,MAAM,YAAY,GAAI,UAAU,MAAM,EAAE,gBAAgB,MAAM,GAAG,qBAAqB,EAAE,UAAS,qBAA0B,oBAAsE,CAAC;AACzM,eAAO,MAAM,eAAe,GAAI,UAAU,MAAM,EAAE,gBAAgB,MAAM,GAAG,qBAAqB,EAAE,UAAS,qBAA0B,oBAAyE,CAAC;AAC/M,eAAO,MAAM,eAAe,GAAI,UAAU,MAAM,EAAE,gBAAgB,MAAM,G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B,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,GAAE,eAA0B,EAAE,OAAO,GAAE,qBAA0B,GAAG,eAAe,CAEzI;AAED,eAAO,MAAM,YAAY,GAAI,UAAU,MAAM,EAAE,gBAAgB,MAAM,GAAG,qBAAqB,EAAE,UAAS,qBAA0B,oBAAsE,CAAC;AACzM,eAAO,MAAM,eAAe,GAAI,UAAU,MAAM,EAAE,gBAAgB,MAAM,GAAG,qBAAqB,EAAE,UAAS,qBAA0B,oBAAyE,CAAC;AAC/M,eAAO,MAAM,eAAe,GAAI,UAAU,MAAM,EAAE,gBAAgB,MAAM,GAAG,qBAAqB,EAAE,UAAS,qBAA0B,oBAAyE,CAAC;AAG/M,wBAAgB,kBAAkB,CAAC,MAAM,GAAE,eAA0B,EAAE,OAAO,GAAE,qBAA0B,GAAG,eAAe,CAE3H;AACD,eAAO,MAAM,gBAAgB,GAAI,eAAe,MAAM,GAAG,qBAAqB,EAAE,UAAS,qBAA0B,oBAAqE,CAAC;AACzL,eAAO,MAAM,mBAAmB,GAAI,eAAe,MAAM,GAAG,qBAAqB,EAAE,UAAS,qBAA0B,oBAAwE,CAAC;AAC/L,eAAO,MAAM,mBAAmB,GAAI,gBAAgB,MAAM,GAAG,qBAAqB,EAAE,UAAS,qBAA0B,oBAAwE,CAAC;AAEhM,eAAO,MAAM,6BAA6B,GAAI,QAAQ,GAAG,KAAG,GAAG,CAAC,MAAM,GAAG,MAAM,EAAE,sBAAsB,CAStG,CAAC"}
@@ -39,28 +39,28 @@ export declare const toggleClass: (selector: string, classMapOrOptions?: string
39
39
  $this: any;
40
40
  }) => boolean;
41
41
  } | ClassApplyOptions, options?: ClassApplyOptions) => MethodDecorator;
42
- export declare function applyClassHost(action?: ClassAction, options?: ClassApplyOptions): MethodDecorator;
43
- export declare const setClassHost: (classMapOrOptions?: string | {
42
+ export declare function applyClassThis(action?: ClassAction, options?: ClassApplyOptions): MethodDecorator;
43
+ export declare const setClassThis: (classMapOrOptions?: string | {
44
44
  [className: string]: (el: HTMLElement, value: any, helper: HelperHostSet & {
45
45
  $this: any;
46
46
  }) => boolean;
47
47
  } | ClassApplyOptions, options?: ClassApplyOptions) => MethodDecorator;
48
- export declare const updateClassHost: (classMapOrOptions?: string | {
48
+ export declare const updateClassThis: (classMapOrOptions?: string | {
49
49
  [className: string]: (el: HTMLElement, value: any, helper: HelperHostSet & {
50
50
  $this: any;
51
51
  }) => boolean;
52
52
  } | ClassApplyOptions, options?: ClassApplyOptions) => MethodDecorator;
53
- export declare const addClassHost: (classMapOrOptions?: string | {
53
+ export declare const addClassThis: (classMapOrOptions?: string | {
54
54
  [className: string]: (el: HTMLElement, value: any, helper: HelperHostSet & {
55
55
  $this: any;
56
56
  }) => boolean;
57
57
  } | ClassApplyOptions, options?: ClassApplyOptions) => MethodDecorator;
58
- export declare const removeClassHost: (classMapOrOptions?: string | {
58
+ export declare const removeClassThis: (classMapOrOptions?: string | {
59
59
  [className: string]: (el: HTMLElement, value: any, helper: HelperHostSet & {
60
60
  $this: any;
61
61
  }) => boolean;
62
62
  } | ClassApplyOptions, options?: ClassApplyOptions) => MethodDecorator;
63
- export declare const toggleClassHost: (classMapOrOptions?: string | {
63
+ export declare const toggleClassThis: (classMapOrOptions?: string | {
64
64
  [className: string]: (el: HTMLElement, value: any, helper: HelperHostSet & {
65
65
  $this: any;
66
66
  }) => boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"applyClass.d.ts","sourceRoot":"","sources":["../../../src/decorators/applyClass.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE1D,eAAO,MAAM,kBAAkB,eAA2C,CAAC;AAE3E,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEzE,MAAM,WAAW,iBAAkB,SAAQ,eAAe;IACxD,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,WAA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ions): MethodDecorator;
29
29
  export declare const findAllApplyNodeMetadata: (target: any) => Map<string | symbol, ApplyNodeMetadata>;
30
- export declare function applyNodeHost(options: ApplyNodeOptions): MethodDecorator;
31
- export declare function applyNodeHost(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): void;
32
- export declare function applyReplaceChildrenNodeHost(options: ApplyNodeOptions): MethodDecorator;
33
- export declare function applyReplaceChildrenNodeHost(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): void;
34
- export declare function applyInnerHtmlNodeHost(options: ApplyNodeOptions): MethodDecorator;
35
- export declare function applyInnerHtmlNodeHost(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): void;
36
- export declare function applyReplaceChildrenNode(selector: string, options?: ApplyNodeOptions): MethodDecorator;
37
- export declare function applyInnerHtmlNode(selector: string, options?: ApplyNodeOptions): MethodDecorator;
38
- export declare function applyInnerTextNode(selector: string, options?: ApplyNodeOptions): MethodDecorator;
30
+ export declare function applyNodeThis(options: ApplyNodeOptions): MethodDecorator;
31
+ export declare function applyNodeThis(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): void;
32
+ export declare function applyNodeThisReplaceChildren(options: ApplyNodeOptions): MethodDecorator;
33
+ export declare function applyNodeThisReplaceChildren(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): void;
34
+ export declare function applyThisInnerHtmlNode(options: ApplyNodeOptions): MethodDecorator;
35
+ export declare function applyThisInnerHtmlNode(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): void;
36
+ export declare function applyNodeReplaceChildren(selector: string, options?: ApplyNodeOptions): MethodDecorator;
37
+ export declare function applyNodeInnerHtml(selector: string, options?: ApplyNodeOptions): MethodDecorator;
38
+ export declare function applyNodeInnerText(selector: string, options?: ApplyNodeOptions): MethodDecorator;
39
39
  //# sourceMappingURL=applyNode.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"applyNode.d.ts","sourceRoot":"","sources":["../../../src/decorators/applyNode.ts"],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,eAAe,CAEpG;AAED,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,GAAE,gBAAqB,GAAG,eAAe,CAEpG"}
@@ -0,0 +1,27 @@
1
+ export type ApplySlotPosition = 'prependHtml' | 'prependText' | 'appendHtml' | 'appendText' | 'replaceChildrenHtml' | 'replaceChildrenText' | 'clear';
2
+ export interface ApplySlotOptions {
3
+ position?: ApplySlotPosition;
4
+ }
5
+ export interface ApplySlotMetadata {
6
+ propertyKey: string | symbol;
7
+ id: string;
8
+ type: 'method' | 'property';
9
+ options: ApplySlotOptions;
10
+ }
11
+ export declare const APPLY_SLOT_METADATA_KEY: unique symbol;
12
+ /**
13
+ * @applyNode decorator to surgically add/replace nodes to a target element.
14
+ */
15
+ export declare function applySlot(id: string, options?: ApplySlotOptions): MethodDecorator & PropertyDecorator;
16
+ export declare const findAllApplySlotMetadata: (target: any) => ApplySlotMetadata[];
17
+ export declare function applySlotClear(id: string): MethodDecorator;
18
+ export declare function applySlotPrependHtml(id: string): MethodDecorator;
19
+ export declare const applySlotPrepend: typeof applySlotPrependHtml;
20
+ export declare function applySlotPrependText(id: string): MethodDecorator;
21
+ export declare function applySlotAppendHtml(id: string): MethodDecorator;
22
+ export declare function applySlotAppendText(id: string): MethodDecorator;
23
+ export declare const applySlotAppend: typeof applySlotAppendHtml;
24
+ export declare function applySlotReplaceChildrenHtml(id: string): MethodDecorator;
25
+ export declare const applySlotReplaceChildren: typeof applySlotReplaceChildrenHtml;
26
+ export declare function applySlotReplaceChildrenText(id: string): MethodDecorator;
27
+ //# sourceMappingURL=applySlot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"applySlot.d.ts","sourceRoot":"","sources":["../../../src/decorators/applySlot.ts"],"names":[],"mappings":"AAcA,MAAM,MAAM,iBAAiB,GAAG,aAAa,GAAG,aAAa,GAAG,YAAY,GAAG,YAAY,GAAG,qBAAqB,GAAG,qBAAqB,GAAG,OAAO,CAAC;AAEtJ,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAW9B;AAED,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,QAAQ,GAAG,UAAU,CAAC;IAC5B,OAAO,EAAE,gBAAgB,CAAC;CAC3B;AAED,eAAO,MAAM,uBAAuB,eAAgD,CAAC;AAyCrF;;GAEG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,GAAE,gBAAsD,GAAG,eAAe,GAAG,iBAAiB,CAmH1I;AAGD,eAAO,MAAM,wBAAwB,GAAI,QAAQ,GAAG,KAAG,iBAAiB,EAGvE,CAAC;AAEF,wBAAgB,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,eAAe,CAE1D;AACD,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,MAAM,GAAG,eAAe,CAEhE;AACD,eAAO,MAAM,gBAAgB,6BAAuB,CAAC;AACrD,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,MAAM,GAAG,eAAe,CAEhE;AACD,wBAAgB,mBAAmB,CAAC,EAAE,EAAE,MAAM,GAAG,eAAe,CAE/D;AACD,wBAAgB,mBAAmB,CAAC,EAAE,EAAE,MAAM,GAAG,eAAe,CAE/D;AACD,eAAO,MAAM,eAAe,4BAAsB,CAAC;AACnD,wBAAgB,4BAA4B,CAAC,EAAE,EAAE,MAAM,GAAG,eAAe,CAExE;AACD,eAAO,MAAM,wBAAwB,qCAA+B,CAAC;AACrE,wBAAgB,4BAA4B,CAAC,EAAE,EAAE,MAAM,GAAG,eAAe,CAExE"}
@@ -17,9 +17,9 @@ export declare function applyStyle(selector: string, action?: StyleAction, optio
17
17
  export declare const setStyle: (selector: string, options?: StyleApplyOptions) => MethodDecorator;
18
18
  export declare const updateStyle: (selector: string, options?: StyleApplyOptions) => MethodDecorator;
19
19
  export declare const removeStyle: (selector: string, options?: StyleApplyOptions) => MethodDecorator;
20
- export declare function applyStyleHost(action?: StyleAction, options?: StyleApplyOptions): MethodDecorator;
21
- export declare const setStyleHost: (options?: StyleApplyOptions) => MethodDecorator;
22
- export declare const updateStyleHost: (options?: StyleApplyOptions) => MethodDecorator;
23
- export declare const removeStyleHost: (options?: StyleApplyOptions) => MethodDecorator;
20
+ export declare function applyStyleThis(action?: StyleAction, options?: StyleApplyOptions): MethodDecorator;
21
+ export declare const setStyleThis: (options?: StyleApplyOptions) => MethodDecorator;
22
+ export declare const updateStyleThis: (options?: StyleApplyOptions) => MethodDecorator;
23
+ export declare const removeStyleThis: (options?: StyleApplyOptions) => MethodDecorator;
24
24
  export declare const findAllStyleMetadata: (target: any) => Map<string | symbol, StyleApplyMetadata>;
25
25
  //# sourceMappingURL=applyStyle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"applyStyle.d.ts","sourceRoot":"","sources":["../../../src/decorators/applyStyle.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE1D,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEtD,MAAM,WAAW,iBAAkB,SAAQ,eAAe;IACxD,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE;QAAC,WAAW,EAAE,GAAG,CAAC;QAAC,MAAM,EAAE,aAAa,CAAA;KAAC,KAAK,OAAO,CAAC;CACxG;AAED,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,WAAW,CAAC;IACpB,OAAO,EAAE,iBAAiB,CAAC;CAC5B;AAED,eAAO,MAAM,kBAAkB,eAA2C,CAAC;AAkG3E,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,G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;IACpB,OAAO,EAAE,iBAAiB,CAAC;CAC5B;AAED,eAAO,MAAM,kBAAkB,eAA2C,CAAC;AAmG3E,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,GAAE,WAAsB,EAAE,OAAO,GAAE,iBAAsB,GAAG,eAAe,CAE7H;AAED,eAAO,MAAM,QAAQ,GAAI,UAAU,MAAM,EAAE,UAAS,iBAAsB,oBAAmD,CAAC;AAC9H,eAAO,MAAM,WAAW,GAAI,UAAU,MAAM,EAAE,UAAS,iBAAsB,oBAAsD,CAAC;AACpI,eAAO,MAAM,WAAW,GAAI,UAAU,MAAM,EAAE,UAAS,iBAAsB,oBAAsD,CAAC;AAGpI,wBAAgB,cAAc,CAAC,MAAM,GAAE,WAAsB,EAAE,OAAO,GAAE,iBAAsB,GAAG,eAAe,CAE/G;AACD,eAAO,MAAM,YAAY,GAAI,UAAS,iBAAsB,oBAAkD,CAAC;AAC/G,eAAO,MAAM,eAAe,GAAI,UAAS,iBAAsB,oBAAqD,CAAC;AACrH,eAAO,MAAM,eAAe,GAAI,UAAS,iBAAsB,oBAAqD,CAAC;AAErH,eAAO,MAAM,oBAAoB,GAAI,QAAQ,GAAG,KAAG,GAAG,CAAC,MAAM,GAAG,MAAM,EAAE,kBAAkB,CASzF,CAAC"}
@@ -21,11 +21,11 @@ export declare const resolveTargetEls: (inst: any, selector: string, options: At
21
21
  */
22
22
  export declare function attribute(selector: string, options?: AttributeFieldOptions): PropertyDecorator;
23
23
  /**
24
- * @attributeHost decorator to sync a field value with the :host element's attribute.
24
+ * @attributeThis decorator to sync a field value with the $this element's attribute.
25
25
  */
26
- export declare function attributeHost(target: Object, propertyKey: string | symbol): void;
27
- export declare function attributeHost(options: AttributeFieldOptions): PropertyDecorator;
28
- export declare function attributeHost(attrName: string): PropertyDecorator;
29
- export declare function attributeHost(attrName: string, options: AttributeFieldOptions): PropertyDecorator;
26
+ export declare function attributeThis(target: Object, propertyKey: string | symbol): void;
27
+ export declare function attributeThis(options: AttributeFieldOptions): PropertyDecorator;
28
+ export declare function attributeThis(attrName: string): PropertyDecorator;
29
+ export declare function attributeThis(attrName: string, options: AttributeFieldOptions): PropertyDecorator;
30
30
  export declare const findAllAttributeMetadata: (target: any) => AttributeFieldMetadata[];
31
31
  //# sourceMappingURL=attribute.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"attribute.d.ts","sourceRoot":"","sources":["../../../src/decorators/attribute.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmB,eAAe,EAAE,MAAM,UAAU,CAAC;AAE5D,MAAM,WAAW,qBAAsB,SAAQ,eAAe;IAC5D,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,IAAI,CAAC,EAAE,OAAO,MAAM,GAAG,OAAO,OAAO,GAAG,OAAO,MAAM,CAAC;CACvD;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,qBAAqB,CAAC;IAC/B,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,4BAA4B,eAAqD,CAAC;AAE/F,QAAA,MAAM,YAAY,GAAI,KAAK,MAAM,GAAG,IAAI,EAAE,MAAM,GAAG,KAAG,GAKrD,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC;AAExB,eAAO,MAAM,iBAAiB,GAAI,MAAM,GAAG,EAAE,UAAU,MAAM,EAAE,UAAU,qBAAqB,GAAG;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,KAAG,GAkCxH,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,MAAM,GAAG,EAAE,UAAU,MAAM,EAAE,SAAS,qBAAqB,EAAE,YAAY,GAAG,KAAG,WAAW,EA+C1H,CAAC;AAEF;;GAEG;AACH,wBAAgB,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,GAAE,qBAA0B,GAAG,iBAAiB,CAuElG;A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AG,EAAE,UAAU,MAAM,EAAE,SAAS,qBAAqB,EAAE,YAAY,GAAG,KAAG,WAAW,EAgD1H,CAAC;AAEF;;GAEG;AACH,wBAAgB,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,GAAE,qBAA0B,GAAG,iBAAiB,CAuElG;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;AAClF,wBAAgB,aAAa,CAAC,OAAO,EAAE,qBAAqB,GAAG,iBAAiB,CAAC;AACjF,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,iBAAiB,CAAC;AACnE,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,qBAAqB,GAAG,iBAAiB,CAAC;AAsBnG,eAAO,MAAM,wBAAwB,GAAI,QAAQ,GAAG,KAAG,sBAAsB,EAG5E,CAAC"}
@@ -0,0 +1,18 @@
1
+ export declare const ON_ATTRIBUTE_CHANGED_METADATA_KEY: unique symbol;
2
+ export interface ChangedAttributeThisOptions {
3
+ type?: typeof Number | typeof Boolean | typeof String;
4
+ while?: 'connected';
5
+ }
6
+ export interface ChangedAttributeThisMetadata {
7
+ attributeName: string;
8
+ propertyKey: string | symbol;
9
+ options: ChangedAttributeThisOptions;
10
+ }
11
+ /**
12
+ * @changedAttributeThis decorator - fires when any attribute on $this changes
13
+ */
14
+ export declare function changedAttributeThis(attributeName?: string, options?: ChangedAttributeThisOptions): MethodDecorator;
15
+ export declare const getChangedAttributeMetadata: (target: any) => ChangedAttributeThisMetadata[] | undefined;
16
+ export declare const findAllAttributeChangedMetadata: (target: any) => Map<string, ChangedAttributeThisMetadata[]>;
17
+ export declare const convertAttributeValue: (val: any, type?: typeof Number | typeof Boolean | typeof String) => any;
18
+ //# sourceMappingURL=changedAttributeThis.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"changedAttributeThis.d.ts","sourceRoot":"","sources":["../../../src/decorators/changedAttributeThis.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iCAAiC,eAA0D,CAAC;AAEzG,MAAM,WAAW,2BAA2B;IAC1C,IAAI,CAAC,EAAE,OAAO,MAAM,GAAG,OAAO,OAAO,GAAG,OAAO,MAAM,CAAC;IACtD,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED,MAAM,WAAW,4BAA4B;IAC3C,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,OAAO,EAAE,2BAA2B,CAAC;CACtC;AASD;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,aAAa,CAAC,EAAE,MAAM,EAAE,OAAO,GAAE,2BAAgC,GAAG,eAAe,CAgBvH;AAED,eAAO,MAAM,2BAA2B,GAAI,QAAQ,GAAG,KAAG,4BAA4B,EAAE,GAAG,SAG1F,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAAI,QAAQ,GAAG,KAAG,GAAG,CAAC,MAAM,EAAE,4BAA4B,EAAE,CAcvG,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,KAAK,GAAG,EAAE,OAAO,OAAO,MAAM,GAAG,OAAO,OAAO,GAAG,OAAO,MAAM,KAAG,GAEvG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"elementDefine.d.ts","sourceRoot":"","sources":["../../../src/decorators/elementDefine.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,kBAAkB,eAAoD,CAAC;AAEpF,MAAM,WAAW,aAAa;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,qBAAqB,CAAC,EAAE,GAAG,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;CACzC;AAED,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,aAAa,EAAE,QAAQ,CAAC;IACpE,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,gBAAgB,GAAI,QAAQ,GAAG,KAAG,eAAe,GAAG,SAGhE,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,MAAM,GAAG,SAkEnC,CAAC;AAiKF,eAAO,MAAM,aAAa,GACvB,MAAM,MAAM,EAAE,SAAQ,OAAO,CAAC,aAAa,CAAM,KAAG,cA4ZlD,CAAC"}
1
+ {"version":3,"file":"elementDefine.d.ts","sourceRoot":"","sources":["../../../src/decorators/elementDefine.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,kBAAkB,eAAoD,CAAC;AAEpF,MAAM,WAAW,aAAa;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,qBAAqB,CAAC,EAAE,GAAG,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;CACzC;AAED,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,aAAa,EAAE,QAAQ,CAAC;IACpE,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,gBAAgB,GAAI,QAAQ,GAAG,KAAG,eAAe,GAAG,SAGhE,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,MAAM,GAAG,SAwEnC,CAAC;AAiKF,eAAO,MAAM,aAAa,GACvB,MAAM,MAAM,EAAE,SAAQ,OAAO,CAAC,aAAa,CAAM,KAAG,cA2alD,CAAC"}
@@ -22,17 +22,12 @@ export declare function emitCustomEvent(target: SpecialSelector, type: string, o
22
22
  export declare function emitCustomEvent(selector: string, type: string, options?: Options): MethodDecorator;
23
23
  export declare const getEmitCustomEventMetadataList: (target: any) => EmitCustomEventMetadata[] | undefined;
24
24
  /**
25
- * @emitCustomEventHost decorator - simplified version of @emitCustomEvent for :host selector
26
- * Usage: @emitCustomEventHost('navigate') // default attributeName: 'on-emit-navigate'
27
- * Usage: @emitCustomEventHost('navigate', { attributeName: 'on-navigate' })
28
- *
29
- * The attributeName option is used to automatically observe attributes for this event.
30
- * For example, { attributeName: 'on-navigate' } will add 'on-navigate' to observedAttributes.
25
+ * @emitCustomEventThis decorator - simplified version of @emitCustomEvent for $this selector
31
26
  */
32
- export declare function emitCustomEventHost(type: string, options: EmitCustomEventBaseOptions & SwcQueryOptions & {
27
+ export declare function emitCustomEventThis(type: string, options: EmitCustomEventBaseOptions & SwcQueryOptions & {
33
28
  attributeName?: string;
34
29
  }): MethodDecorator;
35
- export declare function emitCustomEventHost(type: string, attributeName: string): MethodDecorator;
36
- export declare function emitCustomEventHost(type: string): MethodDecorator;
30
+ export declare function emitCustomEventThis(type: string, attributeName: string): MethodDecorator;
31
+ export declare function emitCustomEventThis(type: string): MethodDecorator;
37
32
  export {};
38
33
  //# sourceMappingURL=emitCustomEvent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"emitCustomEvent.d.ts","sourceRoot":"","sources":["../../../src/decorators/emitCustomEvent.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,eAAe,EAAE,eAAe,EAAE,aAAa,EAAC,MAAM,UAAU,CAAC;AAIzE,MAAM,WAAW,0BAA0B;IACzC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE;QAAE,WAAW,EAAE,GAAG,CAAC;QAAC,MAAM,EAAE,aAAa,CAAA;KAAE,KAAK,OAAO,CAAC;CAC3G;AAED,KAAK,OAAO,GAAG,CAAC,0BAA0B,GAAG,eAAe,CAAC,GAAG,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2
2
  export * from './attribute';
3
3
  export * from './elementDefine';
4
- export * from './changedAttributeHost';
4
+ export * from './changedAttributeThis';
5
5
  export * from './emitCustomEvent';
6
6
  export * from './applyNode';
7
7
  export * from './lifecycles';
@@ -14,4 +14,5 @@ export * from './setProperty';
14
14
  export * from './subscribeSwcAppRouteChangeWhileConnected';
15
15
  export * from './subscribeSwcAppMessageWhileConnected';
16
16
  export * from './publishSwcAppMessage';
17
+ export * from './applySlot';
17
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/decorators/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,4CAA4C,CAAC;AAC3D,cAAc,wCAAwC,CAAC;AACvD,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/decorators/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,4CAA4C,CAAC;AAC3D,cAAc,wCAAwC,CAAC;AACvD,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC"}
@@ -6,10 +6,12 @@ export declare const ON_AFTER_DISCONNECTED_METADATA_KEY: unique symbol;
6
6
  export declare const ON_BEFORE_ADOPTED_METADATA_KEY: unique symbol;
7
7
  export declare const ON_AFTER_ADOPTED_METADATA_KEY: unique symbol;
8
8
  export declare const ON_ADD_EVENT_LISTENER_METADATA_KEY: unique symbol;
9
+ export declare const ON_CONNECTED_INNER_HTML_METADATA_KEY: unique symbol;
9
10
  export declare const ON_CONNECTED_SWC_APP_METADATA_KEY: unique symbol;
10
- export declare const INNER_HTML_METADATA_KEY: unique symbol;
11
+ export declare const ON_CONNECTED_COMPLETED_METADATA_KEY: unique symbol;
11
12
  export declare const ATTRIBUTE_CHANGED_WILDCARD = "*";
12
13
  export interface InnerHtmlOptions {
14
+ ssrFirst?: boolean;
13
15
  replaceWrap?: {
14
16
  start: string;
15
17
  end: string;
@@ -20,10 +22,19 @@ export interface InnerHtmlMetadata {
20
22
  propertyKey: string | symbol;
21
23
  options: InnerHtmlOptions;
22
24
  }
25
+ export interface OnConnectedOptions {
26
+ ssrFirst?: boolean;
27
+ }
28
+ export interface OnConnectedMetadata {
29
+ propertyKey: string | symbol;
30
+ options: OnConnectedOptions;
31
+ }
32
+ export declare function onConnectedBefore(options: OnConnectedOptions): MethodDecorator;
33
+ export declare function onConnectedBefore(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): void;
34
+ export declare function onConnectedAfter(options: OnConnectedOptions): MethodDecorator;
35
+ export declare function onConnectedAfter(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): void;
23
36
  export declare const onInitialize: MethodDecorator;
24
- export declare const onConnectedBefore: MethodDecorator;
25
- export declare const onConnectedAfter: MethodDecorator;
26
- export declare const onConnected: MethodDecorator;
37
+ export declare const onConnected: typeof onConnectedAfter;
27
38
  export declare const onDisconnectedBefore: MethodDecorator;
28
39
  export declare const onDisconnectedAfter: MethodDecorator;
29
40
  export declare const onDisconnected: MethodDecorator;
@@ -31,6 +42,8 @@ export declare const onAdoptedBefore: MethodDecorator;
31
42
  export declare const onAdoptedAfter: MethodDecorator;
32
43
  export declare const onAdopted: MethodDecorator;
33
44
  export declare const onAddEventListener: MethodDecorator;
45
+ export declare const onConnectedSwcApp: MethodDecorator;
46
+ export declare const onConnectedCompleted: MethodDecorator;
34
47
  /**
35
48
  * @onConnectedInnerHtml decorator to define the initial HTML content when connected.
36
49
  */
@@ -39,6 +52,8 @@ export declare function onConnectedInnerHtml(target: Object, propertyKey: string
39
52
  /**
40
53
  * 프로토타입 체인을 순회하며 모든 라이프사이클 메서드를 수집합니다.
41
54
  */
42
- export declare const findAllLifecycleMetadata: <T = (string | symbol)[]>(target: any, metadataKey: symbol) => T | undefined;
43
- export declare const getOnConnectedInnerHtmlMetadata: (target: any) => InnerHtmlMetadata[] | undefined;
55
+ export declare const findAllLifecycleMetadata: (target: any, metadataKey: symbol) => (string | symbol)[];
56
+ export declare const getOnConnectedInnerHtmlMetadata: (target: any) => InnerHtmlMetadata[];
57
+ export declare const getOnConnectedBeforeMetadata: (target: any) => OnConnectedMetadata[];
58
+ export declare const getOnConnectedAfterMetadata: (target: any) => OnConnectedMetadata[];
44
59
  //# sourceMappingURL=lifecycles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lifecycles.d.ts","sourceRoot":"","sources":["../../../src/decorators/lifecycles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,0BAA0B,eAAoD,CAAC;AAC5F,eAAO,MAAM,gCAAgC,eAAyD,CAAC;AACvG,eAAO,MAAM,+BAA+B,eAAwD,CAAC;AACrG,eAAO,MAAM,mCAAmC,eAA4D,CAAC;AAC7G,eAAO,MAAM,kCAAkC,eAA2D,CAAC;AAC3G,eAAO,MAAM,8BAA8B,eAAuD,CAAC;AACnG,eAAO,MAAM,6BAA6B,eAAsD,CAAC;AACjG,eAAO,MA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eAAO,MAAM,2BAA2B,GAAI,QAAQ,GAAG,KAAG,mBAAmB,EAG5E,CAAC"}
@@ -8,74 +8,28 @@ export declare const QUERY_METADATA_KEY: unique symbol;
8
8
  export declare function query(target: SpecialSelector): PropertyDecorator;
9
9
  export declare function query(selector: string, options?: SwcQueryOptions): PropertyDecorator;
10
10
  /**
11
- * @queryHost decorator - simplified version of @query for :host selector
12
- * Usage: @queryHost testzzs: HTMLElement | undefined;
13
- * Usage: @queryHost() testzzs: HTMLElement | undefined;
14
- * Usage: @queryHost({ root: 'shadow' }) testzzs: HTMLElement | undefined;
11
+ * @queryThis decorator - simplified version of @query for $this selector
12
+ */
13
+ export declare function queryThis(target: Object, propertyKey: string | symbol): void;
14
+ export declare function queryThis(): PropertyDecorator;
15
+ export declare function queryThis(options: SwcQueryOptions): PropertyDecorator;
16
+ export declare function queryWindow(target: Object, propertyKey: string | symbol): void;
17
+ export declare function queryWindow(): PropertyDecorator;
18
+ export declare function queryWindow(options: SwcQueryOptions): PropertyDecorator;
19
+ export declare function queryDocument(target: Object, propertyKey: string | symbol): void;
20
+ export declare function queryDocument(): PropertyDecorator;
21
+ export declare function queryDocument(options: SwcQueryOptions): PropertyDecorator;
22
+ /**
23
+ * @host - Query $host (Direct parent SWC component)
15
24
  */
16
25
  export declare function queryHost(target: Object, propertyKey: string | symbol): void;
17
26
  export declare function queryHost(): PropertyDecorator;
18
27
  export declare function queryHost(options: SwcQueryOptions): PropertyDecorator;
19
28
  /**
20
- * @host - Alias for @queryHost decorator
21
- * Usage: @host element: HTMLElement | undefined;
22
- * Usage: @host() element: HTMLElement | undefined;
23
- * Usage: @host({ root: 'shadow' }) element: HTMLElement | undefined;
24
- */
25
- export declare const host: typeof queryHost;
26
- /**
27
- * @parentHost - Query :parentHost (Direct parent SWC component)
28
- * Usage: @parentHost parent: HTMLElement | undefined;
29
- * Usage: @parentHost() parent: HTMLElement | undefined;
30
- * Usage: @parentHost({ root: 'shadow' }) parent: HTMLElement | undefined;
31
- */
32
- export declare function parentHost(target: Object, propertyKey: string | symbol): void;
33
- export declare function parentHost(): PropertyDecorator;
34
- export declare function parentHost(options: SwcQueryOptions): PropertyDecorator;
35
- /**
36
- * @appHost - Query :appHost (Nearest <swc-app>)
37
- * Usage: @appHost app: SwcAppInterface | undefined;
38
- * Usage: @appHost() app: SwcAppInterface | undefined;
39
- * Usage: @appHost({ root: 'shadow' }) app: SwcAppInterface | undefined;
40
- */
41
- export declare function appHost(target: Object, propertyKey: string | symbol): void;
42
- export declare function appHost(): PropertyDecorator;
43
- export declare function appHost(options: SwcQueryOptions): PropertyDecorator;
44
- /**
45
- * @firstHost - Query :firstHost (First component in hierarchy)
46
- * Usage: @firstHost first: HTMLElement | undefined;
47
- * Usage: @firstHost() first: HTMLElement | undefined;
48
- * Usage: @firstHost({ root: 'shadow' }) first: HTMLElement | undefined;
49
- */
50
- export declare function firstHost(target: Object, propertyKey: string | symbol): void;
51
- export declare function firstHost(): PropertyDecorator;
52
- export declare function firstHost(options: SwcQueryOptions): PropertyDecorator;
53
- /**
54
- * @lastHost - Query :lastHost (Last component in hierarchy)
55
- * Usage: @lastHost last: HTMLElement | undefined;
56
- * Usage: @lastHost() last: HTMLElement | undefined;
57
- * Usage: @lastHost({ root: 'shadow' }) last: HTMLElement | undefined;
58
- */
59
- export declare function lastHost(target: Object, propertyKey: string | symbol): void;
60
- export declare function lastHost(): PropertyDecorator;
61
- export declare function lastHost(options: SwcQueryOptions): PropertyDecorator;
62
- /**
63
- * @firstAppHost - Query :firstAppHost (First <swc-app> in hierarchy)
64
- * Usage: @firstAppHost app: SwcAppInterface | undefined;
65
- * Usage: @firstAppHost() app: SwcAppInterface | undefined;
66
- * Usage: @firstAppHost({ root: 'shadow' }) app: SwcAppInterface | undefined;
67
- */
68
- export declare function firstAppHost(target: Object, propertyKey: string | symbol): void;
69
- export declare function firstAppHost(): PropertyDecorator;
70
- export declare function firstAppHost(options: SwcQueryOptions): PropertyDecorator;
71
- /**
72
- * @lastAppHost - Query :lastAppHost (Last <swc-app> in hierarchy)
73
- * Usage: @lastAppHost app: SwcAppInterface | undefined;
74
- * Usage: @lastAppHost() app: SwcAppInterface | undefined;
75
- * Usage: @lastAppHost({ root: 'shadow' }) app: SwcAppInterface | undefined;
29
+ * @appHost - Query $appHost (Nearest <swc-app>)
76
30
  */
77
- export declare function lastAppHost(target: Object, propertyKey: string | symbol): void;
78
- export declare function lastAppHost(): PropertyDecorator;
79
- export declare function lastAppHost(options: SwcQueryOptions): PropertyDecorator;
31
+ export declare function queryAppHost(target: Object, propertyKey: string | symbol): void;
32
+ export declare function queryAppHost(): PropertyDecorator;
33
+ export declare function queryAppHost(options: SwcQueryOptions): PropertyDecorator;
80
34
  export declare const getQueryMetadata: (target: any) => QueryMetadata[] | undefined;
81
35
  //# sourceMappingURL=query.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../src/decorators/query.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAE5D,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,eAAe,CAAC;CAC1B;AAED,eAAO,MAAM,kBAAkB,eAA2C,CAAC;AAE3E,wBAAgB,KAAK,CAAC,MAAM,EAAE,eAAe,GAAG,iBAAiB,CAAC;AAClE,wBAAgB,KAAK,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,iBAAiB,CAAC;AA0FtF;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;AAC9E,wBAAgB,SAAS,IAAI,iBAAiB,CAAC;AAC/C,wBAAgB,SAAS,CAAC,OAAO,EAAE,eAAe,GAAG,iBAAiB,CAAC;AAevE;;;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