@loadsmart/miranda-wc 1.50.1 → 1.51.0
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/dist/controllers/boundary/boundary.controller.d.ts +16 -0
- package/dist/controllers/boundary/boundary.controller.d.ts.map +1 -0
- package/dist/controllers/boundary/index.d.ts +2 -0
- package/dist/controllers/boundary/index.d.ts.map +1 -0
- package/dist/utils/events.d.ts +5 -0
- package/dist/utils/events.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ReactiveControllerHost, ReactiveController } from 'lit';
|
|
2
|
+
export type BoundaryControllerHost = ReactiveControllerHost & HTMLElement;
|
|
3
|
+
export declare class BoundaryController implements ReactiveController {
|
|
4
|
+
#private;
|
|
5
|
+
host: BoundaryControllerHost;
|
|
6
|
+
/**
|
|
7
|
+
* Should the boundary checking be active?
|
|
8
|
+
*/
|
|
9
|
+
active: boolean;
|
|
10
|
+
constructor(host: BoundaryControllerHost, active?: boolean);
|
|
11
|
+
hostConnected(): void;
|
|
12
|
+
hostDisconnected(): void;
|
|
13
|
+
activate: () => void;
|
|
14
|
+
deactivate: () => void;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=boundary.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"boundary.controller.d.ts","sourceRoot":"","sources":["../../../src/controllers/boundary/boundary.controller.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,KAAK,CAAC;AAGtE,MAAM,MAAM,sBAAsB,GAAG,sBAAsB,GAAG,WAAW,CAAC;AAE1E,qBAAa,kBAAmB,YAAW,kBAAkB;;IAC5D,IAAI,EAAE,sBAAsB,CAAC;IAE7B;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;gBAEJ,IAAI,EAAE,sBAAsB,EAAE,MAAM,CAAC,EAAE,OAAO;IAO1D,aAAa;IAQb,gBAAgB;IAMhB,QAAQ,aAON;IAEF,UAAU,aAOR;CAiCF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/controllers/boundary/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC"}
|
package/dist/utils/events.d.ts
CHANGED
|
@@ -22,4 +22,9 @@
|
|
|
22
22
|
* @return Whether or not the event was dispatched (if cancelable).
|
|
23
23
|
*/
|
|
24
24
|
export declare function redispatchEvent(element: Element, event: Event): boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Check if `event` happened on the given `element`.
|
|
27
|
+
* @returns `true` if the event happened on the given element, `false` otherwise.
|
|
28
|
+
*/
|
|
29
|
+
export declare function isInsideElement(event: Event, element: HTMLElement): boolean;
|
|
25
30
|
//# sourceMappingURL=events.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/utils/events.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,WAgB7D"}
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/utils/events.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,WAgB7D;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW,GAAG,OAAO,CAU3E"}
|