@m4l/components 9.2.65 → 9.3.1-B21072025-beta.1

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 (109) hide show
  1. package/@types/types.d.ts +15 -0
  2. package/components/DataGrid/Datagrid.styles.js +112 -9
  3. package/components/DataGrid/formatters/ColumnBooleanFormatter/formatter.d.ts +2 -1
  4. package/components/DataGrid/formatters/ColumnBooleanFormatter/formatter.js +2 -3
  5. package/components/DataGrid/formatters/ColumnBooleanFormatter/useColumnBoolean.d.ts +1 -1
  6. package/components/DataGrid/formatters/ColumnChipStatusFormatter/formatter.d.ts +2 -1
  7. package/components/DataGrid/formatters/ColumnChipStatusFormatter/formatter.js +5 -4
  8. package/components/DataGrid/formatters/ColumnChipStatusFormatter/useColumnChipStatus.d.ts +1 -1
  9. package/components/DataGrid/formatters/ColumnConcatenatedValuesFormatter/formatter.d.ts +2 -1
  10. package/components/DataGrid/formatters/ColumnConcatenatedValuesFormatter/formatter.js +11 -4
  11. package/components/DataGrid/formatters/ColumnConcatenatedValuesFormatter/useColumnConcatenatedValues.d.ts +1 -1
  12. package/components/DataGrid/formatters/ColumnDateFormatter/formatter.d.ts +2 -1
  13. package/components/DataGrid/formatters/ColumnDateFormatter/formatter.js +13 -4
  14. package/components/DataGrid/formatters/ColumnDateFormatter/useColumnDate.d.ts +1 -1
  15. package/components/DataGrid/formatters/ColumnIconFormatter/formatter.d.ts +2 -1
  16. package/components/DataGrid/formatters/ColumnIconFormatter/formatter.js +2 -2
  17. package/components/DataGrid/formatters/ColumnIconFormatter/useColumnIcon.d.ts +1 -1
  18. package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/types.d.ts +2 -2
  19. package/components/DataGrid/formatters/ColumnNestedValueFormatter/formatter.d.ts +2 -1
  20. package/components/DataGrid/formatters/ColumnNestedValueFormatter/formatter.js +4 -3
  21. package/components/DataGrid/formatters/ColumnNestedValueFormatter/useColumnNestedValue.d.ts +1 -1
  22. package/components/DataGrid/formatters/ColumnPointsFormatter/formatter.d.ts +2 -1
  23. package/components/DataGrid/formatters/ColumnPointsFormatter/formatter.js +13 -5
  24. package/components/DataGrid/formatters/ColumnPointsFormatter/useColumnPoints.d.ts +1 -1
  25. package/components/DataGrid/formatters/ColumnPriceFormatter/formatter.d.ts +2 -1
  26. package/components/DataGrid/formatters/ColumnPriceFormatter/formatter.js +11 -4
  27. package/components/DataGrid/formatters/ColumnPriceFormatter/useColumnPrice.d.ts +1 -1
  28. package/components/DataGrid/formatters/ColumnSetCheckFormatter/formatter.d.ts +2 -2
  29. package/components/DataGrid/formatters/ColumnSetCheckFormatter/formatter.js +1 -1
  30. package/components/DataGrid/formatters/ColumnSetCheckFormatter/useColumnSetCheck.d.ts +1 -1
  31. package/components/DataGrid/formatters/ColumnUncertaintyFormatter/formatter.d.ts +2 -1
  32. package/components/DataGrid/formatters/ColumnUncertaintyFormatter/formatter.js +15 -6
  33. package/components/DataGrid/formatters/ColumnUncertaintyFormatter/useColumnUncertainty.d.ts +1 -1
  34. package/components/DataGrid/index.d.ts +1 -1
  35. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Settings/subcomponents/ColumnsConfig/index.js +4 -5
  36. package/components/DataGrid/subcomponents/Table/hooks/getDragHeaderRenderer.d.ts +2 -2
  37. package/components/DataGrid/subcomponents/Table/hooks/useHeaderMenuActions.d.ts +2 -2
  38. package/components/DataGrid/subcomponents/Table/hooks/useHeaderMenuActions.js +15 -6
  39. package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.js +13 -5
  40. package/components/DataGrid/subcomponents/Table/index.d.ts +3 -1
  41. package/components/DataGrid/subcomponents/Table/index.js +38 -9
  42. package/components/DataGrid/subcomponents/Table/subcomponents/ActionsColumn.js +1 -1
  43. package/components/DataGrid/subcomponents/Table/subcomponents/CheckboxFormatter.d.ts +2 -2
  44. package/components/DataGrid/subcomponents/Table/subcomponents/DraggableHeaderRenderer.d.ts +2 -2
  45. package/components/DataGrid/subcomponents/Table/subcomponents/DraggableHeaderRenderer.js +10 -8
  46. package/components/DataGrid/subcomponents/Table/subcomponents/HeaderRenderClick/HeaderRenderClick.js +1 -1
  47. package/components/DataGrid/subcomponents/Table/subcomponents/SelectColumn.js +7 -7
  48. package/components/DataGrid/subcomponents/editors/TextEditor/index.d.ts +15 -5
  49. package/components/DataGrid/types.d.ts +9 -4
  50. package/components/SettingsLayout/SettingsLayout.d.ts +5 -0
  51. package/components/SettingsLayout/SettingsLayout.js +50 -0
  52. package/components/SettingsLayout/SettingsLayout.styles.d.ts +2 -0
  53. package/components/SettingsLayout/SettingsLayout.styles.js +245 -0
  54. package/components/SettingsLayout/constants.d.ts +7 -0
  55. package/components/SettingsLayout/constants.js +10 -0
  56. package/components/SettingsLayout/dictionary.d.ts +56 -0
  57. package/components/SettingsLayout/dictionary.js +12 -0
  58. package/components/SettingsLayout/icons.d.ts +13 -0
  59. package/components/SettingsLayout/icons.js +16 -0
  60. package/components/SettingsLayout/index.d.ts +2 -0
  61. package/components/SettingsLayout/index.js +1 -0
  62. package/components/SettingsLayout/slots/SettingsLayoutEnum.d.ts +16 -0
  63. package/components/SettingsLayout/slots/SettingsLayoutEnum.js +20 -0
  64. package/components/SettingsLayout/slots/SettingsLayoutSlots.d.ts +44 -0
  65. package/components/SettingsLayout/slots/SettingsLayoutSlots.js +78 -0
  66. package/components/SettingsLayout/subcomponents/SettingColorPresets/SettingColorPresets.d.ts +4 -0
  67. package/components/SettingsLayout/subcomponents/SettingColorPresets/SettingColorPresets.js +34 -0
  68. package/components/SettingsLayout/subcomponents/SettingColorPresets/index.d.ts +1 -0
  69. package/components/SettingsLayout/subcomponents/SettingColorPresets/index.js +1 -0
  70. package/components/SettingsLayout/subcomponents/SettingDirection/SettingDirection.d.ts +4 -0
  71. package/components/SettingsLayout/subcomponents/SettingDirection/SettingDirection.js +34 -0
  72. package/components/SettingsLayout/subcomponents/SettingDirection/index.d.ts +1 -0
  73. package/components/SettingsLayout/subcomponents/SettingFullscreen/SettingFullscreen.d.ts +4 -0
  74. package/components/SettingsLayout/subcomponents/SettingFullscreen/SettingFullscreen.js +40 -0
  75. package/components/SettingsLayout/subcomponents/SettingFullscreen/index.d.ts +1 -0
  76. package/components/SettingsLayout/subcomponents/SettingFullscreen/index.js +1 -0
  77. package/components/SettingsLayout/subcomponents/SettingItem/SettingItem.d.ts +8 -0
  78. package/components/SettingsLayout/subcomponents/SettingItem/SettingItem.js +23 -0
  79. package/components/SettingsLayout/subcomponents/SettingItem/index.d.ts +1 -0
  80. package/components/SettingsLayout/subcomponents/SettingItem/index.js +1 -0
  81. package/components/SettingsLayout/subcomponents/SettingItem/types.d.ts +5 -0
  82. package/components/SettingsLayout/subcomponents/SettingItemColor/SettingItemColor.d.ts +8 -0
  83. package/components/SettingsLayout/subcomponents/SettingItemColor/SettingItemColor.js +20 -0
  84. package/components/SettingsLayout/subcomponents/SettingItemColor/index.d.ts +1 -0
  85. package/components/SettingsLayout/subcomponents/SettingItemColor/index.js +1 -0
  86. package/components/SettingsLayout/subcomponents/SettingItemColor/types.d.ts +6 -0
  87. package/components/SettingsLayout/subcomponents/SettingMode/SettingMode.d.ts +4 -0
  88. package/components/SettingsLayout/subcomponents/SettingMode/SettingMode.js +34 -0
  89. package/components/SettingsLayout/subcomponents/SettingMode/index.d.ts +1 -0
  90. package/components/SettingsLayout/subcomponents/SettingMode/index.js +1 -0
  91. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/SettingsLayoutBase.d.ts +4 -0
  92. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/SettingsLayoutBase.js +76 -0
  93. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/index.d.ts +1 -0
  94. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/index.js +1 -0
  95. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/types.d.ts +0 -0
  96. package/components/SettingsLayout/test/SettingsLayout.test.d.ts +1 -0
  97. package/components/SettingsLayout/types.d.ts +51 -0
  98. package/components/formatters/BooleanFormatter/BooleanFormatter.styles.js +1 -1
  99. package/components/index.d.ts +1 -0
  100. package/components/mui_extended/MenuItem/MenuItem.js +2 -1
  101. package/components/mui_extended/MenuItem/types.d.ts +4 -0
  102. package/index.js +4 -2
  103. package/package.json +4 -4
  104. package/storybook/components/DataGrid/DataGrid.stories.d.ts +4 -0
  105. package/storybook/components/DataGrid/helpers/types.d.ts +3 -2
  106. package/storybook/components/SettingsLayout/SettingsLayout.stories.d.ts +6 -0
  107. package/storybook/components/SettingsLayout/subcomponents/SettingsLayoutRender/SettingsLayoutsRender.d.ts +5 -0
  108. package/storybook/components/SettingsLayout/subcomponents/SettingsLayoutRender/index.d.ts +1 -0
  109. package/helpers/getFieldValueWithRow.js +0 -10
