@yoobic/yobi 8.2.0-23 → 8.2.0-26

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.
@@ -202,8 +202,6 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
202
202
  /* spacing for padding, margin, etc... */
203
203
  /* shadow */
204
204
  :host {
205
- --active-day-circle-size: 2rem;
206
- --mobile-days-height: 100%;
207
205
  display: block;
208
206
  opacity: 1;
209
207
  }
@@ -254,7 +252,6 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
254
252
  font-weight: var(--font-weight-400, 400);
255
253
  font-size: var(--font-size-16, 1rem);
256
254
  font-style: normal;
257
- line-height: normal;
258
255
  text-align: center;
259
256
  }
260
257
  :host .calendar-container.modern yoo-ion-slide {
@@ -264,6 +261,7 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
264
261
  display: flex;
265
262
  flex: 1;
266
263
  flex-direction: row;
264
+ padding: var(--spacing-04, 0.25rem) 0;
267
265
  border-bottom: var(--border-width-01, 0.0625rem) solid var(--stable-40, rgba(173, 173, 173, 0.4));
268
266
  }
269
267
  :host .week .day {
@@ -273,10 +271,20 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
273
271
  align-content: center;
274
272
  align-items: center;
275
273
  justify-content: center;
276
- height: 3.75rem;
274
+ height: 3.5rem;
277
275
  text-align: center;
278
276
  cursor: pointer;
279
277
  }
278
+ :host .week .day.active .day-number {
279
+ width: 50%;
280
+ max-width: var(--spacing-24, 1.5rem);
281
+ padding: 5%;
282
+ }
283
+ :host .week .day:not(.in-range) .day-number:after {
284
+ display: block;
285
+ padding-top: 100%;
286
+ content: "";
287
+ }
280
288
  :host .week .day.grey-day {
281
289
  opacity: 0.3;
282
290
  }
@@ -304,13 +312,10 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
304
312
  align-content: center;
305
313
  align-items: center;
306
314
  justify-content: center;
307
- width: var(--active-day-circle-size);
308
- height: var(--active-day-circle-size);
309
315
  font-weight: var(--font-weight-400, 400);
310
316
  font-size: var(--font-size-18, 1.125rem);
311
317
  font-style: normal;
312
318
  line-height: normal;
313
- border-radius: 50%;
314
319
  }
315
320
  :host .week .marker {
316
321
  width: 0.375rem;
@@ -392,7 +397,6 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
392
397
  font-weight: var(--font-weight-400, 400);
393
398
  font-size: var(--font-size-20, 1.25rem);
394
399
  font-style: normal;
395
- line-height: normal;
396
400
  }
397
401
  :host .mobile-calendar-header .done {
398
402
  margin-right: var(--spacing-08, 0.5rem);
@@ -408,7 +412,6 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
408
412
  font-weight: var(--font-weight-400, 400);
409
413
  font-size: var(--font-size-16, 1rem);
410
414
  font-style: normal;
411
- line-height: normal;
412
415
  }
