@libs-ui/components-datetime-input 0.2.306-4 → 0.2.306-6

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.
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuY3Rpb24tY29udHJvbC1ldmVudC5pbnRlcmZhY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzLXVpL2NvbXBvbmVudHMvZGF0ZXRpbWUvaW5wdXQvc3JjL2ludGVyZmFjZXMvZnVuY3Rpb24tY29udHJvbC1ldmVudC5pbnRlcmZhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElJbnB1dEZ1bmN0aW9uQ29udHJvbEV2ZW50IH0gZnJvbSBcIkBsaWJzLXVpL2NvbXBvbmVudHMtaW5wdXRzLWlucHV0XCI7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSU11bHRpRnVuY3Rpb25EYXRlSW5wdXRDb250cm9sRXZlbnQge1xuICBmcm9tSG91cnM/OiBJSW5wdXRGdW5jdGlvbkNvbnRyb2xFdmVudDtcbiAgdG9Ib3Vycz86IElJbnB1dEZ1bmN0aW9uQ29udHJvbEV2ZW50O1xuICBmcm9tTWludXRlcz86IElJbnB1dEZ1bmN0aW9uQ29udHJvbEV2ZW50O1xuICB0b01pbnV0ZXM/OiBJSW5wdXRGdW5jdGlvbkNvbnRyb2xFdmVudDtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBJRGF0ZVRpbWVJbnB1dEZ1bmN0aW9uQ29udHJvbEV2ZW50IHtcbiAgY2hlY2tJc1ZhbGlkOiAoKSA9PiBQcm9taXNlPGJvb2xlYW4+O1xuICByZXNldEVycm9yOiAocmVzZXRBbGw/OiBib29sZWFuKSA9PiBQcm9taXNlPHZvaWQ+O1xuICBzZXRNZXNzYWdlRXJyb3I6IChtZXNzYWdlOiBzdHJpbmcgfCB1bmRlZmluZWQpID0+IFByb21pc2U8dm9pZD47XG59Il19
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuY3Rpb24tY29udHJvbC1ldmVudC5pbnRlcmZhY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzLXVpL2NvbXBvbmVudHMvZGF0ZXRpbWUvaW5wdXQvc3JjL2ludGVyZmFjZXMvZnVuY3Rpb24tY29udHJvbC1ldmVudC5pbnRlcmZhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElJbnB1dEZ1bmN0aW9uQ29udHJvbEV2ZW50IH0gZnJvbSAnQGxpYnMtdWkvY29tcG9uZW50cy1pbnB1dHMtaW5wdXQnO1xuXG5leHBvcnQgaW50ZXJmYWNlIElNdWx0aUZ1bmN0aW9uRGF0ZUlucHV0Q29udHJvbEV2ZW50IHtcbiAgZnJvbUhvdXJzPzogSUlucHV0RnVuY3Rpb25Db250cm9sRXZlbnQ7XG4gIHRvSG91cnM/OiBJSW5wdXRGdW5jdGlvbkNvbnRyb2xFdmVudDtcbiAgZnJvbU1pbnV0ZXM/OiBJSW5wdXRGdW5jdGlvbkNvbnRyb2xFdmVudDtcbiAgdG9NaW51dGVzPzogSUlucHV0RnVuY3Rpb25Db250cm9sRXZlbnQ7XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgSURhdGVUaW1lSW5wdXRGdW5jdGlvbkNvbnRyb2xFdmVudCB7XG4gIGNoZWNrSXNWYWxpZDogKCkgPT4gUHJvbWlzZTxib29sZWFuPjtcbiAgcmVzZXRFcnJvcjogKHJlc2V0QWxsPzogYm9vbGVhbikgPT4gUHJvbWlzZTx2b2lkPjtcbiAgc2V0TWVzc2FnZUVycm9yOiAobWVzc2FnZTogc3RyaW5nIHwgdW5kZWZpbmVkKSA9PiBQcm9taXNlPHZvaWQ+O1xufVxuIl19
@@ -1,4 +1,4 @@
1
1
  export * from './input.interface';
2
2
  export * from './function-control-event.interface';
3
3
  export * from './valid.interface';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzLXVpL2NvbXBvbmVudHMvZGF0ZXRpbWUvaW5wdXQvc3JjL2ludGVyZmFjZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLG9DQUFvQyxDQUFDO0FBQ25ELGNBQWMsbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2lucHV0LmludGVyZmFjZSc7XG5leHBvcnQgKiBmcm9tICcuL2Z1bmN0aW9uLWNvbnRyb2wtZXZlbnQuaW50ZXJmYWNlJztcbmV4cG9ydCAqIGZyb20gJy4vdmFsaWQuaW50ZXJmYWNlJzsiXX0=
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzLXVpL2NvbXBvbmVudHMvZGF0ZXRpbWUvaW5wdXQvc3JjL2ludGVyZmFjZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLG9DQUFvQyxDQUFDO0FBQ25ELGNBQWMsbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2lucHV0LmludGVyZmFjZSc7XG5leHBvcnQgKiBmcm9tICcuL2Z1bmN0aW9uLWNvbnRyb2wtZXZlbnQuaW50ZXJmYWNlJztcbmV4cG9ydCAqIGZyb20gJy4vdmFsaWQuaW50ZXJmYWNlJztcbiJdfQ==
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQuaW50ZXJmYWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy11aS9jb21wb25lbnRzL2RhdGV0aW1lL2lucHV0L3NyYy9pbnRlcmZhY2VzL2lucHV0LmludGVyZmFjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgV3JpdGFibGVTaWduYWwgfSBmcm9tIFwiQGFuZ3VsYXIvY29yZVwiO1xuXG5leHBvcnQgaW50ZXJmYWNlIElDaGFuZ2VGb2N1c0lucHV0IHtcbiAgaG91cnNGb2N1cz86IGJvb2xlYW47XG4gIG1pbnV0ZXNGb2N1cz86IGJvb2xlYW47XG4gIGNoYW5nZUJvcmRlcj86IGJvb2xlYW47XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgSVNlbGVjdGVkTXVsdGlUaW1lIHtcbiAgZnJvbT86IFdyaXRhYmxlU2lnbmFsPElTZWxlY3RlZFRpbWVJbnB1dD4sXG4gIHRvPzogV3JpdGFibGVTaWduYWw8SVNlbGVjdGVkVGltZUlucHV0PlxufVxuXG5leHBvcnQgaW50ZXJmYWNlIElTZWxlY3RlZFRpbWVJbnB1dCB7XG4gIGhvdXJzPzogc3RyaW5nIHwgbnVtYmVyLFxuICBtaW51dGU/OiBzdHJpbmcgfCBudW1iZXJcbn1cbiJdfQ==
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQuaW50ZXJmYWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy11aS9jb21wb25lbnRzL2RhdGV0aW1lL2lucHV0L3NyYy9pbnRlcmZhY2VzL2lucHV0LmludGVyZmFjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgV3JpdGFibGVTaWduYWwgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuZXhwb3J0IGludGVyZmFjZSBJQ2hhbmdlRm9jdXNJbnB1dCB7XG4gIGhvdXJzRm9jdXM/OiBib29sZWFuO1xuICBtaW51dGVzRm9jdXM/OiBib29sZWFuO1xuICBjaGFuZ2VCb3JkZXI/OiBib29sZWFuO1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIElTZWxlY3RlZE11bHRpVGltZSB7XG4gIGZyb20/OiBXcml0YWJsZVNpZ25hbDxJU2VsZWN0ZWRUaW1lSW5wdXQ+O1xuICB0bz86IFdyaXRhYmxlU2lnbmFsPElTZWxlY3RlZFRpbWVJbnB1dD47XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgSVNlbGVjdGVkVGltZUlucHV0IHtcbiAgaG91cnM/OiBzdHJpbmcgfCBudW1iZXI7XG4gIG1pbnV0ZT86IHN0cmluZyB8IG51bWJlcjtcbn1cbiJdfQ==
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWQuaW50ZXJmYWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy11aS9jb21wb25lbnRzL2RhdGV0aW1lL2lucHV0L3NyYy9pbnRlcmZhY2VzL3ZhbGlkLmludGVyZmFjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSU1lc3NhZ2VUcmFuc2xhdGUgfSBmcm9tIFwiQGxpYnMtdWkvaW50ZXJmYWNlcy10eXBlc1wiXG5leHBvcnQgaW50ZXJmYWNlIElWYWxpZENvbXBhcmUgZXh0ZW5kcyBJTWVzc2FnZVRyYW5zbGF0ZSB7XG4gIGlzQ2hlY2tFcnJvclRpbWVFbmRHcmVhdGVyVGltZVN0YXJ0PzogYm9vbGVhbjtcbiAgaXNDaGVja0Vycm9yVGltZUR1cGxpY2F0ZT86IGJvb2xlYW47XG59Il19
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWQuaW50ZXJmYWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy11aS9jb21wb25lbnRzL2RhdGV0aW1lL2lucHV0L3NyYy9pbnRlcmZhY2VzL3ZhbGlkLmludGVyZmFjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSU1lc3NhZ2VUcmFuc2xhdGUgfSBmcm9tICdAbGlicy11aS9pbnRlcmZhY2VzLXR5cGVzJztcbmV4cG9ydCBpbnRlcmZhY2UgSVZhbGlkQ29tcGFyZSBleHRlbmRzIElNZXNzYWdlVHJhbnNsYXRlIHtcbiAgaXNDaGVja0Vycm9yVGltZUVuZEdyZWF0ZXJUaW1lU3RhcnQ/OiBib29sZWFuO1xuICBpc0NoZWNrRXJyb3JUaW1lRHVwbGljYXRlPzogYm9vbGVhbjtcbn1cbiJdfQ==
@@ -51,7 +51,6 @@ const CompareTime = (cloneDeepTime, time) => {
51
51
  return false;
52
52
  };
