@m4l/components 9.3.0 → 9.3.1-B21072025-beta.2

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 (59) hide show
  1. package/@types/types.d.ts +15 -0
  2. package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.js +2 -0
  3. package/components/NumberInput/hooks/useNumberInput/useNumberInput.js +2 -0
  4. package/components/SettingsLayout/SettingsLayout.d.ts +5 -0
  5. package/components/SettingsLayout/SettingsLayout.js +50 -0
  6. package/components/SettingsLayout/SettingsLayout.styles.d.ts +2 -0
  7. package/components/SettingsLayout/SettingsLayout.styles.js +245 -0
  8. package/components/SettingsLayout/constants.d.ts +7 -0
  9. package/components/SettingsLayout/constants.js +10 -0
  10. package/components/SettingsLayout/dictionary.d.ts +56 -0
  11. package/components/SettingsLayout/dictionary.js +12 -0
  12. package/components/SettingsLayout/icons.d.ts +13 -0
  13. package/components/SettingsLayout/icons.js +16 -0
  14. package/components/SettingsLayout/index.d.ts +2 -0
  15. package/components/SettingsLayout/index.js +1 -0
  16. package/components/SettingsLayout/slots/SettingsLayoutEnum.d.ts +16 -0
  17. package/components/SettingsLayout/slots/SettingsLayoutEnum.js +20 -0
  18. package/components/SettingsLayout/slots/SettingsLayoutSlots.d.ts +44 -0
  19. package/components/SettingsLayout/slots/SettingsLayoutSlots.js +78 -0
  20. package/components/SettingsLayout/subcomponents/SettingColorPresets/SettingColorPresets.d.ts +4 -0
  21. package/components/SettingsLayout/subcomponents/SettingColorPresets/SettingColorPresets.js +34 -0
  22. package/components/SettingsLayout/subcomponents/SettingColorPresets/index.d.ts +1 -0
  23. package/components/SettingsLayout/subcomponents/SettingColorPresets/index.js +1 -0
  24. package/components/SettingsLayout/subcomponents/SettingDirection/SettingDirection.d.ts +4 -0
  25. package/components/SettingsLayout/subcomponents/SettingDirection/SettingDirection.js +34 -0
  26. package/components/SettingsLayout/subcomponents/SettingDirection/index.d.ts +1 -0
  27. package/components/SettingsLayout/subcomponents/SettingFullscreen/SettingFullscreen.d.ts +4 -0
  28. package/components/SettingsLayout/subcomponents/SettingFullscreen/SettingFullscreen.js +40 -0
  29. package/components/SettingsLayout/subcomponents/SettingFullscreen/index.d.ts +1 -0
  30. package/components/SettingsLayout/subcomponents/SettingFullscreen/index.js +1 -0
  31. package/components/SettingsLayout/subcomponents/SettingItem/SettingItem.d.ts +8 -0
  32. package/components/SettingsLayout/subcomponents/SettingItem/SettingItem.js +23 -0
  33. package/components/SettingsLayout/subcomponents/SettingItem/index.d.ts +1 -0
  34. package/components/SettingsLayout/subcomponents/SettingItem/index.js +1 -0
  35. package/components/SettingsLayout/subcomponents/SettingItem/types.d.ts +5 -0
  36. package/components/SettingsLayout/subcomponents/SettingItemColor/SettingItemColor.d.ts +8 -0
  37. package/components/SettingsLayout/subcomponents/SettingItemColor/SettingItemColor.js +20 -0
  38. package/components/SettingsLayout/subcomponents/SettingItemColor/index.d.ts +1 -0
  39. package/components/SettingsLayout/subcomponents/SettingItemColor/index.js +1 -0
  40. package/components/SettingsLayout/subcomponents/SettingItemColor/types.d.ts +6 -0
  41. package/components/SettingsLayout/subcomponents/SettingMode/SettingMode.d.ts +4 -0
  42. package/components/SettingsLayout/subcomponents/SettingMode/SettingMode.js +34 -0
  43. package/components/SettingsLayout/subcomponents/SettingMode/index.d.ts +1 -0
  44. package/components/SettingsLayout/subcomponents/SettingMode/index.js +1 -0
  45. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/SettingsLayoutBase.d.ts +4 -0
  46. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/SettingsLayoutBase.js +76 -0
  47. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/index.d.ts +1 -0
  48. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/index.js +1 -0
  49. package/components/SettingsLayout/subcomponents/SettingsLayoutBase/types.d.ts +0 -0
  50. package/components/SettingsLayout/test/SettingsLayout.test.d.ts +1 -0
  51. package/components/SettingsLayout/types.d.ts +51 -0
  52. package/components/areas/contexts/AreasContext/store.js +2 -2
  53. package/components/hook-form/RHFAutocompleteAsync/reducer/RHFAutocompleteReducer.js +5 -0
  54. package/components/index.d.ts +1 -0
  55. package/index.js +4 -2
  56. package/package.json +3 -3
  57. package/storybook/components/SettingsLayout/SettingsLayout.stories.d.ts +6 -0
  58. package/storybook/components/SettingsLayout/subcomponents/SettingsLayoutRender/SettingsLayoutsRender.d.ts +5 -0
  59. package/storybook/components/SettingsLayout/subcomponents/SettingsLayoutRender/index.d.ts +1 -0
