@sap/ux-specification 1.71.46 → 1.71.50

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 (172) hide show
  1. package/CHANGELOG.md +89 -6
  2. package/dist/documentation/runDocu-min.js +1 -1
  3. package/dist/documentation/styleDocu.css +4 -5
  4. package/dist/documentation/v2/v2-AnalyticalListPage.html +1 -1
  5. package/dist/documentation/v2/v2-ApplicationV2.html +1 -1
  6. package/dist/documentation/v2/v2-ListReport.html +1 -1
  7. package/dist/documentation/v2/v2-ObjectPage.html +1 -1
  8. package/dist/documentation/v2/v2-OverviewPage.html +1 -1
  9. package/dist/index-min.js +1 -1
  10. package/dist/schemas/v2/AnalyticalListPageConfig.json +107 -40
  11. package/dist/schemas/v2/ListReportConfig.json +110 -32
  12. package/dist/schemas/v2/ObjectPageConfig.json +245 -56
  13. package/dist/schemas/v2/OverviewPageConfig.json +236 -190
  14. package/dist/scripts/extractDocu.js +18 -8
  15. package/dist/scripts/extractDocu.js.map +1 -1
  16. package/dist/scripts/runDocu.js +105 -89
  17. package/dist/scripts/runDocu.js.map +1 -1
  18. package/dist/scripts/to-json-schema.js +27 -32
  19. package/dist/scripts/to-json-schema.js.map +1 -1
  20. package/dist/specification/v2/index-min.js +1 -1
  21. package/dist/src/api.js +3 -3
  22. package/dist/src/api.js.map +1 -1
  23. package/dist/src/apiTypes.d.ts +1 -2
  24. package/dist/src/specification/common/types.d.ts +4 -0
  25. package/dist/src/specification/common/types.js +5 -0
  26. package/dist/src/specification/common/types.js.map +1 -1
  27. package/dist/src/specification/schemaAccess.js +1 -3
  28. package/dist/src/specification/schemaAccess.js.map +1 -1
  29. package/dist/src/specification/v2/controls/Action.d.ts +82 -0
  30. package/dist/src/specification/v2/controls/{FormAction.js → Action.js} +1 -1
  31. package/dist/src/specification/v2/controls/Action.js.map +1 -0
  32. package/dist/src/specification/v2/controls/Card.d.ts +20 -72
  33. package/dist/src/specification/v2/controls/Card.js.map +1 -1
  34. package/dist/src/specification/v2/controls/FilterBar.d.ts +6 -2
  35. package/dist/src/specification/v2/controls/Footer.d.ts +20 -0
  36. package/dist/src/specification/v2/controls/{ObjectPageFooter.js → Footer.js} +1 -1
  37. package/dist/src/specification/v2/controls/Footer.js.map +1 -0
  38. package/dist/src/specification/v2/controls/ObjectPageForm.d.ts +1 -2
  39. package/dist/src/specification/v2/controls/ObjectPageHeader.d.ts +1 -1
  40. package/dist/src/specification/v2/controls/ObjectPageTable.d.ts +5 -0
  41. package/dist/src/specification/v2/controls/ObjectPageTable.js.map +1 -1
  42. package/dist/src/specification/v2/controls/ObjectPageToolBar.d.ts +1 -5
  43. package/dist/src/specification/v2/controls/Table.d.ts +14 -10
  44. package/dist/src/specification/v2/controls/Table.js.map +1 -1
  45. package/dist/src/specification/v2/controls/ToolBar.d.ts +1 -8
  46. package/dist/src/specification/v2/controls/index.d.ts +8 -10
  47. package/dist/src/specification/v2/controls/index.js +3 -3
  48. package/dist/src/specification/v2/controls/index.js.map +1 -1
  49. package/dist/src/specification/v2/pages/AnalyticalListPageConfig.d.ts +2 -1
  50. package/dist/src/specification/v2/pages/ListReportConfig.d.ts +3 -2
  51. package/dist/src/sync/common/appProvider.js.map +1 -1
  52. package/dist/src/sync/common/decoration/control.d.ts +11 -1
  53. package/dist/src/sync/common/decoration/control.js +29 -3
  54. package/dist/src/sync/common/decoration/control.js.map +1 -1
  55. package/dist/src/sync/common/decoration/factory.js +2 -4
  56. package/dist/src/sync/common/decoration/factory.js.map +1 -1
  57. package/dist/src/sync/common/generate/index.d.ts +1 -0
  58. package/dist/src/sync/common/generate/index.js +1 -0
  59. package/dist/src/sync/common/generate/index.js.map +1 -1
  60. package/dist/src/sync/common/generate/objectPage.d.ts +8 -0
  61. package/dist/src/sync/common/generate/objectPage.js +28 -12
  62. package/dist/src/sync/common/generate/objectPage.js.map +1 -1
  63. package/dist/src/sync/common/generate/utils.d.ts +60 -0
  64. package/dist/src/sync/common/generate/utils.js +208 -0
  65. package/dist/src/sync/common/generate/utils.js.map +1 -0
  66. package/dist/src/sync/common/i18n.json +2 -0
  67. package/dist/src/sync/common/import/utils.d.ts +8 -1
  68. package/dist/src/sync/common/import/utils.js +14 -3
  69. package/dist/src/sync/common/import/utils.js.map +1 -1
  70. package/dist/src/sync/common/importProject.js +13 -20
  71. package/dist/src/sync/common/importProject.js.map +1 -1
  72. package/dist/src/sync/common/types.d.ts +29 -15
  73. package/dist/src/sync/common/types.js +25 -1
  74. package/dist/src/sync/common/types.js.map +1 -1
  75. package/dist/src/sync/common/utils.d.ts +12 -24
  76. package/dist/src/sync/common/utils.js +31 -97
  77. package/dist/src/sync/common/utils.js.map +1 -1
  78. package/dist/src/sync/v2/export/controls/Action.d.ts +28 -0
  79. package/dist/src/sync/v2/export/controls/Action.js +127 -0
  80. package/dist/src/sync/v2/export/controls/Action.js.map +1 -0
  81. package/dist/src/sync/v2/export/controls/Card.d.ts +3 -7
  82. package/dist/src/sync/v2/export/controls/Card.js +15 -43
  83. package/dist/src/sync/v2/export/controls/Card.js.map +1 -1
  84. package/dist/src/sync/v2/export/controls/FilterBar.d.ts +4 -3
  85. package/dist/src/sync/v2/export/controls/FilterBar.js +25 -15
  86. package/dist/src/sync/v2/export/controls/FilterBar.js.map +1 -1
  87. package/dist/src/sync/v2/export/controls/FormAction.js +3 -2
  88. package/dist/src/sync/v2/export/controls/FormAction.js.map +1 -1
  89. package/dist/src/sync/v2/export/controls/Fragment.d.ts +1 -1
  90. package/dist/src/sync/v2/export/controls/Fragment.js +244 -168
  91. package/dist/src/sync/v2/export/controls/Fragment.js.map +1 -1
  92. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts +8 -0
  93. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js +62 -0
  94. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +1 -0
  95. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js +11 -29
  96. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +1 -1
  97. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +1 -1
  98. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js +2 -2
  99. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js.map +1 -1
  100. package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts +5 -1
  101. package/dist/src/sync/v2/export/controls/ObjectPageTable.js +25 -0
  102. package/dist/src/sync/v2/export/controls/ObjectPageTable.js.map +1 -1
  103. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.d.ts +8 -0
  104. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js +61 -0
  105. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js.map +1 -0
  106. package/dist/src/sync/v2/export/controls/Table.d.ts +5 -4
  107. package/dist/src/sync/v2/export/controls/Table.js +16 -21
  108. package/dist/src/sync/v2/export/controls/Table.js.map +1 -1
  109. package/dist/src/sync/v2/export/controls/TableColumn.d.ts +18 -2
  110. package/dist/src/sync/v2/export/controls/TableColumn.js +126 -1
  111. package/dist/src/sync/v2/export/controls/TableColumn.js.map +1 -1
  112. package/dist/src/sync/v2/export/controls/ToolBar.d.ts +4 -0
  113. package/dist/src/sync/v2/export/controls/ToolBar.js +6 -0
  114. package/dist/src/sync/v2/export/controls/ToolBar.js.map +1 -0
  115. package/dist/src/sync/v2/export/controls/index.d.ts +11 -7
  116. package/dist/src/sync/v2/export/controls/index.js +11 -7
  117. package/dist/src/sync/v2/export/controls/index.js.map +1 -1
  118. package/dist/src/sync/v2/export/export.js +134 -111
  119. package/dist/src/sync/v2/export/export.js.map +1 -1
  120. package/dist/src/sync/v2/export/exportPage.js +3 -2
  121. package/dist/src/sync/v2/export/exportPage.js.map +1 -1
  122. package/dist/src/sync/v2/export/manifest.js +2 -5
  123. package/dist/src/sync/v2/export/manifest.js.map +1 -1
  124. package/dist/src/sync/v2/export/pages/AnalyticalListPage.d.ts +2 -1
  125. package/dist/src/sync/v2/export/pages/AnalyticalListPage.js +3 -0
  126. package/dist/src/sync/v2/export/pages/AnalyticalListPage.js.map +1 -1
  127. package/dist/src/sync/v2/export/pages/ListReport.d.ts +3 -2
  128. package/dist/src/sync/v2/export/pages/ListReport.js +3 -0
  129. package/dist/src/sync/v2/export/pages/ListReport.js.map +1 -1
  130. package/dist/src/sync/v2/export/view-controller-generator.d.ts +16 -21
  131. package/dist/src/sync/v2/export/view-controller-generator.js +20 -36
  132. package/dist/src/sync/v2/export/view-controller-generator.js.map +1 -1
  133. package/dist/src/sync/v2/generate/analyticalListReport.js +16 -8
  134. package/dist/src/sync/v2/generate/analyticalListReport.js.map +1 -1
  135. package/dist/src/sync/v2/generate/listReport.d.ts +8 -0
  136. package/dist/src/sync/v2/generate/listReport.js +26 -7
  137. package/dist/src/sync/v2/generate/listReport.js.map +1 -1
  138. package/dist/src/sync/v2/generate/objectPage.d.ts +1 -6
  139. package/dist/src/sync/v2/generate/objectPage.js +203 -110
  140. package/dist/src/sync/v2/generate/objectPage.js.map +1 -1
  141. package/dist/src/sync/v2/generate/utils.d.ts +16 -12
  142. package/dist/src/sync/v2/generate/utils.js +235 -98
  143. package/dist/src/sync/v2/generate/utils.js.map +1 -1
  144. package/dist/src/sync/v2/import/common/index.d.ts +29 -4
  145. package/dist/src/sync/v2/import/common/index.js +329 -45
  146. package/dist/src/sync/v2/import/common/index.js.map +1 -1
  147. package/dist/src/sync/v2/import/controls/table.js +3 -2
  148. package/dist/src/sync/v2/import/controls/table.js.map +1 -1
  149. package/dist/src/sync/v2/import/pages/analyticalListPage.js +27 -5
  150. package/dist/src/sync/v2/import/pages/analyticalListPage.js.map +1 -1
  151. package/dist/src/sync/v2/import/pages/listReport.d.ts +0 -5
  152. package/dist/src/sync/v2/import/pages/listReport.js +21 -100
  153. package/dist/src/sync/v2/import/pages/listReport.js.map +1 -1
  154. package/dist/src/sync/v2/import/pages/objectPage.d.ts +1 -1
  155. package/dist/src/sync/v2/import/pages/objectPage.js +440 -298
  156. package/dist/src/sync/v2/import/pages/objectPage.js.map +1 -1
  157. package/dist/src/sync/v2/import/utils.d.ts +4 -6
  158. package/dist/src/sync/v2/import/utils.js +32 -11
  159. package/dist/src/sync/v2/import/utils.js.map +1 -1
  160. package/dist/src/sync/v2/types.d.ts +28 -2
  161. package/dist/src/sync/v2/types.js +14 -0
  162. package/dist/src/sync/v2/types.js.map +1 -1
  163. package/dist/test/unit/utils.test.d.ts +1 -1
  164. package/package.json +12 -11
  165. package/dist/src/specification/v2/controls/FormAction.d.ts +0 -38
  166. package/dist/src/specification/v2/controls/FormAction.js.map +0 -1
  167. package/dist/src/specification/v2/controls/ObjectPageFooter.d.ts +0 -11
  168. package/dist/src/specification/v2/controls/ObjectPageFooter.js.map +0 -1
  169. package/dist/src/specification/v2/controls/ObjectPageHeaderAction.d.ts +0 -27
  170. package/dist/src/specification/v2/controls/ObjectPageHeaderAction.js +0 -3
  171. package/dist/src/specification/v2/controls/ObjectPageHeaderAction.js.map +0 -1
  172. package/dist/test/test-utils/metadataParser.d.ts +0 -19
