@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/limeobject/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { LimeType } from '../limetype';
|
|
2
2
|
/**
|
|
3
3
|
* A Lime object
|
|
4
|
+
* @public
|
|
5
|
+
* @group Lime objects
|
|
4
6
|
*/
|
|
5
7
|
export interface LimeObject {
|
|
6
8
|
/**
|
|
@@ -22,18 +24,18 @@ export interface LimeObject {
|
|
|
22
24
|
/**
|
|
23
25
|
* Get the value of a property by name
|
|
24
26
|
*
|
|
25
|
-
* @param
|
|
27
|
+
* @param name - name of property to get the value of. Allows a path
|
|
26
28
|
* to be specified using dot notation to get the value of a related
|
|
27
29
|
* property
|
|
28
30
|
*
|
|
29
|
-
* @returns
|
|
31
|
+
* @returns the value of the specified property. If it is a relation,
|
|
30
32
|
* the related `LimeObject` will be returned
|
|
31
33
|
*/
|
|
32
34
|
getValue(name: string): any;
|
|
33
35
|
/**
|
|
34
36
|
* Get the limetype of the object
|
|
35
37
|
*
|
|
36
|
-
* @returns
|
|
38
|
+
* @returns the limetype
|
|
37
39
|
*/
|
|
38
40
|
getLimetype(): LimeType;
|
|
39
41
|
/**
|
|
@@ -41,3 +43,4 @@ export interface LimeObject {
|
|
|
41
43
|
*/
|
|
42
44
|
[property: string]: any;
|
|
43
45
|
}
|
|
46
|
+
//# sourceMappingURL=limeobject.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"limeobject.d.ts","sourceRoot":"","sources":["../../src/limeobject/limeobject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACvB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;;;;;;OASG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC;IAE5B;;;;OAIG;IACH,WAAW,IAAI,QAAQ,CAAC;IAExB;;OAEG;IACH,CAAC,QAAQ,EAAE,MAAM,GAAG,GAAG,CAAC;CAC3B"}
|
|
@@ -1,45 +1,53 @@
|
|
|
1
1
|
import { Expression } from '../query';
|
|
2
2
|
import { StateRepository } from '../core';
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
* @group Lime objects
|
|
6
|
+
*/
|
|
3
7
|
export interface LimeObjectRepository extends StateRepository {
|
|
4
8
|
/**
|
|
5
9
|
* Load the specified limeobject into the state
|
|
6
10
|
*
|
|
7
|
-
* @param
|
|
8
|
-
* @param
|
|
11
|
+
* @param limetype -
|
|
12
|
+
* @param id -
|
|
9
13
|
*/
|
|
10
14
|
loadObject(limetype: string, id: number): void;
|
|
11
15
|
/**
|
|
12
16
|
* Load objects of the specified limetype into the state
|
|
13
17
|
*
|
|
14
|
-
* @param
|
|
15
|
-
* @param
|
|
16
|
-
* @returns
|
|
18
|
+
* @param limetype - name of the limetype
|
|
19
|
+
* @param options - options about the objects to load
|
|
20
|
+
* @returns list of objects together with total count of objects
|
|
17
21
|
*/
|
|
18
22
|
loadObjects(limetype: string, options?: LoadOptions): Promise<ObjectResponse>;
|
|
19
23
|
/**
|
|
20
24
|
* Load related objects into the state
|
|
21
25
|
*
|
|
22
|
-
* @param
|
|
23
|
-
* @param
|
|
24
|
-
* @param
|
|
25
|
-
* @param
|
|
26
|
-
* @returns
|
|
26
|
+
* @param limetype - name of the limetype of the owning limeobject
|
|
27
|
+
* @param id - the id of the owning limeobject
|
|
28
|
+
* @param property - name of the property that contain the relations
|
|
29
|
+
* @param options - options about the objects to load
|
|
30
|
+
* @returns list of related objects together with total count of objects
|
|
27
31
|
*/
|
|
28
32
|
loadRelations(limetype: string, id: number, property: string, options?: LoadOptions): Promise<ObjectResponse>;
|
|
29
33
|
/**
|
|
30
34
|
* Loads a schema for the limetype.
|
|
31
35
|
*
|
|
32
|
-
* @param
|
|
36
|
+
* @param limetype - name of the limetype of the owning limeobject
|
|
33
37
|
*/
|
|
34
38
|
loadSchema(limetype: string): Promise<object>;
|
|
35
39
|
/**
|
|
36
40
|
* Delete the specified limeobject
|
|
37
41
|
*
|
|
38
|
-
* @param
|
|
39
|
-
* @param
|
|
42
|
+
* @param limetype - name of the limetype of the limeobject
|
|
43
|
+
* @param id - the id of the limeobject
|
|
40
44
|
*/
|
|
41
45
|
deleteObject(limetype: string, id: number): Promise<void>;
|
|
42
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
* @group Lime objects
|
|
50
|
+
*/
|
|
43
51
|
export interface LoadOptions {
|
|
44
52
|
/**
|
|
45
53
|
* Maximum number of objects to load
|
|
@@ -58,6 +66,10 @@ export interface LoadOptions {
|
|
|
58
66
|
*/
|
|
59
67
|
order?: PropertyOrder[];
|
|
60
68
|
}
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
* @group Lime objects
|
|
72
|
+
*/
|
|
61
73
|
export interface PropertyOrder {
|
|
62
74
|
/**
|
|
63
75
|
* Name of the property to sort on
|
|
@@ -68,6 +80,10 @@ export interface PropertyOrder {
|
|
|
68
80
|
*/
|
|
69
81
|
direction: 'ASC' | 'DESC';
|
|
70
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
* @group Lime objects
|
|
86
|
+
*/
|
|
71
87
|
export interface ObjectResponse {
|
|
72
88
|
/**
|
|
73
89
|
* The objects that matched the query
|
|
@@ -86,15 +102,24 @@ export interface ObjectResponse {
|
|
|
86
102
|
*/
|
|
87
103
|
aggregates?: AggregationGroups;
|
|
88
104
|
}
|
|
105
|
+
/**
|
|
106
|
+
* @public
|
|
107
|
+
* @group Lime objects
|
|
108
|
+
*/
|
|
89
109
|
export interface AggregationGroups {
|
|
90
110
|
/**
|
|
91
111
|
* Name of the aggregation group along with a list of aggregations
|
|
92
112
|
*/
|
|
93
113
|
[name: string]: ObjectAggregation[];
|
|
94
114
|
}
|
|
115
|
+
/**
|
|
116
|
+
* @public
|
|
117
|
+
* @group Lime objects
|
|
118
|
+
*/
|
|
95
119
|
export interface ObjectAggregation {
|
|
96
120
|
/**
|
|
97
121
|
* Name of the property being aggregated along with its aggregated value
|
|
98
122
|
*/
|
|
99
123
|
[property: string]: number | string;
|
|
100
124
|
}
|
|
125
|
+
//# sourceMappingURL=repository.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../src/limeobject/repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C;;;GAGG;AACH,MAAM,WAAW,oBAAqB,SAAQ,eAAe;IACzD;;;;;OAKG;IACH,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/C;;;;;;OAMG;IACH,WAAW,CACP,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,WAAW,GACtB,OAAO,CAAC,cAAc,CAAC,CAAC;IAE3B;;;;;;;;OAQG;IACH,aAAa,CACT,QAAQ,EAAE,MAAM,EAChB,EAAE,EAAE,MAAM,EACV,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,WAAW,GACtB,OAAO,CAAC,cAAc,CAAC,CAAC;IAE3B;;;;OAIG;IACH,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAE9C;;;;;OAKG;IACH,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7D;AAED;;;GAGG;AACH,MAAM,WAAW,WAAW;IACxB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,EAAE,CAAC;CAC3B;AAED;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,SAAS,EAAE,KAAK,GAAG,MAAM,CAAC;CAC7B;AAED;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,OAAO,EAAE,MAAM,EAAE,CAAC;IAElB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,UAAU,CAAC,EAAE,iBAAiB,CAAC;CAClC;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,CAAC,IAAI,EAAE,MAAM,GAAG,iBAAiB,EAAE,CAAC;CACvC;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;CACvC"}
|
|
@@ -3,7 +3,7 @@ declare const SERVICE_NAME = "state.limeobjects";
|
|
|
3
3
|
declare module '../core/platform' {
|
|
4
4
|
interface PlatformServiceNameType {
|
|
5
5
|
/**
|
|
6
|
-
* @see {@link Service LimeObjectRepository}
|
|
6
|
+
* @see {@link Service | LimeObjectRepository}
|
|
7
7
|
*/
|
|
8
8
|
LimeObjectRepository: 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/limeobject/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,IAAI,OAAO,EAAE,MAAM,cAAc,CAAC;AAG/D,QAAA,MAAM,YAAY,sBAAsB,CAAC;AAIzC,OAAO,QAAQ,kBAAkB,CAAC;IAC9B,UAAU,uBAAuB;QAC7B;;WAEG;QACH,oBAAoB,EAAE,OAAO,YAAY,CAAC;KAC7C;IAED,UAAU,wBAAwB;QAC9B,GAAG,CAAC,IAAI,EAAE,uBAAuB,CAAC,sBAAsB,CAAC,GAAG,OAAO,CAAC;KACvE;CACJ"}
|
package/dist/limetype/acl.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acl.d.ts","sourceRoot":"","sources":["../../src/limetype/acl.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,GAAG;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;CACnB"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { StateOptions, ContextAwareStateOptions } from '../core';
|
|
2
2
|
/**
|
|
3
3
|
* Config for the {@link SelectLimeTypes} state decorator
|
|
4
|
+
* @public
|
|
5
|
+
* @group Lime types
|
|
4
6
|
*/
|
|
5
7
|
export interface SelectLimeTypesOptions extends StateOptions {
|
|
6
8
|
name?: string;
|
|
@@ -8,14 +10,19 @@ export interface SelectLimeTypesOptions extends StateOptions {
|
|
|
8
10
|
/**
|
|
9
11
|
* Gets an object with all limetypes where name is used as key
|
|
10
12
|
*
|
|
11
|
-
* @param
|
|
12
|
-
* @returns
|
|
13
|
+
* @param options - state decorator options
|
|
14
|
+
* @returns state decorator
|
|
15
|
+
* @public
|
|
16
|
+
* @group Lime types
|
|
13
17
|
*/
|
|
14
18
|
export declare function SelectLimeTypes(options?: SelectLimeTypesOptions): PropertyDecorator;
|
|
15
19
|
/**
|
|
16
20
|
* Get the limetype for the current context
|
|
17
21
|
*
|
|
18
|
-
* @param
|
|
19
|
-
* @returns
|
|
22
|
+
* @param options - state decorator options
|
|
23
|
+
* @returns state decorator
|
|
24
|
+
* @public
|
|
25
|
+
* @group Lime types
|
|
20
26
|
*/
|
|
21
27
|
export declare function SelectCurrentLimeType(options?: ContextAwareStateOptions): PropertyDecorator;
|
|
28
|
+
//# sourceMappingURL=decorator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decorator.d.ts","sourceRoot":"","sources":["../../src/limetype/decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,YAAY,EAEZ,wBAAwB,EAC3B,MAAM,SAAS,CAAC;AAGjB;;;;GAIG;AACH,MAAM,WAAW,sBAAuB,SAAQ,YAAY;IACxD,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC3B,OAAO,GAAE,sBAA2B,GACrC,iBAAiB,CAMnB;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACjC,OAAO,GAAE,wBAA6B,GACvC,iBAAiB,CAQnB"}
|
|
@@ -3,8 +3,10 @@ import { createStateDecorator } from '../core/decorators/factory';
|
|
|
3
3
|
/**
|
|
4
4
|
* Gets an object with all limetypes where name is used as key
|
|
5
5
|
*
|
|
6
|
-
* @param
|
|
7
|
-
* @returns
|
|
6
|
+
* @param options - state decorator options
|
|
7
|
+
* @returns state decorator
|
|
8
|
+
* @public
|
|
9
|
+
* @group Lime types
|
|
8
10
|
*/
|
|
9
11
|
export function SelectLimeTypes(options = {}) {
|
|
10
12
|
const config = {
|
|
@@ -15,8 +17,10 @@ export function SelectLimeTypes(options = {}) {
|
|
|
15
17
|
/**
|
|
16
18
|
* Get the limetype for the current context
|
|
17
19
|
*
|
|
18
|
-
* @param
|
|
19
|
-
* @returns
|
|
20
|
+
* @param options - state decorator options
|
|
21
|
+
* @returns state decorator
|
|
22
|
+
* @public
|
|
23
|
+
* @group Lime types
|
|
20
24
|
*/
|
|
21
25
|
export function SelectCurrentLimeType(options = {}) {
|
|
22
26
|
const config = {
|
package/dist/limetype/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/limetype/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { Acl } from './acl';
|
|
2
2
|
import { LimeProperty } from './property';
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
* @group Lime types
|
|
6
|
+
*/
|
|
3
7
|
export interface LimeType {
|
|
4
8
|
name: string;
|
|
5
9
|
label: string;
|
|
@@ -12,14 +16,17 @@ export interface LimeType {
|
|
|
12
16
|
/**
|
|
13
17
|
* Get a property by name
|
|
14
18
|
*
|
|
15
|
-
* @param
|
|
19
|
+
* @param name - name of property to get. Allows a path to be
|
|
16
20
|
* specified using dot notation to get properties of relations
|
|
17
21
|
*
|
|
18
22
|
* @throws Will throw an error containing the name of the missing property
|
|
19
|
-
* @returns
|
|
23
|
+
* @returns the property specified by the name argument
|
|
20
24
|
*
|
|
21
25
|
* @example
|
|
26
|
+
* ```
|
|
22
27
|
* const phoneProperty = dealLimetype.getProperty('company.phone')
|
|
28
|
+
* ```
|
|
23
29
|
*/
|
|
24
30
|
getProperty(name: string): LimeProperty;
|
|
25
31
|
}
|
|
32
|
+
//# sourceMappingURL=limetype.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"limetype.d.ts","sourceRoot":"","sources":["../../src/limetype/limetype.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C;;;GAGG;AACH,MAAM,WAAW,QAAQ;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,GAAG,CAAC;IACT,SAAS,EAAE;QACP,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAEzC;;;;;;;;;;;;;OAaG;IACH,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,CAAC;CAC3C"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { Acl } from './acl';
|
|
2
2
|
import { LimeType } from './limetype';
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
* @group Lime types
|
|
6
|
+
*/
|
|
3
7
|
export interface LimeProperty {
|
|
4
8
|
acl: Acl;
|
|
5
9
|
defaultvalue: any;
|
|
@@ -17,6 +21,10 @@ export interface LimeProperty {
|
|
|
17
21
|
getBackreference: () => LimeProperty;
|
|
18
22
|
};
|
|
19
23
|
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* @group Lime types
|
|
27
|
+
*/
|
|
20
28
|
export interface Option {
|
|
21
29
|
key: string;
|
|
22
30
|
inactive: boolean;
|
|
@@ -24,9 +32,34 @@ export interface Option {
|
|
|
24
32
|
order?: number;
|
|
25
33
|
id?: number;
|
|
26
34
|
}
|
|
27
|
-
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
* @group Lime types
|
|
38
|
+
*/
|
|
39
|
+
export type PropertyType = 'string' | 'text' | 'phone' | 'integer' | 'decimal' | 'percent' | 'time' | 'timeofday' | 'date' | 'year' | 'quarter' | 'month' | 'yesno' | 'link' | 'user' | 'xml' | 'option' | 'set' | 'file' | 'hasone' | 'hasmany' | 'belongsto' | 'hasandbelongstomany' | 'system';
|
|
40
|
+
/**
|
|
41
|
+
* @public
|
|
42
|
+
* @group Lime types
|
|
43
|
+
*/
|
|
28
44
|
export declare function isRelation(property: LimeProperty): boolean;
|
|
45
|
+
/**
|
|
46
|
+
* @public
|
|
47
|
+
* @group Lime types
|
|
48
|
+
*/
|
|
29
49
|
export declare function isSingleRelation(property: LimeProperty): boolean;
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
* @group Lime types
|
|
53
|
+
*/
|
|
30
54
|
export declare function isDate(property: LimeProperty): boolean;
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
* @group Lime types
|
|
58
|
+
*/
|
|
31
59
|
export declare function isString(property: LimeProperty): boolean;
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
* @group Lime types
|
|
63
|
+
*/
|
|
32
64
|
export declare function isFloat(property: LimeProperty): boolean;
|
|
65
|
+
//# sourceMappingURL=property.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"property.d.ts","sourceRoot":"","sources":["../../src/limetype/property.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC;;;GAGG;AACH,MAAM,WAAW,YAAY;IACzB,GAAG,EAAE,GAAG,CAAC;IACT,YAAY,EAAE,GAAG,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,CAAC,EAAE;QACP,WAAW,EAAE,MAAM,QAAQ,CAAC;QAC5B,gBAAgB,EAAE,MAAM,YAAY,CAAC;KACxC,CAAC;CACL;AAED;;;GAGG;AACH,MAAM,WAAW,MAAM;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,MAAM,MAAM,YAAY,GAClB,QAAQ,GACR,MAAM,GACN,OAAO,GACP,SAAS,GACT,SAAS,GACT,SAAS,GACT,MAAM,GACN,WAAW,GACX,MAAM,GACN,MAAM,GACN,SAAS,GACT,OAAO,GACP,OAAO,GACP,MAAM,GACN,MAAM,GACN,KAAK,GACL,QAAQ,GACR,KAAK,GACL,MAAM,GACN,QAAQ,GACR,SAAS,GACT,WAAW,GACX,qBAAqB,GACrB,QAAQ,CAAC;AAEf;;;GAGG;AACH,wBAAgB,UAAU,CAAC,QAAQ,EAAE,YAAY,WAShD;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,YAAY,WAItD;AAED;;;GAGG;AACH,wBAAgB,MAAM,CAAC,QAAQ,EAAE,YAAY,WAW5C;AAED;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,YAAY,WAI9C;AAED;;;GAGG;AACH,wBAAgB,OAAO,CAAC,QAAQ,EAAE,YAAY,WAI7C"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @group Lime types
|
|
4
|
+
*/
|
|
1
5
|
export function isRelation(property) {
|
|
2
6
|
const propTypes = [
|
|
3
7
|
'belongsto',
|
|
@@ -7,10 +11,18 @@ export function isRelation(property) {
|
|
|
7
11
|
];
|
|
8
12
|
return property && propTypes.includes(property.type);
|
|
9
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
* @group Lime types
|
|
17
|
+
*/
|
|
10
18
|
export function isSingleRelation(property) {
|
|
11
19
|
const propTypes = ['belongsto', 'hasone'];
|
|
12
20
|
return property && propTypes.includes(property.type);
|
|
13
21
|
}
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
* @group Lime types
|
|
25
|
+
*/
|
|
14
26
|
export function isDate(property) {
|
|
15
27
|
const propTypes = [
|
|
16
28
|
'time',
|
|
@@ -22,10 +34,18 @@ export function isDate(property) {
|
|
|
22
34
|
];
|
|
23
35
|
return property && propTypes.includes(property.type);
|
|
24
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
* @group Lime types
|
|
40
|
+
*/
|
|
25
41
|
export function isString(property) {
|
|
26
42
|
const propTypes = ['string', 'text', 'phone', 'link'];
|
|
27
43
|
return property && propTypes.includes(property.type);
|
|
28
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
* @public
|
|
47
|
+
* @group Lime types
|
|
48
|
+
*/
|
|
29
49
|
export function isFloat(property) {
|
|
30
50
|
const propTypes = ['decimal', 'percent'];
|
|
31
51
|
return property && propTypes.includes(property.type);
|
package/dist/limetype/types.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/limetype/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAG1C,QAAA,MAAM,YAAY,oBAAoB,CAAC;AAIvC,OAAO,QAAQ,kBAAkB,CAAC;IAC9B,UAAU,uBAAuB;QAC7B;;WAEG;QACH,kBAAkB,EAAE,OAAO,YAAY,CAAC;KAC3C;IAED,UAAU,wBAAwB;QAC9B,GAAG,CACC,IAAI,EAAE,uBAAuB,CAAC,oBAAoB,CAAC,GACpD,eAAe,CAAC;KACtB;CACJ"}
|
|
@@ -3,22 +3,13 @@ import { Location } from './navigator';
|
|
|
3
3
|
* Navigates to a new location
|
|
4
4
|
*
|
|
5
5
|
* @id `navigator.navigate`
|
|
6
|
+
* @beta
|
|
7
|
+
* @group Navigation
|
|
6
8
|
*/
|
|
7
9
|
export declare class NavigateCommand implements Partial<Location> {
|
|
8
|
-
/**
|
|
9
|
-
* @inheritdoc
|
|
10
|
-
*/
|
|
11
10
|
path?: string;
|
|
12
|
-
/**
|
|
13
|
-
* @inheritdoc
|
|
14
|
-
*/
|
|
15
11
|
query?: Record<string, unknown>;
|
|
16
|
-
/**
|
|
17
|
-
* @inheritdoc
|
|
18
|
-
*/
|
|
19
12
|
hash?: string;
|
|
20
|
-
/**
|
|
21
|
-
* @inheritdoc
|
|
22
|
-
*/
|
|
23
13
|
state?: unknown;
|
|
24
14
|
}
|
|
15
|
+
//# sourceMappingURL=command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../src/navigator/command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC;;;;;;GAMG;AACH,qBAGa,eAAgB,YAAW,OAAO,CAAC,QAAQ,CAAC;IAC9C,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAEhC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,OAAO,CAAC;CAC1B"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ContextAwareStateOptions } from '../core';
|
|
2
2
|
/**
|
|
3
3
|
* Config for the {@link SelectQueryParam} decorator
|
|
4
|
+
* @beta
|
|
5
|
+
* @group Navigation
|
|
4
6
|
*/
|
|
5
7
|
export interface SelectQueryParamOptions extends ContextAwareStateOptions {
|
|
6
8
|
/**
|
|
@@ -11,8 +13,10 @@ export interface SelectQueryParamOptions extends ContextAwareStateOptions {
|
|
|
11
13
|
/**
|
|
12
14
|
* Gets a named query param from the location
|
|
13
15
|
*
|
|
14
|
-
* @
|
|
15
|
-
* @
|
|
16
|
-
* @
|
|
16
|
+
* @param options - state decorator options
|
|
17
|
+
* @returns state decorator
|
|
18
|
+
* @beta
|
|
19
|
+
* @group Navigation
|
|
17
20
|
*/
|
|
18
21
|
export declare function SelectQueryParam(options: SelectQueryParamOptions): PropertyDecorator;
|
|
22
|
+
//# sourceMappingURL=decorator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decorator.d.ts","sourceRoot":"","sources":["../../src/navigator/decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAuB,MAAM,SAAS,CAAC;AAMxE;;;;GAIG;AACH,MAAM,WAAW,uBAAwB,SAAQ,wBAAwB;IACrE;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAC5B,OAAO,EAAE,uBAAuB,GACjC,iBAAiB,CAMnB"}
|
|
@@ -3,9 +3,10 @@ import { createStateDecorator, } from '../core/decorators/factory';
|
|
|
3
3
|
/**
|
|
4
4
|
* Gets a named query param from the location
|
|
5
5
|
*
|
|
6
|
-
* @
|
|
7
|
-
* @
|
|
8
|
-
* @
|
|
6
|
+
* @param options - state decorator options
|
|
7
|
+
* @returns state decorator
|
|
8
|
+
* @beta
|
|
9
|
+
* @group Navigation
|
|
9
10
|
*/
|
|
10
11
|
export function SelectQueryParam(options) {
|
|
11
12
|
const config = {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/navigator/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
|