53
53
 
54
- /* eslint-disable @typescript-eslint/no-explicit-any */
55
54
  class LibsUiComponentsDatetimeInputComponent {
56
55
  // #region PROPERTY
57
56
  hours = signal(undefined);
@@ -121,12 +120,15 @@ class LibsUiComponentsDatetimeInputComponent {
121
120
  // }
122
121
  // }
123
122
  ngOnInit() {
124
- this.outFunctionsControl.emit({
123
+ this.outFunctionsControl.emit(this.FunctionsControl);
124
+ this.checkValid(true);
125
+ }
126
+ get FunctionsControl() {
127
+ return {
125
128
  checkIsValid: this.checkValid.bind(this),
126
129
  setMessageError: this.setMessageError.bind(this),
127
130
  resetError: this.resetError.bind(this),
128
- });
129
- this.checkValid(true);
131
+ };
130
132
  }
131
133
  formatSelectedTime(data) {
132
134
  const fromData = data.from?.();
@@ -171,7 +173,7 @@ class LibsUiComponentsDatetimeInputComponent {
171
173
  current.minutesFocus = false;
172
174
  return current;
173
175
  });
174
- if (!get(this, type) && get(this, type) !== 0) {
176
+ if (!get(this.getInstance(), type) && get(this.getInstance(), type) !== 0) {
175
177
  this.isZero.set(false);
176
178
  }
177
179
  return;
@@ -190,14 +192,14 @@ class LibsUiComponentsDatetimeInputComponent {
190
192
  });
191
193
  }
192
194
  });
