@ic3/reporting-api 8.4.6 → 8.4.7

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/dist/ApiUtils.js CHANGED
@@ -8,7 +8,7 @@ const ReportingVersion_1 = __importDefault(require("./ReportingVersion"));
8
8
  class ApiUtils {
9
9
  static makePlugin(definition) {
10
10
  return () => {
11
- return Object.assign({ apiVersion: new ReportingVersion_1.default("8.4.6" || "-", "Wed, 01 Nov 2023 13:51:15 GMT" || "-") }, definition);
11
+ return Object.assign({ apiVersion: new ReportingVersion_1.default("8.4.7" || "-", "Fri, 01 Dec 2023 05:21:10 GMT" || "-") }, definition);
12
12
  };
13
13
  }
14
14
  /**
@@ -276,10 +276,14 @@ export interface IPublicWidgetJsTemplateDefinition<OPTIONS extends FormFieldObje
276
276
  */
277
277
  interface IPublicCommonWidgetTemplateDefinition<OPTIONS extends FormFieldObject> {
278
278
  /**
279
+ * Used for finding the right documentation of `typeForHelp` is not defined.
279
280
  * Determine the widget icon in the widget infos.
280
- * Used for finding the right documentation.
281
281
  */
282
282
  type: WidgetTemplateDefinitionType;
283
+ /**
284
+ * Used for finding the right documentation (override `type`).
285
+ */
286
+ typeForHelp?: WidgetTemplateDefinitionType;
283
287
  /**
284
288
  * Unique within the plugin. Must not contain any dot (this is NOT the templateId)
285
289
  *
@@ -1 +1 @@
1
- {"version":3,"file":"PublicTemplate.js","sourceRoot":"","sources":["../src/PublicTemplate.ts"],"names":[],"mappings":";;;AAqIA,IAAY,4CAIX;AAJD,WAAY,4CAA4C;IACpD,qEAAqB,CAAA;IACrB,yEAAyB,CAAA;IACzB,2EAA2B,CAAA;AAC/B,CAAC,EAJW,4CAA4C,GAA5C,oDAA4C,KAA5C,oDAA4C,QAIvD;AA8eD;;;;GAIG;AACH,IAAY,4BAKX;AALD,WAAY,4BAA4B;IACpC,+CAAe,CAAA;IACf,iDAAiB,CAAA;IACjB,2CAAW,CAAA;IACX,6CAAa,CAAA;AACjB,CAAC,EALW,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAKvC;AA6BD;;GAEG;AACH,IAAY,wBAMX;AAND,WAAY,wBAAwB;IAChC,mDAAuB,CAAA;IAEvB,gBAAgB;IAChB,0DAA8B,CAAA;IAC9B,iEAAqC,CAAA;AACzC,CAAC,EANW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAMnC"}
1
+ {"version":3,"file":"PublicTemplate.js","sourceRoot":"","sources":["../src/PublicTemplate.ts"],"names":[],"mappings":";;;AAqIA,IAAY,4CAIX;AAJD,WAAY,4CAA4C;IACpD,qEAAqB,CAAA;IACrB,yEAAyB,CAAA;IACzB,2EAA2B,CAAA;AAC/B,CAAC,EAJW,4CAA4C,GAA5C,oDAA4C,KAA5C,oDAA4C,QAIvD;AAmfD;;;;GAIG;AACH,IAAY,4BAKX;AALD,WAAY,4BAA4B;IACpC,+CAAe,CAAA;IACf,iDAAiB,CAAA;IACjB,2CAAW,CAAA;IACX,6CAAa,CAAA;AACjB,CAAC,EALW,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAKvC;AA6BD;;GAEG;AACH,IAAY,wBAMX;AAND,WAAY,wBAAwB;IAChC,mDAAuB,CAAA;IAEvB,gBAAgB;IAChB,0DAA8B,CAAA;IAC9B,iEAAqC,CAAA;AACzC,CAAC,EANW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAMnC"}
@@ -436,6 +436,7 @@ export interface ic3Theme {
436
436
  disableWidgetIconsEdition?: boolean;
437
437
  } & IWidgetBoxIconsDefinition;
438
438
  widgetBox: {
439
+ extraHeight?: number;
439
440
  contentOffset: {
440
441
  top: number;
441
442
  left: number;
@@ -568,6 +569,11 @@ export interface ic3ThemeOptions {
568
569
  disableWidgetIconsEdition?: boolean;
569
570
  } & IWidgetBoxIconsDefinition;
570
571
  widgetBox?: {
572
+ /**
573
+ * Used when computing the height of the widget when (vertical) auto-expand is being applied.
574
+ * E.g., margins, paddings, ...
575
+ */
576
+ extraHeight?: number;
571
577
  contentOffset: {
572
578
  top: number;
573
579
  left: number;
@@ -1,6 +1,14 @@
1
1
  export declare class RegexFilterClasses {
2
2
  /**
3
- * Main content div
3
+ * Additional root-class when using the preview.
4
+ */
5
+ static readonly previewRoot = "ic3RegexFilter-previewRoot";
6
+ /**
7
+ * Additional root-class when using the selection box.
8
+ */
9
+ static readonly selectionBoxRoot = "ic3RegexFilter-selectionBoxRoot";
10
+ /**
11
+ * Class for the div with the search box.
4
12
  */
5
13
  static readonly searchBoxContainer = "ic3RegexFilter-searchBoxContainer";
6
14
  static readonly reachedLimitText = "ic3RegexFilter-reachedLimitText";
@@ -9,10 +17,6 @@ export declare class RegexFilterClasses {
9
17
  static readonly footer = "ic3RegexFilter-footer";
10
18
  static readonly footerButtons = "ic3RegexFilter-footerButtons";
11
19
  static readonly filterCount = "ic3RegexFilter-filterCount";
12
- /**
13
- * Additional class when using the preview
14
- */
15
- static readonly previewRoot = "ic3RegexFilter-previewRoot";
16
20
  }
17
21
  export declare type RegexFilterClassesKey = keyof RegexFilterClasses;
18
22
  export interface RegexFilterProps {
@@ -5,7 +5,15 @@ class RegexFilterClasses {
5
5
  }
6
6
  exports.RegexFilterClasses = RegexFilterClasses;
7
7
  /**
8
- * Main content div
8
+ * Additional root-class when using the preview.
9
+ */
10
+ RegexFilterClasses.previewRoot = "ic3RegexFilter-previewRoot";
11
+ /**
12
+ * Additional root-class when using the selection box.
13
+ */
14
+ RegexFilterClasses.selectionBoxRoot = "ic3RegexFilter-selectionBoxRoot";
15
+ /**
16
+ * Class for the div with the search box.
9
17
  */
10
18
  RegexFilterClasses.searchBoxContainer = "ic3RegexFilter-searchBoxContainer";
11
19
  RegexFilterClasses.reachedLimitText = "ic3RegexFilter-reachedLimitText";
@@ -14,8 +22,4 @@ RegexFilterClasses.searchContent = "ic3RegexFilter-searchContent";
14
22
  RegexFilterClasses.footer = "ic3RegexFilter-footer";
15
23
  RegexFilterClasses.footerButtons = "ic3RegexFilter-footerButtons";
16
24
  RegexFilterClasses.filterCount = "ic3RegexFilter-filterCount";
17
- /**
18
- * Additional class when using the preview
19
- */
20
- RegexFilterClasses.previewRoot = "ic3RegexFilter-previewRoot";
21
25
  //# sourceMappingURL=ThemeRegexFilter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeRegexFilter.js","sourceRoot":"","sources":["../../src/theme/ThemeRegexFilter.ts"],"names":[],"mappings":";;;AAAA,MAAa,kBAAkB;;AAA/B,gDAsBC;AArBG;;GAEG;AACa,qCAAkB,GAAG,mCAAmC,CAAC;AAEzD,mCAAgB,GAAG,iCAAiC,CAAC;AAErD,gCAAa,GAAG,8BAA8B,CAAC;AAE/C,gCAAa,GAAG,8BAA8B,CAAC;AAE/C,yBAAM,GAAG,uBAAuB,CAAC;AAEjC,gCAAa,GAAG,8BAA8B,CAAC;AAE/C,8BAAW,GAAG,4BAA4B,CAAC;AAE3D;;GAEG;AACa,8BAAW,GAAG,4BAA4B,CAAC"}
1
+ {"version":3,"file":"ThemeRegexFilter.js","sourceRoot":"","sources":["../../src/theme/ThemeRegexFilter.ts"],"names":[],"mappings":";;;AAAA,MAAa,kBAAkB;;AAA/B,gDA4BC;AA1BG;;GAEG;AACa,8BAAW,GAAG,4BAA4B,CAAC;AAE3D;;GAEG;AACa,mCAAgB,GAAG,iCAAiC,CAAC;AAErE;;GAEG;AACa,qCAAkB,GAAG,mCAAmC,CAAC;AAEzD,mCAAgB,GAAG,iCAAiC,CAAC;AAErD,gCAAa,GAAG,8BAA8B,CAAC;AAE/C,gCAAa,GAAG,8BAA8B,CAAC;AAE/C,yBAAM,GAAG,uBAAuB,CAAC;AAEjC,gCAAa,GAAG,8BAA8B,CAAC;AAE/C,8BAAW,GAAG,4BAA4B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ic3/reporting-api",
3
- "version": "8.4.6",
3
+ "version": "8.4.7",
4
4
  "description": "icCube dashboards API",
5
5
  "homepage": "https://github.com/ic3-software/ic3-reporting-api",
6
6
  "repository": "https://github.com/ic3-software/ic3-reporting-api",
@@ -11,20 +11,20 @@
11
11
  "access": "public"
12
12
  },
13
13
  "dependencies": {
14
- "@mui/material": "5.14.14",
15
- "@mui/system": "5.14.14",
14
+ "@mui/material": "5.14.18",
15
+ "@mui/system": "5.14.18",
16
16
  "@emotion/react": "11.11.1",
17
17
  "@emotion/styled": "11.11.0"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@types/markerclustererplus": "2.1.33",
21
- "@types/node": "20.8.7",
22
- "@types/react": "18.2.31",
21
+ "@types/node": "20.9.5",
22
+ "@types/react": "18.2.38",
23
23
  "del-cli": "5.1.0",
24
24
  "typescript": "4.9.5"
25
25
  },
26
26
  "overrides": {
27
- "@types/react": "18.2.31"
27
+ "@types/react": "18.2.38"
28
28
  },
29
29
  "scripts": {
30
30
  "build": "del-cli dist && npx tsc",