package/@types/types.d.ts CHANGED
@@ -144,6 +144,7 @@ import { RHFUploadSingleFileOwnerState, RHFUploadSingleFileSlotsType } from '../
144
144
  import { ChipStatusFormatterSlotsType } from '../components/formatters/ChipStatusFormatter/types';
145
145
  import { RHFUploadImageOwnerState, RHFUploadImageSlotsType } from '../components/hook-form/RHFUpload/RHFUploadImage/types';
146
146
  import { PrintingSystemOwnerState, PrintingSystemSlotsType } from '../components/PrintingSystem/types';
147
+ import { SettingsLayoutOwnerState, SettingsLayoutSlotsType } from '../components/SettingsLayout/types';
147
148
  import { ScrollBarOwnerState, ScrollBarSlotsType } from '../components/ScrollBar/types';
148
149
 
149
150
  import { SplitLayoutOwnerState } from '../components/extended/React-resizable-panels/types';
@@ -225,11 +226,13 @@ declare module '@mui/material/styles' {
225
226
  M4LChipStatusFormatter: ChipStatusFormatterSlotsType;
226
227
  M4LRHFUploadImage: RHFUploadImageSlotsType;
227
228
  M4LPrintingSystem: PrintingSystemSlotsType;
229
+ M4LSettingsLayout: SettingsLayoutSlotsType;
228
230
  M4LScrollbar: ScrollBarSlotsType;
229
231
  M4LSplitLayout: SplitLayoutOwnerState;
230
232
  M4LObjectLogs: ObjectLogsSlotsType;
231
233
  M4LLanguagePopover: LanguagePopoverSlotsType;
232
234
  M4LContainerFlow: ContainerFlowSlotsType;
235
+ M4LSettingsLayoutBase: SettingsLayoutSlotsType;
233
236
  }