413
416
  :host .mobile-calendar-header .calendar-tools .calendar-toggle:last-child {
414
417
  padding-right: 0.4375rem;
@@ -425,8 +428,12 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
425
428
  width: 100%;
426
429
  color: var(--dark, #000000);
427
430
  }
431
+ :host .mobile-days .day-number {
432
+ width: var(--spacing-16, 1rem);
433
+ border-radius: 50%;
434
+ }
428
435
  :host .mobile-days .in-range .day-number {
429
- width: 1.25rem;
436
+ width: 100%;
430
437
  color: var(--light, #ffffff) !important;
431
438
  background: var(--app-color, #5a30f4);
432
439
  border-radius: 0;
@@ -437,28 +444,11 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
437
444
  background: none;
438
445
  }
439
446
  :host .mobile-days .in-range.first-day .day-number {
440
- display: flex;
441
- flex-direction: row;
442
- align-content: center;
443
- align-items: center;
444
- justify-content: center;
445
- width: var(--active-day-circle-size);
446
- height: var(--active-day-circle-size);
447
- font-weight: var(--font-weight-400, 400);
448
- font-size: var(--font-size-18, 1.125rem);
449
- font-style: normal;
450
- line-height: normal;
451
- border-radius: 50%;
452
- z-index: 1;
453
- color: var(--light, #ffffff);
454
- background: var(--app-color, #5a30f4);
455
- opacity: 1;
447
+ border-radius: var(--spacing-08, 0.5rem) 0 0 var(--spacing-08, 0.5rem);
456
448
  }
457
449
  :host .mobile-days .in-range.first-day:after {
458
450
  position: absolute;
459
451
  right: 0;
460
- left: calc(50% - var(--active-day-circle-size) / 2);
461
- height: var(--active-day-circle-size);
462
452
  margin-left: 0.8125rem;
463
453
  background: var(--app-color, #5a30f4);
464
454
  opacity: 0.6;
@@ -469,33 +459,30 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
469
459
  background: none;
470
460
  }
471
461
  :host .mobile-days .in-range.last-day .day-number {
462
+ border-radius: 0 var(--spacing-08, 0.5rem) var(--spacing-08, 0.5rem) 0;
463
+ }
464
+ :host .mobile-days .in-range.last-day:before {
465
+ position: absolute;
466
+ margin-right: var(--spacing-16, 1rem);
467
+ background: var(--app-color, #5a30f4);
468
+ opacity: 0.6;
469
+ content: "";
470
+ }
471
+ :host .mobile-days .in-range.first-day .day-number, :host .mobile-days .in-range.last-day .day-number {
472
472
  display: flex;
473
473
  flex-direction: row;
474
474
  align-content: center;
475
475
  align-items: center;
476
476
  justify-content: center;
477
- width: var(--active-day-circle-size);
478
- height: var(--active-day-circle-size);
479
477
  font-weight: var(--font-weight-400, 400);
480
478
  font-size: var(--font-size-18, 1.125rem);
481
479
  font-style: normal;
482
480
  line-height: normal;
483
- border-radius: 50%;
484
481
  z-index: 1;
485
482
  color: var(--light, #ffffff);
486
483
  background: var(--app-color, #5a30f4);
487
484
  opacity: 1;
488
485
  }
489
- :host .mobile-days .in-range.last-day:before {
490
- position: absolute;
491
- right: calc(50% - var(--active-day-circle-size) / 2);
492
- left: 0;
493
- height: var(--active-day-circle-size);
494
- margin-right: var(--spacing-16, 1rem);
495
- background: var(--app-color, #5a30f4);
496
- opacity: 0.6;
497
- content: "";
498
- }
499
486
 
500
487
  :host([hidden]) {
501
488
  display: none;
@@ -529,9 +516,6 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
529
516
  background: var(--stable-light, #f1f1f1);
530
517
  }
531
518
 
532
- :host(.web) {
533
- --active-day-circle-size: 1.625rem;
534
- }
535
519
  :host(.web) .days {
536
520
  height: 100%;
537
521
  }
@@ -623,7 +607,6 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
623
607
  }
624
608
  }
625
609
  :host([size=extra-small]) {
626
- --active-day-circle-size: 1rem;
627
610
  width: 100%;
628
611
  min-height: unset;
629
612
  border: solid 0.0625rem var(--stable-light, #f1f1f1);
@@ -673,7 +656,6 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
673
656
  }
674
657
 
675
658
  :host([size=small]) {
676
- --active-day-circle-size: 1.25rem;
677
659
  width: 100%;
678
660
  min-height: unset;
679
661
  border: solid 0.0625rem var(--stable-light, #f1f1f1);
@@ -714,8 +696,7 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
714
696
  display: flex;
715
697
  align-items: center;
716
698
  justify-content: center;
717
- font-size: 0.75rem;
718
- border-radius: 50%;
699
+ font-size: var(--font-size-12, 0.75rem);
719
700
  }
720
701
  :host([size=small]) .week .day.active .day-number {
721
702
  background: var(--app-color, #5a30f4);
@@ -391,7 +391,7 @@ export class YooFormAutocompleteComponent {
391
391
  endDate: search.endDate,
392
392
  sortAndFilters: this.sortsAndFilters,
393
393
  search: search.search,
394
- data: formDynamic.data
394
+ data: formDynamic === null || formDynamic === void 0 ? void 0 : formDynamic.data
395
395
  }).then((ret) => {
396
396
  var _a, _b;
397
397
  if (search.currentPage === 0) {
@@ -1,7 +1,7 @@
1
1
  import { StatusBar } from '@capacitor/status-bar';
2
2
  import { MediaType, PictureSourceType } from '@ionic-native/camera';
3
3
  import { MediaCapture } from '@ionic-native/media-capture';
4
- import { addFilePrefix, asyncWaterfall, audios, changeExtension, downloadFile, getAsyncExtraData, getFormCapturedFileSize, getMimeType, getSession, hasLargeFile, images, isAndroid, isAudio, isCloudinaryLink, isFile, isGif, isImage, isImageUrl, isIOS, isIphoneX, isLenovo, isNativeFilePath, isNativeMobile, isNullOrUndefined, isOffline, isPhotoEdited, isSafari, isUnsplashUrl, isVideo, isWeb, moveToImageDirectory, pipes, read, showActionSheet, showAlert, showContextMenu, showModal, showToast, translate, translateMulti, updatePathSessionId, videos } from '@shared/utils';
4
+ import { addFilePrefix, asyncWaterfall, audios, changeExtension, downloadFile, getAsyncExtraData, getFormCapturedFileSize, getMimeType, getSession, hasLargeFile, images, isAndroid, isAudio, isCloudinaryLink, isFile, isGif, isImage, isIOS, isIphoneX, isLenovo, isNativeFilePath, isNativeMobile, isNullOrUndefined, isOffline, isPhotoEdited, isSafari, isUnsplashUrl, isVideo, isWeb, moveToImageDirectory, pipes, read, showActionSheet, showAlert, showContextMenu, showModal, showToast, translate, translateMulti, updatePathSessionId, videos } from '@shared/utils';
5
5
  import { Build, Component, Element, Event, h, Host, Method, Prop, State, Watch } from '@stencil/core';
6
6
  import { assign, assignInWith, clone, compact, intersection, isArray, isNumber, isUndefined, keys } from 'lodash-es';
7
7
  import { getPicture, getVideo, getVideoDevices, importMultipleFromLibrary, showAudioRecorder } from '../../../utils/helpers/camera-helpers';
@@ -1166,7 +1166,7 @@ export class YooFormCaptureComponent {
1166
1166
  return file;
1167
1167
  },
1168
1168
  (file) => {
1169
- if (isImage(file) && !isImageUrl(file)) {
1169
+ if (isImage(file) && typeof file !== 'string') {
1170
1170
  return read(file, 'blob');
1171
1171
  }
1172
1172
  else if (isAudio(file) && !isNativeMobile()) {
@@ -212,8 +212,9 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
212
212
  font-size: inherit;
213
213
  }
214
214
  :host yoo-calendar {
215
- width: 12.5rem;
216
- height: 11.875rem;
215
+ width: 13rem;
216
+ height: 13rem;
217
+ padding: var(--spacing-08, 0.5rem);
217
218
  }
218
219
  :host yoo-form-input {
219
220
  width: 5rem;
@@ -1,4 +1,4 @@
1
- import { debounce, getUUID, isValueATranslationKey, isWeb, translate } from '@shared/utils';
1
+ import { getUUID, isValueATranslationKey, isWeb, translate } from '@shared/utils';
2
2
  import { Component, Element, Event, forceUpdate, h, Host, Method, Prop, State, Watch } from '@stencil/core';
3
3
  import { isEqual } from 'lodash-es';
4
4
  import Sortable from 'sortablejs';
@@ -31,13 +31,6 @@ export class YooFormMultiInputComponent {
31
31
  this.dragAndDropPendingEvent = null;
32
32
  this.dragAndDropPendingEventTimeout = null;
33
33
  this.sortables = [];
34
- this.setValueAndEmitChanges = (value, skipValueAssignment = false) => {
35
- if (!skipValueAssignment) {
36
- this.value = value;
37
- }
38
- const finalValue = this.isSimpleArray ? this.value[0] : this.value;
39
- setValueAndValidateInput(finalValue, this, false, true, true);
40
- };
41
34
  }
42
35
  async reset(keys) {
43
36
  this.cells = this.getCells();
@@ -403,13 +396,19 @@ export class YooFormMultiInputComponent {
403
396
  if (this.reverseValueDimensions) {
404
397
  values = this.arrayTransposing(values);
405
398
  }
406
- // use debounce to prevent performance issue while typing
407
- debounce(this.setValueAndEmitChanges.bind(this), 500)(values);
399
+ this.setValueAndEmitChanges(values);
408
400
  }
409
401
  onTranslationValueUpdated(ev) {
410
402
  ev.stopPropagation();
411
403
  this.translationValueUpdated.emit(ev.detail);
412
404
  }
405
+ setValueAndEmitChanges(value, skipValueAssignment = false) {
406
+ if (!skipValueAssignment) {
407
+ this.value = value;
408
+ }
409
+ const finalValue = this.isSimpleArray ? this.value[0] : this.value;
410
+ setValueAndValidateInput(finalValue, this, false, true, true);
411
+ }
413
412
  isLinkedList() {
414
413
  return this.columns.some((c) => c.linkedRow);
415
414
  }
@@ -516,6 +515,7 @@ export class YooFormMultiInputComponent {
516
515
  onFetchCustomData: (ev) => this.onFetchEvent(ev, cell.rowIndex, cell.colIndex, this.fetchCustomData),
517
516
  onTranslationValueUpdated: (ev) => this.onTranslationValueUpdated(ev),
518
517
  clearable: false,
518
+ debounce: TagType === 'yoo-form-input' && 500,
519
519
  maxHeight: this.host.classList.contains('image-collection') ? 60 : undefined,
520
520
  minHeight: this.host.classList.contains('image-collection') ? 60 : undefined,
521
521
  customZIndex: TagType === 'yoo-form-text-editor' && 20000 - cell.rowIndex,
@@ -3655,11 +3655,6 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
3655
3655
  height: 100%;
3656
3656
  }
3657
3657
 
3658
- :host(.plans.empty),
3659
- :host(.productbatch.empty) {
3660
- height: auto;
3661
- }
3662
-
3663
3658
  :host(.photos-tab) .container-base .search-toggle-container {
3664
3659
  display: flex;
3665
3660
  justify-content: center;
@@ -4,7 +4,7 @@ import { a as isArray, n as capitalize } from './lodash-b0ad17f3.js';
4
4
  import './_commonjsHelpers-f4d11124.js';
5
5
  import './index-da54e081.js';
6
6
 
7
- const calendarCss = ":host{--active-day-circle-size:2rem;--mobile-days-height:100%;display:block;opacity:1}:host .unavailable{color:var(--stable, #adadad)}:host .toolbar-tools{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}:host .toolbar-tools yoo-tooltip{padding:0.25rem}:host .toolbar-tools yoo-tooltip yoo-button{padding:0}:host .toolbar-tools h2{font-weight:var(--font-weight-400, 400);text-transform:capitalize}:host .toolbar-tools yoo-button{padding:0.25rem}:host .toolbar-tools .active-day{-ms-flex:1 2 auto;flex:1 2 auto;text-align:center}:host .days{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host .week-header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;min-height:1.875rem;font-weight:var(--font-weight-400, 400);font-size:var(--font-size-14, 0.875rem)}:host .week-header .day{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding:0.3125rem;font-weight:var(--font-weight-400, 400);font-size:var(--font-size-16, 1rem);font-style:normal;line-height:normal;text-align:center}:host .calendar-container.modern yoo-ion-slide{width:auto !important}:host .week{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:row;flex-direction:row;border-bottom:var(--border-width-01, 0.0625rem) solid var(--stable-40, rgba(173, 173, 173, 0.4))}:host .week .day{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:3.75rem;text-align:center;cursor:pointer}:host .week .day.grey-day{opacity:0.3}:host .week .day.today.active .day-number{color:var(--light, #ffffff);background:var(--app-color, #5a30f4)}:host .week .day.today .day-number{color:var(--app-color, #5a30f4)}:host .week .day.today .marker{background:var(--app-color, #5a30f4)}:host .week .day.single-range .day-number{color:var(--light, #ffffff);background:var(--app-color, #5a30f4)}:host .week .day.active .day-number{color:var(--light, #ffffff);background:var(--dark, #000000)}:host .week .day .day-number{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:var(--active-day-circle-size);height:var(--active-day-circle-size);font-weight:var(--font-weight-400, 400);font-size:var(--font-size-18, 1.125rem);font-style:normal;line-height:normal;border-radius:50%}:host .week .marker{width:0.375rem;height:0.375rem;margin-top:0;margin-bottom:var(--spacing-04, 0.25rem);background:var(--app-color-10, rgba(90, 48, 244, 0.1));border-radius:50%}:host .week.modern .day{-ms-flex-pack:center;justify-content:center;height:auto;margin-right:var(--spacing-08, 0.5rem);color:var(--dark, #000000)}:host .week.modern .day .day-inner{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;min-width:var(--spacing-32, 2rem);max-width:var(--spacing-32, 2rem);padding:var(--spacing-08, 0.5rem) var(--spacing-16, 1rem);background-color:var(--light, #ffffff);border:var(--border-width-01, 0.0625rem) solid var(--stable-alt, #d0d0d0);border-radius:var(--border-radius-04, 0.25rem)}:host .week.modern .day .day-inner .title{font-size:var(--font-size-24, 1.5rem)}:host .week.modern .day .day-inner .secondary-title{font-size:var(--font-size-14, 0.875rem)}:host .week.modern .day .day-inner.unavailable{color:var(--stable, #adadad);background-color:var(--stable-light, #f1f1f1)}:host .week.modern .day.active{color:var(--light, #ffffff)}:host .week.modern .day.active .day-inner{background-color:var(--app-color, #5a30f4);border-color:var(--app-color, #5a30f4)}:host .week.modern .day.active .day-inner.unavailable{color:var(--light, #ffffff)}:host .week.modern .day.grey-day{color:var(--stable, #adadad);opacity:1}:host .ion-slide{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host .mobile-calendar-header{position:-webkit-sticky;position:sticky;top:0;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;width:100%;margin-bottom:1.25rem;background:var(--light, #ffffff);border-top:0.625rem solid var(--light, #ffffff)}:host .mobile-calendar-header .active-month-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .mobile-calendar-header .active-month-container.flex{-ms-flex:1;flex:1}:host .mobile-calendar-header .active-month-container .prev-month{height:1.5rem;padding:0rem 0.3125rem 0rem 1rem}:host .mobile-calendar-header .active-month-container .active-month{color:var(--dark, #000000);font-weight:var(--font-weight-400, 400);font-size:var(--font-size-20, 1.25rem);font-style:normal;line-height:normal}:host .mobile-calendar-header .done{margin-right:var(--spacing-08, 0.5rem)}:host .mobile-calendar-header .calendar-tools{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-pack:end;justify-content:flex-end}:host .mobile-calendar-header .calendar-tools .calendar-toggle{padding-right:var(--spacing-16, 1rem);color:var(--stable-alt, #d0d0d0);font-weight:var(--font-weight-400, 400);font-size:var(--font-size-16, 1rem);font-style:normal;line-height:normal}:host .mobile-calendar-header .calendar-tools .calendar-toggle:last-child{padding-right:0.4375rem}:host .mobile-calendar-header .calendar-tools .calendar-toggle.today:hover{color:var(--app-color, #5a30f4)}:host .mobile-calendar-header .calendar-tools .calendar-toggle.active{color:var(--app-color, #5a30f4)}:host .mobile-days{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100%;color:var(--dark, #000000)}:host .mobile-days .in-range .day-number{width:1.25rem;color:var(--light, #ffffff) !important;background:var(--app-color, #5a30f4);border-radius:0;opacity:0.6}:host .mobile-days .in-range.first-day{position:relative;background:none}:host .mobile-days .in-range.first-day .day-number{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:var(--active-day-circle-size);height:var(--active-day-circle-size);font-weight:var(--font-weight-400, 400);font-size:var(--font-size-18, 1.125rem);font-style:normal;line-height:normal;border-radius:50%;z-index:1;color:var(--light, #ffffff);background:var(--app-color, #5a30f4);opacity:1}:host .mobile-days .in-range.first-day:after{position:absolute;right:0;left:calc(50% - var(--active-day-circle-size) / 2);height:var(--active-day-circle-size);margin-left:0.8125rem;background:var(--app-color, #5a30f4);opacity:0.6;content:\"\"}:host .mobile-days .in-range.last-day{position:relative;background:none}:host .mobile-days .in-range.last-day .day-number{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:var(--active-day-circle-size);height:var(--active-day-circle-size);font-weight:var(--font-weight-400, 400);font-size:var(--font-size-18, 1.125rem);font-style:normal;line-height:normal;border-radius:50%;z-index:1;color:var(--light, #ffffff);background:var(--app-color, #5a30f4);opacity:1}:host .mobile-days .in-range.last-day:before{position:absolute;right:calc(50% - var(--active-day-circle-size) / 2);left:0;height:var(--active-day-circle-size);margin-right:var(--spacing-16, 1rem);background:var(--app-color, #5a30f4);opacity:0.6;content:\"\"}:host([hidden]){display:none}:host([display-mode=week]) .week{border-bottom:none}:host([display-mode=month]) .calendar-container .swiper-control{padding-top:var(--spacing-16, 1rem)}:host([is-date-picker]){min-height:28.75rem}:host([modern-date-picker]){min-height:0}:host([is-range]) .week .day.grey-day:not(.diff-month){pointer-events:none}:host(.date) .mobile-days .week:last-child{border-bottom:none}:host(.stable-light) .mobile-days .week-header .day{background:var(--stable-light, #f1f1f1)}:host(.web){--active-day-circle-size:1.625rem}:host(.web) .days{height:100%}:host(.web) .days .week-header{margin-right:0.75rem;margin-left:0.75rem}:host(.web) .days yoo-ion-scroll .web-days{margin-bottom:var(--spacing-16, 1rem)}:host(.web) .days yoo-ion-scroll .web-days.hidden{display:none;opacity:0}:host(.web) .days yoo-ion-scroll .web-days.space .week{padding-bottom:var(--spacing-08, 0.5rem)}:host(.web) .days yoo-ion-scroll .active-month{margin-left:var(--spacing-16, 1rem);font-size:var(--font-size-18, 1.125rem)}:host(.web) .days yoo-ion-scroll .active-month.flex{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;margin:0;padding:0 var(--spacing-04, 0.25rem);font-size:var(--font-size-16, 1rem)}:host(.web) .days yoo-ion-scroll .week .day .day-number{font-size:var(--font-size-14, 0.875rem)}:host(.web) .days yoo-ion-scroll .week .marker{width:0.375rem;height:0.375rem}:host(.web[modern-date-picker]){display:-ms-flexbox;display:flex}:host(.web[modern-date-picker]) .next-month,:host(.web[modern-date-picker]) .prev-month{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.web[modern-date-picker]) .next-month yoo-tag,:host(.web[modern-date-picker]) .prev-month yoo-tag{-webkit-box-shadow:var(--shadow-01, 0 0.0625rem 0.25rem 0 rgba(0, 0, 0, 0.1));box-shadow:var(--shadow-01, 0 0.0625rem 0.25rem 0 rgba(0, 0, 0, 0.1));cursor:pointer}:host(.web[modern-date-picker]) .prev-month{padding-right:var(--spacing-08, 0.5rem)}:host(.web[modern-date-picker]) .next-month{padding-left:var(--spacing-08, 0.5rem)}:host(.web.calendar-picker){min-height:17.3125rem}:host(.web.calendar-picker) .mobile-calendar-header .active-month-container .prev-month{padding:0rem 0.3125rem 0rem 0rem}:host(.web.calendar-picker) .week-header{margin-bottom:var(--spacing-04, 0.25rem)}:host(.web.calendar-picker) .week-header .day{font-size:var(--font-size-14, 0.875rem)}:host(.web.calendar-picker) .week .day{height:2rem;font-size:var(--font-size-14, 0.875rem)}:host(.web.calendar-picker) .week .day .day-number{font-size:var(--font-size-14, 0.875rem)}:host(.web.calendar-picker) .week .day .marker{display:none}:host(.web.calendar-picker) .week .day.active .day-number{background:var(--app-color, #5a30f4)}@media only screen and (max-width: 350px){:host .mobile-calendar-header .calendar-tools .calendar-toggle{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:4rem}}:host([size=extra-small]){--active-day-circle-size:1rem;width:100%;min-height:unset;border:solid 0.0625rem var(--stable-light, #f1f1f1);border-radius:0.125rem}:host([size=extra-small]) div.mobile-calendar-header{margin:1rem 0 0 0;border-top:none}:host([size=extra-small]) div.active-month-container{-ms-flex-pack:justify;justify-content:space-between;width:100%}:host([size=extra-small]) .active-month-container span.prev-month{padding:0 0.5rem;color:var(--dark, #000000);cursor:pointer}:host([size=extra-small]) .active-month-container span.active-month{font-weight:bold;font-size:0.75rem}:host([size=extra-small]) .active-month-container span.next-month{padding:0 0.5rem;color:var(--dark, #000000);cursor:pointer}:host([size=extra-small]) .day-text{color:var(--text-color, #807f83);font-size:0.75rem}:host([size=extra-small]) .week{padding-top:var(--spacing-08, 0.5rem)}:host([size=extra-small]) .week .day{height:unset}:host([size=extra-small]) .week .day div.day-number{font-size:0.75rem;border-radius:0.125rem}:host([size=extra-small]) .week .day.active .day-number{background:var(--app-color, #5a30f4)}:host([size=extra-small]) .in-range.first-day:after,:host([size=extra-small]) .in-range.last-day:before{background:none}:host([size=small]){--active-day-circle-size:1.25rem;width:100%;min-height:unset;border:solid 0.0625rem var(--stable-light, #f1f1f1);border-radius:0.125rem}:host([size=small]) div.mobile-calendar-header{margin:1rem 0 0 0;border-top:none}:host([size=small]) div.active-month-container{-ms-flex-pack:justify;justify-content:space-between;width:100%}:host([size=small]) .active-month-container span.prev-month{padding:0 0.5rem;color:var(--dark, #000000);cursor:pointer}:host([size=small]) .active-month-container span.active-month{font-size:0.75rem}:host([size=small]) .active-month-container span.next-month{padding:0 0.5rem;color:var(--dark, #000000);cursor:pointer}:host([size=small]) .day-text{color:var(--text-color, #807f83);font-size:0.75rem}:host([size=small]) .week{border-bottom:none}:host([size=small]) .week .day{height:unset}:host([size=small]) .week .day div.day-number{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-size:0.75rem;border-radius:50%}:host([size=small]) .week .day.active .day-number{background:var(--app-color, #5a30f4)}:host([size=small]) .in-range.first-day:after,:host([size=small]) .in-range.last-day:before{background:none}:host(.no-border){border:none}:host(.no-margin-top) .mobile-calendar-header{margin-top:0 !important}:host(.padding-bottom){padding-bottom:var(--spacing-08, 0.5rem)}";
7
+ const calendarCss = ":host{display:block;opacity:1}:host .unavailable{color:var(--stable, #adadad)}:host .toolbar-tools{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}:host .toolbar-tools yoo-tooltip{padding:0.25rem}:host .toolbar-tools yoo-tooltip yoo-button{padding:0}:host .toolbar-tools h2{font-weight:var(--font-weight-400, 400);text-transform:capitalize}:host .toolbar-tools yoo-button{padding:0.25rem}:host .toolbar-tools .active-day{-ms-flex:1 2 auto;flex:1 2 auto;text-align:center}:host .days{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host .week-header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;min-height:1.875rem;font-weight:var(--font-weight-400, 400);font-size:var(--font-size-14, 0.875rem)}:host .week-header .day{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding:0.3125rem;font-weight:var(--font-weight-400, 400);font-size:var(--font-size-16, 1rem);font-style:normal;text-align:center}:host .calendar-container.modern yoo-ion-slide{width:auto !important}:host .week{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:row;flex-direction:row;padding:var(--spacing-04, 0.25rem) 0;border-bottom:var(--border-width-01, 0.0625rem) solid var(--stable-40, rgba(173, 173, 173, 0.4))}:host .week .day{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:3.5rem;text-align:center;cursor:pointer}:host .week .day.active .day-number{width:50%;max-width:var(--spacing-24, 1.5rem);padding:5%}:host .week .day:not(.in-range) .day-number:after{display:block;padding-top:100%;content:\"\"}:host .week .day.grey-day{opacity:0.3}:host .week .day.today.active .day-number{color:var(--light, #ffffff);background:var(--app-color, #5a30f4)}:host .week .day.today .day-number{color:var(--app-color, #5a30f4)}:host .week .day.today .marker{background:var(--app-color, #5a30f4)}:host .week .day.single-range .day-number{color:var(--light, #ffffff);background:var(--app-color, #5a30f4)}:host .week .day.active .day-number{color:var(--light, #ffffff);background:var(--dark, #000000)}:host .week .day .day-number{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-weight:var(--font-weight-400, 400);font-size:var(--font-size-18, 1.125rem);font-style:normal;line-height:normal}:host .week .marker{width:0.375rem;height:0.375rem;margin-top:0;margin-bottom:var(--spacing-04, 0.25rem);background:var(--app-color-10, rgba(90, 48, 244, 0.1));border-radius:50%}:host .week.modern .day{-ms-flex-pack:center;justify-content:center;height:auto;margin-right:var(--spacing-08, 0.5rem);color:var(--dark, #000000)}:host .week.modern .day .day-inner{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;min-width:var(--spacing-32, 2rem);max-width:var(--spacing-32, 2rem);padding:var(--spacing-08, 0.5rem) var(--spacing-16, 1rem);background-color:var(--light, #ffffff);border:var(--border-width-01, 0.0625rem) solid var(--stable-alt, #d0d0d0);border-radius:var(--border-radius-04, 0.25rem)}:host .week.modern .day .day-inner .title{font-size:var(--font-size-24, 1.5rem)}:host .week.modern .day .day-inner .secondary-title{font-size:var(--font-size-14, 0.875rem)}:host .week.modern .day .day-inner.unavailable{color:var(--stable, #adadad);background-color:var(--stable-light, #f1f1f1)}:host .week.modern .day.active{color:var(--light, #ffffff)}:host .week.modern .day.active .day-inner{background-color:var(--app-color, #5a30f4);border-color:var(--app-color, #5a30f4)}:host .week.modern .day.active .day-inner.unavailable{color:var(--light, #ffffff)}:host .week.modern .day.grey-day{color:var(--stable, #adadad);opacity:1}:host .ion-slide{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host .mobile-calendar-header{position:-webkit-sticky;position:sticky;top:0;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;width:100%;margin-bottom:1.25rem;background:var(--light, #ffffff);border-top:0.625rem solid var(--light, #ffffff)}:host .mobile-calendar-header .active-month-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .mobile-calendar-header .active-month-container.flex{-ms-flex:1;flex:1}:host .mobile-calendar-header .active-month-container .prev-month{height:1.5rem;padding:0rem 0.3125rem 0rem 1rem}:host .mobile-calendar-header .active-month-container .active-month{color:var(--dark, #000000);font-weight:var(--font-weight-400, 400);font-size:var(--font-size-20, 1.25rem);font-style:normal}:host .mobile-calendar-header .done{margin-right:var(--spacing-08, 0.5rem)}:host .mobile-calendar-header .calendar-tools{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-pack:end;justify-content:flex-end}:host .mobile-calendar-header .calendar-tools .calendar-toggle{padding-right:var(--spacing-16, 1rem);color:var(--stable-alt, #d0d0d0);font-weight:var(--font-weight-400, 400);font-size:var(--font-size-16, 1rem);font-style:normal}:host .mobile-calendar-header .calendar-tools .calendar-toggle:last-child{padding-right:0.4375rem}:host .mobile-calendar-header .calendar-tools .calendar-toggle.today:hover{color:var(--app-color, #5a30f4)}:host .mobile-calendar-header .calendar-tools .calendar-toggle.active{color:var(--app-color, #5a30f4)}:host .mobile-days{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100%;color:var(--dark, #000000)}:host .mobile-days .day-number{width:var(--spacing-16, 1rem);border-radius:50%}:host .mobile-days .in-range .day-number{width:100%;color:var(--light, #ffffff) !important;background:var(--app-color, #5a30f4);border-radius:0;opacity:0.6}:host .mobile-days .in-range.first-day{position:relative;background:none}:host .mobile-days .in-range.first-day .day-number{border-radius:var(--spacing-08, 0.5rem) 0 0 var(--spacing-08, 0.5rem)}:host .mobile-days .in-range.first-day:after{position:absolute;right:0;margin-left:0.8125rem;background:var(--app-color, #5a30f4);opacity:0.6;content:\"\"}:host .mobile-days .in-range.last-day{position:relative;background:none}:host .mobile-days .in-range.last-day .day-number{border-radius:0 var(--spacing-08, 0.5rem) var(--spacing-08, 0.5rem) 0}:host .mobile-days .in-range.last-day:before{position:absolute;margin-right:var(--spacing-16, 1rem);background:var(--app-color, #5a30f4);opacity:0.6;content:\"\"}:host .mobile-days .in-range.first-day .day-number,:host .mobile-days .in-range.last-day .day-number{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-weight:var(--font-weight-400, 400);font-size:var(--font-size-18, 1.125rem);font-style:normal;line-height:normal;z-index:1;color:var(--light, #ffffff);background:var(--app-color, #5a30f4);opacity:1}:host([hidden]){display:none}:host([display-mode=week]) .week{border-bottom:none}:host([display-mode=month]) .calendar-container .swiper-control{padding-top:var(--spacing-16, 1rem)}:host([is-date-picker]){min-height:28.75rem}:host([modern-date-picker]){min-height:0}:host([is-range]) .week .day.grey-day:not(.diff-month){pointer-events:none}:host(.date) .mobile-days .week:last-child{border-bottom:none}:host(.stable-light) .mobile-days .week-header .day{background:var(--stable-light, #f1f1f1)}:host(.web) .days{height:100%}:host(.web) .days .week-header{margin-right:0.75rem;margin-left:0.75rem}:host(.web) .days yoo-ion-scroll .web-days{margin-bottom:var(--spacing-16, 1rem)}:host(.web) .days yoo-ion-scroll .web-days.hidden{display:none;opacity:0}:host(.web) .days yoo-ion-scroll .web-days.space .week{padding-bottom:var(--spacing-08, 0.5rem)}:host(.web) .days yoo-ion-scroll .active-month{margin-left:var(--spacing-16, 1rem);font-size:var(--font-size-18, 1.125rem)}:host(.web) .days yoo-ion-scroll .active-month.flex{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;margin:0;padding:0 var(--spacing-04, 0.25rem);font-size:var(--font-size-16, 1rem)}:host(.web) .days yoo-ion-scroll .week .day .day-number{font-size:var(--font-size-14, 0.875rem)}:host(.web) .days yoo-ion-scroll .week .marker{width:0.375rem;height:0.375rem}:host(.web[modern-date-picker]){display:-ms-flexbox;display:flex}:host(.web[modern-date-picker]) .next-month,:host(.web[modern-date-picker]) .prev-month{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.web[modern-date-picker]) .next-month yoo-tag,:host(.web[modern-date-picker]) .prev-month yoo-tag{-webkit-box-shadow:var(--shadow-01, 0 0.0625rem 0.25rem 0 rgba(0, 0, 0, 0.1));box-shadow:var(--shadow-01, 0 0.0625rem 0.25rem 0 rgba(0, 0, 0, 0.1));cursor:pointer}:host(.web[modern-date-picker]) .prev-month{padding-right:var(--spacing-08, 0.5rem)}:host(.web[modern-date-picker]) .next-month{padding-left:var(--spacing-08, 0.5rem)}:host(.web.calendar-picker){min-height:17.3125rem}:host(.web.calendar-picker) .mobile-calendar-header .active-month-container .prev-month{padding:0rem 0.3125rem 0rem 0rem}:host(.web.calendar-picker) .week-header{margin-bottom:var(--spacing-04, 0.25rem)}:host(.web.calendar-picker) .week-header .day{font-size:var(--font-size-14, 0.875rem)}:host(.web.calendar-picker) .week .day{height:2rem;font-size:var(--font-size-14, 0.875rem)}:host(.web.calendar-picker) .week .day .day-number{font-size:var(--font-size-14, 0.875rem)}:host(.web.calendar-picker) .week .day .marker{display:none}:host(.web.calendar-picker) .week .day.active .day-number{background:var(--app-color, #5a30f4)}@media only screen and (max-width: 350px){:host .mobile-calendar-header .calendar-tools .calendar-toggle{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:4rem}}:host([size=extra-small]){width:100%;min-height:unset;border:solid 0.0625rem var(--stable-light, #f1f1f1);border-radius:0.125rem}:host([size=extra-small]) div.mobile-calendar-header{margin:1rem 0 0 0;border-top:none}:host([size=extra-small]) div.active-month-container{-ms-flex-pack:justify;justify-content:space-between;width:100%}:host([size=extra-small]) .active-month-container span.prev-month{padding:0 0.5rem;color:var(--dark, #000000);cursor:pointer}:host([size=extra-small]) .active-month-container span.active-month{font-weight:bold;font-size:0.75rem}:host([size=extra-small]) .active-month-container span.next-month{padding:0 0.5rem;color:var(--dark, #000000);cursor:pointer}:host([size=extra-small]) .day-text{color:var(--text-color, #807f83);font-size:0.75rem}:host([size=extra-small]) .week{padding-top:var(--spacing-08, 0.5rem)}:host([size=extra-small]) .week .day{height:unset}:host([size=extra-small]) .week .day div.day-number{font-size:0.75rem;border-radius:0.125rem}:host([size=extra-small]) .week .day.active .day-number{background:var(--app-color, #5a30f4)}:host([size=extra-small]) .in-range.first-day:after,:host([size=extra-small]) .in-range.last-day:before{background:none}:host([size=small]){width:100%;min-height:unset;border:solid 0.0625rem var(--stable-light, #f1f1f1);border-radius:0.125rem}:host([size=small]) div.mobile-calendar-header{margin:1rem 0 0 0;border-top:none}:host([size=small]) div.active-month-container{-ms-flex-pack:justify;justify-content:space-between;width:100%}:host([size=small]) .active-month-container span.prev-month{padding:0 0.5rem;color:var(--dark, #000000);cursor:pointer}:host([size=small]) .active-month-container span.active-month{font-size:0.75rem}:host([size=small]) .active-month-container span.next-month{padding:0 0.5rem;color:var(--dark, #000000);cursor:pointer}:host([size=small]) .day-text{color:var(--text-color, #807f83);font-size:0.75rem}:host([size=small]) .week{border-bottom:none}:host([size=small]) .week .day{height:unset}:host([size=small]) .week .day div.day-number{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-size:var(--font-size-12, 0.75rem)}:host([size=small]) .week .day.active .day-number{background:var(--app-color, #5a30f4)}:host([size=small]) .in-range.first-day:after,:host([size=small]) .in-range.last-day:before{background:none}:host(.no-border){border:none}:host(.no-margin-top) .mobile-calendar-header{margin-top:0 !important}:host(.padding-bottom){padding-bottom:var(--spacing-08, 0.5rem)}";
8
8
 
9
9
  const MONTHS_TO_ADD = 3;
10
10
  const YooCalendarComponent = class {
@@ -407,7 +407,7 @@ const YooFormAutocompleteComponent = class {
407
407
  endDate: search.endDate,
408
408
  sortAndFilters: this.sortsAndFilters,
409
409
  search: search.search,
410
- data: formDynamic.data
410
+ data: formDynamic === null || formDynamic === void 0 ? void 0 : formDynamic.data
411
411
  }).then((ret) => {
412
412
  var _a, _b;
413
413
  if (search.currentPage === 0) {
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, i as createEvent, h, j as Build, e as Host, g as getElement } from './index-019c1b1a.js';
2
- import { t as translate, aZ as showToast, dC as getFormCapturedFileSize, ae as showAlert, W as pipes, R as isNullOrUndefined, ai as isImage, ag as isVideo, dv as isAudio, d as isNativeMobile, cb as addFilePrefix, e as isAndroid, ce as moveToImageDirectory, _ as getSession, n as showModal, v as isIOS, u as isIphoneX, bP as StatusBar, dD as isLenovo, af as showActionSheet, dE as updatePathSessionId, o as isWeb, bG as isSafari, E as getAsyncExtraData, dw as isUnsplashUrl, ah as isGif, dg as asyncWaterfall, cc as read, F as isNativeFilePath, aj as downloadFile, am as isFile, dF as getMimeType, bd as isOffline, dG as hasLargeFile, T as translateMulti, dh as showContextMenu, av as isPhotoEdited, aN as isImageUrl, dd as images, dH as audios, de as videos, aw as changeExtension, ar as isCloudinaryLink } from './index-60d331ff.js';
2
+ import { t as translate, aZ as showToast, dC as getFormCapturedFileSize, ae as showAlert, W as pipes, R as isNullOrUndefined, ai as isImage, ag as isVideo, dv as isAudio, d as isNativeMobile, cb as addFilePrefix, e as isAndroid, ce as moveToImageDirectory, _ as getSession, n as showModal, v as isIOS, u as isIphoneX, bP as StatusBar, dD as isLenovo, af as showActionSheet, dE as updatePathSessionId, o as isWeb, bG as isSafari, E as getAsyncExtraData, dw as isUnsplashUrl, ah as isGif, dg as asyncWaterfall, cc as read, F as isNativeFilePath, aj as downloadFile, am as isFile, dF as getMimeType, bd as isOffline, dG as hasLargeFile, T as translateMulti, dh as showContextMenu, av as isPhotoEdited, dd as images, dH as audios, de as videos, aw as changeExtension, ar as isCloudinaryLink } from './index-60d331ff.js';
3
3
  import { P as PictureSourceType, M as MediaType, i as importMultipleFromLibrary, g as getPicture, b as getVideo, s as showAudioRecorder, c as MediaCapture, a as getVideoDevices } from './camera-helpers-8ab083cd.js';
4
4
  import { k as keys, x as intersection, l as isNumber, a as isArray, a1 as assignInWith, N as assign, c as compact, q as clone, C as isUndefined } from './lodash-b0ad17f3.js';
5
5
  import { f as querySelectorAllDeep, q as querySelectorDeep, m as showImageCropper, h as showPhotoEditor, c as showSlidesMedia, b as getAppContext } from './common-helpers-7760f0f6.js';
@@ -1186,7 +1186,7 @@ const YooFormCaptureComponent = class {
1186
1186
  return file;
1187
1187
  },
1188
1188
  (file) => {
1189
- if (isImage(file) && !isImageUrl(file)) {
1189
+ if (isImage(file) && typeof file !== 'string') {
1190
1190
  return read(file, 'blob');
1191
1191
  }
1192
1192
  else if (isAudio(file) && !isNativeMobile()) {
@@ -25,7 +25,7 @@ const isNonRangeAbsolute = (operator) => [FormFilterDateOperator.absoluteOn, For
25
25
  const isAbsolute = (operator) => isRangeAbsolute(operator) || isNonRangeAbsolute(operator);
26
26
  const isRelative = (operator) => !isAbsolute(operator);
27
27
 
28
- const formFilterDateCss = ":host{--dialog-max-height:initial;--dialog-position:initial;--dialog-width:initial}:host h1{margin:0;color:var(--dark, #000000);font-size:inherit}:host yoo-calendar{width:12.5rem;height:11.875rem}:host yoo-form-input{width:5rem;padding-left:1rem}:host yoo-calendar,:host .input{grid-column:2/2}:host .input:not([hidden]){display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .option{display:grid;grid-template-rows:repeat(2, auto);grid-template-columns:auto 1fr;-ms-flex-align:center;align-items:center;-webkit-column-gap:var(--spacing-08, 0.5rem);-moz-column-gap:var(--spacing-08, 0.5rem);column-gap:var(--spacing-08, 0.5rem)}:host .options{display:grid;margin-bottom:var(--spacing-08, 0.5rem)}:host([size=small]) yoo-calendar,:host([size=small]) .input,:host([size=medium]) yoo-calendar,:host([size=medium]) .input{margin-top:var(--spacing-04, 0.25rem)}:host([size=small]) .options,:host([size=medium]) .options{gap:var(--spacing-08, 0.5rem)}:host([size=large]) yoo-calendar,:host([size=large]) .input{margin-top:var(--spacing-08, 0.5rem)}:host([size=large]) .options{gap:var(--spacing-16, 1rem)}";
28
+ const formFilterDateCss = ":host{--dialog-max-height:initial;--dialog-position:initial;--dialog-width:initial}:host h1{margin:0;color:var(--dark, #000000);font-size:inherit}:host yoo-calendar{width:13rem;height:13rem;padding:var(--spacing-08, 0.5rem)}:host yoo-form-input{width:5rem;padding-left:1rem}:host yoo-calendar,:host .input{grid-column:2/2}:host .input:not([hidden]){display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .option{display:grid;grid-template-rows:repeat(2, auto);grid-template-columns:auto 1fr;-ms-flex-align:center;align-items:center;-webkit-column-gap:var(--spacing-08, 0.5rem);-moz-column-gap:var(--spacing-08, 0.5rem);column-gap:var(--spacing-08, 0.5rem)}:host .options{display:grid;margin-bottom:var(--spacing-08, 0.5rem)}:host([size=small]) yoo-calendar,:host([size=small]) .input,:host([size=medium]) yoo-calendar,:host([size=medium]) .input{margin-top:var(--spacing-04, 0.25rem)}:host([size=small]) .options,:host([size=medium]) .options{gap:var(--spacing-08, 0.5rem)}:host([size=large]) yoo-calendar,:host([size=large]) .input{margin-top:var(--spacing-08, 0.5rem)}:host([size=large]) .options{gap:var(--spacing-16, 1rem)}";
29
29
 
30
30
  const suffixes = {
31
31
  [FormFilterDateOperator.relativeDay]: 'YOOBICD',
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, i as createEvent, f as forceUpdate, h, e as Host, g as getElement } from './index-019c1b1a.js';
2
- import { aI as getUUID, p as debounce, o as isWeb, t as translate, b7 as isValueATranslationKey } from './index-60d331ff.js';
2
+ import { aI as getUUID, o as isWeb, t as translate, b7 as isValueATranslationKey } from './index-60d331ff.js';
3
3
  import { y as isEqual } from './lodash-b0ad17f3.js';
4
4
  import { S as Sortable } from './sortable.esm-f788d1ca.js';
5
5
  import { b as getAppContext } from './common-helpers-7760f0f6.js';
6
- import { a as setValueAndValidateInput, s as setValidator } from './form-input-helpers-21c08c10.js';
6
+ import { s as setValidator, a as setValueAndValidateInput } from './form-input-helpers-21c08c10.js';
7
7
  import './_commonjsHelpers-f4d11124.js';
8
8
  import './index-da54e081.js';
9
9
 
@@ -46,13 +46,6 @@ const YooFormMultiInputComponent = class {
46
46
  this.dragAndDropPendingEvent = null;
47
47
  this.dragAndDropPendingEventTimeout = null;
48
48
  this.sortables = [];
49
- this.setValueAndEmitChanges = (value, skipValueAssignment = false) => {
50
- if (!skipValueAssignment) {
51
- this.value = value;
52
- }
53
- const finalValue = this.isSimpleArray ? this.value[0] : this.value;
54
- setValueAndValidateInput(finalValue, this, false, true, true);
55
- };
56
49
  }
57
50
  async reset(keys) {
58
51
  this.cells = this.getCells();
@@ -418,13 +411,19 @@ const YooFormMultiInputComponent = class {
418
411
  if (this.reverseValueDimensions) {
419
412
  values = this.arrayTransposing(values);
420
413
  }
421
- // use debounce to prevent performance issue while typing
422
- debounce(this.setValueAndEmitChanges.bind(this), 500)(values);
414
+ this.setValueAndEmitChanges(values);
423
415
  }
424
416
  onTranslationValueUpdated(ev) {
425
417
  ev.stopPropagation();
426
418
  this.translationValueUpdated.emit(ev.detail);
427
419
  }
420
+ setValueAndEmitChanges(value, skipValueAssignment = false) {
421
+ if (!skipValueAssignment) {
422
+ this.value = value;
423
+ }
424
+ const finalValue = this.isSimpleArray ? this.value[0] : this.value;
425
+ setValueAndValidateInput(finalValue, this, false, true, true);
426
+ }
428
427
  isLinkedList() {
429
428
  return this.columns.some((c) => c.linkedRow);
430
429
  }
@@ -526,6 +525,7 @@ const YooFormMultiInputComponent = class {
526
525
  onFetchCustomData: (ev) => this.onFetchEvent(ev, cell.rowIndex, cell.colIndex, this.fetchCustomData),
527
526
  onTranslationValueUpdated: (ev) => this.onTranslationValueUpdated(ev),
528
527
  clearable: false,
528
+ debounce: TagType === 'yoo-form-input' && 500,
529
529
  maxHeight: this.host.classList.contains('image-collection') ? 60 : undefined,
530
530
  minHeight: this.host.classList.contains('image-collection') ? 60 : undefined,
531
531
  customZIndex: TagType === 'yoo-form-text-editor' && 20000 - cell.rowIndex,