package/dist/src/api.js CHANGED
@@ -98,7 +98,7 @@ exports.importConfig = importConfig;
98
98
  * @returns a list of files, comprising app schemas and configs
99
99
  */
100
100
  async function importProject(importParameters) {
101
- return await common_1.importProjectSchemaAndConfig(importParameters);
101
+ return common_1.importProjectSchemaAndConfig(importParameters);
102
102
  }
103
103
  exports.importProject = importProject;
104
104
  /**
@@ -107,7 +107,7 @@ exports.importProject = importProject;
107
107
  * @returns a list of files, comprising all app schemas
108
108
  */
109
109
  async function importProjectSchema(importParameters) {
110
- return await common_1.importProjectSchema(importParameters);
110
+ return common_1.importProjectSchema(importParameters);
111
111
  }
112
112
  exports.importProjectSchema = importProjectSchema;
113
113
  /**
@@ -116,7 +116,7 @@ exports.importProjectSchema = importProjectSchema;
116
116
  */
117
117
  function getApiVersion() {
118
118
  return {
119
- version: '1'
119
+ version: '3'
120
120
  };
121
121
  }
122
122
  exports.getApiVersion = getApiVersion;
@@ -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,OAAO,MAAM,CAAC;AAClB,CAAC;AAlBD,oCAkBC;AAED;;;;GAIG;AACI,KAAK,UAAU,aAAa,CAAC,gBAAyC;IACzE,OAAO,qCAA4B,CAAC,gBAAgB,CAAC,CAAC;AAC1D,CAAC;AAFD,sCAEC;AAED;;;;GAIG;AACI,KAAK,UAAU,mBAAmB,CAAC,gBAAyC;IAC/E,OAAO,4BAAuB,CAAC,gBAAgB,CAAC,CAAC;AACrD,CAAC;AAFD,kDAEC;AAED;;;GAGG;AACH,SAAgB,aAAa;IACzB,OAAO;QACH,OAAO,EAAE,GAAG;KACf,CAAC;AACN,CAAC;AAJD,sCAIC"}
@@ -1,7 +1,7 @@
1
1
  import { SchemaType } from './specification/schemaAccess';
