This repository has been archived by the owner on May 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlaxar-patterns.js
97 lines (87 loc) · 2.17 KB
/
laxar-patterns.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/**
* Copyright 2016 aixigo AG
* Released under the MIT license.
* http://laxarjs.org/license
*/
/**
* Entry point to all laxar patterns APIs.
* The APIs provided by this module usually work on the `AxContext` object of a widget instance, and help
* when working with certain common event handling and resource patterns.
*
* @module laxar-patterns
*/
import * as actions from './lib/actions';
import * as errors from './lib/errors';
import * as flags from './lib/flags';
import * as i18n from './lib/i18n';
import * as json from './lib/json';
import * as resources from './lib/resources';
import * as validation from './lib/validation';
import * as visibility from './lib/visibility';
export {
/**
* The [actions](./lib.actions.md) module.
* Convenience for *takeActionRequest*, *willTakeAction* and *didTakeAction* events.
*
* @type {Object}
* @name actions
*/
actions,
/**
* The [errors](./lib.errors.md) module.
* Convenience for *didEncounterError* events.
*
* @type {Object}
* @name errors
*/
errors,
/**
* The [flags](./lib.flags.md) module.
* Convenience for *didChangeFlag* events.
*
* @type {Object}
* @name flags
*/
flags,
/**
* The [i18n](./lib.i18n.md) module.
* Convenience for *didChangeLocale* events.
*
* @type {Object}
* @name i18n
*/
i18n,
/**
* The [json](./lib.json.md) module.
* Helpers for working with rfc-6902 JSON patch data.
*
* @type {Object}
* @name json
*/
json,
/**
* The [resources](./lib.resources.md) module.
* Convenience for *didReplace* and *didUpdate* events.
*
* @type {Object}
* @name resources
*/
resources,
/**
* The [validation](./lib.validation.md) module.
* Convenience for *validateRequest*, *willValidate* and *didValidate* events.
*
* @type {Object}
* @name validation
*/
validation,
/**
* The [visibility](./lib.visibility.md) module.
* Convenience for *changeWidgetVisibilityRequest*, *changeAreaVisibilityRequest* and
* *didChangeAreaVisibility* events.
*
* @type {Object}
* @name visibility
*/
visibility
};