@digital-ai/dot-components 4.26.0 → 4.27.0

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/index.esm.js CHANGED
@@ -7414,6 +7414,9 @@ const DotAutoComplete = ({
7414
7414
  val,
7415
7415
  reason
7416
7416
  });
7417
+ if (reason === 'clear' && !disableCloseOnSelect) {
7418
+ setIsOpened(false);
7419
+ }
7417
7420
  },
7418
7421
  onClose: handleClose,
7419
7422
  onHighlightChange: (_event, v) => highlightedOption = v,
@@ -9807,7 +9810,7 @@ class DashboardsService {
9807
9810
  * @param isOotbDashboard Boolean match on Dashboard OOTB status.
9808
9811
  * @param lifecycleState String match on Dashboard lifecycle state - 'DRAFT' or 'PUBLISHED'.
9809
9812
  * @param name String match on Dashboard name.
9810
- * @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY', 'RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', or APPLICATIONSECURITY.
9813
+ * @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY', 'RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', 'APPLICATIONSECURITY', or 'SERVICEMGMTPROCESSOPTIMIZATION'.
9811
9814
  * @param viewModified Return dashboards with modified changes if they exist for this user.
9812
9815
  * @returns DashboardViewPagedResponse OK
9813
9816
  * @returns Error Default error response
@@ -10233,7 +10236,7 @@ class DashboardsService {
10233
10236
  * * **Filterable field names**: author_fullname, bi_type, categories, created_dt, description, is_ootb_dashboard, lifecycle_state, name, updated_by_fullname, updated_dt
10234
10237
  * * **Searchable field names**: author_fullname, categories, description, name
10235
10238
  *
10236
- * @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY', 'RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', or 'APPLICATIONSECURITY'.
10239
+ * @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY', 'RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', 'APPLICATIONSECURITY', or 'SERVICEMGMTPROCESSOPTIMIZATION'.
10237
10240
  * @param biType String match on Dashboard bi type - 'MICROSTRATEGY'.
10238
10241
  * @param isOotbDashboard Boolean match on Dashboard OOTB status.
10239
10242
  * @param lifecycleState String match on Dashboard lifecycle state - 'DRAFT' or 'PUBLISHED'.
@@ -10681,7 +10684,8 @@ const getCategoriesMock = {
10681
10684
  RELEASE: ['DevOps COE', 'Engineering Manager', 'Release Manager', 'Platform Engineer', 'Platform Product Manager'],
10682
10685
  TEAMFORGE: ['Scrum Master'],
10683
10686
  CHANGERISKPREDICTION: [],
10684
- APPLICATIONSECURITY: []
10687
+ APPLICATIONSECURITY: [],
10688
+ SERVICEMGMTPROCESSOPTIMIZATION: []
10685
10689
  }
10686
10690
  };
10687
10691
  const getAuthorsMock = [{
@@ -11870,6 +11874,9 @@ const DashboardAppTypeOptions = [
11870
11874
  }, {
11871
11875
  option: 'Application Security',
11872
11876
  value: 'APPLICATIONSECURITY'
11877
+ }, {
11878
+ option: 'Service Mgmt. Process Optimization',
11879
+ value: 'SERVICEMGMTPROCESSOPTIMIZATION'
11873
11880
  }];
11874
11881
  const initialFormState = {
11875
11882
  categories: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital-ai/dot-components",
3
- "version": "4.26.0",
3
+ "version": "4.27.0",
4
4
  "private": false,
5
5
  "license": "SEE LICENSE IN <LICENSE.md>",
6
6
  "contributors": [
@@ -6,7 +6,7 @@ export type DashboardCreateBody = {
6
6
  /**
7
7
  * App types that can be targeted by the dashboard.
8
8
  */
9
- target_apps: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY'>;
9
+ target_apps: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY' | 'SERVICEMGMTPROCESSOPTIMIZATION'>;
10
10
  /**
11
11
  * Description of the dashboard.
12
12
  */
@@ -22,7 +22,7 @@ export type DashboardPatchBody = {
22
22
  /**
23
23
  * App types that can be targeted by the dashboard.
24
24
  */
25
- target_apps?: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY'> | null;
25
+ target_apps?: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY' | 'SERVICEMGMTPROCESSOPTIMIZATION'> | null;
26
26
  /**
27
27
  * Thumbnail representing dashboard. Base64 encoded SVG.
28
28
  */
@@ -22,7 +22,7 @@ export type DashboardPutBody = {
22
22
  /**
23
23
  * App types that can be targeted by the dashboard.
24
24
  */
25
- target_apps: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY'>;
25
+ target_apps: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY' | 'SERVICEMGMTPROCESSOPTIMIZATION'>;
26
26
  /**
27
27
  * Thumbnail representing dashboard. Base64 encoded SVG.
28
28
  */
@@ -18,7 +18,7 @@ export type DashboardView = {
18
18
  /**
19
19
  * App types that can be targeted by the dashboard.
20
20
  */
21
- target_apps: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY'>;
21
+ target_apps: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY' | 'SERVICEMGMTPROCESSOPTIMIZATION'>;
22
22
  /**
23
23
  * Description of the dashboard.
24
24
  */
@@ -29,7 +29,7 @@ export declare class DashboardsService {
29
29
  * @param isOotbDashboard Boolean match on Dashboard OOTB status.
30
30
  * @param lifecycleState String match on Dashboard lifecycle state - 'DRAFT' or 'PUBLISHED'.
31
31
  * @param name String match on Dashboard name.
32
- * @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY', 'RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', or APPLICATIONSECURITY.
32
+ * @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY', 'RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', 'APPLICATIONSECURITY', or 'SERVICEMGMTPROCESSOPTIMIZATION'.
33
33
  * @param viewModified Return dashboards with modified changes if they exist for this user.
34
34
  * @returns DashboardViewPagedResponse OK
35
35
  * @returns Error Default error response
@@ -184,7 +184,7 @@ export declare class DashboardsService {
184
184
  * * **Filterable field names**: author_fullname, bi_type, categories, created_dt, description, is_ootb_dashboard, lifecycle_state, name, updated_by_fullname, updated_dt
185
185
  * * **Searchable field names**: author_fullname, categories, description, name
186
186
  *
187
- * @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY', 'RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', or 'APPLICATIONSECURITY'.
187
+ * @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY', 'RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', 'APPLICATIONSECURITY', or 'SERVICEMGMTPROCESSOPTIMIZATION'.
188
188
  * @param biType String match on Dashboard bi type - 'MICROSTRATEGY'.
189
189
  * @param isOotbDashboard Boolean match on Dashboard OOTB status.
190
190
  * @param lifecycleState String match on Dashboard lifecycle state - 'DRAFT' or 'PUBLISHED'.