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

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 (220) 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 +100 -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 +46 -0
  15. package/dist/src/config/component/cancel-button.model.js +56 -0
  16. package/dist/src/config/component/cancel-button.outline.d.ts +69 -0
  17. package/dist/src/config/component/cancel-button.outline.js +6 -0
  18. package/dist/src/config/component/checkbox-input.model.d.ts +65 -0
  19. package/dist/src/config/component/checkbox-input.model.js +78 -0
  20. package/dist/src/config/component/checkbox-input.outline.d.ts +85 -0
  21. package/dist/src/config/component/checkbox-input.outline.js +8 -0
  22. package/dist/src/config/component/checkbox-tree.model.d.ts +66 -0
  23. package/dist/src/config/component/checkbox-tree.model.js +79 -0
  24. package/dist/src/config/component/checkbox-tree.outline.d.ts +96 -0
  25. package/dist/src/config/component/checkbox-tree.outline.js +8 -0
  26. package/dist/src/config/component/content.model.d.ts +45 -0
  27. package/dist/src/config/component/content.model.js +55 -0
  28. package/dist/src/config/component/content.outline.d.ts +64 -0
  29. package/dist/src/config/component/content.outline.js +6 -0
  30. package/dist/src/config/component/data-location.model.d.ts +82 -0
  31. package/dist/src/config/component/data-location.model.js +94 -0
  32. package/dist/src/config/component/data-location.outline.d.ts +117 -0
  33. package/dist/src/config/component/data-location.outline.js +6 -0
  34. package/dist/src/config/component/date-input.model.d.ts +66 -0
  35. package/dist/src/config/component/date-input.model.js +79 -0
  36. package/dist/src/config/component/date-input.outline.d.ts +81 -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 +55 -0
  45. package/dist/src/config/component/delete-button.outline.js +5 -0
  46. package/dist/src/config/component/dropdown-input.model.d.ts +64 -0
  47. package/dist/src/config/component/dropdown-input.model.js +77 -0
  48. package/dist/src/config/component/dropdown-input.outline.d.ts +84 -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/map.model.d.ts +68 -0
  63. package/dist/src/config/component/map.model.js +85 -0
  64. package/dist/src/config/component/map.outline.d.ts +102 -0
  65. package/dist/src/config/component/map.outline.js +8 -0
  66. package/dist/src/config/component/pdf-list.model.d.ts +68 -0
  67. package/dist/src/config/component/pdf-list.model.js +71 -0
  68. package/dist/src/config/component/pdf-list.outline.d.ts +91 -0
  69. package/dist/src/config/component/pdf-list.outline.js +6 -0
  70. package/dist/src/config/component/publish-data-location-refresh.model.d.ts +38 -0
  71. package/dist/src/config/component/publish-data-location-refresh.model.js +51 -0
  72. package/dist/src/config/component/publish-data-location-refresh.outline.d.ts +47 -0
  73. package/dist/src/config/component/publish-data-location-refresh.outline.js +5 -0
  74. package/dist/src/config/component/publish-data-location-selector.model.d.ts +74 -0
  75. package/dist/src/config/component/publish-data-location-selector.model.js +100 -0
  76. package/dist/src/config/component/publish-data-location-selector.outline.d.ts +99 -0
  77. package/dist/src/config/component/publish-data-location-selector.outline.js +6 -0
  78. package/dist/src/config/component/question-tree.helper.d.ts +61 -0
  79. package/dist/src/config/component/question-tree.helper.js +298 -0
  80. package/dist/src/config/component/question-tree.model.d.ts +64 -0
  81. package/dist/src/config/component/question-tree.model.js +80 -0
  82. package/dist/src/config/component/question-tree.outline.d.ts +305 -0
  83. package/dist/src/config/component/question-tree.outline.js +9 -0
  84. package/dist/src/config/component/radio-input.model.d.ts +63 -0
  85. package/dist/src/config/component/radio-input.model.js +76 -0
  86. package/dist/src/config/component/radio-input.outline.d.ts +83 -0
  87. package/dist/src/config/component/radio-input.outline.js +8 -0
  88. package/dist/src/config/component/record-metadata-retriever.model.d.ts +41 -0
  89. package/dist/src/config/component/record-metadata-retriever.model.js +57 -0
  90. package/dist/src/config/component/record-metadata-retriever.outline.d.ts +47 -0
  91. package/dist/src/config/component/record-metadata-retriever.outline.js +5 -0
  92. package/dist/src/config/component/record-selector.model.d.ts +60 -0
  93. package/dist/src/config/component/record-selector.model.js +60 -0
  94. package/dist/src/config/component/record-selector.outline.d.ts +84 -0
  95. package/dist/src/config/component/record-selector.outline.js +6 -0
  96. package/dist/src/config/component/repeatable.model.d.ts +90 -0
  97. package/dist/src/config/component/repeatable.model.js +109 -0
  98. package/dist/src/config/component/repeatable.outline.d.ts +108 -0
  99. package/dist/src/config/component/repeatable.outline.js +10 -0
  100. package/dist/src/config/component/reusable.model.d.ts +42 -0
  101. package/dist/src/config/component/reusable.model.js +57 -0
  102. package/dist/src/config/component/reusable.outline.d.ts +49 -0
  103. package/dist/src/config/component/reusable.outline.js +6 -0
  104. package/dist/src/config/component/rich-text-editor.model.d.ts +65 -0
  105. package/dist/src/config/component/rich-text-editor.model.js +79 -0
  106. package/dist/src/config/component/rich-text-editor.outline.d.ts +86 -0
  107. package/dist/src/config/component/rich-text-editor.outline.js +8 -0
  108. package/dist/src/config/component/save-button.model.d.ts +45 -0
  109. package/dist/src/config/component/save-button.model.js +55 -0
  110. package/dist/src/config/component/save-button.outline.d.ts +65 -0
  111. package/dist/src/config/component/save-button.outline.js +6 -0
  112. package/dist/src/config/component/save-status.model.d.ts +42 -0
  113. package/dist/src/config/component/save-status.model.js +60 -0
  114. package/dist/src/config/component/save-status.outline.d.ts +52 -0
  115. package/dist/src/config/component/save-status.outline.js +6 -0
  116. package/dist/src/config/component/simple-input.model.d.ts +62 -0
  117. package/dist/src/config/component/simple-input.model.js +75 -0
  118. package/dist/src/config/component/simple-input.outline.d.ts +80 -0
  119. package/dist/src/config/component/simple-input.outline.js +9 -0
  120. package/dist/src/config/component/tab-content.model.d.ts +63 -0
  121. package/dist/src/config/component/tab-content.model.js +77 -0
  122. package/dist/src/config/component/tab-content.outline.d.ts +92 -0
  123. package/dist/src/config/component/tab-content.outline.js +8 -0
  124. package/dist/src/config/component/tab-nav-button.model.d.ts +45 -0
  125. package/dist/src/config/component/tab-nav-button.model.js +55 -0
  126. package/dist/src/config/component/tab-nav-button.outline.d.ts +64 -0
  127. package/dist/src/config/component/tab-nav-button.outline.js +6 -0
  128. package/dist/src/config/component/tab.model.d.ts +71 -0
  129. package/dist/src/config/component/tab.model.js +84 -0
  130. package/dist/src/config/component/tab.outline.d.ts +106 -0
  131. package/dist/src/config/component/tab.outline.js +9 -0
  132. package/dist/src/config/component/text-area.model.d.ts +63 -0
  133. package/dist/src/config/component/text-area.model.js +76 -0
  134. package/dist/src/config/component/text-area.outline.d.ts +81 -0
  135. package/dist/src/config/component/text-area.outline.js +8 -0
  136. package/dist/src/config/component/typeahead-input.model.d.ts +78 -0
  137. package/dist/src/config/component/typeahead-input.model.js +91 -0
  138. package/dist/src/config/component/typeahead-input.outline.d.ts +107 -0
  139. package/dist/src/config/component/typeahead-input.outline.js +8 -0
  140. package/dist/src/config/component/validation-summary.model.d.ts +42 -0
  141. package/dist/src/config/component/validation-summary.model.js +60 -0
  142. package/dist/src/config/component/validation-summary.outline.d.ts +57 -0
  143. package/dist/src/config/component/validation-summary.outline.js +6 -0
  144. package/dist/src/config/dictionary.model.d.ts +624 -0
  145. package/dist/src/config/dictionary.model.js +175 -0
  146. package/dist/src/config/dictionary.outline.d.ts +94 -0
  147. package/dist/src/config/dictionary.outline.js +3 -0
  148. package/dist/src/config/field-component.model.d.ts +7 -0
  149. package/dist/src/config/field-component.model.js +11 -0
  150. package/dist/src/config/field-component.outline.d.ts +20 -0
  151. package/dist/src/config/field-component.outline.js +3 -0
  152. package/dist/src/config/field-layout.model.d.ts +19 -0
  153. package/dist/src/config/field-layout.model.js +23 -0
  154. package/dist/src/config/field-layout.outline.d.ts +42 -0
  155. package/dist/src/config/field-layout.outline.js +3 -0
  156. package/dist/src/config/field-model.model.d.ts +22 -0
  157. package/dist/src/config/field-model.model.js +25 -0
  158. package/dist/src/config/field-model.outline.d.ts +63 -0
  159. package/dist/src/config/field-model.outline.js +3 -0
  160. package/dist/src/config/field.model.d.ts +12 -0
  161. package/dist/src/config/field.model.js +12 -0
  162. package/dist/src/config/field.outline.d.ts +19 -0
  163. package/dist/src/config/field.outline.js +3 -0
  164. package/dist/src/config/form-behaviour.outline.d.ts +128 -0
  165. package/dist/src/config/form-behaviour.outline.js +40 -0
  166. package/dist/src/config/form-component.model.d.ts +38 -0
  167. package/dist/src/config/form-component.model.js +36 -0
  168. package/dist/src/config/form-component.outline.d.ts +257 -0
  169. package/dist/src/config/form-component.outline.js +24 -0
  170. package/dist/src/config/form-config.model.d.ts +33 -0
  171. package/dist/src/config/form-config.model.js +36 -0
  172. package/dist/src/config/form-config.outline.d.ts +109 -0
  173. package/dist/src/config/form-config.outline.js +3 -0
  174. package/dist/src/config/form-override.model.d.ts +116 -0
  175. package/dist/src/config/form-override.model.js +1209 -0
  176. package/dist/src/config/form-override.outline.d.ts +15 -0
  177. package/dist/src/config/form-override.outline.js +3 -0
  178. package/dist/src/config/form-types.model.d.ts +6 -0
  179. package/dist/src/config/form-types.model.js +23 -0
  180. package/dist/src/config/form-types.outline.d.ts +48 -0
  181. package/dist/src/config/form-types.outline.js +137 -0
  182. package/dist/src/config/helpers.d.ts +23 -0
  183. package/dist/src/config/helpers.js +105 -0
  184. package/dist/src/config/names/naming-helpers.d.ts +71 -0
  185. package/dist/src/config/names/naming-helpers.js +72 -0
  186. package/dist/src/config/names/query-helpers.d.ts +43 -0
  187. package/dist/src/config/names/query-helpers.js +64 -0
  188. package/dist/src/config/shared.outline.d.ts +54 -0
  189. package/dist/src/config/shared.outline.js +41 -0
  190. package/dist/src/config/visitor/base.model.d.ts +137 -0
  191. package/dist/src/config/visitor/base.model.js +323 -0
  192. package/dist/src/config/visitor/base.outline.d.ts +140 -0
  193. package/dist/src/config/visitor/base.outline.js +3 -0
  194. package/dist/src/config/visitor/common.model.d.ts +119 -0
  195. package/dist/src/config/visitor/common.model.js +421 -0
  196. package/dist/src/handlebars-helpers.d.ts +224 -0
  197. package/dist/src/handlebars-helpers.js +558 -0
  198. package/dist/src/index.d.ts +109 -0
  199. package/dist/src/index.js +136 -0
  200. package/dist/src/logger.interface.d.ts +14 -0
  201. package/dist/src/logger.interface.js +3 -0
  202. package/dist/src/record.model.d.ts +35 -0
  203. package/dist/src/record.model.js +21 -0
  204. package/dist/src/report.model.d.ts +21 -0
  205. package/dist/src/report.model.js +19 -0
  206. package/dist/src/status.model.d.ts +22 -0
  207. package/dist/src/status.model.js +28 -0
  208. package/dist/src/template.outline.d.ts +49 -0
  209. package/dist/src/template.outline.js +13 -0
  210. package/dist/src/translation-helpers.d.ts +10 -0
  211. package/dist/src/translation-helpers.js +30 -0
  212. package/dist/src/validation/form.model.d.ts +247 -0
  213. package/dist/src/validation/form.model.js +31 -0
  214. package/dist/src/validation/helpers.d.ts +14 -0
  215. package/dist/src/validation/helpers.js +68 -0
  216. package/dist/src/validation/validators-support.d.ts +41 -0
  217. package/dist/src/validation/validators-support.js +141 -0
  218. package/dist/src/validation/validators.d.ts +23 -0
  219. package/dist/src/validation/validators.js +427 -0
  220. package/package.json +95 -0
