@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.
- package/README.md +298 -49
- package/dist/cjs/SwcAppEngine.js +3 -1
- package/dist/cjs/SwcAppEngine.js.map +2 -2
- package/dist/cjs/decorators/addEventListener.js.map +2 -2
- package/dist/cjs/decorators/applyAttribute.js +30 -28
- package/dist/cjs/decorators/applyAttribute.js.map +2 -2
- package/dist/cjs/decorators/applyClass.js +57 -21
- package/dist/cjs/decorators/applyClass.js.map +3 -3
- package/dist/cjs/decorators/applyNode.js +165 -105
- package/dist/cjs/decorators/applyNode.js.map +2 -2
- package/dist/cjs/decorators/applyProperty.js +11 -28
- package/dist/cjs/decorators/applyProperty.js.map +2 -2
- package/dist/cjs/decorators/applyStyle.js +39 -15
- package/dist/cjs/decorators/applyStyle.js.map +3 -3
- package/dist/cjs/decorators/{changedAttributeThis.js → changedAttribute.js} +6 -6
- package/dist/cjs/decorators/changedAttribute.js.map +7 -0
- package/dist/cjs/decorators/elementDefine.js +37 -6
- package/dist/cjs/decorators/elementDefine.js.map +3 -3
- package/dist/cjs/decorators/emitCustomEvent.js +56 -42
- package/dist/cjs/decorators/emitCustomEvent.js.map +2 -2
- package/dist/cjs/decorators/index.js +1 -1
- package/dist/cjs/decorators/index.js.map +2 -2
- package/dist/cjs/decorators/publishSwcAppMessage.js +5 -5
- package/dist/cjs/decorators/publishSwcAppMessage.js.map +3 -3
- package/dist/cjs/decorators/query.js +96 -145
- package/dist/cjs/decorators/query.js.map +3 -3
- package/dist/cjs/decorators/queryAll.js +104 -131
- package/dist/cjs/decorators/queryAll.js.map +3 -3
- package/dist/cjs/decorators/subscribeSwcAppMessageWhileConnected.js +2 -0
- package/dist/cjs/decorators/subscribeSwcAppMessageWhileConnected.js.map +2 -2
- package/dist/cjs/decorators/subscribeSwcAppRouteChangeWhileConnected.js +2 -0
- package/dist/cjs/decorators/subscribeSwcAppRouteChangeWhileConnected.js.map +2 -2
- package/dist/cjs/elements/SwcAppMixin.js +17 -2
- package/dist/cjs/elements/SwcAppMixin.js.map +2 -2
- package/dist/cjs/examples/RxJSOperatorsExample.js +285 -0
- package/dist/cjs/examples/RxJSOperatorsExample.js.map +7 -0
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +2 -2
- package/dist/cjs/router/ElementRouter.js +4 -0
- package/dist/cjs/router/ElementRouter.js.map +2 -2
- package/dist/esm/SwcAppEngine.js +3 -1
- package/dist/esm/SwcAppEngine.js.map +2 -2
- package/dist/esm/decorators/addEventListener.js.map +2 -2
- package/dist/esm/decorators/applyAttribute.js +30 -28
- package/dist/esm/decorators/applyAttribute.js.map +2 -2
- package/dist/esm/decorators/applyClass.js +57 -21
- package/dist/esm/decorators/applyClass.js.map +3 -3
- package/dist/esm/decorators/applyNode.js +165 -105
- package/dist/esm/decorators/applyNode.js.map +2 -2
- package/dist/esm/decorators/applyProperty.js +11 -28
- package/dist/esm/decorators/applyProperty.js.map +2 -2
- package/dist/esm/decorators/applyStyle.js +39 -15
- package/dist/esm/decorators/applyStyle.js.map +3 -3
- package/dist/esm/decorators/{changedAttributeThis.js → changedAttribute.js} +3 -3
- package/dist/esm/decorators/changedAttribute.js.map +7 -0
- package/dist/esm/decorators/elementDefine.js +35 -4
- package/dist/esm/decorators/elementDefine.js.map +2 -2
- package/dist/esm/decorators/emitCustomEvent.js +56 -42
- package/dist/esm/decorators/emitCustomEvent.js.map +2 -2
- package/dist/esm/decorators/index.js +1 -1
- package/dist/esm/decorators/index.js.map +1 -1
- package/dist/esm/decorators/publishSwcAppMessage.js +5 -5
- package/dist/esm/decorators/publishSwcAppMessage.js.map +3 -3
- package/dist/esm/decorators/query.js +96 -145
- package/dist/esm/decorators/query.js.map +3 -3
- package/dist/esm/decorators/queryAll.js +104 -131
- package/dist/esm/decorators/queryAll.js.map +3 -3
- package/dist/esm/decorators/subscribeSwcAppMessageWhileConnected.js +2 -0
- package/dist/esm/decorators/subscribeSwcAppMessageWhileConnected.js.map +2 -2
- package/dist/esm/decorators/subscribeSwcAppRouteChangeWhileConnected.js +2 -0
- package/dist/esm/decorators/subscribeSwcAppRouteChangeWhileConnected.js.map +2 -2
- package/dist/esm/elements/SwcAppMixin.js +18 -3
- package/dist/esm/elements/SwcAppMixin.js.map +2 -2
- package/dist/esm/examples/RxJSOperatorsExample.js +266 -0
- package/dist/esm/examples/RxJSOperatorsExample.js.map +7 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +2 -2
- package/dist/esm/router/ElementRouter.js +4 -0
- package/dist/esm/router/ElementRouter.js.map +2 -2
- package/dist/esm-bundle/dooboostore-simple-web-component.esm.js +759 -512
- package/dist/esm-bundle/dooboostore-simple-web-component.esm.js.map +4 -4
- package/dist/types/SwcAppEngine.d.ts.map +1 -1
- package/dist/types/decorators/addEventListener.d.ts +17 -14
- package/dist/types/decorators/addEventListener.d.ts.map +1 -1
- package/dist/types/decorators/applyAttribute.d.ts +35 -20
- package/dist/types/decorators/applyAttribute.d.ts.map +1 -1
- package/dist/types/decorators/applyClass.d.ts +16 -36
- package/dist/types/decorators/applyClass.d.ts.map +1 -1
- package/dist/types/decorators/applyNode.d.ts +172 -30
- package/dist/types/decorators/applyNode.d.ts.map +1 -1
- package/dist/types/decorators/applyProperty.d.ts +27 -18
- package/dist/types/decorators/applyProperty.d.ts.map +1 -1
- package/dist/types/decorators/applyStyle.d.ts +7 -7
- package/dist/types/decorators/applyStyle.d.ts.map +1 -1
- package/dist/types/decorators/{changedAttributeThis.d.ts → changedAttribute.d.ts} +2 -2
- package/dist/types/decorators/changedAttribute.d.ts.map +1 -0
- package/dist/types/decorators/elementDefine.d.ts.map +1 -1
- package/dist/types/decorators/emitCustomEvent.d.ts +3 -10
- package/dist/types/decorators/emitCustomEvent.d.ts.map +1 -1
- package/dist/types/decorators/index.d.ts +1 -1
- package/dist/types/decorators/index.d.ts.map +1 -1
- package/dist/types/decorators/publishSwcAppMessage.d.ts +1 -1
- package/dist/types/decorators/publishSwcAppMessage.d.ts.map +1 -1
- package/dist/types/decorators/query.d.ts +3 -26
- package/dist/types/decorators/query.d.ts.map +1 -1
- package/dist/types/decorators/queryAll.d.ts +3 -20
- package/dist/types/decorators/queryAll.d.ts.map +1 -1
- package/dist/types/decorators/subscribeSwcAppMessageWhileConnected.d.ts +1 -0
- package/dist/types/decorators/subscribeSwcAppMessageWhileConnected.d.ts.map +1 -1
- package/dist/types/decorators/subscribeSwcAppRouteChangeWhileConnected.d.ts +2 -0
- package/dist/types/decorators/subscribeSwcAppRouteChangeWhileConnected.d.ts.map +1 -1
- package/dist/types/elements/SwcAppMixin.d.ts +4 -4
- package/dist/types/elements/SwcAppMixin.d.ts.map +1 -1
- package/dist/types/examples/RxJSOperatorsExample.d.ts +94 -0
- package/dist/types/examples/RxJSOperatorsExample.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/router/ElementRouter.d.ts.map +1 -1
- package/dist/umd-bundle/dooboostore-simple-web-component.umd.js +759 -512
- package/dist/umd-bundle/dooboostore-simple-web-component.umd.js.map +4 -4
- package/package.json +3 -3
- package/src/SwcAppEngine.ts +3 -1
- package/src/decorators/addEventListener.ts +28 -24
- package/src/decorators/applyAttribute.ts +109 -63
- package/src/decorators/applyClass.ts +89 -15
- package/src/decorators/applyNode.ts +357 -100
- package/src/decorators/applyProperty.ts +42 -63
- package/src/decorators/applyStyle.ts +59 -11
- package/src/decorators/{changedAttributeThis.ts → changedAttribute.ts} +1 -1
- package/src/decorators/elementDefine.ts +47 -4
- package/src/decorators/emitCustomEvent.ts +44 -36
- package/src/decorators/index.ts +1 -1
- package/src/decorators/publishSwcAppMessage.ts +1 -1
- package/src/decorators/query.ts +90 -159
- package/src/decorators/queryAll.ts +92 -134
- package/src/decorators/subscribeSwcAppMessageWhileConnected.ts +1 -0
- package/src/decorators/subscribeSwcAppRouteChangeWhileConnected.ts +3 -1
- package/src/elements/SwcAppMixin.ts +43 -24
- package/src/examples/RxJSOperatorsExample.ts +279 -0
- package/src/index.ts +2 -0
- package/src/router/ElementRouter.ts +4 -0
- package/dist/cjs/decorators/changedAttributeThis.js.map +0 -7
- package/dist/esm/decorators/changedAttributeThis.js.map +0 -7
- package/dist/types/decorators/changedAttributeThis.d.ts.map +0 -1
|
@@ -1 +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;AAChF,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;IAEvC,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,WA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B,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;IA6CnC,UAAU;CAGX"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SpecialSelector, SwcQueryOptions, HelperHostSet } from '../types';
|
|
2
|
-
export interface AddEventListenerBaseOptions extends EventListenerOptions {
|
|
2
|
+
export interface AddEventListenerBaseOptions<TEvent extends Event = Event> extends EventListenerOptions {
|
|
3
3
|
capture?: boolean;
|
|
4
4
|
once?: boolean;
|
|
5
5
|
passive?: boolean;
|
|
@@ -11,24 +11,27 @@ export interface AddEventListenerBaseOptions extends EventListenerOptions {
|
|
|
11
11
|
currentThis: any;
|
|
12
12
|
helper: HelperHostSet;
|
|
13
13
|
}) => boolean;
|
|
14
|
+
debounceTime?: number;
|
|
15
|
+
throttleTime?: number;
|
|
16
|
+
distinctUntilChanged?: boolean | ((prev: TEvent, curr: TEvent) => boolean);
|
|
14
17
|
}
|
|
15
|
-
export interface AddEventListenerMetadata {
|
|
18
|
+
export interface AddEventListenerMetadata<TEvent extends Event = Event> {
|
|
16
19
|
propertyKey: string | symbol;
|
|
17
20
|
selector: string;
|
|
18
21
|
type: string;
|
|
19
|
-
options: AddEventListenerBaseOptions & SwcQueryOptions & {
|
|
22
|
+
options: AddEventListenerBaseOptions<TEvent> & SwcQueryOptions & {
|
|
20
23
|
delegate?: boolean;
|
|
21
24
|
};
|
|
22
25
|
}
|
|
23
26
|
export declare const ADD_EVENT_LISTENER_METADATA_KEY: unique symbol;
|
|
24
|
-
export declare function addEventListener(target: SpecialSelector, type: string, options?: AddEventListenerBaseOptions): MethodDecorator;
|
|
25
|
-
export declare function addEventListener(selector: string, type: string, options?: AddEventListenerBaseOptions & SwcQueryOptions & {
|
|
27
|
+
export declare function addEventListener<TEvent extends Event = Event>(target: SpecialSelector, type: string, options?: AddEventListenerBaseOptions<TEvent>): MethodDecorator;
|
|
28
|
+
export declare function addEventListener<TEvent extends Event = Event>(selector: string, type: string, options?: AddEventListenerBaseOptions<TEvent> & SwcQueryOptions & {
|
|
26
29
|
delegate?: boolean;
|
|
27
30
|
}): MethodDecorator;
|
|
28
|
-
export declare function addEventListenerDelegateLightDom(selector: string, type: string, options?: Omit<AddEventListenerBaseOptions
|
|
29
|
-
export declare function addEventListenerDelegateShadowDom(selector: string, type: string, options?: Omit<AddEventListenerBaseOptions
|
|
30
|
-
export declare function addEventListenerDelegateAllDom(selector: string, type: string, options?: Omit<AddEventListenerBaseOptions
|
|
31
|
-
export declare function addEventListenerDelegate(selector: string, type: string, options?: Omit<AddEventListenerBaseOptions
|
|
31
|
+
export declare function addEventListenerDelegateLightDom<TEvent extends Event = Event>(selector: string, type: string, options?: Omit<AddEventListenerBaseOptions<TEvent>, 'delegate'>): MethodDecorator;
|
|
32
|
+
export declare function addEventListenerDelegateShadowDom<TEvent extends Event = Event>(selector: string, type: string, options?: Omit<AddEventListenerBaseOptions<TEvent>, 'delegate'>): MethodDecorator;
|
|
33
|
+
export declare function addEventListenerDelegateAllDom<TEvent extends Event = Event>(selector: string, type: string, options?: Omit<AddEventListenerBaseOptions<TEvent>, 'delegate'>): MethodDecorator;
|
|
34
|
+
export declare function addEventListenerDelegate<TEvent extends Event = Event>(selector: string, type: string, options?: Omit<AddEventListenerBaseOptions<TEvent>, 'delegate'>): MethodDecorator;
|
|
32
35
|
/**
|
|
33
36
|
* @addEventListenerThis decorator - simplified version of @addEventListener for $this selector
|
|
34
37
|
*/
|
|
@@ -37,12 +40,12 @@ export declare const eventDelegateLightDom: typeof addEventListenerDelegateLight
|
|
|
37
40
|
export declare const eventDelegateShadowDom: typeof addEventListenerDelegateShadowDom;
|
|
38
41
|
export declare const eventDelegateAllDom: typeof addEventListenerDelegateAllDom;
|
|
39
42
|
export declare const eventDelegate: typeof addEventListenerDelegate;
|
|
40
|
-
export declare function addEventListenerThis(type: string, options?: AddEventListenerBaseOptions & SwcQueryOptions): MethodDecorator;
|
|
43
|
+
export declare function addEventListenerThis<TEvent extends Event = Event>(type: string, options?: AddEventListenerBaseOptions<TEvent> & SwcQueryOptions): MethodDecorator;
|
|
41
44
|
/**
|
|
42
45
|
* @addEventListenerAppHost decorator - simplified version of @addEventListener for $appHost selector
|
|
43
46
|
*/
|
|
44
|
-
export declare function addEventListenerAppHost(type: string, options?: AddEventListenerBaseOptions & SwcQueryOptions): MethodDecorator;
|
|
45
|
-
export declare function addEventListenerWindow(type: string, options?: AddEventListenerBaseOptions & SwcQueryOptions): MethodDecorator;
|
|
46
|
-
export declare function addEventListenerDocument(type: string, options?: AddEventListenerBaseOptions & SwcQueryOptions): MethodDecorator;
|
|
47
|
-
export declare const getAddEventListenerMetadata: (target: any) => AddEventListenerMetadata[] | undefined;
|
|
47
|
+
export declare function addEventListenerAppHost<TEvent extends Event = Event>(type: string, options?: AddEventListenerBaseOptions<TEvent> & SwcQueryOptions): MethodDecorator;
|
|
48
|
+
export declare function addEventListenerWindow<TEvent extends Event = Event>(type: string, options?: AddEventListenerBaseOptions<TEvent> & SwcQueryOptions): MethodDecorator;
|
|
49
|
+
export declare function addEventListenerDocument<TEvent extends Event = Event>(type: string, options?: AddEventListenerBaseOptions<TEvent> & SwcQueryOptions): MethodDecorator;
|
|
50
|
+
export declare const getAddEventListenerMetadata: (target: any) => AddEventListenerMetadata<Event>[] | undefined;
|
|
48
51
|
//# 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,
|
|
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,2BAA2B,CAAC,MAAM,SAAS,KAAK,GAAG,KAAK,CAAE,SAAQ,oBAAoB;IACrG,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;IAEzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,KAAK,GAAG,WAAW,EAAE,IAAI,EAAC;QAAC,WAAW,EAAE,GAAG,CAAC;QAAC,MAAM,EAAE,aAAa,CAAA;KAAC,KAAK,OAAO,CAAC;IAElG,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oBAAoB,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,CAAC;CAC5E;A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A2B,GAAI,QAAQ,GAAG,KAAG,wBAAwB,CAAC,KAAK,CAAC,EAAE,GAAG,SAG7F,CAAC"}
|
|
@@ -64,29 +64,44 @@ export declare const resolveAttributeTargets: (inst: any, selector: string, opti
|
|
|
64
64
|
export declare function applyAttribute(selector: string, targetAttributeName: string, options?: AttributeOptions): MethodDecorator & PropertyDecorator;
|
|
65
65
|
export declare function applyAttribute(selector: string, options?: AttributeOptions): MethodDecorator & PropertyDecorator;
|
|
66
66
|
/**
|
|
67
|
-
* @attribute -
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
* @
|
|
73
|
-
*
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
* @setAttribute - Alias for @applyAttribute (method-decorator semantics)
|
|
67
|
+
* @attribute - Field decorator for binding element attributes (read/write)
|
|
68
|
+
*
|
|
69
|
+
* Intelligently distinguishes between attribute names and CSS selectors:
|
|
70
|
+
*
|
|
71
|
+
* Usage patterns:
|
|
72
|
+
* - @attribute('product-id') - Attribute name on $this (auto-detected)
|
|
73
|
+
* - @attribute('#user', 'product-id') - Attribute name on selector
|
|
74
|
+
* - @attribute('product-id', options) - Attribute name on $this with options
|
|
75
|
+
* - @attribute('#user', 'product-id', options) - Attribute name on selector with options
|
|
76
|
+
* - @attribute - Bare decorator (uses property name as attribute on $this)
|
|
77
|
+
*
|
|
78
|
+
* Note: This decorator is for FIELDS ONLY. For methods, use @setAttribute.
|
|
80
79
|
*/
|
|
81
|
-
export declare function
|
|
82
|
-
export declare function
|
|
80
|
+
export declare function attribute(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
|
|
81
|
+
export declare function attribute(attributeName: string, options?: AttributeOptions): PropertyDecorator;
|
|
82
|
+
export declare function attribute(selector: string, attributeName: string, options?: AttributeOptions): PropertyDecorator;
|
|
83
83
|
/**
|
|
84
|
-
* @
|
|
85
|
-
*
|
|
84
|
+
* @setAttribute - Method decorator for setting element attributes from method return value
|
|
85
|
+
*
|
|
86
|
+
* Intelligently distinguishes between attribute names and CSS selectors:
|
|
87
|
+
*
|
|
88
|
+
* Usage patterns:
|
|
89
|
+
* - @setAttribute('data-id') - Attribute name on $this (auto-detected)
|
|
90
|
+
* - @setAttribute('#user', 'data-id') - Attribute name on selector
|
|
91
|
+
* - @setAttribute('data-id', options) - Attribute name on $this with options
|
|
92
|
+
* - @setAttribute('#user', 'data-id', options) - Attribute name on selector with options
|
|
93
|
+
* - @setAttribute - Bare decorator (uses method name as attribute on $this)
|
|
94
|
+
*
|
|
95
|
+
* Note: This decorator is for METHODS ONLY. For fields, use @attribute.
|
|
96
|
+
*
|
|
97
|
+
* Example:
|
|
98
|
+
* @setAttribute('data-status')
|
|
99
|
+
* updateStatus() {
|
|
100
|
+
* return 'active';
|
|
101
|
+
* }
|
|
86
102
|
*/
|
|
87
|
-
export declare function
|
|
88
|
-
export declare function
|
|
89
|
-
export declare function setAttributeThis(options?: AttributeOptions): MethodDecorator;
|
|
103
|
+
export declare function setAttribute(selector: string, attributeName: string, options?: AttributeOptions): MethodDecorator;
|
|
104
|
+
export declare function setAttribute(attributeName: string, options?: AttributeOptions): MethodDecorator;
|
|
90
105
|
export declare const findAllAttributeMetadata: (target: any) => AttributeMetadata[];
|
|
91
106
|
export declare const findAllAttributeApplyMetadata: (target: any) => Map<string | symbol, AttributeMetadata>;
|
|
92
107
|
export default applyAttribute;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applyAttribute.d.ts","sourceRoot":"","sources":["../../../src/decorators/applyAttribute.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,eAAe,EAAE,aAAa,EAAC,MAAM,UAAU,CAAC;AAOxD,MAAM,WAAW,gBAAiB,SAAQ,eAAe;IACvD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,MAAM,GAAG,OAAO,OAAO,GAAG,OAAO,MAAM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mBG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,gBAAgB,GAAG,eAAe,CAAC;AACnH,wBAAgB,YAAY,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,gBAAgB,GAAG,eAAe,CAAC;AA4BjG,eAAO,MAAM,wBAAwB,GAAI,QAAQ,GAAG,KAAG,iBAAiB,EAGvE,CAAC;AAGF,eAAO,MAAM,6BAA6B,GAAI,QAAQ,GAAG,KAAG,GAAG,CAAC,MAAM,GAAG,MAAM,EAAE,iBAAiB,CAMjG,CAAC;AAGF,eAAe,cAAc,CAAC"}
|
|
@@ -19,57 +19,37 @@ export interface ClassApplyMetadata {
|
|
|
19
19
|
action: ClassAction;
|
|
20
20
|
options: ClassApplyOptions;
|
|
21
21
|
}
|
|
22
|
+
export declare function applyClass(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
|
|
22
23
|
export declare function applyClass(selector: string, action?: ClassAction, options?: ClassApplyOptions): MethodDecorator;
|
|
23
|
-
export declare
|
|
24
|
+
export declare function setClass(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
|
|
25
|
+
export declare function setClass(selector: string, classMapOrOptions?: string | {
|
|
24
26
|
[className: string]: (el: HTMLElement, value: any, helper: HelperHostSet & {
|
|
25
27
|
$this: any;
|
|
26
28
|
}) => boolean;
|
|
27
|
-
} | ClassApplyOptions, options?: ClassApplyOptions)
|
|
28
|
-
export declare
|
|
29
|
+
} | ClassApplyOptions, options?: ClassApplyOptions): MethodDecorator;
|
|
30
|
+
export declare function updateClass(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
|
|
31
|
+
export declare function updateClass(selector: string, classMapOrOptions?: string | {
|
|
29
32
|
[className: string]: (el: HTMLElement, value: any, helper: HelperHostSet & {
|
|
30
33
|
$this: any;
|
|
31
34
|
}) => boolean;
|
|
32
|
-
} | ClassApplyOptions, options?: ClassApplyOptions)
|
|
33
|
-
export declare
|
|
35
|
+
} | ClassApplyOptions, options?: ClassApplyOptions): MethodDecorator;
|
|
36
|
+
export declare function addClass(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
|
|
37
|
+
export declare function addClass(selector: string, classMapOrOptions?: string | {
|
|
34
38
|
[className: string]: (el: HTMLElement, value: any, helper: HelperHostSet & {
|
|
35
39
|
$this: any;
|
|
36
40
|
}) => boolean;
|
|
37
|
-
} | ClassApplyOptions, options?: ClassApplyOptions)
|
|
38
|
-
export declare
|
|
41
|
+
} | ClassApplyOptions, options?: ClassApplyOptions): MethodDecorator;
|
|
42
|
+
export declare function removeClass(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
|
|
43
|
+
export declare function removeClass(selector: string, classMapOrOptions?: string | {
|
|
39
44
|
[className: string]: (el: HTMLElement, value: any, helper: HelperHostSet & {
|
|
40
45
|
$this: any;
|
|
41
46
|
}) => boolean;
|
|
42
|
-
} | ClassApplyOptions, options?: ClassApplyOptions)
|
|
43
|
-
export declare
|
|
47
|
+
} | ClassApplyOptions, options?: ClassApplyOptions): MethodDecorator;
|
|
48
|
+
export declare function toggleClass(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
|
|
49
|
+
export declare function toggleClass(selector: string, classMapOrOptions?: string | {
|
|
44
50
|
[className: string]: (el: HTMLElement, value: any, helper: HelperHostSet & {
|
|
45
51
|
$this: any;
|
|
46
52
|
}) => boolean;
|
|
47
|
-
} | ClassApplyOptions, options?: ClassApplyOptions)
|
|
48
|
-
export declare function applyClassThis(action?: ClassAction, options?: ClassApplyOptions): MethodDecorator;
|
|
49
|
-
export declare const setClassThis: (classMapOrOptions?: string | {
|
|
50
|
-
[className: string]: (el: HTMLElement, value: any, helper: HelperHostSet & {
|
|
51
|
-
$this: any;
|
|
52
|
-
}) => boolean;
|
|
53
|
-
} | ClassApplyOptions, options?: ClassApplyOptions) => MethodDecorator;
|
|
54
|
-
export declare const updateClassThis: (classMapOrOptions?: string | {
|
|
55
|
-
[className: string]: (el: HTMLElement, value: any, helper: HelperHostSet & {
|
|
56
|
-
$this: any;
|
|
57
|
-
}) => boolean;
|
|
58
|
-
} | ClassApplyOptions, options?: ClassApplyOptions) => MethodDecorator;
|
|
59
|
-
export declare const addClassThis: (classMapOrOptions?: string | {
|
|
60
|
-
[className: string]: (el: HTMLElement, value: any, helper: HelperHostSet & {
|
|
61
|
-
$this: any;
|
|
62
|
-
}) => boolean;
|
|
63
|
-
} | ClassApplyOptions, options?: ClassApplyOptions) => MethodDecorator;
|
|
64
|
-
export declare const removeClassThis: (classMapOrOptions?: string | {
|
|
65
|
-
[className: string]: (el: HTMLElement, value: any, helper: HelperHostSet & {
|
|
66
|
-
$this: any;
|
|
67
|
-
}) => boolean;
|
|
68
|
-
} | ClassApplyOptions, options?: ClassApplyOptions) => MethodDecorator;
|
|
69
|
-
export declare const toggleClassThis: (classMapOrOptions?: string | {
|
|
70
|
-
[className: string]: (el: HTMLElement, value: any, helper: HelperHostSet & {
|
|
71
|
-
$this: any;
|
|
72
|
-
}) => boolean;
|
|
73
|
-
} | ClassApplyOptions, options?: ClassApplyOptions) => MethodDecorator;
|
|
53
|
+
} | ClassApplyOptions, options?: ClassApplyOptions): MethodDecorator;
|
|
74
54
|
export declare const findAllClassMetadata: (target: any) => Map<string | symbol, ClassApplyMetadata>;
|
|
75
55
|
//# sourceMappingURL=applyClass.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applyClass.d.ts","sourceRoot":"","sources":["../../../src/decorators/applyClass.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmB,eAAe,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE3E,eAAO,MAAM,kBAAkB,eAA2C,CAAC;AAE3E,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,QAAQ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AK,EAAE,GAAG,EAAE,MAAM,EAAE,aAAa,GAAG;QAAE,KAAK,EAAE,GAAG,CAAA;KAAE,KAAK,OAAO,CAAA;CAAE,GAAG,iBAAiB,EAAE,OAAO,CAAC,EAAE,iBAAiB,GAAG,eAAe,CAAC;AAcxP,eAAO,MAAM,oBAAoB,GAAI,QAAQ,GAAG,KAAG,GAAG,CAAC,MAAM,GAAG,MAAM,EAAE,kBAAkB,CASzF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HelperHostSet, SwcRootType } from '../types';
|
|
2
|
-
export type ApplyNodePosition = 'beforeBegin' | 'afterBegin' | 'beforeEnd' | 'afterEnd' | 'replace' | 'replaceChildren' | 'innerHtml' | 'innerText' | 'remove';
|
|
2
|
+
export type ApplyNodePosition = 'beforeBegin' | 'afterBegin' | 'beforeEnd' | 'afterEnd' | 'replace' | 'replaceChildren' | 'innerHtml' | 'innerText' | 'remove' | 'clearChildren';
|
|
3
3
|
export interface ApplyNodeOptions {
|
|
4
4
|
position?: ApplyNodePosition;
|
|
5
5
|
root?: SwcRootType;
|
|
@@ -30,36 +30,178 @@ export interface ApplyNodeMetadata {
|
|
|
30
30
|
export declare const APPLY_NODE_METADATA_KEY: unique symbol;
|
|
31
31
|
/**
|
|
32
32
|
* @applyNode decorator to surgically add/replace nodes to a target element.
|
|
33
|
+
*
|
|
34
|
+
* Overloads:
|
|
35
|
+
* - applyNode(selector, options) - Apply to specific selector
|
|
36
|
+
* - applyNode(options) - Apply to $this (current element)
|
|
33
37
|
*/
|
|
34
38
|
export declare function applyNode(selector: string, options?: ApplyNodeOptions): MethodDecorator;
|
|
35
|
-
export declare function
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
export declare function
|
|
45
|
-
export declare function
|
|
46
|
-
export declare function
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
export declare function
|
|
56
|
-
export declare function
|
|
57
|
-
export declare function
|
|
58
|
-
export declare
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
39
|
+
export declare function applyNode(options: ApplyNodeOptions): MethodDecorator;
|
|
40
|
+
/**
|
|
41
|
+
* @replaceChildrenNode decorator - replaces children of target element
|
|
42
|
+
*
|
|
43
|
+
* Overloads:
|
|
44
|
+
* - replaceChildrenNode(selector, options) - Replace children of specific selector
|
|
45
|
+
* - replaceChildrenNode(options) - Replace children of $this (current element)
|
|
46
|
+
* - @replaceChildrenNode - Bare decorator, replaces children of $this
|
|
47
|
+
*/
|
|
48
|
+
export declare function replaceChildren(selector: string, options?: Omit<ApplyNodeOptions, 'position'>): MethodDecorator;
|
|
49
|
+
export declare function replaceChildren(options: Omit<ApplyNodeOptions, 'position'>): MethodDecorator;
|
|
50
|
+
export declare function replaceChildren(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
|
|
51
|
+
/**
|
|
52
|
+
* @clearChildrenNode decorator - clears all children of target element
|
|
53
|
+
*
|
|
54
|
+
* Overloads:
|
|
55
|
+
* - clearChildrenNode(selector, options) - Clear children of specific selector
|
|
56
|
+
* - clearChildrenNode(options) - Clear children of $this (current element)
|
|
57
|
+
* - @clearChildrenNode - Bare decorator, clears children of $this
|
|
58
|
+
*/
|
|
59
|
+
export declare function clearChildrenNode(selector: string, options?: Omit<ApplyNodeOptions, 'position'>): MethodDecorator;
|
|
60
|
+
export declare function clearChildrenNode(options?: Omit<ApplyNodeOptions, 'position'>): MethodDecorator;
|
|
61
|
+
export declare function clearChildrenNode(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
|
|
62
|
+
export declare const clearNode: typeof clearChildrenNode;
|
|
63
|
+
/**
|
|
64
|
+
* @innerHtmlNode decorator - sets innerHTML of target element
|
|
65
|
+
*
|
|
66
|
+
* Overloads:
|
|
67
|
+
* - innerHtmlNode(selector, options) - Set innerHTML of specific selector
|
|
68
|
+
* - innerHtmlNode(options) - Set innerHTML of $this (current element)
|
|
69
|
+
* - @innerHtmlNode - Bare decorator, sets innerHTML of $this
|
|
70
|
+
*/
|
|
71
|
+
export declare function innerHtml(selector: string, options?: Omit<ApplyNodeOptions, 'position'>): MethodDecorator;
|
|
72
|
+
export declare function innerHtml(options?: Omit<ApplyNodeOptions, 'position'>): MethodDecorator;
|
|
73
|
+
export declare function innerHtml(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
|
|
74
|
+
/**
|
|
75
|
+
* @innerHtmlLightNode decorator - sets innerHTML of light DOM element
|
|
76
|
+
*
|
|
77
|
+
* Overloads:
|
|
78
|
+
* - innerHtmlLightNode(selector, options) - Set innerHTML of specific selector in light DOM
|
|
79
|
+
* - innerHtmlLightNode(options) - Set innerHTML of $this in light DOM
|
|
80
|
+
* - @innerHtmlLightNode - Bare decorator, sets innerHTML of $this in light DOM
|
|
81
|
+
*/
|
|
82
|
+
export declare function innerHtmlLight(selector: string, options?: Omit<ApplyNodeOptions, 'position' | 'root'>): MethodDecorator;
|
|
83
|
+
export declare function innerHtmlLight(options?: Omit<ApplyNodeOptions, 'position' | 'root'>): MethodDecorator;
|
|
84
|
+
export declare function innerHtmlLight(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
|
|
85
|
+
/**
|
|
86
|
+
* @innerHtmlShadowNode decorator - sets innerHTML of shadow DOM element
|
|
87
|
+
*
|
|
88
|
+
* Overloads:
|
|
89
|
+
* - innerHtmlShadowNode(selector, options) - Set innerHTML of specific selector in shadow DOM
|
|
90
|
+
* - innerHtmlShadowNode(options) - Set innerHTML of $this in shadow DOM
|
|
91
|
+
* - @innerHtmlShadowNode - Bare decorator, sets innerHTML of $this in shadow DOM
|
|
92
|
+
*/
|
|
93
|
+
export declare function innerHtmlShadow(selector: string, options?: Omit<ApplyNodeOptions, 'position' | 'root'>): MethodDecorator;
|
|
94
|
+
export declare function innerHtmlShadow(options?: Omit<ApplyNodeOptions, 'position' | 'root'>): MethodDecorator;
|
|
95
|
+
export declare function innerHtmlShadow(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
|
|
96
|
+
/**
|
|
97
|
+
* @innerTextNode decorator - sets innerText of target element
|
|
98
|
+
*
|
|
99
|
+
* Overloads:
|
|
100
|
+
* - innerTextNode(selector, options) - Set innerText of specific selector
|
|
101
|
+
* - innerTextNode(options) - Set innerText of $this (current element)
|
|
102
|
+
* - @innerTextNode - Bare decorator, sets innerText of $this
|
|
103
|
+
*/
|
|
104
|
+
export declare function innerText(selector: string, options?: Omit<ApplyNodeOptions, 'position'>): MethodDecorator;
|
|
105
|
+
export declare function innerText(options?: Omit<ApplyNodeOptions, 'position'>): MethodDecorator;
|
|
106
|
+
export declare function innerText(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
|
|
107
|
+
/**
|
|
108
|
+
* @innerTextLightNode decorator - sets innerText of light DOM element
|
|
109
|
+
*
|
|
110
|
+
* Overloads:
|
|
111
|
+
* - innerTextLightNode(selector, options) - Set innerText of specific selector in light DOM
|
|
112
|
+
* - innerTextLightNode(options) - Set innerText of $this in light DOM
|
|
113
|
+
* - @innerTextLightNode - Bare decorator, sets innerText of $this in light DOM
|
|
114
|
+
*/
|
|
115
|
+
export declare function innerTextLight(selector: string, options?: Omit<ApplyNodeOptions, 'position' | 'root'>): MethodDecorator;
|
|
116
|
+
export declare function innerTextLight(options?: Omit<ApplyNodeOptions, 'position' | 'root'>): MethodDecorator;
|
|
117
|
+
export declare function innerTextLight(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
|
|
118
|
+
/**
|
|
119
|
+
* @innerTextShadowNode decorator - sets innerText of shadow DOM element
|
|
120
|
+
*
|
|
121
|
+
* Overloads:
|
|
122
|
+
* - innerTextShadowNode(selector, options) - Set innerText of specific selector in shadow DOM
|
|
123
|
+
* - innerTextShadowNode(options) - Set innerText of $this in shadow DOM
|
|
124
|
+
* - @innerTextShadowNode - Bare decorator, sets innerText of $this in shadow DOM
|
|
125
|
+
*/
|
|
126
|
+
export declare function innerTextShadow(selector: string, options?: Omit<ApplyNodeOptions, 'position' | 'root'>): MethodDecorator;
|
|
127
|
+
export declare function innerTextShadow(options?: Omit<ApplyNodeOptions, 'position' | 'root'>): MethodDecorator;
|
|
128
|
+
export declare function innerTextShadow(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
|
|
129
|
+
/**
|
|
130
|
+
* @beforeEndNode decorator - appends nodes to target element
|
|
131
|
+
*
|
|
132
|
+
* Overloads:
|
|
133
|
+
* - beforeEndNode(selector, options) - Append to specific selector
|
|
134
|
+
* - beforeEndNode(options) - Append to $this (current element)
|
|
135
|
+
* - @beforeEndNode - Bare decorator, appends to $this
|
|
136
|
+
*/
|
|
137
|
+
export declare function insertBeforeEnd(selector: string, options?: Omit<ApplyNodeOptions, 'position'>): MethodDecorator;
|
|
138
|
+
export declare function insertBeforeEnd(options?: Omit<ApplyNodeOptions, 'position'>): MethodDecorator;
|
|
139
|
+
export declare function insertBeforeEnd(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
|
|
140
|
+
/**
|
|
141
|
+
* @beforeEndLightNode decorator - appends nodes to light DOM element
|
|
142
|
+
*
|
|
143
|
+
* Overloads:
|
|
144
|
+
* - beforeEndLightNode(selector, options) - Append to specific selector in light DOM
|
|
145
|
+
* - beforeEndLightNode(options) - Append to $this in light DOM
|
|
146
|
+
* - @beforeEndLightNode - Bare decorator, appends to $this in light DOM
|
|
147
|
+
*/
|
|
148
|
+
export declare function insertBeforeEndLight(selector: string, options?: Omit<ApplyNodeOptions, 'position' | 'root'>): MethodDecorator;
|
|
149
|
+
export declare function insertBeforeEndLight(options?: Omit<ApplyNodeOptions, 'position' | 'root'>): MethodDecorator;
|
|
150
|
+
export declare function insertBeforeEndLight(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
|
|
151
|
+
/**
|
|
152
|
+
* @beforeEndShadowNode decorator - appends nodes to shadow DOM element
|
|
153
|
+
*
|
|
154
|
+
* Overloads:
|
|
155
|
+
* - beforeEndShadowNode(selector, options) - Append to specific selector in shadow DOM
|
|
156
|
+
* - beforeEndShadowNode(options) - Append to $this in shadow DOM
|
|
157
|
+
* - @beforeEndShadowNode - Bare decorator, appends to $this in shadow DOM
|
|
158
|
+
*/
|
|
159
|
+
export declare function insertBeforeEndShadow(selector: string, options?: Omit<ApplyNodeOptions, 'position' | 'root'>): MethodDecorator;
|
|
160
|
+
export declare function insertBeforeEndShadow(options?: Omit<ApplyNodeOptions, 'position' | 'root'>): MethodDecorator;
|
|
161
|
+
export declare function insertBeforeEndShadow(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
|
|
162
|
+
/**
|
|
163
|
+
* @afterBeginNode decorator - prepends nodes to target element
|
|
164
|
+
*
|
|
165
|
+
* Overloads:
|
|
166
|
+
* - afterBeginNode(selector, options) - Prepend to specific selector
|
|
167
|
+
* - afterBeginNode(options) - Prepend to $this (current element)
|
|
168
|
+
* - @afterBeginNode - Bare decorator, prepends to $this
|
|
169
|
+
*/
|
|
170
|
+
export declare function insertAfterBegin(selector: string, options?: Omit<ApplyNodeOptions, 'position'>): MethodDecorator;
|
|
171
|
+
export declare function insertAfterBegin(options?: Omit<ApplyNodeOptions, 'position'>): MethodDecorator;
|
|
172
|
+
export declare function insertAfterBegin(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
|
|
173
|
+
/**
|
|
174
|
+
* @afterBeginLightNode decorator - prepends nodes to light DOM element
|
|
175
|
+
*
|
|
176
|
+
* Overloads:
|
|
177
|
+
* - afterBeginLightNode(selector, options) - Prepend to specific selector in light DOM
|
|
178
|
+
* - afterBeginLightNode(options) - Prepend to $this in light DOM
|
|
179
|
+
* - @afterBeginLightNode - Bare decorator, prepends to $this in light DOM
|
|
180
|
+
*/
|
|
181
|
+
export declare function insertAfterBeginLight(selector: string, options?: Omit<ApplyNodeOptions, 'position' | 'root'>): MethodDecorator;
|
|
182
|
+
export declare function insertAfterBeginLight(options?: Omit<ApplyNodeOptions, 'position' | 'root'>): MethodDecorator;
|
|
183
|
+
export declare function insertAfterBeginLight(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
|
|
184
|
+
/**
|
|
185
|
+
* @replaceChildrenLightNode decorator - replaces children of light DOM element
|
|
186
|
+
*
|
|
187
|
+
* Overloads:
|
|
188
|
+
* - replaceChildrenLightNode(selector, options) - Replace children of specific selector in light DOM
|
|
189
|
+
* - replaceChildrenLightNode(options) - Replace children of $this in light DOM
|
|
190
|
+
* - @replaceChildrenLightNode - Bare decorator, replaces children of $this in light DOM
|
|
191
|
+
*/
|
|
192
|
+
export declare function replaceChildrenLight(selector: string, options?: Omit<ApplyNodeOptions, 'position' | 'root'>): MethodDecorator;
|
|
193
|
+
export declare function replaceChildrenLight(options?: Omit<ApplyNodeOptions, 'position' | 'root'>): MethodDecorator;
|
|
194
|
+
export declare function replaceChildrenLight(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
|
|
195
|
+
/**
|
|
196
|
+
* @clearChildrenLightNode decorator - clears children of light DOM element
|
|
197
|
+
*
|
|
198
|
+
* Overloads:
|
|
199
|
+
* - clearChildrenLightNode(selector, options) - Clear children of specific selector in light DOM
|
|
200
|
+
* - clearChildrenLightNode(options) - Clear children of $this in light DOM
|
|
201
|
+
* - @clearChildrenLightNode - Bare decorator, clears children of $this in light DOM
|
|
202
|
+
*/
|
|
203
|
+
export declare function clearChildrenLight(selector: string, options?: Omit<ApplyNodeOptions, 'position' | 'root'>): MethodDecorator;
|
|
204
|
+
export declare function clearChildrenLight(options?: Omit<ApplyNodeOptions, 'position' | 'root'>): MethodDecorator;
|
|
205
|
+
export declare function clearChildrenLight(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
|
|
64
206
|
export declare const findAllApplyNodeMetadata: (target: any) => Map<string | symbol, ApplyNodeMetadata>;
|
|
65
207
|
//# sourceMappingURL=applyNode.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applyNode.d.ts","sourceRoot":"","sources":["../../../src/decorators/applyNode.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmC,aAAa,EAAE,WAAW,EAAC,MAAM,UAAU,CAAC;AAatF,MAAM,MAAM,iBAAiB,GAAG,aAAa,GAAG,YAAY,GAAG,WAAW,GAAG,UAAU,GAAG,SAAS,GAAG,iBAAiB,GAAG,WAAW,GAAG,WAAW,GAAG,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"applyNode.d.ts","sourceRoot":"","sources":["../../../src/decorators/applyNode.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmC,aAAa,EAAE,WAAW,EAAC,MAAM,UAAU,CAAC;AAatF,MAAM,MAAM,iBAAiB,GAAG,aAAa,GAAG,YAAY,GAAG,WAAW,GAAG,UAAU,GAAG,SAAS,GAAG,iBAAiB,GAAG,WAAW,GAAG,WAAW,GAAG,QAAQ,GAAG,eAAe,CAAC;AAEjL,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,GAAG,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,IAAI,EAAE;QAAE,WAAW,EAAE,GAAG,CAAC;QAAC,MAAM,EAAE,aAAa,CAAA;KAAE,KAAK,OAAO,CAAC;IACzH;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,a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G;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,gBAAgB,EAAE,UAAU,GAAG,MAAM,CAAC,GAAG,eAAe,CAAC;AAC7H,wBAAgB,kBAAkB,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,gBAAgB,EAAE,UAAU,GAAG,MAAM,CAAC,GAAG,eAAe,CAAC;AAC3G,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,UAAU,EAAE,kBAAkB,GAAG,kBAAkB,GAAG,IAAI,CAAC;AAgB5I,eAAO,MAAM,wBAAwB,GAAI,QAAQ,GAAG,KAAG,GAAG,CAAC,MAAM,GAAG,MAAM,EAAE,iBAAiB,CAS5F,CAAC"}
|
|
@@ -58,29 +58,38 @@ export declare const resolvePropertyTargets: (inst: any, selector: string, optio
|
|
|
58
58
|
export declare function applyProperty(selector: string, targetPropertyKey: string | symbol, options?: PropertyOptions): MethodDecorator & PropertyDecorator;
|
|
59
59
|
export declare function applyProperty(selector: string, options?: PropertyOptions): MethodDecorator & PropertyDecorator;
|
|
60
60
|
/**
|
|
61
|
-
* @property -
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
* @
|
|
67
|
-
*
|
|
61
|
+
* @property - Field decorator for binding element properties (read/write)
|
|
62
|
+
*
|
|
63
|
+
* Usage:
|
|
64
|
+
* - @property('selector', 'propertyName') - Bind to specific property
|
|
65
|
+
* - @property('selector') - Use field name as property name
|
|
66
|
+
* - @property('selector', options) - Bind with options
|
|
67
|
+
* - @property - Bare decorator (binds to $this with field name)
|
|
68
|
+
*
|
|
69
|
+
* Note: This decorator is for FIELDS ONLY. For methods, use @setProperty.
|
|
68
70
|
*/
|
|
69
|
-
export declare function
|
|
70
|
-
export declare function
|
|
71
|
-
export declare function
|
|
71
|
+
export declare function property(target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor | void;
|
|
72
|
+
export declare function property(selector: string, targetPropertyKey: string | symbol, options?: PropertyOptions): PropertyDecorator;
|
|
73
|
+
export declare function property(selector: string, options?: PropertyOptions): PropertyDecorator;
|
|
72
74
|
/**
|
|
73
|
-
* @setProperty -
|
|
75
|
+
* @setProperty - Method decorator for setting element properties from method return value
|
|
76
|
+
*
|
|
77
|
+
* Usage:
|
|
78
|
+
* - @setProperty('selector', 'propertyName') - Set specific property
|
|
79
|
+
* - @setProperty('selector') - Use method name as property name
|
|
80
|
+
* - @setProperty('selector', options) - Set with options
|
|
81
|
+
* - @setProperty - Bare decorator (sets on $this with method name)
|
|
82
|
+
*
|
|
83
|
+
* Note: This decorator is for METHODS ONLY. For fields, use @property.
|
|
84
|
+
*
|
|
85
|
+
* Example:
|
|
86
|
+
* @setProperty('selector', 'disabled')
|
|
87
|
+
* disableElement() {
|
|
88
|
+
* return true;
|
|
89
|
+
* }
|
|
74
90
|
*/
|
|
75
91
|
export declare function setProperty(selector: string, targetPropertyKey: string | symbol, options?: PropertyOptions): MethodDecorator;
|
|
76
92
|
export declare function setProperty(selector: string, options?: PropertyOptions): MethodDecorator;
|
|
77
|
-
/**
|
|
78
|
-
* @setPropertyThis - Set property on $this element
|
|
79
|
-
* Can be used as: @setPropertyThis or @setPropertyThis('propertyName') or @setPropertyThis({ name: 'propertyName' })
|
|
80
|
-
*/
|
|
81
|
-
export declare function setPropertyThis(target: Object, propertyKey: string | symbol): void;
|
|
82
|
-
export declare function setPropertyThis(targetPropertyKey: string | symbol, options?: PropertyOptions): MethodDecorator;
|
|
83
|
-
export declare function setPropertyThis(options?: PropertyOptions): MethodDecorator;
|
|
84
93
|
export declare const findAllPropertyMetadata: (target: any) => PropertyMetadata[];
|
|
85
94
|
export declare const findAllPropertyApplyMetadata: (target: any) => Map<string | symbol, PropertyMetadata>;
|
|
86
95
|
export default applyProperty;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applyProperty.d.ts","sourceRoot":"","sources":["../../../src/decorators/applyProperty.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE1D,MAAM,WAAW,eAAgB,SAAQ,eAAe;IACtD,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,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;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,MAAM,GAAG,MAAM,CAAC;IACnC,OAAO,EAAE,eAAe,CAAC;IACzB,IAAI,EAAE,UAAU,GAAG,QAAQ,CAAC;CAC7B;AAED,eAAO,MAAM,qBAAqB,eAA8C,CAAC;AAMjF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,GAAI,MAAM,GAAG,EAAE,UAAU,MAAM,EAAE,SAAS,eAAe,KAAG,GAAG,EAoDjG,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,eAAe,GAAG,iBAAiB,CAAC;AACpJ,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,eAAe,GAAG,iBAAiB,CAAC;AA8IhH
|
|
1
|
+
{"version":3,"file":"applyProperty.d.ts","sourceRoot":"","sources":["../../../src/decorators/applyProperty.ts"],"names":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