@trackunit/iris-app-api 0.0.121 → 0.0.124

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.0.124](https://github.com/Trackunit/manager/compare/iris-app-api/0.0.123...iris-app-api/0.0.124) (2023-10-12)
6
+
7
+ ## [0.0.123](https://github.com/Trackunit/manager/compare/iris-app-api/0.0.122...iris-app-api/0.0.123) (2023-10-11)
8
+
9
+ ## [0.0.122](https://github.com/Trackunit/manager/compare/iris-app-api/0.0.121...iris-app-api/0.0.122) (2023-10-10)
10
+
5
11
  ## [0.0.121](https://github.com/Trackunit/manager/compare/iris-app-api/0.0.120...iris-app-api/0.0.121) (2023-10-09)
6
12
 
7
13
  ## [0.0.120](https://github.com/Trackunit/manager/compare/iris-app-api/0.0.119...iris-app-api/0.0.120) (2023-10-05)
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app-api",
3
- "version": "0.0.121",
3
+ "version": "0.0.124",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "engines": {
7
7
  "node": ">=18.x"
8
8
  },
9
9
  "dependencies": {
10
- "tslib": "1.14.1"
10
+ "tslib": "2.6.0"
11
11
  },
12
12
  "main": "./src/index.js",
13
13
  "type": "commonjs"
@@ -24,8 +24,18 @@ export interface WidgetGridOptions {
24
24
  export interface WidgetExtensionManifest extends AbstractExtensionManifest {
25
25
  type: "WIDGET_EXTENSION";
26
26
  header: {
27
+ /**
28
+ * The name of the widget to display in the header
29
+ */
27
30
  name: string | Translations | TranslationKey;
31
+ /**
32
+ * The icon of the widget to display in the header
33
+ */
28
34
  icon?: string;
35
+ /**
36
+ * If true a button will be on the header and an editDialog from the src folder of this extension will be loaded
37
+ */
38
+ hasEditDialog?: boolean;
29
39
  };
30
40
  gridOptions?: WidgetGridOptions;
31
41
  }
@@ -1 +1 @@
1
- {"version":3,"file":"widgetExtensionManifest.js","sourceRoot":"","sources":["../../../../../../../libs/iris-app-sdk/iris-app-api/src/types/extensions/widgetExtensionManifest.ts"],"names":[],"mappings":"","sourcesContent":["import { AbstractExtensionManifest, TranslationKey, Translations } from \"../irisAppExtensionManifest\";\n\nexport type WidgetBreakpointTypes = \"lg\" | \"xxs\";\n\nexport interface WidgetGridOptions {\n /**\n * Minimum width in grid units.\n */\n minW?: number | undefined;\n\n /**\n * Maximum width in grid units.\n */\n maxW?: number | undefined;\n\n /**\n * Minimum height in grid units.\n */\n minH?: number | undefined;\n\n /**\n * Maximum height in grid units.\n */\n maxH?: number | undefined;\n}\n\n/**\n * BETA! DONT USE THIS YET - its under development\n */\nexport interface WidgetExtensionManifest extends AbstractExtensionManifest {\n type: \"WIDGET_EXTENSION\";\n\n header: {\n name: string | Translations | TranslationKey;\n icon?: string;\n };\n\n gridOptions?: WidgetGridOptions;\n}\n"]}
1
+ {"version":3,"file":"widgetExtensionManifest.js","sourceRoot":"","sources":["../../../../../../../libs/iris-app-sdk/iris-app-api/src/types/extensions/widgetExtensionManifest.ts"],"names":[],"mappings":"","sourcesContent":["import { AbstractExtensionManifest, TranslationKey, Translations } from \"../irisAppExtensionManifest\";\n\nexport type WidgetBreakpointTypes = \"lg\" | \"xxs\";\n\nexport interface WidgetGridOptions {\n /**\n * Minimum width in grid units.\n */\n minW?: number | undefined;\n\n /**\n * Maximum width in grid units.\n */\n maxW?: number | undefined;\n\n /**\n * Minimum height in grid units.\n */\n minH?: number | undefined;\n\n /**\n * Maximum height in grid units.\n */\n maxH?: number | undefined;\n}\n\n/**\n * BETA! DONT USE THIS YET - its under development\n */\nexport interface WidgetExtensionManifest extends AbstractExtensionManifest {\n type: \"WIDGET_EXTENSION\";\n\n header: {\n /**\n * The name of the widget to display in the header\n */\n name: string | Translations | TranslationKey;\n\n /**\n * The icon of the widget to display in the header\n */\n icon?: string;\n\n /**\n * If true a button will be on the header and an editDialog from the src folder of this extension will be loaded\n */\n hasEditDialog?: boolean;\n };\n\n gridOptions?: WidgetGridOptions;\n}\n"]}
@@ -6,7 +6,6 @@ export * from "./irisAppExtensionManifest";
6
6
  export * from "./irisAppInstallationConfig";
7
7
  export * from "./irisAppManifest";
8
8
  export * from "./irisAppMarketplace";
9
- export * from "./mocks";
10
9
  export * from "./modulefederation";
11
10
  export * from "./scopes";
12
11
  export * from "./subscriptionPackages";
@@ -9,7 +9,6 @@ tslib_1.__exportStar(require("./irisAppExtensionManifest"), exports);
9
9
  tslib_1.__exportStar(require("./irisAppInstallationConfig"), exports);
10
10
  tslib_1.__exportStar(require("./irisAppManifest"), exports);
11
11
  tslib_1.__exportStar(require("./irisAppMarketplace"), exports);
12
- tslib_1.__exportStar(require("./mocks"), exports);
13
12
  tslib_1.__exportStar(require("./modulefederation"), exports);
14
13
  tslib_1.__exportStar(require("./scopes"), exports);
15
14
  tslib_1.__exportStar(require("./subscriptionPackages"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/iris-app-sdk/iris-app-api/src/types/index.ts"],"names":[],"mappings":";;;AAAA,8DAAoC;AACpC,uDAA6B;AAC7B,4DAAkC;AAClC,gEAAsC;AACtC,qEAA2C;AAC3C,sEAA4C;AAC5C,4DAAkC;AAClC,+DAAqC;AACrC,kDAAwB;AACxB,6DAAmC;AACnC,mDAAyB;AACzB,iEAAuC","sourcesContent":["export * from \"./defaultValidHosts\";\nexport * from \"./extensions\";\nexport * from \"./irisAppCspInput\";\nexport * from \"./irisAppCustomFields\";\nexport * from \"./irisAppExtensionManifest\";\nexport * from \"./irisAppInstallationConfig\";\nexport * from \"./irisAppManifest\";\nexport * from \"./irisAppMarketplace\";\nexport * from \"./mocks\";\nexport * from \"./modulefederation\";\nexport * from \"./scopes\";\nexport * from \"./subscriptionPackages\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/iris-app-sdk/iris-app-api/src/types/index.ts"],"names":[],"mappings":";;;AAAA,8DAAoC;AACpC,uDAA6B;AAC7B,4DAAkC;AAClC,gEAAsC;AACtC,qEAA2C;AAC3C,sEAA4C;AAC5C,4DAAkC;AAClC,+DAAqC;AACrC,6DAAmC;AACnC,mDAAyB;AACzB,iEAAuC","sourcesContent":["export * from \"./defaultValidHosts\";\nexport * from \"./extensions\";\nexport * from \"./irisAppCspInput\";\nexport * from \"./irisAppCustomFields\";\nexport * from \"./irisAppExtensionManifest\";\nexport * from \"./irisAppInstallationConfig\";\nexport * from \"./irisAppManifest\";\nexport * from \"./irisAppMarketplace\";\nexport * from \"./modulefederation\";\nexport * from \"./scopes\";\nexport * from \"./subscriptionPackages\";\n"]}
@@ -1,2 +0,0 @@
1
- import { AdminExtensionManifest } from "./extensions/adminExtensionManifest";
2
- export declare const mockAdminExtension: AdminExtensionManifest;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.mockAdminExtension = void 0;
4
- exports.mockAdminExtension = {
5
- id: "",
6
- main: "",
7
- sourceRoot: "",
8
- type: "ADMIN_EXTENSION",
9
- menuItem: {
10
- name: "testName",
11
- },
12
- };
13
- //# sourceMappingURL=mocks.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mocks.js","sourceRoot":"","sources":["../../../../../../libs/iris-app-sdk/iris-app-api/src/types/mocks.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAA2B;IACxD,EAAE,EAAE,EAAE;IACN,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,EAAE;IACd,IAAI,EAAE,iBAAiB;IACvB,QAAQ,EAAE;QACR,IAAI,EAAE,UAAU;KACjB;CACF,CAAC","sourcesContent":["import { AdminExtensionManifest } from \"./extensions/adminExtensionManifest\";\n\nexport const mockAdminExtension: AdminExtensionManifest = {\n id: \"\",\n main: \"\",\n sourceRoot: \"\",\n type: \"ADMIN_EXTENSION\",\n menuItem: {\n name: \"testName\",\n },\n};\n"]}