2
2
  import { FioriElementsVersion } from './specification/common/page';
3
3
  import { Page as PageV2 } from './specification/v2/page';
4
- import { FileData, File, ExportResults, ServiceMetadata } from './sync/common/types';
4
+ import { FileData, File, ExportResults } from './sync/common/types';
5
5
  import { ApplicationV2, ObjectPageConfig as ObjectPageConfigV2, ListReportConfig as ListReportConfigV2, OverviewPageConfig as OverviewPageConfigV2, AnalyticalListPageConfig as AnalyticalListPageConfigV2, Manifest as ManifestV2, FlexChangeLayer } from './v2';
6
6
  import { ConverterOutput } from '@sap-ux/vocabularies-types';
7
7
  export declare type MessageMetadataType = (object | string | number)[];
@@ -32,7 +32,6 @@ export declare type GenerateObjectPageV2 = {
32
32
  entitySet: string;
33
33
  annotations: FileData[];
34
34
  manifest: object;
35
- service: ServiceMetadata;
36
35
  fragments: FileData[];
37
36
  logger?: ExtensionLogger;
38
37
  };
@@ -14,3 +14,7 @@ export declare const enum FlexChangeLayer {
14
14
  Customer = "CUSTOMER_BASE"
15
15
  }
16
16
  export declare type ManifestSettingsType = boolean | number | string | object;
17
+ export declare const enum ExportType {
18
+ GW = "GW",
19
+ UI5Client = "UI5Client"
20
+ }
@@ -17,4 +17,9 @@ var FlexChangeLayer;
17
17
  FlexChangeLayer["Vendor"] = "VENDOR";
18
18
  FlexChangeLayer["Customer"] = "CUSTOMER_BASE";
19
19
  })(FlexChangeLayer = exports.FlexChangeLayer || (exports.FlexChangeLayer = {}));
20
+ var ExportType;
21
+ (function (ExportType) {
22
+ ExportType["GW"] = "GW";
23
+ ExportType["UI5Client"] = "UI5Client";
24
+ })(ExportType = exports.ExportType || (exports.ExportType = {}));
20
25
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/specification/common/types.ts"],"names":[],"mappings":";;AAAA,IAAY,wBAUX;AAVD,WAAY,wBAAwB;IAChC,mDAAuB,CAAA;IACvB,+EAAmD,CAAA;IACnD,2EAA+C,CAAA;IAC/C,uEAA2C,CAAA;IAC3C,+EAAmD,CAAA;IACnD,+EAAmD,CAAA;IACnD,iGAAqE,CAAA;IACrE,qGAAyE,CAAA;IACzE,uEAA2C,CAAA;AAC/C,CAAC,EAVW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAUnC;AAED,IAAkB,eAGjB;AAHD,WAAkB,eAAe;IAC7B,oCAAiB,CAAA;IACjB,6CAA0B,CAAA;AAC9B,CAAC,EAHiB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAGhC"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/specification/common/types.ts"],"names":[],"mappings":";;AAAA,IAAY,wBAUX;AAVD,WAAY,wBAAwB;IAChC,mDAAuB,CAAA;IACvB,+EAAmD,CAAA;IACnD,2EAA+C,CAAA;IAC/C,uEAA2C,CAAA;IAC3C,+EAAmD,CAAA;IACnD,+EAAmD,CAAA;IACnD,iGAAqE,CAAA;IACrE,qGAAyE,CAAA;IACzE,uEAA2C,CAAA;AAC/C,CAAC,EAVW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAUnC;AAED,IAAkB,eAGjB;AAHD,WAAkB,eAAe;IAC7B,oCAAiB,CAAA;IACjB,6CAA0B,CAAA;AAC9B,CAAC,EAHiB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAGhC;AAID,IAAkB,UAGjB;AAHD,WAAkB,UAAU;IACxB,uBAAS,CAAA;IACT,qCAAuB,CAAA;AAC3B,CAAC,EAHiB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAG3B"}
@@ -22,14 +22,12 @@ const getPathToGenericSchema = (version, schemaType) => {
22
22
  const fileName = schemaType === SchemaType.Application
23
23
  ? SchemaType.Application + version.toUpperCase() + '.json'
24
24
  : schemaType + 'Config.json';
25
- const path =
26
25
  // Path is shorter when using webpack
27
26
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
28
27
  // @ts-ignore
29
- typeof __webpack_require__ === 'function'
28
+ return typeof __webpack_require__ === 'function'
30
29
  ? path_1.join(__dirname, 'schemas', version, fileName)
31
30
  : path_1.join(__dirname, '..', '..', 'schemas', version, fileName);
32
- return path;
33
31
  };