@@ -0,0 +1,245 @@
1
+ import { PRIMARY_COLORS_LIGHT, PRIMARY_COLORS_DARK } from "@m4l/styles";
2
+ import { v as varFade } from "../animate/variants/fade.js";
3
+ const settingsLayoutStyles = {
4
+ /**
5
+ * Estilos css de la ranura root
6
+ */
7
+ root: ({ theme, ownerState }) => ({
8
+ top: 0,
9
+ right: 0,
10
+ bottom: 0,
11
+ transform: "unset!important",
12
+ padding: theme.vars.size.baseSpacings.sp6,
13
+ opacity: "1!important",
14
+ display: "flex",
15
+ position: "fixed",
16
+ width: ownerState?.width,
17
+ flexDirection: "column",
18
+ gap: theme.vars.size.baseSpacings.sp6,
19
+ boxShadow: theme.vars.customShadows?.z4,
20
+ overflowY: "auto",
21
+ zIndex: theme.zIndex.drawer + 3,
22
+ ...ownerState?.themeDirection === "ltr" && {
23
+ borderTopLeftRadius: theme.vars.size.borderRadius.r3,
24
+ borderBottomLeftRadius: theme.vars.size.borderRadius.r3
25
+ },
26
+ ...ownerState?.themeDirection === "rtl" && {
27
+ borderTopRightRadius: theme.vars.size.borderRadius.r3,
28
+ borderBottomRightRadius: theme.vars.size.borderRadius.r3
29
+ },
30
+ border: theme.vars.size.borderStroke.container,
31
+ borderColor: theme.vars.palette.border.secondary,
32
+ backgroundColor: theme.vars.palette.background.base,
33
+ ...ownerState?.themeDirection !== "rtl" ? varFade({
34
+ distance: ownerState?.width,
35
+ durationIn: 0.32,
36
+ durationOut: 0.32
37
+ }).inRight : varFade({
38
+ distance: ownerState?.width,
39
+ durationIn: 0.32,
40
+ durationOut: 0.32
41
+ }).inLeft
42
+ }),
43
+ /**
44
+ * Estilos css de la ranura backdrop
45
+ */
46
+ backdrop: ({ theme }) => ({
47
+ background: "transparent",
48
+ zIndex: theme.zIndex.drawer + 1,
49
+ transform: "unset",
50
+ opacity: 1
51
+ }),
52
+ /**
53
+ * Estilos css de la ranura header
54
+ */
55
+ headerContainer: () => ({
56
+ width: "100%",
57
+ display: "flex",
58
+ flexDirection: "row",
59
+ alignItems: "center",
60
+ justifyContent: "space-between"
61
+ }),
62
+ /**
63
+ * Estilos css de la ranura headerActions
64
+ */
65
+ headerActions: ({ theme }) => ({
66
+ display: "flex",
67
+ flexDirection: "row",
68
+ width: "fit-content",
69
+ alignItems: "center",
70
+ padding: theme.vars.size.baseSpacings["sp0-5"],
71
+ gap: theme.vars.size.baseSpacings["sp0-5"],
72
+ borderRadius: theme.vars.size.borderRadius.r2,
73
+ border: theme.vars.size.borderStroke.container,
74
+ borderColor: theme.vars.palette.border.disabled,
75
+ backgroundColor: theme.vars.palette.background.default
76
+ }),
77
+ /**
78
+ * Estilos css de la ranura content
79
+ */
80
+ bodyContent: ({ theme }) => ({
81
+ display: "flex",
82
+ flexDirection: "column",
83
+ position: "relative",
84
+ overflowY: "auto",
85
+ width: "100%",
86
+ gap: theme.vars.size.baseSpacings.sp6
87
+ }),
88
+ /**
89
+ * Estilos css de la ranura settingContainer
90
+ */
91
+ settingContainer: ({ theme }) => ({
92
+ display: "flex",
93
+ flexDirection: "column",
94
+ padding: theme.vars.size.baseSpacings.sp4,
95
+ gap: theme.vars.size.baseSpacings.sp4,
96
+ borderRadius: theme.vars.size.borderRadius.r2,
97
+ backgroundColor: theme.vars.palette.background.default
98
+ }),
99
+ /**
100
+ * Estilos css de la ranura settingIconTitle
101
+ */
102
+ settingIconTitle: ({ theme }) => ({
103
+ display: "flex",
104
+ flexDirection: "row",
105
+ gap: theme.vars.size.baseSpacings["sp2-5"],
106
+ justifyContent: "flex-start",
107
+ alignItems: "center"
108
+ }),
109
+ /**
110
+ * Estilos css de la ranura settingItemContent
111
+ */
112
+ settingItemContent: ({ theme }) => ({
113
+ display: "flex",
114
+ flexDirection: "row",
115
+ gap: theme.vars.size.baseSpacings.sp4,
116
+ justifyContent: "space-between"
117
+ }),
118
+ /**
119
+ * Estilos css de la ranura settingItem
120
+ */
121
+ settingItem: ({ theme, ownerState }) => ({
122
+ display: "flex",
123
+ flexDirection: "row",
124
+ justifyContent: "center",
125
+ alignItems: "center",
126
+ width: "100%",
127
+ height: "100%",
128
+ borderRadius: theme.vars.size.borderRadius.r2,
129
+ border: theme.vars.size.borderStroke.container,
130
+ borderColor: theme.vars.palette.border.disabled,
131
+ padding: theme.vars.size.baseSpacings.sp2,
132
+ outline: "unset",
133
+ "& .M4LIcon-root": {
134
+ width: theme.vars.size.baseSpacings.sp5,
135
+ height: theme.vars.size.baseSpacings.sp5
136
+ },
137
+ ...ownerState?.onChange ? {
138
+ transition: "all 0.3s ease",
139
+ cursor: "pointer",
140
+ "&:hover": {
141
+ backgroundColor: theme.vars.palette.default.hoverOpacity
142
+ },
143
+ "&:active": {
144
+ backgroundColor: theme.vars.palette.default.activeOpacity
145
+ },
146
+ "&:focus-visible": {
147
+ borderColor: theme.vars.palette.border.main,
148
+ boxShadow: theme.vars.customShadows?.primary
149
+ },
150
+ ...ownerState?.selected ? {
151
+ borderColor: theme.vars.palette.border.main,
152
+ backgroundColor: theme.vars.palette.primary.enabledOpacity,
153
+ "&:hover": {
154
+ backgroundColor: theme.vars.palette.primary.hoverOpacity
155
+ },
156
+ "&:active": {
157
+ backgroundColor: theme.vars.palette.primary.activeOpacity
158
+ }
159
+ } : {}
160
+ } : {}
161
+ }),
162
+ /**
163
+ * Estilos css de la ranura settingItemColor
164
+ */
165
+ settingItemColor: ({ theme, ownerState }) => {
166
+ const presetColor = ownerState?.color ?? "patronus";
167
+ const presetPalette = ownerState?.mode === "light" ? PRIMARY_COLORS_LIGHT[presetColor] : PRIMARY_COLORS_DARK[presetColor];
168
+ return {
169
+ display: "flex",
170
+ flexDirection: "row",
171
+ width: "24px",
172
+ height: "24px",
173
+ borderRadius: theme.vars.size.borderRadius.r2,
174
+ backgroundColor: presetPalette.enabled,
175
+ outline: "unset",
176
+ position: "relative",
177
+ overflow: "visible",
178
+ transition: "all 0.3s ease",
179
+ ...ownerState?.onChange ? {
180
+ cursor: "pointer",
181
+ transition: "all 0.3s ease",
182
+ "&:hover": {
183
+ backgroundColor: presetPalette.hover
184
+ },
185
+ "&:active": {
186
+ backgroundColor: presetPalette.active
187
+ },
188
+ "&:focus-visible": {
189
+ borderColor: theme.vars.palette.border.main,
190
+ boxShadow: theme.vars.customShadows?.primary,
191
+ "&:after": {
192
+ content: '""',
193
+ position: "absolute",
194
+ inset: "-5px",
195
+ borderRadius: theme.vars.size.borderRadius.r3,
196
+ boxShadow: `0 0 0 1px ${presetPalette.focus}`,
197
+ zIndex: 1
198
+ }
199
+ },
200
+ ...ownerState?.selected ? {
201
+ "&:before": {
202
+ content: '""',
203
+ position: "absolute",
204
+ inset: "-5px",
205
+ borderRadius: theme.vars.size.borderRadius.r3,
206
+ boxShadow: `0 0 0 1px ${presetPalette.enabled}`,
207
+ backgroundColor: presetPalette.enabledOpacity,
208
+ zIndex: 1
209
+ }
210
+ } : {}
211
+ } : {}
212
+ };
213
+ },
214
+ /**
215
+ * Estilos css de la ranura settingFullscreen
216
+ */
217
+ settingFullscreen: ({ theme }) => ({
218
+ /* borderRadius: theme.vars.size.borderRadius['r1-5'],
219
+ border: 'unset',
220
+ outline: 'unset', */
221
+ display: "flex",
222
+ flexDirection: "row",
223
+ alignItems: "center",
224
+ justifyContent: "center",
225
+ borderRadius: theme.vars.size.borderRadius["r1-5"],
226
+ "& .MuiTypography-root": {
227
+ width: "fit-content"
228
+ }
229
+ }),
230
+ /**
231
+ * Estilos css de la ranura icon
232
+ */
233
+ icon: {},
234
+ /**
235
+ * Estilos css de la ranura typography
236
+ */
237
+ typography: {},
238
+ /**
239
+ * Estilos css de la ranura divider
240
+ */
241
+ divider: {}
242
+ };
243
+ export {
244
+ settingsLayoutStyles as s
245
+ };
@@ -0,0 +1,7 @@
1
+ import { SettingsLayoutSlots } from './slots/SettingsLayoutEnum';
2
+ /**
3
+ * Nombre de clase del componente.
4
+ */
5
+ export declare const SETTINGS_LAYOUT_COMPONENT_KEY = "M4LSettingsLayout";
6
+ export declare const SETTINGS_LAYOUT_CLASSES: Record<keyof typeof SettingsLayoutSlots, string>;
7
+ export declare const SETTINGS_LAYOUT_DEFAULT_WIDTH = 300;
@@ -0,0 +1,10 @@
1
+ import { g as getComponentClasses } from "../../utils/getComponentSlotRoot.js";
2
+ import { S as SettingsLayoutSlots } from "./slots/SettingsLayoutEnum.js";
3
+ const SETTINGS_LAYOUT_COMPONENT_KEY = "M4LSettingsLayout";
4
+ const SETTINGS_LAYOUT_CLASSES = getComponentClasses(SETTINGS_LAYOUT_COMPONENT_KEY, SettingsLayoutSlots);
5
+ const SETTINGS_LAYOUT_DEFAULT_WIDTH = 300;
6
+ export {
7
+ SETTINGS_LAYOUT_DEFAULT_WIDTH as S,
8
+ SETTINGS_LAYOUT_CLASSES as a,
9
+ SETTINGS_LAYOUT_COMPONENT_KEY as b
10
+ };
@@ -0,0 +1,56 @@
1
+ export declare const DICTIONARY: {
2
+ COMPANY_SLOGAN: string;
3
+ COMPANY_NAME: string;
4
+ MODE: string;
5
+ DIRECTION: string;
6
+ PRESETS: string;
7
+ STRETCH: string;
8
+ EXIT_FULLSCREEN: string;
9
+ FULLSCREEN: string;
10
+ COMPANY_NAME_SUBTITLE: string;
11
+ VALIDATION_EMAIL_INVALID: string;
12
+ VALIDATION_PWD_REQUIRED: string;
13
+ LABEL_BACK_LOGIN: string;
14
+ LABEL_EMAIL: string;
15
+ LABEL_INTRO: string;
16
+ MODULE_DESCRIPTION: string;
17
+ MODULE_LEYEND: string;
18
+ MODULE_NAME: string;
19
+ LABEL_PWD: string;
20
+ LABEL_PWD_CONFIRM: string;
21
+ LABEL_FORGOT: string;
22
+ LABEL_NOT_MEMBER: string;
23
+ LABEL_REGISTER: string;
24
+ LABEL_REMEMBERME: string;
25
+ LABEL_USER: string;
26
+ P_HOLDER_USER: string;
27
+ VALIDATION_USER_REQUIRED: string;
28
+ VALIDATION_EMAIL_REQUIRED: string;
29
+ VALIDATION_PWD_INVALID: string;
30
+ LABEL_FIRST_PHONE: string;
31
+ LABEL_COMPANY_NAME: string;
32
+ LABEL_COUNTRY_LABORATORY: string;
33
+ LABEL_EMAIL_CONFIRM: string;
34
+ LABEL_FIRST_NAME: string;
35
+ LABEL_LAST_NAME: string;
36
+ LABEL_MEMBER: string;
37
+ LABEL_STATE: string;
38
+ LABEL_CITY: string;
39
+ LABEL_ADDRESS: string;
40
+ LABEL_COUNTRY_CLIENT: string;
41
+ VALIDATION_FIRST_PHONE_REQUIRED: string;
42
+ VALITATION_COMPONY_NAME_REQUIRED: string;
43
+ VALIDATION_COUNTRY_LABORATORY_REQUIRED: string;
44
+ VALIDATION_COUNTRY_CLIENT_REQUIRED: string;
45
+ VALIDATION_EMAIL_CONFIRM_MATCHES: string;
46
+ VALIDATION_FIRST_NAME_REQUIRED: string;
47
+ VALIDATION_LAST_NAME_REQUIRED: string;
48
+ VALIDATION_STATE_REQUIRED: string;
49
+ VALIDATION_CITY_REQUIRED: string;
50
+ VALIDATION_ADDRESS_REQUIRED: string;
51
+ MODULE_DESCRIPTION_COMPLETED: string;
52
+ LABEL_CHANGE_PASSWORD_COMPLETED: string;
53
+ VALIDATION_PWD_CONFIRM_MATCHES: string;
54
+ NOT_FOUND_TITLE: string;
55
+ NOT_FOUND_DESCRIPTION: string;
56
+ };
@@ -0,0 +1,12 @@
1
+ const DICTIONARY = {
2
+ /* ---------------------Settings dictionary -------------------*/
3
+ MODE: "mode",
4
+ DIRECTION: "direction",
5
+ PRESETS: "presets",
6
+ EXIT_FULLSCREEN: "exit_fullscreen",
7
+ FULLSCREEN: "fullscreen",
8
+ MODULE_NAME: "module_name"
9
+ };
10
+ export {
11
+ DICTIONARY as D
12
+ };
@@ -0,0 +1,13 @@
1
+ export declare const PATH_ICONS: {
2
+ REFRESH: string;
3
+ CLOSE: string;
4
+ MOON: string;
5
+ SUN: string;
6
+ MODE: string;
7
+ PALETTE: string;
8
+ DIRECTION: string;
9
+ ALIGN_LEFT: string;
10
+ ALIGN_RIGHT: string;
11
+ FULLSCREEN: string;
12
+ FULLSCREEN_EXIT: string;
13
+ };
@@ -0,0 +1,16 @@
1
+ const PATH_ICONS = {
2
+ REFRESH: "frontend/components/setting_layout/assets/icons/refresh.svg",
3
+ CLOSE: "frontend/components/setting_layout/assets/icons/closeSmall.svg",
4
+ MOON: "frontend/components/setting_layout/assets/icons/CloudMoon.svg",
5
+ SUN: "frontend/components/setting_layout/assets/icons/Sun.svg",
6
+ MODE: "frontend/components/setting_layout/assets/icons/eclipse.svg",
7
+ PALETTE: "frontend/components/setting_layout/assets/icons/palette.svg",
8
+ DIRECTION: "frontend/components/setting_layout/assets/icons/signpost.svg",
9
+ ALIGN_LEFT: "frontend/components/setting_layout/assets/icons/align-start-vertical.svg",
10
+ ALIGN_RIGHT: "frontend/components/setting_layout/assets/icons/align-end-vertical.svg",
11
+ FULLSCREEN: "frontend/components/setting_layout/assets/icons/FrameCorners.svg",
12
+ FULLSCREEN_EXIT: "frontend/components/setting_layout/assets/icons/exit_fullscreen.svg"
13
+ };
14
+ export {
15
+ PATH_ICONS as P
16
+ };
@@ -0,0 +1,2 @@
1
+ export { SettingsLayout } from './SettingsLayout';
2
+ export type { SettingsLayoutProps } from './types';
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,16 @@
1
+ export declare enum SettingsLayoutSlots {
2
+ root = "root",
3
+ backdrop = "backdrop",
4
+ icon = "icon",
5
+ typography = "typography",
6
+ divider = "divider",
7
+ headerContainer = "headerContainer",
8
+ headerActions = "headerActions",
9
+ bodyContent = "bodyContent",
10
+ settingContainer = "settingContainer",
11
+ settingIconTitle = "settingIconTitle",
12
+ settingItem = "settingItem",
13
+ settingItemColor = "settingItemColor",
14
+ settingItemContent = "settingItemContent",
15
+ settingFullscreen = "settingFullscreen"
16
+ }
@@ -0,0 +1,20 @@
1
+ var SettingsLayoutSlots = /* @__PURE__ */ ((SettingsLayoutSlots2) => {
2
+ SettingsLayoutSlots2["root"] = "root";
3
+ SettingsLayoutSlots2["backdrop"] = "backdrop";
4
+ SettingsLayoutSlots2["icon"] = "icon";
5
+ SettingsLayoutSlots2["typography"] = "typography";
6
+ SettingsLayoutSlots2["divider"] = "divider";
7
+ SettingsLayoutSlots2["headerContainer"] = "headerContainer";
8
+ SettingsLayoutSlots2["headerActions"] = "headerActions";
9
+ SettingsLayoutSlots2["bodyContent"] = "bodyContent";
10
+ SettingsLayoutSlots2["settingContainer"] = "settingContainer";
11
+ SettingsLayoutSlots2["settingIconTitle"] = "settingIconTitle";
12
+ SettingsLayoutSlots2["settingItem"] = "settingItem";
13
+ SettingsLayoutSlots2["settingItemColor"] = "settingItemColor";
14
+ SettingsLayoutSlots2["settingItemContent"] = "settingItemContent";
15
+ SettingsLayoutSlots2["settingFullscreen"] = "settingFullscreen";
16
+ return SettingsLayoutSlots2;
17
+ })(SettingsLayoutSlots || {});
18
+ export {
19
+ SettingsLayoutSlots as S
20
+ };
@@ -0,0 +1,44 @@
1
+ export declare const SettingsLayoutRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
2
+ ownerState?: (Partial<import('../types').SettingsLayoutOwnerState> & Record<string, unknown>) | undefined;
3
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
4
+ export declare const BackdropStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').BackdropOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
+ ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
6
+ }, "children" | "ref" | "title" | "timeout" | "id" | "components" | "exit" | "hidden" | "color" | "content" | "style" | "open" | "easing" | "transitionDuration" | "translate" | "className" | "classes" | "sx" | "slots" | "slotProps" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "enter" | "componentsProps" | "TransitionComponent" | "in" | "mountOnEnter" | "unmountOnExit" | "addEndListener" | "onEnter" | "onEntering" | "onEntered" | "onExit" | "onExiting" | "onExited" | "invisible" | "appear">, "children" | "ref" | "title" | "timeout" | "id" | "components" | "exit" | "hidden" | "color" | "content" | "style" | "open" | "easing" | "transitionDuration" | "translate" | "className" | "classes" | "sx" | "slots" | "slotProps" | "slot" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "enter" | "componentsProps" | "TransitionComponent" | "in" | "mountOnEnter" | "unmountOnExit" | "addEndListener" | "onEnter" | "onEntering" | "onEntered" | "onExit" | "onExiting" | "onExited" | "invisible" | "appear"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
7
+ ownerState?: (Partial<import('../types').SettingsLayoutOwnerState> & Record<string, unknown>) | undefined;
8
+ }, {}, {}>;
9
+ export declare const IconStyled: import('@emotion/styled').StyledComponent<Pick<import('../..').IconProps, keyof import('../..').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
10
+ ownerState?: (Partial<import('../types').SettingsLayoutOwnerState> & Record<string, unknown>) | undefined;
11
+ }, {}, {}>;
12
+ export declare const TypographyStyled: import('@emotion/styled').StyledComponent<Pick<import('../../mui_extended/Typography/types').TypographyProps, keyof import('../../mui_extended/Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
13
+ ownerState?: (Partial<import('../types').SettingsLayoutOwnerState> & Record<string, unknown>) | undefined;
14
+ }, {}, {}>;
15
+ export declare const HeaderContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
16
+ ownerState?: (Partial<import('../types').SettingsLayoutOwnerState> & Record<string, unknown>) | undefined;
17
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
18
+ export declare const HeaderActionsStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
19
+ ownerState?: (Partial<import('../types').SettingsLayoutOwnerState> & Record<string, unknown>) | undefined;
20
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
21
+ export declare const DividerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
22
+ ownerState?: (Partial<import('../types').SettingsLayoutOwnerState> & Record<string, unknown>) | undefined;
23
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
24
+ export declare const BodyContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
25
+ ownerState?: (Partial<import('../types').SettingsLayoutOwnerState> & Record<string, unknown>) | undefined;
26
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
27
+ export declare const SettingContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
28
+ ownerState?: (Partial<import('../types').SettingsLayoutOwnerState> & Record<string, unknown>) | undefined;
29
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
30
+ export declare const SettingIconTitleStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
31
+ ownerState?: (Partial<import('../types').SettingsLayoutOwnerState> & Record<string, unknown>) | undefined;
32
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
33
+ export declare const SettingItemStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
34
+ ownerState?: (Partial<import('../types').SettingsLayoutOwnerState> & Record<string, unknown>) | undefined;
35
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
36
+ export declare const SettingItemContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
37
+ ownerState?: (Partial<import('../types').SettingsLayoutOwnerState> & Record<string, unknown>) | undefined;
38
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
39
+ export declare const SettingItemColorStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
40
+ ownerState?: (Partial<import('../types').SettingsLayoutOwnerState> & Record<string, unknown>) | undefined;
41
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
42
+ export declare const SettingFullscreenStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/Button').ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "variant" | "translate" | "className" | "classes" | "sx" | "form" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "href" | "skeletonWidth" | "startIcon" | "endIcon" | keyof import('react').RefAttributes<HTMLButtonElement> | "disableElevation" | "fullWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
43
+ ownerState?: (Partial<import('../types').SettingsLayoutOwnerState> & Record<string, unknown>) | undefined;
44
+ }, {}, {}>;
@@ -0,0 +1,78 @@
1
+ import { styled } from "@mui/material/styles";
2
+ import { S as SettingsLayoutSlots } from "./SettingsLayoutEnum.js";
3
+ import { b as SETTINGS_LAYOUT_COMPONENT_KEY } from "../constants.js";
4
+ import { s as settingsLayoutStyles } from "../SettingsLayout.styles.js";
5
+ import { Backdrop } from "@mui/material";
6
+ import { I as Icon } from "../../Icon/Icon.js";
7
+ import { T as Typography } from "../../mui_extended/Typography/Typography.js";
8
+ import { B as Button } from "../../mui_extended/Button/Button.js";
9
+ const SettingsLayoutRootStyled = styled("div", {
10
+ name: SETTINGS_LAYOUT_COMPONENT_KEY,
11
+ slot: SettingsLayoutSlots.root
12
+ })(settingsLayoutStyles.root);
13
+ const BackdropStyled = styled(Backdrop, {
14
+ name: SETTINGS_LAYOUT_COMPONENT_KEY,
15
+ slot: SettingsLayoutSlots.backdrop
16
+ })(settingsLayoutStyles.backdrop);
17
+ styled(Icon, {
18
+ name: SETTINGS_LAYOUT_COMPONENT_KEY,
19
+ slot: SettingsLayoutSlots.icon
20
+ })(settingsLayoutStyles.icon);
21
+ const TypographyStyled = styled(Typography, {
22
+ name: SETTINGS_LAYOUT_COMPONENT_KEY,
23
+ slot: SettingsLayoutSlots.typography
24
+ })(settingsLayoutStyles.typography);
25
+ const HeaderContainerStyled = styled("div", {
26
+ name: SETTINGS_LAYOUT_COMPONENT_KEY,
27
+ slot: SettingsLayoutSlots.headerContainer
28
+ })(settingsLayoutStyles.headerContainer);
29
+ const HeaderActionsStyled = styled("div", {
30
+ name: SETTINGS_LAYOUT_COMPONENT_KEY,
31
+ slot: SettingsLayoutSlots.headerActions
32
+ })(settingsLayoutStyles.headerActions);
33
+ styled("div", {
34
+ name: SETTINGS_LAYOUT_COMPONENT_KEY,
35
+ slot: SettingsLayoutSlots.divider
36
+ })(settingsLayoutStyles.divider);
37
+ const BodyContentStyled = styled("div", {
38
+ name: SETTINGS_LAYOUT_COMPONENT_KEY,
39
+ slot: SettingsLayoutSlots.bodyContent
40
+ })(settingsLayoutStyles.bodyContent);
41
+ const SettingContainerStyled = styled("div", {
42
+ name: SETTINGS_LAYOUT_COMPONENT_KEY,
43
+ slot: SettingsLayoutSlots.settingContainer
44
+ })(settingsLayoutStyles.settingContainer);
45
+ const SettingIconTitleStyled = styled("div", {
46
+ name: SETTINGS_LAYOUT_COMPONENT_KEY,
47
+ slot: SettingsLayoutSlots.settingIconTitle
48
+ })(settingsLayoutStyles.settingIconTitle);
49
+ const SettingItemStyled = styled("div", {
50
+ name: SETTINGS_LAYOUT_COMPONENT_KEY,
51
+ slot: SettingsLayoutSlots.settingItem
52
+ })(settingsLayoutStyles.settingItem);
53
+ const SettingItemContentStyled = styled("div", {
54
+ name: SETTINGS_LAYOUT_COMPONENT_KEY,
55
+ slot: SettingsLayoutSlots.settingItemContent
56
+ })(settingsLayoutStyles.settingItemContent);
57
+ const SettingItemColorStyled = styled("div", {
58
+ name: SETTINGS_LAYOUT_COMPONENT_KEY,
59
+ slot: SettingsLayoutSlots.settingItemColor
60
+ })(settingsLayoutStyles.settingItemColor);
61
+ const SettingFullscreenStyled = styled(Button, {
62
+ name: SETTINGS_LAYOUT_COMPONENT_KEY,
63
+ slot: SettingsLayoutSlots.settingFullscreen
64
+ })(settingsLayoutStyles.settingFullscreen);
65
+ export {
66
+ BackdropStyled as B,
67
+ HeaderContainerStyled as H,
68
+ SettingContainerStyled as S,
69
+ TypographyStyled as T,
70
+ SettingIconTitleStyled as a,
71
+ SettingItemContentStyled as b,
72
+ SettingFullscreenStyled as c,
73
+ SettingItemStyled as d,
74
+ SettingItemColorStyled as e,
75
+ SettingsLayoutRootStyled as f,
76
+ HeaderActionsStyled as g,
77
+ BodyContentStyled as h
78
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Color presets
3
+ */
4
+ export declare const SettingColorPresets: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,34 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { Typography } from "@mui/material";
3
+ import { useBase, useModuleDictionary } from "@m4l/core";
4
+ import { S as SettingContainerStyled, a as SettingIconTitleStyled, b as SettingItemContentStyled } from "../../slots/SettingsLayoutSlots.js";
5
+ import { D as DICTIONARY } from "../../dictionary.js";
6
+ import { P as PATH_ICONS } from "../../icons.js";
7
+ import { S as SettingItemColor } from "../SettingItemColor/SettingItemColor.js";
8
+ import { I as Icon } from "../../../Icon/Icon.js";
9
+ const SettingColorPresets = () => {
10
+ const { onChangeColor, themeUserSettings: settings, presetsOptionsColorMain, prefixPathIcon } = useBase();
11
+ const { themeColor: themeColorPresets } = settings;
12
+ const { getLabel } = useModuleDictionary();
13
+ return /* @__PURE__ */ jsxs(SettingContainerStyled, { children: [
14
+ /* @__PURE__ */ jsxs(SettingIconTitleStyled, { children: [
15
+ /* @__PURE__ */ jsx(Icon, { src: `${prefixPathIcon}/${PATH_ICONS.PALETTE}` }),
16
+ /* @__PURE__ */ jsx(Typography, { variant: "body", children: getLabel(DICTIONARY.PRESETS) })
17
+ ] }),
18
+ /* @__PURE__ */ jsx(SettingItemContentStyled, { role: "group", "aria-label": "theme-preset-options", children: presetsOptionsColorMain.map((color, index) => {
19
+ const isSelected = themeColorPresets === color.name;
20
+ return /* @__PURE__ */ jsx(
21
+ SettingItemColor,
22
+ {
23
+ color: color.name,
24
+ selected: isSelected,
25
+ onChange: () => onChangeColor(color.name)
26
+ },
27
+ `${color.name}-${index}`
28
+ );
29
+ }) })
30
+ ] });
31
+ };
32
+ export {
33
+ SettingColorPresets as S
34
+ };
@@ -0,0 +1 @@
1
+ export { SettingColorPresets } from './SettingColorPresets';
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Configuración de la dirección del tema
3
+ */
4
+ export default function SettingDirection(): import("react/jsx-runtime").JSX.Element;