193
- if (Number(get(this, type)) === 0) {
194
- get(this, type, undefined, true).set('00');
195
- target.value = get(this, type);
195
+ if (Number(get(this.getInstance(), type)) === 0) {
196
+ get(this.getInstance(), type, undefined, true).set('00');
197
+ target.value = get(this.getInstance(), type);
196
198
  return;
197
199
  }
198
- if (Number(get(this, type)) && Number(get(this, type)) <= 2 && Number(get(this, type)) !== 0) {
199
- get(this, type, undefined, true).set(`0${Number(get(this, type))}`);
200
- target.value = get(this, type);
200
+ if (Number(get(this.getInstance(), type)) && Number(get(this.getInstance(), type)) <= 2 && Number(get(this.getInstance(), type)) !== 0) {
201
+ get(this.getInstance(), type, undefined, true).set(`0${Number(get(this.getInstance(), type))}`);
202
+ target.value = get(this.getInstance(), type);
201
203
  }
202
204
  }
203
205
  handlerFocusAndBlurMinutes(event, type) {
@@ -208,7 +210,7 @@ class LibsUiComponentsDatetimeInputComponent {
208
210
  current.hoursFocus = false;
209
211
  return current;
210
212
  });
211
- if (!get(this, type) && get(this, type) !== 0) {
213
+ if (!get(this.getInstance(), type) && get(this.getInstance(), type) !== 0) {
212
214
  this.isZero.set(false);
213
215
  }
214
216
  return;
@@ -229,14 +231,14 @@ class LibsUiComponentsDatetimeInputComponent {
229
231
  });
230
232
  const eventInput = event.event;
231
233
  const target = eventInput.target;
232
- if (Number(get(this, type)) === 0) {
233
- get(this, type, undefined, true).set('00');
234
- target.value = get(this, type);
234
+ if (Number(get(this.getInstance(), type)) === 0) {
235
+ get(this.getInstance(), type, undefined, true).set('00');
236
+ target.value = get(this.getInstance(), type);
235
237
  return;
236
238
  }
237
- if (Number(get(this, type)) && Number(get(this, type)) <= 5 && Number(get(this, type)) !== 0) {
238
- get(this, type, undefined, true).set(`0${Number(get(this, type))}`);
239
- target.value = get(this, type);
239
+ if (Number(get(this.getInstance(), type)) && Number(get(this.getInstance(), type)) <= 5 && Number(get(this.getInstance(), type)) !== 0) {
240
+ get(this.getInstance(), type, undefined, true).set(`0${Number(get(this.getInstance(), type))}`);
241
+ target.value = get(this.getInstance(), type);
240
242
  }
241
243
  }
242
244
  handlerValueHoursChange(data, type) {
@@ -244,33 +246,33 @@ class LibsUiComponentsDatetimeInputComponent {
244
246
  if (data === 0) {
245
247
  this.isZero.set(true);
246
248
  }
247
- if (this.isSelected() || Number(get(this, type)) === Number(data)) {
248
- if (data === 0 && !this.keyCodeBackspace() && get(this, type) !== '00') {
249
+ if (this.isSelected() || Number(get(this.getInstance(), type)) === Number(data)) {
250
+ if (data === 0 && !this.keyCodeBackspace() && get(this.getInstance(), type) !== '00') {
249
251
  this.checkFocus(type);
250
252
  }
251
253
  return;
252
254
  }
253
255
  if (data === undefined) {
254
- get(this, type, undefined, true).set(data);
256
+ get(this.getInstance(), type, undefined, true).set(data);
255
257
  this.isZero.set(false);
256
258
  this.applyTime();
257
259
  return;
258
260
  }
259
- get(this, type, undefined, true).set(data);
261
+ get(this.getInstance(), type, undefined, true).set(data);
260
262
  if (data === 0) {
261
- get(this, type, undefined, true).set('0');
263
+ get(this.getInstance(), type, undefined, true).set('0');
262
264
  }
263
265
  this.isSelected.set(false);
264
266
  this.checkValid(this.ignoreCheckValidWhenInput());
265
267
  if (data > 2 && data !== 0 && `${data}`.length < 2) {
266
- get(this, type, undefined, true).set(`0${data}`);
268
+ get(this.getInstance(), type, undefined, true).set(`0${data}`);
267
269
  this.checkFocus(type);
268
270
  }
269
271
  if (`${data}`.length === 2) {
270
272
  this.checkFocus(type);
271
273
  }
272
274
  if (data <= 2 && data > 0 && this.isZero() && `${data}`.length === 1) {
273
- get(this, type, undefined, true).set(`0${data}`);
275
+ get(this.getInstance(), type, undefined, true).set(`0${data}`);
274
276
  this.checkFocus(type);
275
277
  }
276
278
  if (data !== 0) {
@@ -283,21 +285,21 @@ class LibsUiComponentsDatetimeInputComponent {
283
285
  if (data === 0) {
284
286
  this.isZero.set(true);
285
287
  }
286
- if (this.isSelected() || Number(get(this, type)) === Number(data)) {
287
- if (data === 0 && !this.keyCodeBackspace() && get(this, type) !== '00') {
288
+ if (this.isSelected() || Number(get(this.getInstance(), type)) === Number(data)) {
289
+ if (data === 0 && !this.keyCodeBackspace() && get(this.getInstance(), type) !== '00') {
288
290
  this.checkFocus(type);
289
291
  }
290
292
  return;
291
293
  }
292
294
  if (data === undefined) {
293
- get(this, type, undefined, true).set(data);
295
+ get(this.getInstance(), type, undefined, true).set(data);
294
296
  this.isZero.set(false);
295
297
  this.applyTime();
296
298
  return;
297
299
  }
298
- get(this, type, undefined, true).set(data);
300
+ get(this.getInstance(), type, undefined, true).set(data);
299
301
  if (data === 0) {
300
- get(this, type, undefined, true).set('0');
302
+ get(this.getInstance(), type, undefined, true).set('0');
301
303
  }
302
304
  this.isSelected.set(false);
303
305
  this.checkValid(this.ignoreCheckValidWhenInput());
@@ -305,11 +307,11 @@ class LibsUiComponentsDatetimeInputComponent {
305
307
  this.checkFocus(type);
306
308
  }
307
309
  if (data > 5 && `${data}`.length < 2) {
308
- get(this, type, undefined, true).set(`0${data}`);
310
+ get(this.getInstance(), type, undefined, true).set(`0${data}`);
309
311
  this.checkFocus(type);
310
312
  }
311
313
  if (data <= 5 && data > 0 && this.isZero() && `${data}`.length === 1) {
312
- get(this, type, undefined, true).set(`0${data}`);
314
+ get(this.getInstance(), type, undefined, true).set(`0${data}`);
313
315
  this.checkFocus(type);
314
316
  }
315
317
  if (data !== 0) {
@@ -438,7 +440,7 @@ class LibsUiComponentsDatetimeInputComponent {
438
440
  eventInput(event, type) {
439
441
  this.isSelected.set(false);
440
442
  this.writeDrownFromKeyboard.set(true);
441
- if (event.keyCode === 96 && Number(get(this, type)) === 0) {
443
+ if (event.keyCode === 96 && Number(get(this.getInstance(), type)) === 0) {
442
444
  this.isZero.set(true);
443
445
  }
444
446
  if (event.keyCode !== 8) {
@@ -520,12 +522,15 @@ class LibsUiComponentsDatetimeInputComponent {
520
522
  async setMessageError(message) {
521
523
  this.otherError.set({ message });
522
524
  }
525
+ getInstance() {
526
+ return this;
527
+ }
523
528
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LibsUiComponentsDatetimeInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
524
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: LibsUiComponentsDatetimeInputComponent, isStandalone: true, selector: "libs_ui-components-datetime-input", inputs: { multiTime: { classPropertyName: "multiTime", publicName: "multiTime", isSignal: true, isRequired: false, transformFunction: null }, selectedTime: { classPropertyName: "selectedTime", publicName: "selectedTime", isSignal: true, isRequired: false, transformFunction: null }, classIncludeBetweenTime: { classPropertyName: "classIncludeBetweenTime", publicName: "classIncludeBetweenTime", isSignal: true, isRequired: false, transformFunction: null }, fromAndToDateLabel: { classPropertyName: "fromAndToDateLabel", publicName: "fromAndToDateLabel", isSignal: true, isRequired: false, transformFunction: null }, resetInput: { classPropertyName: "resetInput", publicName: "resetInput", isSignal: true, isRequired: false, transformFunction: null }, disable: { classPropertyName: "disable", publicName: "disable", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, labelConfig: { classPropertyName: "labelConfig", publicName: "labelConfig", isSignal: true, isRequired: false, transformFunction: null }, validRequired: { classPropertyName: "validRequired", publicName: "validRequired", isSignal: true, isRequired: false, transformFunction: null }, validCompareTime: { classPropertyName: "validCompareTime", publicName: "validCompareTime", isSignal: true, isRequired: false, transformFunction: null }, ignoreBorder: { classPropertyName: "ignoreBorder", publicName: "ignoreBorder", isSignal: true, isRequired: false, transformFunction: null }, ignoreMultiIcon: { classPropertyName: "ignoreMultiIcon", publicName: "ignoreMultiIcon", isSignal: true, isRequired: false, transformFunction: null }, classDatePickerInput: { classPropertyName: "classDatePickerInput", publicName: "classDatePickerInput", isSignal: true, isRequired: false, transformFunction: null }, ignoreShowValid: { classPropertyName: "ignoreShowValid", publicName: "ignoreShowValid", isSignal: true, isRequired: false, transformFunction: null }, ignoreCheckValidWhenInput: { classPropertyName: "ignoreCheckValidWhenInput", publicName: "ignoreCheckValidWhenInput", isSignal: true, isRequired: false, transformFunction: null }, ignoreAllowEqualTime: { classPropertyName: "ignoreAllowEqualTime", publicName: "ignoreAllowEqualTime", isSignal: true, isRequired: false, transformFunction: null }, emitDataSingleDataWhenUseMultiTime: { classPropertyName: "emitDataSingleDataWhenUseMultiTime", publicName: "emitDataSingleDataWhenUseMultiTime", isSignal: true, isRequired: false, transformFunction: null }, classIncludeInput: { classPropertyName: "classIncludeInput", publicName: "classIncludeInput", isSignal: true, isRequired: false, transformFunction: null }, showBorderError: { classPropertyName: "showBorderError", publicName: "showBorderError", isSignal: true, isRequired: false, transformFunction: null }, defaultHeight: { classPropertyName: "defaultHeight", publicName: "defaultHeight", isSignal: true, isRequired: false, transformFunction: null }, ignoreWithDefault: { classPropertyName: "ignoreWithDefault", publicName: "ignoreWithDefault", isSignal: true, isRequired: false, transformFunction: null }, isEmitRealTime: { classPropertyName: "isEmitRealTime", publicName: "isEmitRealTime", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { outEmitSingleTime: "outEmitSingleTime", outEmitMultiTime: "outEmitMultiTime", outClickButtonLabel: "outClickButtonLabel", outSwitchEventLabel: "outSwitchEventLabel", outLabelRightClick: "outLabelRightClick", outFunctionsControl: "outFunctionsControl", outEmitValid: "outEmitValid", outResetTime: "outResetTime", outEmitRealTime: "outEmitRealTime" }, ngImport: i0, template: "@if (labelConfig(); as labelConfig) {\n <libs_ui-components-label [classInclude]=\"labelConfig.classInclude\"\n [labelLeft]=\"labelConfig.labelLeft\"\n [labelLeftClass]=\"labelConfig.labelLeftClass\"\n [required]=\"labelConfig.required \"\n [description]=\"labelConfig.description\"\n [descriptionClass]=\"labelConfig.descriptionClass\"\n [labelRight]=\"labelConfig.labelRight\"\n [labelRightClass]=\"labelConfig.labelRightClass\"\n [onlyShowCount]=\"labelConfig.onlyShowCount\"\n [buttonsLeft]=\"labelConfig.buttonsLeft\"\n [disableButtonsLeft]=\" labelConfig.disableButtonsLeft\"\n [buttonsRight]=\"labelConfig.buttonsRight\"\n [disableButtonsRight]=\" labelConfig.disableButtonsRight\"\n [hasToggle]=\"labelConfig.hasToggle\"\n [toggleActive]=\"labelConfig.toggleActive\"\n [toggleDisable]=\" labelConfig.toggleDisable\"\n [popover]=\"labelConfig.popover\"\n [iconPopoverClass]=\"labelConfig.iconPopoverClass\"\n [onlyShowCount]=\"labelConfig.onlyShowCount\"\n [limitLength]=\"labelConfig.limitLength\"\n [count]=\"labelConfig.count\"\n (outClickButton)=\"handlerClickButtonLabel($event)\"\n (outSwitchEvent)=\"handlerSwitchLabel($event)\"\n (outLabelRightClick)=\"handlerEventLabelRightLabel()\" />\n}\n<div class=\"flex items-baseline\">\n <div class=\" libs-ui-date-time-input {{ classDatePickerInput() ?? '' }} relative\"\n [class.!w-[123px]]=\"!ignoreWithDefault() && resetInput() && !multiTime()\"\n [class.!w-[155px]]=\"!ignoreWithDefault() && !resetInput() && multiTime()\"\n [class.!w-[99px]]=\"!ignoreWithDefault() && !resetInput() && !multiTime()\"\n [class.!w-[179px]]=\"!ignoreWithDefault() && resetInput() && multiTime()\"\n [class.!bg-[#f8f9fa]]=\"readonly()\"\n [class.libs-ui-border-general]=\"!isErrorRequired() && !isErrorMultiValidCompareTime() && !ignoreBorder()\"\n [class.!border]=\"changeBorderFocus().changeBorder && !ignoreBorder() && !(isErrorRequired() || isErrorMultiValidCompareTime())\"\n [class.!border-[1px]]=\"changeBorderFocus().changeBorder && !ignoreBorder() && !(isErrorRequired() || isErrorMultiValidCompareTime())\"\n [class.!border-[#4e8cf7]]=\"changeBorderFocus().changeBorder && !ignoreBorder() && !(isErrorRequired() || isErrorMultiValidCompareTime())\"\n [class.libs-ui-border-error-general]=\"(isErrorRequired() || isErrorMultiValidCompareTime() || showBorderError()) && !ignoreBorder()\">\n <div class=\"pr-[8px] pl-[16px] h-full flex items-center\">\n <i class=\"libs-ui-icon-clock text-[14px] text-[#9ca2ad]\"\n [class.opacity-0.5]=\"disable()\"></i>\n </div>\n <div class=\"flex items-baseline\">\n <div [class.!w-[16px]]=\"hours()\"\n [class.!w-[18px]]=\"!hours()\">\n <libs_ui-components-inputs-input\n classInclude=\"!p-0 w-full !border-none text-center text-[#333333] {{ classIncludeInput() }}\"\n [dataType]=\"'int'\"\n [autoAddZeroLessThan10InTypeInt]=\"true\"\n [emitEmptyInDataTypeNumber]=\"true\"\n [disable]=\"disable()\"\n [defaultHeight]=\"defaultHeight()\"\n [readonly]=\"readonly()\"\n [maxValueNumber]=\"23\"\n [minValueNumber]=\"0\"\n [value]=\"hours() || ''\"\n [placeholder]=\"'hh'\"\n [focusTimeOut]=\"0\"\n (outInputEvent)=\"eventInput($event,'hours')\"\n (outChange)=\"handlerValueHoursChange($event, 'hours')\"\n (outFocusAndBlurEvent)=\"handlerFocusAndBlur($event,'hours')\"\n (outFunctionsControl)=\"handlerFocus($event,'fromHours')\"\n [maxLength]=\"2\" />\n </div>\n <div class=\"libs-ui-font-h4r flex items-center \"\n [class.!text-[#9ca2ad]]=\"!hours() && !minutes()\"\n [class.!text-[#071631]]=\"hours() || minutes()\"\n [class.opacity-0.5]=\"disable()\">&colon;</div>\n <div [class.w-[16px]]=\"minutes()\"\n [class.w-[28px]]=\"!minutes()\">\n\n <libs_ui-components-inputs-input\n classInclude=\"w-full !p-0 !border-none text-center text-[#333333] {{ classIncludeInput() }}\"\n [dataType]=\"'int'\"\n [disable]=\"disable()\"\n [defaultHeight]=\"defaultHeight()\"\n [readonly]=\"readonly()\"\n [placeholder]=\"'mm'\"\n [autoAddZeroLessThan10InTypeInt]=\"true\"\n [emitEmptyInDataTypeNumber]=\"true\"\n [maxValueNumber]=\"59\"\n [focusTimeOut]=\"0\"\n (outInputEvent)=\"eventInput($event,'minutes')\"\n (outFunctionsControl)=\"handlerFocus($event,'fromMinutes')\"\n (outFocusAndBlurEvent)=\"handlerFocusAndBlurMinutes($event,'minutes')\"\n (outChange)=\"handlerValueMinutesChange($event, 'minutes')\"\n [value]=\"minutes() || ''\"\n [maxLength]=\"2\" />\n </div>\n </div>\n @if (multiTime()) {\n <div class=\"ml-[4px] mr-[3px] h-full flex items-center pt-[1px] libs-ui-font-h6r\"\n [class.text-[#9ca2ad]]=\"!hours() && !minutes() && !toHours() && !toMinutes()\"\n [class.text-[#071631]]=\"hours() || minutes() || toHours() || toMinutes()\">\n -\n </div>\n <div class=\"flex items-baseline\">\n <div [class.!w-[16px]]=\"toHours()\"\n [class.!w-[18px]]=\"!toHours()\">\n <libs_ui-components-inputs-input\n classInclude=\"w-full !p-0 !border-none text-center text-[#333333] {{ classIncludeInput() }}\"\n [dataType]=\"'int'\"\n [disable]=\"disable()\"\n [defaultHeight]=\"defaultHeight()\"\n [readonly]=\"readonly()\"\n [maxValueNumber]=\"23\"\n [minValueNumber]=\"0\"\n [autoAddZeroLessThan10InTypeInt]=\"true\"\n [emitEmptyInDataTypeNumber]=\"true\"\n [value]=\"toHours() || ''\"\n [placeholder]=\"'hh'\"\n [focusTimeOut]=\"0\"\n (outInputEvent)=\"eventInput($event,'toHours')\"\n (outFunctionsControl)=\"handlerFocus($event,'toHours')\"\n (outFocusAndBlurEvent)=\"handlerFocusAndBlur($event,'toHours')\"\n (outChange)=\"handlerValueHoursChange($event, 'toHours')\"\n [maxLength]=\"2\" />\n </div>\n <div class=\"libs-ui-font-h4r flex items-center \"\n [class.!text-[#9ca2ad]]=\"!toHours() && !toMinutes()\"\n [class.!text-[#071631]]=\"toHours() || toMinutes()\"\n [class.opacity-0.5]=\"disable()\">&colon;</div>\n <div [class.!w-[16px]]=\"toMinutes()\"\n [class.!w-[28px]]=\"!toMinutes()\">\n <libs_ui-components-inputs-input\n classInclude=\"w-full !p-0 !border-none text-center text-[#333333] {{ classIncludeInput() }}\"\n [dataType]=\"'int'\"\n [defaultHeight]=\"defaultHeight()\"\n [disable]=\"disable()\"\n [readonly]=\"readonly()\"\n [placeholder]=\"'mm'\"\n [autoAddZeroLessThan10InTypeInt]=\"true\"\n [emitEmptyInDataTypeNumber]=\"true\"\n [maxValueNumber]=\"59\"\n [focusTimeOut]=\"0\"\n [value]=\"toMinutes() || ''\"\n [maxLength]=\"2\"\n (outInputEvent)=\"eventInput($event,'toMinutes')\"\n (outFunctionsControl)=\"handlerFocus($event,'toMinutes')\"\n (outFocusAndBlurEvent)=\"handlerFocusAndBlurMinutes($event,'toMinutes')\"\n (outChange)=\"handlerValueMinutesChange($event, 'toMinutes')\" />\n </div>\n </div>\n }\n @if (resetInput() && (hours() || minutes()) && !disable() && !readonly()) {\n <div class=\"h-full items-center flex ml-[2px] cursor-pointer absolute right-[10px] top-0\"\n (click)=\"handlerClickClear()\">\n <i class=\"libs-ui-icon-close-circle-solid !before:text-[8px] text-[#cdd0d6]\"></i>\n </div>\n }\n </div>\n</div>\n@if (!ignoreShowValid() && !isErrorMultiValidCompareTime() &&(isErrorMultiRequired() || isErrorRequired()) && !disable() && !readonly()) {\n <div class=\"flex items-center mt-[8px] bottom-0\">\n <span [class]=\"'libs-ui-message-error libs-ui-font-h7r libs-ui-text-error'\"\n [innerHtml]=\"(validRequired()?.message || 'i18n_valid_empty_message')| translate:validRequired()?.interpolateParams\"></span>\n </div>\n}\n@if (!ignoreShowValid() && isErrorMultiValidCompareTime() && !disable() && !readonly()) {\n <div class=\"flex items-center mt-[8px] bottom-0\">\n <span class=\"libs-ui-message-error libs-ui-font-h7r libs-ui-text-error\"\n [innerHtml]=\"(validCompareTime()?.message || 'i18n_invalid_end_date_selected')| translate:validCompareTime()?.interpolateParams\"></span>\n </div>\n}\n\n@if (!ignoreShowValid() && !isErrorMultiValidCompareTime() && !isErrorMultiRequired() && !isErrorRequired() && !disable() && !readonly() && otherError()?.message) {\n <div class=\"flex items-center mt-[8px] bottom-0\">\n <span class=\"libs-ui-message-error libs-ui-font-h7r libs-ui-text-error\"\n [innerHtml]=\"(otherError()?.message || ' ') | translate:otherError()?.interpolateParams\"></span>\n </div>\n}\n", styles: [".libs-ui-date-time-input{display:flex;align-items:center;height:32px;border-radius:4px;background-color:#fff}:host ::ng-deep ::-webkit-input-placeholder{color:#9ca2ad!important;text-indent:0}:host ::ng-deep ::-moz-placeholder{color:#9ca2ad!important;text-indent:0}:host ::ng-deep :-ms-input-placeholder{color:#9ca2ad!important;text-indent:0}:host ::ng-deep :-moz-placeholder{color:#9ca2ad!important;text-indent:0}\n"], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i1.TranslatePipe, name: "translate" }, { kind: "component", type: LibsUiComponentsLabelComponent, selector: "libs_ui-components-label", inputs: ["iconPopoverClass", "classInclude", "labelLeft", "labelLeftClass", "labelLeftBehindToggleButton", "popover", "required", "buttonsLeft", "disableButtonsLeft", "buttonsRight", "disableButtonsRight", "labelRight", "labelRightClass", "labelRightRequired", "hasToggle", "toggleSize", "toggleActive", "toggleDisable", "description", "descriptionClass", "buttonsDescription", "disableButtonsDescription", "buttonsDescriptionContainerClass", "onlyShowCount", "zIndexPopover", "timerDestroyPopover", "count", "limitLength"], outputs: ["outClickButton", "outSwitchEvent", "outLabelRightClick", "outLabelLeftClick"] }, { kind: "component", type: LibsUiComponentsInputsInputComponent, selector: "libs_ui-components-inputs-input", inputs: ["tagInput", "dataType", "typeInput", "modeInput", "tabInsertContentTagInput", "textAreaEnterNotNewLine", "emitEmptyInDataTypeNumber", "keepZeroInTypeInt", "autoAddZeroLessThan10InTypeInt", "ignoreBlockInputMaxValue", "maxValueNumber", "minValueNumber", "fixedFloat", "acceptNegativeValue", "valueUpDownNumber", "classInclude", "maxLength", "readonly", "disable", "noBorder", "backgroundNone", "borderError", "useColorModeExist", "placeholder", "keepPlaceholderOnly", "value", "autoRemoveEmoji", "defaultHeight", "minHeightTextArea", "maxHeightTextArea", "focusTimeOut", "selectAllTimeOut", "blurTimeOut", "zIndexPopoverContent", "classContainerInput", "showCount", "ignoreStopPropagationEvent", "resize", "templateLeftBottomInput", "templateRightBottomInput", "classContainerBottomInput", "ignoreWidthInput100", "iframeTextareaCustomStyle", "iconLeftClass", "popoverContentIconLeft", "iconRightClass", "popoverContentIconRight", "resetAutoCompletePassword", "acceptOnlyClickIcon", "setIconRightColorSameColorDisableReadOnly", "onlyAcceptNegativeValue", "maxLengthNumberCount", "focusInput"], outputs: ["maxValueNumberChange", "minValueNumberChange", "fixedFloatChange", "acceptNegativeValueChange", "maxLengthChange", "valueChange", "maxLengthNumberCountChange", "outHeightAreaChange", "outChange", "outFocusAndBlurEvent", "outEnterEvent", "outInputEvent", "outIconLeft", "outIconRight", "outFunctionsControl", "outFilesDrop", "outFileDrop", "outChangeValueByButtonUpDown"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
529
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: LibsUiComponentsDatetimeInputComponent, isStandalone: true, selector: "libs_ui-components-datetime-input", inputs: { multiTime: { classPropertyName: "multiTime", publicName: "multiTime", isSignal: true, isRequired: false, transformFunction: null }, selectedTime: { classPropertyName: "selectedTime", publicName: "selectedTime", isSignal: true, isRequired: false, transformFunction: null }, classIncludeBetweenTime: { classPropertyName: "classIncludeBetweenTime", publicName: "classIncludeBetweenTime", isSignal: true, isRequired: false, transformFunction: null }, fromAndToDateLabel: { classPropertyName: "fromAndToDateLabel", publicName: "fromAndToDateLabel", isSignal: true, isRequired: false, transformFunction: null }, resetInput: { classPropertyName: "resetInput", publicName: "resetInput", isSignal: true, isRequired: false, transformFunction: null }, disable: { classPropertyName: "disable", publicName: "disable", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, labelConfig: { classPropertyName: "labelConfig", publicName: "labelConfig", isSignal: true, isRequired: false, transformFunction: null }, validRequired: { classPropertyName: "validRequired", publicName: "validRequired", isSignal: true, isRequired: false, transformFunction: null }, validCompareTime: { classPropertyName: "validCompareTime", publicName: "validCompareTime", isSignal: true, isRequired: false, transformFunction: null }, ignoreBorder: { classPropertyName: "ignoreBorder", publicName: "ignoreBorder", isSignal: true, isRequired: false, transformFunction: null }, ignoreMultiIcon: { classPropertyName: "ignoreMultiIcon", publicName: "ignoreMultiIcon", isSignal: true, isRequired: false, transformFunction: null }, classDatePickerInput: { classPropertyName: "classDatePickerInput", publicName: "classDatePickerInput", isSignal: true, isRequired: false, transformFunction: null }, ignoreShowValid: { classPropertyName: "ignoreShowValid", publicName: "ignoreShowValid", isSignal: true, isRequired: false, transformFunction: null }, ignoreCheckValidWhenInput: { classPropertyName: "ignoreCheckValidWhenInput", publicName: "ignoreCheckValidWhenInput", isSignal: true, isRequired: false, transformFunction: null }, ignoreAllowEqualTime: { classPropertyName: "ignoreAllowEqualTime", publicName: "ignoreAllowEqualTime", isSignal: true, isRequired: false, transformFunction: null }, emitDataSingleDataWhenUseMultiTime: { classPropertyName: "emitDataSingleDataWhenUseMultiTime", publicName: "emitDataSingleDataWhenUseMultiTime", isSignal: true, isRequired: false, transformFunction: null }, classIncludeInput: { classPropertyName: "classIncludeInput", publicName: "classIncludeInput", isSignal: true, isRequired: false, transformFunction: null }, showBorderError: { classPropertyName: "showBorderError", publicName: "showBorderError", isSignal: true, isRequired: false, transformFunction: null }, defaultHeight: { classPropertyName: "defaultHeight", publicName: "defaultHeight", isSignal: true, isRequired: false, transformFunction: null }, ignoreWithDefault: { classPropertyName: "ignoreWithDefault", publicName: "ignoreWithDefault", isSignal: true, isRequired: false, transformFunction: null }, isEmitRealTime: { classPropertyName: "isEmitRealTime", publicName: "isEmitRealTime", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { outEmitSingleTime: "outEmitSingleTime", outEmitMultiTime: "outEmitMultiTime", outClickButtonLabel: "outClickButtonLabel", outSwitchEventLabel: "outSwitchEventLabel", outLabelRightClick: "outLabelRightClick", outFunctionsControl: "outFunctionsControl", outEmitValid: "outEmitValid", outResetTime: "outResetTime", outEmitRealTime: "outEmitRealTime" }, ngImport: i0, template: "@if (labelConfig(); as labelConfig) {\n <libs_ui-components-label\n [classInclude]=\"labelConfig.classInclude\"\n [labelLeft]=\"labelConfig.labelLeft\"\n [labelLeftClass]=\"labelConfig.labelLeftClass\"\n [required]=\"labelConfig.required\"\n [description]=\"labelConfig.description\"\n [descriptionClass]=\"labelConfig.descriptionClass\"\n [labelRight]=\"labelConfig.labelRight\"\n [labelRightClass]=\"labelConfig.labelRightClass\"\n [onlyShowCount]=\"labelConfig.onlyShowCount\"\n [buttonsLeft]=\"labelConfig.buttonsLeft\"\n [disableButtonsLeft]=\"labelConfig.disableButtonsLeft\"\n [buttonsRight]=\"labelConfig.buttonsRight\"\n [disableButtonsRight]=\"labelConfig.disableButtonsRight\"\n [hasToggle]=\"labelConfig.hasToggle\"\n [toggleActive]=\"labelConfig.toggleActive\"\n [toggleDisable]=\"labelConfig.toggleDisable\"\n [popover]=\"labelConfig.popover\"\n [iconPopoverClass]=\"labelConfig.iconPopoverClass\"\n [onlyShowCount]=\"labelConfig.onlyShowCount\"\n [limitLength]=\"labelConfig.limitLength\"\n [count]=\"labelConfig.count\"\n (outClickButton)=\"handlerClickButtonLabel($event)\"\n (outSwitchEvent)=\"handlerSwitchLabel($event)\"\n (outLabelRightClick)=\"handlerEventLabelRightLabel()\" />\n}\n<div class=\"flex items-baseline\">\n <div\n class=\" libs-ui-date-time-input {{ classDatePickerInput() ?? '' }} relative\"\n [class.!w-[123px]]=\"!ignoreWithDefault() && resetInput() && !multiTime()\"\n [class.!w-[155px]]=\"!ignoreWithDefault() && !resetInput() && multiTime()\"\n [class.!w-[99px]]=\"!ignoreWithDefault() && !resetInput() && !multiTime()\"\n [class.!w-[179px]]=\"!ignoreWithDefault() && resetInput() && multiTime()\"\n [class.!bg-[#f8f9fa]]=\"readonly()\"\n [class.libs-ui-border-general]=\"!isErrorRequired() && !isErrorMultiValidCompareTime() && !ignoreBorder()\"\n [class.!border]=\"changeBorderFocus().changeBorder && !ignoreBorder() && !(isErrorRequired() || isErrorMultiValidCompareTime())\"\n [class.!border-[1px]]=\"changeBorderFocus().changeBorder && !ignoreBorder() && !(isErrorRequired() || isErrorMultiValidCompareTime())\"\n [class.!border-[#4e8cf7]]=\"changeBorderFocus().changeBorder && !ignoreBorder() && !(isErrorRequired() || isErrorMultiValidCompareTime())\"\n [class.libs-ui-border-error-general]=\"(isErrorRequired() || isErrorMultiValidCompareTime() || showBorderError()) && !ignoreBorder()\">\n <div class=\"pr-[8px] pl-[16px] h-full flex items-center\">\n <i\n class=\"libs-ui-icon-clock text-[14px] text-[#9ca2ad]\"\n [class.opacity-0.5]=\"disable()\"></i>\n </div>\n <div class=\"flex items-baseline\">\n <div\n [class.!w-[16px]]=\"hours()\"\n [class.!w-[18px]]=\"!hours()\">\n <libs_ui-components-inputs-input\n classInclude=\"!p-0 w-full !border-none text-center text-[#333333] {{ classIncludeInput() }}\"\n [dataType]=\"'int'\"\n [autoAddZeroLessThan10InTypeInt]=\"true\"\n [emitEmptyInDataTypeNumber]=\"true\"\n [disable]=\"disable()\"\n [defaultHeight]=\"defaultHeight()\"\n [readonly]=\"readonly()\"\n [maxValueNumber]=\"23\"\n [minValueNumber]=\"0\"\n [value]=\"hours() || ''\"\n [placeholder]=\"'hh'\"\n [focusTimeOut]=\"0\"\n (outInputEvent)=\"eventInput($event, 'hours')\"\n (outChange)=\"handlerValueHoursChange($event, 'hours')\"\n (outFocusAndBlurEvent)=\"handlerFocusAndBlur($event, 'hours')\"\n (outFunctionsControl)=\"handlerFocus($event, 'fromHours')\"\n [maxLength]=\"2\" />\n </div>\n <div\n class=\"libs-ui-font-h4r flex items-center\"\n [class.!text-[#9ca2ad]]=\"!hours() && !minutes()\"\n [class.!text-[#071631]]=\"hours() || minutes()\"\n [class.opacity-0.5]=\"disable()\">\n &colon;\n </div>\n <div\n [class.w-[16px]]=\"minutes()\"\n [class.w-[28px]]=\"!minutes()\">\n <libs_ui-components-inputs-input\n classInclude=\"w-full !p-0 !border-none text-center text-[#333333] {{ classIncludeInput() }}\"\n [dataType]=\"'int'\"\n [disable]=\"disable()\"\n [defaultHeight]=\"defaultHeight()\"\n [readonly]=\"readonly()\"\n [placeholder]=\"'mm'\"\n [autoAddZeroLessThan10InTypeInt]=\"true\"\n [emitEmptyInDataTypeNumber]=\"true\"\n [maxValueNumber]=\"59\"\n [focusTimeOut]=\"0\"\n (outInputEvent)=\"eventInput($event, 'minutes')\"\n (outFunctionsControl)=\"handlerFocus($event, 'fromMinutes')\"\n (outFocusAndBlurEvent)=\"handlerFocusAndBlurMinutes($event, 'minutes')\"\n (outChange)=\"handlerValueMinutesChange($event, 'minutes')\"\n [value]=\"minutes() || ''\"\n [maxLength]=\"2\" />\n </div>\n </div>\n @if (multiTime()) {\n <div\n class=\"ml-[4px] mr-[3px] h-full flex items-center pt-[1px] libs-ui-font-h6r\"\n [class.text-[#9ca2ad]]=\"!hours() && !minutes() && !toHours() && !toMinutes()\"\n [class.text-[#071631]]=\"hours() || minutes() || toHours() || toMinutes()\">\n -\n </div>\n <div class=\"flex items-baseline\">\n <div\n [class.!w-[16px]]=\"toHours()\"\n [class.!w-[18px]]=\"!toHours()\">\n <libs_ui-components-inputs-input\n classInclude=\"w-full !p-0 !border-none text-center text-[#333333] {{ classIncludeInput() }}\"\n [dataType]=\"'int'\"\n [disable]=\"disable()\"\n [defaultHeight]=\"defaultHeight()\"\n [readonly]=\"readonly()\"\n [maxValueNumber]=\"23\"\n [minValueNumber]=\"0\"\n [autoAddZeroLessThan10InTypeInt]=\"true\"\n [emitEmptyInDataTypeNumber]=\"true\"\n [value]=\"toHours() || ''\"\n [placeholder]=\"'hh'\"\n [focusTimeOut]=\"0\"\n (outInputEvent)=\"eventInput($event, 'toHours')\"\n (outFunctionsControl)=\"handlerFocus($event, 'toHours')\"\n (outFocusAndBlurEvent)=\"handlerFocusAndBlur($event, 'toHours')\"\n (outChange)=\"handlerValueHoursChange($event, 'toHours')\"\n [maxLength]=\"2\" />\n </div>\n <div\n class=\"libs-ui-font-h4r flex items-center\"\n [class.!text-[#9ca2ad]]=\"!toHours() && !toMinutes()\"\n [class.!text-[#071631]]=\"toHours() || toMinutes()\"\n [class.opacity-0.5]=\"disable()\">\n &colon;\n </div>\n <div\n [class.!w-[16px]]=\"toMinutes()\"\n [class.!w-[28px]]=\"!toMinutes()\">\n <libs_ui-components-inputs-input\n classInclude=\"w-full !p-0 !border-none text-center text-[#333333] {{ classIncludeInput() }}\"\n [dataType]=\"'int'\"\n [defaultHeight]=\"defaultHeight()\"\n [disable]=\"disable()\"\n [readonly]=\"readonly()\"\n [placeholder]=\"'mm'\"\n [autoAddZeroLessThan10InTypeInt]=\"true\"\n [emitEmptyInDataTypeNumber]=\"true\"\n [maxValueNumber]=\"59\"\n [focusTimeOut]=\"0\"\n [value]=\"toMinutes() || ''\"\n [maxLength]=\"2\"\n (outInputEvent)=\"eventInput($event, 'toMinutes')\"\n (outFunctionsControl)=\"handlerFocus($event, 'toMinutes')\"\n (outFocusAndBlurEvent)=\"handlerFocusAndBlurMinutes($event, 'toMinutes')\"\n (outChange)=\"handlerValueMinutesChange($event, 'toMinutes')\" />\n </div>\n </div>\n }\n @if (resetInput() && (hours() || minutes()) && !disable() && !readonly()) {\n <div\n class=\"h-full items-center flex ml-[2px] cursor-pointer absolute right-[10px] top-0\"\n (click)=\"handlerClickClear()\">\n <i class=\"libs-ui-icon-close-circle-solid !before:text-[8px] text-[#cdd0d6]\"></i>\n </div>\n }\n </div>\n</div>\n@if (!ignoreShowValid() && !isErrorMultiValidCompareTime() && (isErrorMultiRequired() || isErrorRequired()) && !disable() && !readonly()) {\n <div class=\"flex items-center mt-[8px] bottom-0\">\n <span\n [class]=\"'libs-ui-message-error libs-ui-font-h7r libs-ui-text-error'\"\n [innerHtml]=\"validRequired()?.message || 'i18n_valid_empty_message' | translate: validRequired()?.interpolateParams\"></span>\n </div>\n}\n@if (!ignoreShowValid() && isErrorMultiValidCompareTime() && !disable() && !readonly()) {\n <div class=\"flex items-center mt-[8px] bottom-0\">\n <span\n class=\"libs-ui-message-error libs-ui-font-h7r libs-ui-text-error\"\n [innerHtml]=\"validCompareTime()?.message || 'i18n_invalid_end_date_selected' | translate: validCompareTime()?.interpolateParams\"></span>\n </div>\n}\n\n@if (!ignoreShowValid() && !isErrorMultiValidCompareTime() && !isErrorMultiRequired() && !isErrorRequired() && !disable() && !readonly() && otherError()?.message) {\n <div class=\"flex items-center mt-[8px] bottom-0\">\n <span\n class=\"libs-ui-message-error libs-ui-font-h7r libs-ui-text-error\"\n [innerHtml]=\"otherError()?.message || ' ' | translate: otherError()?.interpolateParams\"></span>\n </div>\n}\n", styles: [".libs-ui-date-time-input{display:flex;align-items:center;height:32px;border-radius:4px;background-color:#fff}:host ::ng-deep ::-webkit-input-placeholder{color:#9ca2ad!important;text-indent:0}:host ::ng-deep ::-moz-placeholder{color:#9ca2ad!important;text-indent:0}:host ::ng-deep :-ms-input-placeholder{color:#9ca2ad!important;text-indent:0}:host ::ng-deep :-moz-placeholder{color:#9ca2ad!important;text-indent:0}\n"], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i1.TranslatePipe, name: "translate" }, { kind: "component", type: LibsUiComponentsLabelComponent, selector: "libs_ui-components-label", inputs: ["iconPopoverClass", "classInclude", "labelLeft", "labelLeftClass", "labelLeftBehindToggleButton", "popover", "required", "buttonsLeft", "disableButtonsLeft", "buttonsRight", "disableButtonsRight", "labelRight", "labelRightClass", "labelRightRequired", "hasToggle", "toggleSize", "toggleActive", "toggleDisable", "description", "descriptionClass", "buttonsDescription", "disableButtonsDescription", "buttonsDescriptionContainerClass", "onlyShowCount", "zIndexPopover", "timerDestroyPopover", "count", "limitLength"], outputs: ["outClickButton", "outSwitchEvent", "outLabelRightClick", "outLabelLeftClick"] }, { kind: "component", type: LibsUiComponentsInputsInputComponent, selector: "libs_ui-components-inputs-input", inputs: ["tagInput", "dataType", "typeInput", "modeInput", "tabInsertContentTagInput", "textAreaEnterNotNewLine", "emitEmptyInDataTypeNumber", "keepZeroInTypeInt", "autoAddZeroLessThan10InTypeInt", "ignoreBlockInputMaxValue", "maxValueNumber", "minValueNumber", "fixedFloat", "acceptNegativeValue", "valueUpDownNumber", "classInclude", "maxLength", "readonly", "disable", "noBorder", "backgroundNone", "borderError", "useColorModeExist", "placeholder", "keepPlaceholderOnly", "value", "autoRemoveEmoji", "defaultHeight", "minHeightTextArea", "maxHeightTextArea", "focusTimeOut", "selectAllTimeOut", "blurTimeOut", "zIndexPopoverContent", "classContainerInput", "showCount", "ignoreStopPropagationEvent", "resize", "templateLeftBottomInput", "templateRightBottomInput", "classContainerBottomInput", "ignoreWidthInput100", "iframeTextareaCustomStyle", "iconLeftClass", "popoverContentIconLeft", "iconRightClass", "popoverContentIconRight", "resetAutoCompletePassword", "acceptOnlyClickIcon", "setIconRightColorSameColorDisableReadOnly", "onlyAcceptNegativeValue", "maxLengthNumberCount", "focusInput"], outputs: ["maxValueNumberChange", "minValueNumberChange", "fixedFloatChange", "acceptNegativeValueChange", "maxLengthChange", "valueChange", "maxLengthNumberCountChange", "outHeightAreaChange", "outChange", "outFocusAndBlurEvent", "outEnterEvent", "outInputEvent", "outIconLeft", "outIconRight", "outFunctionsControl", "outFilesDrop", "outFileDrop", "outChangeValueByButtonUpDown"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
525
530
  }
526
531
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LibsUiComponentsDatetimeInputComponent, decorators: [{
527
532
  type: Component,
528
- args: [{ selector: 'libs_ui-components-datetime-input', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [TranslateModule, LibsUiComponentsLabelComponent, LibsUiComponentsInputsInputComponent], template: "@if (labelConfig(); as labelConfig) {\n <libs_ui-components-label [classInclude]=\"labelConfig.classInclude\"\n [labelLeft]=\"labelConfig.labelLeft\"\n [labelLeftClass]=\"labelConfig.labelLeftClass\"\n [required]=\"labelConfig.required \"\n [description]=\"labelConfig.description\"\n [descriptionClass]=\"labelConfig.descriptionClass\"\n [labelRight]=\"labelConfig.labelRight\"\n [labelRightClass]=\"labelConfig.labelRightClass\"\n [onlyShowCount]=\"labelConfig.onlyShowCount\"\n [buttonsLeft]=\"labelConfig.buttonsLeft\"\n [disableButtonsLeft]=\" labelConfig.disableButtonsLeft\"\n [buttonsRight]=\"labelConfig.buttonsRight\"\n [disableButtonsRight]=\" labelConfig.disableButtonsRight\"\n [hasToggle]=\"labelConfig.hasToggle\"\n [toggleActive]=\"labelConfig.toggleActive\"\n [toggleDisable]=\" labelConfig.toggleDisable\"\n [popover]=\"labelConfig.popover\"\n [iconPopoverClass]=\"labelConfig.iconPopoverClass\"\n [onlyShowCount]=\"labelConfig.onlyShowCount\"\n [limitLength]=\"labelConfig.limitLength\"\n [count]=\"labelConfig.count\"\n (outClickButton)=\"handlerClickButtonLabel($event)\"\n (outSwitchEvent)=\"handlerSwitchLabel($event)\"\n (outLabelRightClick)=\"handlerEventLabelRightLabel()\" />\n}\n<div class=\"flex items-baseline\">\n <div class=\" libs-ui-date-time-input {{ classDatePickerInput() ?? '' }} relative\"\n [class.!w-[123px]]=\"!ignoreWithDefault() && resetInput() && !multiTime()\"\n [class.!w-[155px]]=\"!ignoreWithDefault() && !resetInput() && multiTime()\"\n [class.!w-[99px]]=\"!ignoreWithDefault() && !resetInput() && !multiTime()\"\n [class.!w-[179px]]=\"!ignoreWithDefault() && resetInput() && multiTime()\"\n [class.!bg-[#f8f9fa]]=\"readonly()\"\n [class.libs-ui-border-general]=\"!isErrorRequired() && !isErrorMultiValidCompareTime() && !ignoreBorder()\"\n [class.!border]=\"changeBorderFocus().changeBorder && !ignoreBorder() && !(isErrorRequired() || isErrorMultiValidCompareTime())\"\n [class.!border-[1px]]=\"changeBorderFocus().changeBorder && !ignoreBorder() && !(isErrorRequired() || isErrorMultiValidCompareTime())\"\n [class.!border-[#4e8cf7]]=\"changeBorderFocus().changeBorder && !ignoreBorder() && !(isErrorRequired() || isErrorMultiValidCompareTime())\"\n [class.libs-ui-border-error-general]=\"(isErrorRequired() || isErrorMultiValidCompareTime() || showBorderError()) && !ignoreBorder()\">\n <div class=\"pr-[8px] pl-[16px] h-full flex items-center\">\n <i class=\"libs-ui-icon-clock text-[14px] text-[#9ca2ad]\"\n [class.opacity-0.5]=\"disable()\"></i>\n </div>\n <div class=\"flex items-baseline\">\n <div [class.!w-[16px]]=\"hours()\"\n [class.!w-[18px]]=\"!hours()\">\n <libs_ui-components-inputs-input\n classInclude=\"!p-0 w-full !border-none text-center text-[#333333] {{ classIncludeInput() }}\"\n [dataType]=\"'int'\"\n [autoAddZeroLessThan10InTypeInt]=\"true\"\n [emitEmptyInDataTypeNumber]=\"true\"\n [disable]=\"disable()\"\n [defaultHeight]=\"defaultHeight()\"\n [readonly]=\"readonly()\"\n [maxValueNumber]=\"23\"\n [minValueNumber]=\"0\"\n [value]=\"hours() || ''\"\n [placeholder]=\"'hh'\"\n [focusTimeOut]=\"0\"\n (outInputEvent)=\"eventInput($event,'hours')\"\n (outChange)=\"handlerValueHoursChange($event, 'hours')\"\n (outFocusAndBlurEvent)=\"handlerFocusAndBlur($event,'hours')\"\n (outFunctionsControl)=\"handlerFocus($event,'fromHours')\"\n [maxLength]=\"2\" />\n </div>\n <div class=\"libs-ui-font-h4r flex items-center \"\n [class.!text-[#9ca2ad]]=\"!hours() && !minutes()\"\n [class.!text-[#071631]]=\"hours() || minutes()\"\n [class.opacity-0.5]=\"disable()\">&colon;</div>\n <div [class.w-[16px]]=\"minutes()\"\n [class.w-[28px]]=\"!minutes()\">\n\n <libs_ui-components-inputs-input\n classInclude=\"w-full !p-0 !border-none text-center text-[#333333] {{ classIncludeInput() }}\"\n [dataType]=\"'int'\"\n [disable]=\"disable()\"\n [defaultHeight]=\"defaultHeight()\"\n [readonly]=\"readonly()\"\n [placeholder]=\"'mm'\"\n [autoAddZeroLessThan10InTypeInt]=\"true\"\n [emitEmptyInDataTypeNumber]=\"true\"\n [maxValueNumber]=\"59\"\n [focusTimeOut]=\"0\"\n (outInputEvent)=\"eventInput($event,'minutes')\"\n (outFunctionsControl)=\"handlerFocus($event,'fromMinutes')\"\n (outFocusAndBlurEvent)=\"handlerFocusAndBlurMinutes($event,'minutes')\"\n (outChange)=\"handlerValueMinutesChange($event, 'minutes')\"\n [value]=\"minutes() || ''\"\n [maxLength]=\"2\" />\n </div>\n </div>\n @if (multiTime()) {\n <div class=\"ml-[4px] mr-[3px] h-full flex items-center pt-[1px] libs-ui-font-h6r\"\n [class.text-[#9ca2ad]]=\"!hours() && !minutes() && !toHours() && !toMinutes()\"\n [class.text-[#071631]]=\"hours() || minutes() || toHours() || toMinutes()\">\n -\n </div>\n <div class=\"flex items-baseline\">\n <div [class.!w-[16px]]=\"toHours()\"\n [class.!w-[18px]]=\"!toHours()\">\n <libs_ui-components-inputs-input\n classInclude=\"w-full !p-0 !border-none text-center text-[#333333] {{ classIncludeInput() }}\"\n [dataType]=\"'int'\"\n [disable]=\"disable()\"\n [defaultHeight]=\"defaultHeight()\"\n [readonly]=\"readonly()\"\n [maxValueNumber]=\"23\"\n [minValueNumber]=\"0\"\n [autoAddZeroLessThan10InTypeInt]=\"true\"\n [emitEmptyInDataTypeNumber]=\"true\"\n [value]=\"toHours() || ''\"\n [placeholder]=\"'hh'\"\n [focusTimeOut]=\"0\"\n (outInputEvent)=\"eventInput($event,'toHours')\"\n (outFunctionsControl)=\"handlerFocus($event,'toHours')\"\n (outFocusAndBlurEvent)=\"handlerFocusAndBlur($event,'toHours')\"\n (outChange)=\"handlerValueHoursChange($event, 'toHours')\"\n [maxLength]=\"2\" />\n </div>\n <div class=\"libs-ui-font-h4r flex items-center \"\n [class.!text-[#9ca2ad]]=\"!toHours() && !toMinutes()\"\n [class.!text-[#071631]]=\"toHours() || toMinutes()\"\n [class.opacity-0.5]=\"disable()\">&colon;</div>\n <div [class.!w-[16px]]=\"toMinutes()\"\n [class.!w-[28px]]=\"!toMinutes()\">\n <libs_ui-components-inputs-input\n classInclude=\"w-full !p-0 !border-none text-center text-[#333333] {{ classIncludeInput() }}\"\n [dataType]=\"'int'\"\n [defaultHeight]=\"defaultHeight()\"\n [disable]=\"disable()\"\n [readonly]=\"readonly()\"\n [placeholder]=\"'mm'\"\n [autoAddZeroLessThan10InTypeInt]=\"true\"\n [emitEmptyInDataTypeNumber]=\"true\"\n [maxValueNumber]=\"59\"\n [focusTimeOut]=\"0\"\n [value]=\"toMinutes() || ''\"\n [maxLength]=\"2\"\n (outInputEvent)=\"eventInput($event,'toMinutes')\"\n (outFunctionsControl)=\"handlerFocus($event,'toMinutes')\"\n (outFocusAndBlurEvent)=\"handlerFocusAndBlurMinutes($event,'toMinutes')\"\n (outChange)=\"handlerValueMinutesChange($event, 'toMinutes')\" />\n </div>\n </div>\n }\n @if (resetInput() && (hours() || minutes()) && !disable() && !readonly()) {\n <div class=\"h-full items-center flex ml-[2px] cursor-pointer absolute right-[10px] top-0\"\n (click)=\"handlerClickClear()\">\n <i class=\"libs-ui-icon-close-circle-solid !before:text-[8px] text-[#cdd0d6]\"></i>\n </div>\n }\n </div>\n</div>\n@if (!ignoreShowValid() && !isErrorMultiValidCompareTime() &&(isErrorMultiRequired() || isErrorRequired()) && !disable() && !readonly()) {\n <div class=\"flex items-center mt-[8px] bottom-0\">\n <span [class]=\"'libs-ui-message-error libs-ui-font-h7r libs-ui-text-error'\"\n [innerHtml]=\"(validRequired()?.message || 'i18n_valid_empty_message')| translate:validRequired()?.interpolateParams\"></span>\n </div>\n}\n@if (!ignoreShowValid() && isErrorMultiValidCompareTime() && !disable() && !readonly()) {\n <div class=\"flex items-center mt-[8px] bottom-0\">\n <span class=\"libs-ui-message-error libs-ui-font-h7r libs-ui-text-error\"\n [innerHtml]=\"(validCompareTime()?.message || 'i18n_invalid_end_date_selected')| translate:validCompareTime()?.interpolateParams\"></span>\n </div>\n}\n\n@if (!ignoreShowValid() && !isErrorMultiValidCompareTime() && !isErrorMultiRequired() && !isErrorRequired() && !disable() && !readonly() && otherError()?.message) {\n <div class=\"flex items-center mt-[8px] bottom-0\">\n <span class=\"libs-ui-message-error libs-ui-font-h7r libs-ui-text-error\"\n [innerHtml]=\"(otherError()?.message || ' ') | translate:otherError()?.interpolateParams\"></span>\n </div>\n}\n", styles: [".libs-ui-date-time-input{display:flex;align-items:center;height:32px;border-radius:4px;background-color:#fff}:host ::ng-deep ::-webkit-input-placeholder{color:#9ca2ad!important;text-indent:0}:host ::ng-deep ::-moz-placeholder{color:#9ca2ad!important;text-indent:0}:host ::ng-deep :-ms-input-placeholder{color:#9ca2ad!important;text-indent:0}:host ::ng-deep :-moz-placeholder{color:#9ca2ad!important;text-indent:0}\n"] }]
533
+ args: [{ selector: 'libs_ui-components-datetime-input', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [TranslateModule, LibsUiComponentsLabelComponent, LibsUiComponentsInputsInputComponent], template: "@if (labelConfig(); as labelConfig) {\n <libs_ui-components-label\n [classInclude]=\"labelConfig.classInclude\"\n [labelLeft]=\"labelConfig.labelLeft\"\n [labelLeftClass]=\"labelConfig.labelLeftClass\"\n [required]=\"labelConfig.required\"\n [description]=\"labelConfig.description\"\n [descriptionClass]=\"labelConfig.descriptionClass\"\n [labelRight]=\"labelConfig.labelRight\"\n [labelRightClass]=\"labelConfig.labelRightClass\"\n [onlyShowCount]=\"labelConfig.onlyShowCount\"\n [buttonsLeft]=\"labelConfig.buttonsLeft\"\n [disableButtonsLeft]=\"labelConfig.disableButtonsLeft\"\n [buttonsRight]=\"labelConfig.buttonsRight\"\n [disableButtonsRight]=\"labelConfig.disableButtonsRight\"\n [hasToggle]=\"labelConfig.hasToggle\"\n [toggleActive]=\"labelConfig.toggleActive\"\n [toggleDisable]=\"labelConfig.toggleDisable\"\n [popover]=\"labelConfig.popover\"\n [iconPopoverClass]=\"labelConfig.iconPopoverClass\"\n [onlyShowCount]=\"labelConfig.onlyShowCount\"\n [limitLength]=\"labelConfig.limitLength\"\n [count]=\"labelConfig.count\"\n (outClickButton)=\"handlerClickButtonLabel($event)\"\n (outSwitchEvent)=\"handlerSwitchLabel($event)\"\n (outLabelRightClick)=\"handlerEventLabelRightLabel()\" />\n}\n<div class=\"flex items-baseline\">\n <div\n class=\" libs-ui-date-time-input {{ classDatePickerInput() ?? '' }} relative\"\n [class.!w-[123px]]=\"!ignoreWithDefault() && resetInput() && !multiTime()\"\n [class.!w-[155px]]=\"!ignoreWithDefault() && !resetInput() && multiTime()\"\n [class.!w-[99px]]=\"!ignoreWithDefault() && !resetInput() && !multiTime()\"\n [class.!w-[179px]]=\"!ignoreWithDefault() && resetInput() && multiTime()\"\n [class.!bg-[#f8f9fa]]=\"readonly()\"\n [class.libs-ui-border-general]=\"!isErrorRequired() && !isErrorMultiValidCompareTime() && !ignoreBorder()\"\n [class.!border]=\"changeBorderFocus().changeBorder && !ignoreBorder() && !(isErrorRequired() || isErrorMultiValidCompareTime())\"\n [class.!border-[1px]]=\"changeBorderFocus().changeBorder && !ignoreBorder() && !(isErrorRequired() || isErrorMultiValidCompareTime())\"\n [class.!border-[#4e8cf7]]=\"changeBorderFocus().changeBorder && !ignoreBorder() && !(isErrorRequired() || isErrorMultiValidCompareTime())\"\n [class.libs-ui-border-error-general]=\"(isErrorRequired() || isErrorMultiValidCompareTime() || showBorderError()) && !ignoreBorder()\">\n <div class=\"pr-[8px] pl-[16px] h-full flex items-center\">\n <i\n class=\"libs-ui-icon-clock text-[14px] text-[#9ca2ad]\"\n [class.opacity-0.5]=\"disable()\"></i>\n </div>\n <div class=\"flex items-baseline\">\n <div\n [class.!w-[16px]]=\"hours()\"\n [class.!w-[18px]]=\"!hours()\">\n <libs_ui-components-inputs-input\n classInclude=\"!p-0 w-full !border-none text-center text-[#333333] {{ classIncludeInput() }}\"\n [dataType]=\"'int'\"\n [autoAddZeroLessThan10InTypeInt]=\"true\"\n [emitEmptyInDataTypeNumber]=\"true\"\n [disable]=\"disable()\"\n [defaultHeight]=\"defaultHeight()\"\n [readonly]=\"readonly()\"\n [maxValueNumber]=\"23\"\n [minValueNumber]=\"0\"\n [value]=\"hours() || ''\"\n [placeholder]=\"'hh'\"\n [focusTimeOut]=\"0\"\n (outInputEvent)=\"eventInput($event, 'hours')\"\n (outChange)=\"handlerValueHoursChange($event, 'hours')\"\n (outFocusAndBlurEvent)=\"handlerFocusAndBlur($event, 'hours')\"\n (outFunctionsControl)=\"handlerFocus($event, 'fromHours')\"\n [maxLength]=\"2\" />\n </div>\n <div\n class=\"libs-ui-font-h4r flex items-center\"\n [class.!text-[#9ca2ad]]=\"!hours() && !minutes()\"\n [class.!text-[#071631]]=\"hours() || minutes()\"\n [class.opacity-0.5]=\"disable()\">\n &colon;\n </div>\n <div\n [class.w-[16px]]=\"minutes()\"\n [class.w-[28px]]=\"!minutes()\">\n <libs_ui-components-inputs-input\n classInclude=\"w-full !p-0 !border-none text-center text-[#333333] {{ classIncludeInput() }}\"\n [dataType]=\"'int'\"\n [disable]=\"disable()\"\n [defaultHeight]=\"defaultHeight()\"\n [readonly]=\"readonly()\"\n [placeholder]=\"'mm'\"\n [autoAddZeroLessThan10InTypeInt]=\"true\"\n [emitEmptyInDataTypeNumber]=\"true\"\n [maxValueNumber]=\"59\"\n [focusTimeOut]=\"0\"\n (outInputEvent)=\"eventInput($event, 'minutes')\"\n (outFunctionsControl)=\"handlerFocus($event, 'fromMinutes')\"\n (outFocusAndBlurEvent)=\"handlerFocusAndBlurMinutes($event, 'minutes')\"\n (outChange)=\"handlerValueMinutesChange($event, 'minutes')\"\n [value]=\"minutes() || ''\"\n [maxLength]=\"2\" />\n </div>\n </div>\n @if (multiTime()) {\n <div\n class=\"ml-[4px] mr-[3px] h-full flex items-center pt-[1px] libs-ui-font-h6r\"\n [class.text-[#9ca2ad]]=\"!hours() && !minutes() && !toHours() && !toMinutes()\"\n [class.text-[#071631]]=\"hours() || minutes() || toHours() || toMinutes()\">\n -\n </div>\n <div class=\"flex items-baseline\">\n <div\n [class.!w-[16px]]=\"toHours()\"\n [class.!w-[18px]]=\"!toHours()\">\n <libs_ui-components-inputs-input\n classInclude=\"w-full !p-0 !border-none text-center text-[#333333] {{ classIncludeInput() }}\"\n [dataType]=\"'int'\"\n [disable]=\"disable()\"\n [defaultHeight]=\"defaultHeight()\"\n [readonly]=\"readonly()\"\n [maxValueNumber]=\"23\"\n [minValueNumber]=\"0\"\n [autoAddZeroLessThan10InTypeInt]=\"true\"\n [emitEmptyInDataTypeNumber]=\"true\"\n [value]=\"toHours() || ''\"\n [placeholder]=\"'hh'\"\n [focusTimeOut]=\"0\"\n (outInputEvent)=\"eventInput($event, 'toHours')\"\n (outFunctionsControl)=\"handlerFocus($event, 'toHours')\"\n (outFocusAndBlurEvent)=\"handlerFocusAndBlur($event, 'toHours')\"\n (outChange)=\"handlerValueHoursChange($event, 'toHours')\"\n [maxLength]=\"2\" />\n </div>\n <div\n class=\"libs-ui-font-h4r flex items-center\"\n [class.!text-[#9ca2ad]]=\"!toHours() && !toMinutes()\"\n [class.!text-[#071631]]=\"toHours() || toMinutes()\"\n [class.opacity-0.5]=\"disable()\">\n &colon;\n </div>\n <div\n [class.!w-[16px]]=\"toMinutes()\"\n [class.!w-[28px]]=\"!toMinutes()\">\n <libs_ui-components-inputs-input\n classInclude=\"w-full !p-0 !border-none text-center text-[#333333] {{ classIncludeInput() }}\"\n [dataType]=\"'int'\"\n [defaultHeight]=\"defaultHeight()\"\n [disable]=\"disable()\"\n [readonly]=\"readonly()\"\n [placeholder]=\"'mm'\"\n [autoAddZeroLessThan10InTypeInt]=\"true\"\n [emitEmptyInDataTypeNumber]=\"true\"\n [maxValueNumber]=\"59\"\n [focusTimeOut]=\"0\"\n [value]=\"toMinutes() || ''\"\n [maxLength]=\"2\"\n (outInputEvent)=\"eventInput($event, 'toMinutes')\"\n (outFunctionsControl)=\"handlerFocus($event, 'toMinutes')\"\n (outFocusAndBlurEvent)=\"handlerFocusAndBlurMinutes($event, 'toMinutes')\"\n (outChange)=\"handlerValueMinutesChange($event, 'toMinutes')\" />\n </div>\n </div>\n }\n @if (resetInput() && (hours() || minutes()) && !disable() && !readonly()) {\n <div\n class=\"h-full items-center flex ml-[2px] cursor-pointer absolute right-[10px] top-0\"\n (click)=\"handlerClickClear()\">\n <i class=\"libs-ui-icon-close-circle-solid !before:text-[8px] text-[#cdd0d6]\"></i>\n </div>\n }\n </div>\n</div>\n@if (!ignoreShowValid() && !isErrorMultiValidCompareTime() && (isErrorMultiRequired() || isErrorRequired()) && !disable() && !readonly()) {\n <div class=\"flex items-center mt-[8px] bottom-0\">\n <span\n [class]=\"'libs-ui-message-error libs-ui-font-h7r libs-ui-text-error'\"\n [innerHtml]=\"validRequired()?.message || 'i18n_valid_empty_message' | translate: validRequired()?.interpolateParams\"></span>\n </div>\n}\n@if (!ignoreShowValid() && isErrorMultiValidCompareTime() && !disable() && !readonly()) {\n <div class=\"flex items-center mt-[8px] bottom-0\">\n <span\n class=\"libs-ui-message-error libs-ui-font-h7r libs-ui-text-error\"\n [innerHtml]=\"validCompareTime()?.message || 'i18n_invalid_end_date_selected' | translate: validCompareTime()?.interpolateParams\"></span>\n </div>\n}\n\n@if (!ignoreShowValid() && !isErrorMultiValidCompareTime() && !isErrorMultiRequired() && !isErrorRequired() && !disable() && !readonly() && otherError()?.message) {\n <div class=\"flex items-center mt-[8px] bottom-0\">\n <span\n class=\"libs-ui-message-error libs-ui-font-h7r libs-ui-text-error\"\n [innerHtml]=\"otherError()?.message || ' ' | translate: otherError()?.interpolateParams\"></span>\n </div>\n}\n", styles: [".libs-ui-date-time-input{display:flex;align-items:center;height:32px;border-radius:4px;background-color:#fff}:host ::ng-deep ::-webkit-input-placeholder{color:#9ca2ad!important;text-indent:0}:host ::ng-deep ::-moz-placeholder{color:#9ca2ad!important;text-indent:0}:host ::ng-deep :-ms-input-placeholder{color:#9ca2ad!important;text-indent:0}:host ::ng-deep :-moz-placeholder{color:#9ca2ad!important;text-indent:0}\n"] }]
529
534
  }], ctorParameters: () => [] });
530
535
 
531
536
  /**