34
32
  /**
35
33
  * Read JSON schema from given path
@@ -1 +1 @@
1
- {"version":3,"file":"schemaAccess.js","sourceRoot":"","sources":["../../../src/specification/schemaAccess.ts"],"names":[],"mappings":";;AAAA,2BAA8B;AAC9B,+BAA4B;AAG5B;;GAEG;AACH,IAAY,UAMX;AAND,WAAY,UAAU;IAClB,yCAA2B,CAAA;IAC3B,uCAAyB,CAAA;IACzB,uCAAyB,CAAA;IACzB,2CAA6B,CAAA;IAC7B,uDAAyC,CAAA;AAC7C,CAAC,EANW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAMrB;AAED;;;;GAIG;AACH,MAAM,sBAAsB,GAAG,CAAC,OAA6B,EAAE,UAAsB,EAAU,EAAE;IAC7F,MAAM,QAAQ,GACV,UAAU,KAAK,UAAU,CAAC,WAAW;QACjC,CAAC,CAAC,UAAU,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,EAAE,GAAG,OAAO;QAC1D,CAAC,CAAC,UAAU,GAAG,aAAa,CAAC;IAErC,MAAM,IAAI;IACN,qCAAqC;IACrC,6DAA6D;IAC7D,aAAa;I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AgB,GAAG,KAAK,EAAE,OAA6B,EAAE,UAAsB,EAAiB,EAAE;IAC3G,IAAI;QACA,MAAM,IAAI,GAAG,sBAAsB,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;QACzD,MAAM,MAAM,GAAG,MAAM,cAAc,CAAC,IAAI,CAAC,CAAC;QAC1C,OAAO,MAAM,CAAC;KACjB;IAAC,OAAO,KAAK,EAAE;QACZ,MAAM,IAAI,KAAK,CAAC,iCAAiC,UAAU,cAAc,OAAO,eAAe,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;KACnH;AACL,CAAC,CAAC"}
@@ -0,0 +1,82 @@
1
+ export declare type SapUiCoreURI = string;
2
+ export declare enum ButtonType {
3
+ Accept = "Accept",
4
+ Back = "Back",
5
+ Default = "Default",
6
+ Emphasized = "Emphasized",
7
+ Ghost = "Ghost",
8
+ Reject = "Reject",
9
+ Transparent = "Transparent",
10
+ Unstyled = "Unstyled",
11
+ Up = "Up"
12
+ }
13
+ /**
14
+ * Actions
15
+ * @isViewNode true
16
+ */
17
+ export interface Actions {
18
+ [key: string]: Action;
19
+ }
20
+ /**
21
+ * Action
22
+ * @isViewNode true
23
+ */
24
+ export interface Action {
25
+ /**
26
+ * The text of the button tooltip, preferably as an i18n key.
27
+ * @i18nClassification ACT: Text for tooltip of button.
28
+ */
29
+ tooltip?: string;
30
+ /**
31
+ * Icon to be displayed as graphical element within the Button. Can be an image or icon from the icon font (https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/iconExplorer/webapp/index.html#/overview/SAP-icons), represented as RFC 3986 conformant URI.
32
+ */
33
+ icon?: SapUiCoreURI;
34
+ /**
35
+ * Alternative icon for the active (depressed) state of the button. Can be an image or icon from the icon font (https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/iconExplorer/webapp/index.html#/overview/SAP-icons), represented as RFC 3986 conformant URI.
36
+ */
37
+ activeIcon?: SapUiCoreURI;
38
+ /**
39
+ * Defines the Button type.
40
+ */
41
+ type?: ButtonType;
42
+ }
43
+ /**
44
+ * Form Action
45
+ * @isViewNode true
46
+ */
47
+ export interface FormAction extends Action {
48
+ /**
49
+ * Whether the button should be visible on the screen.
50
+ */
51
+ visible?: boolean;
52
+ }
53
+ /**
54
+ * Header Action
55
+ * @isViewNode true
56
+ */
57
+ export interface HeaderAction extends Action {
58
+ /**
59
+ * Whether the button should be visible on the screen.
60
+ */
61
+ visible?: boolean;
62
+ }
63
+ /**
64
+ * ToolBar Action
65
+ * @isViewNode true
66
+ */
67
+ export interface ObjectPageToolBarAction extends Action {
68
+ /**
69
+ * Whether the button should be visible on the screen.
70
+ */
71
+ visible?: boolean;
72
+ }
73
+ /**
74
+ * Footer Action
75
+ * @isViewNode true
76
+ */
77
+ export interface ObjectPageFooterAction extends Action {
78
+ /**
79
+ * Whether the button should be visible on the screen.
80
+ */
81
+ visible?: boolean;
82
+ }
@@ -12,4 +12,4 @@ var ButtonType;
12
12
  ButtonType["Unstyled"] = "Unstyled";
13
13
  ButtonType["Up"] = "Up";
14
14
  })(ButtonType = exports.ButtonType || (exports.ButtonType = {}));
15
- //# sourceMappingURL=FormAction.js.map
15
+ //# sourceMappingURL=Action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Action.js","sourceRoot":"","sources":["../../../../../src/specification/v2/controls/Action.ts"],"names":[],"mappings":";;AAEA,IAAY,UAUX;AAVD,WAAY,UAAU;IAClB,+BAAiB,CAAA;IACjB,2BAAa,CAAA;IACb,iCAAmB,CAAA;IACnB,uCAAyB,CAAA;IACzB,6BAAe,CAAA;IACf,+BAAiB,CAAA;IACjB,yCAA2B,CAAA;IAC3B,mCAAqB,CAAA;IACrB,uBAAS,CAAA;AACb,CAAC,EAVW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAUrB"}
@@ -73,6 +73,10 @@ export interface TabSetting {
73
73
  [k: string]: any;
74
74
  }
