@hedhog/admin 0.51.24 → 0.51.26

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 (43) hide show
  1. package/dist/auth/auth.service.d.ts.map +1 -1
  2. package/dist/auth/auth.service.js +2 -2
  3. package/dist/auth/auth.service.js.map +1 -1
  4. package/dist/dashboard/dashboard-core/dashboard-core.controller.d.ts +11 -11
  5. package/dist/dashboard/dashboard-core/dashboard-core.service.d.ts +11 -11
  6. package/dist/dashboard/dashboard-user/dashboard-user.controller.d.ts +3 -3
  7. package/dist/dashboard/dashboard-user/dashboard-user.service.d.ts +3 -3
  8. package/dist/menu/menu.controller.d.ts +3 -3
  9. package/dist/menu/menu.service.d.ts +3 -3
  10. package/frontend/dashboard/components/create-panel.tsx.ejs +63 -63
  11. package/frontend/dashboard/components/dashboard.screen.tsx.ejs +116 -116
  12. package/frontend/dashboard/components/update-panel.tsx.ejs +80 -80
  13. package/frontend/dashboard/locales/en/dashboard.dashboard.json +11 -11
  14. package/frontend/dashboard/locales/pt/dashboard.dashboard.json +11 -11
  15. package/frontend/dashboard/react-query/handlers.ts.ejs +28 -28
  16. package/frontend/dashboard/react-query/requests.ts.ejs +56 -56
  17. package/frontend/dashboard-component/components/create-panel.tsx.ejs +130 -130
  18. package/frontend/dashboard-component/components/update-panel.tsx.ejs +164 -164
  19. package/frontend/dashboard-component/locales/en/dashboard.dashboard-component.json +11 -11
  20. package/frontend/dashboard-component/locales/pt/dashboard.dashboard-component.json +11 -11
  21. package/frontend/dashboard-component/react-query/handlers.ts.ejs +28 -28
  22. package/frontend/dashboard-component/react-query/requests.ts.ejs +61 -61
  23. package/frontend/dashboard-item/components/create-panel.tsx.ejs +108 -108
  24. package/frontend/dashboard-item/components/update-panel.tsx.ejs +141 -141
  25. package/frontend/dashboard-item/locales/en/dashboard.dashboard-item.json +11 -11
  26. package/frontend/dashboard-item/locales/pt/dashboard.dashboard-item.json +11 -11
  27. package/frontend/dashboard-item/react-query/handlers.ts.ejs +28 -28
  28. package/frontend/dashboard-item/react-query/requests.ts.ejs +58 -58
  29. package/frontend/dashboard-user/components/create-panel.tsx.ejs +108 -108
  30. package/frontend/dashboard-user/components/update-panel.tsx.ejs +137 -137
  31. package/frontend/dashboard-user/locales/en/dashboard.dashboard-user.json +11 -11
  32. package/frontend/dashboard-user/locales/pt/dashboard.dashboard-user.json +11 -11
  33. package/frontend/dashboard-user/react-query/handlers.ts.ejs +28 -28
  34. package/frontend/dashboard-user/react-query/requests.ts.ejs +58 -58
  35. package/hedhog.yaml +2 -2
  36. package/package.json +1 -1
  37. package/src/auth/auth.service.ts +3 -1
  38. package/src/dashboard/dashboard-component/dashboard-component.controller.ts +55 -55
  39. package/src/dashboard/dashboard-component/dto/create.dto.ts +36 -36
  40. package/src/dashboard/dashboard-component/dto/update.dto.ts +4 -4
  41. package/src/dashboard/dashboard-item/dto/update.dto.ts +4 -4
  42. package/src/dashboard/dashboard-user/dto/update.dto.ts +4 -4
  43. package/src/dashboard/index.ts +1 -1
