@mptw/skylens-ui 1.5.16 → 1.5.18
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/app/components/SLAlertModal.vue +18 -18
- package/app/components/SLButton.vue +108 -148
- package/app/components/SLCalendarButton.vue +24 -24
- package/app/components/SLCard.vue +44 -44
- package/app/components/SLCheckbox.vue +45 -46
- package/app/components/SLCircleButton.vue +13 -13
- package/app/components/SLCollapsableBlock.vue +15 -15
- package/app/components/SLCollapsableMulitPillSelect.vue +9 -9
- package/app/components/SLContextMenu.vue +9 -9
- package/app/components/SLDateInput.vue +41 -48
- package/app/components/SLDownloadButton.vue +12 -12
- package/app/components/SLDropdown.vue +21 -21
- package/app/components/SLDropdownItem.vue +3 -3
- package/app/components/SLElementWithTitle.vue +3 -3
- package/app/components/SLEyeCheckbox.vue +36 -36
- package/app/components/SLFileInput.vue +16 -16
- package/app/components/SLGenderAgeSelect.vue +39 -39
- package/app/components/SLHourRangeInput.vue +19 -20
- package/app/components/SLIOSSwitch.vue +72 -73
- package/app/components/SLIconButton.vue +29 -21
- package/app/components/SLInfoTip.vue +35 -36
- package/app/components/SLLegend.vue +9 -9
- package/app/components/SLLink.vue +3 -3
- package/app/components/SLLoading.vue +25 -25
- package/app/components/SLModal.vue +79 -79
- package/app/components/SLMonthCalendarButton.vue +46 -46
- package/app/components/SLMonthPicker.vue +28 -30
- package/app/components/SLMultiEmailInput.vue +72 -72
- package/app/components/SLMultiSelect.vue +27 -29
- package/app/components/SLPageModal.vue +5 -5
- package/app/components/SLPagination.vue +31 -31
- package/app/components/SLPillCheckbox.vue +42 -42
- package/app/components/SLPillLabel.vue +36 -36
- package/app/components/SLPopupMenuButton.vue +16 -16
- package/app/components/SLProfileButton.vue +17 -17
- package/app/components/SLProjectShareItem.vue +18 -17
- package/app/components/SLRadioButton.vue +33 -33
- package/app/components/SLRadioButtonGroup.vue +6 -6
- package/app/components/SLRadioGroup.vue +93 -93
- package/app/components/SLRangeInput.vue +17 -19
- package/app/components/SLRightSider.vue +19 -20
- package/app/components/SLSearchInput.vue +7 -7
- package/app/components/SLSelect.vue +90 -92
- package/app/components/SLSelectAllToggle.vue +45 -45
- package/app/components/SLSidebarNav.vue +148 -151
- package/app/components/SLSidebarNavGroupItemSection.vue +70 -78
- package/app/components/SLSidebarNavLinkItem.vue +51 -53
- package/app/components/SLSitePage.vue +6 -6
- package/app/components/SLSortByDropdown.vue +18 -18
- package/app/components/SLStayRangeInput.vue +40 -40
- package/app/components/SLTable.vue +56 -59
- package/app/components/SLTableTooltip.vue +31 -33
- package/app/components/SLTabs.vue +220 -220
- package/app/components/SLTextInput.vue +64 -74
- package/app/components/SLTextarea.vue +9 -9
- package/app/components/SLToast.vue +1 -2
- package/app/components/SLToggleButton.vue +12 -12
- package/app/components/SLTwoLayerMultiSelect.vue +56 -56
- package/app/components/SLTwoLayerSelect.vue +39 -39
- package/app/components/SLTwoLayerSingleSelect.vue +21 -21
- package/app/components/SLWarnModal.vue +3 -3
- package/package.json +1 -1
|
@@ -293,110 +293,110 @@ export default defineComponent({
|
|
|
293
293
|
|
|
294
294
|
.modal {
|
|
295
295
|
@apply z-50 fixed top-0 left-0 w-full h-full overflow-hidden;
|
|
296
|
-
}
|
|
297
296
|
|
|
298
|
-
.modal
|
|
299
|
-
|
|
300
|
-
|
|
297
|
+
.modal-dialog-centered {
|
|
298
|
+
@apply flex;
|
|
299
|
+
max-height: calc(100% - (var(--spacing) * 7 * 2));
|
|
300
|
+
}
|
|
301
301
|
|
|
302
|
-
.modal
|
|
303
|
-
|
|
304
|
-
}
|
|
302
|
+
.modal-dialog-free {
|
|
303
|
+
@apply w-auto;
|
|
304
|
+
}
|
|
305
305
|
|
|
306
|
-
.modal
|
|
307
|
-
|
|
308
|
-
}
|
|
306
|
+
.modal-dialog-2xl {
|
|
307
|
+
@apply max-w-[41rem] lg:max-w-[55.125rem];
|
|
308
|
+
}
|
|
309
309
|
|
|
310
|
-
.modal
|
|
311
|
-
|
|
312
|
-
}
|
|
310
|
+
.modal-dialog-3xl {
|
|
311
|
+
@apply max-w-[748px] lg:max-w-[900px];
|
|
312
|
+
}
|
|
313
313
|
|
|
314
|
-
.modal
|
|
315
|
-
|
|
316
|
-
}
|
|
314
|
+
.modal-dialog-4xl {
|
|
315
|
+
@apply max-w-[697px] lg:max-w-[924px];
|
|
316
|
+
}
|
|
317
317
|
|
|
318
|
-
.modal
|
|
319
|
-
|
|
320
|
-
}
|
|
318
|
+
.modal-dialog-5xl {
|
|
319
|
+
@apply max-w-[748px] lg:max-w-[980px];
|
|
320
|
+
}
|
|
321
321
|
|
|
322
|
-
.modal
|
|
323
|
-
|
|
324
|
-
}
|
|
322
|
+
.modal-dialog-xs {
|
|
323
|
+
@apply max-w-[30rem];
|
|
324
|
+
}
|
|
325
325
|
|
|
326
|
-
.modal
|
|
327
|
-
|
|
328
|
-
}
|
|
326
|
+
.modal-dialog-sm {
|
|
327
|
+
@apply max-w-149.5;
|
|
328
|
+
}
|
|
329
329
|
|
|
330
|
-
.modal
|
|
331
|
-
|
|
332
|
-
}
|
|
330
|
+
.modal-dialog-lg {
|
|
331
|
+
@apply max-w-[39.75rem];
|
|
332
|
+
}
|
|
333
333
|
|
|
334
|
-
.modal
|
|
335
|
-
|
|
336
|
-
}
|
|
334
|
+
.modal-dialog-xl {
|
|
335
|
+
@apply max-w-[39rem] lg:max-w-208;
|
|
336
|
+
}
|
|
337
337
|
|
|
338
|
-
.modal
|
|
339
|
-
|
|
340
|
-
}
|
|
338
|
+
.modal-backdrop {
|
|
339
|
+
@apply absolute top-0 left-0 w-full h-full;
|
|
341
340
|
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
}
|
|
341
|
+
&.show {
|
|
342
|
+
@apply bg-mask/80;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
345
|
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
}
|
|
346
|
+
&.modal-centered {
|
|
347
|
+
@apply flex items-center;
|
|
348
|
+
}
|
|
349
349
|
|
|
350
|
-
.modal
|
|
351
|
-
|
|
352
|
-
max-height: calc(100% - (var(--spacing) * 7 * 2));
|
|
353
|
-
}
|
|
350
|
+
.modal-content {
|
|
351
|
+
@apply flex flex-col w-full max-h-full rounded-lg bg-white shadow-popup-lg;
|
|
354
352
|
|
|
355
|
-
.modal
|
|
356
|
-
|
|
357
|
-
}
|
|
353
|
+
.modal-header-right {
|
|
354
|
+
@apply flex items-baseline ml-6;
|
|
355
|
+
}
|
|
358
356
|
|
|
359
|
-
.modal
|
|
360
|
-
|
|
361
|
-
}
|
|
357
|
+
.modal-title-notice {
|
|
358
|
+
@apply text-xs font-normal;
|
|
359
|
+
}
|
|
362
360
|
|
|
363
|
-
.modal
|
|
364
|
-
|
|
365
|
-
}
|
|
361
|
+
.modal-header-left {
|
|
362
|
+
@apply flex items-center;
|
|
363
|
+
}
|
|
366
364
|
|
|
367
|
-
.modal
|
|
368
|
-
|
|
369
|
-
}
|
|
365
|
+
.modal-header {
|
|
366
|
+
@apply grow-0 shrink-0 flex items-center justify-between py-2 px-4 bg-primary rounded-t-lg text-xl leading-6.75 text-white;
|
|
370
367
|
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
}
|
|
368
|
+
+ .modal-body {
|
|
369
|
+
@apply rounded-t-none;
|
|
370
|
+
}
|
|
371
|
+
}
|
|
374
372
|
|
|
375
|
-
.
|
|
376
|
-
|
|
377
|
-
}
|
|
373
|
+
.close-button {
|
|
374
|
+
@apply inline-flex text-base text-white;
|
|
378
375
|
|
|
379
|
-
.
|
|
380
|
-
|
|
381
|
-
}
|
|
376
|
+
.icon {
|
|
377
|
+
@apply inline-flex;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
382
380
|
|
|
383
|
-
.modal
|
|
384
|
-
|
|
385
|
-
}
|
|
381
|
+
.modal-title {
|
|
382
|
+
@apply inline-flex items-baseline space-x-2 font-normal;
|
|
383
|
+
}
|
|
384
|
+
}
|
|
386
385
|
|
|
387
|
-
.modal
|
|
388
|
-
|
|
389
|
-
}
|
|
386
|
+
.modal-dialog {
|
|
387
|
+
@apply relative w-full my-7 mx-auto;
|
|
388
|
+
}
|
|
390
389
|
|
|
391
|
-
.modal
|
|
392
|
-
|
|
393
|
-
}
|
|
390
|
+
.modal-footer {
|
|
391
|
+
@apply grow-0 shrink-0 p-6 rounded-b-lg;
|
|
392
|
+
}
|
|
394
393
|
|
|
395
|
-
.modal
|
|
396
|
-
|
|
397
|
-
}
|
|
394
|
+
.modal-body {
|
|
395
|
+
@apply grow relative w-full pt-4 pr-4 pl-4 bg-white rounded-lg;
|
|
398
396
|
|
|
399
|
-
|
|
400
|
-
|
|
397
|
+
&:last-child {
|
|
398
|
+
@apply pb-4;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
401
|
}
|
|
402
402
|
</style>
|
|
@@ -339,50 +339,66 @@ export default defineComponent({
|
|
|
339
339
|
|
|
340
340
|
.month-calendar-button-toggle {
|
|
341
341
|
@apply inline-flex items-center justify-center min-w-[163px] min-h-[58px] py-1 px-4 bg-white border border-primary-500 rounded shadow-default;
|
|
342
|
-
}
|
|
343
342
|
|
|
344
|
-
.
|
|
345
|
-
|
|
346
|
-
}
|
|
343
|
+
.toggle-wrapper {
|
|
344
|
+
@apply inline-flex items-center;
|
|
347
345
|
|
|
348
|
-
.
|
|
349
|
-
|
|
350
|
-
}
|
|
346
|
+
.toggle-divide {
|
|
347
|
+
@apply self-stretch w-px ml-4 mr-3.75 bg-primary rounded-full;
|
|
348
|
+
}
|
|
351
349
|
|
|
352
|
-
.
|
|
353
|
-
|
|
354
|
-
}
|
|
350
|
+
.button-title {
|
|
351
|
+
@apply space-y-1 text-end;
|
|
355
352
|
|
|
356
|
-
.month
|
|
357
|
-
|
|
358
|
-
}
|
|
353
|
+
.current-month {
|
|
354
|
+
@apply text-lg text-pgray-2;
|
|
355
|
+
}
|
|
359
356
|
|
|
360
|
-
.
|
|
361
|
-
|
|
362
|
-
}
|
|
357
|
+
.compare-month {
|
|
358
|
+
@apply text-xs text-pgray-3;
|
|
359
|
+
}
|
|
360
|
+
}
|
|
363
361
|
|
|
364
|
-
.
|
|
365
|
-
|
|
362
|
+
.icon {
|
|
363
|
+
@apply text-base leading-none text-primary;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
366
|
}
|
|
367
367
|
|
|
368
368
|
.month-calendar-popup {
|
|
369
369
|
@apply z-50 p-3.75 space-y-4 bg-white border border-primary-100 rounded-lg shadow-md hidden;
|
|
370
|
-
}
|
|
371
370
|
|
|
372
|
-
.
|
|
373
|
-
|
|
374
|
-
}
|
|
371
|
+
.popup-header {
|
|
372
|
+
@apply text-center;
|
|
375
373
|
|
|
376
|
-
.
|
|
377
|
-
|
|
378
|
-
}
|
|
374
|
+
.compare-switch {
|
|
375
|
+
@apply inline-flex items-center space-x-px;
|
|
379
376
|
|
|
380
|
-
.
|
|
381
|
-
|
|
382
|
-
}
|
|
377
|
+
.compare-switch-button {
|
|
378
|
+
@apply block py-0.75 px-3.75 bg-white border border-primary-300 text-sm text-insight-title;
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.popup-footer {
|
|
384
|
+
@apply pt-4 space-x-6 border-t border-pgray-4 text-center;
|
|
385
|
+
|
|
386
|
+
.cancel-button {
|
|
387
|
+
@apply text-base text-pgray-3;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
383
390
|
|
|
384
|
-
.
|
|
385
|
-
|
|
391
|
+
.popup-body {
|
|
392
|
+
@apply flex;
|
|
393
|
+
|
|
394
|
+
.calendar-divide {
|
|
395
|
+
@apply w-px ml-4 mr-3.75 bg-pgray-4;
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
&[data-show] {
|
|
400
|
+
@apply block;
|
|
401
|
+
}
|
|
386
402
|
}
|
|
387
403
|
|
|
388
404
|
.month-calendar-popup
|
|
@@ -405,20 +421,4 @@ export default defineComponent({
|
|
|
405
421
|
.compare-switch-button.selected {
|
|
406
422
|
@apply bg-insight-title border-insight-title text-white;
|
|
407
423
|
}
|
|
408
|
-
|
|
409
|
-
.month-calendar-popup .popup-body {
|
|
410
|
-
@apply flex;
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
.month-calendar-popup .popup-body .calendar-divide {
|
|
414
|
-
@apply w-px ml-4 mr-3.75 bg-pgray-4;
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
.month-calendar-popup .popup-footer {
|
|
418
|
-
@apply pt-4 space-x-6 border-t border-pgray-4 text-center;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
.month-calendar-popup .popup-footer .cancel-button {
|
|
422
|
-
@apply text-base text-pgray-3;
|
|
423
|
-
}
|
|
424
424
|
</style>
|
|
@@ -110,47 +110,45 @@ export default defineComponent({
|
|
|
110
110
|
|
|
111
111
|
.month-picker {
|
|
112
112
|
@apply w-47.5 space-y-4;
|
|
113
|
-
}
|
|
114
113
|
|
|
115
|
-
.month-
|
|
116
|
-
|
|
117
|
-
}
|
|
114
|
+
.month-select-wrapper {
|
|
115
|
+
@apply flex flex-wrap -my-2 -mx-4;
|
|
118
116
|
|
|
119
|
-
.month-
|
|
120
|
-
|
|
121
|
-
}
|
|
117
|
+
.month-button {
|
|
118
|
+
@apply flex items-center justify-center w-10.5 h-6.75 my-2 mx-4 bg-white rounded text-sm text-pgray-3 hover:bg-primary-300 hover:text-white;
|
|
122
119
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
}
|
|
120
|
+
&.selected {
|
|
121
|
+
@apply text-white;
|
|
122
|
+
}
|
|
126
123
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}
|
|
124
|
+
&.disabled {
|
|
125
|
+
@apply bg-white text-pgray-5;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
131
129
|
|
|
132
|
-
.
|
|
133
|
-
|
|
134
|
-
@apply text-pgray-5 cursor-default;
|
|
135
|
-
}
|
|
130
|
+
.year-select {
|
|
131
|
+
@apply flex items-center justify-center space-x-10;
|
|
136
132
|
|
|
137
|
-
.
|
|
138
|
-
|
|
139
|
-
}
|
|
133
|
+
.prev-button, .next-button {
|
|
134
|
+
@apply inline-flex items-center text-xs text-pgray-3;
|
|
140
135
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
}
|
|
136
|
+
&.disabled, &.disabled {
|
|
137
|
+
@apply text-pgray-5 cursor-default;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
144
140
|
|
|
145
|
-
.
|
|
146
|
-
|
|
141
|
+
.year {
|
|
142
|
+
@apply text-sm text-pgray-2;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
147
145
|
}
|
|
148
146
|
|
|
149
|
-
.month-picker .month-select-wrapper .month-button.selected {
|
|
150
|
-
@apply
|
|
147
|
+
.month-picker--insight-title .month-select-wrapper .month-button.selected {
|
|
148
|
+
@apply bg-insight-title;
|
|
151
149
|
}
|
|
152
150
|
|
|
153
|
-
.month-picker .month-select-wrapper .month-button.
|
|
154
|
-
@apply bg-
|
|
151
|
+
.month-picker--primary-600 .month-select-wrapper .month-button.selected {
|
|
152
|
+
@apply bg-primary-600;
|
|
155
153
|
}
|
|
156
154
|
</style>
|
|
@@ -610,34 +610,42 @@ export default defineComponent({
|
|
|
610
610
|
|
|
611
611
|
.multi-email-input {
|
|
612
612
|
@apply flex flex-col;
|
|
613
|
-
}
|
|
614
613
|
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
}
|
|
614
|
+
&.collapsed .multi-email-input-header .right-block .icon {
|
|
615
|
+
@apply rotate-0;
|
|
616
|
+
}
|
|
618
617
|
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
618
|
+
&.collapsable .multi-email-input-header {
|
|
619
|
+
@apply cursor-pointer;
|
|
620
|
+
|
|
621
|
+
.right-block {
|
|
622
|
+
@apply flex;
|
|
623
|
+
}
|
|
624
|
+
}
|
|
622
625
|
|
|
623
|
-
.multi-email-input
|
|
624
|
-
|
|
626
|
+
.multi-email-input-actions {
|
|
627
|
+
@apply grow-0 shrink-0;
|
|
628
|
+
|
|
629
|
+
.btn {
|
|
630
|
+
@apply text-sm;
|
|
631
|
+
}
|
|
632
|
+
}
|
|
625
633
|
}
|
|
626
634
|
|
|
627
635
|
.multi-email-input-header {
|
|
628
636
|
@apply flex items-center justify-between mb-2 cursor-default;
|
|
629
|
-
}
|
|
630
637
|
|
|
631
|
-
.
|
|
632
|
-
|
|
633
|
-
}
|
|
638
|
+
.right-block {
|
|
639
|
+
@apply grow-0 shrink-0 text-xs hidden;
|
|
634
640
|
|
|
635
|
-
.
|
|
636
|
-
|
|
637
|
-
}
|
|
641
|
+
.icon {
|
|
642
|
+
@apply transition-transform rotate-180;
|
|
643
|
+
}
|
|
644
|
+
}
|
|
638
645
|
|
|
639
|
-
.
|
|
640
|
-
|
|
646
|
+
.left-block {
|
|
647
|
+
@apply grow-0 shrink-0 flex items-center text-base text-pgray-2;
|
|
648
|
+
}
|
|
641
649
|
}
|
|
642
650
|
|
|
643
651
|
.multi-email-input-body-wrapper {
|
|
@@ -646,30 +654,34 @@ export default defineComponent({
|
|
|
646
654
|
|
|
647
655
|
.multi-email-input-body .emails-input {
|
|
648
656
|
@apply grow flex items-center p-1.75 space-x-4 bg-white border border-primary-500 rounded overflow-hidden;
|
|
649
|
-
}
|
|
650
657
|
|
|
651
|
-
.
|
|
652
|
-
|
|
653
|
-
}
|
|
658
|
+
.emails-list-wrapper {
|
|
659
|
+
@apply flex flex-col items-start space-y-2 overflow-hidden;
|
|
654
660
|
|
|
655
|
-
.
|
|
656
|
-
|
|
657
|
-
}
|
|
661
|
+
.email-item-status {
|
|
662
|
+
@apply grow-0 shrink-0;
|
|
663
|
+
}
|
|
658
664
|
|
|
659
|
-
.
|
|
660
|
-
|
|
661
|
-
}
|
|
665
|
+
.email-item-email {
|
|
666
|
+
@apply grow truncate;
|
|
667
|
+
}
|
|
662
668
|
|
|
663
|
-
.
|
|
664
|
-
|
|
665
|
-
}
|
|
669
|
+
.email-item {
|
|
670
|
+
@apply inline-flex items-center justify-start max-w-full px-1.75 py-0.5 space-x-2 bg-white border border-primary-300 rounded-full text-base text-pgray-2;
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
.emails-list {
|
|
675
|
+
@apply max-h-[97px];
|
|
676
|
+
}
|
|
666
677
|
|
|
667
|
-
|
|
668
|
-
|
|
678
|
+
textarea {
|
|
679
|
+
@apply grow-0 shrink-0 block w-full p-0 border-0 bg-white text-sm text-pgray-2 resize-none focus:outline-none;
|
|
680
|
+
}
|
|
669
681
|
}
|
|
670
682
|
|
|
671
|
-
.multi-email-input-body .emails-input
|
|
672
|
-
@apply grow-
|
|
683
|
+
.multi-email-input-body .emails-input-wrapper {
|
|
684
|
+
@apply grow space-y-2 overflow-hidden;
|
|
673
685
|
}
|
|
674
686
|
|
|
675
687
|
.multi-email-input-body
|
|
@@ -703,57 +715,45 @@ export default defineComponent({
|
|
|
703
715
|
@apply text-xs;
|
|
704
716
|
}
|
|
705
717
|
|
|
706
|
-
.multi-email-input-body .emails-input textarea {
|
|
707
|
-
@apply grow-0 shrink-0 block w-full p-0 border-0 bg-white text-sm text-pgray-2 resize-none focus:outline-none;
|
|
708
|
-
}
|
|
709
|
-
|
|
710
718
|
.multi-email-input-body .multi-email-input-role {
|
|
711
719
|
@apply grow-0 shrink-0 flex;
|
|
712
|
-
}
|
|
713
720
|
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
.multi-email-input .multi-email-input-actions {
|
|
719
|
-
@apply grow-0 shrink-0;
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
.multi-email-input .multi-email-input-actions .btn {
|
|
723
|
-
@apply text-sm;
|
|
721
|
+
& :deep(.dropdown-toggle) {
|
|
722
|
+
@apply text-sm;
|
|
723
|
+
}
|
|
724
724
|
}
|
|
725
725
|
|
|
726
726
|
.multi-email-input-autocomplete {
|
|
727
727
|
@apply z-50 max-h-[116px] p-1 bg-white rounded shadow-default hidden;
|
|
728
|
-
}
|
|
729
728
|
|
|
730
|
-
.
|
|
731
|
-
|
|
732
|
-
}
|
|
729
|
+
& :deep(.swiper-scrollbar-drag) {
|
|
730
|
+
@apply bg-primary-300;
|
|
731
|
+
}
|
|
733
732
|
|
|
734
|
-
.
|
|
735
|
-
|
|
736
|
-
}
|
|
733
|
+
.autotcomplete-item {
|
|
734
|
+
@apply block w-full py-1 px-2 bg-white text-sm text-pgray-2;
|
|
737
735
|
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
736
|
+
&:hover,
|
|
737
|
+
&.focused {
|
|
738
|
+
@apply bg-primary-100;
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
741
|
|
|
742
|
-
.
|
|
743
|
-
|
|
744
|
-
}
|
|
742
|
+
.swiper-scrollbar {
|
|
743
|
+
@apply top-0 right-0 h-full bg-transparent;
|
|
744
|
+
}
|
|
745
745
|
|
|
746
|
-
.
|
|
747
|
-
|
|
748
|
-
}
|
|
746
|
+
.swiper-slide {
|
|
747
|
+
@apply h-auto;
|
|
748
|
+
}
|
|
749
749
|
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
}
|
|
750
|
+
&[data-show] {
|
|
751
|
+
@apply flex;
|
|
752
|
+
}
|
|
753
753
|
|
|
754
|
-
.
|
|
755
|
-
|
|
756
|
-
|
|
754
|
+
.swiper {
|
|
755
|
+
@apply w-full;
|
|
756
|
+
}
|
|
757
757
|
}
|
|
758
758
|
|
|
759
759
|
.dropdown-menu.multi-email-input-role-dropdown-menu {
|
|
@@ -90,43 +90,41 @@ export default defineComponent({
|
|
|
90
90
|
|
|
91
91
|
.custom-multi-select {
|
|
92
92
|
@apply px-3 py-1 border border-primary-500 rounded;
|
|
93
|
-
}
|
|
94
93
|
|
|
95
|
-
.
|
|
96
|
-
|
|
97
|
-
}
|
|
94
|
+
.options-wrapper {
|
|
95
|
+
@apply relative overflow-auto;
|
|
96
|
+
}
|
|
98
97
|
|
|
99
|
-
.
|
|
100
|
-
|
|
101
|
-
}
|
|
98
|
+
.options {
|
|
99
|
+
@apply flex flex-col;
|
|
102
100
|
|
|
103
|
-
.
|
|
104
|
-
|
|
105
|
-
}
|
|
101
|
+
.option-button {
|
|
102
|
+
@apply flex justify-between items-center px-2 py-1 bg-white shadow-inline hover:bg-primary-25;
|
|
106
103
|
|
|
107
|
-
.
|
|
108
|
-
|
|
109
|
-
}
|
|
104
|
+
&.selected:hover .btn, &.selected:active .btn, &.selected:focus .btn {
|
|
105
|
+
@apply bg-primary;
|
|
106
|
+
}
|
|
110
107
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}
|
|
108
|
+
&.selected .option-label {
|
|
109
|
+
@apply text-primary font-bold;
|
|
110
|
+
}
|
|
114
111
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
}
|
|
112
|
+
&.selected .btn {
|
|
113
|
+
@apply bg-primary-600 opacity-100;
|
|
114
|
+
}
|
|
118
115
|
|
|
119
|
-
.
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
@apply bg-primary;
|
|
123
|
-
}
|
|
116
|
+
.option-label {
|
|
117
|
+
@apply grow inline-block text-base leading-[1.3125] text-pgray-2 truncate;
|
|
118
|
+
}
|
|
124
119
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}
|
|
120
|
+
&:hover .btn {
|
|
121
|
+
@apply opacity-100;
|
|
122
|
+
}
|
|
128
123
|
|
|
129
|
-
.
|
|
130
|
-
|
|
124
|
+
.btn {
|
|
125
|
+
@apply grow-0 shrink-0 inline-block px-2 py-1 bg-primary rounded text-base leading-[1.3125] text-white opacity-0;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
131
129
|
}
|
|
132
130
|
</style>
|
|
@@ -59,11 +59,11 @@ export default defineComponent({
|
|
|
59
59
|
|
|
60
60
|
.page-modal {
|
|
61
61
|
@apply fixed top-0 left-0 w-full h-full overflow-auto;
|
|
62
|
-
}
|
|
63
62
|
|
|
64
|
-
.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
63
|
+
.modal-dialog {
|
|
64
|
+
@apply flex items-center justify-center relative m-8 rounded-lg bg-white shadow-popup-lg overflow-hidden;
|
|
65
|
+
width: calc(100% - var(--spacing) * 8 * 2);
|
|
66
|
+
height: calc(100% - var(--spacing) * 8 * 2);
|
|
67
|
+
}
|
|
68
68
|
}
|
|
69
69
|
</style>
|