@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,77 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TabContentDefaults = exports.TabContentMap = exports.TabContentFormComponentDefinition = exports.TabContentFieldLayoutDefinition = exports.TabContentFieldLayoutConfig = exports.TabContentFieldComponentDefinition = exports.TabContentFieldComponentConfig = void 0;
4
+ const shared_outline_1 = require("../shared.outline");
5
+ const field_component_model_1 = require("../field-component.model");
6
+ const field_layout_model_1 = require("../field-layout.model");
7
+ const form_component_model_1 = require("../form-component.model");
8
+ const tab_content_outline_1 = require("./tab-content.outline");
9
+ /* Tab Content Component */
10
+ class TabContentFieldComponentConfig extends field_component_model_1.FieldComponentConfig {
11
+ componentDefinitions;
12
+ selected = false;
13
+ constructor() {
14
+ super();
15
+ this.componentDefinitions = [];
16
+ }
17
+ }
18
+ exports.TabContentFieldComponentConfig = TabContentFieldComponentConfig;
19
+ class TabContentFieldComponentDefinition extends field_component_model_1.FieldComponentDefinition {
20
+ class = tab_content_outline_1.TabContentComponentName;
21
+ config;
22
+ constructor() {
23
+ super();
24
+ }
25
+ async accept(visitor) {
26
+ await visitor.visitTabContentFieldComponentDefinition(this);
27
+ }
28
+ }
29
+ exports.TabContentFieldComponentDefinition = TabContentFieldComponentDefinition;
30
+ /* Tab Content Layout */
31
+ class TabContentFieldLayoutConfig extends field_layout_model_1.FieldLayoutConfig {
32
+ buttonLabel;
33
+ constructor() {
34
+ super();
35
+ }
36
+ }
37
+ exports.TabContentFieldLayoutConfig = TabContentFieldLayoutConfig;
38
+ class TabContentFieldLayoutDefinition extends field_layout_model_1.FieldLayoutDefinition {
39
+ class = tab_content_outline_1.TabContentLayoutName;
40
+ config;
41
+ constructor() {
42
+ super();
43
+ }
44
+ async accept(visitor) {
45
+ await visitor.visitTabContentFieldLayoutDefinition(this);
46
+ }
47
+ }
48
+ exports.TabContentFieldLayoutDefinition = TabContentFieldLayoutDefinition;
49
+ /* Tab Content Form Component */
50
+ class TabContentFormComponentDefinition extends form_component_model_1.FormComponentDefinition {
51
+ component;
52
+ model;
53
+ layout;
54
+ constructor() {
55
+ super();
56
+ }
57
+ async accept(visitor) {
58
+ await visitor.visitTabContentFormComponentDefinition(this);
59
+ }
60
+ }
61
+ exports.TabContentFormComponentDefinition = TabContentFormComponentDefinition;
62
+ exports.TabContentMap = [
63
+ { kind: shared_outline_1.FieldComponentConfigKind, def: TabContentFieldComponentConfig },
64
+ { kind: shared_outline_1.FieldComponentDefinitionKind, def: TabContentFieldComponentDefinition, class: tab_content_outline_1.TabContentComponentName },
65
+ { kind: shared_outline_1.FieldLayoutConfigKind, def: TabContentFieldLayoutConfig },
66
+ { kind: shared_outline_1.FieldLayoutDefinitionKind, def: TabContentFieldLayoutDefinition, class: tab_content_outline_1.TabContentLayoutName },
67
+ { kind: shared_outline_1.FormComponentDefinitionKind, def: TabContentFormComponentDefinition, class: tab_content_outline_1.TabContentComponentName },
68
+ ];
69
+ exports.TabContentDefaults = {
70
+ [shared_outline_1.FormComponentDefinitionKind]: {
71
+ [tab_content_outline_1.TabContentComponentName]: {
72
+ [shared_outline_1.FieldComponentDefinitionKind]: tab_content_outline_1.TabContentComponentName,
73
+ [shared_outline_1.FieldLayoutDefinitionKind]: tab_content_outline_1.TabContentLayoutName,
74
+ },
75
+ },
76
+ };
77
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLWNvbnRlbnQubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29uZmlnL2NvbXBvbmVudC90YWItY29udGVudC5tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFDQSxzREFLMkI7QUFFM0Isb0VBQXdGO0FBQ3hGLDhEQUErRTtBQUMvRSxrRUFBZ0U7QUFDaEUsK0RBTStCO0FBRy9CLDJCQUEyQjtBQUUzQixNQUFhLDhCQUErQixTQUFRLDRDQUFvQjtJQUNwRSxvQkFBb0IsQ0FBNkM7SUFDakUsUUFBUSxHQUFhLEtBQUssQ0FBQztJQUUzQjtRQUNJLEtBQUssRUFBRSxDQUFDO1FBQ1IsSUFBSSxDQUFDLG9CQUFvQixHQUFHLEVBQUUsQ0FBQztJQUNuQyxDQUFDO0NBQ0o7QUFSRCx3RUFRQztBQUdELE1BQWEsa0NBQW1DLFNBQVEsZ0RBQXdCO0lBQzV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Sx5Q0FBd0IsRUFBRSxHQUFHLEVBQUUsOEJBQThCLEVBQUM7SUFDckUsRUFBQyxJQUFJLEVBQUUsNkNBQTRCLEVBQUUsR0FBRyxFQUFFLGtDQUFrQyxFQUFFLEtBQUssRUFBRSw2Q0FBdUIsRUFBQztJQUM3RyxFQUFDLElBQUksRUFBRSxzQ0FBcUIsRUFBRSxHQUFHLEVBQUUsMkJBQTJCLEVBQUM7SUFDL0QsRUFBQyxJQUFJLEVBQUUsMENBQXlCLEVBQUUsR0FBRyxFQUFFLCtCQUErQixFQUFFLEtBQUssRUFBRSwwQ0FBb0IsRUFBQztJQUNwRyxFQUFDLElBQUksRUFBRSw0Q0FBMkIsRUFBRSxHQUFHLEVBQUUsaUNBQWlDLEVBQUUsS0FBSyxFQUFFLDZDQUF1QixFQUFDO0NBQzlHLENBQUM7QUFDVyxRQUFBLGtCQUFrQixHQUFHO0lBQzlCLENBQUMsNENBQTJCLENBQUMsRUFBRTtRQUMzQixDQUFDLDZDQUF1QixDQUFDLEVBQUU7WUFDdkIsQ0FBQyw2Q0FBNEIsQ0FBQyxFQUFFLDZDQUF1QjtZQUN2RCxDQUFDLDBDQUF5QixDQUFDLEVBQUUsMENBQW9CO1NBQ3BEO0tBQ0o7Q0FDSixDQUFDIn0=
@@ -0,0 +1,92 @@
1
+ import { FieldComponentConfigFrame, FieldComponentConfigOutline, FieldComponentDefinitionFrame, FieldComponentDefinitionOutline } from "../field-component.outline";
2
+ import { AvailableFormComponentDefinitionFrames, AvailableFormComponentDefinitionOutlines } from "../dictionary.outline";
3
+ import { FieldLayoutConfigFrame, FieldLayoutDefinitionFrame, FieldLayoutDefinitionOutline } from "../field-layout.outline";
4
+ import { FormComponentDefinitionFrame, FormComponentDefinitionOutline } from "../form-component.outline";
5
+ import { FieldComponentConfigFrameKindType, FieldComponentConfigKindType, FieldComponentDefinitionFrameKindType, FieldComponentDefinitionKindType, FieldLayoutConfigFrameKindType, FieldLayoutConfigKindType, FieldLayoutDefinitionFrameKindType, FieldLayoutDefinitionKindType, FormComponentDefinitionFrameKindType, FormComponentDefinitionKindType } from "../shared.outline";
6
+ export declare const TabContentComponentName: "TabContentComponent";
7
+ export type TabContentComponentNameType = typeof TabContentComponentName;
8
+ export interface TabContentFieldComponentConfigFrame extends FieldComponentConfigFrame {
9
+ /**
10
+ * The components to render in the tab.
11
+ */
12
+ componentDefinitions: AvailableFormComponentDefinitionFrames[];
13
+ /**
14
+ * Whether the tab is selected on initialization
15
+ */
16
+ selected?: boolean;
17
+ }
18
+ export interface TabContentFieldComponentConfigOutline extends TabContentFieldComponentConfigFrame, FieldComponentConfigOutline {
19
+ componentDefinitions: AvailableFormComponentDefinitionOutlines[];
20
+ selected?: boolean;
21
+ }
22
+ export interface TabContentFieldComponentDefinitionFrame extends FieldComponentDefinitionFrame {
23
+ class: TabContentComponentNameType;
24
+ config?: TabContentFieldComponentConfigFrame;
25
+ }
26
+ export interface TabContentFieldComponentDefinitionOutline extends TabContentFieldComponentDefinitionFrame, FieldComponentDefinitionOutline {
27
+ class: TabContentComponentNameType;
28
+ config?: TabContentFieldComponentConfigOutline;
29
+ }
30
+ export declare const TabContentLayoutName: "TabContentLayout";
31
+ export type TabContentLayoutNameType = typeof TabContentLayoutName;
32
+ export interface TabContentFieldLayoutConfigFrame extends FieldLayoutConfigFrame {
33
+ /**
34
+ * The text on the button
35
+ */
36
+ buttonLabel?: string;
37
+ }
38
+ interface FieldLayoutConfigOutline {
39
+ }
40
+ export interface TabContentFieldLayoutConfigOutline extends TabContentFieldLayoutConfigFrame, FieldLayoutConfigOutline {
41
+ buttonLabel?: string;
42
+ }
43
+ export interface TabContentFieldLayoutDefinitionFrame extends FieldLayoutDefinitionFrame {
44
+ class: TabContentLayoutNameType;
45
+ config?: TabContentFieldLayoutConfigFrame;
46
+ }
47
+ export interface TabContentFieldLayoutDefinitionOutline extends TabContentFieldLayoutDefinitionFrame, FieldLayoutDefinitionOutline {
48
+ class: TabContentLayoutNameType;
49
+ config?: TabContentFieldLayoutConfigOutline;
50
+ }
51
+ export interface TabContentFormComponentDefinitionFrame extends FormComponentDefinitionFrame {
52
+ component: TabContentFieldComponentDefinitionFrame;
53
+ model?: never;
54
+ layout?: TabContentFieldLayoutDefinitionFrame;
55
+ }
56
+ export interface TabContentFormComponentDefinitionOutline extends TabContentFormComponentDefinitionFrame, FormComponentDefinitionOutline {
57
+ component: TabContentFieldComponentDefinitionOutline;
58
+ model?: never;
59
+ layout?: TabContentFieldLayoutDefinitionOutline;
60
+ }
61
+ export type TabContentTypes = {
62
+ kind: FieldComponentConfigFrameKindType;
63
+ class: TabContentFieldComponentConfigFrame;
64
+ } | {
65
+ kind: FieldComponentDefinitionFrameKindType;
66
+ class: TabContentFieldComponentDefinitionFrame;
67
+ } | {
68
+ kind: FieldLayoutConfigFrameKindType;
69
+ class: TabContentFieldLayoutConfigFrame;
70
+ } | {
71
+ kind: FieldLayoutDefinitionFrameKindType;
72
+ class: TabContentFieldLayoutDefinitionFrame;
73
+ } | {
74
+ kind: FormComponentDefinitionFrameKindType;
75
+ class: TabContentFormComponentDefinitionFrame;
76
+ } | {
77
+ kind: FieldComponentConfigKindType;
78
+ class: TabContentFieldComponentConfigOutline;
79
+ } | {
80
+ kind: FieldComponentDefinitionKindType;
81
+ class: TabContentFieldComponentDefinitionOutline;
82
+ } | {
83
+ kind: FieldLayoutConfigKindType;
84
+ class: TabContentFieldLayoutConfigOutline;
85
+ } | {
86
+ kind: FieldLayoutDefinitionKindType;
87
+ class: TabContentFieldLayoutDefinitionOutline;
88
+ } | {
89
+ kind: FormComponentDefinitionKindType;
90
+ class: TabContentFormComponentDefinitionOutline;
91
+ };
92
+ export {};
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TabContentLayoutName = exports.TabContentComponentName = void 0;
4
+ /* Tab Content Component */
5
+ exports.TabContentComponentName = "TabContentComponent";
6
+ /* Tab Content Layout */
7
+ exports.TabContentLayoutName = "TabContentLayout";
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLWNvbnRlbnQub3V0bGluZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb25maWcvY29tcG9uZW50L3RhYi1jb250ZW50Lm91dGxpbmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBb0JBLDJCQUEyQjtBQUVkLFFBQUEsdUJBQXVCLEdBQUcscUJBQThCLENBQUM7QUErQnRFLHdCQUF3QjtBQUNYLFFBQUEsb0JBQW9CLEdBQUcsa0JBQTJCLENBQUMifQ==
@@ -0,0 +1,45 @@
1
+ import { FieldComponentConfig, FieldComponentDefinition } from '../field-component.model';
2
+ import { AvailableFieldLayoutDefinitionOutlines } from '../dictionary.outline';
3
+ import { FormComponentDefinition } from '../form-component.model';
4
+ import { FormConfigVisitorOutline } from '../visitor/base.outline';
5
+ import { TabNavButtonFieldComponentConfigOutline, TabNavButtonFieldComponentDefinitionOutline, TabNavButtonFormComponentDefinitionOutline } from './tab-nav-button.outline';
6
+ export declare class TabNavButtonFieldComponentConfig extends FieldComponentConfig implements TabNavButtonFieldComponentConfigOutline {
7
+ prevLabel?: string;
8
+ nextLabel?: string;
9
+ targetTabContainerId?: string;
10
+ endDisplayMode?: string;
11
+ constructor();
12
+ }
13
+ export declare class TabNavButtonFieldComponentDefinition extends FieldComponentDefinition implements TabNavButtonFieldComponentDefinitionOutline {
14
+ class: "TabNavButtonComponent";
15
+ config?: TabNavButtonFieldComponentConfigOutline;
16
+ constructor();
17
+ accept(visitor: FormConfigVisitorOutline): Promise<void>;
18
+ }
19
+ export declare class TabNavButtonFormComponentDefinition extends FormComponentDefinition implements TabNavButtonFormComponentDefinitionOutline {
20
+ component: TabNavButtonFieldComponentDefinitionOutline;
21
+ model?: never;
22
+ layout?: AvailableFieldLayoutDefinitionOutlines;
23
+ constructor();
24
+ accept(visitor: FormConfigVisitorOutline): Promise<void>;
25
+ }
26
+ export declare const TabNavButtonMap: ({
27
+ kind: "FieldComponentConfigKind";
28
+ def: typeof TabNavButtonFieldComponentConfig;
29
+ class?: undefined;
30
+ } | {
31
+ kind: "FieldComponentDefinitionKind";
32
+ def: typeof TabNavButtonFieldComponentDefinition;
33
+ class: "TabNavButtonComponent";
34
+ } | {
35
+ kind: "FormComponentDefinitionKind";
36
+ def: typeof TabNavButtonFormComponentDefinition;
37
+ class: "TabNavButtonComponent";
38
+ })[];
39
+ export declare const TabNavButtonDefaults: {
40
+ FormComponentDefinitionKind: {
41
+ TabNavButtonComponent: {
42
+ FieldComponentDefinitionKind: "TabNavButtonComponent";
43
+ };
44
+ };
45
+ };
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TabNavButtonDefaults = exports.TabNavButtonMap = exports.TabNavButtonFormComponentDefinition = exports.TabNavButtonFieldComponentDefinition = exports.TabNavButtonFieldComponentConfig = void 0;
4
+ const field_component_model_1 = require("../field-component.model");
5
+ const form_component_model_1 = require("../form-component.model");
6
+ const shared_outline_1 = require("../shared.outline");
7
+ const tab_nav_button_outline_1 = require("./tab-nav-button.outline");
8
+ /* Tab Nav Button Component */
9
+ class TabNavButtonFieldComponentConfig extends field_component_model_1.FieldComponentConfig {
10
+ prevLabel;
11
+ nextLabel;
12
+ targetTabContainerId;
13
+ endDisplayMode;
14
+ constructor() {
15
+ super();
16
+ }
17
+ }
18
+ exports.TabNavButtonFieldComponentConfig = TabNavButtonFieldComponentConfig;
19
+ class TabNavButtonFieldComponentDefinition extends field_component_model_1.FieldComponentDefinition {
20
+ class = tab_nav_button_outline_1.TabNavButtonComponentName;
21
+ config;
22
+ constructor() {
23
+ super();
24
+ }
25
+ async accept(visitor) {
26
+ await visitor.visitTabNavButtonFieldComponentDefinition(this);
27
+ }
28
+ }
29
+ exports.TabNavButtonFieldComponentDefinition = TabNavButtonFieldComponentDefinition;
30
+ /* Tab Nav Button Form Component */
31
+ class TabNavButtonFormComponentDefinition extends form_component_model_1.FormComponentDefinition {
32
+ component;
33
+ model;
34
+ layout;
35
+ constructor() {
36
+ super();
37
+ }
38
+ async accept(visitor) {
39
+ await visitor.visitTabNavButtonFormComponentDefinition(this);
40
+ }
41
+ }
42
+ exports.TabNavButtonFormComponentDefinition = TabNavButtonFormComponentDefinition;
43
+ exports.TabNavButtonMap = [
44
+ { kind: shared_outline_1.FieldComponentConfigKind, def: TabNavButtonFieldComponentConfig },
45
+ { kind: shared_outline_1.FieldComponentDefinitionKind, def: TabNavButtonFieldComponentDefinition, class: tab_nav_button_outline_1.TabNavButtonComponentName },
46
+ { kind: shared_outline_1.FormComponentDefinitionKind, def: TabNavButtonFormComponentDefinition, class: tab_nav_button_outline_1.TabNavButtonComponentName },
47
+ ];
48
+ exports.TabNavButtonDefaults = {
49
+ [shared_outline_1.FormComponentDefinitionKind]: {
50
+ [tab_nav_button_outline_1.TabNavButtonComponentName]: {
51
+ [shared_outline_1.FieldComponentDefinitionKind]: tab_nav_button_outline_1.TabNavButtonComponentName,
52
+ },
53
+ },
54
+ };
55
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLW5hdi1idXR0b24ubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29uZmlnL2NvbXBvbmVudC90YWItbmF2LWJ1dHRvbi5tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxvRUFBMEY7QUFFMUYsa0VBQWtFO0FBRWxFLHNEQUF3SDtBQUN4SCxxRUFLa0M7QUFFbEMsOEJBQThCO0FBRTlCLE1BQWEsZ0NBQ1gsU0FBUSw0Q0FBb0I7SUFHNUIsU0FBUyxDQUFVO0lBQ25CLFNBQVMsQ0FBVTtJQUNuQixvQkFBb0IsQ0FBVTtJQUM5QixjQUFjLENBQV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DQUFDLEVBQUU7UUFDN0IsQ0FBQyxrREFBeUIsQ0FBQyxFQUFFO1lBQzNCLENBQUMsNkNBQTRCLENBQUMsRUFBRSxrREFBeUI7U0FDMUQ7S0FDRjtDQUNGLENBQUMifQ==
@@ -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): Promise<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): Promise<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): Promise<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
+ async accept(visitor) {
26
+ await 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
+ async accept(visitor) {
52
+ await 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
+ async accept(visitor) {
65
+ await 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbmZpZy9jb21wb25lbnQvdGFiLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHNEQUcyQjtBQUMzQiwrQ0FLdUI7QUFDdkIsa0VBQWdFO0FBRWhFLG9FQUF3RjtBQUN4Riw4REFBK0U7QUFJL0UsbUJBQW1CO0FBRW5CLE1BQWEsdUJBQXdCLFNBQVEsNENBQW9CO0lBQzdELElBQUksQ0FBNkM7SUFDakQsY0FBYyxHQUFHLGFBQWEsQ0FBQztJQUUvQjtRQUNJLEtBQUssRUFBRSxDQUFDO1FBQ1IsSUFBSSxDQUFDLElBQUksR0FBRyxFQUFFLENBQUM7SUFDbkIsQ0FBQztDQUNKO0FBUkQsMERBUUM7QUFHRCxNQUFhLDJCQUE0QixTQUFRLGdEQUF3QjtJQUNyRSxLQUFLLEdBQUcsOEJBQWdCLENBQUM7SUFDekIsTUFBTSxDQUFrQztJQUV4QztRQUNJLEtBQUssRUFBRSxDQU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ixDQUFDO0lBRUQsS0FBSyxDQUFDLE1BQU0sQ0FBQyxPQUFpQztRQUMxQyxNQUFNLE9BQU8sQ0FBQywrQkFBK0IsQ0FBQyxJQUFJLENBQUMsQ0FBQztJQUN4RCxDQUFDO0NBQ0o7QUFaRCxnRUFZQztBQUVZLFFBQUEsTUFBTSxHQUFHO0lBQ2xCLEVBQUMsSUFBSSxFQUFFLHlDQUF3QixFQUFFLEdBQUcsRUFBRSx1QkFBdUIsRUFBQztJQUM5RCxFQUFDLElBQUksRUFBRSw2Q0FBNEIsRUFBRSxHQUFHLEVBQUUsMkJBQTJCLEVBQUUsS0FBSyxFQUFFLDhCQUFnQixFQUFDO0lBQy9GLEVBQUMsSUFBSSxFQUFFLHNDQUFxQixFQUFFLEdBQUcsRUFBRSxvQkFBb0IsRUFBQztJQUN4RCxFQUFDLElBQUksRUFBRSwwQ0FBeUIsRUFBRSxHQUFHLEVBQUUsd0JBQXdCLEVBQUUsS0FBSyxFQUFFLDJCQUFhLEVBQUM7SUFDdEYsRUFBQyxJQUFJLEVBQUUsNENBQTJCLEVBQUUsR0FBRyxFQUFFLDBCQUEwQixFQUFFLEtBQUssRUFBQyw4QkFBZ0IsRUFBQztDQUMvRixDQUFDO0FBQ1csUUFBQSxXQUFXLEdBQUc7SUFDdkIsQ0FBQyw0Q0FBMkIsQ0FBQyxFQUFFO1FBQzNCLENBQUMsOEJBQWdCLENBQUMsRUFBRTtZQUNoQixDQUFDLDZDQUE0QixDQUFDLEVBQUUsOEJBQWdCO1lBQ2hELENBQUMsMENBQXlCLENBQUMsRUFBRSwyQkFBYTtTQUM3QztLQUNKO0NBQ0osQ0FBQyJ9
@@ -0,0 +1,106 @@
1
+ import { FormComponentDefinitionFrame, FormComponentDefinitionOutline } 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==