@limetech/lime-web-components 5.0.1 → 5.2.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/README.md +9 -2
- package/dist/application/decorators/application.d.ts +5 -2
- package/dist/application/decorators/application.d.ts.map +1 -0
- package/dist/application/decorators/application.js +4 -2
- package/dist/application/decorators/index.d.ts +1 -0
- package/dist/application/decorators/index.d.ts.map +1 -0
- package/dist/application/decorators/session.d.ts +5 -2
- package/dist/application/decorators/session.d.ts.map +1 -0
- package/dist/application/decorators/session.js +4 -2
- package/dist/application/decorators/user.d.ts +5 -2
- package/dist/application/decorators/user.d.ts.map +1 -0
- package/dist/application/decorators/user.js +4 -2
- package/dist/application/index.d.ts +1 -0
- package/dist/application/index.d.ts.map +1 -0
- package/dist/application/session.d.ts +5 -0
- package/dist/application/session.d.ts.map +1 -0
- package/dist/application/types.d.ts +1 -0
- package/dist/application/types.d.ts.map +1 -0
- package/dist/application/user.d.ts +14 -2
- package/dist/application/user.d.ts.map +1 -0
- package/dist/commandbus/commandbus.d.ts +69 -25
- package/dist/commandbus/commandbus.d.ts.map +1 -0
- package/dist/commandbus/commandbus.js +13 -8
- package/dist/commandbus/index.d.ts +1 -0
- package/dist/commandbus/index.d.ts.map +1 -0
- package/dist/commandbus/types.d.ts +2 -1
- package/dist/commandbus/types.d.ts.map +1 -0
- package/dist/config/decorator.d.ts +7 -2
- package/dist/config/decorator.d.ts.map +1 -0
- package/dist/config/decorator.js +4 -2
- package/dist/config/index.d.ts +1 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/repository.d.ts +7 -2
- package/dist/config/repository.d.ts.map +1 -0
- package/dist/config/types.d.ts +2 -1
- package/dist/config/types.d.ts.map +1 -0
- package/dist/core/context.d.ts +3 -0
- package/dist/core/context.d.ts.map +1 -0
- package/dist/core/decorators/factory.d.ts +13 -7
- package/dist/core/decorators/factory.d.ts.map +1 -0
- package/dist/core/decorators/factory.js +33 -32
- package/dist/core/decorators/factory.spec.d.ts +1 -0
- package/dist/core/decorators/factory.spec.d.ts.map +1 -0
- package/dist/core/decorators/index.d.ts +1 -0
- package/dist/core/decorators/index.d.ts.map +1 -0
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/lime-web-component.d.ts +3 -0
- package/dist/core/lime-web-component.d.ts.map +1 -0
- package/dist/core/platform.d.ts +14 -5
- package/dist/core/platform.d.ts.map +1 -0
- package/dist/core/platform.js +2 -0
- package/dist/core/plugin-loader.d.ts +3 -0
- package/dist/core/plugin-loader.d.ts.map +1 -0
- package/dist/core/state.d.ts +12 -3
- package/dist/core/state.d.ts.map +1 -0
- package/dist/device/decorator.d.ts +8 -5
- package/dist/device/decorator.d.ts.map +1 -0
- package/dist/device/decorator.js +4 -2
- package/dist/device/device.d.ts +8 -3
- package/dist/device/device.d.ts.map +1 -0
- package/dist/device/index.d.ts +1 -0
- package/dist/device/index.d.ts.map +1 -0
- package/dist/device/types.d.ts +2 -1
- package/dist/device/types.d.ts.map +1 -0
- package/dist/dialog/dialog.d.ts +23 -10
- package/dist/dialog/dialog.d.ts.map +1 -0
- package/dist/dialog/index.d.ts +1 -0
- package/dist/dialog/index.d.ts.map +1 -0
- package/dist/dialog/types.d.ts +1 -0
- package/dist/dialog/types.d.ts.map +1 -0
- package/dist/es5/index.js +1 -0
- package/dist/es5/userpreferences/index.js +5 -0
- package/dist/es5/userpreferences/repository.js +2 -0
- package/dist/es5/userpreferences/types.js +5 -0
- package/dist/eventdispatcher/eventdispatcher.d.ts +9 -6
- package/dist/eventdispatcher/eventdispatcher.d.ts.map +1 -0
- package/dist/eventdispatcher/index.d.ts +1 -0
- package/dist/eventdispatcher/index.d.ts.map +1 -0
- package/dist/eventdispatcher/types.d.ts +2 -1
- package/dist/eventdispatcher/types.d.ts.map +1 -0
- package/dist/filter/decorator.d.ts +7 -2
- package/dist/filter/decorator.d.ts.map +1 -0
- package/dist/filter/decorator.js +4 -2
- package/dist/filter/index.d.ts +1 -0
- package/dist/filter/index.d.ts.map +1 -0
- package/dist/filter/repository.d.ts +9 -4
- package/dist/filter/repository.d.ts.map +1 -0
- package/dist/filter/types.d.ts +2 -1
- package/dist/filter/types.d.ts.map +1 -0
- package/dist/http/http.d.ts +39 -19
- package/dist/http/http.d.ts.map +1 -0
- package/dist/http/index.d.ts +1 -0
- package/dist/http/index.d.ts.map +1 -0
- package/dist/http/types.d.ts +1 -0
- package/dist/http/types.d.ts.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7 -0
- package/dist/keybindings/index.d.ts +1 -0
- package/dist/keybindings/index.d.ts.map +1 -0
- package/dist/keybindings/registry.d.ts +15 -9
- package/dist/keybindings/registry.d.ts.map +1 -0
- package/dist/keybindings/types.d.ts +3 -2
- package/dist/keybindings/types.d.ts.map +1 -0
- package/dist/limeobject/commands/bulk-create-dialog.d.ts +3 -0
- package/dist/limeobject/commands/bulk-create-dialog.d.ts.map +1 -0
- package/dist/limeobject/commands/bulk-create-dialog.js +2 -0
- package/dist/limeobject/commands/create-dialog.d.ts +3 -0
- package/dist/limeobject/commands/create-dialog.d.ts.map +1 -0
- package/dist/limeobject/commands/create-dialog.js +2 -0
- package/dist/limeobject/commands/delete-object.d.ts +3 -0
- package/dist/limeobject/commands/delete-object.d.ts.map +1 -0
- package/dist/limeobject/commands/delete-object.js +2 -0
- package/dist/limeobject/commands/index.d.ts +1 -0
- package/dist/limeobject/commands/index.d.ts.map +1 -0
- package/dist/limeobject/commands/object-access.d.ts +3 -0
- package/dist/limeobject/commands/object-access.d.ts.map +1 -0
- package/dist/limeobject/commands/object-access.js +2 -0
- package/dist/limeobject/commands/save-object.d.ts +3 -0
- package/dist/limeobject/commands/save-object.d.ts.map +1 -0
- package/dist/limeobject/commands/save-object.js +2 -0
- package/dist/limeobject/decorator.d.ts +11 -4
- package/dist/limeobject/decorator.d.ts.map +1 -0
- package/dist/limeobject/decorator.js +8 -4
- package/dist/limeobject/error.d.ts +35 -0
- package/dist/limeobject/error.d.ts.map +1 -0
- package/dist/limeobject/index.d.ts +1 -0
- package/dist/limeobject/index.d.ts.map +1 -0
- package/dist/limeobject/limeobject.d.ts +6 -3
- package/dist/limeobject/limeobject.d.ts.map +1 -0
- package/dist/limeobject/repository.d.ts +38 -13
- package/dist/limeobject/repository.d.ts.map +1 -0
- package/dist/limeobject/types.d.ts +2 -1
- package/dist/limeobject/types.d.ts.map +1 -0
- package/dist/limetype/acl.d.ts +5 -0
- package/dist/limetype/acl.d.ts.map +1 -0
- package/dist/limetype/decorator.d.ts +11 -4
- package/dist/limetype/decorator.d.ts.map +1 -0
- package/dist/limetype/decorator.js +8 -4
- package/dist/limetype/index.d.ts +1 -0
- package/dist/limetype/index.d.ts.map +1 -0
- package/dist/limetype/limetype.d.ts +9 -2
- package/dist/limetype/limetype.d.ts.map +1 -0
- package/dist/limetype/property.d.ts +34 -1
- package/dist/limetype/property.d.ts.map +1 -0
- package/dist/limetype/property.js +20 -0
- package/dist/limetype/types.d.ts +1 -0
- package/dist/limetype/types.d.ts.map +1 -0
- package/dist/navigator/command.d.ts +3 -12
- package/dist/navigator/command.d.ts.map +1 -0
- package/dist/navigator/command.js +2 -0
- package/dist/navigator/decorator.d.ts +7 -3
- package/dist/navigator/decorator.d.ts.map +1 -0
- package/dist/navigator/decorator.js +4 -3
- package/dist/navigator/index.d.ts +1 -0
- package/dist/navigator/index.d.ts.map +1 -0
- package/dist/navigator/navigator.d.ts +48 -20
- package/dist/navigator/navigator.d.ts.map +1 -0
- package/dist/navigator/types.d.ts +3 -2
- package/dist/navigator/types.d.ts.map +1 -0
- package/dist/notifications/index.d.ts +1 -0
- package/dist/notifications/index.d.ts.map +1 -0
- package/dist/notifications/notifications.d.ts +25 -14
- package/dist/notifications/notifications.d.ts.map +1 -0
- package/dist/notifications/types.d.ts +1 -0
- package/dist/notifications/types.d.ts.map +1 -0
- package/dist/query/index.d.ts +1 -0
- package/dist/query/index.d.ts.map +1 -0
- package/dist/query/query.d.ts +21 -0
- package/dist/query/query.d.ts.map +1 -0
- package/dist/query/query.js +4 -0
- package/dist/query/service.d.ts +4 -1
- package/dist/query/service.d.ts.map +1 -0
- package/dist/query/types.d.ts +1 -0
- package/dist/query/types.d.ts.map +1 -0
- package/dist/routeregistry/index.d.ts +1 -0
- package/dist/routeregistry/index.d.ts.map +1 -0
- package/dist/routeregistry/registry.d.ts +20 -7
- package/dist/routeregistry/registry.d.ts.map +1 -0
- package/dist/routeregistry/types.d.ts +3 -2
- package/dist/routeregistry/types.d.ts.map +1 -0
- package/dist/task/index.d.ts +1 -0
- package/dist/task/index.d.ts.map +1 -0
- package/dist/task/repository.d.ts +34 -8
- package/dist/task/repository.d.ts.map +1 -0
- package/dist/task/repository.js +9 -5
- package/dist/task/types.d.ts +2 -1
- package/dist/task/types.d.ts.map +1 -0
- package/dist/testing/component-testing.d.ts +22 -9
- package/dist/testing/component-testing.d.ts.map +1 -0
- package/dist/testing/component-testing.js +31 -28
- package/dist/testing/component-testing.spec.d.ts +1 -0
- package/dist/testing/component-testing.spec.d.ts.map +1 -0
- package/dist/testing/index.d.ts +1 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/limeobjects/company.d.ts +1 -0
- package/dist/testing/limeobjects/company.d.ts.map +1 -0
- package/dist/testing/limeobjects/coworker.d.ts +1 -0
- package/dist/testing/limeobjects/coworker.d.ts.map +1 -0
- package/dist/testing/limeobjects/deal.d.ts +1 -0
- package/dist/testing/limeobjects/deal.d.ts.map +1 -0
- package/dist/testing/limeobjects/document.d.ts +1 -0
- package/dist/testing/limeobjects/document.d.ts.map +1 -0
- package/dist/testing/limeobjects/index.d.ts +1 -0
- package/dist/testing/limeobjects/index.d.ts.map +1 -0
- package/dist/testing/limeobjects/person.d.ts +1 -0
- package/dist/testing/limeobjects/person.d.ts.map +1 -0
- package/dist/testing/limetypes/campaign.d.ts +1 -0
- package/dist/testing/limetypes/campaign.d.ts.map +1 -0
- package/dist/testing/limetypes/company.d.ts +1 -0
- package/dist/testing/limetypes/company.d.ts.map +1 -0
- package/dist/testing/limetypes/consent.d.ts +1 -0
- package/dist/testing/limetypes/consent.d.ts.map +1 -0
- package/dist/testing/limetypes/consenttype.d.ts +1 -0
- package/dist/testing/limetypes/consenttype.d.ts.map +1 -0
- package/dist/testing/limetypes/coworker.d.ts +1 -0
- package/dist/testing/limetypes/coworker.d.ts.map +1 -0
- package/dist/testing/limetypes/deal.d.ts +1 -0
- package/dist/testing/limetypes/deal.d.ts.map +1 -0
- package/dist/testing/limetypes/document.d.ts +1 -0
- package/dist/testing/limetypes/document.d.ts.map +1 -0
- package/dist/testing/limetypes/helpdesk.d.ts +1 -0
- package/dist/testing/limetypes/helpdesk.d.ts.map +1 -0
- package/dist/testing/limetypes/helpdesktype.d.ts +1 -0
- package/dist/testing/limetypes/helpdesktype.d.ts.map +1 -0
- package/dist/testing/limetypes/history.d.ts +1 -0
- package/dist/testing/limetypes/history.d.ts.map +1 -0
- package/dist/testing/limetypes/index.d.ts +1 -0
- package/dist/testing/limetypes/index.d.ts.map +1 -0
- package/dist/testing/limetypes/infotiles.d.ts +1 -0
- package/dist/testing/limetypes/infotiles.d.ts.map +1 -0
- package/dist/testing/limetypes/localize.d.ts +1 -0
- package/dist/testing/limetypes/localize.d.ts.map +1 -0
- package/dist/testing/limetypes/mailing.d.ts +1 -0
- package/dist/testing/limetypes/mailing.d.ts.map +1 -0
- package/dist/testing/limetypes/office.d.ts +1 -0
- package/dist/testing/limetypes/office.d.ts.map +1 -0
- package/dist/testing/limetypes/participant.d.ts +1 -0
- package/dist/testing/limetypes/participant.d.ts.map +1 -0
- package/dist/testing/limetypes/person.d.ts +1 -0
- package/dist/testing/limetypes/person.d.ts.map +1 -0
- package/dist/testing/limetypes/recipient.d.ts +1 -0
- package/dist/testing/limetypes/recipient.d.ts.map +1 -0
- package/dist/testing/limetypes/solutionimprovement.d.ts +1 -0
- package/dist/testing/limetypes/solutionimprovement.d.ts.map +1 -0
- package/dist/testing/limetypes/successplan.d.ts +1 -0
- package/dist/testing/limetypes/successplan.d.ts.map +1 -0
- package/dist/testing/limetypes/target.d.ts +1 -0
- package/dist/testing/limetypes/target.d.ts.map +1 -0
- package/dist/testing/limetypes/todo.d.ts +1 -0
- package/dist/testing/limetypes/todo.d.ts.map +1 -0
- package/dist/testing/platform/index.d.ts +2 -1
- package/dist/testing/platform/index.d.ts.map +1 -0
- package/dist/testing/platform/index.js +3 -3
- package/dist/testing/platform/platform.spec.d.ts +1 -0
- package/dist/testing/platform/platform.spec.d.ts.map +1 -0
- package/dist/translator/index.d.ts +1 -0
- package/dist/translator/index.d.ts.map +1 -0
- package/dist/translator/translator.d.ts +6 -3
- package/dist/translator/translator.d.ts.map +1 -0
- package/dist/translator/types.d.ts +1 -0
- package/dist/translator/types.d.ts.map +1 -0
- package/dist/userdata/decorator.d.ts +7 -2
- package/dist/userdata/decorator.d.ts.map +1 -0
- package/dist/userdata/decorator.js +4 -2
- package/dist/userdata/index.d.ts +1 -0
- package/dist/userdata/index.d.ts.map +1 -0
- package/dist/userdata/repository.d.ts +7 -5
- package/dist/userdata/repository.d.ts.map +1 -0
- package/dist/userdata/types.d.ts +1 -0
- package/dist/userdata/types.d.ts.map +1 -0
- package/dist/userpreferences/index.d.ts +3 -0
- package/dist/userpreferences/index.d.ts.map +1 -0
- package/dist/userpreferences/index.js +2 -0
- package/dist/userpreferences/repository.d.ts +27 -0
- package/dist/userpreferences/repository.d.ts.map +1 -0
- package/dist/userpreferences/repository.js +1 -0
- package/dist/userpreferences/types.d.ts +15 -0
- package/dist/userpreferences/types.d.ts.map +1 -0
- package/dist/userpreferences/types.js +3 -0
- package/package.json +25 -25
package/dist/task/repository.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @group Tasks
|
|
4
|
+
*/
|
|
2
5
|
export var TaskState;
|
|
3
6
|
(function (TaskState) {
|
|
4
7
|
/**
|
|
@@ -24,26 +27,27 @@ export var TaskState;
|
|
|
24
27
|
})(TaskState || (TaskState = {}));
|
|
25
28
|
/**
|
|
26
29
|
* Events dispatched by the task service
|
|
30
|
+
* @public
|
|
31
|
+
* @group Tasks
|
|
27
32
|
*/
|
|
28
|
-
// eslint-disable-next-line no-shadow
|
|
29
33
|
export var TaskEventType;
|
|
30
34
|
(function (TaskEventType) {
|
|
31
35
|
/**
|
|
32
36
|
* Dispatched when a task has been created.
|
|
33
37
|
*
|
|
34
|
-
* @
|
|
38
|
+
* @see {@link TaskEvent}
|
|
35
39
|
*/
|
|
36
40
|
TaskEventType["Created"] = "task.created";
|
|
37
41
|
/**
|
|
38
42
|
* Dispatched when the task has successfully been completed
|
|
39
43
|
*
|
|
40
|
-
* @
|
|
44
|
+
* @see {@link TaskEvent}
|
|
41
45
|
*/
|
|
42
46
|
TaskEventType["Success"] = "task.success";
|
|
43
47
|
/**
|
|
44
48
|
* Dispatched if an error occured while running the task
|
|
45
49
|
*
|
|
46
|
-
* @
|
|
50
|
+
* @see {@link TaskEvent}
|
|
47
51
|
*/
|
|
48
52
|
TaskEventType["Failed"] = "task.failed";
|
|
49
53
|
})(TaskEventType || (TaskEventType = {}));
|
package/dist/task/types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ declare const SERVICE_NAME = "state.tasks";
|
|
|
3
3
|
declare module '../core/platform' {
|
|
4
4
|
interface PlatformServiceNameType {
|
|
5
5
|
/**
|
|
6
|
-
* @see {@link Service TaskRepository}
|
|
6
|
+
* @see {@link Service | TaskRepository}
|
|
7
7
|
*/
|
|
8
8
|
TaskRepository: typeof SERVICE_NAME;
|
|
9
9
|
}
|
|
@@ -12,3 +12,4 @@ declare module '../core/platform' {
|
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
export {};
|
|
15
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/task/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,OAAO,EAAE,MAAM,cAAc,CAAC;AAGzD,QAAA,MAAM,YAAY,gBAAgB,CAAC;AAInC,OAAO,QAAQ,kBAAkB,CAAC;IAC9B,UAAU,uBAAuB;QAC7B;;WAEG;QACH,cAAc,EAAE,OAAO,YAAY,CAAC;KACvC;IAED,UAAU,wBAAwB;QAC9B,GAAG,CAAC,IAAI,EAAE,uBAAuB,CAAC,gBAAgB,CAAC,GAAG,OAAO,CAAC;KACjE;CACJ"}
|
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
import { SpecPage } from '@stencil/core/testing';
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
2
5
|
export interface ComponentProps {
|
|
3
6
|
[name: string]: any;
|
|
4
7
|
}
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
5
11
|
export interface ComponentListeners {
|
|
6
12
|
[name: string]: (event: CustomEvent<any>) => void;
|
|
7
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
8
17
|
export interface ComponentConfig {
|
|
9
18
|
/**
|
|
10
19
|
* Tag name of the component
|
|
@@ -30,24 +39,28 @@ export interface ComponentConfig {
|
|
|
30
39
|
/**
|
|
31
40
|
* Create a new component
|
|
32
41
|
*
|
|
33
|
-
* @param
|
|
34
|
-
* @param
|
|
35
|
-
* @param
|
|
36
|
-
* @returns
|
|
42
|
+
* @param component - the component class
|
|
43
|
+
* @param page - the page to create the component on
|
|
44
|
+
* @param config - component configuration
|
|
45
|
+
* @returns the component
|
|
46
|
+
* @public
|
|
37
47
|
*/
|
|
38
48
|
export declare function createComponent(component: any, page: SpecPage, config: ComponentConfig): HTMLElement;
|
|
39
49
|
/**
|
|
40
50
|
* Destroy a component that was created by the `createComponent` function
|
|
41
51
|
*
|
|
42
|
-
* @param
|
|
43
|
-
* @returns
|
|
52
|
+
* @param component - the component to destroy
|
|
53
|
+
* @returns
|
|
54
|
+
* @public
|
|
44
55
|
*/
|
|
45
56
|
export declare function destroyComponent(component: HTMLElement): void;
|
|
46
57
|
/**
|
|
47
58
|
* Set a state variable on the component
|
|
48
59
|
*
|
|
49
|
-
* @param
|
|
50
|
-
* @param
|
|
51
|
-
* @returns
|
|
60
|
+
* @param component - the component
|
|
61
|
+
* @param state - the state variables to set along with their values
|
|
62
|
+
* @returns
|
|
63
|
+
* @public
|
|
52
64
|
*/
|
|
53
65
|
export declare function setState(component: HTMLElement, state: object): void;
|
|
66
|
+
//# sourceMappingURL=component-testing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-testing.d.ts","sourceRoot":"","sources":["../../src/testing/component-testing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAIjD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B,CAAC,IAAI,EAAE,MAAM,GAAG,CAAC,KAAK,EAAE,WAAW,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC;CACrD;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,CAAC,EAAE,kBAAkB,CAAC;IAE/B;;OAEG;IACH,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;CAC5B;AAgBD;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAC3B,SAAS,EAAE,GAAG,EACd,IAAI,EAAE,QAAQ,EACd,MAAM,EAAE,eAAe,GACxB,WAAW,CA4Bb;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,WAAW,GAAG,IAAI,CAW7D;AAED;;;;;;;GAOG;AACH,wBAAgB,QAAQ,CAAC,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,QAG7D"}
|
|
@@ -7,10 +7,11 @@ const destroyFunctions = new WeakMap();
|
|
|
7
7
|
/**
|
|
8
8
|
* Create a new component
|
|
9
9
|
*
|
|
10
|
-
* @param
|
|
11
|
-
* @param
|
|
12
|
-
* @param
|
|
13
|
-
* @returns
|
|
10
|
+
* @param component - the component class
|
|
11
|
+
* @param page - the page to create the component on
|
|
12
|
+
* @param config - component configuration
|
|
13
|
+
* @returns the component
|
|
14
|
+
* @public
|
|
14
15
|
*/
|
|
15
16
|
export function createComponent(component, page, config) {
|
|
16
17
|
componentConfigs.set(component.prototype, {
|
|
@@ -35,8 +36,9 @@ export function createComponent(component, page, config) {
|
|
|
35
36
|
/**
|
|
36
37
|
* Destroy a component that was created by the `createComponent` function
|
|
37
38
|
*
|
|
38
|
-
* @param
|
|
39
|
-
* @returns
|
|
39
|
+
* @param component - the component to destroy
|
|
40
|
+
* @returns
|
|
41
|
+
* @public
|
|
40
42
|
*/
|
|
41
43
|
export function destroyComponent(component) {
|
|
42
44
|
if (!component) {
|
|
@@ -51,9 +53,10 @@ export function destroyComponent(component) {
|
|
|
51
53
|
/**
|
|
52
54
|
* Set a state variable on the component
|
|
53
55
|
*
|
|
54
|
-
* @param
|
|
55
|
-
* @param
|
|
56
|
-
* @returns
|
|
56
|
+
* @param component - the component
|
|
57
|
+
* @param state - the state variables to set along with their values
|
|
58
|
+
* @returns
|
|
59
|
+
* @public
|
|
57
60
|
*/
|
|
58
61
|
export function setState(component, state) {
|
|
59
62
|
const instance = componentInstances.get(component);
|
|
@@ -66,7 +69,7 @@ export function setState(component, state) {
|
|
|
66
69
|
* of the component and is a good place to save the component instance
|
|
67
70
|
* and set the initial state
|
|
68
71
|
*
|
|
69
|
-
* @returns
|
|
72
|
+
* @returns
|
|
70
73
|
*/
|
|
71
74
|
function initComponent() {
|
|
72
75
|
const element = getElement(this);
|
|
@@ -85,10 +88,10 @@ function initComponent() {
|
|
|
85
88
|
/**
|
|
86
89
|
* Extend a lifecycle hook on a component
|
|
87
90
|
*
|
|
88
|
-
* @param
|
|
89
|
-
* @param
|
|
90
|
-
* @param
|
|
91
|
-
* @returns
|
|
91
|
+
* @param component - the prototype of the component
|
|
92
|
+
* @param name - the name of the hook
|
|
93
|
+
* @param hook - the function to run before the original hook
|
|
94
|
+
* @returns
|
|
92
95
|
*/
|
|
93
96
|
function extendLifecycleHook(component, name, hook) {
|
|
94
97
|
if (!originalHooks.has(component)) {
|
|
@@ -108,8 +111,8 @@ function extendLifecycleHook(component, name, hook) {
|
|
|
108
111
|
*
|
|
109
112
|
* Will set a default platform and context if not already set
|
|
110
113
|
*
|
|
111
|
-
* @param
|
|
112
|
-
* @returns
|
|
114
|
+
* @param props - the component props
|
|
115
|
+
* @returns
|
|
113
116
|
*/
|
|
114
117
|
function setDefault(props) {
|
|
115
118
|
if (!('platform' in props)) {
|
|
@@ -122,9 +125,9 @@ function setDefault(props) {
|
|
|
122
125
|
/**
|
|
123
126
|
* Add properties to a web component
|
|
124
127
|
*
|
|
125
|
-
* @param
|
|
126
|
-
* @param
|
|
127
|
-
* @returns
|
|
128
|
+
* @param props - the properties to set
|
|
129
|
+
* @param component - the web component
|
|
130
|
+
* @returns
|
|
128
131
|
*/
|
|
129
132
|
function addProps(props, component) {
|
|
130
133
|
Object.entries(props).forEach(([key, value]) => {
|
|
@@ -134,9 +137,9 @@ function addProps(props, component) {
|
|
|
134
137
|
/**
|
|
135
138
|
* Add event listeners to a web component
|
|
136
139
|
*
|
|
137
|
-
* @param
|
|
138
|
-
* @param
|
|
139
|
-
* @returns
|
|
140
|
+
* @param listeners - the events to listen to
|
|
141
|
+
* @param component - the web component
|
|
142
|
+
* @returns
|
|
140
143
|
*/
|
|
141
144
|
function addListeners(listeners, component) {
|
|
142
145
|
Object.entries(listeners).forEach(([key, value]) => {
|
|
@@ -146,9 +149,9 @@ function addListeners(listeners, component) {
|
|
|
146
149
|
/**
|
|
147
150
|
* Remove event listeners from a web component
|
|
148
151
|
*
|
|
149
|
-
* @param
|
|
150
|
-
* @param
|
|
151
|
-
* @returns
|
|
152
|
+
* @param listeners - the events to listen to
|
|
153
|
+
* @param component - the web component
|
|
154
|
+
* @returns
|
|
152
155
|
*/
|
|
153
156
|
function removeListeners(listeners, component) {
|
|
154
157
|
Object.entries(listeners).forEach(([key, value]) => {
|
|
@@ -158,9 +161,9 @@ function removeListeners(listeners, component) {
|
|
|
158
161
|
/**
|
|
159
162
|
* Appends children to an html element
|
|
160
163
|
*
|
|
161
|
-
* @param
|
|
162
|
-
* @param
|
|
163
|
-
* @returns
|
|
164
|
+
* @param parent - the parent element
|
|
165
|
+
* @param children - the child elements to add
|
|
166
|
+
* @returns
|
|
164
167
|
*/
|
|
165
168
|
function addChildren(parent, children = []) {
|
|
166
169
|
[].slice.call(children).forEach((child) => {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-testing.spec.d.ts","sourceRoot":"","sources":["../../src/testing/component-testing.spec.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,gBAAgB,EAChB,uBAAuB,EACvB,wBAAwB,EAC3B,MAAM,SAAS,CAAC;AAGjB,qBAIa,SAAU,YAAW,gBAAgB;IAE9C,QAAQ,EAAE,wBAAwB,CAAC;IAGnC,OAAO,EAAE,uBAAuB,CAAC;IAGjC,OAAO,CAAC,aAAa,CAAkB;IACvC,OAAO,CAAC,aAAa,CAAiB;IAE/B,iBAAiB;IAIjB,oBAAoB;IAKpB,MAAM;CAGhB"}
|
package/dist/testing/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/testing/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"company.d.ts","sourceRoot":"","sources":["../../../src/testing/limeobjects/company.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;yBA+oBS,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;IAIjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coworker.d.ts","sourceRoot":"","sources":["../../../src/testing/limeobjects/coworker.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;yBAyGQ,MAAM;;;;;;;;;;;;;;;;;;;GAIjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deal.d.ts","sourceRoot":"","sources":["../../../src/testing/limeobjects/deal.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;;yBA2bY,MAAM;;;;;;;;;;;;;;;;;;;;yBAAN,MAAM;;;;;;;;;;;;;;;;;;IAIjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../../src/testing/limeobjects/document.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;yBA6EQ,MAAM;;;;;;;;;;;;;;;;;GAIjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/testing/limeobjects/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBvB,CAAC;AAEF,eAAO,MAAM,WAAW,aAAc,MAAM,6BAAwB,CAAC;AAErE,wBAAgB,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,GAAG,GAAG,CA4BnE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"person.d.ts","sourceRoot":"","sources":["../../../src/testing/limeobjects/person.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;yBAqoCU,MAAM;;;;;;;;;;;;;;;;;GAIjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"campaign.d.ts","sourceRoot":"","sources":["../../../src/testing/limetypes/campaign.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;;;4BAQO,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsdjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"company.d.ts","sourceRoot":"","sources":["../../../src/testing/limetypes/company.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;;;;;;4BAQQ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8lBjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../src/testing/limetypes/consent.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;;;;;;4BAQQ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+NjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consenttype.d.ts","sourceRoot":"","sources":["../../../src/testing/limetypes/consenttype.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;4BAQI,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoLjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coworker.d.ts","sourceRoot":"","sources":["../../../src/testing/limetypes/coworker.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;;;4BAQO,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmjBjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deal.d.ts","sourceRoot":"","sources":["../../../src/testing/limetypes/deal.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;;;;;;;;4BAQW,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyZjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../../src/testing/limetypes/document.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;;;4BAQO,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsUjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpdesk.d.ts","sourceRoot":"","sources":["../../../src/testing/limetypes/helpdesk.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;;;4BAQO,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0ZjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpdesktype.d.ts","sourceRoot":"","sources":["../../../src/testing/limetypes/helpdesktype.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;4BAQG,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgIjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"history.d.ts","sourceRoot":"","sources":["../../../src/testing/limetypes/history.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;;;;;;4BAQQ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgVjC,CAAC"}
|
|
@@ -3,3 +3,4 @@ export declare const limetypes: Record<string, LimeType>;
|
|
|
3
3
|
export declare function getLimetype(name: string): LimeType;
|
|
4
4
|
export declare function getBackreference(limetype: string, property: string): LimeProperty;
|
|
5
5
|
export declare function getProperty(limetype: string, property: string): any;
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/testing/limetypes/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAuB/C,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAsBvC,CAAC;AAET,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ,CAElD;AAED,wBAAgB,gBAAgB,CAC5B,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,GACjB,YAAY,CAEd;AAED,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAkB7D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infotiles.d.ts","sourceRoot":"","sources":["../../../src/testing/limetypes/infotiles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;4BAQM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAofjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"localize.d.ts","sourceRoot":"","sources":["../../../src/testing/limetypes/localize.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;;;4BAQO,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkRjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mailing.d.ts","sourceRoot":"","sources":["../../../src/testing/limetypes/mailing.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;;;;;;4BAQQ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4MjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"office.d.ts","sourceRoot":"","sources":["../../../src/testing/limetypes/office.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;4BAQS,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuXjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"participant.d.ts","sourceRoot":"","sources":["../../../src/testing/limetypes/participant.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;4BAQI,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoLjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"person.d.ts","sourceRoot":"","sources":["../../../src/testing/limetypes/person.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;4BAQS,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAygBjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recipient.d.ts","sourceRoot":"","sources":["../../../src/testing/limetypes/recipient.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;4BAQM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiKjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"solutionimprovement.d.ts","sourceRoot":"","sources":["../../../src/testing/limetypes/solutionimprovement.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB;;;;;;;;4BAQJ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoVjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"successplan.d.ts","sourceRoot":"","sources":["../../../src/testing/limetypes/successplan.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;4BAQI,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyMjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../src/testing/limetypes/target.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;4BAQS,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwKjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"todo.d.ts","sourceRoot":"","sources":["../../../src/testing/limetypes/todo.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;;;;;;;;4BAQW,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgajC,CAAC"}
|
|
@@ -2,7 +2,8 @@ import { LimeWebComponentContext, LimeWebComponentPlatform } from '../..';
|
|
|
2
2
|
/**
|
|
3
3
|
* Create a new platform suitable for testing
|
|
4
4
|
*
|
|
5
|
-
* @returns
|
|
5
|
+
* @returns a new testing platform
|
|
6
6
|
*/
|
|
7
7
|
export declare function createPlatform(): LimeWebComponentPlatform;
|
|
8
8
|
export declare const defaultContext: LimeWebComponentContext;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/testing/platform/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AA2B1E;;;;GAIG;AACH,wBAAgB,cAAc,IAAI,wBAAwB,CAEzD;AAED,eAAO,MAAM,cAAc,EAAE,uBAG5B,CAAC"}
|
|
@@ -21,7 +21,7 @@ class TestingPlatform {
|
|
|
21
21
|
/**
|
|
22
22
|
* Create a new platform suitable for testing
|
|
23
23
|
*
|
|
24
|
-
* @returns
|
|
24
|
+
* @returns a new testing platform
|
|
25
25
|
*/
|
|
26
26
|
export function createPlatform() {
|
|
27
27
|
return new TestingPlatform();
|
|
@@ -36,8 +36,8 @@ export const defaultContext = {
|
|
|
36
36
|
* Each method that is not implemented in the service will default to return
|
|
37
37
|
* the arguments it was called with
|
|
38
38
|
*
|
|
39
|
-
* @param
|
|
40
|
-
* @returns
|
|
39
|
+
* @param service - the service to proxy
|
|
40
|
+
* @returns a proxy for the service
|
|
41
41
|
*/
|
|
42
42
|
function createServiceProxy(service) {
|
|
43
43
|
const handler = {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform.spec.d.ts","sourceRoot":"","sources":["../../../src/testing/platform/platform.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/translator/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
|