@researchdatabox/sails-ng-common 0.0.1-beta.10173

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 (236) hide show
  1. package/README.md +5 -0
  2. package/dist/src/config/base-field-component.model.d.ts +26 -0
  3. package/dist/src/config/base-field-component.model.js +29 -0
  4. package/dist/src/config/base-field-component.outline.d.ts +106 -0
  5. package/dist/src/config/base-field-component.outline.js +3 -0
  6. package/dist/src/config/component/accordion.model.d.ts +103 -0
  7. package/dist/src/config/component/accordion.model.js +127 -0
  8. package/dist/src/config/component/accordion.outline.d.ts +150 -0
  9. package/dist/src/config/component/accordion.outline.js +13 -0
  10. package/dist/src/config/component/action-row-layout.model.d.ts +28 -0
  11. package/dist/src/config/component/action-row-layout.model.js +35 -0
  12. package/dist/src/config/component/action-row-layout.outline.d.ts +36 -0
  13. package/dist/src/config/component/action-row-layout.outline.js +6 -0
  14. package/dist/src/config/component/cancel-button.model.d.ts +48 -0
  15. package/dist/src/config/component/cancel-button.model.js +58 -0
  16. package/dist/src/config/component/cancel-button.outline.d.ts +79 -0
  17. package/dist/src/config/component/cancel-button.outline.js +6 -0
  18. package/dist/src/config/component/checkbox-input.model.d.ts +67 -0
  19. package/dist/src/config/component/checkbox-input.model.js +79 -0
  20. package/dist/src/config/component/checkbox-input.outline.d.ts +87 -0
  21. package/dist/src/config/component/checkbox-input.outline.js +8 -0
  22. package/dist/src/config/component/checkbox-tree.model.d.ts +68 -0
  23. package/dist/src/config/component/checkbox-tree.model.js +80 -0
  24. package/dist/src/config/component/checkbox-tree.outline.d.ts +99 -0
  25. package/dist/src/config/component/checkbox-tree.outline.js +8 -0
  26. package/dist/src/config/component/content.model.d.ts +46 -0
  27. package/dist/src/config/component/content.model.js +56 -0
  28. package/dist/src/config/component/content.outline.d.ts +68 -0
  29. package/dist/src/config/component/content.outline.js +6 -0
  30. package/dist/src/config/component/data-location.model.d.ts +83 -0
  31. package/dist/src/config/component/data-location.model.js +95 -0
  32. package/dist/src/config/component/data-location.outline.d.ts +118 -0
  33. package/dist/src/config/component/data-location.outline.js +6 -0
  34. package/dist/src/config/component/date-input.model.d.ts +67 -0
  35. package/dist/src/config/component/date-input.model.js +80 -0
  36. package/dist/src/config/component/date-input.outline.d.ts +82 -0
  37. package/dist/src/config/component/date-input.outline.js +8 -0
  38. package/dist/src/config/component/default-layout.model.d.ts +22 -0
  39. package/dist/src/config/component/default-layout.model.js +30 -0
  40. package/dist/src/config/component/default-layout.outline.d.ts +29 -0
  41. package/dist/src/config/component/default-layout.outline.js +5 -0
  42. package/dist/src/config/component/delete-button.model.d.ts +46 -0
  43. package/dist/src/config/component/delete-button.model.js +48 -0
  44. package/dist/src/config/component/delete-button.outline.d.ts +83 -0
  45. package/dist/src/config/component/delete-button.outline.js +5 -0
  46. package/dist/src/config/component/dropdown-input.model.d.ts +65 -0
  47. package/dist/src/config/component/dropdown-input.model.js +78 -0
  48. package/dist/src/config/component/dropdown-input.outline.d.ts +86 -0
  49. package/dist/src/config/component/dropdown-input.outline.js +8 -0
  50. package/dist/src/config/component/file-upload.model.d.ts +67 -0
  51. package/dist/src/config/component/file-upload.model.js +81 -0
  52. package/dist/src/config/component/file-upload.outline.d.ts +93 -0
  53. package/dist/src/config/component/file-upload.outline.js +8 -0
  54. package/dist/src/config/component/group.model.d.ts +61 -0
  55. package/dist/src/config/component/group.model.js +75 -0
  56. package/dist/src/config/component/group.outline.d.ts +77 -0
  57. package/dist/src/config/component/group.outline.js +8 -0
  58. package/dist/src/config/component/inline-layout.model.d.ts +22 -0
  59. package/dist/src/config/component/inline-layout.model.js +29 -0
  60. package/dist/src/config/component/inline-layout.outline.d.ts +29 -0
  61. package/dist/src/config/component/inline-layout.outline.js +5 -0
  62. package/dist/src/config/component/integration-status.model.d.ts +49 -0
  63. package/dist/src/config/component/integration-status.model.js +65 -0
  64. package/dist/src/config/component/integration-status.outline.d.ts +55 -0
  65. package/dist/src/config/component/integration-status.outline.js +5 -0
  66. package/dist/src/config/component/map.model.d.ts +68 -0
  67. package/dist/src/config/component/map.model.js +85 -0
  68. package/dist/src/config/component/map.outline.d.ts +102 -0
  69. package/dist/src/config/component/map.outline.js +8 -0
  70. package/dist/src/config/component/pdf-list.model.d.ts +68 -0
  71. package/dist/src/config/component/pdf-list.model.js +71 -0
  72. package/dist/src/config/component/pdf-list.outline.d.ts +91 -0
  73. package/dist/src/config/component/pdf-list.outline.js +6 -0
  74. package/dist/src/config/component/publish-data-location-refresh.model.d.ts +39 -0
  75. package/dist/src/config/component/publish-data-location-refresh.model.js +52 -0
  76. package/dist/src/config/component/publish-data-location-refresh.outline.d.ts +52 -0
  77. package/dist/src/config/component/publish-data-location-refresh.outline.js +5 -0
  78. package/dist/src/config/component/publish-data-location-selector.model.d.ts +78 -0
  79. package/dist/src/config/component/publish-data-location-selector.model.js +104 -0
  80. package/dist/src/config/component/publish-data-location-selector.outline.d.ts +104 -0
  81. package/dist/src/config/component/publish-data-location-selector.outline.js +6 -0
  82. package/dist/src/config/component/question-tree.helper.d.ts +58 -0
  83. package/dist/src/config/component/question-tree.helper.js +291 -0
  84. package/dist/src/config/component/question-tree.model.d.ts +64 -0
  85. package/dist/src/config/component/question-tree.model.js +80 -0
  86. package/dist/src/config/component/question-tree.outline.d.ts +308 -0
  87. package/dist/src/config/component/question-tree.outline.js +9 -0
  88. package/dist/src/config/component/radio-input.model.d.ts +65 -0
  89. package/dist/src/config/component/radio-input.model.js +77 -0
  90. package/dist/src/config/component/radio-input.outline.d.ts +85 -0
  91. package/dist/src/config/component/radio-input.outline.js +8 -0
  92. package/dist/src/config/component/record-metadata-retriever.model.d.ts +41 -0
  93. package/dist/src/config/component/record-metadata-retriever.model.js +57 -0
  94. package/dist/src/config/component/record-metadata-retriever.outline.d.ts +47 -0
  95. package/dist/src/config/component/record-metadata-retriever.outline.js +5 -0
  96. package/dist/src/config/component/record-selector.model.d.ts +61 -0
  97. package/dist/src/config/component/record-selector.model.js +61 -0
  98. package/dist/src/config/component/record-selector.outline.d.ts +85 -0
  99. package/dist/src/config/component/record-selector.outline.js +6 -0
  100. package/dist/src/config/component/repeatable.model.d.ts +91 -0
  101. package/dist/src/config/component/repeatable.model.js +112 -0
  102. package/dist/src/config/component/repeatable.outline.d.ts +109 -0
  103. package/dist/src/config/component/repeatable.outline.js +10 -0
  104. package/dist/src/config/component/reusable.model.d.ts +42 -0
  105. package/dist/src/config/component/reusable.model.js +57 -0
  106. package/dist/src/config/component/reusable.outline.d.ts +49 -0
  107. package/dist/src/config/component/reusable.outline.js +6 -0
  108. package/dist/src/config/component/rich-text-editor.model.d.ts +65 -0
  109. package/dist/src/config/component/rich-text-editor.model.js +79 -0
  110. package/dist/src/config/component/rich-text-editor.outline.d.ts +86 -0
  111. package/dist/src/config/component/rich-text-editor.outline.js +8 -0
  112. package/dist/src/config/component/save-button.model.d.ts +49 -0
  113. package/dist/src/config/component/save-button.model.js +59 -0
  114. package/dist/src/config/component/save-button.outline.d.ts +84 -0
  115. package/dist/src/config/component/save-button.outline.js +6 -0
  116. package/dist/src/config/component/save-status.model.d.ts +42 -0
  117. package/dist/src/config/component/save-status.model.js +60 -0
  118. package/dist/src/config/component/save-status.outline.d.ts +52 -0
  119. package/dist/src/config/component/save-status.outline.js +6 -0
  120. package/dist/src/config/component/simple-input.model.d.ts +62 -0
  121. package/dist/src/config/component/simple-input.model.js +75 -0
  122. package/dist/src/config/component/simple-input.outline.d.ts +80 -0
  123. package/dist/src/config/component/simple-input.outline.js +9 -0
  124. package/dist/src/config/component/suggested-validation-summary.model.d.ts +45 -0
  125. package/dist/src/config/component/suggested-validation-summary.model.js +61 -0
  126. package/dist/src/config/component/suggested-validation-summary.outline.d.ts +51 -0
  127. package/dist/src/config/component/suggested-validation-summary.outline.js +5 -0
  128. package/dist/src/config/component/tab-content.model.d.ts +63 -0
  129. package/dist/src/config/component/tab-content.model.js +77 -0
  130. package/dist/src/config/component/tab-content.outline.d.ts +92 -0
  131. package/dist/src/config/component/tab-content.outline.js +8 -0
  132. package/dist/src/config/component/tab-nav-button.model.d.ts +45 -0
  133. package/dist/src/config/component/tab-nav-button.model.js +55 -0
  134. package/dist/src/config/component/tab-nav-button.outline.d.ts +64 -0
  135. package/dist/src/config/component/tab-nav-button.outline.js +6 -0
  136. package/dist/src/config/component/tab.model.d.ts +71 -0
  137. package/dist/src/config/component/tab.model.js +84 -0
  138. package/dist/src/config/component/tab.outline.d.ts +106 -0
  139. package/dist/src/config/component/tab.outline.js +9 -0
  140. package/dist/src/config/component/text-area.model.d.ts +63 -0
  141. package/dist/src/config/component/text-area.model.js +76 -0
  142. package/dist/src/config/component/text-area.outline.d.ts +81 -0
  143. package/dist/src/config/component/text-area.outline.js +8 -0
  144. package/dist/src/config/component/typeahead-input.model.d.ts +81 -0
  145. package/dist/src/config/component/typeahead-input.model.js +93 -0
  146. package/dist/src/config/component/typeahead-input.outline.d.ts +121 -0
  147. package/dist/src/config/component/typeahead-input.outline.js +8 -0
  148. package/dist/src/config/component/validation-summary.model.d.ts +42 -0
  149. package/dist/src/config/component/validation-summary.model.js +60 -0
  150. package/dist/src/config/component/validation-summary.outline.d.ts +57 -0
  151. package/dist/src/config/component/validation-summary.outline.js +6 -0
  152. package/dist/src/config/dictionary.model.d.ts +648 -0
  153. package/dist/src/config/dictionary.model.js +181 -0
  154. package/dist/src/config/dictionary.outline.d.ts +96 -0
  155. package/dist/src/config/dictionary.outline.js +3 -0
  156. package/dist/src/config/field-component.model.d.ts +7 -0
  157. package/dist/src/config/field-component.model.js +11 -0
  158. package/dist/src/config/field-component.outline.d.ts +20 -0
  159. package/dist/src/config/field-component.outline.js +3 -0
  160. package/dist/src/config/field-layout.model.d.ts +19 -0
  161. package/dist/src/config/field-layout.model.js +23 -0
  162. package/dist/src/config/field-layout.outline.d.ts +42 -0
  163. package/dist/src/config/field-layout.outline.js +3 -0
  164. package/dist/src/config/field-model.model.d.ts +21 -0
  165. package/dist/src/config/field-model.model.js +24 -0
  166. package/dist/src/config/field-model.outline.d.ts +63 -0
  167. package/dist/src/config/field-model.outline.js +3 -0
  168. package/dist/src/config/field.model.d.ts +12 -0
  169. package/dist/src/config/field.model.js +12 -0
  170. package/dist/src/config/field.outline.d.ts +19 -0
  171. package/dist/src/config/field.outline.js +3 -0
  172. package/dist/src/config/form-behaviour.outline.d.ts +128 -0
  173. package/dist/src/config/form-behaviour.outline.js +40 -0
  174. package/dist/src/config/form-component.model.d.ts +38 -0
  175. package/dist/src/config/form-component.model.js +36 -0
  176. package/dist/src/config/form-component.outline.d.ts +297 -0
  177. package/dist/src/config/form-component.outline.js +27 -0
  178. package/dist/src/config/form-config.model.d.ts +33 -0
  179. package/dist/src/config/form-config.model.js +36 -0
  180. package/dist/src/config/form-config.outline.d.ts +107 -0
  181. package/dist/src/config/form-config.outline.js +3 -0
  182. package/dist/src/config/form-override.model.d.ts +128 -0
  183. package/dist/src/config/form-override.model.js +1320 -0
  184. package/dist/src/config/form-override.outline.d.ts +15 -0
  185. package/dist/src/config/form-override.outline.js +3 -0
  186. package/dist/src/config/form-prehydrate.outline.d.ts +17 -0
  187. package/dist/src/config/form-prehydrate.outline.js +5 -0
  188. package/dist/src/config/form-types.model.d.ts +6 -0
  189. package/dist/src/config/form-types.model.js +23 -0
  190. package/dist/src/config/form-types.outline.d.ts +48 -0
  191. package/dist/src/config/form-types.outline.js +137 -0
  192. package/dist/src/config/helpers.d.ts +31 -0
  193. package/dist/src/config/helpers.js +122 -0
  194. package/dist/src/config/names/naming-helpers.d.ts +112 -0
  195. package/dist/src/config/names/naming-helpers.js +188 -0
  196. package/dist/src/config/names/query-helpers.d.ts +43 -0
  197. package/dist/src/config/names/query-helpers.js +59 -0
  198. package/dist/src/config/shared.outline.d.ts +54 -0
  199. package/dist/src/config/shared.outline.js +41 -0
  200. package/dist/src/config/visitor/base.model.d.ts +143 -0
  201. package/dist/src/config/visitor/base.model.js +336 -0
  202. package/dist/src/config/visitor/base.outline.d.ts +146 -0
  203. package/dist/src/config/visitor/base.outline.js +3 -0
  204. package/dist/src/config/visitor/common.model.d.ts +119 -0
  205. package/dist/src/config/visitor/common.model.js +422 -0
  206. package/dist/src/date-format-helpers.d.ts +1 -0
  207. package/dist/src/date-format-helpers.js +21 -0
  208. package/dist/src/handlebars-helpers.d.ts +264 -0
  209. package/dist/src/handlebars-helpers.js +670 -0
  210. package/dist/src/html-helpers.d.ts +15 -0
  211. package/dist/src/html-helpers.js +42 -0
  212. package/dist/src/index.d.ts +118 -0
  213. package/dist/src/index.js +145 -0
  214. package/dist/src/jsonata-helpers.d.ts +40 -0
  215. package/dist/src/jsonata-helpers.js +106 -0
  216. package/dist/src/logger.interface.d.ts +14 -0
  217. package/dist/src/logger.interface.js +3 -0
  218. package/dist/src/record.model.d.ts +35 -0
  219. package/dist/src/record.model.js +21 -0
  220. package/dist/src/report.model.d.ts +64 -0
  221. package/dist/src/report.model.js +19 -0
  222. package/dist/src/status.model.d.ts +22 -0
  223. package/dist/src/status.model.js +28 -0
  224. package/dist/src/template.outline.d.ts +79 -0
  225. package/dist/src/template.outline.js +14 -0
  226. package/dist/src/translation-helpers.d.ts +10 -0
  227. package/dist/src/translation-helpers.js +30 -0
  228. package/dist/src/validation/form.model.d.ts +323 -0
  229. package/dist/src/validation/form.model.js +31 -0
  230. package/dist/src/validation/helpers.d.ts +16 -0
  231. package/dist/src/validation/helpers.js +104 -0
  232. package/dist/src/validation/validators-support.d.ts +41 -0
  233. package/dist/src/validation/validators-support.js +183 -0
  234. package/dist/src/validation/validators.d.ts +21 -0
  235. package/dist/src/validation/validators.js +377 -0
  236. package/package.json +96 -0
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GroupFieldModelName = exports.GroupFieldComponentName = void 0;
4
+ /* Group Component */
5
+ exports.GroupFieldComponentName = "GroupComponent";
6
+ /* Group Model */
7
+ exports.GroupFieldModelName = "GroupModel";
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JvdXAub3V0bGluZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb25maWcvY29tcG9uZW50L2dyb3VwLm91dGxpbmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBMEJBLHFCQUFxQjtBQUVSLFFBQUEsdUJBQXVCLEdBQUcsZ0JBQXlCLENBQUM7QUFrQmpFLGlCQUFpQjtBQUVKLFFBQUEsbUJBQW1CLEdBQUcsWUFBcUIsQ0FBQyJ9
@@ -0,0 +1,22 @@
1
+ import { FieldLayoutConfig, FieldLayoutDefinition } from '../field-layout.model';
2
+ import { FormConfigVisitorOutline } from '../visitor/base.outline';
3
+ import { InlineFieldLayoutConfigOutline, InlineFieldLayoutDefinitionOutline } from './inline-layout.outline';
4
+ export declare class InlineFieldLayoutConfig extends FieldLayoutConfig implements InlineFieldLayoutConfigOutline {
5
+ constructor();
6
+ }
7
+ export declare class InlineFieldLayoutDefinition extends FieldLayoutDefinition implements InlineFieldLayoutDefinitionOutline {
8
+ class: "InlineLayout";
9
+ config?: InlineFieldLayoutConfigOutline;
10
+ constructor();
11
+ accept(visitor: FormConfigVisitorOutline): Promise<void>;
12
+ }
13
+ export declare const InlineLayoutMap: ({
14
+ kind: "FieldLayoutConfigKind";
15
+ def: typeof InlineFieldLayoutConfig;
16
+ class?: undefined;
17
+ } | {
18
+ kind: "FieldLayoutDefinitionKind";
19
+ def: typeof InlineFieldLayoutDefinition;
20
+ class: "InlineLayout";
21
+ })[];
22
+ export declare const InlineLayoutDefaults: {};
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InlineLayoutDefaults = exports.InlineLayoutMap = exports.InlineFieldLayoutDefinition = exports.InlineFieldLayoutConfig = void 0;
4
+ const field_layout_model_1 = require("../field-layout.model");
5
+ const inline_layout_outline_1 = require("./inline-layout.outline");
6
+ const shared_outline_1 = require("../shared.outline");
7
+ class InlineFieldLayoutConfig extends field_layout_model_1.FieldLayoutConfig {
8
+ constructor() {
9
+ super();
10
+ }
11
+ }
12
+ exports.InlineFieldLayoutConfig = InlineFieldLayoutConfig;
13
+ class InlineFieldLayoutDefinition extends field_layout_model_1.FieldLayoutDefinition {
14
+ class = inline_layout_outline_1.InlineLayoutName;
15
+ config;
16
+ constructor() {
17
+ super();
18
+ }
19
+ async accept(visitor) {
20
+ await visitor.visitInlineFieldLayoutDefinition(this);
21
+ }
22
+ }
23
+ exports.InlineFieldLayoutDefinition = InlineFieldLayoutDefinition;
24
+ exports.InlineLayoutMap = [
25
+ { kind: shared_outline_1.FieldLayoutConfigKind, def: InlineFieldLayoutConfig },
26
+ { kind: shared_outline_1.FieldLayoutDefinitionKind, def: InlineFieldLayoutDefinition, class: inline_layout_outline_1.InlineLayoutName },
27
+ ];
28
+ exports.InlineLayoutDefaults = {};
29
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lLWxheW91dC5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb25maWcvY29tcG9uZW50L2lubGluZS1sYXlvdXQubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsOERBQWlGO0FBRWpGLG1FQUlpQztBQUNqQyxzREFBcUY7QUFFckYsTUFBYSx1QkFBd0IsU0FBUSxzQ0FBaUI7SUFDNUQ7UUFDRSxLQUFLLEVBQUUsQ0FBQztJQUNWLENBQUM7Q0FDRjtBQUpELDBEQUlDO0FBRUQsTUFBYSwyQkFBNEIsU0FBUSwwQ0FBcUI7SUFDcEUsS0FBSyxHQUFHLHdDQUFnQixDQUFDO0lBQ3pCLE1BQU0sQ0FBa0M7SUFFeEM7UUFDRSxLQUFLLEVBQUUsQ0FBQztJQUNWLENBQUM7SUFFRCxLQUFLLENBQUMsTUFBTSxDQUFDLE9BQWlDO1FBQzVDLE1BQU0sT0FBTyxDQUFDLGdDQUFnQyxDQUFDLElBQUksQ0FBQyxDQUFDO0lBQ3ZELENBQUM7Q0FDRjtBQVhELGtFQVdDO0FBRVksUUFBQSxlQUFlLEdBQUc7SUFDN0IsRUFBRSxJQUFJLEVBQUUsc0NBQXFCLEVBQUUsR0FBRyxFQUFFLHVCQUF1QixFQUFFO0lBQzdELEVBQUUsSUFBSSxFQUFFLDBDQUF5QixFQUFFLEdBQUcsRUFBRSwyQkFBMkIsRUFBRSxLQUFLLEVBQUUsd0NBQWdCLEVBQUU7Q0FDL0YsQ0FBQztBQUNXLFFBQUEsb0JBQW9CLEdBQUcsRUFBRSxDQUFDIn0=
@@ -0,0 +1,29 @@
1
+ import { FieldLayoutConfigFrame, FieldLayoutConfigOutline, FieldLayoutDefinitionFrame, FieldLayoutDefinitionOutline } from '../field-layout.outline';
2
+ import { FieldLayoutConfigFrameKindType, FieldLayoutConfigKindType, FieldLayoutDefinitionFrameKindType, FieldLayoutDefinitionKindType } from '../shared.outline';
3
+ export declare const InlineLayoutName: "InlineLayout";
4
+ export type InlineLayoutNameType = typeof InlineLayoutName;
5
+ export interface InlineFieldLayoutConfigFrame extends FieldLayoutConfigFrame {
6
+ }
7
+ export interface InlineFieldLayoutConfigOutline extends InlineFieldLayoutConfigFrame, FieldLayoutConfigOutline {
8
+ }
9
+ export interface InlineFieldLayoutDefinitionFrame extends FieldLayoutDefinitionFrame {
10
+ class: InlineLayoutNameType;
11
+ config?: InlineFieldLayoutConfigFrame;
12
+ }
13
+ export interface InlineFieldLayoutDefinitionOutline extends InlineFieldLayoutDefinitionFrame, FieldLayoutDefinitionOutline {
14
+ class: InlineLayoutNameType;
15
+ config?: InlineFieldLayoutConfigOutline;
16
+ }
17
+ export type InlineLayoutTypes = {
18
+ kind: FieldLayoutConfigFrameKindType;
19
+ class: InlineFieldLayoutConfigFrame;
20
+ } | {
21
+ kind: FieldLayoutConfigKindType;
22
+ class: InlineFieldLayoutConfigOutline;
23
+ } | {
24
+ kind: FieldLayoutDefinitionFrameKindType;
25
+ class: InlineFieldLayoutDefinitionFrame;
26
+ } | {
27
+ kind: FieldLayoutDefinitionKindType;
28
+ class: InlineFieldLayoutDefinitionOutline;
29
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InlineLayoutName = void 0;
4
+ exports.InlineLayoutName = `InlineLayout`;
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lLWxheW91dC5vdXRsaW5lLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbmZpZy9jb21wb25lbnQvaW5saW5lLWxheW91dC5vdXRsaW5lLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQWFhLFFBQUEsZ0JBQWdCLEdBQUcsY0FBdUIsQ0FBQyJ9
@@ -0,0 +1,49 @@
1
+ import { FormConfigVisitorOutline } from "../visitor/base.outline";
2
+ import { FieldComponentConfig, FieldComponentDefinition } from "../field-component.model";
3
+ import { IntegrationStatusFieldComponentConfigOutline, IntegrationStatusFieldComponentDefinitionOutline, IntegrationStatusFormComponentDefinitionOutline } from "./integration-status.outline";
4
+ import { FormComponentDefinition } from "../form-component.model";
5
+ import { AvailableFieldLayoutDefinitionOutlines } from "../dictionary.outline";
6
+ export declare class IntegrationStatusFieldComponentConfig extends FieldComponentConfig implements IntegrationStatusFieldComponentConfigOutline {
7
+ integrationNames?: string[];
8
+ pollIntervalMs: number;
9
+ maxPollAttempts: number;
10
+ rapidPollDurationMs: number;
11
+ rapidPollIntervalMs: number;
12
+ heading?: string;
13
+ technicalDetailRoles: string[];
14
+ hideWhenInactive: boolean;
15
+ constructor();
16
+ }
17
+ export declare class IntegrationStatusFieldComponentDefinition extends FieldComponentDefinition implements IntegrationStatusFieldComponentDefinitionOutline {
18
+ class: "IntegrationStatusComponent";
19
+ config?: IntegrationStatusFieldComponentConfigOutline;
20
+ constructor();
21
+ accept(visitor: FormConfigVisitorOutline): Promise<void>;
22
+ }
23
+ export declare class IntegrationStatusFormComponentDefinition extends FormComponentDefinition implements IntegrationStatusFormComponentDefinitionOutline {
24
+ component: IntegrationStatusFieldComponentDefinitionOutline;
25
+ model?: never;
26
+ layout?: AvailableFieldLayoutDefinitionOutlines;
27
+ constructor();
28
+ accept(visitor: FormConfigVisitorOutline): Promise<void>;
29
+ }
30
+ export declare const IntegrationStatusMap: ({
31
+ kind: "FieldComponentConfigKind";
32
+ def: typeof IntegrationStatusFieldComponentConfig;
33
+ class?: undefined;
34
+ } | {
35
+ kind: "FieldComponentDefinitionKind";
36
+ def: typeof IntegrationStatusFieldComponentDefinition;
37
+ class: "IntegrationStatusComponent";
38
+ } | {
39
+ kind: "FormComponentDefinitionKind";
40
+ def: typeof IntegrationStatusFormComponentDefinition;
41
+ class: "IntegrationStatusComponent";
42
+ })[];
43
+ export declare const IntegrationStatusDefaults: {
44
+ FormComponentDefinitionKind: {
45
+ IntegrationStatusComponent: {
46
+ FieldComponentDefinitionKind: "IntegrationStatusComponent";
47
+ };
48
+ };
49
+ };
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IntegrationStatusDefaults = exports.IntegrationStatusMap = exports.IntegrationStatusFormComponentDefinition = exports.IntegrationStatusFieldComponentDefinition = exports.IntegrationStatusFieldComponentConfig = void 0;
4
+ const shared_outline_1 = require("../shared.outline");
5
+ const field_component_model_1 = require("../field-component.model");
6
+ const integration_status_outline_1 = require("./integration-status.outline");
7
+ const form_component_model_1 = require("../form-component.model");
8
+ class IntegrationStatusFieldComponentConfig extends field_component_model_1.FieldComponentConfig {
9
+ integrationNames;
10
+ pollIntervalMs = 5000;
11
+ maxPollAttempts = 60;
12
+ rapidPollDurationMs = 3000;
13
+ rapidPollIntervalMs = 100;
14
+ heading;
15
+ technicalDetailRoles = ['Admin', 'Librarians'];
16
+ hideWhenInactive = false;
17
+ constructor() {
18
+ super();
19
+ }
20
+ }
21
+ exports.IntegrationStatusFieldComponentConfig = IntegrationStatusFieldComponentConfig;
22
+ class IntegrationStatusFieldComponentDefinition extends field_component_model_1.FieldComponentDefinition {
23
+ class = integration_status_outline_1.IntegrationStatusComponentName;
24
+ config;
25
+ constructor() {
26
+ super();
27
+ }
28
+ async accept(visitor) {
29
+ await visitor.visitIntegrationStatusFieldComponentDefinition(this);
30
+ }
31
+ }
32
+ exports.IntegrationStatusFieldComponentDefinition = IntegrationStatusFieldComponentDefinition;
33
+ class IntegrationStatusFormComponentDefinition extends form_component_model_1.FormComponentDefinition {
34
+ component;
35
+ model;
36
+ layout;
37
+ constructor() {
38
+ super();
39
+ }
40
+ async accept(visitor) {
41
+ await visitor.visitIntegrationStatusFormComponentDefinition(this);
42
+ }
43
+ }
44
+ exports.IntegrationStatusFormComponentDefinition = IntegrationStatusFormComponentDefinition;
45
+ exports.IntegrationStatusMap = [
46
+ { kind: shared_outline_1.FieldComponentConfigKind, def: IntegrationStatusFieldComponentConfig },
47
+ {
48
+ kind: shared_outline_1.FieldComponentDefinitionKind,
49
+ def: IntegrationStatusFieldComponentDefinition,
50
+ class: integration_status_outline_1.IntegrationStatusComponentName
51
+ },
52
+ {
53
+ kind: shared_outline_1.FormComponentDefinitionKind,
54
+ def: IntegrationStatusFormComponentDefinition,
55
+ class: integration_status_outline_1.IntegrationStatusComponentName
56
+ },
57
+ ];
58
+ exports.IntegrationStatusDefaults = {
59
+ [shared_outline_1.FormComponentDefinitionKind]: {
60
+ [integration_status_outline_1.IntegrationStatusComponentName]: {
61
+ [shared_outline_1.FieldComponentDefinitionKind]: integration_status_outline_1.IntegrationStatusComponentName,
62
+ },
63
+ },
64
+ };
65
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZWdyYXRpb24tc3RhdHVzLm1vZ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EtBQUssRUFBRSxDQUFDO0lBQ1osQ0FBQztJQUVELEtBQUssQ0FBQyxNQUFNLENBQUMsT0FBaUM7UUFDMUMsTUFBTSxPQUFPLENBQUMsNkNBQTZDLENBQUMsSUFBSSxDQUFDLENBQUM7SUFDdEUsQ0FBQztDQUNKO0FBWkQsNEZBWUM7QUFFWSxRQUFBLG9CQUFvQixHQUFHO0lBQ2hDLEVBQUMsSUFBSSxFQUFFLHlDQUF3QixFQUFFLEdBQUcsRUFBRSxxQ0FBcUMsRUFBQztJQUM1RTtRQUNJLElBQUksRUFBRSw2Q0FBNEI7UUFDbEMsR0FBRyxFQUFFLHlDQUF5QztRQUM5QyxLQUFLLEVBQUUsMkRBQThCO0tBQ3hDO0lBQ0Q7UUFDSSxJQUFJLEVBQUUsNENBQTJCO1FBQ2pDLEdBQUcsRUFBRSx3Q0FBd0M7UUFDN0MsS0FBSyxFQUFFLDJEQUE4QjtLQUN4QztDQUNKLENBQUM7QUFDVyxRQUFBLHlCQUF5QixHQUFHO0lBQ3JDLENBQUMsNENBQTJCLENBQUMsRUFBRTtRQUMzQixDQUFDLDJEQUE4QixDQUFDLEVBQUU7WUFDOUIsQ0FBQyw2Q0FBNEIsQ0FBQyxFQUFFLDJEQUE4QjtTQUNqRTtLQUNKO0NBQ0osQ0FBQyJ9
@@ -0,0 +1,55 @@
1
+ import { FieldComponentConfigFrame, FieldComponentConfigOutline, FieldComponentDefinitionFrame, FieldComponentDefinitionOutline } from "../field-component.outline";
2
+ import { FormComponentDefinitionFrame, FormComponentDefinitionOutline } from "../form-component.outline";
3
+ import { AvailableFieldLayoutDefinitionFrames, AvailableFieldLayoutDefinitionOutlines } from "../dictionary.outline";
4
+ import { FieldComponentConfigFrameKindType, FieldComponentConfigKindType, FieldComponentDefinitionFrameKindType, FieldComponentDefinitionKindType, FormComponentDefinitionFrameKindType, FormComponentDefinitionKindType } from "../shared.outline";
5
+ export declare const IntegrationStatusComponentName: "IntegrationStatusComponent";
6
+ export type IntegrationStatusComponentNameType = typeof IntegrationStatusComponentName;
7
+ export interface IntegrationStatusFieldComponentConfigFrame extends FieldComponentConfigFrame {
8
+ integrationNames?: string[];
9
+ pollIntervalMs?: number;
10
+ maxPollAttempts?: number;
11
+ rapidPollDurationMs?: number;
12
+ rapidPollIntervalMs?: number;
13
+ heading?: string;
14
+ technicalDetailRoles?: string[];
15
+ hideWhenInactive?: boolean;
16
+ }
17
+ export interface IntegrationStatusFieldComponentConfigOutline extends IntegrationStatusFieldComponentConfigFrame, FieldComponentConfigOutline {
18
+ }
19
+ export interface IntegrationStatusFieldComponentDefinitionFrame extends FieldComponentDefinitionFrame {
20
+ class: IntegrationStatusComponentNameType;
21
+ config?: IntegrationStatusFieldComponentConfigFrame;
22
+ }
23
+ export interface IntegrationStatusFieldComponentDefinitionOutline extends IntegrationStatusFieldComponentDefinitionFrame, FieldComponentDefinitionOutline {
24
+ class: IntegrationStatusComponentNameType;
25
+ config?: IntegrationStatusFieldComponentConfigOutline;
26
+ }
27
+ export interface IntegrationStatusFormComponentDefinitionFrame extends FormComponentDefinitionFrame {
28
+ component: IntegrationStatusFieldComponentDefinitionFrame;
29
+ model?: never;
30
+ layout?: AvailableFieldLayoutDefinitionFrames;
31
+ }
32
+ export interface IntegrationStatusFormComponentDefinitionOutline extends IntegrationStatusFormComponentDefinitionFrame, FormComponentDefinitionOutline {
33
+ component: IntegrationStatusFieldComponentDefinitionOutline;
34
+ model?: never;
35
+ layout?: AvailableFieldLayoutDefinitionOutlines;
36
+ }
37
+ export type IntegrationStatusTypes = {
38
+ kind: FieldComponentConfigFrameKindType;
39
+ class: IntegrationStatusFieldComponentConfigFrame;
40
+ } | {
41
+ kind: FieldComponentDefinitionFrameKindType;
42
+ class: IntegrationStatusFieldComponentDefinitionFrame;
43
+ } | {
44
+ kind: FormComponentDefinitionFrameKindType;
45
+ class: IntegrationStatusFormComponentDefinitionFrame;
46
+ } | {
47
+ kind: FieldComponentConfigKindType;
48
+ class: IntegrationStatusFieldComponentConfigOutline;
49
+ } | {
50
+ kind: FieldComponentDefinitionKindType;
51
+ class: IntegrationStatusFieldComponentDefinitionOutline;
52
+ } | {
53
+ kind: FormComponentDefinitionKindType;
54
+ class: IntegrationStatusFormComponentDefinitionOutline;
55
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IntegrationStatusComponentName = void 0;
4
+ exports.IntegrationStatusComponentName = "IntegrationStatusComponent";
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZWdyYXRpb24tc3RhdHVzLm91dGxpbmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29uZmlnL2NvbXBvbmVudC9pbnRlZ3JhdGlvbi1zdGF0dXMub3V0bGluZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFjYSxRQUFBLDhCQUE4QixHQUFHLDRCQUFxQyxDQUFDIn0=
@@ -0,0 +1,68 @@
1
+ import { FieldModelConfig, FieldModelDefinition } from "../field-model.model";
2
+ import { FormComponentDefinition } from "../form-component.model";
3
+ import { FormConfigVisitorOutline } from "../visitor/base.outline";
4
+ import { FieldComponentConfig, FieldComponentDefinition } from "../field-component.model";
5
+ import { AvailableFieldLayoutDefinitionOutlines } from "../dictionary.outline";
6
+ import { MapDrawingMode, MapFieldComponentConfigOutline, MapFieldComponentDefinitionOutline, MapFieldModelConfigOutline, MapFieldModelDefinitionOutline, MapFormComponentDefinitionOutline, MapModelValueType, MapTileLayerConfig } from "./map.outline";
7
+ export declare class MapFieldComponentConfig extends FieldComponentConfig implements MapFieldComponentConfigOutline {
8
+ center: [number, number];
9
+ zoom: number;
10
+ mapHeight: string;
11
+ tileLayers: MapTileLayerConfig[];
12
+ enabledModes: MapDrawingMode[];
13
+ enableImport: boolean;
14
+ coordinatesHelp?: string;
15
+ constructor();
16
+ }
17
+ export declare class MapFieldComponentDefinition extends FieldComponentDefinition implements MapFieldComponentDefinitionOutline {
18
+ class: "MapComponent";
19
+ config?: MapFieldComponentConfigOutline;
20
+ constructor();
21
+ accept(visitor: FormConfigVisitorOutline): Promise<void>;
22
+ }
23
+ export declare class MapFieldModelConfig extends FieldModelConfig<MapModelValueType> implements MapFieldModelConfigOutline {
24
+ defaultValue: import("./map.outline").MapFeatureCollection;
25
+ constructor();
26
+ }
27
+ export declare class MapFieldModelDefinition extends FieldModelDefinition<MapModelValueType> implements MapFieldModelDefinitionOutline {
28
+ class: "MapModel";
29
+ config?: MapFieldModelConfigOutline;
30
+ constructor();
31
+ accept(visitor: FormConfigVisitorOutline): Promise<void>;
32
+ }
33
+ export declare class MapFormComponentDefinition extends FormComponentDefinition implements MapFormComponentDefinitionOutline {
34
+ component: MapFieldComponentDefinitionOutline;
35
+ model?: MapFieldModelDefinitionOutline;
36
+ layout?: AvailableFieldLayoutDefinitionOutlines;
37
+ constructor();
38
+ accept(visitor: FormConfigVisitorOutline): Promise<void>;
39
+ }
40
+ export declare const MapMap: ({
41
+ kind: "FieldComponentConfigKind";
42
+ def: typeof MapFieldComponentConfig;
43
+ class?: undefined;
44
+ } | {
45
+ kind: "FieldComponentDefinitionKind";
46
+ def: typeof MapFieldComponentDefinition;
47
+ class: "MapComponent";
48
+ } | {
49
+ kind: "FieldModelConfigKind";
50
+ def: typeof MapFieldModelConfig;
51
+ class?: undefined;
52
+ } | {
53
+ kind: "FieldModelDefinitionKind";
54
+ def: typeof MapFieldModelDefinition;
55
+ class: "MapModel";
56
+ } | {
57
+ kind: "FormComponentDefinitionKind";
58
+ def: typeof MapFormComponentDefinition;
59
+ class: "MapComponent";
60
+ })[];
61
+ export declare const MapDefaults: {
62
+ FormComponentDefinitionKind: {
63
+ MapComponent: {
64
+ FieldComponentDefinitionKind: "MapComponent";
65
+ FieldModelDefinitionKind: "MapModel";
66
+ };
67
+ };
68
+ };
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MapDefaults = exports.MapMap = exports.MapFormComponentDefinition = exports.MapFieldModelDefinition = exports.MapFieldModelConfig = exports.MapFieldComponentDefinition = exports.MapFieldComponentConfig = void 0;
4
+ const field_model_model_1 = require("../field-model.model");
5
+ const form_component_model_1 = require("../form-component.model");
6
+ const shared_outline_1 = require("../shared.outline");
7
+ const field_component_model_1 = require("../field-component.model");
8
+ const map_outline_1 = require("./map.outline");
9
+ const DefaultFeatureCollection = {
10
+ type: "FeatureCollection",
11
+ features: []
12
+ };
13
+ /* Map Component */
14
+ class MapFieldComponentConfig extends field_component_model_1.FieldComponentConfig {
15
+ center = [-24.67, 134.07];
16
+ zoom = 4;
17
+ mapHeight = "450px";
18
+ tileLayers = [];
19
+ enabledModes = ["point", "polygon", "linestring", "rectangle", "circle", "select"];
20
+ enableImport = true;
21
+ coordinatesHelp;
22
+ constructor() {
23
+ super();
24
+ }
25
+ }
26
+ exports.MapFieldComponentConfig = MapFieldComponentConfig;
27
+ class MapFieldComponentDefinition extends field_component_model_1.FieldComponentDefinition {
28
+ class = map_outline_1.MapComponentName;
29
+ config;
30
+ constructor() {
31
+ super();
32
+ }
33
+ async accept(visitor) {
34
+ await visitor.visitMapFieldComponentDefinition(this);
35
+ }
36
+ }
37
+ exports.MapFieldComponentDefinition = MapFieldComponentDefinition;
38
+ /* Map Model */
39
+ class MapFieldModelConfig extends field_model_model_1.FieldModelConfig {
40
+ defaultValue = DefaultFeatureCollection;
41
+ constructor() {
42
+ super();
43
+ }
44
+ }
45
+ exports.MapFieldModelConfig = MapFieldModelConfig;
46
+ class MapFieldModelDefinition extends field_model_model_1.FieldModelDefinition {
47
+ class = map_outline_1.MapModelName;
48
+ config;
49
+ constructor() {
50
+ super();
51
+ }
52
+ async accept(visitor) {
53
+ await visitor.visitMapFieldModelDefinition(this);
54
+ }
55
+ }
56
+ exports.MapFieldModelDefinition = MapFieldModelDefinition;
57
+ /* Map Form Component */
58
+ class MapFormComponentDefinition extends form_component_model_1.FormComponentDefinition {
59
+ component;
60
+ model;
61
+ layout;
62
+ constructor() {
63
+ super();
64
+ }
65
+ async accept(visitor) {
66
+ await visitor.visitMapFormComponentDefinition(this);
67
+ }
68
+ }
69
+ exports.MapFormComponentDefinition = MapFormComponentDefinition;
70
+ exports.MapMap = [
71
+ { kind: shared_outline_1.FieldComponentConfigKind, def: MapFieldComponentConfig },
72
+ { kind: shared_outline_1.FieldComponentDefinitionKind, def: MapFieldComponentDefinition, class: map_outline_1.MapComponentName },
73
+ { kind: shared_outline_1.FieldModelConfigKind, def: MapFieldModelConfig },
74
+ { kind: shared_outline_1.FieldModelDefinitionKind, def: MapFieldModelDefinition, class: map_outline_1.MapModelName },
75
+ { kind: shared_outline_1.FormComponentDefinitionKind, def: MapFormComponentDefinition, class: map_outline_1.MapComponentName },
76
+ ];
77
+ exports.MapDefaults = {
78
+ [shared_outline_1.FormComponentDefinitionKind]: {
79
+ [map_outline_1.MapComponentName]: {
80
+ [shared_outline_1.FieldComponentDefinitionKind]: map_outline_1.MapComponentName,
81
+ [shared_outline_1.FieldModelDefinitionKind]: map_outline_1.MapModelName,
82
+ }
83
+ }
84
+ };
85
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFwLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbmZpZy9jb21wb25lbnQvbWFwLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDREQUE0RTtBQUM1RSxrRUFBZ0U7QUFFaEUsc0RBSzJCO0FBQzNCLG9FQUF3RjtBQUV4RiwrQ0FXdUI7QUFFdkIsTUFBTSx3QkFBd0IsR0FBRztJQUM3QixJQUFJLEVBQUUsbUJBQW1CO0lBQ3pCLFFBQVEsRUFBRSxFQUFFO0NBQ00sQ0FBQztBQUV2QixtQkFBbUI7QUFFbkI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yxFQUFFO1lBQ2hCLENBQUMsNkNBQTRCLENBQUMsRUFBRSw4QkFBZ0I7WUFDaEQsQ0FBQyx5Q0FBd0IsQ0FBQyxFQUFFLDBCQUFZO1NBQzNDO0tBQ0o7Q0FDSixDQUFDIn0=
@@ -0,0 +1,102 @@
1
+ import { FieldComponentConfigFrameKindType, FieldComponentConfigKindType, FieldComponentDefinitionFrameKindType, FieldComponentDefinitionKindType, FieldModelConfigFrameKindType, FieldModelConfigKindType, FieldModelDefinitionFrameKindType, FieldModelDefinitionKindType, FormComponentDefinitionFrameKindType, FormComponentDefinitionKindType } from "../shared.outline";
2
+ import { FieldComponentConfigFrame, FieldComponentConfigOutline, FieldComponentDefinitionFrame, FieldComponentDefinitionOutline } from "../field-component.outline";
3
+ import { FieldModelConfigFrame, FieldModelConfigOutline, FieldModelDefinitionFrame, FieldModelDefinitionOutline } from "../field-model.outline";
4
+ import { FormComponentDefinitionFrame, FormComponentDefinitionOutline } from "../form-component.outline";
5
+ import { AvailableFieldLayoutDefinitionFrames, AvailableFieldLayoutDefinitionOutlines } from "../dictionary.outline";
6
+ export declare const MapComponentName: "MapComponent";
7
+ export type MapComponentNameType = typeof MapComponentName;
8
+ export interface MapFeatureGeometry {
9
+ type: string;
10
+ coordinates?: unknown;
11
+ }
12
+ export interface MapFeature {
13
+ type: "Feature";
14
+ id?: string | number;
15
+ geometry: MapFeatureGeometry | null;
16
+ properties?: Record<string, unknown> | null;
17
+ }
18
+ export interface MapFeatureCollection {
19
+ type: "FeatureCollection";
20
+ features: MapFeature[];
21
+ }
22
+ export type MapModelValueType = MapFeatureCollection;
23
+ export type MapDrawingMode = "point" | "polygon" | "linestring" | "rectangle" | "circle" | "select";
24
+ export interface MapTileLayerConfig {
25
+ name: string;
26
+ url: string;
27
+ options?: Record<string, unknown>;
28
+ }
29
+ export interface MapFieldComponentConfigFrame extends FieldComponentConfigFrame {
30
+ center?: [number, number];
31
+ zoom?: number;
32
+ mapHeight?: string;
33
+ tileLayers?: MapTileLayerConfig[];
34
+ enabledModes?: MapDrawingMode[];
35
+ enableImport?: boolean;
36
+ coordinatesHelp?: string;
37
+ }
38
+ export interface MapFieldComponentConfigOutline extends MapFieldComponentConfigFrame, FieldComponentConfigOutline {
39
+ }
40
+ export interface MapFieldComponentDefinitionFrame extends FieldComponentDefinitionFrame {
41
+ class: MapComponentNameType;
42
+ config?: MapFieldComponentConfigFrame;
43
+ }
44
+ export interface MapFieldComponentDefinitionOutline extends MapFieldComponentDefinitionFrame, FieldComponentDefinitionOutline {
45
+ class: MapComponentNameType;
46
+ config?: MapFieldComponentConfigOutline;
47
+ }
48
+ export declare const MapModelName: "MapModel";
49
+ export type MapModelNameType = typeof MapModelName;
50
+ export interface MapFieldModelConfigFrame extends FieldModelConfigFrame<MapModelValueType> {
51
+ }
52
+ export interface MapFieldModelConfigOutline extends MapFieldModelConfigFrame, FieldModelConfigOutline<MapModelValueType> {
53
+ }
54
+ export interface MapFieldModelDefinitionFrame extends FieldModelDefinitionFrame<MapModelValueType> {
55
+ class: MapModelNameType;
56
+ config?: MapFieldModelConfigFrame;
57
+ }
58
+ export interface MapFieldModelDefinitionOutline extends MapFieldModelDefinitionFrame, FieldModelDefinitionOutline<MapModelValueType> {
59
+ class: MapModelNameType;
60
+ config?: MapFieldModelConfigOutline;
61
+ }
62
+ export interface MapFormComponentDefinitionFrame extends FormComponentDefinitionFrame {
63
+ component: MapFieldComponentDefinitionFrame;
64
+ model?: MapFieldModelDefinitionFrame;
65
+ layout?: AvailableFieldLayoutDefinitionFrames;
66
+ }
67
+ export interface MapFormComponentDefinitionOutline extends MapFormComponentDefinitionFrame, FormComponentDefinitionOutline {
68
+ component: MapFieldComponentDefinitionOutline;
69
+ model?: MapFieldModelDefinitionOutline;
70
+ layout?: AvailableFieldLayoutDefinitionOutlines;
71
+ }
72
+ export type MapTypes = {
73
+ kind: FieldComponentConfigFrameKindType;
74
+ class: MapFieldComponentConfigFrame;
75
+ } | {
76
+ kind: FieldComponentDefinitionFrameKindType;
77
+ class: MapFieldComponentDefinitionFrame;
78
+ } | {
79
+ kind: FieldModelConfigFrameKindType;
80
+ class: MapFieldModelConfigFrame;
81
+ } | {
82
+ kind: FieldModelDefinitionFrameKindType;
83
+ class: MapFieldModelDefinitionFrame;
84
+ } | {
85
+ kind: FormComponentDefinitionFrameKindType;
86
+ class: MapFormComponentDefinitionFrame;
87
+ } | {
88
+ kind: FieldComponentConfigKindType;
89
+ class: MapFieldComponentConfigOutline;
90
+ } | {
91
+ kind: FieldComponentDefinitionKindType;
92
+ class: MapFieldComponentDefinitionOutline;
93
+ } | {
94
+ kind: FieldModelConfigKindType;
95
+ class: MapFieldModelConfigOutline;
96
+ } | {
97
+ kind: FieldModelDefinitionKindType;
98
+ class: MapFieldModelDefinitionOutline;
99
+ } | {
100
+ kind: FormComponentDefinitionKindType;
101
+ class: MapFormComponentDefinitionOutline;
102
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MapModelName = exports.MapComponentName = void 0;
4
+ /* Map Component */
5
+ exports.MapComponentName = "MapComponent";
6
+ /* Map Model */
7
+ exports.MapModelName = "MapModel";
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFwLm91dGxpbmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29uZmlnL2NvbXBvbmVudC9tYXAub3V0bGluZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFxQkEsbUJBQW1CO0FBQ04sUUFBQSxnQkFBZ0IsR0FBRyxjQUF1QixDQUFDO0FBb0R4RCxlQUFlO0FBQ0YsUUFBQSxZQUFZLEdBQUcsVUFBbUIsQ0FBQyJ9
@@ -0,0 +1,68 @@
1
+ import { FieldModelConfig, FieldModelDefinition } from "../field-model.model";
2
+ import { FormComponentDefinition } from "../form-component.model";
3
+ import { FormConfigVisitorOutline } from "../visitor/base.outline";
4
+ import { FieldComponentConfig, FieldComponentDefinition } from "../field-component.model";
5
+ import { AvailableFieldLayoutDefinitionOutlines } from "../dictionary.outline";
6
+ import { PDFListFieldComponentConfigOutline, PDFListFieldComponentDefinitionOutline, PDFListFieldModelConfigOutline, PDFListFieldModelDefinitionOutline, PDFListFormComponentDefinitionOutline, PDFListModelValueType, RecordAttachment } from "./pdf-list.outline";
7
+ export declare class PDFListFieldComponentConfig extends FieldComponentConfig implements PDFListFieldComponentConfigOutline {
8
+ startsWith: string;
9
+ recentPdfLimit: number;
10
+ showVersionCounter: boolean;
11
+ showVersionColumn: boolean;
12
+ versionColumnValueField: string;
13
+ versionColumnLabelKey: string;
14
+ useVersionLabelForFileName: boolean;
15
+ downloadBtnLabel: string;
16
+ downloadPreviousBtnLabel: string;
17
+ downloadPrefix: string;
18
+ fileNameTemplate: string;
19
+ }
20
+ export declare class PDFListFieldComponentDefinition extends FieldComponentDefinition implements PDFListFieldComponentDefinitionOutline {
21
+ class: "PDFListComponent";
22
+ config?: PDFListFieldComponentConfigOutline;
23
+ accept(visitor: FormConfigVisitorOutline): Promise<void>;
24
+ }
25
+ export declare class PDFListFieldModelConfig extends FieldModelConfig<PDFListModelValueType> implements PDFListFieldModelConfigOutline {
26
+ defaultValue: RecordAttachment[];
27
+ constructor();
28
+ }
29
+ export declare class PDFListFieldModelDefinition extends FieldModelDefinition<PDFListModelValueType> implements PDFListFieldModelDefinitionOutline {
30
+ class: "PDFListModel";
31
+ config?: PDFListFieldModelConfigOutline;
32
+ accept(visitor: FormConfigVisitorOutline): Promise<void>;
33
+ }
34
+ export declare class PDFListFormComponentDefinition extends FormComponentDefinition implements PDFListFormComponentDefinitionOutline {
35
+ component: PDFListFieldComponentDefinitionOutline;
36
+ model?: PDFListFieldModelDefinitionOutline;
37
+ layout?: AvailableFieldLayoutDefinitionOutlines;
38
+ accept(visitor: FormConfigVisitorOutline): Promise<void>;
39
+ }
40
+ export declare const PDFListMap: ({
41
+ kind: "FieldComponentConfigKind";
42
+ def: typeof PDFListFieldComponentConfig;
43
+ class?: undefined;
44
+ } | {
45
+ kind: "FieldComponentDefinitionKind";
46
+ def: typeof PDFListFieldComponentDefinition;
47
+ class: "PDFListComponent";
48
+ } | {
49
+ kind: "FieldModelConfigKind";
50
+ def: typeof PDFListFieldModelConfig;
51
+ class?: undefined;
52
+ } | {
53
+ kind: "FieldModelDefinitionKind";
54
+ def: typeof PDFListFieldModelDefinition;
55
+ class: "PDFListModel";
56
+ } | {
57
+ kind: "FormComponentDefinitionKind";
58
+ def: typeof PDFListFormComponentDefinition;
59
+ class: "PDFListComponent";
60
+ })[];
61
+ export declare const PDFListDefaults: {
62
+ FormComponentDefinitionKind: {
63
+ PDFListComponent: {
64
+ FieldComponentDefinitionKind: "PDFListComponent";
65
+ FieldModelDefinitionKind: "PDFListModel";
66
+ };
67
+ };
68
+ };