@@ -0,0 +1,64 @@
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 TabNavButtonComponentName: "TabNavButtonComponent";
6
+ export type TabNavButtonComponentNameType = typeof TabNavButtonComponentName;
7
+ export interface TabNavButtonFieldComponentConfigFrame extends FieldComponentConfigFrame {
8
+ /**
9
+ * The label for the previous button.
10
+ */
11
+ prevLabel?: string;
12
+ /**
13
+ * The label for the next button.
14
+ */
15
+ nextLabel?: string;
16
+ /**
17
+ * The name of the target TabComponent to navigate.
18
+ */
19
+ targetTabContainerId?: string;
20
+ /**
21
+ * How to handle the button at the start/end of tabs.
22
+ * 'hidden' hides the button, 'disabled' disables it.
23
+ */
24
+ endDisplayMode?: string;
25
+ }
26
+ export interface TabNavButtonFieldComponentConfigOutline extends TabNavButtonFieldComponentConfigFrame, FieldComponentConfigOutline {
27
+ }
28
+ export interface TabNavButtonFieldComponentDefinitionFrame extends FieldComponentDefinitionFrame {
29
+ class: TabNavButtonComponentNameType;
30
+ config?: TabNavButtonFieldComponentConfigFrame;
31
+ }
32
+ export interface TabNavButtonFieldComponentDefinitionOutline extends TabNavButtonFieldComponentDefinitionFrame, FieldComponentDefinitionOutline {
33
+ class: TabNavButtonComponentNameType;
34
+ config?: TabNavButtonFieldComponentConfigOutline;
35
+ }
36
+ export interface TabNavButtonFormComponentDefinitionFrame extends FormComponentDefinitionFrame {
37
+ component: TabNavButtonFieldComponentDefinitionFrame;
38
+ model?: never;
39
+ layout?: AvailableFieldLayoutDefinitionFrames;
40
+ }
41
+ export interface TabNavButtonFormComponentDefinitionOutline extends TabNavButtonFormComponentDefinitionFrame, FormComponentDefinitionOutline {
42
+ component: TabNavButtonFieldComponentDefinitionOutline;
43
+ model?: never;
44
+ layout?: AvailableFieldLayoutDefinitionOutlines;
45
+ }
46
+ export type TabNavButtonTypes = {
47
+ kind: FieldComponentConfigFrameKindType;
48
+ class: TabNavButtonFieldComponentConfigFrame;
49
+ } | {
50
+ kind: FieldComponentDefinitionFrameKindType;
51
+ class: TabNavButtonFieldComponentDefinitionFrame;
52
+ } | {
53
+ kind: FormComponentDefinitionFrameKindType;
54
+ class: TabNavButtonFormComponentDefinitionFrame;
55
+ } | {
56
+ kind: FieldComponentConfigKindType;
57
+ class: TabNavButtonFieldComponentConfigOutline;
58
+ } | {
59
+ kind: FieldComponentDefinitionKindType;
60
+ class: TabNavButtonFieldComponentDefinitionOutline;
61
+ } | {
62
+ kind: FormComponentDefinitionKindType;
63
+ class: TabNavButtonFormComponentDefinitionOutline;
64
+ };
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TabNavButtonComponentName = void 0;
4
+ /* Tab Nav Button Component */
5
+ exports.TabNavButtonComponentName = 'TabNavButtonComponent';
6
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLW5hdi1idXR0b24ub3V0bGluZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb25maWcvY29tcG9uZW50L3RhYi1uYXYtYnV0dG9uLm91dGxpbmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBaUJBLDhCQUE4QjtBQUVqQixRQUFBLHlCQUF5QixHQUFHLHVCQUFnQyxDQUFDIn0=
@@ -0,0 +1,71 @@
1
+ import { KeyValueStringProperty } from "../shared.outline";
2
+ import { ButtonSectionAriaOrientationOptionsType, TabFieldComponentConfigOutline, TabFieldComponentDefinitionOutline, TabFieldLayoutConfigOutline, TabFieldLayoutDefinitionOutline, TabFormComponentDefinitionOutline } from "./tab.outline";
3
+ import { FormComponentDefinition } from "../form-component.model";
4
+ import { FormConfigVisitorOutline } from "../visitor/base.outline";
5
+ import { FieldComponentConfig, FieldComponentDefinition } from "../field-component.model";
6
+ import { FieldLayoutConfig, FieldLayoutDefinition } from "../field-layout.model";
7
+ import { TabContentFormComponentDefinitionOutline } from "./tab-content.outline";
8
+ export declare class TabFieldComponentConfig extends FieldComponentConfig implements TabFieldComponentConfigOutline {
9
+ tabs: TabContentFormComponentDefinitionOutline[];
10
+ hostCssClasses: string;
11
+ constructor();
12
+ }
13
+ export declare class TabFieldComponentDefinition extends FieldComponentDefinition implements TabFieldComponentDefinitionOutline {
14
+ class: "TabComponent";
15
+ config?: TabFieldComponentConfigOutline;
16
+ constructor();
17
+ accept(visitor: FormConfigVisitorOutline): void;
18
+ }
19
+ export declare class TabFieldLayoutConfig extends FieldLayoutConfig implements TabFieldLayoutConfigOutline {
20
+ hostCssClasses?: KeyValueStringProperty;
21
+ tabShellCssClass?: string;
22
+ tabNavWrapperCssClass?: string;
23
+ tabPanelWrapperCssClass?: string;
24
+ buttonSectionCssClass?: string;
25
+ tabPaneCssClass?: string;
26
+ tabPaneActiveCssClass?: string;
27
+ buttonSectionAriaOrientation?: ButtonSectionAriaOrientationOptionsType;
28
+ constructor();
29
+ }
30
+ export declare class TabFieldLayoutDefinition extends FieldLayoutDefinition implements TabFieldLayoutDefinitionOutline {
31
+ class: "TabLayout";
32
+ config?: TabFieldLayoutConfigOutline;
33
+ constructor();
34
+ accept(visitor: FormConfigVisitorOutline): void;
35
+ }
36
+ export declare class TabFormComponentDefinition extends FormComponentDefinition implements TabFormComponentDefinitionOutline {
37
+ component: TabFieldComponentDefinitionOutline;
38
+ model?: never;
39
+ layout?: TabFieldLayoutDefinitionOutline;
40
+ constructor();
41
+ accept(visitor: FormConfigVisitorOutline): void;
42
+ }
43
+ export declare const TabMap: ({
44
+ kind: "FieldComponentConfigKind";
45
+ def: typeof TabFieldComponentConfig;
46
+ class?: undefined;
47
+ } | {
48
+ kind: "FieldComponentDefinitionKind";
49
+ def: typeof TabFieldComponentDefinition;
50
+ class: "TabComponent";
51
+ } | {
52
+ kind: "FieldLayoutConfigKind";
53
+ def: typeof TabFieldLayoutConfig;
54
+ class?: undefined;
55
+ } | {
56
+ kind: "FieldLayoutDefinitionKind";
57
+ def: typeof TabFieldLayoutDefinition;
58
+ class: "TabLayout";
59
+ } | {
60
+ kind: "FormComponentDefinitionKind";
61
+ def: typeof TabFormComponentDefinition;
62
+ class: "TabComponent";
63
+ })[];
64
+ export declare const TabDefaults: {
65
+ FormComponentDefinitionKind: {
66
+ TabComponent: {
67
+ FieldComponentDefinitionKind: "TabComponent";
68
+ FieldLayoutDefinitionKind: "TabLayout";
69
+ };
70
+ };
71
+ };
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TabDefaults = exports.TabMap = exports.TabFormComponentDefinition = exports.TabFieldLayoutDefinition = exports.TabFieldLayoutConfig = exports.TabFieldComponentDefinition = exports.TabFieldComponentConfig = void 0;
4
+ const shared_outline_1 = require("../shared.outline");
5
+ const tab_outline_1 = require("./tab.outline");
6
+ const form_component_model_1 = require("../form-component.model");
7
+ const field_component_model_1 = require("../field-component.model");
8
+ const field_layout_model_1 = require("../field-layout.model");
9
+ /* Tab Component */
10
+ class TabFieldComponentConfig extends field_component_model_1.FieldComponentConfig {
11
+ tabs;
12
+ hostCssClasses = 'tab-content';
13
+ constructor() {
14
+ super();
15
+ this.tabs = [];
16
+ }
17
+ }
18
+ exports.TabFieldComponentConfig = TabFieldComponentConfig;
19
+ class TabFieldComponentDefinition extends field_component_model_1.FieldComponentDefinition {
20
+ class = tab_outline_1.TabComponentName;
21
+ config;
22
+ constructor() {
23
+ super();
24
+ }
25
+ accept(visitor) {
26
+ visitor.visitTabFieldComponentDefinition(this);
27
+ }
28
+ }
29
+ exports.TabFieldComponentDefinition = TabFieldComponentDefinition;
30
+ /* Tab Layout */
31
+ class TabFieldLayoutConfig extends field_layout_model_1.FieldLayoutConfig {
32
+ hostCssClasses = 'rb-form-tab-layout';
33
+ tabShellCssClass = 'rb-form-tab-shell';
34
+ tabNavWrapperCssClass = 'rb-form-tab-nav-wrapper';
35
+ tabPanelWrapperCssClass = 'rb-form-tab-panel-wrapper';
36
+ buttonSectionCssClass = 'rb-form-tab-nav nav flex-column nav-pills';
37
+ tabPaneCssClass = 'rb-form-tab-pane tab-pane fade';
38
+ tabPaneActiveCssClass = 'active show';
39
+ buttonSectionAriaOrientation = 'vertical';
40
+ constructor() {
41
+ super();
42
+ }
43
+ }
44
+ exports.TabFieldLayoutConfig = TabFieldLayoutConfig;
45
+ class TabFieldLayoutDefinition extends field_layout_model_1.FieldLayoutDefinition {
46
+ class = tab_outline_1.TabLayoutName;
47
+ config;
48
+ constructor() {
49
+ super();
50
+ }
51
+ accept(visitor) {
52
+ visitor.visitTabFieldLayoutDefinition(this);
53
+ }
54
+ }
55
+ exports.TabFieldLayoutDefinition = TabFieldLayoutDefinition;
56
+ /* Tab Form Component */
57
+ class TabFormComponentDefinition extends form_component_model_1.FormComponentDefinition {
58
+ component;
59
+ model;
60
+ layout;
61
+ constructor() {
62
+ super();
63
+ }
64
+ accept(visitor) {
65
+ visitor.visitTabFormComponentDefinition(this);
66
+ }
67
+ }
68
+ exports.TabFormComponentDefinition = TabFormComponentDefinition;
69
+ exports.TabMap = [
70
+ { kind: shared_outline_1.FieldComponentConfigKind, def: TabFieldComponentConfig },
71
+ { kind: shared_outline_1.FieldComponentDefinitionKind, def: TabFieldComponentDefinition, class: tab_outline_1.TabComponentName },
72
+ { kind: shared_outline_1.FieldLayoutConfigKind, def: TabFieldLayoutConfig },
73
+ { kind: shared_outline_1.FieldLayoutDefinitionKind, def: TabFieldLayoutDefinition, class: tab_outline_1.TabLayoutName },
74
+ { kind: shared_outline_1.FormComponentDefinitionKind, def: TabFormComponentDefinition, class: tab_outline_1.TabComponentName },
75
+ ];
76
+ exports.TabDefaults = {
77
+ [shared_outline_1.FormComponentDefinitionKind]: {
78
+ [tab_outline_1.TabComponentName]: {
79
+ [shared_outline_1.FieldComponentDefinitionKind]: tab_outline_1.TabComponentName,
80
+ [shared_outline_1.FieldLayoutDefinitionKind]: tab_outline_1.TabLayoutName,
81
+ },
82
+ },
83
+ };
84
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbmZpZy9jb21wb25lbnQvdGFiLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHNEQUcyQjtBQUMzQiwrQ0FLdUI7QUFDdkIsa0VBQWdFO0FBRWhFLG9FQUF3RjtBQUN4Riw4REFBK0U7QUFJL0UsbUJBQW1CO0FBRW5CLE1BQWEsdUJBQXdCLFNBQVEsNENBQW9CO0lBQzdELElBQUksQ0FBNkM7SUFDakQsY0FBYyxHQUFHLGFBQWEsQ0FBQztJQUUvQjtRQUNJLEtBQUssRUFBRSxDQUFDO1FBQ1IsSUFBSSxDQUFD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efinitionOutline } from "../form-component.outline";
2
+ import { FieldLayoutConfigFrame, FieldLayoutConfigOutline, FieldLayoutDefinitionFrame, FieldLayoutDefinitionOutline } from "../field-layout.outline";
3
+ import { FieldComponentConfigFrame, FieldComponentConfigOutline, FieldComponentDefinitionFrame, FieldComponentDefinitionOutline } from "../field-component.outline";
4
+ import { TabContentFormComponentDefinitionFrame, TabContentFormComponentDefinitionOutline } from "./tab-content.outline";
5
+ import { FieldComponentConfigFrameKindType, FieldComponentConfigKindType, FieldComponentDefinitionFrameKindType, FieldComponentDefinitionKindType, FieldLayoutConfigFrameKindType, FieldLayoutConfigKindType, FieldLayoutDefinitionFrameKindType, FieldLayoutDefinitionKindType, FormComponentDefinitionFrameKindType, FormComponentDefinitionKindType } from "../shared.outline";
6
+ export declare const TabComponentName: "TabComponent";
7
+ export type TabComponentNameType = typeof TabComponentName;
8
+ export interface TabFieldComponentConfigFrame extends FieldComponentConfigFrame {
9
+ tabs: TabContentFormComponentDefinitionFrame[];
10
+ }
11
+ export interface TabFieldComponentConfigOutline extends TabFieldComponentConfigFrame, FieldComponentConfigOutline {
12
+ tabs: TabContentFormComponentDefinitionOutline[];
13
+ }
14
+ export interface TabFieldComponentDefinitionFrame extends FieldComponentDefinitionFrame {
15
+ class: TabComponentNameType;
16
+ config?: TabFieldComponentConfigFrame;
17
+ }
18
+ export interface TabFieldComponentDefinitionOutline extends TabFieldComponentDefinitionFrame, FieldComponentDefinitionOutline {
19
+ class: TabComponentNameType;
20
+ config?: TabFieldComponentConfigOutline;
21
+ }
22
+ export declare const TabLayoutName: "TabLayout";
23
+ export type TabLayoutNameType = typeof TabLayoutName;
24
+ export declare const ButtonSectionAriaOrientationOptions: readonly ["horizontal", "vertical"];
25
+ export type ButtonSectionAriaOrientationOptionsType = typeof ButtonSectionAriaOrientationOptions[number];
26
+ export interface TabFieldLayoutConfigFrame extends FieldLayoutConfigFrame {
27
+ /**
28
+ * CSS class for the outer tab shell wrapper.
29
+ */
30
+ tabShellCssClass?: string;
31
+ /**
32
+ * CSS class for the tab nav wrapper column.
33
+ */
34
+ tabNavWrapperCssClass?: string;
35
+ /**
36
+ * CSS class for the tab panel wrapper column.
37
+ */
38
+ tabPanelWrapperCssClass?: string;
39
+ /**
40
+ * CSS class for the tab buttons
41
+ */
42
+ buttonSectionCssClass?: string;
43
+ /**
44
+ * CSS class for the tab pane
45
+ */
46
+ tabPaneCssClass?: string;
47
+ /**
48
+ * CSS class for the active tab pane
49
+ */
50
+ tabPaneActiveCssClass?: string;
51
+ /**
52
+ * The aria orientation for the section button
53
+ */
54
+ buttonSectionAriaOrientation?: ButtonSectionAriaOrientationOptionsType;
55
+ }
56
+ export interface TabFieldLayoutConfigOutline extends TabFieldLayoutConfigFrame, FieldLayoutConfigOutline {
57
+ }
58
+ export interface TabFieldLayoutDefinitionFrame extends FieldLayoutDefinitionFrame {
59
+ class: TabLayoutNameType;
60
+ config?: TabFieldLayoutConfigFrame;
61
+ }
62
+ export interface TabFieldLayoutDefinitionOutline extends TabFieldLayoutDefinitionFrame, FieldLayoutDefinitionOutline {
63
+ class: TabLayoutNameType;
64
+ config?: TabFieldLayoutConfigOutline;
65
+ }
66
+ export interface TabFormComponentDefinitionFrame extends FormComponentDefinitionFrame {
67
+ component: TabFieldComponentDefinitionFrame;
68
+ model?: never;
69
+ layout?: TabFieldLayoutDefinitionFrame;
70
+ }
71
+ export interface TabFormComponentDefinitionOutline extends TabFormComponentDefinitionFrame, FormComponentDefinitionOutline {
72
+ component: TabFieldComponentDefinitionOutline;
73
+ model?: never;
74
+ layout?: TabFieldLayoutDefinitionOutline;
75
+ }
76
+ export type TabTypes = {
77
+ kind: FieldComponentConfigFrameKindType;
78
+ class: TabFieldComponentConfigFrame;
79
+ } | {
80
+ kind: FieldComponentDefinitionFrameKindType;
81
+ class: TabFieldComponentDefinitionFrame;
82
+ } | {
83
+ kind: FieldLayoutConfigFrameKindType;
84
+ class: TabFieldLayoutConfigFrame;
85
+ } | {
86
+ kind: FieldLayoutDefinitionFrameKindType;
87
+ class: TabFieldLayoutDefinitionFrame;
88
+ } | {
89
+ kind: FormComponentDefinitionFrameKindType;
90
+ class: TabFormComponentDefinitionFrame;
91
+ } | {
92
+ kind: FieldComponentConfigKindType;
93
+ class: TabFieldComponentConfigOutline;
94
+ } | {
95
+ kind: FieldComponentDefinitionKindType;
96
+ class: TabFieldComponentDefinitionOutline;
97
+ } | {
98
+ kind: FieldLayoutConfigKindType;
99
+ class: TabFieldLayoutConfigOutline;
100
+ } | {
101
+ kind: FieldLayoutDefinitionKindType;
102
+ class: TabFieldLayoutDefinitionOutline;
103
+ } | {
104
+ kind: FormComponentDefinitionKindType;
105
+ class: TabFormComponentDefinitionOutline;
106
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ButtonSectionAriaOrientationOptions = exports.TabLayoutName = exports.TabComponentName = void 0;
4
+ /* Tab Component */
5
+ exports.TabComponentName = "TabComponent";
6
+ /* Tab Layout */
7
+ exports.TabLayoutName = "TabLayout";
8
+ exports.ButtonSectionAriaOrientationOptions = ["horizontal", "vertical"];
9
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLm91dGxpbmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29uZmlnL2NvbXBvbmVudC90YWIub3V0bGluZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFxQkEsbUJBQW1CO0FBRU4sUUFBQSxnQkFBZ0IsR0FBRyxjQUF1QixDQUFDO0FBc0J4RCxnQkFBZ0I7QUFDSCxRQUFBLGFBQWEsR0FBRyxXQUFvQixDQUFDO0FBR3JDLFFBQUEsbUNBQW1DLEdBQUcsQ0FBQyxZQUFZLEVBQUUsVUFBVSxDQUFVLENBQUMifQ==
@@ -0,0 +1,63 @@
1
+ import { FieldComponentConfig, FieldComponentDefinition } from "../field-component.model";
2
+ import { FieldModelConfig, FieldModelDefinition } from "../field-model.model";
3
+ import { FormComponentDefinition } from "../form-component.model";
4
+ import { FormConfigVisitorOutline } from "../visitor/base.outline";
5
+ import { TextAreaFieldComponentConfigOutline, TextAreaFieldComponentDefinitionOutline, TextAreaFieldModelConfigOutline, TextAreaFieldModelDefinitionOutline, TextAreaFormComponentDefinitionOutline, TextAreaModelValueType } from "./text-area.outline";
6
+ import { AvailableFieldLayoutDefinitionOutlines } from "../dictionary.outline";
7
+ export declare class TextAreaFieldComponentConfig extends FieldComponentConfig implements TextAreaFieldComponentConfigOutline {
8
+ rows: number;
9
+ cols: number;
10
+ placeholder?: string;
11
+ constructor();
12
+ }
13
+ export declare class TextAreaFieldComponentDefinition extends FieldComponentDefinition implements TextAreaFieldComponentDefinitionOutline {
14
+ class: "TextAreaComponent";
15
+ config?: TextAreaFieldComponentConfigOutline;
16
+ constructor();
17
+ accept(visitor: FormConfigVisitorOutline): void;
18
+ }
19
+ export declare class TextAreaFieldModelConfig extends FieldModelConfig<TextAreaModelValueType> implements TextAreaFieldModelConfigOutline {
20
+ constructor();
21
+ }
22
+ export declare class TextAreaFieldModelDefinition extends FieldModelDefinition<TextAreaModelValueType> implements TextAreaFieldModelDefinitionOutline {
23
+ class: "TextAreaModel";
24
+ config?: TextAreaFieldModelConfigOutline;
25
+ constructor();
26
+ accept(visitor: FormConfigVisitorOutline): void;
27
+ }
28
+ export declare class TextAreaFormComponentDefinition extends FormComponentDefinition implements TextAreaFormComponentDefinitionOutline {
29
+ component: TextAreaFieldComponentDefinitionOutline;
30
+ model?: TextAreaFieldModelDefinitionOutline;
31
+ layout?: AvailableFieldLayoutDefinitionOutlines;
32
+ constructor();
33
+ accept(visitor: FormConfigVisitorOutline): void;
34
+ }
35
+ export declare const TextAreaMap: ({
36
+ kind: "FieldComponentConfigKind";
37
+ def: typeof TextAreaFieldComponentConfig;
38
+ class?: undefined;
39
+ } | {
40
+ kind: "FieldComponentDefinitionKind";
41
+ def: typeof TextAreaFieldComponentDefinition;
42
+ class: "TextAreaComponent";
43
+ } | {
44
+ kind: "FieldModelConfigKind";
45
+ def: typeof TextAreaFieldModelConfig;
46
+ class?: undefined;
47
+ } | {
48
+ kind: "FieldModelDefinitionKind";
49
+ def: typeof TextAreaFieldModelDefinition;
50
+ class: "TextAreaModel";
51
+ } | {
52
+ kind: "FormComponentDefinitionKind";
53
+ def: typeof TextAreaFormComponentDefinition;
54
+ class: "TextAreaComponent";
55
+ })[];
56
+ export declare const TextAreaDefaults: {
57
+ FormComponentDefinitionKind: {
58
+ TextAreaComponent: {
59
+ FieldComponentDefinitionKind: "TextAreaComponent";
60
+ FieldModelDefinitionKind: "TextAreaModel";
61
+ };
62
+ };
63
+ };
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TextAreaDefaults = exports.TextAreaMap = exports.TextAreaFormComponentDefinition = exports.TextAreaFieldModelDefinition = exports.TextAreaFieldModelConfig = exports.TextAreaFieldComponentDefinition = exports.TextAreaFieldComponentConfig = void 0;
4
+ const field_component_model_1 = require("../field-component.model");
5
+ const field_model_model_1 = require("../field-model.model");
6
+ const form_component_model_1 = require("../form-component.model");
7
+ const shared_outline_1 = require("../shared.outline");
8
+ const text_area_outline_1 = require("./text-area.outline");
9
+ /* Text Area Component */
10
+ class TextAreaFieldComponentConfig extends field_component_model_1.FieldComponentConfig {
11
+ rows = 2;
12
+ cols = 20;
13
+ placeholder = '';
14
+ constructor() {
15
+ super();
16
+ }
17
+ }
18
+ exports.TextAreaFieldComponentConfig = TextAreaFieldComponentConfig;
19
+ class TextAreaFieldComponentDefinition extends field_component_model_1.FieldComponentDefinition {
20
+ class = text_area_outline_1.TextAreaComponentName;
21
+ config;
22
+ constructor() {
23
+ super();
24
+ }
25
+ accept(visitor) {
26
+ visitor.visitTextAreaFieldComponentDefinition(this);
27
+ }
28
+ }
29
+ exports.TextAreaFieldComponentDefinition = TextAreaFieldComponentDefinition;
30
+ /* Text Area Model */
31
+ class TextAreaFieldModelConfig extends field_model_model_1.FieldModelConfig {
32
+ constructor() {
33
+ super();
34
+ }
35
+ }
36
+ exports.TextAreaFieldModelConfig = TextAreaFieldModelConfig;
37
+ class TextAreaFieldModelDefinition extends field_model_model_1.FieldModelDefinition {
38
+ class = text_area_outline_1.TextAreaModelName;
39
+ config;
40
+ constructor() {
41
+ super();
42
+ }
43
+ accept(visitor) {
44
+ visitor.visitTextAreaFieldModelDefinition(this);
45
+ }
46
+ }
47
+ exports.TextAreaFieldModelDefinition = TextAreaFieldModelDefinition;
48
+ /* Text Area Form Component */
49
+ class TextAreaFormComponentDefinition extends form_component_model_1.FormComponentDefinition {
50
+ component;
51
+ model;
52
+ layout;
53
+ constructor() {
54
+ super();
55
+ }
56
+ accept(visitor) {
57
+ visitor.visitTextAreaFormComponentDefinition(this);
58
+ }
59
+ }
60
+ exports.TextAreaFormComponentDefinition = TextAreaFormComponentDefinition;
61
+ exports.TextAreaMap = [
62
+ { kind: shared_outline_1.FieldComponentConfigKind, def: TextAreaFieldComponentConfig },
63
+ { kind: shared_outline_1.FieldComponentDefinitionKind, def: TextAreaFieldComponentDefinition, class: text_area_outline_1.TextAreaComponentName },
64
+ { kind: shared_outline_1.FieldModelConfigKind, def: TextAreaFieldModelConfig },
65
+ { kind: shared_outline_1.FieldModelDefinitionKind, def: TextAreaFieldModelDefinition, class: text_area_outline_1.TextAreaModelName },
66
+ { kind: shared_outline_1.FormComponentDefinitionKind, def: TextAreaFormComponentDefinition, class: text_area_outline_1.TextAreaComponentName },
67
+ ];
68
+ exports.TextAreaDefaults = {
69
+ [shared_outline_1.FormComponentDefinitionKind]: {
70
+ [text_area_outline_1.TextAreaComponentName]: {
71
+ [shared_outline_1.FieldComponentDefinitionKind]: text_area_outline_1.TextAreaComponentName,
72
+ [shared_outline_1.FieldModelDefinitionKind]: text_area_outline_1.TextAreaModelName,
73
+ },
74
+ },
75
+ };
76
+ //# sourceMappingURL=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CLENBQUMsRUFBRSx5Q0FBcUI7WUFDckQsQ0FBQyx5Q0FBd0IsQ0FBQyxFQUFFLHFDQUFpQjtTQUNoRDtLQUNKO0NBQ0osQ0FBQyJ9
@@ -0,0 +1,81 @@
1
+ import { AvailableFieldLayoutDefinitionFrames, AvailableFieldLayoutDefinitionOutlines } from "../dictionary.outline";
2
+ import { FieldModelConfigFrame, FieldModelConfigOutline, FieldModelDefinitionFrame, FieldModelDefinitionOutline } from "../field-model.outline";
3
+ import { FieldComponentConfigFrame, FieldComponentConfigOutline, FieldComponentDefinitionFrame, FieldComponentDefinitionOutline } from "../field-component.outline";
4
+ import { FormComponentDefinitionFrame, FormComponentDefinitionOutline } from "../form-component.outline";
5
+ import { FieldComponentConfigFrameKindType, FieldComponentConfigKindType, FieldComponentDefinitionFrameKindType, FieldComponentDefinitionKindType, FieldModelConfigFrameKindType, FieldModelConfigKindType, FieldModelDefinitionFrameKindType, FieldModelDefinitionKindType, FormComponentDefinitionFrameKindType, FormComponentDefinitionKindType } from "../shared.outline";
6
+ export declare const TextAreaComponentName: "TextAreaComponent";
7
+ export type TextAreaComponentNameType = typeof TextAreaComponentName;
8
+ export interface TextAreaFieldComponentConfigFrame extends FieldComponentConfigFrame {
9
+ rows: number;
10
+ cols: number;
11
+ placeholder?: string;
12
+ }
13
+ export interface TextAreaFieldComponentConfigOutline extends TextAreaFieldComponentConfigFrame, FieldComponentConfigOutline {
14
+ rows: number;
15
+ cols: number;
16
+ placeholder?: string;
17
+ }
18
+ export interface TextAreaFieldComponentDefinitionFrame extends FieldComponentDefinitionFrame {
19
+ class: TextAreaComponentNameType;
20
+ config?: TextAreaFieldComponentConfigFrame;
21
+ }
22
+ export interface TextAreaFieldComponentDefinitionOutline extends TextAreaFieldComponentDefinitionFrame, FieldComponentDefinitionOutline {
23
+ class: TextAreaComponentNameType;
24
+ config?: TextAreaFieldComponentConfigOutline;
25
+ }
26
+ export declare const TextAreaModelName: "TextAreaModel";
27
+ export type TextAreaModelNameType = typeof TextAreaModelName;
28
+ export type TextAreaModelValueType = string;
29
+ export interface TextAreaFieldModelConfigFrame extends FieldModelConfigFrame<TextAreaModelValueType> {
30
+ }
31
+ export interface TextAreaFieldModelConfigOutline extends TextAreaFieldModelConfigFrame, FieldModelConfigOutline<TextAreaModelValueType> {
32
+ }
33
+ export interface TextAreaFieldModelDefinitionFrame extends FieldModelDefinitionFrame<TextAreaModelValueType> {
34
+ class: TextAreaModelNameType;
35
+ config?: TextAreaFieldModelConfigFrame;
36
+ }
37
+ export interface TextAreaFieldModelDefinitionOutline extends TextAreaFieldModelDefinitionFrame, FieldModelDefinitionOutline<TextAreaModelValueType> {
38
+ class: TextAreaModelNameType;
39
+ config?: TextAreaFieldModelConfigOutline;
40
+ }
41
+ export interface TextAreaFormComponentDefinitionFrame extends FormComponentDefinitionFrame {
42
+ component: TextAreaFieldComponentDefinitionFrame;
43
+ model?: TextAreaFieldModelDefinitionFrame;
44
+ layout?: AvailableFieldLayoutDefinitionFrames;
45
+ }
46
+ export interface TextAreaFormComponentDefinitionOutline extends TextAreaFormComponentDefinitionFrame, FormComponentDefinitionOutline {
47
+ component: TextAreaFieldComponentDefinitionOutline;
48
+ model?: TextAreaFieldModelDefinitionOutline;
49
+ layout?: AvailableFieldLayoutDefinitionOutlines;
50
+ }
51
+ export type TextAreaTypes = {
52
+ kind: FieldComponentConfigFrameKindType;
53
+ class: TextAreaFieldComponentConfigFrame;
54
+ } | {
55
+ kind: FieldComponentDefinitionFrameKindType;
56
+ class: TextAreaFieldComponentDefinitionFrame;
57
+ } | {
58
+ kind: FieldModelConfigFrameKindType;
59
+ class: TextAreaFieldModelConfigFrame;
60
+ } | {
61
+ kind: FieldModelDefinitionFrameKindType;
62
+ class: TextAreaFieldModelDefinitionFrame;
63
+ } | {
64
+ kind: FormComponentDefinitionFrameKindType;
65
+ class: TextAreaFormComponentDefinitionFrame;
66
+ } | {
67
+ kind: FieldComponentConfigKindType;
68
+ class: TextAreaFieldComponentConfigOutline;
69
+ } | {
70
+ kind: FieldComponentDefinitionKindType;
71
+ class: TextAreaFieldComponentDefinitionOutline;
72
+ } | {
73
+ kind: FieldModelConfigKindType;
74
+ class: TextAreaFieldModelConfigOutline;
75
+ } | {
76
+ kind: FieldModelDefinitionKindType;
77
+ class: TextAreaFieldModelDefinitionOutline;
78
+ } | {
79
+ kind: FormComponentDefinitionKindType;
80
+ class: TextAreaFormComponentDefinitionOutline;
81
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TextAreaModelName = exports.TextAreaComponentName = void 0;
4
+ /* Text Area Component */
5
+ exports.TextAreaComponentName = "TextAreaComponent";
6
+ /* Text Area Model */
7
+ exports.TextAreaModelName = "TextAreaModel";
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC1hcmVhLm91dGxpbmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29uZmlnL2NvbXBvbmVudC90ZXh0LWFyZWEub3V0bGluZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFzQkEseUJBQXlCO0FBRVosUUFBQSxxQkFBcUIsR0FBRyxtQkFBNEIsQ0FBQztBQTJCbEUscUJBQXFCO0FBRVIsUUFBQSxpQkFBaUIsR0FBRyxlQUF3QixDQUFDIn0=
@@ -0,0 +1,78 @@
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 { TypeaheadInputFieldComponentConfigOutline, TypeaheadInputFieldComponentDefinitionOutline, TypeaheadInputFieldModelConfigOutline, TypeaheadInputFieldModelDefinitionOutline, TypeaheadInputFormComponentDefinitionOutline, TypeaheadInputModelValueType, TypeaheadOption } from "./typeahead-input.outline";
7
+ export declare class TypeaheadInputFieldComponentConfig extends FieldComponentConfig implements TypeaheadInputFieldComponentConfigOutline {
8
+ sourceType: "static" | "vocabulary" | "namedQuery" | "external";
9
+ staticOptions: TypeaheadOption[];
10
+ vocabRef?: string;
11
+ queryId?: string;
12
+ provider?: string;
13
+ resultArrayProperty?: string;
14
+ labelField?: string;
15
+ labelTemplate?: string;
16
+ valueField?: string;
17
+ minChars: number;
18
+ debounceMs: number;
19
+ maxResults: number;
20
+ requireSelection: boolean;
21
+ valueMode: "value" | "optionObject";
22
+ cacheResults: boolean;
23
+ multiSelect: boolean;
24
+ placeholder?: string;
25
+ readOnlyAfterSelect?: boolean;
26
+ constructor();
27
+ }
28
+ export declare class TypeaheadInputFieldComponentDefinition extends FieldComponentDefinition implements TypeaheadInputFieldComponentDefinitionOutline {
29
+ class: "TypeaheadInputComponent";
30
+ config?: TypeaheadInputFieldComponentConfigOutline;
31
+ constructor();
32
+ accept(visitor: FormConfigVisitorOutline): void;
33
+ }
34
+ export declare class TypeaheadInputFieldModelConfig extends FieldModelConfig<TypeaheadInputModelValueType> implements TypeaheadInputFieldModelConfigOutline {
35
+ constructor();
36
+ }
37
+ export declare class TypeaheadInputFieldModelDefinition extends FieldModelDefinition<TypeaheadInputModelValueType> implements TypeaheadInputFieldModelDefinitionOutline {
38
+ class: "TypeaheadInputModel";
39
+ config?: TypeaheadInputFieldModelConfigOutline;
40
+ constructor();
41
+ accept(visitor: FormConfigVisitorOutline): void;
42
+ }
43
+ export declare class TypeaheadInputFormComponentDefinition extends FormComponentDefinition implements TypeaheadInputFormComponentDefinitionOutline {
44
+ component: TypeaheadInputFieldComponentDefinitionOutline;
45
+ model?: TypeaheadInputFieldModelDefinitionOutline;
46
+ layout?: AvailableFieldLayoutDefinitionOutlines;
47
+ constructor();
48
+ accept(visitor: FormConfigVisitorOutline): void;
49
+ }
50
+ export declare const TypeaheadInputMap: ({
51
+ kind: "FieldComponentConfigKind";
52
+ def: typeof TypeaheadInputFieldComponentConfig;
53
+ class?: undefined;
54
+ } | {
55
+ kind: "FieldComponentDefinitionKind";
56
+ def: typeof TypeaheadInputFieldComponentDefinition;
57
+ class: "TypeaheadInputComponent";
58
+ } | {
59
+ kind: "FieldModelConfigKind";
60
+ def: typeof TypeaheadInputFieldModelConfig;
61
+ class?: undefined;
62
+ } | {
63
+ kind: "FieldModelDefinitionKind";
64
+ def: typeof TypeaheadInputFieldModelDefinition;
65
+ class: "TypeaheadInputModel";
66
+ } | {
67
+ kind: "FormComponentDefinitionKind";
68
+ def: typeof TypeaheadInputFormComponentDefinition;
69
+ class: "TypeaheadInputComponent";
70
+ })[];
71
+ export declare const TypeaheadInputDefaults: {
72
+ FormComponentDefinitionKind: {
73
+ TypeaheadInputComponent: {
74
+ FieldComponentDefinitionKind: "TypeaheadInputComponent";
75
+ FieldModelDefinitionKind: "TypeaheadInputModel";
76
+ };
77
+ };
78
+ };