@@ -1,130 +1,130 @@
1
- import FormPanel, {
2
- FormPanelRef,
3
- getFieldsLocale,
4
- } from '@/components/panels/form-panel'
5
- import { EnumFieldType } from '@/enums/EnumFieldType'
6
- import { useDashboardComponentCreate } from '@/features/admin/dashboard-component'
7
- import { DashboardComponent } from '@/types/models'
8
- import { forwardRef, useImperativeHandle, useRef } from 'react'
9
- import { useTranslation } from 'react-i18next'
10
-
11
- export type DashboardComponentCreatePanelRef = {
12
- submit: () => void
13
- }
14
-
15
- export type DashboardComponentCreatePanelProps = {
16
- onCreated?: (data: DashboardComponent) => void
17
- }
18
-
19
- const DashboardComponentCreatePanel = forwardRef(
20
- ({ onCreated }: DashboardComponentCreatePanelProps, ref) => {
21
- const formRef = useRef<FormPanelRef>(null)
22
- const { t } = useTranslation(['actions', 'fields', 'translations'])
23
- const { mutateAsync: createDashboardComponent } =
24
- useDashboardComponentCreate()
25
-
26
- useImperativeHandle(
27
- ref,
28
- () => ({
29
- submit: () => {
30
- formRef.current?.submit()
31
- },
32
- }),
33
- [formRef]
34
- )
35
-
36
- return (
37
- <FormPanel
38
- ref={formRef}
39
- fields={[
40
- ...getFieldsLocale([{ name: 'name' }]),
41
- {
42
- name: 'slug',
43
- label: { text: t('dashboard-component.slug', { ns: 'fields' }) },
44
- type: EnumFieldType.TEXT,
45
- required: true,
46
- },
47
- {
48
- name: 'path',
49
- label: { text: t('dashboard-component.path', { ns: 'fields' }) },
50
- type: EnumFieldType.TEXT,
51
- required: true,
52
- },
53
- {
54
- name: 'min_width',
55
- label: {
56
- text: t('dashboard-component.min_width', { ns: 'fields' }),
57
- },
58
- type: EnumFieldType.NUMBER,
59
- required: true,
60
- },
61
- {
62
- name: 'width',
63
- label: { text: t('dashboard-component.width', { ns: 'fields' }) },
64
- type: EnumFieldType.NUMBER,
65
- required: true,
66
- },
67
- {
68
- name: 'max_width',
69
- label: {
70
- text: t('dashboard-component.max_width', { ns: 'fields' }),
71
- },
72
- type: EnumFieldType.NUMBER,
73
- required: true,
74
- },
75
- {
76
- name: 'min_height',
77
- label: {
78
- text: t('dashboard-component.min_height', { ns: 'fields' }),
79
- },
80
- type: EnumFieldType.NUMBER,
81
- required: true,
82
- },
83
- {
84
- name: 'height',
85
- label: { text: t('dashboard-component.height', { ns: 'fields' }) },
86
- type: EnumFieldType.NUMBER,
87
- required: true,
88
- },
89
- {
90
- name: 'max_height',
91
- label: {
92
- text: t('dashboard-component.max_height', { ns: 'fields' }),
93
- },
94
- type: EnumFieldType.NUMBER,
95
- required: true,
96
- },
97
- {
98
- name: 'is_resizable',
99
- label: {
100
- text: t('dashboard-component.is_resizable', { ns: 'fields' }),
101
- },
102
- type: EnumFieldType.SWITCH,
103
- required: true,
104
- },
105
- ]}
106
- button={{ text: t('create', { ns: 'actions' }) }}
107
- onSubmit={async (data) => {
108
- const createdData = await createDashboardComponent({
109
- data: {
110
- ...data,
111
- min_width: Number(data.min_width),
112
- width: Number(data.width),
113
- max_width: Number(data.max_width),
114
- min_height: Number(data.min_height),
115
- height: Number(data.height),
116
- max_height: Number(data.max_height),
117
- },
118
- })
119
- if (typeof onCreated === 'function') {
120
- onCreated(createdData as any)
121
- }
122
- }}
123
- />
124
- )
125
- }
126
- )
127
-
128
- DashboardComponentCreatePanel.displayName = 'DashboardComponentCreatePanel'
129
-
130
- export default DashboardComponentCreatePanel
1
+ import FormPanel, {
2
+ FormPanelRef,
3
+ getFieldsLocale,
4
+ } from '@/components/panels/form-panel'
5
+ import { EnumFieldType } from '@/enums/EnumFieldType'
6
+ import { useDashboardComponentCreate } from '@/features/admin/dashboard-component'
7
+ import { DashboardComponent } from '@/types/models'
8
+ import { forwardRef, useImperativeHandle, useRef } from 'react'
9
+ import { useTranslation } from 'react-i18next'
10
+
11
+ export type DashboardComponentCreatePanelRef = {
12
+ submit: () => void
13
+ }
14
+
15
+ export type DashboardComponentCreatePanelProps = {
16
+ onCreated?: (data: DashboardComponent) => void
17
+ }
18
+
19
+ const DashboardComponentCreatePanel = forwardRef(
20
+ ({ onCreated }: DashboardComponentCreatePanelProps, ref) => {
21
+ const formRef = useRef<FormPanelRef>(null)
22
+ const { t } = useTranslation(['actions', 'fields', 'translations'])
23
+ const { mutateAsync: createDashboardComponent } =
24
+ useDashboardComponentCreate()
25
+
26
+ useImperativeHandle(
27
+ ref,
28
+ () => ({
29
+ submit: () => {
30
+ formRef.current?.submit()
31
+ },
32
+ }),
33
+ [formRef]
34
+ )
35
+
36
+ return (
37
+ <FormPanel
38
+ ref={formRef}
39
+ fields={[
40
+ ...getFieldsLocale([{ name: 'name' }]),
41
+ {
42
+ name: 'slug',
43
+ label: { text: t('dashboard-component.slug', { ns: 'fields' }) },
44
+ type: EnumFieldType.TEXT,
45
+ required: true,
46
+ },
47
+ {
48
+ name: 'path',
49
+ label: { text: t('dashboard-component.path', { ns: 'fields' }) },
50
+ type: EnumFieldType.TEXT,
51
+ required: true,
52
+ },
53
+ {
54
+ name: 'min_width',
55
+ label: {
56
+ text: t('dashboard-component.min_width', { ns: 'fields' }),
57
+ },
58
+ type: EnumFieldType.NUMBER,
59
+ required: true,
60
+ },
61
+ {
62
+ name: 'width',
63
+ label: { text: t('dashboard-component.width', { ns: 'fields' }) },
64
+ type: EnumFieldType.NUMBER,
65
+ required: true,
66
+ },
67
+ {
68
+ name: 'max_width',
69
+ label: {
70
+ text: t('dashboard-component.max_width', { ns: 'fields' }),
71
+ },
72
+ type: EnumFieldType.NUMBER,
73
+ required: true,
74
+ },
75
+ {
76
+ name: 'min_height',
77
+ label: {
78
+ text: t('dashboard-component.min_height', { ns: 'fields' }),
79
+ },
80
+ type: EnumFieldType.NUMBER,
81
+ required: true,
82
+ },
83
+ {
84
+ name: 'height',
85
+ label: { text: t('dashboard-component.height', { ns: 'fields' }) },
86
+ type: EnumFieldType.NUMBER,
87
+ required: true,
88
+ },
89
+ {
90
+ name: 'max_height',
91
+ label: {
92
+ text: t('dashboard-component.max_height', { ns: 'fields' }),
93
+ },
94
+ type: EnumFieldType.NUMBER,
95
+ required: true,
96
+ },
97
+ {
98
+ name: 'is_resizable',
99
+ label: {
100
+ text: t('dashboard-component.is_resizable', { ns: 'fields' }),
101
+ },
102
+ type: EnumFieldType.SWITCH,
103
+ required: true,
104
+ },
105
+ ]}
106
+ button={{ text: t('create', { ns: 'actions' }) }}
107
+ onSubmit={async (data) => {
108
+ const createdData = await createDashboardComponent({
109
+ data: {
110
+ ...data,
111
+ min_width: Number(data.min_width),
112
+ width: Number(data.width),
113
+ max_width: Number(data.max_width),
114
+ min_height: Number(data.min_height),
115
+ height: Number(data.height),
116
+ max_height: Number(data.max_height),
117
+ },
118
+ })
119
+ if (typeof onCreated === 'function') {
120
+ onCreated(createdData as any)
121
+ }
122
+ }}
123
+ />
124
+ )
125
+ }
126
+ )
127
+
128
+ DashboardComponentCreatePanel.displayName = 'DashboardComponentCreatePanel'
129
+
130
+ export default DashboardComponentCreatePanel
@@ -1,164 +1,164 @@
1
- import FormPanel, {
2
- FormPanelRef,
3
- getFieldsLocale,
4
- } from '@/components/panels/form-panel'
5
- import { Overlay } from '@/components/custom/overlay'
6
- import { TabPanel } from '@/components/panels/tab-panel'
7
- import {
8
- useDashboardComponentGet,
9
- useDashboardComponentUpdate,
10
- } from '@/features/admin/dashboard-component'
11
- import useEffectAfterFirstUpdate from '@/hooks/use-effect-after-first-update'
12
- import { DashboardComponent } from '@/types/models'
13
- import { forwardRef, useImperativeHandle, useRef } from 'react'
14
- import { useTranslation } from 'react-i18next'
15
- import { EnumFieldType } from '@/enums/EnumFieldType'
16
-
17
- export type DashboardComponentUpdatePanelProps = {
18
- data: DashboardComponent
19
- onUpdated?: (data: DashboardComponent) => void
20
- }
21
-
22
- const DashboardComponentUpdatePanel = forwardRef(
23
- ({ data, onUpdated }: DashboardComponentUpdatePanelProps, ref) => {
24
- const { t } = useTranslation(['actions', 'fields', 'translations'])
25
- const { data: item, isLoading } = useDashboardComponentGet(
26
- (data as any).component_id as number
27
- )
28
- const { mutate: dashboardComponentUpdate } = useDashboardComponentUpdate()
29
- const formRef = useRef<FormPanelRef>(null)
30
-
31
- useEffectAfterFirstUpdate(() => {
32
- if (item && formRef.current) {
33
- formRef.current.setValuesFromItem(item)
34
- }
35
- }, [item])
36
-
37
- useImperativeHandle(ref, () => ({}))
38
-
39
- return (
40
- <TabPanel
41
- activeTabIndex={0}
42
- tabs={[
43
- {
44
- title: t('details', { ns: 'actions' }),
45
- children: (
46
- <Overlay loading={isLoading}>
47
- <FormPanel
48
- ref={formRef}
49
- fields={[
50
- ...getFieldsLocale([{ name: 'name' }], item),
51
- {
52
- name: 'slug',
53
- label: {
54
- text: t('dashboard-component.slug', { ns: 'fields' }),
55
- },
56
- type: EnumFieldType.TEXT,
57
- required: true,
58
- },
59
- {
60
- name: 'path',
61
- label: {
62
- text: t('dashboard-component.path', { ns: 'fields' }),
63
- },
64
- type: EnumFieldType.TEXT,
65
- required: true,
66
- },
67
- {
68
- name: 'min_width',
69
- label: {
70
- text: t('dashboard-component.min_width', {
71
- ns: 'fields',
72
- }),
73
- },
74
- type: EnumFieldType.NUMBER,
75
- required: true,
76
- },
77
- {
78
- name: 'width',
79
- label: {
80
- text: t('dashboard-component.width', { ns: 'fields' }),
81
- },
82
- type: EnumFieldType.NUMBER,
83
- required: true,
84
- },
85
- {
86
- name: 'max_width',
87
- label: {
88
- text: t('dashboard-component.max_width', {
89
- ns: 'fields',
90
- }),
91
- },
92
- type: EnumFieldType.NUMBER,
93
- required: true,
94
- },
95
- {
96
- name: 'min_height',
97
- label: {
98
- text: t('dashboard-component.min_height', {
99
- ns: 'fields',
100
- }),
101
- },
102
- type: EnumFieldType.NUMBER,
103
- required: true,
104
- },
105
- {
106
- name: 'height',
107
- label: {
108
- text: t('dashboard-component.height', { ns: 'fields' }),
109
- },
110
- type: EnumFieldType.NUMBER,
111
- required: true,
112
- },
113
- {
114
- name: 'max_height',
115
- label: {
116
- text: t('dashboard-component.max_height', {
117
- ns: 'fields',
118
- }),
119
- },
120
- type: EnumFieldType.NUMBER,
121
- required: true,
122
- },
123
- {
124
- name: 'is_resizable',
125
- label: {
126
- text: t('dashboard-component.is_resizable', {
127
- ns: 'fields',
128
- }),
129
- },
130
- type: EnumFieldType.SWITCH,
131
- required: true,
132
- },
133
- ]}
134
- button={{ text: t('save', { ns: 'actions' }) }}
135
- onSubmit={(data) => {
136
- dashboardComponentUpdate({
137
- id: data.id,
138
- data: {
139
- ...data,
140
- min_width: Number(data.min_width),
141
- width: Number(data.width),
142
- max_width: Number(data.max_width),
143
- min_height: Number(data.min_height),
144
- height: Number(data.height),
145
- max_height: Number(data.max_height),
146
- },
147
- })
148
- if (typeof onUpdated === 'function') {
149
- onUpdated(data)
150
- }
151
- }}
152
- />
153
- </Overlay>
154
- ),
155
- },
156
- ]}
157
- />
158
- )
159
- }
160
- )
161
-
162
- DashboardComponentUpdatePanel.displayName = 'DashboardComponentUpdatePanel'
163
-
164
- export default DashboardComponentUpdatePanel
1
+ import FormPanel, {
2
+ FormPanelRef,
3
+ getFieldsLocale,
4
+ } from '@/components/panels/form-panel'
5
+ import { Overlay } from '@/components/custom/overlay'
6
+ import { TabPanel } from '@/components/panels/tab-panel'
7
+ import {
8
+ useDashboardComponentGet,
9
+ useDashboardComponentUpdate,
10
+ } from '@/features/admin/dashboard-component'
11
+ import useEffectAfterFirstUpdate from '@/hooks/use-effect-after-first-update'
12
+ import { DashboardComponent } from '@/types/models'
13
+ import { forwardRef, useImperativeHandle, useRef } from 'react'
14
+ import { useTranslation } from 'react-i18next'
15
+ import { EnumFieldType } from '@/enums/EnumFieldType'
16
+
17
+ export type DashboardComponentUpdatePanelProps = {
18
+ data: DashboardComponent
19
+ onUpdated?: (data: DashboardComponent) => void
20
+ }
21
+
22
+ const DashboardComponentUpdatePanel = forwardRef(
23
+ ({ data, onUpdated }: DashboardComponentUpdatePanelProps, ref) => {
24
+ const { t } = useTranslation(['actions', 'fields', 'translations'])
25
+ const { data: item, isLoading } = useDashboardComponentGet(
26
+ (data as any).component_id as number
27
+ )
28
+ const { mutate: dashboardComponentUpdate } = useDashboardComponentUpdate()
29
+ const formRef = useRef<FormPanelRef>(null)
30
+
31
+ useEffectAfterFirstUpdate(() => {
32
+ if (item && formRef.current) {
33
+ formRef.current.setValuesFromItem(item)
34
+ }
35
+ }, [item])
36
+
37
+ useImperativeHandle(ref, () => ({}))
38
+
39
+ return (
40
+ <TabPanel
41
+ activeTabIndex={0}
42
+ tabs={[
43
+ {
44
+ title: t('details', { ns: 'actions' }),
45
+ children: (
46
+ <Overlay loading={isLoading}>
47
+ <FormPanel
48
+ ref={formRef}
49
+ fields={[
50
+ ...getFieldsLocale([{ name: 'name' }], item),
51
+ {
52
+ name: 'slug',
53
+ label: {
54
+ text: t('dashboard-component.slug', { ns: 'fields' }),
55
+ },
56
+ type: EnumFieldType.TEXT,
57
+ required: true,
58
+ },
59
+ {
60
+ name: 'path',
61
+ label: {
62
+ text: t('dashboard-component.path', { ns: 'fields' }),
63
+ },
64
+ type: EnumFieldType.TEXT,
65
+ required: true,
66
+ },
67
+ {
68
+ name: 'min_width',
69
+ label: {
70
+ text: t('dashboard-component.min_width', {
71
+ ns: 'fields',
72
+ }),
73
+ },
74
+ type: EnumFieldType.NUMBER,
75
+ required: true,
76
+ },
77
+ {
78
+ name: 'width',
79
+ label: {
80
+ text: t('dashboard-component.width', { ns: 'fields' }),
81
+ },
82
+ type: EnumFieldType.NUMBER,
83
+ required: true,
84
+ },
85
+ {
86
+ name: 'max_width',
87
+ label: {
88
+ text: t('dashboard-component.max_width', {
89
+ ns: 'fields',
90
+ }),
91
+ },
92
+ type: EnumFieldType.NUMBER,
93
+ required: true,
94
+ },
95
+ {
96
+ name: 'min_height',
97
+ label: {
98
+ text: t('dashboard-component.min_height', {
99
+ ns: 'fields',
100
+ }),
101
+ },
102
+ type: EnumFieldType.NUMBER,
103
+ required: true,
104
+ },
105
+ {
106
+ name: 'height',
107
+ label: {
108
+ text: t('dashboard-component.height', { ns: 'fields' }),
109
+ },
110
+ type: EnumFieldType.NUMBER,
111
+ required: true,
112
+ },
113
+ {
114
+ name: 'max_height',
115
+ label: {
116
+ text: t('dashboard-component.max_height', {
117
+ ns: 'fields',
118
+ }),
119
+ },
120
+ type: EnumFieldType.NUMBER,
121
+ required: true,
122
+ },
123
+ {
124
+ name: 'is_resizable',
125
+ label: {
126
+ text: t('dashboard-component.is_resizable', {
127
+ ns: 'fields',
128
+ }),
129
+ },
130
+ type: EnumFieldType.SWITCH,
131
+ required: true,
132
+ },
133
+ ]}
134
+ button={{ text: t('save', { ns: 'actions' }) }}
135
+ onSubmit={(data) => {
136
+ dashboardComponentUpdate({
137
+ id: data.id,
138
+ data: {
139
+ ...data,
140
+ min_width: Number(data.min_width),
141
+ width: Number(data.width),
142
+ max_width: Number(data.max_width),
143
+ min_height: Number(data.min_height),
144
+ height: Number(data.height),
145
+ max_height: Number(data.max_height),
146
+ },
147
+ })
148
+ if (typeof onUpdated === 'function') {
149
+ onUpdated(data)
150
+ }
151
+ }}
152
+ />
153
+ </Overlay>
154
+ ),
155
+ },
156
+ ]}
157
+ />
158
+ )
159
+ }
160
+ )
161
+
162
+ DashboardComponentUpdatePanel.displayName = 'DashboardComponentUpdatePanel'
163
+
164
+ export default DashboardComponentUpdatePanel
@@ -1,11 +1,11 @@
1
- {
2
- "create": "Create dashboard component",
3
- "createText": "Fill the dashboard component informations.",
4
- "createTooltip": "Create new dashboard component",
5
- "delete": "Delete dashboard component",
6
- "deleteText": "Are you sure to delete these dashboard components?",
7
- "deleteTooltip": "Delete the selected dashboard component",
8
- "edit": "Edit dashboard component",
9
- "editText": "View and edit dashboard component information.",
10
- "editTooltip": "Edit the selected dashboard component"
11
- }
1
+ {
2
+ "create": "Create dashboard component",
3
+ "createText": "Fill the dashboard component informations.",
4
+ "createTooltip": "Create new dashboard component",
5
+ "delete": "Delete dashboard component",
6
+ "deleteText": "Are you sure to delete these dashboard components?",
7
+ "deleteTooltip": "Delete the selected dashboard component",
8
+ "edit": "Edit dashboard component",
9
+ "editText": "View and edit dashboard component information.",
10
+ "editTooltip": "Edit the selected dashboard component"
11
+ }
@@ -1,11 +1,11 @@
1
- {
2
- "create": "Criar componente do dashboard",
3
- "createText": "Preencha as informações do componente do dashboard.",
4
- "createTooltip": "Criar novo componente do dashboard",
5
- "delete": "Excluir componente do dashboard",
6
- "deleteText": "Você tem certeza de que deseja excluir esses componentes do dashboard?",
7
- "deleteTooltip": "Excluir o componente do dashboard selecionado",
8
- "edit": "Editar componente do dashboard",
9
- "editText": "Ver e editar as informações do componente do dashboard.",
10
- "editTooltip": "Editar o componente do dashboard selecionado"
11
- }
1
+ {
2
+ "create": "Criar componente do dashboard",
3
+ "createText": "Preencha as informações do componente do dashboard.",
4
+ "createTooltip": "Criar novo componente do dashboard",
5
+ "delete": "Excluir componente do dashboard",
6
+ "deleteText": "Você tem certeza de que deseja excluir esses componentes do dashboard?",
7
+ "deleteTooltip": "Excluir o componente do dashboard selecionado",
8
+ "edit": "Editar componente do dashboard",
9
+ "editText": "Ver e editar as informações do componente do dashboard.",
10
+ "editTooltip": "Editar o componente do dashboard selecionado"
11
+ }