@dooboostore/simple-web-component 1.0.43 → 1.0.44

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 (144) hide show
  1. package/README.md +298 -49
  2. package/dist/cjs/SwcAppEngine.js +3 -1
  3. package/dist/cjs/SwcAppEngine.js.map +2 -2
  4. package/dist/cjs/decorators/addEventListener.js.map +2 -2
  5. package/dist/cjs/decorators/applyAttribute.js +30 -28
  6. package/dist/cjs/decorators/applyAttribute.js.map +2 -2
  7. package/dist/cjs/decorators/applyClass.js +57 -21
  8. package/dist/cjs/decorators/applyClass.js.map +3 -3
  9. package/dist/cjs/decorators/applyNode.js +165 -105
  10. package/dist/cjs/decorators/applyNode.js.map +2 -2
  11. package/dist/cjs/decorators/applyProperty.js +11 -28
  12. package/dist/cjs/decorators/applyProperty.js.map +2 -2
  13. package/dist/cjs/decorators/applyStyle.js +39 -15
  14. package/dist/cjs/decorators/applyStyle.js.map +3 -3
  15. package/dist/cjs/decorators/{changedAttributeThis.js → changedAttribute.js} +6 -6
  16. package/dist/cjs/decorators/changedAttribute.js.map +7 -0
  17. package/dist/cjs/decorators/elementDefine.js +37 -6
  18. package/dist/cjs/decorators/elementDefine.js.map +3 -3
  19. package/dist/cjs/decorators/emitCustomEvent.js +56 -42
  20. package/dist/cjs/decorators/emitCustomEvent.js.map +2 -2
  21. package/dist/cjs/decorators/index.js +1 -1
  22. package/dist/cjs/decorators/index.js.map +2 -2
  23. package/dist/cjs/decorators/publishSwcAppMessage.js +5 -5
  24. package/dist/cjs/decorators/publishSwcAppMessage.js.map +3 -3
  25. package/dist/cjs/decorators/query.js +96 -145
  26. package/dist/cjs/decorators/query.js.map +3 -3
  27. package/dist/cjs/decorators/queryAll.js +104 -131
  28. package/dist/cjs/decorators/queryAll.js.map +3 -3
  29. package/dist/cjs/decorators/subscribeSwcAppMessageWhileConnected.js +2 -0
  30. package/dist/cjs/decorators/subscribeSwcAppMessageWhileConnected.js.map +2 -2
  31. package/dist/cjs/decorators/subscribeSwcAppRouteChangeWhileConnected.js +2 -0
  32. package/dist/cjs/decorators/subscribeSwcAppRouteChangeWhileConnected.js.map +2 -2
  33. package/dist/cjs/elements/SwcAppMixin.js +17 -2
  34. package/dist/cjs/elements/SwcAppMixin.js.map +2 -2
  35. package/dist/cjs/examples/RxJSOperatorsExample.js +285 -0
  36. package/dist/cjs/examples/RxJSOperatorsExample.js.map +7 -0
  37. package/dist/cjs/index.js +1 -0
  38. package/dist/cjs/index.js.map +2 -2
  39. package/dist/cjs/router/ElementRouter.js +4 -0
  40. package/dist/cjs/router/ElementRouter.js.map +2 -2
  41. package/dist/esm/SwcAppEngine.js +3 -1
  42. package/dist/esm/SwcAppEngine.js.map +2 -2
  43. package/dist/esm/decorators/addEventListener.js.map +2 -2
  44. package/dist/esm/decorators/applyAttribute.js +30 -28
  45. package/dist/esm/decorators/applyAttribute.js.map +2 -2
  46. package/dist/esm/decorators/applyClass.js +57 -21
  47. package/dist/esm/decorators/applyClass.js.map +3 -3
  48. package/dist/esm/decorators/applyNode.js +165 -105
  49. package/dist/esm/decorators/applyNode.js.map +2 -2
  50. package/dist/esm/decorators/applyProperty.js +11 -28
  51. package/dist/esm/decorators/applyProperty.js.map +2 -2
  52. package/dist/esm/decorators/applyStyle.js +39 -15
  53. package/dist/esm/decorators/applyStyle.js.map +3 -3
  54. package/dist/esm/decorators/{changedAttributeThis.js → changedAttribute.js} +3 -3
  55. package/dist/esm/decorators/changedAttribute.js.map +7 -0
  56. package/dist/esm/decorators/elementDefine.js +35 -4
  57. package/dist/esm/decorators/elementDefine.js.map +2 -2
  58. package/dist/esm/decorators/emitCustomEvent.js +56 -42
  59. package/dist/esm/decorators/emitCustomEvent.js.map +2 -2
  60. package/dist/esm/decorators/index.js +1 -1
  61. package/dist/esm/decorators/index.js.map +1 -1
  62. package/dist/esm/decorators/publishSwcAppMessage.js +5 -5
  63. package/dist/esm/decorators/publishSwcAppMessage.js.map +3 -3
  64. package/dist/esm/decorators/query.js +96 -145
  65. package/dist/esm/decorators/query.js.map +3 -3
  66. package/dist/esm/decorators/queryAll.js +104 -131
  67. package/dist/esm/decorators/queryAll.js.map +3 -3
  68. package/dist/esm/decorators/subscribeSwcAppMessageWhileConnected.js +2 -0
  69. package/dist/esm/decorators/subscribeSwcAppMessageWhileConnected.js.map +2 -2
  70. package/dist/esm/decorators/subscribeSwcAppRouteChangeWhileConnected.js +2 -0
  71. package/dist/esm/decorators/subscribeSwcAppRouteChangeWhileConnected.js.map +2 -2
  72. package/dist/esm/elements/SwcAppMixin.js +18 -3
  73. package/dist/esm/elements/SwcAppMixin.js.map +2 -2
  74. package/dist/esm/examples/RxJSOperatorsExample.js +266 -0
  75. package/dist/esm/examples/RxJSOperatorsExample.js.map +7 -0
  76. package/dist/esm/index.js +1 -0
  77. package/dist/esm/index.js.map +2 -2
  78. package/dist/esm/router/ElementRouter.js +4 -0
  79. package/dist/esm/router/ElementRouter.js.map +2 -2
  80. package/dist/esm-bundle/dooboostore-simple-web-component.esm.js +759 -512
  81. package/dist/esm-bundle/dooboostore-simple-web-component.esm.js.map +4 -4
  82. package/dist/types/SwcAppEngine.d.ts.map +1 -1
  83. package/dist/types/decorators/addEventListener.d.ts +17 -14
  84. package/dist/types/decorators/addEventListener.d.ts.map +1 -1
  85. package/dist/types/decorators/applyAttribute.d.ts +35 -20
  86. package/dist/types/decorators/applyAttribute.d.ts.map +1 -1
  87. package/dist/types/decorators/applyClass.d.ts +16 -36
  88. package/dist/types/decorators/applyClass.d.ts.map +1 -1
  89. package/dist/types/decorators/applyNode.d.ts +172 -30
  90. package/dist/types/decorators/applyNode.d.ts.map +1 -1
  91. package/dist/types/decorators/applyProperty.d.ts +27 -18
  92. package/dist/types/decorators/applyProperty.d.ts.map +1 -1
  93. package/dist/types/decorators/applyStyle.d.ts +7 -7
  94. package/dist/types/decorators/applyStyle.d.ts.map +1 -1
  95. package/dist/types/decorators/{changedAttributeThis.d.ts → changedAttribute.d.ts} +2 -2
  96. package/dist/types/decorators/changedAttribute.d.ts.map +1 -0
  97. package/dist/types/decorators/elementDefine.d.ts.map +1 -1
  98. package/dist/types/decorators/emitCustomEvent.d.ts +3 -10
  99. package/dist/types/decorators/emitCustomEvent.d.ts.map +1 -1
  100. package/dist/types/decorators/index.d.ts +1 -1
  101. package/dist/types/decorators/index.d.ts.map +1 -1
  102. package/dist/types/decorators/publishSwcAppMessage.d.ts +1 -1
  103. package/dist/types/decorators/publishSwcAppMessage.d.ts.map +1 -1
  104. package/dist/types/decorators/query.d.ts +3 -26
  105. package/dist/types/decorators/query.d.ts.map +1 -1
  106. package/dist/types/decorators/queryAll.d.ts +3 -20
  107. package/dist/types/decorators/queryAll.d.ts.map +1 -1
  108. package/dist/types/decorators/subscribeSwcAppMessageWhileConnected.d.ts +1 -0
  109. package/dist/types/decorators/subscribeSwcAppMessageWhileConnected.d.ts.map +1 -1
  110. package/dist/types/decorators/subscribeSwcAppRouteChangeWhileConnected.d.ts +2 -0
  111. package/dist/types/decorators/subscribeSwcAppRouteChangeWhileConnected.d.ts.map +1 -1
  112. package/dist/types/elements/SwcAppMixin.d.ts +4 -4
  113. package/dist/types/elements/SwcAppMixin.d.ts.map +1 -1
  114. package/dist/types/examples/RxJSOperatorsExample.d.ts +94 -0
  115. package/dist/types/examples/RxJSOperatorsExample.d.ts.map +1 -0
  116. package/dist/types/index.d.ts +1 -0
  117. package/dist/types/index.d.ts.map +1 -1
  118. package/dist/types/router/ElementRouter.d.ts.map +1 -1
  119. package/dist/umd-bundle/dooboostore-simple-web-component.umd.js +759 -512
  120. package/dist/umd-bundle/dooboostore-simple-web-component.umd.js.map +4 -4
  121. package/package.json +3 -3
  122. package/src/SwcAppEngine.ts +3 -1
  123. package/src/decorators/addEventListener.ts +28 -24
  124. package/src/decorators/applyAttribute.ts +109 -63
  125. package/src/decorators/applyClass.ts +89 -15
  126. package/src/decorators/applyNode.ts +357 -100
  127. package/src/decorators/applyProperty.ts +42 -63
  128. package/src/decorators/applyStyle.ts +59 -11
  129. package/src/decorators/{changedAttributeThis.ts → changedAttribute.ts} +1 -1
  130. package/src/decorators/elementDefine.ts +47 -4
  131. package/src/decorators/emitCustomEvent.ts +44 -36
  132. package/src/decorators/index.ts +1 -1
  133. package/src/decorators/publishSwcAppMessage.ts +1 -1
  134. package/src/decorators/query.ts +90 -159
  135. package/src/decorators/queryAll.ts +92 -134
  136. package/src/decorators/subscribeSwcAppMessageWhileConnected.ts +1 -0
  137. package/src/decorators/subscribeSwcAppRouteChangeWhileConnected.ts +3 -1
  138. package/src/elements/SwcAppMixin.ts +43 -24
  139. package/src/examples/RxJSOperatorsExample.ts +279 -0
  140. package/src/index.ts +2 -0
  141. package/src/router/ElementRouter.ts +4 -0
  142. package/dist/cjs/decorators/changedAttributeThis.js.map +0 -7
  143. package/dist/esm/decorators/changedAttributeThis.js.map +0 -7
  144. package/dist/types/decorators/changedAttributeThis.d.ts.map +0 -1