234
237
  interface ComponentsPropsList {
235
238
  // Extend ComponentsProps or ComponentsOwnerState(this extend ComponentProps)
@@ -305,11 +308,13 @@ declare module '@mui/material/styles' {
305
308
  M4LChipStatusFormatter: Partial<ChipStatusFormatterOwnerState>;
306
309
  M4LRHFUploadImage: Partial<RHFUploadImageOwnerState>;
307
310
  M4LPrintingSystem: Partial<PrintingSystemOwnerState>;
311
+ M4LSettingsLayout: Partial<SettingsLayoutOwnerState>;
308
312
  M4LScrollBar: Partial<ScrollBarOwnerState>;
309
313
  M4LSplitLayout: Partial<SplitLayoutOwnerState>;
310
314
  M4LObjectLogs: Partial<ObjectLogsOwnerState>;
311
315
  M4LLanguagePopover: Partial<LanguagePopoverOwnerState>;
312
316
  M4LContainerFlow: Partial<ContainerFlowOwnerState>;
317
+ M4LSettingsLayoutBase: Partial<SettingsLayoutOwnerState>;
313
318
  }
314
319
  interface Components {
315
320
  M4LDynamicFilter?: {
@@ -682,6 +687,11 @@ declare module '@mui/material/styles' {
682
687
  styleOverrides?: ComponentsOverrides<Theme>['M4LPrintingSystem'];
683
688
  variants?: ComponentsVariants['M4LPrintingSystem'];
684
689
  };
690
+ M4LSettingsLayout?: {
691
+ defaultProps?: ComponentsPropsList['M4LSettingsLayout'];
692
+ styleOverrides?: ComponentsOverrides<Theme>['M4LSettingsLayout'];
693
+ variants?: ComponentsVariants['M4LSettingsLayout'];
694
+ };
685
695
  M4LScrollBar?: {
686
696
  defaultProps?: ComponentsPropsList['M4LScrollBar'];
687
697
  styleOverrides?: ComponentsOverrides<Theme>['M4LScrollBar'];
@@ -707,5 +717,10 @@ declare module '@mui/material/styles' {
707
717
  styleOverrides?: ComponentsOverrides<Theme>['M4LContainerFlow'];
708
718
  variants?: ComponentsVariants['M4LContainerFlow'];
709
719
  };
720
+ M4LSettingsLayoutBase?: {
721
+ defaultProps?: ComponentsPropsList['M4LSettingsLayoutBase'];
722
+ styleOverrides?: ComponentsOverrides<Theme>['M4LSettingsLayoutBase'];
723
+ variants?: ComponentsVariants['M4LSettingsLayoutBase'];
724
+ };
710
725
  }
711
726
  }
@@ -17,6 +17,7 @@ function getComparator(columns, sortColumn) {
17
17
  return column.customSort;
18
18
  }
19
19
  switch (typeOrder) {
20
+ //Si el tipo de dato de la columna es un numerico, retorna una función de ordenamiento numérica
20
21
  case "number":
21
22
  return (a, b) => {
22
23
  try {
@@ -25,6 +26,7 @@ function getComparator(columns, sortColumn) {
25
26
  return -1;
26
27
  }
27
28
  };
29
+ //Por defecto retorna una función de ordenamiento de string
28
30
  default:
29
31
  return (a, b) => {
30
32
  try {
@@ -56,9 +56,11 @@ const useNumberInput = (parameters) => {
56
56
  (event, field, fieldValue, reason) => {
57
57
  if (field === "value" && typeof fieldValue !== "string") {
58
58
  switch (reason) {
59
+ // only a blur event will dispatch `numberInput:clamp`
59
60
  case "numberInput:inputChange":
60
61
  onChange?.(event, fieldValue);
61
62
  break;
63
+ // only a blur event will dispatch `numberInput:clamp`
62
64
  case "numberInput:clamp":
63
65
  onChange?.(event, fieldValue);
64
66
  break;
@@ -0,0 +1,5 @@
1
+ import { SettingsLayoutProps } from './types';
2
+ /**
3
+ * todo
4
+ */
5
+ export declare const SettingsLayout: (props: SettingsLayoutProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,50 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { useEnvironment, ModuleDictionaryProvider, ModuleSkeletonProvider, BaseProvider } from "@m4l/core";
3
+ import { useLocales } from "@m4l/graphics";
4
+ import { S as SETTINGS_LAYOUT_DEFAULT_WIDTH, a as SETTINGS_LAYOUT_CLASSES } from "./constants.js";
5
+ import { S as SettingsLayoutBase } from "./subcomponents/SettingsLayoutBase/SettingsLayoutBase.js";
6
+ const SettingsLayout = (props) => {
7
+ const {
8
+ onResetSetting,
9
+ handleOpen,
10
+ onChangeMode,
11
+ onChangeColor,
12
+ onChangeDirection,
13
+ onChangeLayout,
14
+ onToggleStretch,
15
+ open,
16
+ themeUserSettings,
17
+ presetsOptionsColorMain,
18
+ width = SETTINGS_LAYOUT_DEFAULT_WIDTH
19
+ } = props;
20
+ const currentLang = useLocales().currentLocale?.localeString;
21
+ const { host_static_assets, environment_assets } = useEnvironment();
22
+ const prefixPathIcon = `${host_static_assets}/${environment_assets}`;
23
+ return /* @__PURE__ */ jsx(
24
+ ModuleDictionaryProvider,
25
+ {
26
+ isAuth: false,
27
+ moduleId: "theme_settings",
28
+ componentsDictionary: [],
29
+ currentLang,
30
+ children: /* @__PURE__ */ jsx(ModuleSkeletonProvider, { flags: ["dictionary_loaded"], children: /* @__PURE__ */ jsx(BaseProvider, { value: {
31
+ onResetSetting,
32
+ handleOpen,
33
+ onChangeMode,
34
+ onChangeColor,
35
+ onChangeDirection,
36
+ onChangeLayout,
37
+ onToggleStretch,
38
+ open,
39
+ themeUserSettings,
40
+ presetsOptionsColorMain,
41
+ width,
42
+ classes: SETTINGS_LAYOUT_CLASSES,
43
+ prefixPathIcon
44
+ }, children: /* @__PURE__ */ jsx(SettingsLayoutBase, {}) }) })
45
+ }
46
+ );
47
+ };
48
+ export {
49
+ SettingsLayout as S
50
+ };
@@ -0,0 +1,2 @@
1
+ import { SettingsLayoutstyles } from './types';
2
+ export declare const settingsLayoutStyles: SettingsLayoutstyles;
@@ -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
+ };