@cccsaurora/howler-ui 2.17.0-dev.539 → 2.17.0-dev.542

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.
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Api, Article, Book, Code, Dashboard, Description, Edit, ExitToApp, FormatListBulleted, Help, HelpCenter, Key, ManageSearch, QueryStats, SavedSearch, Search, Settings, SettingsSuggest, Shield, Storage, SupervisorAccount, Terminal, Topic } from '@mui/icons-material';
2
+ import { Api, Article, Book, Code, Dashboard, Description, ExitToApp, FormatListBulleted, Help, HelpCenter, Key, ManageSearch, QueryStats, SavedSearch, Search, Settings, SettingsSuggest, Shield, Storage, SupervisorAccount, Terminal, Topic } from '@mui/icons-material';
3
3
  import { AppBrand } from '@cccsaurora/howler-ui/branding/AppBrand';
4
4
  import Classification from '@cccsaurora/howler-ui/components/elements/display/Classification';
5
5
  import DocumentationButton from '@cccsaurora/howler-ui/components/elements/display/DocumentationButton';
@@ -39,6 +39,10 @@ const useMyPreferences = () => {
39
39
  items: []
40
40
  }
41
41
  },
42
+ {
43
+ type: 'divider',
44
+ element: null
45
+ },
42
46
  {
43
47
  type: 'item',
44
48
  element: {
@@ -62,71 +66,75 @@ const useMyPreferences = () => {
62
66
  element: null
63
67
  },
64
68
  {
65
- type: 'group',
69
+ type: 'item',
66
70
  element: {
67
- id: 'manage',
68
- i18nKey: 'manage',
69
- icon: _jsx(Edit, {}),
70
- items: [
71
- {
72
- id: 'manage.views',
73
- i18nKey: 'route.views',
74
- icon: _jsx(ManageSearch, {}),
75
- nested: true,
76
- route: '/views'
77
- },
78
- {
79
- id: 'manage.analytics',
80
- i18nKey: 'route.analytics',
81
- icon: _jsx(QueryStats, {}),
82
- nested: true,
83
- route: '/analytics'
84
- },
85
- {
86
- id: 'manage.templates',
87
- i18nKey: 'route.templates',
88
- icon: _jsx(FormatListBulleted, {}),
89
- nested: true,
90
- route: '/templates'
91
- },
92
- {
93
- id: 'manage.overviews',
94
- i18nKey: 'route.overviews',
95
- icon: _jsx(Article, {}),
96
- nested: true,
97
- route: '/overviews'
98
- },
99
- {
100
- id: 'manage.dossiers',
101
- i18nKey: 'route.dossiers',
102
- icon: _jsx(Topic, {}),
103
- nested: true,
104
- route: '/dossiers'
105
- },
106
- {
107
- id: 'manage.actions',
108
- i18nKey: 'route.actions',
109
- icon: _jsx(Terminal, {}),
110
- nested: true,
111
- route: '/action',
112
- userPropValidators: [
113
- { prop: 'roles', value: 'automation_basic' },
114
- { prop: 'roles', value: 'automation_advanced' },
115
- { prop: 'roles', value: 'actionrunner_basic' },
116
- { prop: 'roles', value: 'actionrunner_advanced' }
117
- ]
118
- },
119
- {
120
- id: 'action.integrations',
121
- i18nKey: 'route.integrations',
122
- icon: _jsx(Api, {}),
123
- nested: true,
124
- route: '/action/integrations',
125
- userPropValidators: [{ prop: 'roles', value: 'automation_basic' }]
126
- }
71
+ id: 'manage.views',
72
+ i18nKey: 'route.views',
73
+ icon: _jsx(ManageSearch, {}),
74
+ route: '/views'
75
+ }
76
+ },
77
+ {
78
+ type: 'item',
79
+ element: {
80
+ id: 'manage.analytics',
81
+ i18nKey: 'route.analytics',
82
+ icon: _jsx(QueryStats, {}),
83
+ route: '/analytics'
84
+ }
85
+ },
86
+ {
87
+ type: 'item',
88
+ element: {
89
+ id: 'manage.templates',
90
+ i18nKey: 'route.templates',
91
+ icon: _jsx(FormatListBulleted, {}),
92
+ route: '/templates'
93
+ }
94
+ },
95
+ {
96
+ type: 'item',
97
+ element: {
98
+ id: 'manage.overviews',
99
+ i18nKey: 'route.overviews',
100
+ icon: _jsx(Article, {}),
101
+ route: '/overviews'
102
+ }
103
+ },
104
+ {
105
+ type: 'item',
106
+ element: {
107
+ id: 'manage.dossiers',
108
+ i18nKey: 'route.dossiers',
109
+ icon: _jsx(Topic, {}),
110
+ route: '/dossiers'
111
+ }
112
+ },
113
+ {
114
+ type: 'item',
115
+ element: {
116
+ id: 'manage.actions',
117
+ i18nKey: 'route.actions',
118
+ icon: _jsx(Terminal, {}),
119
+ route: '/action',
120
+ userPropValidators: [
121
+ { prop: 'roles', value: 'automation_basic' },
122
+ { prop: 'roles', value: 'automation_advanced' },
123
+ { prop: 'roles', value: 'actionrunner_basic' },
124
+ { prop: 'roles', value: 'actionrunner_advanced' }
127
125
  ]
128
126
  }
129
127
  },
128
+ {
129
+ type: 'item',
130
+ element: {
131
+ id: 'action.integrations',
132
+ i18nKey: 'route.integrations',
133
+ icon: _jsx(Api, {}),
134
+ route: '/action/integrations',
135
+ userPropValidators: [{ prop: 'roles', value: 'automation_basic' }]
136
+ }
137
+ },
130
138
  {
131
139
  type: 'divider',
132
140
  element: null
package/package.json CHANGED
@@ -101,7 +101,7 @@
101
101
  "internal-slot": "1.0.7"
102
102
  },
103
103
  "type": "module",
104
- "version": "2.17.0-dev.539",
104
+ "version": "2.17.0-dev.542",
105
105
  "exports": {
106
106
  "./i18n": "./i18n.js",
107
107
  "./index.css": "./index.css",