@@ -19,13 +19,13 @@ export interface StyleApplyMetadata {
19
19
  options: StyleApplyOptions;
20
20
  }
21
21
  export declare const STYLE_METADATA_KEY: unique symbol;
22
+ export declare function applyStyle(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
22
23
  export declare function applyStyle(selector: string, action?: StyleAction, options?: StyleApplyOptions): MethodDecorator;
23
- export declare const setStyle: (selector: string, options?: StyleApplyOptions) => MethodDecorator;
24
- export declare const updateStyle: (selector: string, options?: StyleApplyOptions) => MethodDecorator;
25
- export declare const removeStyle: (selector: string, options?: StyleApplyOptions) => MethodDecorator;
26
- export declare function applyStyleThis(action?: StyleAction, options?: StyleApplyOptions): MethodDecorator;
27
- export declare const setStyleThis: (options?: StyleApplyOptions) => MethodDecorator;
28
- export declare const updateStyleThis: (options?: StyleApplyOptions) => MethodDecorator;
29
- export declare const removeStyleThis: (options?: StyleApplyOptions) => MethodDecorator;
24
+ export declare function setStyle(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
25
+ export declare function setStyle(selector: string, options?: StyleApplyOptions): MethodDecorator;
26
+ export declare function updateStyle(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
27
+ export declare function updateStyle(selector: string, options?: StyleApplyOptions): MethodDecorator;
28
+ export declare function removeStyle(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
29
+ export declare function removeStyle(selector: string, options?: StyleApplyOptions): MethodDecorator;
30
30
  export declare const findAllStyleMetadata: (target: any) => Map<string | symbol, StyleApplyMetadata>;
31
31
  //# sourceMappingURL=applyStyle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"applyStyle.d.ts","sourceRoot":"","sources":["../../../src/decorators/applyStyle.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmB,eAAe,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE3E,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;IACvG;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B;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;AAmH3E,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,GAAE,WAAsB,EAAE,OAAO,GAAE,iBAAsB,GAAG,eAAe,CAE7H;AAED,eAAO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changedAttributeThis decorator - fires when any attribute on $this changes
13
13
  */
14
- export declare function changedAttributeThis(attributeName?: string, options?: ChangedAttributeThisOptions): MethodDecorator;
14
+ export declare function changedAttribute(attributeName?: string, options?: ChangedAttributeThisOptions): MethodDecorator;
15
15
  export declare const getChangedAttributeMetadata: (target: any) => ChangedAttributeThisMetadata[] | undefined;
16
16
  export declare const findAllAttributeChangedMetadata: (target: any) => Map<string, ChangedAttributeThisMetadata[]>;
17
17
  export declare const convertAttributeValue: (val: any, type?: typeof Number | typeof Boolean | typeof String) => any;
18
- //# sourceMappingURL=changedAttributeThis.d.ts.map
18
+ //# sourceMappingURL=changedAttribute.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"changedAttribute.d.ts","sourceRoot":"","sources":["../../../src/decorators/changedAttribute.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,gBAAgB,CAAC,aAAa,CAAC,EAAE,MAAM,EAAE,OAAO,GAAE,2BAAgC,GAAG,eAAe,CAgBnH;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":"AAoBA,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,SA4FnC,CAAC;AAyLF,eAAO,MAAM,aAAa,GACvB,MAAM,MAAM,EAAE,SAAQ,OAAO,CAAC,aAAa,CAAM,KAAG,cA+alD,CAAC"}
1
+ {"version":3,"file":"elementDefine.d.ts","sourceRoot":"","sources":["../../../src/decorators/elementDefine.ts"],"names":[],"mappings":"AAsBA,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,SA4FnC,CAAC;AAyLF,eAAO,MAAM,aAAa,GACvB,MAAM,MAAM,EAAE,SAAQ,OAAO,CAAC,aAAa,CAAM,KAAG,cAwdlD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { SpecialSelector, SwcQueryOptions, HelperHostSet } from '../types';
1
+ import { SwcQueryOptions, HelperHostSet } from '../types';
2
2
  export interface EmitCustomEventBaseOptions {
3
3
  bubbles?: boolean;
4
4
  composed?: boolean;
@@ -34,17 +34,10 @@ export interface EmitCustomEventMetadata {
34
34
  options: Options;
35
35
  }
36
36
  export declare const EMIT_CUSTOM_EVENT_METADATA_KEY: unique symbol;
37
- export declare function emitCustomEvent(target: SpecialSelector, type: string, options?: Options): MethodDecorator;
37
+ export declare function emitCustomEvent(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
38
38
  export declare function emitCustomEvent(selector: string, type: string, options?: Options): MethodDecorator;
39
+ export declare function emitCustomEvent(type: string, options?: Options): MethodDecorator;
39
40
  export declare const getEmitCustomEventMetadataList: (target: any) => EmitCustomEventMetadata[] | undefined;
40
41
  export declare const emit: typeof emitCustomEvent;
41
- /**
42
- * @emitCustomEventThis decorator - simplified version of @emitCustomEvent for $this selector
43
- */
44
- export declare function emitCustomEventThis(type: string, options: EmitCustomEventBaseOptions & SwcQueryOptions & {
45
- attributeName?: string;
46
- }): MethodDecorator;
47
- export declare function emitCustomEventThis(type: string, attributeName: string): MethodDecorator;
48
- export declare function emitCustomEventThis(type: string): MethodDecorator;
49
42
  export {};
50
43
  //# sourceMappingURL=emitCustomEvent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"emitCustomEvent.d.ts","sourceRoot":"","sources":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AAe,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,UAAU,EAAE,kBAAkB,GAAG,kBAAkB,GAAG,IAAI,CAAC;AACzI,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,eAAe,CAAC;AACpG,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,eAAe,CAAC;AAyHlF,eAAO,MAAM,8BAA8B,GAAI,QAAQ,GAAG,KAAG,uBAAuB,EAAE,GAAG,SAGxF,CAAC;AAGF,eAAO,MAAM,IAAI,wBAAkB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  export * from './addEventListener';
2
2
  export * from './applyAttribute';
3
3
  export * from './elementDefine';
4
- export * from './changedAttributeThis';
4
+ export * from './changedAttribute';
5
5
  export * from './emitCustomEvent';
6
6
  export * from './applyNode';
7
7
  export * from './lifecycles';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/decorators/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,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,iBAAiB,CAAC;AAChC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,wCAAwC,CAAC;AACvD,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/decorators/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,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,iBAAiB,CAAC;AAChC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,wCAAwC,CAAC;AACvD,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
@@ -27,6 +27,6 @@ export declare function publishSwcAppMessage(): MethodDecorator;
27
27
  export declare function publishSwcAppMessage(messageType: string): MethodDecorator;
28
28
  export declare function publishSwcAppMessage(messageType: string, options: PublishSwcAppMessageOptions): MethodDecorator;
29
29
  export declare function publishSwcAppMessage(options: PublishSwcAppMessageOptions): MethodDecorator;
30
- export declare const publish: typeof publishSwcAppMessage;
30
+ export declare const publishMessage: typeof publishSwcAppMessage;
31
31
  export declare const getPublishSwcAppMessageMetadata: (target: any) => PublishSwcAppMessageMetadata[] | undefined;
32
32
  //# sourceMappingURL=publishSwcAppMessage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"publishSwcAppMessage.d.ts","sourceRoot":"","sources":["../../../src/decorators/publishSwcAppMessage.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oCAAoC,eAA6D,CAAC;AAE/G,MAAM,WAAW,4BAA4B;IAC3C,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,2BAA2B;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;;;;;;;;;;OA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e,CAAC;AAC3E,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,2BAA2B,GAAG,eAAe,CAAC;AACjH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,2BAA2B,GAAG,eAAe,CAAC;AA+B5F,eAAO,MAAM,cAAc,6BAAuB,CAAC;AAGnD,eAAO,MAAM,+BAA+B,GAAI,QAAQ,GAAG,KAAG,4BAA4B,EAAE,GAAG,SAG9F,CAAC"}
@@ -1,35 +1,12 @@
1
- import { SpecialSelector, SwcQueryOptions } from '../types';
1
+ import { SwcQueryOptions } from '../types';
2
2
  export interface QueryMetadata {
3
3
  propertyKey: string | symbol;
4
4
  selector: string;
5
5
  options: SwcQueryOptions;
6
6
  }
7
7
  export declare const QUERY_METADATA_KEY: unique symbol;
8
- export declare function query(target: SpecialSelector): PropertyDecorator;
8
+ export declare function query(target: Object, propertyKey: string | symbol, descriptor?: PropertyDescriptor): PropertyDescriptor | void;
9
9
  export declare function query(selector: string, options?: SwcQueryOptions): PropertyDecorator;
10
- /**
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)
24
- */
25
- export declare function queryHost(target: Object, propertyKey: string | symbol): void;
26
- export declare function queryHost(): PropertyDecorator;
27
- export declare function queryHost(options: SwcQueryOptions): PropertyDecorator;
28
- /**
29
- * @appHost - Query $appHost (Nearest <swc-app>)
30
- */
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;
10
+ export declare function query(options?: SwcQueryOptions): PropertyDecorator;
34
11
  export declare const getQueryMetadata: (target: any) => QueryMetadata[];
35
12
  //# 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,EAAiB,MAAM,UAAU,CAAC;AAE3E,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,eAAe,CAAE;CAC3B;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;AAyFtF;;GAEG;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;AAavE,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;AAChF,wBAAgB,WAAW,IAAI,iBAAiB,CAAC;AACjD,wBAAgB,WAAW,CAAC,OAAO,EAAE,eAAe,GAAG,iBAAiB,CAAC;AAYzE,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;AAClF,wBA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AAO,MAAM,gBAAgB,GAAI,QAAQ,GAAG,KAAG,aAAa,EAG3D,CAAC"}
@@ -1,29 +1,12 @@
1
- import { SpecialSelector, SwcQueryOptions } from '../types';
1
+ import { SwcQueryOptions } from '../types';
2
2
  export interface QueryAllMetadata {
3
3
  propertyKey: string | symbol;
4
4
  selector: string;
5
5
  options: SwcQueryOptions;
6
6
  }
7
7
  export declare const QUERY_ALL_METADATA_KEY: unique symbol;
8
- export declare function queryAll(target: SpecialSelector): PropertyDecorator;
8
+ export declare function queryAll(target: Object, propertyKey: string | symbol, descriptor?: PropertyDescriptor): PropertyDescriptor | void;
9
9
  export declare function queryAll(selector: string, options?: SwcQueryOptions): PropertyDecorator;
10
- /**
11
- * @queryAllThis decorator - simplified version of @queryAll for $this selector
12
- */
13
- export declare function queryAllThis(target: Object, propertyKey: string | symbol): void;
14
- export declare function queryAllThis(): PropertyDecorator;
15
- export declare function queryAllThis(options: SwcQueryOptions): PropertyDecorator;
16
- /**
17
- * @allParentHost - Query all parent SWC components
18
- */
19
- export declare function allParentHost(target: Object, propertyKey: string | symbol): void;
20
- export declare function allParentHost(): PropertyDecorator;
21
- export declare function allParentHost(options: SwcQueryOptions): PropertyDecorator;
22
- /**
23
- * @allAppHost - Query all $appHost (All <swc-app> instances)
24
- */
25
- export declare function allAppHost(target: Object, propertyKey: string | symbol): void;
26
- export declare function allAppHost(): PropertyDecorator;
27
- export declare function allAppHost(options: SwcQueryOptions): PropertyDecorator;
10
+ export declare function queryAll(options?: SwcQueryOptions): PropertyDecorator;
28
11
  export declare const getQueryAllMetadata: (target: any) => QueryAllMetadata[] | undefined;
29
12
  //# sourceMappingURL=queryAll.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"queryAll.d.ts","sourceRoot":"","sources":["../../../src/decorators/queryAll.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAiB,MAAM,UAAU,CAAC;AAE3E,MAAM,WAAW,gBAAgB;IAC/B,WAAW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GAAG,MAAM,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,eAAe,CAAC;CAC1B;AAED,eAAO,MAAM,sBAAsB,eAA+C,CAAC;AAEnF,wBAAgB,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,UAAU,CAAC,EAAE,kBAAkB,GAAG,kBAAkB,GAAG,IAAI,CAAC;AACnI,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,iBAAiB,CAAC;AACzF,wBAAgB,QAAQ,CAAC,OAAO,CAAC,EAAE,eAAe,GAAG,iBAAiB,CAAC;AA2GvE,eAAO,MAAM,mBAAmB,GAAI,QAAQ,GAAG,KAAG,gBAAgB,EAAE,GAAG,SAGtE,CAAC"}
@@ -12,5 +12,6 @@ export declare function subscribeSwcAppMessageWhileConnected(target: Object, pro
12
12
  export declare function subscribeSwcAppMessageWhileConnected(messageType: string): MethodDecorator;
13
13
  export declare function subscribeSwcAppMessageWhileConnected(options: SwcAppMessageOptions): MethodDecorator;
14
14
  export declare function subscribeSwcAppMessageWhileConnected(messageType: string, options: SwcAppMessageOptions): MethodDecorator;
15
+ export declare const receiveMessage: typeof subscribeSwcAppMessageWhileConnected;
15
16
  export declare const getSubscribeSwcAppMessageWhileConnectedMetadata: (target: any) => SwcAppMessageSubscriberMetadata[] | undefined;
16
17
  //# sourceMappingURL=subscribeSwcAppMessageWhileConnected.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscribeSwcAppMessageWhileConnected.d.ts","sourceRoot":"","sources":["../../../src/decorators/subscribeSwcAppMessageWhileConnected.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAmD,MAAM,UAAU,CAAC;AAE1F,eAAO,MAAM,sDAAsD,eAA+E,CAAC;AAEnJ,MAAM,WAAW,+BAA+B;IAC9C,WAAW,EAAE,MAAM,GAAG,MAAM,CA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AO,CAAC;CAChE;AAmBD,wBAAgB,oCAAoC,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,UAAU,EAAE,kBAAkB,GAAG,kBAAkB,GAAG,IAAI,CAAC;AAE9J,wBAAgB,oCAAoC,CAAC,WAAW,EAAE,MAAM,GAAG,eAAe,CAAC;AAE3F,wBAAgB,oCAAoC,CAAC,OAAO,EAAE,oBAAoB,GAAG,eAAe,CAAC;AAErG,wBAAgB,oCAAoC,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,oBAAoB,GAAG,eAAe,CAAC;AA8B1H,eAAO,MAAM,cAAc,6CAAuC,CAAC;AAEnE,eAAO,MAAM,+CAA+C,GAAI,QAAQ,GAAG,KAAG,+BAA+B,EAAE,GAAG,SAGjH,CAAC"}
@@ -13,11 +13,13 @@ export interface SwcAppRouteChangeOptions {
13
13
  helper: HelperHostSet;
14
14
  }) => boolean;
15
15
  order?: number;
16
+ valueKey?: symbol | string;
16
17
  }
17
18
  export declare function subscribeSwcAppRouteChangeWhileConnected(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
18
19
  export declare function subscribeSwcAppRouteChangeWhileConnected(): MethodDecorator;
19
20
  export declare function subscribeSwcAppRouteChangeWhileConnected(pathPattern: RoutePathType): MethodDecorator;
20
21
  export declare function subscribeSwcAppRouteChangeWhileConnected(pathPattern: RoutePathType, config: Omit<SwcAppRouteChangeOptions, 'path'>): MethodDecorator;
21
22
  export declare function subscribeSwcAppRouteChangeWhileConnected(options: SwcAppRouteChangeOptions): MethodDecorator;
23
+ export declare const changedRoute: typeof subscribeSwcAppRouteChangeWhileConnected;
22
24
  export declare const getSubscribeSwcAppRouteChangeWhileConnectedMetadata: (target: any) => SwcAppRouteChangeSubscriberMetadata[];
23
25
  //# sourceMappingURL=subscribeSwcAppRouteChangeWhileConnected.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscribeSwcAppRoute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OAAO,EAAE,wBAAwB,GAAG,eAAe,CAAC;AAkC7G,eAAO,MAAM,YAAY,iDAA2C,CAAC;AAGrE,eAAO,MAAM,mDAAmD,GAAI,QAAQ,GAAG,KAAG,mCAAmC,EAOpH,CAAC"}
@@ -1,7 +1,7 @@
1
- import { SwcAppMessage } from "../types";
2
- import { SwcAppEngine, SwcAttributeConfigType, SwcConfigType } from "../SwcAppEngine";
3
- import { Subscription } from "@dooboostore/core";
4
- import { RouterEventType } from "@dooboostore/core-web";
1
+ import { SwcAppMessage } from '../types';
2
+ import { SwcAppEngine, SwcAttributeConfigType, SwcConfigType } from '../SwcAppEngine';
3
+ import { Subscription } from '@dooboostore/core';
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;
7
7
  export declare const removeSSRAttribute: (i: HTMLElement) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"SwcAppMixin.d.ts","sourceRoot":"","sources":["../../../src/elements/SwcAppMixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,aAAa,EAAC,MAAM,UAAU,CAAC;AAExD,OAAO,EAAC,YAAY,EAAE,sBAAsB,EAAE,aAAa,EAAC,MAAM,iBAAiB,CAAC;AACpF,OAAO,EAA0C,YAAY,EAAC,MAAM,mBAAmB,CAAC;AACxF,OAAO,EAAC,eAAe,EAAC,MAAM,uBAAuB,CAAC;AAGtD,eAAO,MAAM,KAAK,GAAI,GAAG,WAAW,YAEnC,CAAA;AACD,eAAO,MAAM,eAAe,GAAI,GAAG,WAAW,SAE7C,CAAA;AACD,eAAO,MAAM,kBAAkB,GAAI,GAAG,WAAW,SAEhD,CAAA;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS;IAAE,KAAI,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,WAAW,CAAA;CAAE,EAAE,IAAI,EAAE,CAAC;kBAmB1D,GAAG,E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G,WAAW,SAEhD,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS;IAAE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,WAAW,CAAA;CAAE,EAAE,IAAI,EAAE,CAAC;kBAmB3D,GAAG,EAAE;;;8BAfJ,YAAY;2BACf,eAAe;;;uCAIH,GAAG;wCACF,GAAG;QAEnC;;;;WAIG;;;;;gDAoB2C,WAAW,MAAM,eAAe;6BAsFnD,WAAW,WAAW;YAAE,YAAY,EAAE,OAAO,CAAA;SAAE;iCAqD3C,GAAG;gCAQV,GAAG;kCAOK,eAAe;yBAOxB,sBAAsB;;;sBAgFzB,MAAM;gBAIlB,IAAI;mBAID,IAAI;kBAIL,IAAI;gCAIU,aAAa,GAAG,IAAI;4CAMR,GAAG,WAAW,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2BlE"}
@@ -0,0 +1,94 @@
1
+ /**
2
+ * Example: Using RxJS-like Operators with @addEventListener
3
+ *
4
+ * This example demonstrates how to use debounceTime, throttleTime, and distinctUntilChanged
5
+ * operators with the @addEventListener decorator.
6
+ */
7
+ /**
8
+ * Example 1: Search Component with Debounce
9
+ *
10
+ * Waits 1 second after user stops typing before performing search.
11
+ * Prevents excessive API calls during typing.
12
+ */
13
+ export declare class SearchComponent extends HTMLElement {
14
+ private results;
15
+ onSearchInput(event: Event): Promise<void>;
16
+ private renderResults;
17
+ }
18
+ /**
19
+ * Example 2: Window Resize Handler with Throttle
20
+ *
21
+ * Recalculates layout at most 4 times per second (every 250ms).
22
+ * Prevents performance issues from excessive resize calculations.
23
+ */
24
+ export declare class ResponsiveLayout extends HTMLElement {
25
+ onWindowResize(event: Event): void;
26
+ private updateLayout;
27
+ }
28
+ /**
29
+ * Example 3: Form Input with Debounce + Distinct
30
+ *
31
+ * Validates field only when:
32
+ * 1. User stops typing (debounce 300ms)
33
+ * 2. AND the value actually changed (distinct)
34
+ */
35
+ export declare class FormInput extends HTMLElement {
36
+ onFormInput(event: Event): void;
37
+ private validateField;
38
+ }
39
+ /**
40
+ * Example 4: Scroll Event with Throttle
41
+ *
42
+ * Checks if user scrolled to bottom at most 10 times per second.
43
+ * Prevents excessive "load more" API calls.
44
+ */
45
+ export declare class InfiniteScroll extends HTMLElement {
46
+ private isLoading;
47
+ onScroll(event: Event): void;
48
+ private isNearBottom;
49
+ private loadMoreContent;
50
+ }
51
+ /**
52
+ * Example 5: Custom Comparison with Distinct
53
+ *
54
+ * Only fires when the input value length changes.
55
+ * Ignores changes that don't affect the length.
56
+ */
57
+ export declare class LengthTracker extends HTMLElement {
58
+ onInputChange(event: Event): void;
59
+ private updateLengthDisplay;
60
+ }
61
+ /**
62
+ * Example 6: Complex Scenario - Auto-save with Multiple Operators
63
+ *
64
+ * Combines debounce and distinct for intelligent auto-save:
65
+ * - Waits 2 seconds after user stops typing
66
+ * - Only saves if content actually changed
67
+ * - Prevents unnecessary save operations
68
+ */
69
+ export declare class AutoSaveEditor extends HTMLElement {
70
+ private lastSavedContent;
71
+ onContentChange(event: Event): Promise<void>;
72
+ private saveContent;
73
+ private showSaveIndicator;
74
+ }
75
+ /**
76
+ * Example 7: Keyboard Shortcut Handler with Throttle
77
+ *
78
+ * Prevents rapid repeated execution of keyboard shortcuts.
79
+ */
80
+ export declare class KeyboardHandler extends HTMLElement {
81
+ onSaveShortcut(event: KeyboardEvent): void;
82
+ private handleSave;
83
+ }
84
+ /**
85
+ * Example 8: Mouse Move Tracking with Throttle
86
+ *
87
+ * Tracks mouse position at most 10 times per second.
88
+ * Useful for analytics or interactive features.
89
+ */
90
+ export declare class MouseTracker extends HTMLElement {
91
+ onMouseMove(event: MouseEvent): void;
92
+ private updateCursorPosition;
93
+ }
94
+ //# sourceMappingURL=RxJSOperatorsExample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RxJSOperatorsExample.d.ts","sourceRoot":"","sources":["../../../src/examples/RxJSOperatorsExample.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH;;;;;GAKG;AACH,qBACa,eAAgB,SAAQ,WAAW;IAC9C,OAAO,CAAC,OAAO,CAAa;IAGtB,aAAa,CAAC,KAAK,EAAE,KAAK;IAmBhC,OAAO,CAAC,aAAa;CAItB;AAED;;;;;GAKG;AACH,qBACa,gBAAiB,SAAQ,WAAW;IAE/C,cAAc,CAAC,KAAK,EAAE,KAAK;IAQ3B,OAAO,CAAC,YAAY;CAUrB;AAED;;;;;;GAMG;AACH,qBACa,SAAU,SAAQ,WAAW;IAKxC,WAAW,CAAC,KAAK,EAAE,KAAK;IASxB,OAAO,CAAC,aAAa;CAKtB;AAED;;;;;GAKG;AACH,qBACa,cAAe,SAAQ,WAAW;IAC7C,OAAO,CAAC,SAAS,CAAS;IAG1B,QAAQ,CAAC,KAAK,EAAE,KAAK;IASrB,OAAO,CAAC,YAAY;YAQN,eAAe;CAU9B;AAED;;;;;GAKG;AACH,qBACa,aAAc,SAAQ,WAAW;IAO5C,aAAa,CAAC,KAAK,EAAE,KAAK;IAQ1B,OAAO,CAAC,mBAAmB;CAO5B;AAED;;;;;;;GAOG;AACH,qBACa,cAAe,SAAQ,WAAW;IAC7C,OAAO,CAAC,gBAAgB,CAAM;IASxB,eAAe,CAAC,KAAK,EAAE,KAAK;YAWpB,WAAW;IAkBzB,OAAO,CAAC,iBAAiB;CAO1B;AAED;;;;GAIG;AACH,qBACa,eAAgB,SAAQ,WAAW;IAQ9C,cAAc,CAAC,KAAK,EAAE,aAAa;IAMnC,OAAO,CAAC,UAAU;CAInB;AAED;;;;;GAKG;AACH,qBACa,YAAa,SAAQ,WAAW;IAE3C,WAAW,CAAC,KAAK,EAAE,UAAU;IAQ7B,OAAO,CAAC,oBAAoB;CAI7B"}
@@ -4,6 +4,7 @@ export * from './decorators';
4
4
  export * from './types';
5
5
  export * from './utils/Utils';
6
6
  export * from './config/config';
7
+ export * from './SwcAppEngine';
7
8
  declare const _default: (w: Window, other?: (((w: Window) => Promise<CustomElementConstructor> | CustomElementConstructor) | any)[]) => Promise<CustomElementConstructor>;
8
9
  export default _default;
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAC1B,cAAc,YAAY,CAAA;AAK1B,cAAc,cAAc,CAAC;AAG7B,cAAc,SAAS,CAAC;AAGxB,cAAc,eAAe,CAAC;AAG9B,cAAc,iBAAiB,CAAC;yBAGV,GAAG,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,wBAAwB,CAAC,GAAG,wBAAwB,CAAC,GAAG,GAAG,CAAC,EAAG;AAAjI,wBAYE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAC1B,cAAc,YAAY,CAAA;AAK1B,cAAc,cAAc,CAAC;AAG7B,cAAc,SAAS,CAAC;AAGxB,cAAc,eAAe,CAAC;AAG9B,cAAc,iBAAiB,CAAC;AAEhC,cAAc,gBAAgB,CAAA;yBAGR,GAAG,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,wBAAwB,CAAC,GAAG,wBAAw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