@yoobic/yobi 8.2.0-24 → 8.2.0-27

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.
Files changed (38) hide show
  1. package/dist/cjs/yoo-audio-player.cjs.entry.js +23 -12
  2. package/dist/cjs/yoo-calendar.cjs.entry.js +1 -1
  3. package/dist/cjs/yoo-form-autocomplete.cjs.entry.js +1 -1
  4. package/dist/cjs/yoo-form-capture.cjs.entry.js +1 -1
  5. package/dist/cjs/yoo-form-carousel.cjs.entry.js +1 -1
  6. package/dist/cjs/yoo-form-filter-date.cjs.entry.js +1 -1
  7. package/dist/cjs/yoo-form-multi-input.cjs.entry.js +9 -9
  8. package/dist/cjs/yoo-grid.cjs.entry.js +1 -1
  9. package/dist/cjs/yoo-range.cjs.entry.js +1 -1
  10. package/dist/collection/components/1.atoms/range/range.js +1 -1
  11. package/dist/collection/components/2.molecules/audio-player/audio-player.js +28 -15
  12. package/dist/collection/components/2.molecules/calendar/calendar.css +29 -48
  13. package/dist/collection/components/form/form-autocomplete/form-autocomplete.js +1 -1
  14. package/dist/collection/components/form/form-capture/form-capture.js +2 -2
  15. package/dist/collection/components/form/form-carousel/form-carousel.js +1 -1
  16. package/dist/collection/components/form/form-filter-date/form-filter-date.css +3 -2
  17. package/dist/collection/components/form/form-multi-input/form-multi-input.js +10 -10
  18. package/dist/collection/components/grid/grid/grid.css +0 -5
  19. package/dist/design-system/yoo-audio-player.entry.js +23 -12
  20. package/dist/design-system/yoo-calendar.entry.js +1 -1
  21. package/dist/design-system/yoo-form-autocomplete.entry.js +1 -1
  22. package/dist/design-system/yoo-form-capture.entry.js +2 -2
  23. package/dist/design-system/yoo-form-carousel.entry.js +1 -1
  24. package/dist/design-system/yoo-form-filter-date.entry.js +1 -1
  25. package/dist/design-system/yoo-form-multi-input.entry.js +11 -11
  26. package/dist/design-system/yoo-grid.entry.js +1 -1
  27. package/dist/design-system/yoo-range.entry.js +1 -1
  28. package/dist/esm/yoo-audio-player.entry.js +23 -12
  29. package/dist/esm/yoo-calendar.entry.js +1 -1
  30. package/dist/esm/yoo-form-autocomplete.entry.js +1 -1
  31. package/dist/esm/yoo-form-capture.entry.js +2 -2
  32. package/dist/esm/yoo-form-carousel.entry.js +1 -1
  33. package/dist/esm/yoo-form-filter-date.entry.js +1 -1
  34. package/dist/esm/yoo-form-multi-input.entry.js +11 -11
  35. package/dist/esm/yoo-grid.entry.js +1 -1
  36. package/dist/esm/yoo-range.entry.js +1 -1
  37. package/dist/types/components/2.molecules/audio-player/audio-player.d.ts +7 -3
  38. package/package.json +1 -1
@@ -35,12 +35,12 @@ const YooAudioPlayerComponent = class {
35
35
  this.currentTime = 0;
36
36
  this.currentTimeDisplay = '00:00';
37
37
  }
38
- onSrcChanged() {
39
- return this.initPlayer(true);
40
- }
41
38
  onVisibilityChanged() {
42
39
  this.pause();
43
40
  }
41
+ onSrcChanged() {
42
+ return this.initPlayer(true);
43
+ }
44
44
  async getAudio() {
45
45
  return this.audio;
46
46
  }
@@ -49,7 +49,7 @@ const YooAudioPlayerComponent = class {
49
49
  return (_a = this.audio) === null || _a === void 0 ? void 0 : _a.pause();
50
50
  }
51
51
  async componentWillLoad() {
52
- return await this.initPlayer();
52
+ await this.initPlayer();
53
53
  }
