ngx-sumax-erp-components 1.0.45 → 1.0.47
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/esm2022/lib/date-picker/date-picker.component.mjs +57 -7
- package/esm2022/lib/date-time-picker/date-time-picker.component.mjs +59 -19
- package/esm2022/lib/date-time-picker-editable/date-time-picker-editable.component.mjs +65 -17
- package/esm2022/lib/dialog-ag-grid-search/dialog-ag-grid-search.component.mjs +26 -1
- package/esm2022/lib/error-message/error-message.component.mjs +1 -1
- package/esm2022/lib/input-number/input-number.component.mjs +101 -1
- package/esm2022/lib/input-text/input-text.component.mjs +131 -1
- package/esm2022/lib/ng-select-multiple/ng-select-multiple.component.mjs +183 -2
- package/esm2022/lib/ng-select-simple/ng-select-simple.component.mjs +191 -1
- package/esm2022/lib/sc-ag-grid/sc-ag-grid-customizable/sc-ag-grid-customizable.component.mjs +3 -3
- package/esm2022/lib/sc-ag-grid/sc-ag-grid-pagination/sc-ag-grid-pagination.component.mjs +11 -1
- package/esm2022/lib/text-area/text-area.component.mjs +91 -1
- package/esm2022/lib/tooltip-message/tooltip-message.component.mjs +1 -1
- package/fesm2022/ngx-sumax-erp-components.mjs +908 -44
- package/fesm2022/ngx-sumax-erp-components.mjs.map +1 -1
- package/lib/date-picker/date-picker.component.d.ts +78 -10
- package/lib/date-time-picker/date-time-picker.component.d.ts +71 -23
- package/lib/date-time-picker-editable/date-time-picker-editable.component.d.ts +71 -15
- package/lib/dialog-ag-grid-search/dialog-ag-grid-search.component.d.ts +25 -0
- package/lib/error-message/error-message.component.d.ts +25 -0
- package/lib/input-number/input-number.component.d.ts +120 -0
- package/lib/input-text/input-text.component.d.ts +150 -0
- package/lib/ng-select-multiple/ng-select-multiple.component.d.ts +219 -0
- package/lib/ng-select-simple/ng-select-simple.component.d.ts +215 -0
- package/lib/sc-ag-grid/sc-ag-grid-customizable/sc-ag-grid-customizable.component.d.ts +2 -2
- package/lib/sc-ag-grid/sc-ag-grid-pagination/sc-ag-grid-pagination.component.d.ts +15 -0
- package/lib/text-area/text-area.component.d.ts +110 -0
- package/lib/tooltip-message/tooltip-message.component.d.ts +25 -0
- package/package.json +1 -1
|
@@ -35,48 +35,263 @@ export declare class NgSelectSimpleComponent implements OnInit, OnChanges, OnDes
|
|
|
35
35
|
private ngSelectSimpleService;
|
|
36
36
|
ngSelectSimple: NgSelectComponent;
|
|
37
37
|
btnSearch: ElementRef;
|
|
38
|
+
/**
|
|
39
|
+
* @description Controla la visualización del texto superior (label)
|
|
40
|
+
* @default true
|
|
41
|
+
* @type boolean
|
|
42
|
+
*/
|
|
38
43
|
showLabel: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* @description Texto a mostrar como etiqueta del campo
|
|
46
|
+
* @default null
|
|
47
|
+
* @type any
|
|
48
|
+
*/
|
|
39
49
|
label: any;
|
|
50
|
+
/**
|
|
51
|
+
* @description Valor para el atributo autocomplete del input
|
|
52
|
+
* @default "no-autocomplete-ng-select"
|
|
53
|
+
* @type string
|
|
54
|
+
*/
|
|
40
55
|
autocomplete: string;
|
|
56
|
+
/**
|
|
57
|
+
* @description Referencia al siguiente control para navegación
|
|
58
|
+
* @default undefined
|
|
59
|
+
* @type any
|
|
60
|
+
*/
|
|
41
61
|
next: any;
|
|
62
|
+
/**
|
|
63
|
+
* @description Referencia al control alternativo cuando el siguiente está deshabilitado
|
|
64
|
+
* @default undefined
|
|
65
|
+
* @type any
|
|
66
|
+
*/
|
|
42
67
|
nextIsDisable: any;
|
|
68
|
+
/**
|
|
69
|
+
* @description Referencia al control anterior para navegación
|
|
70
|
+
* @default undefined
|
|
71
|
+
* @type any
|
|
72
|
+
*/
|
|
43
73
|
back: any;
|
|
74
|
+
/**
|
|
75
|
+
* @description Referencia al control alternativo cuando el anterior está deshabilitado
|
|
76
|
+
* @default undefined
|
|
77
|
+
* @type any
|
|
78
|
+
*/
|
|
44
79
|
backIsDisable: any;
|
|
80
|
+
/**
|
|
81
|
+
* @description Indica si el campo es obligatorio
|
|
82
|
+
* @default false
|
|
83
|
+
* @type boolean
|
|
84
|
+
*/
|
|
45
85
|
required: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* @description Deshabilita el control
|
|
88
|
+
* @default false
|
|
89
|
+
* @type boolean
|
|
90
|
+
*/
|
|
46
91
|
disabled: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* @description Establece el control como solo lectura
|
|
94
|
+
* @default false
|
|
95
|
+
* @type boolean
|
|
96
|
+
*/
|
|
47
97
|
readonly: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* @description Muestra mensajes de validación
|
|
100
|
+
* @default false
|
|
101
|
+
* @type boolean
|
|
102
|
+
*/
|
|
48
103
|
validatorMessage: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* @description Muestra mensajes de ayuda como tooltips
|
|
106
|
+
* @default true
|
|
107
|
+
* @type boolean
|
|
108
|
+
*/
|
|
49
109
|
tooltipMessage: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* @description Abre el selector al recibir el foco
|
|
112
|
+
* @default false
|
|
113
|
+
* @type boolean
|
|
114
|
+
*/
|
|
50
115
|
openWhenFocus: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* @description Campo por el cual se realizará la búsqueda
|
|
118
|
+
* @default "value"
|
|
119
|
+
* @type string
|
|
120
|
+
*/
|
|
51
121
|
searchBy: string;
|
|
122
|
+
/**
|
|
123
|
+
* @description Marca el primer elemento automáticamente
|
|
124
|
+
* @default false
|
|
125
|
+
* @type boolean
|
|
126
|
+
*/
|
|
52
127
|
markFirstItem: boolean;
|
|
128
|
+
/**
|
|
129
|
+
* @description Marca automáticamente cuando solo hay un elemento
|
|
130
|
+
* @default false
|
|
131
|
+
* @type boolean
|
|
132
|
+
*/
|
|
53
133
|
markWhenHaveOneItem: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* @description Indica si el formulario ha sido enviado para mostrar validaciones
|
|
136
|
+
* @default true
|
|
137
|
+
* @type boolean
|
|
138
|
+
*/
|
|
54
139
|
submitted: boolean;
|
|
140
|
+
/**
|
|
141
|
+
* @description Clases CSS adicionales para el componente
|
|
142
|
+
* @default ""
|
|
143
|
+
* @type string
|
|
144
|
+
*/
|
|
55
145
|
setNgClass: string;
|
|
146
|
+
/**
|
|
147
|
+
* @description Habilita la búsqueda en el selector
|
|
148
|
+
* @default true
|
|
149
|
+
* @type boolean
|
|
150
|
+
*/
|
|
56
151
|
searchable: boolean;
|
|
152
|
+
/**
|
|
153
|
+
* @description Muestra alertas de validación
|
|
154
|
+
* @default false
|
|
155
|
+
* @type boolean
|
|
156
|
+
*/
|
|
57
157
|
validatorAlert: boolean;
|
|
158
|
+
/**
|
|
159
|
+
* @description Convierte el texto a mayúsculas
|
|
160
|
+
* @default false
|
|
161
|
+
* @type boolean
|
|
162
|
+
*/
|
|
58
163
|
upperCase: boolean;
|
|
164
|
+
/**
|
|
165
|
+
* @description Plantilla personalizada para la etiqueta
|
|
166
|
+
* @default null
|
|
167
|
+
* @type TemplateRef<any> | null
|
|
168
|
+
*/
|
|
59
169
|
templateLabel: TemplateRef<any> | null;
|
|
170
|
+
/**
|
|
171
|
+
* @description Elemento al que se adjuntará el dropdown
|
|
172
|
+
* @default "body"
|
|
173
|
+
* @type string
|
|
174
|
+
*/
|
|
60
175
|
appendTo: string;
|
|
176
|
+
/**
|
|
177
|
+
* @description Lista de elementos para el selector
|
|
178
|
+
* @default undefined
|
|
179
|
+
* @type Observable<any[]>
|
|
180
|
+
*/
|
|
61
181
|
items: Observable<any[]>;
|
|
182
|
+
/**
|
|
183
|
+
* @description Indica si está cargando datos
|
|
184
|
+
* @default true
|
|
185
|
+
* @type boolean
|
|
186
|
+
*/
|
|
62
187
|
loading: boolean;
|
|
188
|
+
/**
|
|
189
|
+
* @description Texto a mostrar durante la carga
|
|
190
|
+
* @default "Cargando..."
|
|
191
|
+
* @type string
|
|
192
|
+
*/
|
|
63
193
|
loadingText: string;
|
|
194
|
+
/**
|
|
195
|
+
* @description Texto para el botón de limpiar selección
|
|
196
|
+
* @default "Limpiar"
|
|
197
|
+
* @type string
|
|
198
|
+
*/
|
|
64
199
|
clearAllText: string;
|
|
200
|
+
/**
|
|
201
|
+
* @description Texto a mostrar cuando no hay resultados
|
|
202
|
+
* @default "No se encontraron resultados"
|
|
203
|
+
* @type string
|
|
204
|
+
*/
|
|
65
205
|
notFoundText: string;
|
|
206
|
+
/**
|
|
207
|
+
* @description Marca el primer elemento de la lista
|
|
208
|
+
* @default true
|
|
209
|
+
* @type boolean
|
|
210
|
+
*/
|
|
66
211
|
markFirst: boolean;
|
|
212
|
+
/**
|
|
213
|
+
* @description Permite limpiar la selección
|
|
214
|
+
* @default true
|
|
215
|
+
* @type boolean
|
|
216
|
+
*/
|
|
67
217
|
clearable: boolean;
|
|
218
|
+
/**
|
|
219
|
+
* @description Limpia la selección al presionar retroceso
|
|
220
|
+
* @default false
|
|
221
|
+
* @type boolean
|
|
222
|
+
*/
|
|
68
223
|
clearOnBackspace: boolean;
|
|
224
|
+
/**
|
|
225
|
+
* @description Habilita el desplazamiento virtual para listas grandes
|
|
226
|
+
* @default true
|
|
227
|
+
* @type boolean
|
|
228
|
+
*/
|
|
69
229
|
virtualScroll: boolean;
|
|
230
|
+
/**
|
|
231
|
+
* @description Abre el selector al presionar Enter
|
|
232
|
+
* @default false
|
|
233
|
+
* @type boolean
|
|
234
|
+
*/
|
|
70
235
|
openOnEnter: boolean;
|
|
236
|
+
/**
|
|
237
|
+
* @description Muestra el botón de actualizar
|
|
238
|
+
* @default false
|
|
239
|
+
* @type boolean
|
|
240
|
+
*/
|
|
71
241
|
refresh: boolean;
|
|
242
|
+
/**
|
|
243
|
+
* @description Deshabilita el botón de actualizar
|
|
244
|
+
* @default false
|
|
245
|
+
* @type boolean
|
|
246
|
+
*/
|
|
72
247
|
isRefreshDisabled: boolean;
|
|
248
|
+
/**
|
|
249
|
+
* @description Muestra el botón de búsqueda
|
|
250
|
+
* @default false
|
|
251
|
+
* @type boolean
|
|
252
|
+
*/
|
|
73
253
|
search: boolean;
|
|
254
|
+
/**
|
|
255
|
+
* @description Muestra el botón de redirección
|
|
256
|
+
* @default false
|
|
257
|
+
* @type boolean
|
|
258
|
+
*/
|
|
74
259
|
redirect: boolean;
|
|
260
|
+
/**
|
|
261
|
+
* @description Parámetros para la búsqueda avanzada
|
|
262
|
+
* @default new SearchParams()
|
|
263
|
+
* @type SearchParams
|
|
264
|
+
*/
|
|
75
265
|
searchParams: SearchParams;
|
|
266
|
+
/**
|
|
267
|
+
* @description Habilita información adicional para la etiqueta
|
|
268
|
+
* @default false
|
|
269
|
+
* @type boolean
|
|
270
|
+
*/
|
|
76
271
|
labelInfo: boolean;
|
|
272
|
+
/**
|
|
273
|
+
* @description Texto informativo adicional para la etiqueta
|
|
274
|
+
* @default ""
|
|
275
|
+
* @type string
|
|
276
|
+
*/
|
|
77
277
|
textLabelInfo: string;
|
|
278
|
+
/**
|
|
279
|
+
* @description URL para redirección
|
|
280
|
+
* @default ""
|
|
281
|
+
* @type string
|
|
282
|
+
*/
|
|
78
283
|
urlRedirect: string;
|
|
284
|
+
/**
|
|
285
|
+
* @description Título para el botón de redirección
|
|
286
|
+
* @default ""
|
|
287
|
+
* @type string
|
|
288
|
+
*/
|
|
79
289
|
titleRedirect: string;
|
|
290
|
+
/**
|
|
291
|
+
* @description Deshabilita el botón de redirección
|
|
292
|
+
* @default false
|
|
293
|
+
* @type boolean
|
|
294
|
+
*/
|
|
80
295
|
isRedirectDisabled: boolean;
|
|
81
296
|
onNext: EventEmitter<any>;
|
|
82
297
|
onBack: EventEmitter<any>;
|
|
@@ -24,7 +24,7 @@ export declare class ScAgGridCustomizableComponent implements OnInit, OnChanges,
|
|
|
24
24
|
searchWidth: string;
|
|
25
25
|
/**
|
|
26
26
|
* @description Opciones de tamaño de página
|
|
27
|
-
* @default [5, 10, 15, 20, 25]
|
|
27
|
+
* @default '[5, 10, 15, 20, 25]'
|
|
28
28
|
*/
|
|
29
29
|
pageSizeOptions: number[];
|
|
30
30
|
/**
|
|
@@ -61,7 +61,7 @@ export declare class ScAgGridCustomizableComponent implements OnInit, OnChanges,
|
|
|
61
61
|
height: string;
|
|
62
62
|
/**
|
|
63
63
|
* @description Cpnfiguración para el boton `Agregar`
|
|
64
|
-
* @default { visible: true, disabled: false }
|
|
64
|
+
* @default '{ visible: true, disabled: false }'
|
|
65
65
|
*/
|
|
66
66
|
btnAdd: ButtonHeader;
|
|
67
67
|
/**
|
|
@@ -4,8 +4,23 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class ScAgGridPaginationComponent implements OnInit {
|
|
5
5
|
private readonly _changeRef;
|
|
6
6
|
idScAgGridPaginationComponent: string;
|
|
7
|
+
/**
|
|
8
|
+
* @description Tamaño de página para la paginación
|
|
9
|
+
* @default 15
|
|
10
|
+
* @type number
|
|
11
|
+
*/
|
|
7
12
|
paginationPageSize: number;
|
|
13
|
+
/**
|
|
14
|
+
* @description API de la grilla AG Grid
|
|
15
|
+
* @default undefined
|
|
16
|
+
* @type GridApi
|
|
17
|
+
*/
|
|
8
18
|
gridApi?: GridApi;
|
|
19
|
+
/**
|
|
20
|
+
* @description Opciones de tamaño de página disponibles
|
|
21
|
+
* @default "[5, 10, 15, 20, 25]"
|
|
22
|
+
* @type number[]
|
|
23
|
+
*/
|
|
9
24
|
pageSizeOptions: number[];
|
|
10
25
|
_pageFrom: number;
|
|
11
26
|
_pageUp: number;
|
|
@@ -8,27 +8,137 @@ export declare class TextAreaComponent implements OnInit, OnChanges, AfterViewIn
|
|
|
8
8
|
private messageUtilService;
|
|
9
9
|
private textAreaService;
|
|
10
10
|
private _render;
|
|
11
|
+
/**
|
|
12
|
+
* @description Formato del texto (M: mayúsculas, m: minúsculas)
|
|
13
|
+
* @default "M"
|
|
14
|
+
* @type string
|
|
15
|
+
*/
|
|
11
16
|
format: string;
|
|
17
|
+
/**
|
|
18
|
+
* @description Controla la visualización del texto superior
|
|
19
|
+
* @default true
|
|
20
|
+
* @type boolean
|
|
21
|
+
*/
|
|
12
22
|
showLabel: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* @description Texto a mostrar como etiqueta del campo
|
|
25
|
+
* @default null
|
|
26
|
+
* @type any
|
|
27
|
+
*/
|
|
13
28
|
label: any;
|
|
29
|
+
/**
|
|
30
|
+
* @description Longitud máxima del texto
|
|
31
|
+
* @default null
|
|
32
|
+
* @type number | null
|
|
33
|
+
*/
|
|
14
34
|
maxLength: null;
|
|
35
|
+
/**
|
|
36
|
+
* @description Establece el control como solo lectura
|
|
37
|
+
* @default false
|
|
38
|
+
* @type boolean
|
|
39
|
+
*/
|
|
15
40
|
readonly: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* @description Referencia al siguiente control para navegación
|
|
43
|
+
* @default undefined
|
|
44
|
+
* @type any
|
|
45
|
+
*/
|
|
16
46
|
next: any;
|
|
47
|
+
/**
|
|
48
|
+
* @description Referencia al control alternativo cuando el siguiente está deshabilitado
|
|
49
|
+
* @default undefined
|
|
50
|
+
* @type any
|
|
51
|
+
*/
|
|
17
52
|
nextIsDisable: any;
|
|
53
|
+
/**
|
|
54
|
+
* @description Referencia al control anterior para navegación
|
|
55
|
+
* @default undefined
|
|
56
|
+
* @type any
|
|
57
|
+
*/
|
|
18
58
|
back: any;
|
|
59
|
+
/**
|
|
60
|
+
* @description Referencia al control alternativo cuando el anterior está deshabilitado
|
|
61
|
+
* @default undefined
|
|
62
|
+
* @type any
|
|
63
|
+
*/
|
|
19
64
|
backIsDisable: any;
|
|
65
|
+
/**
|
|
66
|
+
* @description Indica si el campo es obligatorio
|
|
67
|
+
* @default false
|
|
68
|
+
* @type boolean
|
|
69
|
+
*/
|
|
20
70
|
required: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* @description Muestra mensajes de validación
|
|
73
|
+
* @default false
|
|
74
|
+
* @type boolean
|
|
75
|
+
*/
|
|
21
76
|
validatorMessage: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* @description Muestra alertas de validación
|
|
79
|
+
* @default false
|
|
80
|
+
* @type boolean
|
|
81
|
+
*/
|
|
22
82
|
validatorAlert: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* @description Muestra mensajes de ayuda como tooltips
|
|
85
|
+
* @default true
|
|
86
|
+
* @type boolean
|
|
87
|
+
*/
|
|
23
88
|
tooltipMessage: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* @description Indica si el formulario ha sido enviado para mostrar validaciones
|
|
91
|
+
* @default true
|
|
92
|
+
* @type boolean
|
|
93
|
+
*/
|
|
24
94
|
submitted: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* @description Número de columnas del textarea
|
|
97
|
+
* @default null
|
|
98
|
+
* @type number | any
|
|
99
|
+
*/
|
|
25
100
|
cols: number | any;
|
|
101
|
+
/**
|
|
102
|
+
* @description Número de filas del textarea
|
|
103
|
+
* @default null
|
|
104
|
+
* @type number | any
|
|
105
|
+
*/
|
|
26
106
|
rows: number | any;
|
|
107
|
+
/**
|
|
108
|
+
* @description Altura del textarea
|
|
109
|
+
* @default ""
|
|
110
|
+
* @type string
|
|
111
|
+
*/
|
|
27
112
|
height: string;
|
|
113
|
+
/**
|
|
114
|
+
* @description Ancho del textarea
|
|
115
|
+
* @default ""
|
|
116
|
+
* @type string
|
|
117
|
+
*/
|
|
28
118
|
width: string;
|
|
119
|
+
/**
|
|
120
|
+
* @description Deshabilita el control
|
|
121
|
+
* @default false
|
|
122
|
+
* @type boolean
|
|
123
|
+
*/
|
|
29
124
|
disabled: boolean;
|
|
125
|
+
/**
|
|
126
|
+
* @description Texto de marcador de posición
|
|
127
|
+
* @default ""
|
|
128
|
+
* @type string
|
|
129
|
+
*/
|
|
30
130
|
placeholder: string;
|
|
131
|
+
/**
|
|
132
|
+
* @description Habilita información adicional para la etiqueta
|
|
133
|
+
* @default false
|
|
134
|
+
* @type boolean
|
|
135
|
+
*/
|
|
31
136
|
labelInfo: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* @description Texto informativo adicional para la etiqueta
|
|
139
|
+
* @default ""
|
|
140
|
+
* @type string
|
|
141
|
+
*/
|
|
32
142
|
textLabelInfo: string;
|
|
33
143
|
change: EventEmitter<any>;
|
|
34
144
|
onchange: EventEmitter<any>;
|
|
@@ -1,10 +1,35 @@
|
|
|
1
1
|
import { OnInit } from "@angular/core";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class tooltipMessageComponent implements OnInit {
|
|
4
|
+
/**
|
|
5
|
+
* @description Muestra mensajes de ayuda como tooltips
|
|
6
|
+
* @default undefined
|
|
7
|
+
* @type boolean
|
|
8
|
+
*/
|
|
4
9
|
tooltipMessage: boolean | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* @description Muestra mensajes de validación
|
|
12
|
+
* @default undefined
|
|
13
|
+
* @type boolean
|
|
14
|
+
*/
|
|
5
15
|
validatorMessage: boolean | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* @description Control asociado para validaciones
|
|
18
|
+
* @default undefined
|
|
19
|
+
* @type any
|
|
20
|
+
*/
|
|
6
21
|
controls: any;
|
|
22
|
+
/**
|
|
23
|
+
* @description Texto a mostrar como etiqueta
|
|
24
|
+
* @default undefined
|
|
25
|
+
* @type any
|
|
26
|
+
*/
|
|
7
27
|
label: any;
|
|
28
|
+
/**
|
|
29
|
+
* @description Indica si el formulario ha sido enviado para mostrar validaciones
|
|
30
|
+
* @default undefined
|
|
31
|
+
* @type boolean
|
|
32
|
+
*/
|
|
8
33
|
submitted: boolean | undefined;
|
|
9
34
|
constructor();
|
|
10
35
|
ngOnInit(): void;
|