75
75
  export interface CommonCardSettings {
76
+ /**
77
+ * Represents the dominant entity set that will be displayed in the given card.
78
+ */
79
+ entitySet?: string;
76
80
  /**
77
81
  * The language-dependent title of the card, used in the card header.
78
82
  * @i18nClassification TIT: Title of the card, used in the card header
@@ -104,9 +108,17 @@ export interface CommonCardSettings {
104
108
  */
105
109
  defaultSpan?: DefaultSpanDef;
106
110
  /**
107
- * Define an authorization check at card level
111
+ * Define an authorization check at card level.
108
112
  */
109
113
  requireAppAuthorization?: string;
114
+ /**
115
+ * Represents the card with view switch control.
116
+ */
117
+ tabs?: [TabSetting, ...TabSetting[]];
118
+ /**
119
+ * add $Select parameter in data fetch URL
120
+ */
121
+ addODataSelect?: boolean;
110
122
  }
111
123
  export declare enum ChartCardType {
112
124
  cardBubble = "cardBubble",
@@ -171,10 +183,6 @@ export interface ListCard {
171
183
  * Represents the properties that are passed to the list card.
172
184
  */
173
185
  listCardSettings: ListCardSettings;
174
- /**
175
- * Represents the List Card with view switch control.
176
- */
177
- tabs?: [TabSetting, ...TabSetting[]];
178
186
  }
179
187
  /**
180
188
  * Stack Card
@@ -232,10 +240,6 @@ export interface TableCard {
232
240
  * Represents the properties that are passed to the table card.
233
241
  */
234
242
  tableCardSettings: TableCardSettings;
235
- /**
236
- * Represents the card with view switch control.
237
- */
238
- tabs?: [TabSetting, ...TabSetting[]];
239
243
  /**
240
244
  * If you set disableTableCardFlexibility to true, then at runtime, DataField records are sorted according to the importance set in the com.sap.vocabularies.UI.v1.ImportanceType annotation, and their order of entry.
241
245
  * If you set disableTableCardFlexibility to false, then at runtime, table columns are sorted according to the importance set in the com.sap.vocabularies.UI.v1.ImportanceType annotation, and their order of entry.
@@ -260,20 +264,12 @@ export interface AnalyticalCard {
260
264
  * Represents the properties that are passed to the analytical card.
261
265
  */
262
266
  analyticalCardSettings?: AnalyticalCardSettings;
263
- /**
264
- * Represents the Analytical Card with view switch control.
265
- */
266
- tabs?: [TabSetting, ...TabSetting[]];
267
267
  }
268
268
  export declare type CustomCardNavigationType = 'dataPointNav' | 'chartNav' | 'headerNav' | 'noHeaderNav';
269
269
  /**
270
270
  * @displayName settings
271
271
  */