54
54
  disconnectedCallback() {
55
55
  this.pause();
@@ -107,7 +107,7 @@ const YooAudioPlayerComponent = class {
107
107
  .map((v) => v.toString().padStart(2, '0'))
108
108
  .join(':');
109
109
  }
110
- async togglePlay(ev) {
110
+ togglePlay(ev) {
111
111
  if (ev && this.audio) {
112
112
  ev.stopPropagation();
113
113
  const { paused, ended, currentTime } = this.audio;
@@ -121,7 +121,10 @@ const YooAudioPlayerComponent = class {
121
121
  }
122
122
  }
123
123
  }
124
- render() {
124
+ renderPlayButton() {
125
+ return index.h("yoo-button", { disabled: this.disabled, animated: index$1.isWeb(this.host), shape: "circular", fill: "transparent", onClick: (ev) => this.togglePlay(ev) }, index.h("yoo-icon", { name: `${this.audio.paused ? 'play' : 'pause'}-audio`, size: "large" }));
126
+ }
127
+ renderRange() {
125
128
  const pausePlay = (ev) => {
126
129
  this.isDragging = !ev;
127
130
  this.pause();
@@ -131,16 +134,24 @@ const YooAudioPlayerComponent = class {
131
134
  this.currentTime = this.audio.currentTime = value !== null && value !== void 0 ? value : 0;
132
135
  this.audio.play();
133
136
  };
134
- return (index.h(index.Host, null, [
135
- index.h("yoo-button", { disabled: this.disabled, animated: index$1.isWeb(this.host), shape: "circular", fill: "transparent", onClick: (ev) => this.togglePlay(ev) }, index.h("yoo-icon", { name: `${this.audio.paused ? 'play' : 'pause'}-audio`, size: "large" })),
136
- index.h("yoo-range", { max: this.duration, value: this.currentTime, disabled: this.disabled, onValueChanged: (ev) => this.currentTimeDisplay = this.formateTime(ev === null || ev === void 0 ? void 0 : ev.detail), onKnobPressed: () => pausePlay(), onMouseDown: (ev) => pausePlay(ev), onKnobReleased: (ev) => resumePlay(ev === null || ev === void 0 ? void 0 : ev.detail) }),
137
- index.h("div", { class: { 'audio-info': true, 'only-time': this.displayTimeOnly } }, [!this.displayTimeOnly && index.h("span", null, index$1.translate('AUDIO')), index.h("span", null, this.currentTimeDisplay)])
137
+ return index.h("yoo-range", { max: this.duration, value: this.currentTime, disabled: this.disabled, onValueChanged: ({ detail }) => this.currentTimeDisplay = this.formateTime(detail), onKnobPressed: () => pausePlay(), onKnobReleased: ({ detail }) => resumePlay(detail) });
138
+ }
139
+ renderInfo() {
140
+ return index.h("div", { class: { 'audio-info': true, 'only-time': this.displayTimeOnly } }, [!this.displayTimeOnly &&
141
+ index.h("span", null, index$1.translate('AUDIO')), index.h("span", null, this.currentTimeDisplay)
142
+ ]);
143
+ }
144
+ render() {
145
+ return (index.h(index.Host, null, " ", [
146
+ this.renderPlayButton(),
147
+ this.renderRange(),
148
+ this.renderInfo()
138
149
  ]));
139
150
  }
140
151
  get host() { return index.getElement(this); }
141
152
  static get watchers() { return {
142
- "src": ["onSrcChanged"],
143
- "isVisible": ["onVisibilityChanged"]
153
+ "isVisible": ["onVisibilityChanged"],
154
+ "src": ["onSrcChanged"]
144
155
  }; }
145
156
  };
146
157
  YooAudioPlayerComponent.style = audioPlayerCss;
@@ -8,7 +8,7 @@ const lodash = require('./lodash-597bda6d.js');
8
8
  require('./_commonjsHelpers-94df2ea7.js');
9
9
  require('./index-ea29129a.js');
10
10
 
11
- 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)}";
11
+ 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)}";
12
12
 
13
13
  const MONTHS_TO_ADD = 3;
14
14
  const YooCalendarComponent = class {
@@ -411,7 +411,7 @@ const YooFormAutocompleteComponent = class {
411
411
  endDate: search.endDate,
412
412
  sortAndFilters: this.sortsAndFilters,
413
413
  search: search.search,
414
- data: formDynamic.data
414
+ data: formDynamic === null || formDynamic === void 0 ? void 0 : formDynamic.data
415
415
  }).then((ret) => {
416
416
  var _a, _b;
417
417
  if (search.currentPage === 0) {
@@ -1190,7 +1190,7 @@ const YooFormCaptureComponent = class {
1190
1190
  return file;
1191
1191
  },
1192
1192
  (file) => {
1193
- if (index$1.isImage(file) && !index$1.isImageUrl(file)) {
1193
+ if (index$1.isImage(file) && typeof file !== 'string') {
1194
1194
  return index$1.read(file, 'blob');
1195
1195
  }
1196
1196
  else if (index$1.isAudio(file) && !index$1.isNativeMobile()) {
@@ -244,7 +244,7 @@ const YooFormCarouselComponent = class {
244
244
  return this.renderVideo(src, index$2);
245
245
  }
246
246
  else if (type === 'audio') {
247
- return index.h("yoo-audio-player", { class: "audio-player", src: src });
247
+ return index.h("yoo-audio-player", { onClick: ev => ev === null || ev === void 0 ? void 0 : ev.stopPropagation(), class: "audio-player", src: src });
248
248
  }
249
249
  else if (type === 'document') {
250
250
  return index.h("yoo-form-document", { class: "expanded", isPdf: this.isPdf, extraClass: "feed", showDialog: true, showActionSheet: index$1.isNativeMobile() && index$1.isPdf(src), document: src });
@@ -29,7 +29,7 @@ const isNonRangeAbsolute = (operator) => [index$2.FormFilterDateOperator.absolut
29
29
  const isAbsolute = (operator) => isRangeAbsolute(operator) || isNonRangeAbsolute(operator);
30
30
  const isRelative = (operator) => !isAbsolute(operator);
31
31
 
32
- 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)}";
32
+ 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)}";
33
33
 
34
34
  const suffixes = {
35
35
  [index$2.FormFilterDateOperator.relativeDay]: 'YOOBICD',
@@ -50,13 +50,6 @@ const YooFormMultiInputComponent = class {
50
50
  this.dragAndDropPendingEvent = null;
51
51
  this.dragAndDropPendingEventTimeout = null;
52
52
  this.sortables = [];
53
- this.setValueAndEmitChanges = (value, skipValueAssignment = false) => {
54
- if (!skipValueAssignment) {
55
- this.value = value;
56
- }
57
- const finalValue = this.isSimpleArray ? this.value[0] : this.value;
58
- formInputHelpers.setValueAndValidateInput(finalValue, this, false, true, true);
59
- };
60
53
  }
61
54
  async reset(keys) {
62
55
  this.cells = this.getCells();
@@ -422,13 +415,19 @@ const YooFormMultiInputComponent = class {
422
415
  if (this.reverseValueDimensions) {
423
416
  values = this.arrayTransposing(values);
424
417
  }
425
- // use debounce to prevent performance issue while typing
426
- index$1.debounce(this.setValueAndEmitChanges.bind(this), 500)(values);
418
+ this.setValueAndEmitChanges(values);
427
419
  }
428
420
  onTranslationValueUpdated(ev) {
429
421
  ev.stopPropagation();
430
422
  this.translationValueUpdated.emit(ev.detail);
431
423
  }
424
+ setValueAndEmitChanges(value, skipValueAssignment = false) {
425
+ if (!skipValueAssignment) {
426
+ this.value = value;
427
+ }
428
+ const finalValue = this.isSimpleArray ? this.value[0] : this.value;
429
+ formInputHelpers.setValueAndValidateInput(finalValue, this, false, true, true);
430
+ }
432
431
  isLinkedList() {
433
432
  return this.columns.some((c) => c.linkedRow);
434
433
  }
@@ -530,6 +529,7 @@ const YooFormMultiInputComponent = class {
530
529
  onFetchCustomData: (ev) => this.onFetchEvent(ev, cell.rowIndex, cell.colIndex, this.fetchCustomData),
531
530
  onTranslationValueUpdated: (ev) => this.onTranslationValueUpdated(ev),
532
531
  clearable: false,
532
+ debounce: TagType === 'yoo-form-input' && 500,
533
533
  maxHeight: this.host.classList.contains('image-collection') ? 60 : undefined,
534
534
  minHeight: this.host.classList.contains('image-collection') ? 60 : undefined,
535
535
  customZIndex: TagType === 'yoo-form-text-editor' && 20000 - cell.rowIndex,