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
|
@@ -9,37 +9,187 @@ export declare class InputTextComponent implements OnInit, OnChanges, AfterViewI
|
|
|
9
9
|
private messageUtilService;
|
|
10
10
|
private inputTextService;
|
|
11
11
|
private _render;
|
|
12
|
+
/**
|
|
13
|
+
* @description Formato de texto (M: mayúsculas, m: minúsculas, null: sin formato)
|
|
14
|
+
* @default "M"
|
|
15
|
+
* @type string
|
|
16
|
+
*/
|
|
12
17
|
format: string;
|
|
18
|
+
/**
|
|
19
|
+
* @description Tipo de input (texto, contraseña, email)
|
|
20
|
+
* @default "text"
|
|
21
|
+
* @type Type
|
|
22
|
+
*/
|
|
13
23
|
type: Type;
|
|
24
|
+
/**
|
|
25
|
+
* @description Controla la visualización del texto superior (label)
|
|
26
|
+
* @default true
|
|
27
|
+
* @type boolean
|
|
28
|
+
*/
|
|
14
29
|
showLabel: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* @description Texto a mostrar como etiqueta del campo
|
|
32
|
+
* @default ""
|
|
33
|
+
* @type any
|
|
34
|
+
*/
|
|
15
35
|
label: any;
|
|
36
|
+
/**
|
|
37
|
+
* @description Habilita el botón para activar el campo
|
|
38
|
+
* @default false
|
|
39
|
+
* @type boolean
|
|
40
|
+
*/
|
|
16
41
|
btnEnable: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* @description Valor para el atributo autocomplete del input
|
|
44
|
+
* @default "no-autocomplete-input-text"
|
|
45
|
+
* @type string
|
|
46
|
+
*/
|
|
17
47
|
autocomplete: string;
|
|
48
|
+
/**
|
|
49
|
+
* @description Aplica estilo negrita al texto
|
|
50
|
+
* @default false
|
|
51
|
+
* @type boolean
|
|
52
|
+
*/
|
|
18
53
|
bold: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* @description Máscara para el input (formato específico)
|
|
56
|
+
* @default null
|
|
57
|
+
* @type string | null
|
|
58
|
+
*/
|
|
19
59
|
inputMask: string | null;
|
|
60
|
+
/**
|
|
61
|
+
* @description Muestra la máscara mientras se escribe
|
|
62
|
+
* @default false
|
|
63
|
+
* @type boolean
|
|
64
|
+
*/
|
|
20
65
|
showMaskTyped: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* @description Referencia al siguiente control para navegación
|
|
68
|
+
* @default undefined
|
|
69
|
+
* @type any
|
|
70
|
+
*/
|
|
21
71
|
next: any;
|
|
72
|
+
/**
|
|
73
|
+
* @description Referencia al control alternativo cuando el siguiente está deshabilitado
|
|
74
|
+
* @default undefined
|
|
75
|
+
* @type any
|
|
76
|
+
*/
|
|
22
77
|
nextIsDisable: any;
|
|
78
|
+
/**
|
|
79
|
+
* @description Referencia al control anterior para navegación
|
|
80
|
+
* @default undefined
|
|
81
|
+
* @type any
|
|
82
|
+
*/
|
|
23
83
|
back: any;
|
|
84
|
+
/**
|
|
85
|
+
* @description Referencia al control alternativo cuando el anterior está deshabilitado
|
|
86
|
+
* @default undefined
|
|
87
|
+
* @type any
|
|
88
|
+
*/
|
|
24
89
|
backIsDisable: any;
|
|
90
|
+
/**
|
|
91
|
+
* @description Indica si el campo es obligatorio
|
|
92
|
+
* @default false
|
|
93
|
+
* @type boolean
|
|
94
|
+
*/
|
|
25
95
|
required: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* @description Alinea el texto a la derecha
|
|
98
|
+
* @default false
|
|
99
|
+
* @type boolean
|
|
100
|
+
*/
|
|
26
101
|
textRight: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* @description Deshabilita el control
|
|
104
|
+
* @default false
|
|
105
|
+
* @type boolean
|
|
106
|
+
*/
|
|
27
107
|
disabled: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* @description Establece el control como solo lectura
|
|
110
|
+
* @default false
|
|
111
|
+
* @type boolean
|
|
112
|
+
*/
|
|
28
113
|
readonly: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* @description Muestra mensajes de validación
|
|
116
|
+
* @default false
|
|
117
|
+
* @type boolean
|
|
118
|
+
*/
|
|
29
119
|
validatorMessage: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* @description Muestra mensajes de ayuda como tooltips
|
|
122
|
+
* @default true
|
|
123
|
+
* @type boolean
|
|
124
|
+
*/
|
|
30
125
|
tooltipMessage: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* @description Longitud máxima permitida para el texto
|
|
128
|
+
* @default null
|
|
129
|
+
* @type any
|
|
130
|
+
*/
|
|
31
131
|
maxLength: any;
|
|
132
|
+
/**
|
|
133
|
+
* @description Indica si el formulario ha sido enviado para mostrar validaciones
|
|
134
|
+
* @default true
|
|
135
|
+
* @type boolean
|
|
136
|
+
*/
|
|
32
137
|
submitted: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* @description Muestra alertas de validación
|
|
140
|
+
* @default false
|
|
141
|
+
* @type boolean
|
|
142
|
+
*/
|
|
33
143
|
validatorAlert: boolean;
|
|
144
|
+
/**
|
|
145
|
+
* @description Clases CSS adicionales para el componente
|
|
146
|
+
* @default ""
|
|
147
|
+
* @type string
|
|
148
|
+
*/
|
|
34
149
|
setNgClass: string;
|
|
150
|
+
/**
|
|
151
|
+
* @description Patrones de validación para el campo
|
|
152
|
+
* @default ""
|
|
153
|
+
* @type any
|
|
154
|
+
*/
|
|
35
155
|
patterns: any;
|
|
156
|
+
/**
|
|
157
|
+
* @description Texto de placeholder para el input
|
|
158
|
+
* @default ""
|
|
159
|
+
* @type string
|
|
160
|
+
*/
|
|
36
161
|
placeholder: string;
|
|
162
|
+
/**
|
|
163
|
+
* @description Habilita información adicional para la etiqueta
|
|
164
|
+
* @default false
|
|
165
|
+
* @type boolean
|
|
166
|
+
*/
|
|
37
167
|
labelInfo: boolean;
|
|
168
|
+
/**
|
|
169
|
+
* @description Texto informativo adicional para la etiqueta
|
|
170
|
+
* @default ""
|
|
171
|
+
* @type string
|
|
172
|
+
*/
|
|
38
173
|
textLabelInfo: string;
|
|
174
|
+
/**
|
|
175
|
+
* @description Habilita la limpieza y reemplazo de caracteres especiales
|
|
176
|
+
* @default false
|
|
177
|
+
* @type boolean
|
|
178
|
+
*/
|
|
39
179
|
controlCharClearReplace: boolean;
|
|
180
|
+
/**
|
|
181
|
+
* @description Mapa de caracteres a reemplazar
|
|
182
|
+
* @default {}
|
|
183
|
+
* @type {[key:string]: string}
|
|
184
|
+
*/
|
|
40
185
|
replaceRegex: {
|
|
41
186
|
[key: string]: string;
|
|
42
187
|
};
|
|
188
|
+
/**
|
|
189
|
+
* @description Expresión regular para limpiar caracteres
|
|
190
|
+
* @default ""
|
|
191
|
+
* @type string
|
|
192
|
+
*/
|
|
43
193
|
clearRegex: string;
|
|
44
194
|
onNext: EventEmitter<any>;
|
|
45
195
|
onBack: EventEmitter<any>;
|
|
@@ -14,47 +14,244 @@ export declare class NgSelectMultipleComponent implements OnInit, OnChanges, OnD
|
|
|
14
14
|
onChange: (_: any) => void;
|
|
15
15
|
onTouched: () => void;
|
|
16
16
|
onValidationChange: () => void;
|
|
17
|
+
/**
|
|
18
|
+
* @description Lista de elementos para el selector
|
|
19
|
+
* @default undefined
|
|
20
|
+
* @type Observable<any[]>
|
|
21
|
+
*/
|
|
17
22
|
items: Observable<any[]>;
|
|
23
|
+
/**
|
|
24
|
+
* @description Límite de elementos a mostrar
|
|
25
|
+
* @default 2
|
|
26
|
+
* @type number
|
|
27
|
+
*/
|
|
18
28
|
showlimit: number;
|
|
29
|
+
/**
|
|
30
|
+
* @description Controla la visualización del texto superior (label)
|
|
31
|
+
* @default true
|
|
32
|
+
* @type boolean
|
|
33
|
+
*/
|
|
19
34
|
showLabel: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* @description Texto a mostrar como etiqueta del campo
|
|
37
|
+
* @default null
|
|
38
|
+
* @type any
|
|
39
|
+
*/
|
|
20
40
|
label: any;
|
|
41
|
+
/**
|
|
42
|
+
* @description Valor para el atributo autocomplete del input
|
|
43
|
+
* @default "no-autocomplete-ng-select"
|
|
44
|
+
* @type string
|
|
45
|
+
*/
|
|
21
46
|
autocomplete: string;
|
|
47
|
+
/**
|
|
48
|
+
* @description Muestra el encabezado del selector
|
|
49
|
+
* @default true
|
|
50
|
+
* @type boolean
|
|
51
|
+
*/
|
|
22
52
|
Header: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* @description Muestra el pie del selector
|
|
55
|
+
* @default true
|
|
56
|
+
* @type boolean
|
|
57
|
+
*/
|
|
23
58
|
Footer: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* @description Indica si el campo es obligatorio
|
|
61
|
+
* @default false
|
|
62
|
+
* @type boolean
|
|
63
|
+
*/
|
|
24
64
|
required: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* @description Referencia al siguiente control para navegación
|
|
67
|
+
* @default undefined
|
|
68
|
+
* @type any
|
|
69
|
+
*/
|
|
25
70
|
next: any;
|
|
71
|
+
/**
|
|
72
|
+
* @description Referencia al control alternativo cuando el siguiente está deshabilitado
|
|
73
|
+
* @default undefined
|
|
74
|
+
* @type any
|
|
75
|
+
*/
|
|
26
76
|
nextIsDisable: any;
|
|
77
|
+
/**
|
|
78
|
+
* @description Referencia al control anterior para navegación
|
|
79
|
+
* @default undefined
|
|
80
|
+
* @type any
|
|
81
|
+
*/
|
|
27
82
|
back: any;
|
|
83
|
+
/**
|
|
84
|
+
* @description Referencia al control alternativo cuando el anterior está deshabilitado
|
|
85
|
+
* @default undefined
|
|
86
|
+
* @type any
|
|
87
|
+
*/
|
|
28
88
|
backIsDisable: any;
|
|
89
|
+
/**
|
|
90
|
+
* @description Deshabilita el control
|
|
91
|
+
* @default false
|
|
92
|
+
* @type boolean
|
|
93
|
+
*/
|
|
29
94
|
disabled: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* @description Establece el control como solo lectura
|
|
97
|
+
* @default false
|
|
98
|
+
* @type boolean
|
|
99
|
+
*/
|
|
30
100
|
readonly: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* @description Abre el selector al recibir el foco
|
|
103
|
+
* @default false
|
|
104
|
+
* @type boolean
|
|
105
|
+
*/
|
|
31
106
|
openWhenFocus: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* @description Marca el primer elemento de la lista
|
|
109
|
+
* @default false
|
|
110
|
+
* @type boolean
|
|
111
|
+
*/
|
|
32
112
|
markFirst: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* @description Habilita información adicional para la etiqueta
|
|
115
|
+
* @default false
|
|
116
|
+
* @type boolean
|
|
117
|
+
*/
|
|
33
118
|
labelInfo: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* @description Texto informativo adicional para la etiqueta
|
|
121
|
+
* @default ''
|
|
122
|
+
* @type string
|
|
123
|
+
*/
|
|
34
124
|
textLabelInfo: string;
|
|
125
|
+
/**
|
|
126
|
+
* @description Muestra mensajes de validación
|
|
127
|
+
* @default false
|
|
128
|
+
* @type boolean
|
|
129
|
+
*/
|
|
35
130
|
validatorMessage: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* @description Muestra mensajes de ayuda como tooltips
|
|
133
|
+
* @default true
|
|
134
|
+
* @type boolean
|
|
135
|
+
*/
|
|
36
136
|
tooltipMessage: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* @description Muestra alertas de validación
|
|
139
|
+
* @default false
|
|
140
|
+
* @type boolean
|
|
141
|
+
*/
|
|
37
142
|
validatorAlert: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* @description Indica si el formulario ha sido enviado para mostrar validaciones
|
|
145
|
+
* @default true
|
|
146
|
+
* @type boolean
|
|
147
|
+
*/
|
|
38
148
|
submitted: boolean;
|
|
149
|
+
/**
|
|
150
|
+
* @description Muestra el botón de actualizar
|
|
151
|
+
* @default false
|
|
152
|
+
* @type boolean
|
|
153
|
+
*/
|
|
39
154
|
refresh: boolean;
|
|
155
|
+
/**
|
|
156
|
+
* @description Indica si se está utilizando para filtros
|
|
157
|
+
* @default true
|
|
158
|
+
* @type boolean
|
|
159
|
+
*/
|
|
40
160
|
isForFilter: boolean;
|
|
161
|
+
/**
|
|
162
|
+
* @description Elemento al que se adjuntará el dropdown
|
|
163
|
+
* @default "body"
|
|
164
|
+
* @type any
|
|
165
|
+
*/
|
|
41
166
|
appendTo: any;
|
|
167
|
+
/**
|
|
168
|
+
* @description Textos personalizados para el componente
|
|
169
|
+
* @default "{ Selected: 'Seleccionados', SelectAll: 'TODOS', UnselectAll: 'NINGUNO', All: 'TODOS' }"
|
|
170
|
+
* @type object
|
|
171
|
+
*/
|
|
42
172
|
Language: any;
|
|
173
|
+
/**
|
|
174
|
+
* @description Habilita el desplazamiento virtual para listas grandes
|
|
175
|
+
* @default true
|
|
176
|
+
* @type boolean
|
|
177
|
+
*/
|
|
43
178
|
virtualScroll: boolean;
|
|
179
|
+
/**
|
|
180
|
+
* @description Indica si está cargando datos
|
|
181
|
+
* @default true
|
|
182
|
+
* @type boolean
|
|
183
|
+
*/
|
|
44
184
|
loading: boolean;
|
|
185
|
+
/**
|
|
186
|
+
* @description Texto a mostrar durante la carga
|
|
187
|
+
* @default "Cargando..."
|
|
188
|
+
* @type string
|
|
189
|
+
*/
|
|
45
190
|
loadingText: string;
|
|
191
|
+
/**
|
|
192
|
+
* @description Evento emitido al navegar al siguiente control
|
|
193
|
+
* @type EventEmitter<any>
|
|
194
|
+
*/
|
|
46
195
|
onNext: EventEmitter<any>;
|
|
196
|
+
/**
|
|
197
|
+
* @description Evento emitido al navegar al control anterior
|
|
198
|
+
* @type EventEmitter<any>
|
|
199
|
+
*/
|
|
47
200
|
onBack: EventEmitter<any>;
|
|
201
|
+
/**
|
|
202
|
+
* @description Evento emitido al cambiar la selección
|
|
203
|
+
* @type EventEmitter<any>
|
|
204
|
+
*/
|
|
48
205
|
change: EventEmitter<any>;
|
|
206
|
+
/**
|
|
207
|
+
* @description Evento emitido al perder el foco
|
|
208
|
+
* @type EventEmitter<any>
|
|
209
|
+
*/
|
|
49
210
|
blur: EventEmitter<any>;
|
|
211
|
+
/**
|
|
212
|
+
* @description Evento emitido al recibir el foco
|
|
213
|
+
* @type EventEmitter<any>
|
|
214
|
+
*/
|
|
50
215
|
onfocus: EventEmitter<any>;
|
|
216
|
+
/**
|
|
217
|
+
* @description Evento emitido al actualizar
|
|
218
|
+
* @type EventEmitter<any>
|
|
219
|
+
*/
|
|
51
220
|
onrefresh: EventEmitter<any>;
|
|
221
|
+
/**
|
|
222
|
+
* @description Utilidad para componentes compartidos
|
|
223
|
+
* @type SharedComponentsUtil
|
|
224
|
+
*/
|
|
52
225
|
sharedComponentsUtil: SharedComponentsUtil;
|
|
226
|
+
/**
|
|
227
|
+
* @description Valor actual del componente
|
|
228
|
+
* @private
|
|
229
|
+
*/
|
|
53
230
|
_value: any;
|
|
231
|
+
/**
|
|
232
|
+
* @description Referencia al control del formulario
|
|
233
|
+
* @private
|
|
234
|
+
*/
|
|
54
235
|
controls: any;
|
|
236
|
+
/**
|
|
237
|
+
* @description Lista completa de elementos
|
|
238
|
+
* @private
|
|
239
|
+
*/
|
|
55
240
|
all: any;
|
|
241
|
+
/**
|
|
242
|
+
* @description Indica si todos los elementos están seleccionados
|
|
243
|
+
* @private
|
|
244
|
+
*/
|
|
56
245
|
checkedAll: boolean;
|
|
246
|
+
/**
|
|
247
|
+
* @description Indica si hay una selección parcial
|
|
248
|
+
* @private
|
|
249
|
+
*/
|
|
57
250
|
checkedIndeterminate: boolean;
|
|
251
|
+
/**
|
|
252
|
+
* @description Lista de suscripciones para limpiar al destruir el componente
|
|
253
|
+
* @private
|
|
254
|
+
*/
|
|
58
255
|
private subscriptions;
|
|
59
256
|
constructor(cdrf: ChangeDetectorRef, messageUtilService: MessageUtilService, ngSelectMultipleService: NgSelectMultipleService);
|
|
60
257
|
ngOnDestroy(): void;
|
|
@@ -62,11 +259,33 @@ export declare class NgSelectMultipleComponent implements OnInit, OnChanges, OnD
|
|
|
62
259
|
registerOnValidatorChange?(fn: () => void): void;
|
|
63
260
|
ngOnChanges(changes: SimpleChanges): void;
|
|
64
261
|
carga(): Promise<void>;
|
|
262
|
+
/**
|
|
263
|
+
* @description Verifica si un objeto es un Observable
|
|
264
|
+
* @param items Elementos a verificar
|
|
265
|
+
* @returns {boolean} true si es Observable, false en caso contrario
|
|
266
|
+
*/
|
|
65
267
|
checkIfObservable(items: any): boolean;
|
|
268
|
+
/**
|
|
269
|
+
* @description Maneja el evento de foco
|
|
270
|
+
* @param e Evento de foco
|
|
271
|
+
*/
|
|
66
272
|
eventFocus(e: any): void;
|
|
273
|
+
/**
|
|
274
|
+
* @description Maneja el evento de pérdida de foco
|
|
275
|
+
* @param e Evento de pérdida de foco
|
|
276
|
+
*/
|
|
67
277
|
eventBlur(e: any): void;
|
|
278
|
+
/**
|
|
279
|
+
* @description Establece el foco en el componente
|
|
280
|
+
*/
|
|
68
281
|
focus: () => void;
|
|
282
|
+
/**
|
|
283
|
+
* @description Maneja el evento de actualización
|
|
284
|
+
*/
|
|
69
285
|
onRefresh(): void;
|
|
286
|
+
/**
|
|
287
|
+
* @description Cierra el dropdown
|
|
288
|
+
*/
|
|
70
289
|
close: () => void;
|
|
71
290
|
ngOnInit(): void;
|
|
72
291
|
setAll(): void;
|