@synerise/ds-core 1.5.0 → 1.5.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.
- package/CHANGELOG.md +19 -0
- package/README.md +181 -0
- package/dist/i18n/es.json +350 -24
- package/dist/i18n/index.d.ts +425 -23
- package/dist/i18n/pt.json +87 -11
- package/dist/js/DSProvider/DSProvider.d.ts +2 -2
- package/dist/js/DSProvider/DSProvider.js +2 -2
- package/dist/js/DSProvider/LocaleProvider/LocaleProvider.utils.d.ts +740 -0
- package/dist/js/DSProvider/ThemeProvider/breakpoints.d.ts +5 -1
- package/dist/js/data-format/components/FormattedDate.d.ts +9 -0
- package/dist/js/data-format/components/FormattedDate.js +9 -0
- package/dist/js/data-format/components/FormattedDateTime.d.ts +9 -0
- package/dist/js/data-format/components/FormattedDateTime.js +13 -0
- package/dist/js/data-format/components/FormattedNumber.d.ts +7 -0
- package/dist/js/data-format/components/FormattedNumber.js +9 -0
- package/dist/js/data-format/components/FormattedRelativeDateTime.d.ts +10 -0
- package/dist/js/data-format/components/FormattedRelativeDateTime.js +24 -0
- package/dist/js/data-format/components/FormattedTime.d.ts +9 -0
- package/dist/js/data-format/components/FormattedTime.js +13 -0
- package/dist/js/data-format/components/index.d.ts +5 -0
- package/dist/js/data-format/components/index.js +5 -0
- package/dist/js/data-format/constants/dataFormat.constants.d.ts +36 -0
- package/dist/js/data-format/constants/dataFormat.constants.js +52 -0
- package/dist/js/data-format/constants/dataFormatConfig.constants.d.ts +7 -0
- package/dist/js/data-format/constants/dataFormatConfig.constants.js +14 -0
- package/dist/js/data-format/constants/dateTimeParts.constants.d.ts +5 -0
- package/dist/js/data-format/constants/dateTimeParts.constants.js +4 -0
- package/dist/js/data-format/constants/index.d.ts +3 -0
- package/dist/js/data-format/constants/index.js +3 -0
- package/dist/js/data-format/contexts/DataFormatConfigContext.d.ts +2 -0
- package/dist/js/data-format/contexts/DataFormatConfigContext.js +3 -0
- package/dist/js/data-format/contexts/DataFormatIntlsContext.d.ts +2 -0
- package/dist/js/data-format/contexts/DataFormatIntlsContext.js +7 -0
- package/dist/js/data-format/contexts/index.d.ts +2 -0
- package/dist/js/data-format/contexts/index.js +2 -0
- package/dist/js/data-format/hocs/withDataFormat.d.ts +4 -0
- package/dist/js/data-format/hocs/withDataFormat.js +10 -0
- package/dist/js/data-format/hooks/index.d.ts +5 -0
- package/dist/js/data-format/hooks/index.js +5 -0
- package/dist/js/data-format/hooks/useDataFormat.d.ts +12 -0
- package/dist/js/data-format/hooks/useDataFormat.js +96 -0
- package/dist/js/data-format/hooks/useDataFormatConfig.d.ts +2 -0
- package/dist/js/data-format/hooks/useDataFormatConfig.js +5 -0
- package/dist/js/data-format/hooks/useDataFormatIntls.d.ts +2 -0
- package/dist/js/data-format/hooks/useDataFormatIntls.js +5 -0
- package/dist/js/data-format/hooks/useDataFormatUtils.d.ts +16 -0
- package/dist/js/data-format/hooks/useDataFormatUtils.js +113 -0
- package/dist/js/data-format/hooks/useSingleIntl.d.ts +4 -0
- package/dist/js/data-format/hooks/useSingleIntl.js +12 -0
- package/dist/js/data-format/index.d.ts +8 -0
- package/dist/js/data-format/index.js +7 -0
- package/dist/js/data-format/providers/DataFormatConfigProvider.d.ts +7 -0
- package/dist/js/data-format/providers/DataFormatConfigProvider.js +26 -0
- package/dist/js/data-format/types/dataFormat.types.d.ts +42 -0
- package/dist/js/data-format/types/dataFormat.types.js +5 -0
- package/dist/js/data-format/types/dataFormatConfig.types.d.ts +16 -0
- package/dist/js/data-format/types/dataFormatConfig.types.js +2 -0
- package/dist/js/data-format/types/dateTimeParts.types.d.ts +3 -0
- package/dist/js/data-format/types/dateTimeParts.types.js +2 -0
- package/dist/js/data-format/types/index.d.ts +3 -0
- package/dist/js/data-format/types/index.js +1 -0
- package/dist/js/data-format/utils/dataFormat.utils.d.ts +16 -0
- package/dist/js/data-format/utils/dataFormat.utils.js +119 -0
- package/dist/js/data-format/utils/dataFormatConfig.utils.d.ts +2 -0
- package/dist/js/data-format/utils/dataFormatConfig.utils.js +8 -0
- package/dist/js/data-format/utils/date.utils.d.ts +8 -0
- package/dist/js/data-format/utils/date.utils.js +50 -0
- package/dist/js/data-format/utils/dateTimeParts.utils.d.ts +14 -0
- package/dist/js/data-format/utils/dateTimeParts.utils.js +86 -0
- package/dist/js/data-format/utils/index.d.ts +5 -0
- package/dist/js/data-format/utils/index.js +5 -0
- package/dist/js/data-format/utils/timeZone.utils.d.ts +16 -0
- package/dist/js/data-format/utils/timeZone.utils.js +94 -0
- package/dist/js/index.d.ts +3 -0
- package/dist/js/index.js +4 -1
- package/dist/js/mediaQuery/mediaQuery.d.ts +1 -5
- package/dist/js/testing/index.d.ts +2 -0
- package/dist/js/testing/index.js +2 -0
- package/dist/js/testing/renderWithProvider/renderWithProvider.d.ts +10 -0
- package/dist/js/testing/renderWithProvider/renderWithProvider.js +28 -0
- package/dist/js/testing/renderWithProvider/renderWithProvider.spec.d.ts +1 -0
- package/dist/js/testing/sleep.d.ts +1 -0
- package/dist/js/testing/sleep.js +8 -0
- package/dist/js/toaster/Toaster.d.ts +2 -0
- package/dist/js/toaster/Toaster.js +8 -0
- package/dist/js/toaster/Toaster.types.d.ts +1 -0
- package/dist/js/toaster/Toaster.types.js +1 -0
- package/dist/js/toaster/constants.d.ts +2 -0
- package/dist/js/toaster/constants.js +8 -0
- package/dist/js/toaster/contexts/ToasterContext.d.ts +6 -0
- package/dist/js/toaster/contexts/ToasterContext.js +6 -0
- package/dist/js/toaster/hooks/useToaster.d.ts +1 -0
- package/dist/js/toaster/hooks/useToaster.js +5 -0
- package/dist/js/toaster/index.d.ts +6 -0
- package/dist/js/toaster/index.js +5 -0
- package/dist/js/toaster/providers/ToasterProvider.d.ts +6 -0
- package/dist/js/toaster/providers/ToasterProvider.js +17 -0
- package/package.json +14 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.5.2](https://github.com/synerise/synerise-design/compare/@synerise/ds-core@1.5.1...@synerise/ds-core@1.5.2) (2025-09-16)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-core
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [1.5.1](https://github.com/synerise/synerise-design/compare/@synerise/ds-core@1.5.0...@synerise/ds-core@1.5.1) (2025-08-28)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **core:** add translations of es and pt ([370b279](https://github.com/synerise/synerise-design/commit/370b279431a7fbb634c5b2ba69d9af6206ab8213))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [1.5.0](https://github.com/synerise/synerise-design/compare/@synerise/ds-core@1.4.3...@synerise/ds-core@1.5.0) (2025-07-24)
|
|
7
26
|
|
|
8
27
|
|
package/README.md
CHANGED
|
@@ -26,3 +26,184 @@ Bunch of components to bootstrap application.
|
|
|
26
26
|
| defaultMessages | Object with fallback translations | object | |
|
|
27
27
|
| dataFormatConfig | Object with data (dates/numbers) notations | DataFormatConfig | EU notation |
|
|
28
28
|
| includeToaster | Opt out of rendering a Toaster component for rendering toasts (messages) | boolean | true |
|
|
29
|
+
|
|
30
|
+
# Data formatting
|
|
31
|
+
|
|
32
|
+
## Usage
|
|
33
|
+
|
|
34
|
+
### For function components:
|
|
35
|
+
|
|
36
|
+
```tsx harmony
|
|
37
|
+
import React, { FC } from 'react';
|
|
38
|
+
|
|
39
|
+
import {
|
|
40
|
+
FormattedDate,
|
|
41
|
+
FormattedDateTime,
|
|
42
|
+
FormattedNumber,
|
|
43
|
+
FormattedTime,
|
|
44
|
+
useDataFormat,
|
|
45
|
+
} from '@synerise/ds-core';
|
|
46
|
+
|
|
47
|
+
const DATE = new Date('2023-06-25T15:40:00');
|
|
48
|
+
const DATE_TO_FORMAT = DATE; // moment(DATE) // dayjs(DATE)
|
|
49
|
+
|
|
50
|
+
export const FunctionComponent: FC = (): JSX.Element => {
|
|
51
|
+
const {
|
|
52
|
+
firstDayOfWeek,
|
|
53
|
+
isSundayFirstWeekDay,
|
|
54
|
+
is12HoursClock,
|
|
55
|
+
formatValue,
|
|
56
|
+
formatMultipleValues,
|
|
57
|
+
getConstants,
|
|
58
|
+
thousandDelimiter,
|
|
59
|
+
decimalDelimiter,
|
|
60
|
+
} = useDataFormat();
|
|
61
|
+
|
|
62
|
+
firstDayOfWeek; // Sunday = 0 // Monday = 1
|
|
63
|
+
isSundayFirstWeekDay; // true // false
|
|
64
|
+
is12HoursClock; // true // false
|
|
65
|
+
|
|
66
|
+
formatValue(1234567);
|
|
67
|
+
formatValue(DATE_TO_FORMAT);
|
|
68
|
+
formatValue(DATE_TO_FORMAT, { targetFormat: 'date' });
|
|
69
|
+
formatValue(DATE_TO_FORMAT, { targetFormat: 'time' });
|
|
70
|
+
formatValue(DATE_TO_FORMAT, { targetFormat: 'datetime' });
|
|
71
|
+
|
|
72
|
+
formatMultipleValues([1234567, 1234567]);
|
|
73
|
+
formatMultipleValues([DATE_TO_FORMAT, DATE_TO_FORMAT], {
|
|
74
|
+
targetFormat: 'datetime',
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
getConstants('months-long');
|
|
78
|
+
getConstants('months-short');
|
|
79
|
+
getConstants('weekdays-long');
|
|
80
|
+
getConstants('weekdays-short');
|
|
81
|
+
getConstants(
|
|
82
|
+
'months-long',
|
|
83
|
+
{ namingConvention: 'lowerCase' },
|
|
84
|
+
new Date(2022, 10),
|
|
85
|
+
new Date(2023, 2),
|
|
86
|
+
'month',
|
|
87
|
+
);
|
|
88
|
+
|
|
89
|
+
thousandDelimiter; // "," // " "
|
|
90
|
+
decimalDelimiter; // "." // ","
|
|
91
|
+
|
|
92
|
+
return (
|
|
93
|
+
<>
|
|
94
|
+
<FormattedNumber value={1234567} options={{ unit: 'percent' }} />
|
|
95
|
+
<FormattedDate value={DATE_TO_FORMAT} options={{ month: 'long' }} />
|
|
96
|
+
<FormattedTime value={DATE_TO_FORMAT} options={{ second: 'numeric' }} />
|
|
97
|
+
<FormattedDateTime
|
|
98
|
+
value={DATE_TO_FORMAT}
|
|
99
|
+
options={{
|
|
100
|
+
dateOptions: { month: 'long' },
|
|
101
|
+
timeOptions: { second: 'numeric' },
|
|
102
|
+
}}
|
|
103
|
+
/>
|
|
104
|
+
</>
|
|
105
|
+
);
|
|
106
|
+
};
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
For class components:
|
|
110
|
+
|
|
111
|
+
```tsx harmony
|
|
112
|
+
import React, { Component, FC } from 'react';
|
|
113
|
+
import { withDataFormat, WithDataFormatProps } from '@synerise/ds-core';
|
|
114
|
+
|
|
115
|
+
type ClassComponentProps = {
|
|
116
|
+
...
|
|
117
|
+
} & WithDataFormatProps;
|
|
118
|
+
|
|
119
|
+
class ClassComponent extends Component<ClassComponentProps> {
|
|
120
|
+
constructor(props: ClassComponentProps) {
|
|
121
|
+
super(props);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
render() {
|
|
125
|
+
const {
|
|
126
|
+
firstDayOfWeek,
|
|
127
|
+
isSundayFirstWeekDay,
|
|
128
|
+
is12HoursClock,
|
|
129
|
+
formatValue,
|
|
130
|
+
formatMultipleValues,
|
|
131
|
+
getConstants,
|
|
132
|
+
thousandDelimiter,
|
|
133
|
+
decimalDelimiter,
|
|
134
|
+
} = this.props;
|
|
135
|
+
|
|
136
|
+
return (
|
|
137
|
+
<>
|
|
138
|
+
<div>{formatValue(1234567)}</div>
|
|
139
|
+
</>
|
|
140
|
+
);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export default withDataFormat(ClassComponent) as FC<ClassComponentProps>;
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
## Examples
|
|
148
|
+
|
|
149
|
+
### Number
|
|
150
|
+
|
|
151
|
+
The `options` object is compatible with https://formatjs.io/docs/react-intl/api#formatnumber
|
|
152
|
+
|
|
153
|
+
| Code | EU Notation | US Notation |
|
|
154
|
+
| ---------------------------------------------------------------------------------------------------------- | ------------------------------- | ------------------------------- |
|
|
155
|
+
| formatValue(1234567) | 1 234 567 | 1,234,567 |
|
|
156
|
+
| formatValue(1234567.89) | 1 234 567,89 | 1,234,567.89 |
|
|
157
|
+
| formatValue(1234567, { minimumFractionDigits: 2 }) | 1 234 567,00 | 1,234,567.00 |
|
|
158
|
+
| formatValue(1234567.89, { maximumFractionDigits: 1 }) | 1 234 567,9 | 1,234,567.9 |
|
|
159
|
+
| formatValue(1234567.89, { style: 'currency', currency: 'USD', prefix: 'Salary: ', suffix: ' per month' })) | Salary: $1 234 567,89 per month | Salary: $1,234,567.89 per month |
|
|
160
|
+
| formatValue(1234, { notation: 'compact' })) | 1,2K (with PL locale: 1,2 tys.) | 1.2K (with PL locale: 1.2 tys.) |
|
|
161
|
+
| formatValue(1, { pluralOptions: { type: 'ordinal' } })) | one | one |
|
|
162
|
+
|
|
163
|
+
### Date
|
|
164
|
+
|
|
165
|
+
The `options` object is compatible with https://formatjs.io/docs/react-intl/api#formatdate
|
|
166
|
+
|
|
167
|
+
| Code | EU Notation | US Notation |
|
|
168
|
+
| ---------------------------------------------------- | ------------ | ------------- |
|
|
169
|
+
| formatValue(date) | 25.06.2023 | 6/25/2023 |
|
|
170
|
+
| formatValue(date, { month: 'long' }) | 25 June 2023 | June 25, 2023 |
|
|
171
|
+
| formatValue(date, { targetFormat: 'weekday-long' }) | Sunday | Sunday |
|
|
172
|
+
| formatValue(date, { targetFormat: 'weekday-short' }) | Sun | Sun |
|
|
173
|
+
| formatValue(date, { targetFormat: 'month-long' }) | June | June |
|
|
174
|
+
| formatValue(date, { targetFormat: 'month-short' }) | Jun | Jun |
|
|
175
|
+
|
|
176
|
+
### Time
|
|
177
|
+
|
|
178
|
+
The `options` object is compatible with https://formatjs.io/docs/react-intl/api#formatdate
|
|
179
|
+
|
|
180
|
+
| Code | EU Notation | US Notation |
|
|
181
|
+
| -------------------------------------------------------------- | ----------- | ----------- |
|
|
182
|
+
| formatValue(date, { targetFormat: 'time' }) | 15:40 | 3:40 PM |
|
|
183
|
+
| formatValue(date, { targetFormat: 'time', second: 'numeric' }) | 15:40:00 | 3:40:00 PM |
|
|
184
|
+
|
|
185
|
+
### DateTime
|
|
186
|
+
|
|
187
|
+
The `dateOptions` object and the `timeOptions` object are compatible with https://formatjs.io/docs/react-intl/api#formatdate
|
|
188
|
+
|
|
189
|
+
| Code | EU Notation | US Notation |
|
|
190
|
+
| ------------------------------------------------------------------------------------------------------------------- | ------------------------ | ------------------------- |
|
|
191
|
+
| formatValue(date, { targetFormat: 'datetime' }) | 25.06.2023, 15:40 | 6/25/2023, 3:40 PM |
|
|
192
|
+
| formatValue(date, { targetFormat: 'datetime', dateOptions: { month: 'long' }, timeOptions: { second: 'numeric' } }) | 25 June 2023, 3:40:00 PM | June 25, 2023, 3:40:00 PM |
|
|
193
|
+
|
|
194
|
+
### formatMultipleValues
|
|
195
|
+
|
|
196
|
+
| Code | EU Notation | US Notation |
|
|
197
|
+
| ---------------------------------------------------------------------- | -------------------------------- | -------------------------------- |
|
|
198
|
+
| formatMultipleValues([1234567, 1234567], { minimumFractionDigits: 2 }) | ['1 234 567,00', '1 234 567,00'] | ['1,234,567.00', '1,234,567.00'] |
|
|
199
|
+
| formatMultipleValues([date, date], { targetFormat: 'month-long' }) | ['June', 'June'] | ['June', 'June'] |
|
|
200
|
+
|
|
201
|
+
### getConstants
|
|
202
|
+
|
|
203
|
+
| Code | EU Notation | US Notation |
|
|
204
|
+
| ------------------------------------------------------------------------------------------- | ------------------------------ | ------------------------------ |
|
|
205
|
+
| getConstants('months-long') | ['January', '...', 'December'] | ['January', '...', 'December'] |
|
|
206
|
+
| getConstants('months-short') | ['Jan', '...', 'Dec'] | ['Jan', '...', 'Dec'] |
|
|
207
|
+
| getConstants('weekdays-long') | ['Monday', '...', 'Sunday'] | ['Sunday', '...', 'Saturday'] |
|
|
208
|
+
| getConstants('weekdays-short') | ['Mon', '...', 'Sun'] | ['Sun', '...', 'Sat'] |
|
|
209
|
+
| getConstants('months-long', { namingConvention: 'lowerCase' }, startDate, endDate, 'month') | ['november', '...', 'march'] | ['november', '...', 'march'] |
|
package/dist/i18n/es.json
CHANGED
|
@@ -1,13 +1,285 @@
|
|
|
1
1
|
{
|
|
2
2
|
"DS": {
|
|
3
|
+
"CODE-AREA": {
|
|
4
|
+
"FULLSCREEN": "Pantalla completa",
|
|
5
|
+
"CLOSE-FULLSCREEN": "Cerrar pantalla completa",
|
|
6
|
+
"FULLSCREEN-TITLE": "Editor de pantalla completa"
|
|
7
|
+
},
|
|
8
|
+
"MAPPING": {
|
|
9
|
+
"BULK_SELECTION_ENABLE": "Acciones masivas",
|
|
10
|
+
"BULK_SELECTION_DISABLE": "Ocultar acciones"
|
|
11
|
+
},
|
|
12
|
+
"COLLECTOR": {
|
|
13
|
+
"ADD": "Añadir",
|
|
14
|
+
"CANCEL": "Cancelar",
|
|
15
|
+
"PLACEHOLDER": "Escribe el valor",
|
|
16
|
+
"TO-NAVIGATE": "para navegar",
|
|
17
|
+
"TO-SELECT": "para seleccionar"
|
|
18
|
+
},
|
|
19
|
+
"MENU": {
|
|
20
|
+
"SHOW-LESS": "Mostrar menos",
|
|
21
|
+
"SHOW-MORE": "Mostrar más"
|
|
22
|
+
},
|
|
23
|
+
"CONTEXT-SELECTOR": {
|
|
24
|
+
"BUTTON_LABEL": "Elegir",
|
|
25
|
+
"SEARCH_PLACEHOLDER": "Buscar",
|
|
26
|
+
"NO_RESULTS": "Sin resultados",
|
|
27
|
+
"SHOW_MORE": "Mostrar más",
|
|
28
|
+
"RECENT": "Recientes",
|
|
29
|
+
"ALL": "Todos"
|
|
30
|
+
},
|
|
31
|
+
"DESCRIPTION": {
|
|
32
|
+
"COPY-VALUE": "Copiar valor",
|
|
33
|
+
"COPIED": "Copiado"
|
|
34
|
+
},
|
|
35
|
+
"FACTORS": {
|
|
36
|
+
"DATE_PICKER": {
|
|
37
|
+
"APPLY": "Aplicar",
|
|
38
|
+
"CLEAR_TOOLTIP": "Borrar",
|
|
39
|
+
"INPUT_PLACEHOLDER": "Seleccionar fecha",
|
|
40
|
+
"NOW": "Ahora"
|
|
41
|
+
},
|
|
42
|
+
"MODAL_TITLE": "Valor",
|
|
43
|
+
"MODAL_CANCEL": "Cancelar",
|
|
44
|
+
"MODAL_APPLY": "Aplicar",
|
|
45
|
+
"VALUE_PLACEHOLDER": "Valor",
|
|
46
|
+
"PARAMETER": {
|
|
47
|
+
"NO_RESULTS": "Sin resultados",
|
|
48
|
+
"SEARCH_PLACEHOLDER": "Buscar",
|
|
49
|
+
"LOADING_PARAMETERS": "Cargando parámetros",
|
|
50
|
+
"ALL": "Todos",
|
|
51
|
+
"RECENT": "Recientes",
|
|
52
|
+
"SHOW_MORE": "Mostrar más"
|
|
53
|
+
},
|
|
54
|
+
"FORMULA": {
|
|
55
|
+
"BUTTON_PLACEHOLDER": "Fórmula",
|
|
56
|
+
"DEFAULT_NAME": "Fórmula"
|
|
57
|
+
},
|
|
58
|
+
"DYNAMIC_KEY": {
|
|
59
|
+
"VALUE_PLACEHOLDER": "Valor",
|
|
60
|
+
"KEY_PLACEHOLDER": "Clave"
|
|
61
|
+
},
|
|
62
|
+
"FACTOR_TYPES": {
|
|
63
|
+
"TEXT": "Texto",
|
|
64
|
+
"NUMBER": "Número",
|
|
65
|
+
"ARRAY": "Arreglo",
|
|
66
|
+
"PARAMETER": "Parámetro",
|
|
67
|
+
"CONTEXT_PARAMETER": "Parámetro de contexto",
|
|
68
|
+
"DATE": "Fecha",
|
|
69
|
+
"DATE_RANGE": "Rango de fechas",
|
|
70
|
+
"DYNAMIC_KEY": "Clave dinámica",
|
|
71
|
+
"FORMULA": "Fórmula"
|
|
72
|
+
},
|
|
73
|
+
"ARRAY": {
|
|
74
|
+
"TRIGGER_LABEL": "Definir arreglo",
|
|
75
|
+
"MODAL_TITLE": "Arreglo",
|
|
76
|
+
"CLEAR_BUTTON": "Borrar todo",
|
|
77
|
+
"CREATOR": "Creador",
|
|
78
|
+
"RAW_BUTTON_LABEL": "Crudo",
|
|
79
|
+
"SEARCH_PLACEHOLDER": "Buscar",
|
|
80
|
+
"COLLECTOR_PLACEHOLDER": "Escribe valor o pega varios separados por `,`",
|
|
81
|
+
"COLLECTOR_ADD": "Añadir",
|
|
82
|
+
"COLLECTOR_CANCEL": "Cancelar",
|
|
83
|
+
"SEARCH_CLEAR_TOOLTIP": "Borrar",
|
|
84
|
+
"DELETE_ITEM_TOOLTIP": "Eliminar",
|
|
85
|
+
"EMPTY_TITLE": "Aún no hay ítems definidos",
|
|
86
|
+
"EMPTY_DESCRIPTION": "",
|
|
87
|
+
"EMPTY_RESULTS_TITLE": "No hay ítems que coincidan con tu búsqueda",
|
|
88
|
+
"EMPTY_RESULTS_DESCRIPTION": "",
|
|
89
|
+
"LIMIT_PREFIX": "Límite",
|
|
90
|
+
"NUMERIC_VALIDATION_ERROR": "Algunos valores no son un número",
|
|
91
|
+
"LIMIT_REACHED": "Se alcanzó el límite",
|
|
92
|
+
"LIMIT_EXCEEDED": "Añadir estos ítems excederá el límite máximo",
|
|
93
|
+
"COPIED": "Copiado",
|
|
94
|
+
"COPY-VALUE": "Copiar valor"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"OPERATORS": {
|
|
98
|
+
"BUTTON_LABEL": "Elegir",
|
|
99
|
+
"SEARCH_PLACEHOLDER": "Buscar",
|
|
100
|
+
"NO_RESULTS": "Sin resultados"
|
|
101
|
+
},
|
|
3
102
|
"MANAGABLE-LIST": {
|
|
4
103
|
"LESS": "menos",
|
|
5
104
|
"MORE": "más",
|
|
6
105
|
"ADD-ITEM": "Añadir artículo",
|
|
7
106
|
"SHOW-MORE": "Mostrar más",
|
|
8
|
-
"SHOW-LESS": "Muestra menos"
|
|
107
|
+
"SHOW-LESS": "Muestra menos",
|
|
108
|
+
"ITEM-RENAME": "Renombrar",
|
|
109
|
+
"ITEM-DUPLICATE": "Duplicar",
|
|
110
|
+
"ITEM-DELETE": "Eliminar",
|
|
111
|
+
"CANCEL": "No, conservar",
|
|
112
|
+
"DELETE": "Sí, eliminar vista"
|
|
113
|
+
},
|
|
114
|
+
"FILE-UPLOADER": {
|
|
115
|
+
"BUTTON-LABEL": "Subir un archivo nuevo",
|
|
116
|
+
"BUTTON-LABEL-LARGE": "Subir un archivo nuevo",
|
|
117
|
+
"BUTTON-DESC": "o arrástralo aquí",
|
|
118
|
+
"SIZE": "Tamaño:",
|
|
119
|
+
"UPLOADING": "Subiendo...",
|
|
120
|
+
"REMOVE-TOOLTIP": "Eliminar",
|
|
121
|
+
"RETRY-TOOLTIP": "Reintentar",
|
|
122
|
+
"FILE-VIEW": {
|
|
123
|
+
"CANCEL": "Cancelar",
|
|
124
|
+
"OK": "Aceptar",
|
|
125
|
+
"REMOVE-CONFIRM-TITLE": "Eliminar",
|
|
126
|
+
"FILE-WEIGHT": "Peso del archivo",
|
|
127
|
+
"BUTTON-LABEL": "Subir",
|
|
128
|
+
"BUTTON-DESCRIPTION": "Descripción del botón",
|
|
129
|
+
"RETRY-BUTTON-LABEL": "Reintentar"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"ITEM-FILTER": {
|
|
133
|
+
"ACTIVATE-ITEM-TITLE": "Al activar este filtro, cancelarás tus ajustes no guardados",
|
|
134
|
+
"ACTIVATE": "Activar",
|
|
135
|
+
"CANCEL": "Cancelar",
|
|
136
|
+
"DELETE-CONFIRMATION-TITLE": "Eliminar filtro",
|
|
137
|
+
"DELETE-CONFIRMATION-DESCRIPTION": "Este filtro será eliminado permanentemente de la biblioteca de plantillas. Todas las tablas que lo usen serán reiniciadas.",
|
|
138
|
+
"DELETE-CONFIRMATION-YES": "Eliminar",
|
|
139
|
+
"DELETE-CONFIRMATION-NO": "Cancelar",
|
|
140
|
+
"NO-RESULTS": "Sin resultados",
|
|
141
|
+
"SEARCH-PLACEHOLDER": "Buscar",
|
|
142
|
+
"SEARCH-CLEAR": "Borrar",
|
|
143
|
+
"TITLE": "Filtros"
|
|
144
|
+
},
|
|
145
|
+
"ITEM-PICKER-DROPDOWN": {
|
|
146
|
+
"NO-ITEMS": "Sin ítems",
|
|
147
|
+
"NO-SEARCH-RESULTS": "No se han encontrado resultados",
|
|
148
|
+
"NO-SEARCH-RESULTS-FOLDER": "Revisa tu frase o intenta buscar en otras carpetas",
|
|
149
|
+
"NO-ACTIONS": "No hay acciones disponibles",
|
|
150
|
+
"REFRESH": "Actualizar",
|
|
151
|
+
"RECENTS": "Recientes",
|
|
152
|
+
"ACTIONS": "Acciones",
|
|
153
|
+
"RESULTS": "Resultados",
|
|
154
|
+
"ITEMS": "Ítems",
|
|
155
|
+
"LOADING-MORE": "Cargando más ítems...",
|
|
156
|
+
"LOADING-ERROR": "Error al cargar",
|
|
157
|
+
"LOADED-ALL": "Todos los ítems cargados",
|
|
158
|
+
"ERROR-TITLE": "No se pueden cargar los ítems",
|
|
159
|
+
"ERROR-DESCRIPTION": "Intenta actualizar la lista más tarde",
|
|
160
|
+
"SHOW-MORE": "Mostrar más",
|
|
161
|
+
"CLEAR-SEARCH-TOOLTIP": "Borrar",
|
|
162
|
+
"BACK-TOOLTIP": "Atrás",
|
|
163
|
+
"SEARCH-EVERYWHERE": "Buscar en todas las carpetas",
|
|
164
|
+
"SEARCH-PLACEHOLDER": "Busca un objeto o escribe {shortCutKey} para mostrar acciones"
|
|
165
|
+
},
|
|
166
|
+
"ITEM-PICKER": {
|
|
167
|
+
"CLEAR-CONFIRM": "¿Seguro que quieres eliminar esta selección?",
|
|
168
|
+
"YES-TEXT": "Sí",
|
|
169
|
+
"NO-TEXT": "No",
|
|
170
|
+
"CHANGE-BUTTON": "Cambiar",
|
|
171
|
+
"CLEAR": "Eliminar",
|
|
172
|
+
"SEARCH": "Buscar",
|
|
173
|
+
"NO-RESULTS": "Sin resultados"
|
|
174
|
+
},
|
|
175
|
+
"COLUMN-MANAGER": {
|
|
176
|
+
"TITLE": "Administrar columnas",
|
|
177
|
+
"SEARCH-PLACEHOLDER": "Buscar",
|
|
178
|
+
"SEARCH-RESULTS": "Resultados de búsqueda",
|
|
179
|
+
"VISIBLE": "Visible",
|
|
180
|
+
"HIDDEN": "Oculto",
|
|
181
|
+
"SAVE-VIEW": "Guardar vista",
|
|
182
|
+
"CANCEL": "Cancelar",
|
|
183
|
+
"APPLY": "Aplicar",
|
|
184
|
+
"FIXED-LEFT": "Fijar a la izquierda",
|
|
185
|
+
"FIXED-RIGHT": "Fijar a la derecha",
|
|
186
|
+
"CLEAR": "Borrar",
|
|
187
|
+
"VIEW-NAME": "Nombre de la vista",
|
|
188
|
+
"VIEW-DESCRIPTION": "Descripción",
|
|
189
|
+
"VIEW-NAME-PLACEHOLDER": "Introduce un nombre para la vista",
|
|
190
|
+
"VIEW-DESCRIPTION-PLACEHOLDER": "Introduce la descripción de la vista",
|
|
191
|
+
"MUST-NOT-BE-EMPTY": "Este campo es obligatorio",
|
|
192
|
+
"SWITCH-ON": "Activar",
|
|
193
|
+
"SWITCH-OFF": "Desactivar",
|
|
194
|
+
"GROUP": "Agrupar",
|
|
195
|
+
"GROUP_BY_VALUE": "Agrupar por valor",
|
|
196
|
+
"GROUP_BY_RANGERS": "Agrupar por rangos",
|
|
197
|
+
"GROUP_BY_INTERVALS": "Agrupar por intervalos",
|
|
198
|
+
"GROUP_DISABLED": "Agrupación desactivada",
|
|
199
|
+
"GROUP_TITLE": "Agrupación del contenido de la tabla",
|
|
200
|
+
"SELECT_PLACEHOLDER": "Seleccionar",
|
|
201
|
+
"INTERVAL_PLACEHOLDER": "Configurar intervalo",
|
|
202
|
+
"SET_GROUPING_TYPE": "Elegir tipo de agrupación",
|
|
203
|
+
"GROUPING_TYPE_TOOLTIP": "Esta opción permite agrupar los resultados según valor (p. ej. mismo nombre), rangos (p. ej. nombres de A‑K) o intervalos (p. ej. dividir en grupos de tamaño definido).",
|
|
204
|
+
"FROM": "Desde",
|
|
205
|
+
"TO": "Hasta",
|
|
206
|
+
"REMOVE": "Eliminar",
|
|
207
|
+
"ADD_RANGE": "Añadir más",
|
|
208
|
+
"NO-RESULTS": "Sin resultados",
|
|
209
|
+
"ERROR_EMPTY_RANGE": "Completa al menos uno de los campos",
|
|
210
|
+
"ERROR_EMPTY_FROM_FIELD": "Solo el campo \"Desde\" en el primer rango puede estar vacío",
|
|
211
|
+
"ERROR_EMPTY_TO_FIELD": "Solo el campo \"Hasta\" en el último rango puede estar vacío",
|
|
212
|
+
"ERROR_CHOOSE_GROUPING": "Selecciona un tipo de agrupación",
|
|
213
|
+
"ERROR_INTERVAL": "Introduce un número",
|
|
214
|
+
"ERROR_RANGE": "Proporciona un valor correcto"
|
|
215
|
+
},
|
|
216
|
+
"TABLE": {
|
|
217
|
+
"PAGINATION": {
|
|
218
|
+
"ITEMS": "resultados",
|
|
219
|
+
"GROUPS": "grupos"
|
|
220
|
+
},
|
|
221
|
+
"SELECTED": "seleccionado(s)",
|
|
222
|
+
"EMPTY_TEXT": "Sin datos",
|
|
223
|
+
"SELECTION_LIMIT_WARNING": "Se alcanzó el límite de selección.",
|
|
224
|
+
"STAR_ROW_TOOLTIP": "Destacado",
|
|
225
|
+
"SELECT_ROW_TOOLTIP": "Seleccionar",
|
|
226
|
+
"SELECT_ALL_TOOLTIP": "Seleccionar visibles",
|
|
227
|
+
"SELECTION_OPTIONS": "Opciones",
|
|
228
|
+
"COLUMN": {
|
|
229
|
+
"SORT_AZ": "Ordenar a‑z",
|
|
230
|
+
"SORT_ZA": "Ordenar z‑a",
|
|
231
|
+
"SORT_ASCEND": "Orden ascendente",
|
|
232
|
+
"SORT_DESCEND": "Orden descendente",
|
|
233
|
+
"SORT_CLEAR": "Borrar orden"
|
|
234
|
+
},
|
|
235
|
+
"INFINITE_SCROLL": {
|
|
236
|
+
"ERROR": "No se pueden cargar más ítems",
|
|
237
|
+
"RETRY": "Reintentar",
|
|
238
|
+
"NO_MORE_DATA": "No hay más ítems para cargar",
|
|
239
|
+
"LOADING": "Cargando más ítems",
|
|
240
|
+
"BACK_TO_TOP": "Volver arriba"
|
|
241
|
+
},
|
|
242
|
+
"SELECT_ALL": "Seleccionar visibles",
|
|
243
|
+
"UNSELECT_ALL": "Deseleccionar visibles",
|
|
244
|
+
"SELECT_GLOBAL_ALL": "Seleccionar todo",
|
|
245
|
+
"UNSELECT_GLOBAL_ALL": "Deseleccionar todo",
|
|
246
|
+
"SELECT_INVERT": "Invertir selección"
|
|
247
|
+
},
|
|
248
|
+
"ICON-PICKER": {
|
|
249
|
+
"NO-RESULTS": "Sin resultados"
|
|
250
|
+
},
|
|
251
|
+
"SEARCH-BAR": {
|
|
252
|
+
"CLEAR-TOOLTIP": "Borrar"
|
|
253
|
+
},
|
|
254
|
+
"TIME-PICKER": {
|
|
255
|
+
"CLEAR-TOOLTIP": "Borrar",
|
|
256
|
+
"PLACEHOLDER": "Seleccionar hora"
|
|
257
|
+
},
|
|
258
|
+
"ITEMS-ROLL": {
|
|
259
|
+
"CHANGE-SELECTION": "Cambiar selección",
|
|
260
|
+
"CLEAR-ALL": "Borrar todo",
|
|
261
|
+
"CLEAR-TOOLTIP": "Borrar",
|
|
262
|
+
"CONFIRM-NO": "No",
|
|
263
|
+
"CONFIRM-TITLE": "¿Estás seguro de que quieres eliminar todos los ítems de la lista?",
|
|
264
|
+
"CONFIRM-YES": "Sí",
|
|
265
|
+
"ITEMS": "Ítems",
|
|
266
|
+
"MORE": "más",
|
|
267
|
+
"NO-RESULTS": "Sin resultados",
|
|
268
|
+
"REMOVE-TOOLTIP": "Eliminar",
|
|
269
|
+
"SHOW": "Mostrar",
|
|
270
|
+
"SHOW-LESS": "Mostrar menos"
|
|
271
|
+
},
|
|
272
|
+
"INFORMATION-CARD": {
|
|
273
|
+
"QUICK-ACTIONS": "Acciones rápidas"
|
|
274
|
+
},
|
|
275
|
+
"DATE-PICKER": {
|
|
276
|
+
"APPLY": "Aplicar",
|
|
277
|
+
"SELECT-DATE": "Seleccionar fecha",
|
|
278
|
+
"NOW": "Ahora",
|
|
279
|
+
"CLEAR-TOOLTIP": "Borrar"
|
|
9
280
|
},
|
|
10
281
|
"DATE-RANGE-PICKER": {
|
|
282
|
+
"EMPTY-DATE-ERROR": "La fecha no puede estar vacía",
|
|
11
283
|
"TODAY": "Hoy",
|
|
12
284
|
"YESTERDAY": "Ayer",
|
|
13
285
|
"LAST-7-DAYS": "Últimos 7 días",
|
|
@@ -118,30 +390,84 @@
|
|
|
118
390
|
"CHANGE": "Cambiar",
|
|
119
391
|
"FILTER-INVERSE-SELECTION": "Selección inversa"
|
|
120
392
|
},
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
393
|
+
"CARD-TAB": {
|
|
394
|
+
"REMOVE": "Eliminar",
|
|
395
|
+
"RENAME": "Renombrar",
|
|
396
|
+
"DUPLICATE": "Duplicar"
|
|
397
|
+
},
|
|
398
|
+
"FORMAT-PICKER": {
|
|
399
|
+
"HEADER": "Formato numérico",
|
|
400
|
+
"FORMAT": "Formato",
|
|
401
|
+
"NUMERIC": "Numérico",
|
|
402
|
+
"PERCENTAGE": "Porcentaje",
|
|
403
|
+
"CASH": "Moneda",
|
|
404
|
+
"SET-DEFAULT": "Establecer por defecto",
|
|
405
|
+
"USE-SEPARATOR": "Usar separador de miles",
|
|
406
|
+
"COMPACT-NUMBERS": "Usar formato compacto de números",
|
|
407
|
+
"EG": "p. ej."
|
|
408
|
+
},
|
|
409
|
+
"COMPLETED-WITHIN": {
|
|
410
|
+
"INTERVAL": "Intervalo",
|
|
411
|
+
"YEARS": "Años",
|
|
412
|
+
"MONTHS": "Meses",
|
|
413
|
+
"DAYS": "Días",
|
|
414
|
+
"HOURS": "Horas",
|
|
415
|
+
"MINUTES": "Minutos",
|
|
416
|
+
"SECONDS": "Segundos"
|
|
417
|
+
},
|
|
418
|
+
"LOGIC": {
|
|
419
|
+
"AND": "Y",
|
|
420
|
+
"OR": "O"
|
|
421
|
+
},
|
|
422
|
+
"MATCHING": {
|
|
423
|
+
"MATCHING": "coincidiendo",
|
|
424
|
+
"NOT-MATCHING": "no coincidiendo",
|
|
425
|
+
"PERFORMED": "Realizado",
|
|
426
|
+
"NOT-PERFORMED": "No realizado",
|
|
427
|
+
"HAVE": "Tener",
|
|
428
|
+
"NOT-HAVE": "No tener",
|
|
429
|
+
"EXPRESSION-TYPE": {
|
|
430
|
+
"ATTRIBUTE": "atributo",
|
|
431
|
+
"EVENT": "evento",
|
|
432
|
+
"NOT_ATTRIBUTE": "atributo",
|
|
433
|
+
"NOT_EVENT": "evento"
|
|
144
434
|
}
|
|
435
|
+
},
|
|
436
|
+
"STEP-CARD": {
|
|
437
|
+
"NAME-PLACEHOLDER": "Nombre",
|
|
438
|
+
"CONDITION-TYPE": "evento",
|
|
439
|
+
"NOT-CONDITION-TYPE": "no evento",
|
|
440
|
+
"MOVE": "Mover",
|
|
441
|
+
"DELETE": "Eliminar",
|
|
442
|
+
"DUPLICATE": "Duplicar",
|
|
443
|
+
"MOVE-DOWN": "Mover abajo",
|
|
444
|
+
"MOVE-UP": "Mover arriba"
|
|
445
|
+
},
|
|
446
|
+
"WIZARD": {
|
|
447
|
+
"BACK-BUTTON": "Atrás",
|
|
448
|
+
"NEXT-BUTTON": "Siguiente paso"
|
|
449
|
+
},
|
|
450
|
+
"FILTER": {
|
|
451
|
+
"DROP-ME-HERE": "Suelta aquí",
|
|
452
|
+
"ADD-FILTER": "Añadir filtro",
|
|
453
|
+
"CONDITIONS-LIMIT": "Límite de condiciones"
|
|
454
|
+
},
|
|
455
|
+
"CONDITION": {
|
|
456
|
+
"STEP_NAME-PLACEHOLDER": "Nombre del paso",
|
|
457
|
+
"STEP_NAME-PREFIX": "Paso",
|
|
458
|
+
"REMOVE-CONDITION-ROW-TOOLTIP": "Eliminar",
|
|
459
|
+
"ADD-FIRST-CONDITION-ROW-BUTTON": "Añadir condición",
|
|
460
|
+
"ADD-CONDITION-ROW-BUTTON": "Añadir condición",
|
|
461
|
+
"ADD-STEP": "y luego...",
|
|
462
|
+
"DROP-LABEL": "Suelta aquí",
|
|
463
|
+
"EMPTY_CONDITION_LABEL": "Elige evento primero",
|
|
464
|
+
"MOVE-TOOLTIP": "Mover",
|
|
465
|
+
"DUPLICATE-TOOLTIP": "Duplicar",
|
|
466
|
+
"REMOVE-TOOLTIP": "Eliminar",
|
|
467
|
+
"SUFFIX": "y"
|
|
468
|
+
},
|
|
469
|
+
"PLACEHOLDER": {
|
|
470
|
+
"CHOOSE-CONDITION": "Elige el tipo de condición abajo"
|
|
145
471
|
}
|
|
146
472
|
}
|
|
147
473
|
}
|