@limetech/lime-web-components 5.46.0 → 6.0.0-beta.2
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/CHANGELOG.md +46 -0
- package/dist/action/action.d.ts +4 -4
- package/dist/application/repository.d.ts +1 -1
- package/dist/application/session.d.ts +0 -5
- package/dist/application/session.d.ts.map +1 -1
- package/dist/commandbus/commandbus.d.ts +4 -4
- package/dist/conditionregistry/conditionregistry.d.ts +6 -6
- package/dist/config/repository.d.ts +1 -2
- package/dist/config/repository.d.ts.map +1 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/metadata.d.ts +2 -2
- package/dist/core/platform.d.ts +2 -7
- package/dist/core/platform.d.ts.map +1 -1
- package/dist/datetimeformatter/datetimeformatter.d.ts +4 -4
- package/dist/index.cjs.js +4 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.esm.js +956 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/limeobject/commands/bulk-create-dialog.d.ts +0 -14
- package/dist/limeobject/commands/bulk-create-dialog.d.ts.map +1 -1
- package/dist/limeobject/commands/create-dialog.d.ts +0 -2
- package/dist/limeobject/commands/create-dialog.d.ts.map +1 -1
- package/dist/limeobject/commands/delete-object.d.ts +0 -9
- package/dist/limeobject/commands/delete-object.d.ts.map +1 -1
- package/dist/limeobject/commands/object-access.d.ts +0 -9
- package/dist/limeobject/commands/object-access.d.ts.map +1 -1
- package/dist/limeobject/commands/save-object.d.ts +1 -1
- package/dist/limeobject/file.d.ts +4 -2
- package/dist/limeobject/file.d.ts.map +1 -1
- package/dist/limeobject/limeobject.d.ts +1 -2
- package/dist/limeobject/limeobject.d.ts.map +1 -1
- package/dist/limeobject/repository.d.ts +4 -6
- package/dist/limeobject/repository.d.ts.map +1 -1
- package/dist/limetype/fixture.d.ts +4 -0
- package/dist/limetype/fixture.d.ts.map +1 -0
- package/dist/limetype/repository.d.ts +1 -1
- package/dist/navigator/command.d.ts +1 -1
- package/dist/navigator/decorator.d.ts +2 -2
- package/dist/navigator/navigator.d.ts +7 -7
- package/dist/navigator/types.d.ts +0 -3
- package/dist/navigator/types.d.ts.map +1 -1
- package/dist/notification-service/notification.d.ts +2 -2
- package/dist/notification-service/repository.d.ts +4 -4
- package/dist/query/query.d.ts +59 -8
- package/dist/query/query.d.ts.map +1 -1
- package/dist/routeregistry/registry.d.ts +3 -3
- package/dist/routeregistry/types.d.ts +0 -3
- package/dist/routeregistry/types.d.ts.map +1 -1
- package/dist/userpreferences/repository.d.ts +1 -1
- package/dist/view/registry.d.ts +2 -2
- package/dist/view/types.d.ts +2 -2
- package/dist/webcomponent/registry.d.ts +2 -2
- package/package.json +15 -8
- package/dist/action/action.js +0 -1
- package/dist/action/index.js +0 -1
- package/dist/application/decorators/application.js +0 -20
- package/dist/application/decorators/index.js +0 -3
- package/dist/application/decorators/session.js +0 -20
- package/dist/application/decorators/user.js +0 -20
- package/dist/application/index.js +0 -5
- package/dist/application/repository.js +0 -1
- package/dist/application/session.js +0 -1
- package/dist/application/types.js +0 -3
- package/dist/application/user.js +0 -1
- package/dist/commandbus/commandbus.js +0 -95
- package/dist/commandbus/commandbus.spec.js +0 -55
- package/dist/commandbus/index.js +0 -2
- package/dist/commandbus/types.js +0 -3
- package/dist/conditionregistry/conditionregistry.js +0 -18
- package/dist/conditionregistry/index.js +0 -2
- package/dist/conditionregistry/types.js +0 -3
- package/dist/config/decorator.js +0 -16
- package/dist/config/index.js +0 -3
- package/dist/config/repository.js +0 -1
- package/dist/config/types.js +0 -3
- package/dist/core/context.js +0 -1
- package/dist/core/decorators/factory.js +0 -243
- package/dist/core/decorators/factory.spec.js +0 -327
- package/dist/core/decorators/index.js +0 -1
- package/dist/core/idle.js +0 -7
- package/dist/core/index.js +0 -8
- package/dist/core/lime-web-component.js +0 -1
- package/dist/core/metadata.js +0 -1
- package/dist/core/platform.js +0 -8
- package/dist/core/plugin-loader.js +0 -1
- package/dist/core/state.js +0 -1
- package/dist/datetimeformatter/datetimeformatter.js +0 -1
- package/dist/datetimeformatter/index.js +0 -2
- package/dist/datetimeformatter/types.js +0 -3
- package/dist/device/decorator.js +0 -18
- package/dist/device/device.js +0 -1
- package/dist/device/index.js +0 -3
- package/dist/device/types.js +0 -3
- package/dist/dialog/dialog.js +0 -1
- package/dist/dialog/index.js +0 -2
- package/dist/dialog/types.js +0 -3
- package/dist/es5/action/action.js +0 -2
- package/dist/es5/action/index.js +0 -4
- package/dist/es5/application/decorators/application.js +0 -18
- package/dist/es5/application/decorators/index.js +0 -6
- package/dist/es5/application/decorators/session.js +0 -18
- package/dist/es5/application/decorators/user.js +0 -18
- package/dist/es5/application/index.js +0 -8
- package/dist/es5/application/repository.js +0 -2
- package/dist/es5/application/session.js +0 -2
- package/dist/es5/application/types.js +0 -5
- package/dist/es5/application/user.js +0 -2
- package/dist/es5/commandbus/commandbus.js +0 -51
- package/dist/es5/commandbus/commandbus.spec.js +0 -67
- package/dist/es5/commandbus/index.js +0 -5
- package/dist/es5/commandbus/types.js +0 -5
- package/dist/es5/conditionregistry/conditionregistry.js +0 -11
- package/dist/es5/conditionregistry/index.js +0 -5
- package/dist/es5/conditionregistry/types.js +0 -5
- package/dist/es5/config/decorator.js +0 -12
- package/dist/es5/config/index.js +0 -6
- package/dist/es5/config/repository.js +0 -2
- package/dist/es5/config/types.js +0 -5
- package/dist/es5/core/context.js +0 -2
- package/dist/es5/core/decorators/factory.js +0 -202
- package/dist/es5/core/decorators/factory.spec.js +0 -479
- package/dist/es5/core/decorators/index.js +0 -2
- package/dist/es5/core/idle.js +0 -4
- package/dist/es5/core/index.js +0 -11
- package/dist/es5/core/lime-web-component.js +0 -2
- package/dist/es5/core/metadata.js +0 -2
- package/dist/es5/core/platform.js +0 -6
- package/dist/es5/core/plugin-loader.js +0 -2
- package/dist/es5/core/state.js +0 -2
- package/dist/es5/datetimeformatter/datetimeformatter.js +0 -2
- package/dist/es5/datetimeformatter/index.js +0 -5
- package/dist/es5/datetimeformatter/types.js +0 -5
- package/dist/es5/device/decorator.js +0 -13
- package/dist/es5/device/device.js +0 -2
- package/dist/es5/device/index.js +0 -6
- package/dist/es5/device/types.js +0 -5
- package/dist/es5/dialog/dialog.js +0 -2
- package/dist/es5/dialog/index.js +0 -5
- package/dist/es5/dialog/types.js +0 -5
- package/dist/es5/eventdispatcher/eventdispatcher.js +0 -2
- package/dist/es5/eventdispatcher/index.js +0 -5
- package/dist/es5/eventdispatcher/types.js +0 -5
- package/dist/es5/filter/decorator.js +0 -13
- package/dist/es5/filter/index.js +0 -6
- package/dist/es5/filter/repository.js +0 -2
- package/dist/es5/filter/types.js +0 -5
- package/dist/es5/http/http.js +0 -10
- package/dist/es5/http/index.js +0 -5
- package/dist/es5/http/types.js +0 -5
- package/dist/es5/index.js +0 -30
- package/dist/es5/keybindings/index.js +0 -5
- package/dist/es5/keybindings/registry.js +0 -2
- package/dist/es5/keybindings/types.js +0 -5
- package/dist/es5/limeobject/commands/bulk-create-dialog.js +0 -17
- package/dist/es5/limeobject/commands/create-dialog.js +0 -17
- package/dist/es5/limeobject/commands/delete-object.js +0 -16
- package/dist/es5/limeobject/commands/index.js +0 -8
- package/dist/es5/limeobject/commands/object-access.js +0 -16
- package/dist/es5/limeobject/commands/save-object.js +0 -17
- package/dist/es5/limeobject/decorator.js +0 -38
- package/dist/es5/limeobject/error.js +0 -2
- package/dist/es5/limeobject/file.js +0 -2
- package/dist/es5/limeobject/index.js +0 -10
- package/dist/es5/limeobject/limeobject.js +0 -2
- package/dist/es5/limeobject/repository.js +0 -2
- package/dist/es5/limeobject/types.js +0 -5
- package/dist/es5/limetype/acl.js +0 -2
- package/dist/es5/limetype/decorator.js +0 -28
- package/dist/es5/limetype/find-limetype-by-label.js +0 -8
- package/dist/es5/limetype/find-limetype-by-label.spec.js +0 -47
- package/dist/es5/limetype/get-properties-by-type.js +0 -7
- package/dist/es5/limetype/get-properties-by-type.spec.js +0 -36
- package/dist/es5/limetype/get-property-by-label.js +0 -8
- package/dist/es5/limetype/get-property-by-label.spec.js +0 -33
- package/dist/es5/limetype/get-property-by-name.js +0 -7
- package/dist/es5/limetype/get-property-by-name.spec.js +0 -31
- package/dist/es5/limetype/has-label.js +0 -7
- package/dist/es5/limetype/has-label.spec.js +0 -30
- package/dist/es5/limetype/index.js +0 -14
- package/dist/es5/limetype/limetype.js +0 -2
- package/dist/es5/limetype/property.js +0 -40
- package/dist/es5/limetype/repository.js +0 -2
- package/dist/es5/limetype/types.js +0 -5
- package/dist/es5/navigator/command.js +0 -16
- package/dist/es5/navigator/decorator.js +0 -13
- package/dist/es5/navigator/index.js +0 -7
- package/dist/es5/navigator/navigator.js +0 -2
- package/dist/es5/navigator/types.js +0 -5
- package/dist/es5/notification-service/index.js +0 -6
- package/dist/es5/notification-service/notification.js +0 -2
- package/dist/es5/notification-service/repository.js +0 -2
- package/dist/es5/notification-service/types.js +0 -5
- package/dist/es5/notifications/index.js +0 -5
- package/dist/es5/notifications/notifications.js +0 -2
- package/dist/es5/notifications/types.js +0 -5
- package/dist/es5/poller/factory.js +0 -2
- package/dist/es5/poller/index.js +0 -6
- package/dist/es5/poller/poller.js +0 -2
- package/dist/es5/poller/types.js +0 -5
- package/dist/es5/query/index.js +0 -6
- package/dist/es5/query/query.js +0 -26
- package/dist/es5/query/service.js +0 -2
- package/dist/es5/query/types.js +0 -5
- package/dist/es5/routeregistry/index.js +0 -5
- package/dist/es5/routeregistry/registry.js +0 -2
- package/dist/es5/routeregistry/types.js +0 -5
- package/dist/es5/task/index.js +0 -5
- package/dist/es5/task/repository.js +0 -17
- package/dist/es5/task/types.js +0 -5
- package/dist/es5/testing/component-testing.js +0 -109
- package/dist/es5/testing/component-testing.spec.js +0 -88
- package/dist/es5/testing/index.js +0 -11
- package/dist/es5/testing/limeobjects/company.js +0 -660
- package/dist/es5/testing/limeobjects/coworker.js +0 -110
- package/dist/es5/testing/limeobjects/deal.js +0 -447
- package/dist/es5/testing/limeobjects/document.js +0 -82
- package/dist/es5/testing/limeobjects/index.js +0 -56
- package/dist/es5/testing/limeobjects/person.js +0 -1162
- package/dist/es5/testing/limeobjects/todo.js +0 -106
- package/dist/es5/testing/limetypes/campaign.js +0 -486
- package/dist/es5/testing/limetypes/company.js +0 -621
- package/dist/es5/testing/limetypes/consent.js +0 -237
- package/dist/es5/testing/limetypes/consenttype.js +0 -194
- package/dist/es5/testing/limetypes/coworker.js +0 -579
- package/dist/es5/testing/limetypes/deal.js +0 -422
- package/dist/es5/testing/limetypes/document.js +0 -343
- package/dist/es5/testing/limetypes/helpdesk.js +0 -426
- package/dist/es5/testing/limetypes/helpdesktype.js +0 -142
- package/dist/es5/testing/limetypes/history.js +0 -349
- package/dist/es5/testing/limetypes/index.js +0 -69
- package/dist/es5/testing/limetypes/infotiles.js +0 -514
- package/dist/es5/testing/limetypes/localize.js +0 -287
- package/dist/es5/testing/limetypes/mailing.js +0 -218
- package/dist/es5/testing/limetypes/office.js +0 -388
- package/dist/es5/testing/limetypes/participant.js +0 -195
- package/dist/es5/testing/limetypes/person.js +0 -535
- package/dist/es5/testing/limetypes/recipient.js +0 -175
- package/dist/es5/testing/limetypes/solutionimprovement.js +0 -353
- package/dist/es5/testing/limetypes/successplan.js +0 -215
- package/dist/es5/testing/limetypes/target.js +0 -181
- package/dist/es5/testing/limetypes/todo.js +0 -429
- package/dist/es5/testing/platform/index.js +0 -53
- package/dist/es5/testing/platform/platform.spec.js +0 -44
- package/dist/es5/testing/services/datetimeformatter.js +0 -12
- package/dist/es5/testing/services/index.js +0 -5
- package/dist/es5/testing/services/translator.js +0 -9
- package/dist/es5/translator/index.js +0 -5
- package/dist/es5/translator/translator.js +0 -2
- package/dist/es5/translator/types.js +0 -5
- package/dist/es5/userdata/decorator.js +0 -13
- package/dist/es5/userdata/index.js +0 -6
- package/dist/es5/userdata/repository.js +0 -2
- package/dist/es5/userdata/types.js +0 -5
- package/dist/es5/userpreferences/index.js +0 -5
- package/dist/es5/userpreferences/repository.js +0 -2
- package/dist/es5/userpreferences/types.js +0 -5
- package/dist/es5/view/index.js +0 -6
- package/dist/es5/view/layout.js +0 -2
- package/dist/es5/view/registry.js +0 -2
- package/dist/es5/view/types.js +0 -5
- package/dist/es5/webcomponent/index.js +0 -5
- package/dist/es5/webcomponent/registry.js +0 -2
- package/dist/es5/webcomponent/types.js +0 -5
- package/dist/eventdispatcher/eventdispatcher.js +0 -1
- package/dist/eventdispatcher/index.js +0 -2
- package/dist/eventdispatcher/types.js +0 -3
- package/dist/filter/decorator.js +0 -16
- package/dist/filter/index.js +0 -3
- package/dist/filter/repository.js +0 -1
- package/dist/filter/types.js +0 -3
- package/dist/http/http.js +0 -13
- package/dist/http/index.js +0 -2
- package/dist/http/types.js +0 -3
- package/dist/index.js +0 -49
- package/dist/keybindings/index.js +0 -2
- package/dist/keybindings/registry.js +0 -1
- package/dist/keybindings/types.js +0 -3
- package/dist/limeobject/commands/bulk-create-dialog.js +0 -53
- package/dist/limeobject/commands/create-dialog.js +0 -28
- package/dist/limeobject/commands/delete-object.js +0 -17
- package/dist/limeobject/commands/index.js +0 -5
- package/dist/limeobject/commands/object-access.js +0 -17
- package/dist/limeobject/commands/save-object.js +0 -23
- package/dist/limeobject/decorator.js +0 -46
- package/dist/limeobject/error.js +0 -1
- package/dist/limeobject/file.js +0 -1
- package/dist/limeobject/index.js +0 -7
- package/dist/limeobject/limeobject.js +0 -1
- package/dist/limeobject/repository.js +0 -1
- package/dist/limeobject/types.js +0 -3
- package/dist/limetype/acl.js +0 -1
- package/dist/limetype/decorator.js +0 -36
- package/dist/limetype/find-limetype-by-label.js +0 -43
- package/dist/limetype/find-limetype-by-label.spec.js +0 -44
- package/dist/limetype/get-properties-by-type.js +0 -16
- package/dist/limetype/get-properties-by-type.spec.js +0 -31
- package/dist/limetype/get-property-by-label.js +0 -17
- package/dist/limetype/get-property-by-label.spec.js +0 -26
- package/dist/limetype/get-property-by-name.js +0 -17
- package/dist/limetype/get-property-by-name.spec.js +0 -26
- package/dist/limetype/has-label.js +0 -29
- package/dist/limetype/has-label.spec.js +0 -31
- package/dist/limetype/index.js +0 -11
- package/dist/limetype/limetype.js +0 -1
- package/dist/limetype/property.js +0 -52
- package/dist/limetype/repository.js +0 -1
- package/dist/limetype/types.js +0 -3
- package/dist/navigator/command.js +0 -17
- package/dist/navigator/decorator.js +0 -16
- package/dist/navigator/index.js +0 -4
- package/dist/navigator/navigator.js +0 -1
- package/dist/navigator/types.js +0 -3
- package/dist/notification-service/index.js +0 -3
- package/dist/notification-service/notification.js +0 -1
- package/dist/notification-service/repository.js +0 -1
- package/dist/notification-service/types.js +0 -3
- package/dist/notifications/index.js +0 -2
- package/dist/notifications/notifications.js +0 -1
- package/dist/notifications/types.js +0 -3
- package/dist/poller/factory.js +0 -1
- package/dist/poller/index.js +0 -3
- package/dist/poller/poller.js +0 -1
- package/dist/poller/types.js +0 -3
- package/dist/query/index.js +0 -3
- package/dist/query/query.js +0 -31
- package/dist/query/service.js +0 -1
- package/dist/query/types.js +0 -3
- package/dist/routeregistry/index.js +0 -2
- package/dist/routeregistry/registry.js +0 -1
- package/dist/routeregistry/types.js +0 -3
- package/dist/task/index.js +0 -2
- package/dist/task/repository.js +0 -53
- package/dist/task/types.js +0 -3
- package/dist/testing/component-testing.d.ts +0 -74
- package/dist/testing/component-testing.d.ts.map +0 -1
- package/dist/testing/component-testing.js +0 -177
- package/dist/testing/component-testing.spec.d.ts +0 -11
- package/dist/testing/component-testing.spec.d.ts.map +0 -1
- package/dist/testing/component-testing.spec.js +0 -71
- package/dist/testing/index.d.ts +0 -6
- package/dist/testing/index.d.ts.map +0 -1
- package/dist/testing/index.js +0 -5
- package/dist/testing/limeobjects/company.d.ts +0 -56
- package/dist/testing/limeobjects/company.d.ts.map +0 -1
- package/dist/testing/limeobjects/company.js +0 -656
- package/dist/testing/limeobjects/coworker.d.ts +0 -23
- package/dist/testing/limeobjects/coworker.d.ts.map +0 -1
- package/dist/testing/limeobjects/coworker.js +0 -106
- package/dist/testing/limeobjects/deal.d.ts +0 -42
- package/dist/testing/limeobjects/deal.d.ts.map +0 -1
- package/dist/testing/limeobjects/deal.js +0 -443
- package/dist/testing/limeobjects/document.d.ts +0 -21
- package/dist/testing/limeobjects/document.d.ts.map +0 -1
- package/dist/testing/limeobjects/document.js +0 -78
- package/dist/testing/limeobjects/index.d.ts +0 -207
- package/dist/testing/limeobjects/index.d.ts.map +0 -1
- package/dist/testing/limeobjects/index.js +0 -55
- package/dist/testing/limeobjects/person.d.ts +0 -21
- package/dist/testing/limeobjects/person.d.ts.map +0 -1
- package/dist/testing/limeobjects/person.js +0 -1158
- package/dist/testing/limeobjects/todo.d.ts +0 -27
- package/dist/testing/limeobjects/todo.d.ts.map +0 -1
- package/dist/testing/limeobjects/todo.js +0 -102
- package/dist/testing/limetypes/campaign.d.ts +0 -418
- package/dist/testing/limetypes/campaign.d.ts.map +0 -1
- package/dist/testing/limetypes/campaign.js +0 -477
- package/dist/testing/limetypes/company.d.ts +0 -592
- package/dist/testing/limetypes/company.d.ts.map +0 -1
- package/dist/testing/limetypes/company.js +0 -614
- package/dist/testing/limetypes/consent.d.ts +0 -200
- package/dist/testing/limetypes/consent.d.ts.map +0 -1
- package/dist/testing/limetypes/consent.js +0 -232
- package/dist/testing/limetypes/consenttype.d.ts +0 -189
- package/dist/testing/limetypes/consenttype.d.ts.map +0 -1
- package/dist/testing/limetypes/consenttype.js +0 -189
- package/dist/testing/limetypes/coworker.d.ts +0 -564
- package/dist/testing/limetypes/coworker.d.ts.map +0 -1
- package/dist/testing/limetypes/coworker.js +0 -564
- package/dist/testing/limetypes/deal.d.ts +0 -392
- package/dist/testing/limetypes/deal.d.ts.map +0 -1
- package/dist/testing/limetypes/deal.js +0 -419
- package/dist/testing/limetypes/document.d.ts +0 -310
- package/dist/testing/limetypes/document.d.ts.map +0 -1
- package/dist/testing/limetypes/document.js +0 -332
- package/dist/testing/limetypes/helpdesk.d.ts +0 -395
- package/dist/testing/limetypes/helpdesk.d.ts.map +0 -1
- package/dist/testing/limetypes/helpdesk.js +0 -417
- package/dist/testing/limetypes/helpdesktype.d.ts +0 -137
- package/dist/testing/limetypes/helpdesktype.d.ts.map +0 -1
- package/dist/testing/limetypes/helpdesktype.js +0 -137
- package/dist/testing/limetypes/history.d.ts +0 -309
- package/dist/testing/limetypes/history.d.ts.map +0 -1
- package/dist/testing/limetypes/history.js +0 -346
- package/dist/testing/limetypes/index.d.ts +0 -10
- package/dist/testing/limetypes/index.d.ts.map +0 -1
- package/dist/testing/limetypes/index.js +0 -67
- package/dist/testing/limetypes/infotiles.d.ts +0 -388
- package/dist/testing/limetypes/infotiles.d.ts.map +0 -1
- package/dist/testing/limetypes/infotiles.js +0 -509
- package/dist/testing/limetypes/localize.d.ts +0 -284
- package/dist/testing/limetypes/localize.d.ts.map +0 -1
- package/dist/testing/limetypes/localize.js +0 -284
- package/dist/testing/limetypes/mailing.d.ts +0 -213
- package/dist/testing/limetypes/mailing.d.ts.map +0 -1
- package/dist/testing/limetypes/mailing.js +0 -213
- package/dist/testing/limetypes/office.d.ts +0 -385
- package/dist/testing/limetypes/office.d.ts.map +0 -1
- package/dist/testing/limetypes/office.js +0 -385
- package/dist/testing/limetypes/participant.d.ts +0 -166
- package/dist/testing/limetypes/participant.d.ts.map +0 -1
- package/dist/testing/limetypes/participant.js +0 -188
- package/dist/testing/limetypes/person.d.ts +0 -473
- package/dist/testing/limetypes/person.d.ts.map +0 -1
- package/dist/testing/limetypes/person.js +0 -530
- package/dist/testing/limetypes/recipient.d.ts +0 -148
- package/dist/testing/limetypes/recipient.d.ts.map +0 -1
- package/dist/testing/limetypes/recipient.js +0 -170
- package/dist/testing/limetypes/solutionimprovement.d.ts +0 -303
- package/dist/testing/limetypes/solutionimprovement.d.ts.map +0 -1
- package/dist/testing/limetypes/solutionimprovement.js +0 -344
- package/dist/testing/limetypes/successplan.d.ts +0 -210
- package/dist/testing/limetypes/successplan.d.ts.map +0 -1
- package/dist/testing/limetypes/successplan.js +0 -210
- package/dist/testing/limetypes/target.d.ts +0 -161
- package/dist/testing/limetypes/target.d.ts.map +0 -1
- package/dist/testing/limetypes/target.js +0 -178
- package/dist/testing/limetypes/todo.d.ts +0 -387
- package/dist/testing/limetypes/todo.d.ts.map +0 -1
- package/dist/testing/limetypes/todo.js +0 -426
- package/dist/testing/platform/index.d.ts +0 -10
- package/dist/testing/platform/index.d.ts.map +0 -1
- package/dist/testing/platform/index.js +0 -62
- package/dist/testing/platform/platform.spec.d.ts +0 -2
- package/dist/testing/platform/platform.spec.d.ts.map +0 -1
- package/dist/testing/platform/platform.spec.js +0 -41
- package/dist/testing/services/datetimeformatter.d.ts +0 -7
- package/dist/testing/services/datetimeformatter.d.ts.map +0 -1
- package/dist/testing/services/datetimeformatter.js +0 -10
- package/dist/testing/services/index.d.ts +0 -3
- package/dist/testing/services/index.d.ts.map +0 -1
- package/dist/testing/services/index.js +0 -2
- package/dist/testing/services/translator.d.ts +0 -7
- package/dist/testing/services/translator.d.ts.map +0 -1
- package/dist/testing/services/translator.js +0 -9
- package/dist/translator/index.js +0 -2
- package/dist/translator/translator.js +0 -1
- package/dist/translator/types.js +0 -3
- package/dist/userdata/decorator.js +0 -16
- package/dist/userdata/index.js +0 -3
- package/dist/userdata/repository.js +0 -1
- package/dist/userdata/types.js +0 -3
- package/dist/userpreferences/index.js +0 -2
- package/dist/userpreferences/repository.js +0 -1
- package/dist/userpreferences/types.js +0 -3
- package/dist/view/index.js +0 -3
- package/dist/view/layout.js +0 -1
- package/dist/view/registry.js +0 -1
- package/dist/view/types.js +0 -3
- package/dist/webcomponent/index.js +0 -2
- package/dist/webcomponent/registry.js +0 -1
- package/dist/webcomponent/types.js +0 -3
- package/testing/package.json +0 -14
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { person } from '../testing/limetypes/person';
|
|
2
|
-
import { getPropertiesByType } from './get-properties-by-type';
|
|
3
|
-
describe('getPropertiesByType', () => {
|
|
4
|
-
it('retrieves all properties of a specified type', () => {
|
|
5
|
-
const result = getPropertiesByType(Object.assign({}, person), 'string');
|
|
6
|
-
expect(result).toStrictEqual([
|
|
7
|
-
person.properties.firstname,
|
|
8
|
-
person.properties.lastname,
|
|
9
|
-
person.properties.name,
|
|
10
|
-
person.properties.position,
|
|
11
|
-
]);
|
|
12
|
-
});
|
|
13
|
-
it('returns an empty array if no properties match the type', () => {
|
|
14
|
-
const result = getPropertiesByType(Object.assign({}, person), 'integer');
|
|
15
|
-
expect(result).toStrictEqual([]);
|
|
16
|
-
});
|
|
17
|
-
describe('edge cases', () => {
|
|
18
|
-
it('returns an empty array if limetype has no properties', () => {
|
|
19
|
-
const emptyLimetype = {
|
|
20
|
-
label: 'empty',
|
|
21
|
-
properties: {},
|
|
22
|
-
};
|
|
23
|
-
const result = getPropertiesByType(emptyLimetype, 'string');
|
|
24
|
-
expect(result).toStrictEqual([]);
|
|
25
|
-
});
|
|
26
|
-
it('throws an error if limetype is null or undefined', () => {
|
|
27
|
-
expect(() => getPropertiesByType(null, 'string')).toThrow();
|
|
28
|
-
expect(() => getPropertiesByType(undefined, 'string')).toThrow();
|
|
29
|
-
});
|
|
30
|
-
});
|
|
31
|
-
});
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { hasLabel } from '.';
|
|
2
|
-
/**
|
|
3
|
-
* Retrieves a property from a limetype by its label.
|
|
4
|
-
*
|
|
5
|
-
* This function searches through the properties of a given limetype
|
|
6
|
-
* and returns the first property that matches the specified label.
|
|
7
|
-
*
|
|
8
|
-
* @param limetype - The limetype containing the properties.
|
|
9
|
-
* @param label - The label of the property to retrieve.
|
|
10
|
-
* @returns The property with the specified label, or `undefined` if no match is found.
|
|
11
|
-
*
|
|
12
|
-
* @public
|
|
13
|
-
* @group Lime types
|
|
14
|
-
*/
|
|
15
|
-
export function getPropertyByLabel(limetype, label) {
|
|
16
|
-
return Object.values(limetype.properties).find(hasLabel(label));
|
|
17
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { person } from '../testing/limetypes/person';
|
|
2
|
-
import { getPropertyByLabel } from './get-property-by-label';
|
|
3
|
-
describe('getPropertyByLabel', () => {
|
|
4
|
-
it('retrieves a property by its label', () => {
|
|
5
|
-
const result = getPropertyByLabel(Object.assign({}, person), 'primaryemailaddress');
|
|
6
|
-
expect(result).toStrictEqual(person.properties.email);
|
|
7
|
-
});
|
|
8
|
-
it('returns undefined if no property matches the label', () => {
|
|
9
|
-
const result = getPropertyByLabel(Object.assign({}, person), 'nonexistent');
|
|
10
|
-
expect(result).toBeUndefined();
|
|
11
|
-
});
|
|
12
|
-
describe('edge cases', () => {
|
|
13
|
-
it('returns undefined if limetype has no properties', () => {
|
|
14
|
-
const emptyLimetype = {
|
|
15
|
-
label: 'empty',
|
|
16
|
-
properties: {},
|
|
17
|
-
};
|
|
18
|
-
const result = getPropertyByLabel(emptyLimetype, 'primaryemailaddress');
|
|
19
|
-
expect(result).toBeUndefined();
|
|
20
|
-
});
|
|
21
|
-
it('throws an error if limetype is null or undefined', () => {
|
|
22
|
-
expect(() => getPropertyByLabel(null, 'primaryemailaddress')).toThrow();
|
|
23
|
-
expect(() => getPropertyByLabel(undefined, 'primaryemailaddress')).toThrow();
|
|
24
|
-
});
|
|
25
|
-
});
|
|
26
|
-
});
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Retrieves a property from a limetype by its name.
|
|
3
|
-
*
|
|
4
|
-
* This function extracts a specific property from a given limetype
|
|
5
|
-
* based on the property's name.
|
|
6
|
-
*
|
|
7
|
-
* @param limetype - The limetype containing the properties.
|
|
8
|
-
* @param propertyName - The name of the property to retrieve.
|
|
9
|
-
* @returns The property with the specified name.
|
|
10
|
-
* @throws Will throw an error if the property name does not exist in the limetype.
|
|
11
|
-
*
|
|
12
|
-
* @public
|
|
13
|
-
* @group Lime types
|
|
14
|
-
*/
|
|
15
|
-
export function getPropertyByName(limetype, propertyName) {
|
|
16
|
-
return limetype.properties[propertyName];
|
|
17
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { person } from '../testing/limetypes/person';
|
|
2
|
-
import { getPropertyByName } from './get-property-by-name';
|
|
3
|
-
describe('getPropertyByName', () => {
|
|
4
|
-
it('retrieves a property by its name', () => {
|
|
5
|
-
const result = getPropertyByName(Object.assign({}, person), 'email');
|
|
6
|
-
expect(result).toStrictEqual(person.properties.email);
|
|
7
|
-
});
|
|
8
|
-
it('returns `undefined` if the property does not exist', () => {
|
|
9
|
-
const result = getPropertyByName(Object.assign({}, person), 'age');
|
|
10
|
-
expect(result).toBeUndefined();
|
|
11
|
-
});
|
|
12
|
-
describe('edge cases', () => {
|
|
13
|
-
it('returns undefined if limetype has no properties', () => {
|
|
14
|
-
const emptyLimetype = {
|
|
15
|
-
label: 'Empty',
|
|
16
|
-
properties: {},
|
|
17
|
-
};
|
|
18
|
-
const result = getPropertyByName(emptyLimetype, 'email');
|
|
19
|
-
expect(result).toBeUndefined();
|
|
20
|
-
});
|
|
21
|
-
it('throws an error if limetype is null or undefined', () => {
|
|
22
|
-
expect(() => getPropertyByName(null, 'email')).toThrow();
|
|
23
|
-
expect(() => getPropertyByName(undefined, 'email')).toThrow();
|
|
24
|
-
});
|
|
25
|
-
});
|
|
26
|
-
});
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Creates a function to check if a given object has a specific label.
|
|
3
|
-
*
|
|
4
|
-
* The returned function takes an object (a `LimeType` or `LimeProperty`) and
|
|
5
|
-
* checks whether it contains the specified label. This function is typically
|
|
6
|
-
* used as a callback for array methods like `.find` or `.filter`.
|
|
7
|
-
*
|
|
8
|
-
* @param label - The label to check for.
|
|
9
|
-
* @returns A function that takes an optional object and returns `true` if the label matches, or `false` otherwise.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```typescript
|
|
13
|
-
* import { hasLabel } from '@limetech/lime-web-components';
|
|
14
|
-
*
|
|
15
|
-
* const properties = [
|
|
16
|
-
* { label: 'name', type: 'string' },
|
|
17
|
-
* { label: 'email', type: 'string' },
|
|
18
|
-
* ];
|
|
19
|
-
*
|
|
20
|
-
* const emailProperty = properties.find(hasLabel('email'));
|
|
21
|
-
* console.log(emailProperty); // { label: 'email', type: 'string' }
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @public
|
|
25
|
-
* @group Lime types
|
|
26
|
-
*/
|
|
27
|
-
export const hasLabel = (label) => (object) => {
|
|
28
|
-
return (object === null || object === void 0 ? void 0 : object.label) === label;
|
|
29
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { person } from '../testing/limetypes/person';
|
|
2
|
-
import { hasLabel } from './has-label';
|
|
3
|
-
describe('hasLabel', () => {
|
|
4
|
-
it('returns true if the object has the specified label', () => {
|
|
5
|
-
const checkLabel = hasLabel('primaryemailaddress');
|
|
6
|
-
expect(checkLabel(person.properties.email)).toBe(true);
|
|
7
|
-
});
|
|
8
|
-
it('returns false if the object does not have the specified label', () => {
|
|
9
|
-
const checkLabel = hasLabel('firstname');
|
|
10
|
-
expect(checkLabel(person.properties.email)).toBe(false);
|
|
11
|
-
});
|
|
12
|
-
it('returns false if the object is undefined', () => {
|
|
13
|
-
const checkLabel = hasLabel('firstname');
|
|
14
|
-
expect(checkLabel(undefined)).toBe(false);
|
|
15
|
-
});
|
|
16
|
-
describe('edge cases', () => {
|
|
17
|
-
it('returns false if the object has no label property', () => {
|
|
18
|
-
const obj = { type: 'string' };
|
|
19
|
-
const checkLabel = hasLabel('firstname');
|
|
20
|
-
expect(checkLabel(obj)).toBe(false);
|
|
21
|
-
});
|
|
22
|
-
// At the moment, if both the label and the search string are empty
|
|
23
|
-
// strings, the function will return true.
|
|
24
|
-
// That's probably a mistake? /Ads
|
|
25
|
-
it.skip('returns false if the label is an empty string', () => {
|
|
26
|
-
const obj = { label: '', type: 'string' };
|
|
27
|
-
const checkLabel = hasLabel('');
|
|
28
|
-
expect(checkLabel(obj)).toBe(false);
|
|
29
|
-
});
|
|
30
|
-
});
|
|
31
|
-
});
|
package/dist/limetype/index.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from './acl';
|
|
2
|
-
export * from './limetype';
|
|
3
|
-
export * from './property';
|
|
4
|
-
export * from './repository';
|
|
5
|
-
export * from './types';
|
|
6
|
-
export * from './decorator';
|
|
7
|
-
export * from './find-limetype-by-label';
|
|
8
|
-
export * from './get-properties-by-type';
|
|
9
|
-
export * from './get-property-by-label';
|
|
10
|
-
export * from './get-property-by-name';
|
|
11
|
-
export * from './has-label';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @public
|
|
3
|
-
* @group Lime types
|
|
4
|
-
*/
|
|
5
|
-
export function isRelation(property) {
|
|
6
|
-
const propTypes = [
|
|
7
|
-
'belongsto',
|
|
8
|
-
'hasone',
|
|
9
|
-
'hasmany',
|
|
10
|
-
'hasandbelongstomany',
|
|
11
|
-
];
|
|
12
|
-
return property && propTypes.includes(property.type);
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @public
|
|
16
|
-
* @group Lime types
|
|
17
|
-
*/
|
|
18
|
-
export function isSingleRelation(property) {
|
|
19
|
-
const propTypes = ['belongsto', 'hasone'];
|
|
20
|
-
return property && propTypes.includes(property.type);
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* @public
|
|
24
|
-
* @group Lime types
|
|
25
|
-
*/
|
|
26
|
-
export function isDate(property) {
|
|
27
|
-
const propTypes = [
|
|
28
|
-
'time',
|
|
29
|
-
'timeofday',
|
|
30
|
-
'date',
|
|
31
|
-
'year',
|
|
32
|
-
'quarter',
|
|
33
|
-
'month',
|
|
34
|
-
];
|
|
35
|
-
return property && propTypes.includes(property.type);
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @public
|
|
39
|
-
* @group Lime types
|
|
40
|
-
*/
|
|
41
|
-
export function isString(property) {
|
|
42
|
-
const propTypes = ['string', 'text', 'phone', 'link'];
|
|
43
|
-
return property && propTypes.includes(property.type);
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* @public
|
|
47
|
-
* @group Lime types
|
|
48
|
-
*/
|
|
49
|
-
export function isFloat(property) {
|
|
50
|
-
const propTypes = ['decimal', 'percent'];
|
|
51
|
-
return property && propTypes.includes(property.type);
|
|
52
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/limetype/types.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Command } from '../commandbus';
|
|
3
|
-
/**
|
|
4
|
-
* Navigates to a new location
|
|
5
|
-
*
|
|
6
|
-
* @id `navigator.navigate`
|
|
7
|
-
* @beta
|
|
8
|
-
* @group Navigation
|
|
9
|
-
*/
|
|
10
|
-
let NavigateCommand = class NavigateCommand {
|
|
11
|
-
};
|
|
12
|
-
NavigateCommand = __decorate([
|
|
13
|
-
Command({
|
|
14
|
-
id: 'navigator.navigate',
|
|
15
|
-
})
|
|
16
|
-
], NavigateCommand);
|
|
17
|
-
export { NavigateCommand };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { PlatformServiceName } from '../core';
|
|
2
|
-
import { createStateDecorator, } from '../core/decorators/factory';
|
|
3
|
-
/**
|
|
4
|
-
* Gets a named query param from the location
|
|
5
|
-
*
|
|
6
|
-
* @param options - state decorator options
|
|
7
|
-
* @returns state decorator
|
|
8
|
-
* @beta
|
|
9
|
-
* @group Navigation
|
|
10
|
-
*/
|
|
11
|
-
export function SelectQueryParam(options) {
|
|
12
|
-
const config = {
|
|
13
|
-
name: PlatformServiceName.Navigator,
|
|
14
|
-
};
|
|
15
|
-
return createStateDecorator(Object.assign({ context: null }, options), config);
|
|
16
|
-
}
|
package/dist/navigator/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/navigator/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/poller/factory.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/poller/index.js
DELETED
package/dist/poller/poller.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/poller/types.js
DELETED
package/dist/query/index.js
DELETED
package/dist/query/query.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @public
|
|
3
|
-
* @group Query
|
|
4
|
-
*/
|
|
5
|
-
export var Operator;
|
|
6
|
-
(function (Operator) {
|
|
7
|
-
Operator["AND"] = "AND";
|
|
8
|
-
Operator["OR"] = "OR";
|
|
9
|
-
Operator["NOT"] = "!";
|
|
10
|
-
Operator["EQUALS"] = "=";
|
|
11
|
-
Operator["NOT_EQUALS"] = "!=";
|
|
12
|
-
Operator["GREATER"] = ">";
|
|
13
|
-
Operator["LESS"] = "<";
|
|
14
|
-
Operator["IN"] = "IN";
|
|
15
|
-
Operator["BEGINS"] = "=?";
|
|
16
|
-
Operator["LIKE"] = "?";
|
|
17
|
-
Operator["LESS_OR_EQUAL"] = "<=";
|
|
18
|
-
Operator["GREATER_OR_EQUAL"] = ">=";
|
|
19
|
-
Operator["ENDS"] = "=$";
|
|
20
|
-
})(Operator || (Operator = {}));
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @beta
|
|
24
|
-
*/
|
|
25
|
-
export const AggregateOperator = {
|
|
26
|
-
Count: 'COUNT',
|
|
27
|
-
Sum: 'SUM',
|
|
28
|
-
Average: 'AVG',
|
|
29
|
-
Maximum: 'MAX',
|
|
30
|
-
Minimum: 'MIN',
|
|
31
|
-
};
|
package/dist/query/service.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/query/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/task/index.js
DELETED
package/dist/task/repository.js
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @public
|
|
3
|
-
* @group Tasks
|
|
4
|
-
*/
|
|
5
|
-
export var TaskState;
|
|
6
|
-
(function (TaskState) {
|
|
7
|
-
/**
|
|
8
|
-
* Task state is unknown
|
|
9
|
-
*/
|
|
10
|
-
TaskState["Pending"] = "PENDING";
|
|
11
|
-
/**
|
|
12
|
-
* Task was started by a worker
|
|
13
|
-
*/
|
|
14
|
-
TaskState["Started"] = "STARTED";
|
|
15
|
-
/**
|
|
16
|
-
* Task is waiting for retry
|
|
17
|
-
*/
|
|
18
|
-
TaskState["Retry"] = "RETRY";
|
|
19
|
-
/**
|
|
20
|
-
* Task succeeded
|
|
21
|
-
*/
|
|
22
|
-
TaskState["Success"] = "SUCCESS";
|
|
23
|
-
/**
|
|
24
|
-
* Task failed
|
|
25
|
-
*/
|
|
26
|
-
TaskState["Failure"] = "FAILURE";
|
|
27
|
-
})(TaskState || (TaskState = {}));
|
|
28
|
-
/**
|
|
29
|
-
* Events dispatched by the task service
|
|
30
|
-
* @public
|
|
31
|
-
* @group Tasks
|
|
32
|
-
*/
|
|
33
|
-
export var TaskEventType;
|
|
34
|
-
(function (TaskEventType) {
|
|
35
|
-
/**
|
|
36
|
-
* Dispatched when a task has been created.
|
|
37
|
-
*
|
|
38
|
-
* @see {@link TaskEvent}
|
|
39
|
-
*/
|
|
40
|
-
TaskEventType["Created"] = "task.created";
|
|
41
|
-
/**
|
|
42
|
-
* Dispatched when the task has successfully been completed
|
|
43
|
-
*
|
|
44
|
-
* @see {@link TaskEvent}
|
|
45
|
-
*/
|
|
46
|
-
TaskEventType["Success"] = "task.success";
|
|
47
|
-
/**
|
|
48
|
-
* Dispatched if an error occured while running the task
|
|
49
|
-
*
|
|
50
|
-
* @see {@link TaskEvent}
|
|
51
|
-
*/
|
|
52
|
-
TaskEventType["Failed"] = "task.failed";
|
|
53
|
-
})(TaskEventType || (TaskEventType = {}));
|
package/dist/task/types.js
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { SpecPage } from '@stencil/core/testing';
|
|
2
|
-
/**
|
|
3
|
-
* @public
|
|
4
|
-
* @deprecated use `@lundalogik/limeclient.js/testing` to create a platform suitable for testing
|
|
5
|
-
*/
|
|
6
|
-
export interface ComponentProps {
|
|
7
|
-
[name: string]: any;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* @public
|
|
11
|
-
* @deprecated use `@lundalogik/limeclient.js/testing` to create a platform suitable for testing
|
|
12
|
-
*/
|
|
13
|
-
export interface ComponentListeners {
|
|
14
|
-
[name: string]: (event: CustomEvent<any>) => void;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @public
|
|
18
|
-
* @deprecated use `@lundalogik/limeclient.js/testing` to create a platform suitable for testing
|
|
19
|
-
*/
|
|
20
|
-
export interface ComponentConfig {
|
|
21
|
-
/**
|
|
22
|
-
* Tag name of the component
|
|
23
|
-
*/
|
|
24
|
-
tag: string;
|
|
25
|
-
/**
|
|
26
|
-
* The props to give the component when it is created
|
|
27
|
-
*/
|
|
28
|
-
props?: ComponentProps;
|
|
29
|
-
/**
|
|
30
|
-
* The initial state to give the component when it is created
|
|
31
|
-
*/
|
|
32
|
-
state?: object;
|
|
33
|
-
/**
|
|
34
|
-
* Any listeners to attach to the component
|
|
35
|
-
*/
|
|
36
|
-
listeners?: ComponentListeners;
|
|
37
|
-
/**
|
|
38
|
-
* A list of elements to append to the created component before it's inserted into the DOM
|
|
39
|
-
*/
|
|
40
|
-
children?: HTMLElement[];
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Create a new component
|
|
44
|
-
*
|
|
45
|
-
* @param component - the component class
|
|
46
|
-
* @param page - the page to create the component on
|
|
47
|
-
* @param config - component configuration
|
|
48
|
-
* @returns the component
|
|
49
|
-
* @public
|
|
50
|
-
*
|
|
51
|
-
* @deprecated use `newSpecPage` from `@stencil/core/testing`
|
|
52
|
-
*/
|
|
53
|
-
export declare function createComponent(component: any, page: SpecPage, config: ComponentConfig): HTMLElement;
|
|
54
|
-
/**
|
|
55
|
-
* Destroy a component that was created by the `createComponent` function
|
|
56
|
-
*
|
|
57
|
-
* @param component - the component to destroy
|
|
58
|
-
* @returns
|
|
59
|
-
* @public
|
|
60
|
-
*
|
|
61
|
-
* @deprecated use `@lundalogik/limeclient.js/testing` to create a platform suitable for testing
|
|
62
|
-
*/
|
|
63
|
-
export declare function destroyComponent(component: HTMLElement): void;
|
|
64
|
-
/**
|
|
65
|
-
* Set a state variable on the component
|
|
66
|
-
*
|
|
67
|
-
* @param component - the component
|
|
68
|
-
* @param state - the state variables to set along with their values
|
|
69
|
-
* @returns
|
|
70
|
-
* @public
|
|
71
|
-
* @deprecated use platform from limeclient.js instead
|
|
72
|
-
*/
|
|
73
|
-
export declare function setState(component: HTMLElement, state: object): void;
|
|
74
|
-
//# sourceMappingURL=component-testing.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC3B,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC;CACvB;AAED;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IAC/B,CAAC,IAAI,EAAE,MAAM,GAAG,CAAC,KAAK,EAAE,WAAW,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC;CACrD;AAED;;;GAGG;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;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAC3B,SAAS,EAAE,GAAG,EACd,IAAI,EAAE,QAAQ,EACd,MAAM,EAAE,eAAe,GACxB,WAAW,CA4Bb;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,WAAW,GAAG,IAAI,CAW7D;AAED;;;;;;;;GAQG;AACH,wBAAgB,QAAQ,CAAC,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,QAG7D"}
|