272
272
  export interface CustomCardSettings extends CommonCardSettings {
273
- /**
274
- * Represents the dominant entity set that will be displayed in the given card.
275
- */
276
- entitySet?: string;
277
273
  /**
278
274
  * Represents the user defined string in placeholder card.
279
275
  */
@@ -399,10 +395,6 @@ export interface CustomCardSettings extends CommonCardSettings {
399
395
  * @displayName settings
400
396
  */
401
397
  export interface AnalyticalCardSettings extends CommonCardSettings {
402
- /**
403
- * Represents the dominant entity set that will be displayed in the given card.
404
- */
405
- entitySet: string;
406
398
  /**
407
399
  * Represents the chart annotation path.
408
400
  */
@@ -433,10 +425,6 @@ export declare enum SortOrderType {
433
425
  * @displayName settings
434
426
  */
435
427
  export interface ListCardSettings extends CommonCardSettings {
436
- /**
437
- * Represents the dominant entity set that will be displayed in the given card.
438
- */
439
- entitySet: string;
440
428
  /**
441
429
  * Represents the flavor of the list to use in this card. The flavor can be bar chart, carousel or standard.
442
430
  */
@@ -461,29 +449,19 @@ export interface ListCardSettings extends CommonCardSettings {
461
449
  * Defines the sort order.
462
450
  */
463
451
  sortOrder?: SortOrderType;
464
- /**
465
- * add $Select parameter in data fetch URL
466
- */
467
- addODataSelect?: boolean;
468
- /**
469
- * Represents the card with view switch control.
470
- * This property doesn't exist in the app descriptor json schema for settings, but is there on the card level next to the template.
471
- * However, in the reference application it is in the settings of a sap.ovp.cards.list.
472
- */
473
- tabs?: [TabSetting, ...TabSetting[]];
474
452
  /**
475
453
  * Represents the data point annotation path.
476
454
  */
477
455
  dataPointAnnotationPath?: string;
456
+ /**
457
+ * Flag for show line item detail in list and table card.
458
+ */
459
+ showLineItemDetail?: boolean;
478
460
  }
479
461
  /**
480
462
  * @displayName settings
481
463
  */
482
464
  export interface StackCardSettings extends CommonCardSettings {
483
- /**
484
- * Represents the dominant entity set that will be displayed in the given card.
485
- */
486
- entitySet: string;
487
465
  /**
488
466
  * Represents the user defined string in placeholder card.
489
467
  */
@@ -512,10 +490,6 @@ export interface StackCardSettings extends CommonCardSettings {
512
490
  * @displayName settings
513
491
  */
514
492
  export interface TableCardSettings extends CommonCardSettings {
515
- /**
516
- * Represents the dominant entity set that will be displayed in the given card.
517
- */
518
- entitySet: string;
519
493
  /**
520
494
  * Represents the annotation path.
521
495
  */
@@ -549,9 +523,9 @@ export interface TableCardSettings extends CommonCardSettings {
549
523
  */
550
524
  sortOrder?: SortOrderType;
551
525
  /**
552
- * Represents the card with view switch control.
526
+ * Flag for show line item detail in list and table card.
553
527
  */
554
- tabs?: [TabSetting, ...TabSetting[]];
528
+ showLineItemDetail?: boolean;
555
529
  }
556
530
  export declare enum LinkListFlavorType {
557
531
  standard = "standard",
@@ -560,21 +534,7 @@ export declare enum LinkListFlavorType {
560
534
  /**
561
535
  * @displayName settings
562
536
  */
563
- export interface LinkListCardSettings {
564
- /**
565
- * entitySet represents the entity set that will be displayed in this card.
566
- */
567
- entitySet?: string;
568
- /**
569
- * title represents the language-dependent title of the card, as used in the card header.
570
- * @i18nClassification TIT: Title of the card, used in the card header
571
- */
572
- title: string;
573
- /**
574
- * YOu can define the language-dependent subtitle of the card, as used in the card header.
575
- * @i18nClassification TIT: Subtitle of the card, used in the card header
576
- */
577
- subTitle?: string;
537
+ export interface LinkListCardSettings extends CommonCardSettings {
578
538
  /**
579
539
  * The targetUri is a URI defining the link to a quick view, related application or external resource.
580
540
  */
@@ -595,22 +555,10 @@ export interface LinkListCardSettings {
595
555
  * headerAnnotationPath represents the path to a HeaderInfo annotation.
596
556
  */
597
557
  headerAnnotationPath?: string;
598
- /**
599
- * identificationAnnotationPath represents the path to an Identification annotation.
600
- */
601
- identificationAnnotationPath?: string;
602
- /**
603
- * To load cards with specific requirements, define a default size as part of the card definition in the descriptor file.
604
- */
605
- defaultSpan?: DefaultSpanDef;
606
558
  /**
607
559
  * staticContent represents the static content of a static link list card.
608
560
  */
609
561
  staticContent?: StaticContent[];
610
- /**
611
- * Define an authorization check at card level
612
- */
613
- requireAppAuthorization?: string;
614
562
  /**
615
563
  * Represents the annotation path.
616
564
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../../../src/specification/v2/controls/Card.ts"],"names":[],"mappings":";;AAqHA,IAAY,aAIX;AAJD,WAAY,aAAa;IACrB,0CAAyB,CAAA;IACzB,kDAAiC,CAAA;IACjC,oDAAmC,CAAA;AACvC,CAAC,EAJW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAIxB;AAED,IAAY,gBAMX;AAND,WAAY,gBAAgB;IACxB,kEAA8C,CAAA;IAC9C,+CAA2B,CAAA;IAC3B,uDAAmC,CAAA;IACnC,iDAA6B,CAAA;IAC7B,iDAA6B,CAAA;AACjC,CAAC,EANW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAM3B;AAEY,QAAA,mBAAmB,GAAG;IAC/B,iCAAiC,EAAE,gBAAgB;IACnD,oBAAoB,EAAE,UAAU;IAChC,wBAAwB,EAAE,cAAc;IACxC,qBAAqB,EAAE,WAAW;IAClC,qBAAqB,EAAE,WAAW;CACrC,CAAC;AAEF,IAAY,gBAMX;AAND,WAAY,gBAAgB;IACxB,qEAAiD,CAAA;IACjD,yDAAqC,CAAA;IACrC,2DAAuC,CAAA;IACvC,iEAA6C,CAAA;IAC7C,2DAAuC,CAAA;AAC3C,CAAC,EANW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAM3B;AAsSD,IAAY,cAIX;AAJD,WAAY,cAAc;IACtB,uCAAqB,CAAA;IACrB,6BAAW,CAAA;IACX,uCAAqB,CAAA;AACzB,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB;AAED,IAAY,YAGX;AAHD,WAAY,YAAY;IACpB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;AAC3B,CAAC,EAHW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAGvB;AAED,IAAY,aAGX;AAHD,WAAY,aAAa;IACrB,wCAAuB,CAAA;IACvB,0CAAyB,CAAA;AAC7B,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB;AAiID,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC1B,2CAAqB,CAAA;IACrB,2CAAqB,CAAA;AACzB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B"}
1
+ {"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../../../src/specification/v2/controls/Card.ts"],"names":[],"mappings":";;AAiIA,IAAY,aAIX;AAJD,WAAY,aAAa;IACrB,0CAAyB,CAAA;IACzB,kDAAiC,CAAA;IACjC,oDAAmC,CAAA;AACvC,CAAC,EAJW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAIxB;AAED,IAAY,gBAMX;AAND,WAAY,gBAAgB;IACxB,kEAA8C,CAAA;IAC9C,+CAA2B,CAAA;IAC3B,uDAAmC,CAAA;IACnC,iDAA6B,CAAA;IAC7B,iDAA6B,CAAA;AACjC,CAAC,EANW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAM3B;AAEY,QAAA,mBAAmB,GAAG;IAC/B,iCAAiC,EAAE,gBAAgB;IACnD,oBAAoB,EAAE,UAAU;IAChC,wBAAwB,EAAE,cAAc;IACxC,qBAAqB,EAAE,WAAW;IAClC,qBAAqB,EAAE,WAAW;CACrC,CAAC;AAEF,IAAY,gBAMX;AAND,WAAY,gBAAgB;IACxB,qEAAiD,CAAA;IACjD,yDAAqC,CAAA;IACrC,2DAAuC,CAAA;IACvC,iEAA6C,CAAA;IAC7C,2DAAuC,CAAA;AAC3C,CAAC,EANW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAM3B;AAkRD,IAAY,cAIX;AAJD,WAAY,cAAc;IACtB,uCAAqB,CAAA;IACrB,6BAAW,CAAA;IACX,uCAAqB,CAAA;AACzB,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB;AAED,IAAY,YAGX;AAHD,WAAY,YAAY;IACpB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;AAC3B,CAAC,EAHW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAGvB;AAED,IAAY,aAGX;AAHD,WAAY,aAAa;IACrB,wCAAuB,CAAA;IACvB,0CAAyB,CAAA;AAC7B,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB;AA+GD,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC1B,2CAAqB,CAAA;IACrB,2CAAqB,CAAA;AACzB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B"}
@@ -16,7 +16,7 @@ export declare type FilterTypeCategory = {
16
16
  * Filter Bar
17
17
  * @isViewNode true
18
18
  */
19
- export interface FilterBar {
19
+ export interface ListReportFilterBar {
20
20
  /**
21
21
  * Controls whether smart variant management is active. Default is true.
22
22
  */
@@ -51,9 +51,13 @@ export interface FilterBar {
51
51
  * Filter Bar
52
52
  * @isViewNode true
53
53
  */
54
- export interface AnalyticalListPageFilterBar extends FilterBar {
54
+ export interface AnalyticalListPageFilterBar extends ListReportFilterBar {
55
55
  /**
56
56
  * Go button is displayed for compact filters when this is set to true
57
57
  */
58
58
  showGoButtonOnFilterBar?: boolean;
59
+ /**
60
+ * Lets you to add default values for FilterBar using SelectionVariant annotation
61
+ */
62
+ filterDefaultsFromSelectionVariant?: boolean;
59
63
  }
@@ -0,0 +1,20 @@
1
+ import { ObjectPageFooterAction } from './Action';
2
+ import { Actions } from '.';
3
+ interface ObjectPageFooterActions {
4
+ [id: string]: ObjectPageFooterAction;
5
+ }
6
+ /**
7
+ * Footer
8
+ * @isViewNode true
9
+ */
10
+ export interface GenericFooter {
11
+ actions?: Actions;
12
+ }
13
+ /**
14
+ * Footer
15
+ * @isViewNode true
16
+ */
17
+ export interface ObjectPageFooter<ACT = ObjectPageFooterActions> {
18
+ actions?: ACT;
19
+ }
20
+ export {};
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=ObjectPageFooter.js.map
3
+ //# sourceMappingURL=Footer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../../../../src/specification/v2/controls/Footer.ts"],"names":[],"mappings":""}
@@ -1,5 +1,4 @@
1
- import { FormAction } from './FormAction';
2
- import { Field } from './Field';
1
+ import { FormAction, Field } from '.';
3
2
  /**
4
3
  * Object Page Form
5
4
  * @isViewNode true
@@ -1,4 +1,4 @@
1
- import { HeaderAction } from '../controls/ObjectPageHeaderAction';
1
+ import { HeaderAction } from '.';
2
2
  export declare enum AvatarShape {
3
3
  Circle = "Circle",
4
4
  Square = "Square"
@@ -1,5 +1,6 @@
1
1
  import { GenericColumns, TableTypeV2, PopinLayout, QuickVariantSelection, QuickVariant } from './Table';
2
2
  import { ObjectPageToolBar } from './ObjectPageToolBar';
3
+ import { ExportType } from '../../common/types';
3
4
  export interface QuickVariantSelectionOP extends QuickVariantSelection {
4
5
  /**
5
6
  * To show the number of records available, set showCounts to true.
@@ -40,6 +41,10 @@ export interface ObjectPageCommonTableSettings<COLS = GenericColumns> {
40
41
  * useExportToExcel must be set to true if you want to export data to a spreadsheet application, for example Microsoft Excel.
41
42
  */
42
43
  useExportToExcel?: boolean;
44
+ /**
45
+ * Specifies the type of export to be used in the SmartTable control. UI5Client is the default option.
46
+ */
47
+ exportType?: ExportType;
43
48
  /**
44
49
  * Use createMode 'inline' to enable inline creation of table entries for draft enabled applications.
45
50
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectPageTable.js","sourceRoot":"","sources":["../../../../../src/specification/v2/controls/ObjectPageTable.ts"],"names":[],"mappings":";;AAgBA,IAAY,UAEX;AAFD,WAAY,UAAU;IAClB,+BAAiB,CAAA;AACrB,CAAC,EAFW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAErB"}
1
+ {"version":3,"file":"ObjectPageTable.js","sourceRoot":"","sources":["../../../../../src/specification/v2/controls/ObjectPageTable.ts"],"names":[],"mappings":";;AAiBA,IAAY,UAEX;AAFD,WAAY,UAAU;IAClB,+BAAiB,CAAA;AACrB,CAAC,EAFW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAErB"}
@@ -1,8 +1,4 @@
1
- /**
2
- * Action
3
- * @isViewNode true
4
- */
5
- export declare type ObjectPageToolBarAction = object;
1
+ import { ObjectPageToolBarAction } from '.';
6
2
  /**
7
3
  * Actions
8
4
  * @isViewNode true
@@ -1,5 +1,7 @@
1
+ import { ExportType } from '../../common/types';
1
2
  import { SAPUI5_FRAGMENT_CLASS } from '../../common/webapp/manifest/sapUi5';
2
3
  import { ToolBar } from './ToolBar';
4
+ import { Action } from './Action';
3
5
  export declare enum HAlign {
4
6
  initial = "Initial",
5
7
  left = "Left",
@@ -22,6 +24,12 @@ export interface TableColumn {
22
24
  */
23
25
  hAlign?: HAlign;
24
26
  }
27
+ /**
28
+ * Column Action
29
+ * @isViewNode true
30
+ */
31
+ export interface TableColumnAction extends Action, TableColumn {
32
+ }
25
33
  /**
26
34
  * Custom Column
27
35
  * @isViewNode true
@@ -32,7 +40,7 @@ export interface TableCustomColumn {
32
40
  */
33
41
  id?: string;
34
42
  /**
35
- * The label of the custom column, preferrable as an i18n key.
43
+ * The label of the custom column, preferably as an i18n key.
36
44
  * @i18nClassification COL: Custom column header text
37
45
  */
38
46
  text?: string;
@@ -90,7 +98,7 @@ export declare enum TableColumnExtensionTypeV2 {
90
98
  */
91
99
  export declare type TableCustomColumns = Array<TableCustomColumn>;
92
100
  export interface GenericColumns {
93
- [key: string]: TableColumn | TableCustomColumns;
101
+ [key: string]: TableColumn | TableCustomColumns | TableColumnAction;
94
102
  }
95
103
  export declare enum PopinLayout {
96
104
  Block = "Block",
@@ -180,6 +188,10 @@ export interface CommonTableSettings<COLS = GenericColumns> {
180
188
  * useExportToExcel must be set to true if you want to export data to a spreadsheet application, for example Microsoft Excel.
181
189
  */
182
190
  useExportToExcel?: boolean;
191
+ /**
192
+ * Specifies the type of export to be used in the SmartTable control. UI5Client is the default option.
193
+ */
194
+ exportType?: ExportType;
183
195
  /**
184
196
  * Set to false if the table does not occupy the entire space available in the container.
185
197
  */
@@ -286,10 +298,6 @@ export interface AnalyticalTable extends CommonTableSettings {
286
298
  * @i18nClassification TIT: Title for the content area
287
299
  */
288
300
  contentTitle?: string;
289
- /**
290
- * Lets you to add default values for FilterBar using SelectionVariant annotation
291
- */
292
- filterDefaultsFromSelectionVariant?: boolean;
293
301
  /**
294
302
  * createWithFilters adds a new create action that uses the filter settings as input.
295
303
  */
@@ -326,10 +334,6 @@ export interface TableALPCommonSettings extends CommonTableSettings {
326
334
  * This setting allows developer to determine chart / table interaction. 'true' would mean chart act as filter for table, 'false' would mean that matching table rows are highlighted but table is not filtered.
327
335
  */
328
336
  autoHide?: boolean;
329
- /**
330
- * Lets you to add default values for FilterBar using SelectionVariant annotation
331
- */
332
- filterDefaultsFromSelectionVariant?: boolean;
333
337
  }
334
338
  /**
335
339
  * Table
@@ -1 +1 @@
1
- {"version":3,"file":"Table.js","sourceRoot":"","sources":["../../../../../src/specification/v2/controls/Table.ts"],"names":[],"mappings":";;AAGA,IAAY,MAOX;AAPD,WAAY,MAAM;IACd,6BAAmB,CAAA;IACnB,uBAAa,CAAA;IACb,2BAAiB,CAAA;IACjB,yBAAe,CAAA;IACf,yBAAe,CAAA;IACf,qBAAW,CAAA;AACf,CAAC,EAPW,MAAM,GAAN,cAAM,KAAN,cAAM,QAOjB;AAiED,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAC7B,oCAAW,CAAA;AACf,CAAC,EAFW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAEhC;AAED,IAAY,WAKX;AALD,WAAY,WAAW;IACnB,kDAAmC,CAAA;IACnC,sCAAuB,CAAA;IACvB,kDAAmC,CAAA;IACnC,sCAAuB,CAAA;AAC3B,CAAC,EALW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAKtB;AAED,IAAY,0BAKX;AALD,WAAY,0BAA0B;IAClC,iGAAmE,CAAA;IACnE,iGAAmE,CAAA;IACnE,qFAAuD,CAAA;IACvD,qFAAuD,CAAA;AAC3D,CAAC,EALW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAKrC;AAYD,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,8BAAe,CAAA;IACf,sCAAuB,CAAA;IACvB,sCAAuB,CAAA;AAC3B,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAItB;AAyDD,IAAY,QAEX;AAFD,WAAY,QAAQ;IAChB,mCAAuB,CAAA;AAC3B,CAAC,EAFW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAEnB;AAED,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC1B,+CAAyB,CAAA;IACzB,qCAAe,CAAA;IACf,qCAAe,CAAA;AACnB,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B;AAED,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IACzB,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;AACvB,CAAC,EAHW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAG5B"}
1
+ {"version":3,"file":"Table.js","sourceRoot":"","sources":["../../../../../src/specification/v2/controls/Table.ts"],"names":[],"mappings":";;AAKA,IAAY,MAOX;AAPD,WAAY,MAAM;IACd,6BAAmB,CAAA;IACnB,uBAAa,CAAA;IACb,2BAAiB,CAAA;IACjB,yBAAe,CAAA;IACf,yBAAe,CAAA;IACf,qBAAW,CAAA;AACf,CAAC,EAPW,MAAM,GAAN,cAAM,KAAN,cAAM,QAOjB;AAuED,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAC7B,oCAAW,CAAA;AACf,CAAC,EAFW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAEhC;AAED,IAAY,WAKX;AALD,WAAY,WAAW;IACnB,kDAAmC,CAAA;IACnC,sCAAuB,CAAA;IACvB,kDAAmC,CAAA;IACnC,sCAAuB,CAAA;AAC3B,CAAC,EALW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAKtB;AAED,IAAY,0BAKX;AALD,WAAY,0BAA0B;IAClC,iGAAmE,CAAA;IACnE,iGAAmE,CAAA;IACnE,qFAAuD,CAAA;IACvD,qFAAuD,CAAA;AAC3D,CAAC,EALW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAKrC;AAYD,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,8BAAe,CAAA;IACf,sCAAuB,CAAA;IACvB,sCAAuB,CAAA;AAC3B,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAItB;AAyDD,IAAY,QAEX;AAFD,WAAY,QAAQ;IAChB,mCAAuB,CAAA;AAC3B,CAAC,EAFW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAEnB;AAED,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC1B,+CAAyB,CAAA;IACzB,qCAAe,CAAA;IACf,qCAAe,CAAA;AACnB,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B;AAED,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IACzB,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;AACvB,CAAC,EAHW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAG5B"}
@@ -1,11 +1,4 @@
1
- import { FormAction } from './FormAction';
2
- /**
3
- * Actions
4
- * @isViewNode true
5
- */
6
- export interface Actions {
7
- [key: string]: FormAction;
8
- }
1
+ import { Actions } from '.';
9
2
  /**
10
3
  * Toolbar
11
4
  * @isViewNode true
@@ -1,17 +1,15 @@
1
+ export * from './Action';
2
+ export * from './Card';
3
+ export * from './Facets';
4
+ export * from './Field';
1
5
  export * from './FilterBar';
2
6
  export * from './Table';
3
- export * from './Facets';
4
7
  export * from './ToolBar';
5
- export * from './ObjectPageToolBar';
8
+ export * from './Footer';
9
+ export * from './AnalyticalListPageChart';
6
10
  export * from './ObjectPageHeader';
7
- export * from './ObjectPageHeaderAction';
8
- export * from './ObjectPageFooter';
9
11
  export * from './ObjectPageLayout';
10
12
  export * from './ObjectPageSection';
11
- export * from './Card';
12
- export * from './ObjectPageTable';
13
- export * from './AnalyticalListPageChart';
14
13
  export * from './ObjectPageForm';
15
- export * from './Field';
16
- export * from './ObjectPageHeaderAction';
17
- export * from './FormAction';
14
+ export * from './ObjectPageTable';
15
+ export * from './ObjectPageToolBar';
@@ -3,11 +3,11 @@ function __export(m) {
3
3
  for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4
4
  }
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ __export(require("./Action"));
7
+ __export(require("./Card"));
6
8
  __export(require("./Table"));
9
+ __export(require("./AnalyticalListPageChart"));
7
10
  __export(require("./ObjectPageHeader"));
8
11
  __export(require("./ObjectPageSection"));
9
- __export(require("./Card"));
10
12
  __export(require("./ObjectPageTable"));
11
- __export(require("./AnalyticalListPageChart"));
12
- __export(require("./FormAction"));
13
13
  //# sourceMappingURL=index.js.map