@beinformed/ui 1.24.1-beta.1 → 1.24.1-beta.3

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.
Files changed (185) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/package.json +3 -2
  3. package/types/constants/Constants.d.ts +151 -0
  4. package/types/constants/LayoutHintConfig.d.ts +241 -0
  5. package/types/constants/LayoutHints.d.ts +78 -0
  6. package/types/constants/Settings.d.ts +16 -0
  7. package/types/constants/index.d.ts +3 -0
  8. package/types/exceptions/ConfigurationException.d.ts +6 -0
  9. package/types/exceptions/FetchException.d.ts +31 -0
  10. package/types/exceptions/IllegalArgumentException.d.ts +6 -0
  11. package/types/exceptions/IllegalReturnException.d.ts +5 -0
  12. package/types/exceptions/IllegalStateException.d.ts +6 -0
  13. package/types/exceptions/JsonParseException.d.ts +6 -0
  14. package/types/exceptions/MissingPropertyException.d.ts +6 -0
  15. package/types/exceptions/NetworkException.d.ts +9 -0
  16. package/types/exceptions/NotAllowedUriException.d.ts +6 -0
  17. package/types/exceptions/NotFoundException.d.ts +10 -0
  18. package/types/exceptions/ServerRequestException.d.ts +6 -0
  19. package/types/exceptions/ThemePropertyException.d.ts +6 -0
  20. package/types/exceptions/TimeoutException.d.ts +7 -0
  21. package/types/exceptions/UnauthorizedException.d.ts +11 -0
  22. package/types/exceptions/UnsupportedOperationException.d.ts +6 -0
  23. package/types/exceptions/index.d.ts +15 -0
  24. package/types/hooks/useI18n.d.ts +9 -0
  25. package/types/i18n/Locale.d.ts +53 -0
  26. package/types/i18n/Locales.d.ts +55 -0
  27. package/types/i18n/Message.d.ts +6 -0
  28. package/types/i18n/index.d.ts +5 -0
  29. package/types/i18n/languages.d.ts +215 -0
  30. package/types/i18n/translations/beinformed_error_messages_en.nl.d.ts +97 -0
  31. package/types/i18n/translations/beinformed_error_messages_nl.nl.d.ts +97 -0
  32. package/types/i18n/types.d.ts +11 -0
  33. package/types/i18n/withMessage.d.ts +3 -0
  34. package/types/index.d.ts +6 -0
  35. package/types/models/actions/ActionCollection.d.ts +29 -0
  36. package/types/models/actions/ActionModel.d.ts +84 -0
  37. package/types/models/application/ApplicationModel.d.ts +41 -0
  38. package/types/models/attributes/AttributeCollection.d.ts +96 -0
  39. package/types/models/attributes/AttributeContent.d.ts +64 -0
  40. package/types/models/attributes/AttributeDataHelper.d.ts +67 -0
  41. package/types/models/attributes/AttributeModel.d.ts +395 -0
  42. package/types/models/attributes/AttributeSetModel.d.ts +28 -0
  43. package/types/models/attributes/BooleanAttributeModel.d.ts +65 -0
  44. package/types/models/attributes/CaptchaAttributeModel.d.ts +10 -0
  45. package/types/models/attributes/ChoiceAttributeModel.d.ts +76 -0
  46. package/types/models/attributes/ChoiceAttributeOptionCollection.d.ts +82 -0
  47. package/types/models/attributes/ChoiceAttributeOptionModel.d.ts +133 -0
  48. package/types/models/attributes/CompositeAttributeChildCollection.d.ts +56 -0
  49. package/types/models/attributes/CompositeAttributeModel.d.ts +44 -0
  50. package/types/models/attributes/DatetimeAttributeModel.d.ts +111 -0
  51. package/types/models/attributes/HelptextAttributeModel.d.ts +16 -0
  52. package/types/models/attributes/LabelAttributeModel.d.ts +12 -0
  53. package/types/models/attributes/MemoAttributeModel.d.ts +14 -0
  54. package/types/models/attributes/MoneyAttributeModel.d.ts +14 -0
  55. package/types/models/attributes/NumberAttributeModel.d.ts +49 -0
  56. package/types/models/attributes/PasswordAttributeModel.d.ts +62 -0
  57. package/types/models/attributes/StringAttributeModel.d.ts +62 -0
  58. package/types/models/attributes/UploadAttributeModel.d.ts +54 -0
  59. package/types/models/attributes/XMLAttributeModel.d.ts +10 -0
  60. package/types/models/attributes/_createAttribute.d.ts +6 -0
  61. package/types/models/attributes/input-constraints/BSNConstraint.d.ts +26 -0
  62. package/types/models/attributes/input-constraints/ConstraintCollection.d.ts +24 -0
  63. package/types/models/attributes/input-constraints/ConstraintModel.d.ts +34 -0
  64. package/types/models/attributes/input-constraints/DateBoundaryConstraint.d.ts +109 -0
  65. package/types/models/attributes/input-constraints/DateTimeDateFormatConstraint.d.ts +36 -0
  66. package/types/models/attributes/input-constraints/DateTimeTimeFormatConstraint.d.ts +36 -0
  67. package/types/models/attributes/input-constraints/DatetimeFormatConstraint.d.ts +92 -0
  68. package/types/models/attributes/input-constraints/FileExtensionConstraint.d.ts +33 -0
  69. package/types/models/attributes/input-constraints/FileSizeConstraint.d.ts +42 -0
  70. package/types/models/attributes/input-constraints/IBANConstraint.d.ts +23 -0
  71. package/types/models/attributes/input-constraints/MandatoryConstraint.d.ts +23 -0
  72. package/types/models/attributes/input-constraints/MandatoryRangeConstraint.d.ts +36 -0
  73. package/types/models/attributes/input-constraints/NumberBoundaryConstraint.d.ts +61 -0
  74. package/types/models/attributes/input-constraints/NumberFormatConstraint.d.ts +52 -0
  75. package/types/models/attributes/input-constraints/NumberGroupingConstraint.d.ts +46 -0
  76. package/types/models/attributes/input-constraints/PasswordConfirmConstraint.d.ts +36 -0
  77. package/types/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.d.ts +23 -0
  78. package/types/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.d.ts +32 -0
  79. package/types/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.d.ts +32 -0
  80. package/types/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.d.ts +35 -0
  81. package/types/models/attributes/input-constraints/RangeConstraint.d.ts +97 -0
  82. package/types/models/attributes/input-constraints/RegexConstraint.d.ts +37 -0
  83. package/types/models/attributes/input-constraints/StringLengthConstraint.d.ts +46 -0
  84. package/types/models/attributes/input-constraints/XMLConstraint.d.ts +26 -0
  85. package/types/models/attributes/layouthint-rules/BaseLayoutHintRule.d.ts +46 -0
  86. package/types/models/attributes/layouthint-rules/DependentAttribute.d.ts +57 -0
  87. package/types/models/attributes/layouthint-rules/LayoutHintRuleCollection.d.ts +27 -0
  88. package/types/models/attributes/layouthint-rules/RemainingTotalUploadSize.d.ts +17 -0
  89. package/types/models/base/BaseCollection.d.ts +89 -0
  90. package/types/models/base/BaseModel.d.ts +58 -0
  91. package/types/models/base/ResourceCollection.d.ts +19 -0
  92. package/types/models/base/ResourceModel.d.ts +93 -0
  93. package/types/models/caseview/CaseViewModel.d.ts +45 -0
  94. package/types/models/concepts/BusinessScenarioModel.d.ts +20 -0
  95. package/types/models/concepts/ConceptDetailModel.d.ts +69 -0
  96. package/types/models/concepts/ConceptIndexModel.d.ts +36 -0
  97. package/types/models/concepts/ConceptLinkModel.d.ts +65 -0
  98. package/types/models/concepts/ConceptRelationCollection.d.ts +34 -0
  99. package/types/models/concepts/ConceptRelationModel.d.ts +43 -0
  100. package/types/models/concepts/ConceptTypeDetailModel.d.ts +39 -0
  101. package/types/models/concepts/SourceReferenceCollection.d.ts +13 -0
  102. package/types/models/concepts/SourceReferenceModel.d.ts +30 -0
  103. package/types/models/content/ContentIndexModel.d.ts +34 -0
  104. package/types/models/content/ContentLinkModel.d.ts +81 -0
  105. package/types/models/content/ContentModel.d.ts +74 -0
  106. package/types/models/content/ContentTOCModel.d.ts +37 -0
  107. package/types/models/content/ContentTypeModel.d.ts +26 -0
  108. package/types/models/content/SectionModel.d.ts +75 -0
  109. package/types/models/content/SubSectionModel.d.ts +64 -0
  110. package/types/models/contentconfiguration/ContentConfiguration.d.ts +28 -0
  111. package/types/models/contentconfiguration/ContentConfigurationElements.d.ts +47 -0
  112. package/types/models/contentconfiguration/ContentConfigurationEndResults.d.ts +16 -0
  113. package/types/models/contentconfiguration/ContentConfigurationQuestions.d.ts +22 -0
  114. package/types/models/contentconfiguration/ContentConfigurationResults.d.ts +39 -0
  115. package/types/models/detail/DetailModel.d.ts +72 -0
  116. package/types/models/error/ErrorCollection.d.ts +51 -0
  117. package/types/models/error/ErrorModel.d.ts +36 -0
  118. package/types/models/error/ErrorResponse.d.ts +148 -0
  119. package/types/models/filters/AssignmentFilterModel.d.ts +35 -0
  120. package/types/models/filters/BaseFilterModel.d.ts +85 -0
  121. package/types/models/filters/ConceptIndexFilterModel.d.ts +6 -0
  122. package/types/models/filters/FilterCollection.d.ts +48 -0
  123. package/types/models/filters/FilterModel.d.ts +5 -0
  124. package/types/models/filters/RangeFilterModel.d.ts +6 -0
  125. package/types/models/form/FormModel.d.ts +309 -0
  126. package/types/models/form/FormObjectModel.d.ts +168 -0
  127. package/types/models/grouping/GroupingModel.d.ts +85 -0
  128. package/types/models/href/Href.d.ts +17 -0
  129. package/types/models/href/ListHref.d.ts +64 -0
  130. package/types/models/index.d.ts +94 -0
  131. package/types/models/layouthint/LayoutHintCollection.d.ts +43 -0
  132. package/types/models/links/LinkCollection.d.ts +62 -0
  133. package/types/models/links/LinkModel.d.ts +92 -0
  134. package/types/models/links/normalizeLinkJSON.d.ts +9 -0
  135. package/types/models/list/ListDetailModel.d.ts +69 -0
  136. package/types/models/list/ListHeaderModel.d.ts +64 -0
  137. package/types/models/list/ListItemCollection.d.ts +21 -0
  138. package/types/models/list/ListItemModel.d.ts +34 -0
  139. package/types/models/list/ListModel.d.ts +135 -0
  140. package/types/models/lookup/LookupOptionCollection.d.ts +11 -0
  141. package/types/models/lookup/LookupOptionsModel.d.ts +19 -0
  142. package/types/models/modelcatalog/ModelCatalogModel.d.ts +18 -0
  143. package/types/models/paging/PagesizeModel.d.ts +25 -0
  144. package/types/models/paging/PagingModel.d.ts +49 -0
  145. package/types/models/panels/GroupingPanelModel.d.ts +39 -0
  146. package/types/models/parameter/Parameter.d.ts +40 -0
  147. package/types/models/process/ProcessStatusSettingsModel.d.ts +38 -0
  148. package/types/models/resolveModel.d.ts +7 -0
  149. package/types/models/search/CaseSearchModel.d.ts +14 -0
  150. package/types/models/sorting/SortOptionModel.d.ts +48 -0
  151. package/types/models/sorting/SortingModel.d.ts +42 -0
  152. package/types/models/tab/TabModel.d.ts +44 -0
  153. package/types/models/taskgroup/TaskGroupCollection.d.ts +12 -0
  154. package/types/models/taskgroup/TaskGroupModel.d.ts +15 -0
  155. package/types/models/types.d.ts +147 -0
  156. package/types/models/user/UserModel.d.ts +14 -0
  157. package/types/models/user/UserProfileModel.d.ts +12 -0
  158. package/types/models/user/UserServicesModel.d.ts +28 -0
  159. package/types/modularui/Authenticate.d.ts +42 -0
  160. package/types/modularui/ModularUIError.d.ts +10 -0
  161. package/types/modularui/ModularUIRequest.d.ts +170 -0
  162. package/types/modularui/ModularUIResponse.d.ts +56 -0
  163. package/types/modularui/index.d.ts +3 -0
  164. package/types/redux/_i18n/types.d.ts +13 -0
  165. package/types/redux/_modularui/types.d.ts +49 -0
  166. package/types/redux/_router/types.d.ts +35 -0
  167. package/types/redux/selectors/i18n.d.ts +4 -0
  168. package/types/redux/types.d.ts +105 -0
  169. package/types/utils/browser/Cache.d.ts +45 -0
  170. package/types/utils/browser/Cookies.d.ts +15 -0
  171. package/types/utils/datetime/DateTimeUtil.d.ts +164 -0
  172. package/types/utils/fetch/serverFetch.d.ts +5 -0
  173. package/types/utils/fetch/types.d.ts +38 -0
  174. package/types/utils/fetch/universalFetch.d.ts +7 -0
  175. package/types/utils/fetch/xhr.d.ts +5 -0
  176. package/types/utils/helpers/checkResource.d.ts +3 -0
  177. package/types/utils/helpers/createHash.d.ts +8 -0
  178. package/types/utils/helpers/createUUID.d.ts +4 -0
  179. package/types/utils/helpers/objects.d.ts +3 -0
  180. package/types/utils/helpers/sanitizeHtml.d.ts +9 -0
  181. package/types/utils/helpers/text.d.ts +7 -0
  182. package/types/utils/index.d.ts +16 -0
  183. package/types/utils/number/DecimalFormat.d.ts +90 -0
  184. package/types/utils/number/formatValue.d.ts +4 -0
  185. package/types/utils/number/parseNumbers.d.ts +9 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.24.1-beta.3](https://git.beinformed.com/public/nl.beinformed.bi.layout.lib.ui/compare/v1.24.1-beta.2...v1.24.1-beta.3) (2022-12-06)
6
+
7
+ ### Bug Fixes
8
+
9
+ - **typings:** add generated typescript typings ([6fcda6a](https://git.beinformed.com/public/nl.beinformed.bi.layout.lib.ui/commit/6fcda6a35b697a118b07a34e39003a556c36a179))
10
+
11
+ ### [1.24.1-beta.2](https://git.beinformed.com/public/nl.beinformed.bi.layout.lib.ui/compare/v1.24.1-beta.1...v1.24.1-beta.2) (2022-12-06)
12
+
13
+ ### Bug Fixes
14
+
15
+ - **typings:** add generated typescript typings ([a382873](https://git.beinformed.com/public/nl.beinformed.bi.layout.lib.ui/commit/a3828736ad3fbc83c60c41f265d74abdd1fe7478))
16
+
5
17
  ### [1.24.1-beta.1](https://git.beinformed.com/public/nl.beinformed.bi.layout.lib.ui/compare/v1.24.1-beta.0...v1.24.1-beta.1) (2022-12-06)
6
18
 
7
19
  ### [1.24.1-beta.0](https://git.beinformed.com/public/nl.beinformed.bi.layout.lib.ui/compare/v1.24.0...v1.24.1-beta.0) (2022-12-06)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beinformed/ui",
3
- "version": "1.24.1-beta.1",
3
+ "version": "1.24.1-beta.3",
4
4
  "description": "Toolbox for be informed javascript layouts",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "bugs": "http://support.beinformed.com",
@@ -22,7 +22,7 @@
22
22
  "build:esm": "cross-env BABEL_ENV=esm babel src --out-dir esm --ignore \"**/__tests__/**\" --ignore \"**/__mock__/**\" --ignore \"**/__mocks__/**\" --source-maps",
23
23
  "build:proxies": "node .build/proxies.js",
24
24
  "build:flow": "flow-copy-source ./src ./lib",
25
- "clean": "rimraf lib dist esm coverage types && npm run clean:proxies",
25
+ "clean": "rimraf lib dist esm coverage && npm run clean:proxies",
26
26
  "clean:proxies": "node .build/proxies.js --clean",
27
27
  "lint": "eslint --cache .",
28
28
  "prettier": "prettier --write \"./{src,.flow}/**/*.js\"",
@@ -54,6 +54,7 @@
54
54
  "lib",
55
55
  "codemods",
56
56
  "typings",
57
+ "types",
57
58
  "builder",
58
59
  "constants",
59
60
  "exceptions",
@@ -0,0 +1,151 @@
1
+ /**
2
+ * Indicates if contributions should be cached
3
+ */
4
+ export const USE_CACHE: true;
5
+ /**
6
+ * Base path
7
+ * This uses contextPath set from property from server
8
+ * When requesting a remote server with CORS enabled, add the origin, for example:
9
+ * export const BEINFORMED_PATH = 'http://192.168.128.61:8080/BeInformed';
10
+ */
11
+ export const BASE: string;
12
+ /**
13
+ * Path to the contributions api end point
14
+ * /contributions uri part is added through the _links in the data service
15
+ */
16
+ export const MODULARUI_CONTRIBUTIONS: "/contributions";
17
+ /**
18
+ * Base Path
19
+ */
20
+ export const APPLICATION_PATH: string;
21
+ /**
22
+ * path to content service
23
+ */
24
+ export const CONTENT_PATH: string;
25
+ /**
26
+ * Upload Path
27
+ */
28
+ export const UPLOAD_PATH: string;
29
+ /**
30
+ * Captcha Path
31
+ */
32
+ export const CAPTCHA_PATH: string;
33
+ /**
34
+ * Path to change password page / component
35
+ */
36
+ export const CHANGEPASSWORD_PATH: "/change-password";
37
+ /**
38
+ * Path to user profile page / component
39
+ */
40
+ export const USERPROFILE_PATH: "/user";
41
+ /**
42
+ * Separator for parameters of a list, makes it possible to render multiple lists on a page in a non-js environment
43
+ */
44
+ export const PARAMETER_SEPARATOR: "~";
45
+ /**
46
+ * Timeversion filter name
47
+ */
48
+ export const TIMEVERSION_FILTER_NAME: "entryDate";
49
+ /**
50
+ * Parameter name for the viewtype toggle
51
+ */
52
+ export const DEFAULT_UI_PARAMETERS: Array<string>;
53
+ /**
54
+ */
55
+ export const ISO_DATE_FORMAT: "yyyy-MM-dd";
56
+ /**
57
+ */
58
+ export const ISO_DATETIME_FORMAT: "yyyy-MM-dd'T'HH:mm:ss";
59
+ /**
60
+ */
61
+ export const ISO_TIME_FORMAT: "HH:mm:ss";
62
+ /**
63
+ */
64
+ export const ISO_TIMESTAMP_FORMAT: "yyyy-MM-dd'T'HH:mm:ss.SSS";
65
+ /**
66
+ * week starts on monday by default
67
+ */
68
+ export const DEFAULT_WEEK_STARTS_ON: 1;
69
+ /**
70
+ * first week indicated by the 1st of january
71
+ */
72
+ export const DEFAULT_FIRST_WEEK_CONTAINS_DATE: 1;
73
+ /**
74
+ * Key codes
75
+ * @type {{SPACE: number, PAGE_DOWN: number, TAB: number, ARROW_RIGHT: number, ARROW_DOWN: number, ENTER: number, ARROW_UP: number, ARROW_LEFT: number, PAGE_UP: number, ESCAPE: number}}
76
+ */
77
+ export const KEYCODES: {
78
+ SPACE: number;
79
+ PAGE_DOWN: number;
80
+ TAB: number;
81
+ ARROW_RIGHT: number;
82
+ ARROW_DOWN: number;
83
+ ENTER: number;
84
+ ARROW_UP: number;
85
+ ARROW_LEFT: number;
86
+ PAGE_UP: number;
87
+ ESCAPE: number;
88
+ };
89
+ /**
90
+ * @type {boolean}
91
+ */
92
+ export const IS_SYNC: boolean;
93
+ /**
94
+ * @type {boolean}
95
+ */
96
+ export const IS_SERVER: boolean;
97
+ /**
98
+ * @type {{SUCCESS: string, ERROR: string, INFO: string, WARNING: string}}
99
+ */
100
+ export const NOTIFICATION_TYPES: {
101
+ SUCCESS: string;
102
+ ERROR: string;
103
+ INFO: string;
104
+ WARNING: string;
105
+ };
106
+ /**
107
+ * SUPPORTED HTTP METHODS
108
+ * @type {{POST: string, GET: string}}
109
+ */
110
+ export const HTTP_METHODS: {
111
+ POST: string;
112
+ GET: string;
113
+ };
114
+ /**
115
+ * POSSIBLE MODULARUI STATUSSES
116
+ * @type {{LOADING: string, ERROR: string, FINISHED: string}}
117
+ */
118
+ export const MODULARUI_STATUS: {
119
+ LOADING: string;
120
+ ERROR: string;
121
+ FINISHED: string;
122
+ };
123
+ /**
124
+ * POSSIBLE AUTOSAVE STATUSSES
125
+ * @type {{START: string, FINISHED: string}}
126
+ */
127
+ export const AUTOSAVE_STATUS: {
128
+ START: string;
129
+ FINISHED: string;
130
+ };
131
+ /**
132
+ * DEBOUNCE INPUT TIMEOUT
133
+ */
134
+ export const INPUT_DEBOUNCE_TIMEOUT: 100;
135
+ /**
136
+ * DEBOUNCE VALIDATION TIMEOUT
137
+ */
138
+ export const VALIDATE_DEBOUNCE_TIMEOUT: 500;
139
+ export namespace ATTRIBUTE_WIDTH {
140
+ const EXTRA_SMALL: string;
141
+ const SMALL: string;
142
+ const MEDIUM: string;
143
+ const LARGE: string;
144
+ const EXTRA_LARGE: string;
145
+ }
146
+ export const ALL_CONTENT_IN_DATA_SETTING: "hasAllContentInData";
147
+ export const LOGIN_TYPE: "security.clients";
148
+ export const LOGIN_PATH_SETTING: "FormClient.login_url";
149
+ export const LOGIN_USERNAME_SETTING: "FormClient.username_field_name";
150
+ export const LOGIN_PASSWORD_SETTING: "FormClient.password_field_name";
151
+ export const LOGOUT_PATH_SETTING: "FormClient.logout_url";
@@ -0,0 +1,241 @@
1
+ export namespace LayoutHintConfiguration {
2
+ namespace MANDATORY {
3
+ const hint: string;
4
+ namespace description {
5
+ const NL: string;
6
+ const EN: string;
7
+ }
8
+ const link: string;
9
+ const component: string[];
10
+ }
11
+ namespace DEPENDENT_ATTRIBUTE_CONTROL {
12
+ const hint_1: string;
13
+ export { hint_1 as hint };
14
+ export namespace description_1 {
15
+ const NL_1: string;
16
+ export { NL_1 as NL };
17
+ const EN_1: string;
18
+ export { EN_1 as EN };
19
+ }
20
+ export { description_1 as description };
21
+ const link_1: string;
22
+ export { link_1 as link };
23
+ const component_1: string[];
24
+ export { component_1 as component };
25
+ }
26
+ namespace DEPENDENT_ATTRIBUTE_ACTION {
27
+ const hint_2: string;
28
+ export { hint_2 as hint };
29
+ export namespace description_2 {
30
+ const NL_2: string;
31
+ export { NL_2 as NL };
32
+ const EN_2: string;
33
+ export { EN_2 as EN };
34
+ }
35
+ export { description_2 as description };
36
+ const link_2: string;
37
+ export { link_2 as link };
38
+ const component_2: string[];
39
+ export { component_2 as component };
40
+ }
41
+ namespace SHOW_ONE_RESULT_AS_DETAIL {
42
+ const hint_3: string;
43
+ export { hint_3 as hint };
44
+ export namespace description_3 {
45
+ const NL_3: string;
46
+ export { NL_3 as NL };
47
+ const EN_3: string;
48
+ export { EN_3 as EN };
49
+ }
50
+ export { description_3 as description };
51
+ const link_3: string;
52
+ export { link_3 as link };
53
+ const component_3: string[];
54
+ export { component_3 as component };
55
+ }
56
+ namespace HIDE_WHEN_EMPTY {
57
+ const hint_4: string;
58
+ export { hint_4 as hint };
59
+ export namespace description_4 {
60
+ const NL_4: string;
61
+ export { NL_4 as NL };
62
+ const EN_4: string;
63
+ export { EN_4 as EN };
64
+ }
65
+ export { description_4 as description };
66
+ const link_4: string;
67
+ export { link_4 as link };
68
+ const component_4: string[];
69
+ export { component_4 as component };
70
+ }
71
+ namespace INITIAL_FILTER {
72
+ const hint_5: string;
73
+ export { hint_5 as hint };
74
+ export namespace description_5 {
75
+ const NL_5: string;
76
+ export { NL_5 as NL };
77
+ const EN_5: string;
78
+ export { EN_5 as EN };
79
+ }
80
+ export { description_5 as description };
81
+ const link_5: string;
82
+ export { link_5 as link };
83
+ const component_5: string[];
84
+ export { component_5 as component };
85
+ }
86
+ namespace CONFIRM_PASSWORD {
87
+ const hint_6: string;
88
+ export { hint_6 as hint };
89
+ export namespace description_6 {
90
+ const NL_6: string;
91
+ export { NL_6 as NL };
92
+ const EN_6: string;
93
+ export { EN_6 as EN };
94
+ }
95
+ export { description_6 as description };
96
+ const link_6: string;
97
+ export { link_6 as link };
98
+ const component_6: string[];
99
+ export { component_6 as component };
100
+ }
101
+ namespace TITLE {
102
+ const hint_7: string;
103
+ export { hint_7 as hint };
104
+ export namespace description_7 {
105
+ const NL_7: string;
106
+ export { NL_7 as NL };
107
+ const EN_7: string;
108
+ export { EN_7 as EN };
109
+ }
110
+ export { description_7 as description };
111
+ const link_7: string;
112
+ export { link_7 as link };
113
+ const component_7: string[];
114
+ export { component_7 as component };
115
+ }
116
+ namespace INITIAL_TOTAL_FILESIZE {
117
+ const hint_8: string;
118
+ export { hint_8 as hint };
119
+ export namespace description_8 {
120
+ const NL_8: string;
121
+ export { NL_8 as NL };
122
+ const EN_8: string;
123
+ export { EN_8 as EN };
124
+ }
125
+ export { description_8 as description };
126
+ const link_8: string;
127
+ export { link_8 as link };
128
+ const component_8: string[];
129
+ export { component_8 as component };
130
+ }
131
+ namespace MAX_TOTAL_FILESIZE {
132
+ const hint_9: string;
133
+ export { hint_9 as hint };
134
+ export namespace description_9 {
135
+ const NL_9: string;
136
+ export { NL_9 as NL };
137
+ const EN_9: string;
138
+ export { EN_9 as EN };
139
+ }
140
+ export { description_9 as description };
141
+ const link_9: string;
142
+ export { link_9 as link };
143
+ const component_9: string[];
144
+ export { component_9 as component };
145
+ }
146
+ namespace IGNORE_FORMAT_SETTING {
147
+ const hint_10: string;
148
+ export { hint_10 as hint };
149
+ export namespace description_10 {
150
+ const NL_10: string;
151
+ export { NL_10 as NL };
152
+ const EN_10: string;
153
+ export { EN_10 as EN };
154
+ }
155
+ export { description_10 as description };
156
+ const link_10: string;
157
+ export { link_10 as link };
158
+ const component_10: string[];
159
+ export { component_10 as component };
160
+ }
161
+ namespace CREATE_ACTION {
162
+ const hint_11: string;
163
+ export { hint_11 as hint };
164
+ export namespace description_11 {
165
+ const NL_11: string;
166
+ export { NL_11 as NL };
167
+ const EN_11: string;
168
+ export { EN_11 as EN };
169
+ }
170
+ export { description_11 as description };
171
+ const component_11: string[];
172
+ export { component_11 as component };
173
+ }
174
+ namespace UPDATE_ACTION {
175
+ const hint_12: string;
176
+ export { hint_12 as hint };
177
+ export namespace description_12 {
178
+ const NL_12: string;
179
+ export { NL_12 as NL };
180
+ const EN_12: string;
181
+ export { EN_12 as EN };
182
+ }
183
+ export { description_12 as description };
184
+ const component_12: string[];
185
+ export { component_12 as component };
186
+ }
187
+ namespace DELETE_ACTION {
188
+ const hint_13: string;
189
+ export { hint_13 as hint };
190
+ export namespace description_13 {
191
+ const NL_13: string;
192
+ export { NL_13 as NL };
193
+ const EN_13: string;
194
+ export { EN_13 as EN };
195
+ }
196
+ export { description_13 as description };
197
+ const component_13: string[];
198
+ export { component_13 as component };
199
+ }
200
+ namespace SORT_OPTIONS {
201
+ const hint_14: string;
202
+ export { hint_14 as hint };
203
+ export namespace description_14 {
204
+ const NL_14: string;
205
+ export { NL_14 as NL };
206
+ const EN_14: string;
207
+ export { EN_14 as EN };
208
+ }
209
+ export { description_14 as description };
210
+ const component_14: string[];
211
+ export { component_14 as component };
212
+ }
213
+ namespace CASEVIEW_LINK {
214
+ const hint_15: string;
215
+ export { hint_15 as hint };
216
+ export namespace description_15 {
217
+ const NL_15: string;
218
+ export { NL_15 as NL };
219
+ const EN_15: string;
220
+ export { EN_15 as EN };
221
+ }
222
+ export { description_15 as description };
223
+ const component_15: string[];
224
+ export { component_15 as component };
225
+ }
226
+ namespace DISABLED {
227
+ const hint_16: string;
228
+ export { hint_16 as hint };
229
+ export namespace description_16 {
230
+ const NL_16: string;
231
+ export { NL_16 as NL };
232
+ const EN_16: string;
233
+ export { EN_16 as EN };
234
+ }
235
+ export { description_16 as description };
236
+ const link_11: string;
237
+ export { link_11 as link };
238
+ const component_16: string[];
239
+ export { component_16 as component };
240
+ }
241
+ }
@@ -0,0 +1,78 @@
1
+ /**
2
+ * Layout-hint: Indicates a mandatory attribute. Should be used together with the dependency hint.
3
+ */
4
+ export const MANDATORY: string;
5
+ /**
6
+ * Layout-hint: Indicates a disabled attribute.
7
+ * @constant
8
+ */
9
+ export const DISABLED: string;
10
+ /**
11
+ * Layout-hint: Marks the choice attribute where other attributes depend on. The unique control id is a unique id that can be used in the hint for the show|hide action on the dependent attribute.
12
+ */
13
+ export const DEPENDENT_ATTRIBUTE_CONTROL: "dependent-control";
14
+ /**
15
+ */
16
+ export const DEPENDENT_ATTRIBUTE: "dependent-attribute:";
17
+ /**
18
+ * Layout-hint: Password attribute must be confirmed using a second password attribute.
19
+ */
20
+ export const CONFIRM_PASSWORD: string;
21
+ /**
22
+ * Layout-hint: Sort options alphabetically
23
+ */
24
+ export const SORT_OPTIONS: string;
25
+ /**
26
+ * Layout-hint: Marks an attribute as a title attribute
27
+ */
28
+ export const TITLE: string;
29
+ /**
30
+ * Layout-hint: Ignore the global input format for specific attribute
31
+ */
32
+ export const IGNORE_FORMAT_SETTING: string;
33
+ /**
34
+ * Layout-hint: Mark task as delete task
35
+ */
36
+ export const DELETE_ACTION: string;
37
+ /**
38
+ * Layout-hint: Mark task as update task
39
+ */
40
+ export const UPDATE_ACTION: string;
41
+ /**
42
+ * Layout-hint: Mark task as create task
43
+ */
44
+ export const CREATE_ACTION: string;
45
+ /**
46
+ * Layout-hint: Used in conjunction with an upload attribute, this hint is set on a read only attribute containing the file size currently used.
47
+ */
48
+ export const INITIAL_TOTAL_FILESIZE: string;
49
+ /**
50
+ * Layout-hint: Used in conjunction with an upload attribute, this hint is set on a read only attribute containing the maximum allowed total file size.
51
+ */
52
+ export const MAX_TOTAL_FILESIZE: string;
53
+ /**
54
+ * Layout-hint: A list with only one detail must be shown as a detail
55
+ */
56
+ export const SHOW_ONE_RESULT_AS_DETAIL: string;
57
+ /**
58
+ * Layout-hint: A list without list-items and list-tasks should not be shown.
59
+ */
60
+ export const HIDE_WHEN_EMPTY: string;
61
+ /**
62
+ * Layout-hint: Sets a default value on a filter
63
+ */
64
+ export const INITIAL_FILTER: string;
65
+ /**
66
+ * Layout-hint: Mark a case id reference attribute as the reference to the case view. Replaces the self link of a list item
67
+ */
68
+ export const CASEVIEW_LINK: string;
69
+ /**
70
+ * Layout-hint: Set on configuration of instruments to show content in a popover on a label
71
+ */
72
+ export const RENDER_SECTION_LABEL: "render-section-label";
73
+ export function getLayoutHintConfiguration(): Object;
74
+ export default getHint;
75
+ /**
76
+ * Retrieve layout hint by id from the layout hint configuration
77
+ */
78
+ declare function getHint(hint: string): string;
@@ -0,0 +1,16 @@
1
+ export function setSettings(config: Object): void;
2
+ export function getSetting(key: string, defaultValue?: any): any;
3
+ export function setSetting(key: string, value: any): void;
4
+ export function allSettings(): {
5
+ [name: string]: Setting;
6
+ };
7
+ export function hasAllContentInData(): boolean;
8
+ export function loginType(): string;
9
+ export function loginPath(): string;
10
+ export function loginUsernameField(): string;
11
+ export function loginPasswordField(): string;
12
+ export function logoutPath(): string;
13
+ export const LOGIN_PATH: string;
14
+ export const LOGOUT_PATH: string;
15
+ type Setting = string | number | boolean | string[];
16
+ export {};
@@ -0,0 +1,3 @@
1
+ export * from "./LayoutHints";
2
+ export * from "./Constants";
3
+ export * from "./Settings";
@@ -0,0 +1,6 @@
1
+ export default ConfigurationException;
2
+ /**
3
+ * ConfigurationException
4
+ */
5
+ declare class ConfigurationException extends Error {
6
+ }
@@ -0,0 +1,31 @@
1
+ type ModularUIErrorResponse = {
2
+ error: {
3
+ id: string;
4
+ properties: {
5
+ [propertyName: string]: string | number;
6
+ };
7
+ };
8
+ };
9
+ /**
10
+ * FetchException
11
+ */
12
+ export default class FetchException extends Error {
13
+ constructor(errorResponse: ModularUIErrorResponse | null, failedRequest?: (RequestResult | XMLHttpRequest) | null, requestOptions?: RequestOptions);
14
+ request: (RequestResult | XMLHttpRequest) | null;
15
+ status: number;
16
+ response: ModularUIErrorResponse | null;
17
+ parameters: RequestParameters | null;
18
+ properties: MessageParameters;
19
+ requestOptions: RequestOptions | null;
20
+ id: string;
21
+ name: any;
22
+ }
23
+ type RequestResult = {
24
+ status: number;
25
+ };
26
+ type RequestParameters = {
27
+ [key: string]: any;
28
+ };
29
+ import { MessageParameters } from "../i18n/types";
30
+ import { RequestOptions } from "../utils/fetch/types";
31
+ export {};
@@ -0,0 +1,6 @@
1
+ export default IllegalArgumentException;
2
+ /**
3
+ * IllegalArgumentException
4
+ */
5
+ declare class IllegalArgumentException extends Error {
6
+ }
@@ -0,0 +1,5 @@
1
+ export default IllegalReturnException;
2
+ /**
3
+ */
4
+ declare class IllegalReturnException extends Error {
5
+ }
@@ -0,0 +1,6 @@
1
+ export default IllegalStateException;
2
+ /**
3
+ * IllegalStateException
4
+ */
5
+ declare class IllegalStateException extends Error {
6
+ }
@@ -0,0 +1,6 @@
1
+ export default JsonParseException;
2
+ /**
3
+ * JsonParseException
4
+ */
5
+ declare class JsonParseException extends Error {
6
+ }
@@ -0,0 +1,6 @@
1
+ export default MissingPropertyException;
2
+ /**
3
+ * MissingPropertyException
4
+ */
5
+ declare class MissingPropertyException extends Error {
6
+ }
@@ -0,0 +1,9 @@
1
+ export default NetworkException;
2
+ /**
3
+ * NetworkException
4
+ */
5
+ declare class NetworkException extends Error {
6
+ constructor(url: string, method: string);
7
+ status: number;
8
+ id: string;
9
+ }
@@ -0,0 +1,6 @@
1
+ export default NotAllowedUriException;
2
+ /**
3
+ * NotAllowedUriException
4
+ */
5
+ declare class NotAllowedUriException extends Error {
6
+ }
@@ -0,0 +1,10 @@
1
+ export default NotFoundException;
2
+ /**
3
+ * NotFoundException
4
+ */
5
+ declare class NotFoundException extends Error {
6
+ constructor(url: string, method: string, isReload?: boolean);
7
+ status: number;
8
+ isReload: boolean;
9
+ id: string;
10
+ }
@@ -0,0 +1,6 @@
1
+ export default ServerRequestException;
2
+ /**
3
+ * ServerRequestException
4
+ */
5
+ declare class ServerRequestException extends Error {
6
+ }
@@ -0,0 +1,6 @@
1
+ export default ThemePropertyException;
2
+ /**
3
+ * ThemePropertyException
4
+ */
5
+ declare class ThemePropertyException extends Error {
6
+ }
@@ -0,0 +1,7 @@
1
+ export default TimeoutException;
2
+ /**
3
+ * TimeoutException
4
+ */
5
+ declare class TimeoutException extends Error {
6
+ constructor(url: string, method: string);
7
+ }
@@ -0,0 +1,11 @@
1
+ export default UnauthorizedException;
2
+ /**
3
+ * UnauthorizedException
4
+ */
5
+ declare class UnauthorizedException extends Error {
6
+ constructor(url: string, method: string, errorResponse: ModularUIErrorResponse | null);
7
+ status: number;
8
+ id: string;
9
+ response: ModularUIErrorResponse | null;
10
+ }
11
+ import { ModularUIErrorResponse } from "./FetchException";
@@ -0,0 +1,6 @@
1
+ export default UnsupportedOperationException;
2
+ /**
3
+ * UnsupportedOperationException
4
+ */
5
+ declare class UnsupportedOperationException extends Error {
6
+ }