@yoobic/yobi 8.2.0-24 → 8.2.0-25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/yoo-calendar.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-capture.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-filter-date.cjs.entry.js +1 -1
- package/dist/cjs/yoo-grid.cjs.entry.js +1 -1
- package/dist/collection/components/2.molecules/calendar/calendar.css +29 -48
- package/dist/collection/components/form/form-capture/form-capture.js +2 -2
- package/dist/collection/components/form/form-filter-date/form-filter-date.css +3 -2
- package/dist/collection/components/grid/grid/grid.css +0 -5
- package/dist/design-system/yoo-calendar.entry.js +1 -1
- package/dist/design-system/yoo-form-capture.entry.js +2 -2
- package/dist/design-system/yoo-form-filter-date.entry.js +1 -1
- package/dist/design-system/yoo-grid.entry.js +1 -1
- package/dist/esm/yoo-calendar.entry.js +1 -1
- package/dist/esm/yoo-form-capture.entry.js +2 -2
- package/dist/esm/yoo-form-filter-date.entry.js +1 -1
- package/dist/esm/yoo-grid.entry.js +1 -1
- package/package.json +1 -1
|
@@ -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.
|
|
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:
|
|
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
|
-
|
|
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);
|
|
@@ -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,
|
|
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) &&
|
|
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:
|
|
216
|
-
height:
|
|
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;
|
|
@@ -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 {
|
|
@@ -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,
|
|
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) &&
|
|
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:
|
|
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',
|