@mptw/skylens-ui 1.5.0 → 1.5.2
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/AGENTS.md +59 -0
- package/CLAUDE.md +36 -0
- package/README.md +7 -7
- package/app/app.config.ts +11 -2
- package/app/app.vue +5 -0
- package/app/assets/css/layout.css +134 -0
- package/app/assets/css/main.css +189 -0
- package/app/components/SLAlertModal.vue +24 -16
- package/app/components/SLBreadcrumbs.vue +12 -8
- package/app/components/SLButton.vue +196 -163
- package/app/components/SLCalendarButton.vue +40 -34
- package/app/components/SLCalendarPopup.vue +79 -53
- package/app/components/SLCard.vue +57 -41
- package/app/components/SLChart.vue +6 -3
- package/app/components/SLCheckbox.vue +92 -49
- package/app/components/SLCircleButton.vue +25 -16
- package/app/components/SLCollapsableBlock.vue +44 -33
- package/app/components/SLCollapsableMulitPillSelect.vue +20 -15
- package/app/components/SLConfirmModal.vue +9 -6
- package/app/components/SLContextMenu.vue +88 -48
- package/app/components/SLDateInput.vue +109 -92
- package/app/components/SLDatePicker.vue +9 -7
- package/app/components/SLDistributor.vue +1 -1
- package/app/components/SLDownloadButton.vue +39 -29
- package/app/components/SLDraggable.vue +2 -2
- package/app/components/SLDropdown.vue +33 -25
- package/app/components/SLDropdownItem.vue +9 -5
- package/app/components/SLElementWithTitle.vue +12 -7
- package/app/components/SLEyeCheckbox.vue +44 -31
- package/app/components/SLFileInput.vue +23 -16
- package/app/components/SLGenderAgeSelect.vue +52 -36
- package/app/components/SLHourRangeInput.vue +45 -32
- package/app/components/SLIOSSwitch.vue +81 -60
- package/app/components/SLIcon.vue +4 -3
- package/app/components/SLIconButton.vue +31 -29
- package/app/components/SLInfoTip.vue +51 -40
- package/app/components/SLInsightSitePage.vue +12 -7
- package/app/components/SLLegend.vue +19 -12
- package/app/components/SLLinearProgressBar.vue +7 -20
- package/app/components/SLLink.vue +12 -8
- package/app/components/SLLoading.vue +34 -31
- package/app/components/SLMapChart.vue +5 -4
- package/app/components/SLModal.vue +90 -66
- package/app/components/SLMonthCalendarButton.vue +91 -45
- package/app/components/SLMonthPicker.vue +42 -37
- package/app/components/SLMultiEmailInput.vue +163 -113
- package/app/components/SLMultiSelect.vue +37 -26
- package/app/components/SLNoData.vue +16 -11
- package/app/components/SLNotification.vue +133 -129
- package/app/components/SLPageModal.vue +14 -9
- package/app/components/SLPagination.vue +45 -33
- package/app/components/SLPillCheckbox.vue +50 -42
- package/app/components/SLPillLabel.vue +43 -28
- package/app/components/SLPopupMenuButton.vue +26 -17
- package/app/components/SLProfileButton.vue +28 -20
- package/app/components/SLProjectShareItem.vue +30 -17
- package/app/components/SLRadioButton.vue +41 -33
- package/app/components/SLRadioButtonGroup.vue +28 -23
- package/app/components/SLRadioGroup.vue +90 -78
- package/app/components/SLRangeInput.vue +53 -38
- package/app/components/SLRegionsMapChart.vue +5 -4
- package/app/components/SLRightSider.vue +50 -40
- package/app/components/SLSearchInput.vue +24 -19
- package/app/components/SLSelect.vue +114 -87
- package/app/components/SLSelectAllToggle.vue +52 -37
- package/app/components/SLSidebarNav.vue +253 -193
- package/app/components/SLSidebarNavGroupItem.vue +13 -10
- package/app/components/SLSidebarNavGroupItemSection.vue +240 -179
- package/app/components/SLSidebarNavLinkItem.vue +131 -109
- package/app/components/SLSidebarNavSectionItem.vue +21 -18
- package/app/components/SLSitePage.vue +35 -24
- package/app/components/SLSkyInsightSitePage.vue +13 -8
- package/app/components/SLSortByDropdown.vue +35 -22
- package/app/components/SLSpinIcon.vue +6 -3
- package/app/components/SLStayRangeInput.vue +47 -36
- package/app/components/SLTab.vue +7 -2
- package/app/components/SLTable.vue +330 -313
- package/app/components/SLTableTooltip.vue +44 -30
- package/app/components/SLTabs.vue +333 -280
- package/app/components/SLTextInput.vue +162 -134
- package/app/components/SLTextarea.vue +40 -29
- package/app/components/SLToast.vue +19 -11
- package/app/components/SLToggleButton.vue +18 -11
- package/app/components/SLTwoLayerMultiSelect.vue +180 -85
- package/app/components/SLTwoLayerSelect.vue +47 -37
- package/app/components/SLTwoLayerSingleSelect.vue +52 -33
- package/app/components/SLWarnModal.vue +9 -7
- package/app/interface/commons.ts +7 -0
- package/app/utils/index.ts +213 -146
- package/eslint.config.js +3 -0
- package/nuxt.config.ts +17 -14
- package/package.json +9 -8
- package/skills-lock.json +59 -0
- package/tsconfig.json +1 -6
- package/.eslintrc.cjs +0 -4
- package/app/assets/css/layout.styl +0 -98
- package/app/assets/css/tailwind.css +0 -3
- package/app/pages/index.vue +0 -15
- package/interface/commons.ts +0 -7
- package/tailwind.config.js +0 -271
- /package/{interface → app/interface}/IDateRange.ts +0 -0
- /package/{interface → app/interface}/IHourRange.ts +0 -0
- /package/{interface → app/interface}/IInputOption.ts +0 -0
- /package/{interface → app/interface}/ILegendItem.ts +0 -0
- /package/{interface → app/interface}/IOrganization.ts +0 -0
- /package/{interface → app/interface}/IPopupMenuButton.ts +0 -0
- /package/{interface → app/interface}/IStayRange.ts +0 -0
- /package/{interface → app/interface}/ITableField.ts +0 -0
- /package/{interface → app/interface}/IWeb.ts +0 -0
- /package/{interface → app/interface}/NavConfigType.ts +0 -0
- /package/{models → app/models}/DateRange.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template lang="pug">
|
|
2
|
-
.chart
|
|
2
|
+
.region-map-chart
|
|
3
3
|
ECharts(
|
|
4
4
|
:loading="loading"
|
|
5
5
|
:option="formatedOption"
|
|
@@ -144,7 +144,8 @@ export default defineComponent({
|
|
|
144
144
|
});
|
|
145
145
|
</script>
|
|
146
146
|
|
|
147
|
-
<style
|
|
148
|
-
.chart
|
|
149
|
-
@apply h-52
|
|
147
|
+
<style>
|
|
148
|
+
.region-map-chart {
|
|
149
|
+
@apply h-52;
|
|
150
|
+
}
|
|
150
151
|
</style>
|
|
@@ -199,44 +199,54 @@ export default defineComponent({
|
|
|
199
199
|
});
|
|
200
200
|
</script>
|
|
201
201
|
|
|
202
|
-
<style
|
|
203
|
-
.
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
202
|
+
<style>
|
|
203
|
+
@reference '~ui/app/assets/css/main.css';
|
|
204
|
+
|
|
205
|
+
.right-sider {
|
|
206
|
+
@apply z-9 fixed top-0 right-0 h-full;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.right-sider.show,
|
|
210
|
+
.right-sider.hover {
|
|
211
|
+
@apply z-50;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.right-sider.show .right-sider-modal {
|
|
215
|
+
@apply block;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.right-sider-modal {
|
|
219
|
+
@apply fixed top-0 left-0 w-full h-full bg-mask/70 hidden;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.right-sider-content {
|
|
223
|
+
@apply absolute top-4 left-0 flex p-6 bg-white border-t border-l border-b border-primary-600 rounded-l-lg shadow-popup-lg transition-[margin];
|
|
224
|
+
max-width: calc(100vw - var(--spacing) * 4);
|
|
225
|
+
max-height: calc(100% - var(--spacing) * 8);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.right-sider-content .sider-toggle {
|
|
229
|
+
@apply absolute top-0 left-0 inline-flex mt-30.75 -ml-11 p-3 rounded-l-full text-lg text-white;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.right-sider-content .sider-toggle.sider-toggle-third {
|
|
233
|
+
@apply bg-third-600;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.right-sider-content .sider-toggle.sider-toggle-purple {
|
|
237
|
+
@apply bg-edit;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.right-sider-content-wrapper {
|
|
241
|
+
@apply flex max-w-full overflow-hidden;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.right-sider-content .sider-close-button {
|
|
245
|
+
@apply absolute top-0 right-0 inline-flex mt-6 mr-6 text-base text-primary;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.right-sider-addition-content {
|
|
249
|
+
@apply absolute top-4 right-0 flex bg-white border border-primary-600 rounded-lg overflow-hidden shadow-popup-lg transition-[margin];
|
|
250
|
+
max-height: calc(100% - var(--spacing) * 8);
|
|
251
|
+
}
|
|
242
252
|
</style>
|
|
@@ -71,29 +71,34 @@ export default defineComponent({
|
|
|
71
71
|
});
|
|
72
72
|
</script>
|
|
73
73
|
|
|
74
|
-
<style
|
|
75
|
-
.
|
|
76
|
-
.is-focus
|
|
77
|
-
.button-group
|
|
78
|
-
@apply border-primary
|
|
74
|
+
<style>
|
|
75
|
+
@reference '~ui/app/assets/css/main.css';
|
|
79
76
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
77
|
+
.search-input .is-focus .button-group {
|
|
78
|
+
@apply border-primary;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.search-input.search-input--sm .button-group {
|
|
82
|
+
@apply py-0.75;
|
|
83
|
+
}
|
|
83
84
|
|
|
84
|
-
|
|
85
|
-
|
|
85
|
+
.search-input.search-input--sm .button-group .btn {
|
|
86
|
+
@apply text-sm;
|
|
87
|
+
}
|
|
86
88
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
+
.search-input .input-group-append {
|
|
90
|
+
@apply inline-flex border-t border-r border-b border-primary-600 rounded-r bg-white;
|
|
91
|
+
}
|
|
89
92
|
|
|
90
|
-
|
|
91
|
-
|
|
93
|
+
.search-input .button-group {
|
|
94
|
+
@apply inline-flex items-center py-1.75 pr-1.75 space-x-1.75;
|
|
95
|
+
}
|
|
92
96
|
|
|
93
|
-
|
|
94
|
-
|
|
97
|
+
.search-input .button-group-divider {
|
|
98
|
+
@apply w-px h-full my-px bg-primary-600;
|
|
99
|
+
}
|
|
95
100
|
|
|
96
|
-
|
|
97
|
-
|
|
101
|
+
.search-input .button-group .btn {
|
|
102
|
+
@apply p-0 border-0 text-pgray-3 focus:outline-none active:outline-none;
|
|
103
|
+
}
|
|
98
104
|
</style>
|
|
99
|
-
|
|
@@ -47,8 +47,8 @@ import { createPopper } from "@popperjs/core";
|
|
|
47
47
|
import type { Placement } from "@popperjs/core";
|
|
48
48
|
import { gsap } from "gsap";
|
|
49
49
|
import { ScrollToPlugin } from "gsap/ScrollToPlugin";
|
|
50
|
-
import { getUID } from "~ui/utils";
|
|
51
|
-
import type IInputOption from "~ui/interface/IInputOption";
|
|
50
|
+
import { getUID } from "~ui/app/utils";
|
|
51
|
+
import type IInputOption from "~ui/app/interface/IInputOption";
|
|
52
52
|
|
|
53
53
|
gsap.registerPlugin(ScrollToPlugin);
|
|
54
54
|
|
|
@@ -152,7 +152,9 @@ export default defineComponent({
|
|
|
152
152
|
const select = shallowRef<HTMLElement | null>(null);
|
|
153
153
|
const uid = ref<string | undefined>(undefined);
|
|
154
154
|
const modelProxy = ref(
|
|
155
|
-
Array.isArray(modelValue.value)
|
|
155
|
+
Array.isArray(modelValue.value)
|
|
156
|
+
? [...modelValue.value]
|
|
157
|
+
: modelValue.value,
|
|
156
158
|
);
|
|
157
159
|
const search = ref("");
|
|
158
160
|
const isSelecting = ref(false);
|
|
@@ -342,7 +344,7 @@ export default defineComponent({
|
|
|
342
344
|
)
|
|
343
345
|
return;
|
|
344
346
|
modelProxy.value = modelProxy.value.filter(
|
|
345
|
-
(v: any) => v !== newValue
|
|
347
|
+
(v: any) => v !== newValue,
|
|
346
348
|
);
|
|
347
349
|
} else {
|
|
348
350
|
if (
|
|
@@ -452,111 +454,136 @@ export default defineComponent({
|
|
|
452
454
|
});
|
|
453
455
|
</script>
|
|
454
456
|
|
|
455
|
-
<style
|
|
456
|
-
.
|
|
457
|
-
@apply relative
|
|
457
|
+
<style scoped>
|
|
458
|
+
@reference '~ui/app/assets/css/main.css';
|
|
458
459
|
|
|
459
|
-
|
|
460
|
-
|
|
460
|
+
.custom-select {
|
|
461
|
+
@apply relative;
|
|
462
|
+
}
|
|
461
463
|
|
|
462
|
-
|
|
463
|
-
|
|
464
|
+
.custom-select.inline {
|
|
465
|
+
@apply flex;
|
|
466
|
+
}
|
|
464
467
|
|
|
465
|
-
|
|
466
|
-
|
|
468
|
+
.custom-select.inline .input-label {
|
|
469
|
+
@apply grow-0 shrink-0 mb-0 mr-2 py-2 border-t border-b border-transparent;
|
|
470
|
+
}
|
|
467
471
|
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
@apply py-px s('px-0.75') text-xs
|
|
472
|
+
.custom-select.inline .form-control {
|
|
473
|
+
@apply grow;
|
|
474
|
+
}
|
|
472
475
|
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
@apply s("py-0.75") text-sm
|
|
476
|
+
.custom-select.custom-select-xs .form-control label {
|
|
477
|
+
@apply py-px px-0.75 text-xs;
|
|
478
|
+
}
|
|
477
479
|
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
@apply border-primary-600 bg-primary-100 text-pgray-4 cursor-default
|
|
480
|
+
.custom-select.custom-select-sm .form-control label {
|
|
481
|
+
@apply py-0.75 text-sm;
|
|
482
|
+
}
|
|
482
483
|
|
|
483
|
-
|
|
484
|
-
|
|
484
|
+
.custom-select.disabled .form-control label,
|
|
485
|
+
.custom-select.readonly .form-control label {
|
|
486
|
+
@apply border-primary-600 bg-primary-100 text-pgray-4 cursor-default;
|
|
487
|
+
}
|
|
485
488
|
|
|
486
|
-
|
|
487
|
-
|
|
489
|
+
.custom-select.disabled .form-control label .icon,
|
|
490
|
+
.custom-select.readonly .form-control label .icon {
|
|
491
|
+
@apply text-pgray-4;
|
|
492
|
+
}
|
|
488
493
|
|
|
489
|
-
|
|
490
|
-
|
|
494
|
+
.custom-select .input-label {
|
|
495
|
+
@apply mb-2 text-base leading-[1.3125] text-pgray-2;
|
|
496
|
+
}
|
|
491
497
|
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
498
|
+
.custom-select .form-control {
|
|
499
|
+
@apply relative block overflow-hidden;
|
|
500
|
+
}
|
|
495
501
|
|
|
496
|
-
|
|
497
|
-
|
|
502
|
+
.custom-select .form-control.is-invalid .toggle-button {
|
|
503
|
+
@apply border-danger-light;
|
|
504
|
+
}
|
|
498
505
|
|
|
499
|
-
|
|
500
|
-
|
|
506
|
+
.custom-select .form-control.is-invalid .invalid-feedback {
|
|
507
|
+
@apply block;
|
|
508
|
+
}
|
|
501
509
|
|
|
502
|
-
|
|
503
|
-
|
|
510
|
+
.custom-select .form-control select {
|
|
511
|
+
@apply absolute outline-none;
|
|
512
|
+
}
|
|
504
513
|
|
|
505
|
-
|
|
506
|
-
|
|
514
|
+
.custom-select .form-control label {
|
|
515
|
+
@apply relative flex items-center p-1.75 bg-white border border-primary-600 rounded text-base leading-[1.3125] text-pgray-4 space-x-2 cursor-pointer;
|
|
516
|
+
}
|
|
507
517
|
|
|
508
|
-
|
|
509
|
-
|
|
518
|
+
.custom-select .form-control label.selected {
|
|
519
|
+
@apply text-pgray-2;
|
|
520
|
+
}
|
|
510
521
|
|
|
511
|
-
|
|
512
|
-
|
|
522
|
+
.custom-select .form-control label .button-title {
|
|
523
|
+
@apply grow truncate;
|
|
524
|
+
}
|
|
513
525
|
|
|
514
|
-
|
|
515
|
-
|
|
526
|
+
.custom-select .form-control label .icon {
|
|
527
|
+
@apply grow-0 shrink-0 text-xs text-pgray-2;
|
|
528
|
+
}
|
|
516
529
|
|
|
517
|
-
.select-
|
|
518
|
-
@apply
|
|
530
|
+
.custom-select .invalid-feedback {
|
|
531
|
+
@apply hidden text-danger text-xs;
|
|
532
|
+
}
|
|
519
533
|
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
@apply py-1 text-xs
|
|
534
|
+
.select-options {
|
|
535
|
+
@apply flex flex-col z-60 absolute invisible border border-primary-600 rounded bg-white overflow-hidden pointer-events-none;
|
|
536
|
+
}
|
|
524
537
|
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
@apply py-1 text-sm
|
|
538
|
+
.select-options.select-options--xs .option-list .option-button {
|
|
539
|
+
@apply py-1 text-xs;
|
|
540
|
+
}
|
|
529
541
|
|
|
530
|
-
|
|
531
|
-
|
|
542
|
+
.select-options.select-options--sm .option-list .option-button {
|
|
543
|
+
@apply py-1 text-sm;
|
|
544
|
+
}
|
|
532
545
|
|
|
533
|
-
|
|
534
|
-
|
|
546
|
+
.select-options[data-show] {
|
|
547
|
+
@apply visible pointer-events-auto;
|
|
548
|
+
}
|
|
535
549
|
|
|
536
|
-
|
|
537
|
-
|
|
550
|
+
.select-options .options-header {
|
|
551
|
+
@apply p-1;
|
|
552
|
+
}
|
|
538
553
|
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
554
|
+
.select-options .options-wrapper {
|
|
555
|
+
@apply relative w-full max-h-[11.6875rem] rounded overflow-auto;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
.select-options .option-list {
|
|
559
|
+
@apply flex flex-col;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
.select-options .option-list .option-button {
|
|
563
|
+
@apply block min-w-[10.125rem] p-1.75 bg-white text-base leading-[1.3125] text-pgray-3 hover:bg-primary-100 hover:text-primary;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.select-options .option-list .option-button.selected {
|
|
567
|
+
@apply bg-primary-100 text-primary;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
.select-options .option-list .option-button.selected .icon-square {
|
|
571
|
+
@apply hidden;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
.select-options .option-list .option-button.selected .icon-check-square {
|
|
575
|
+
@apply inline-block;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
.select-options .option-list .option-button.disabled {
|
|
579
|
+
@apply cursor-default hover:bg-white hover:text-pgray-3;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.select-options .option-list .option-button .icon {
|
|
583
|
+
@apply mr-2;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
.select-options .option-list .option-button .icon-check-square {
|
|
587
|
+
@apply hidden;
|
|
588
|
+
}
|
|
562
589
|
</style>
|
|
@@ -30,8 +30,7 @@ export default defineComponent({
|
|
|
30
30
|
color: {
|
|
31
31
|
type: String,
|
|
32
32
|
default: "primary-600",
|
|
33
|
-
validator: (val: string) =>
|
|
34
|
-
["primary-600", "secondary"].includes(val),
|
|
33
|
+
validator: (val: string) => ["primary-600", "secondary"].includes(val),
|
|
35
34
|
},
|
|
36
35
|
},
|
|
37
36
|
emits: ["select:all", "select:none"],
|
|
@@ -65,54 +64,70 @@ export default defineComponent({
|
|
|
65
64
|
});
|
|
66
65
|
</script>
|
|
67
66
|
|
|
68
|
-
<style
|
|
69
|
-
.
|
|
70
|
-
@apply inline-flex items-stretch border rounded-sm bg-white overflow-hidden
|
|
67
|
+
<style>
|
|
68
|
+
@reference '~ui/app/assets/css/main.css';
|
|
71
69
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
70
|
+
.select-all-toggle {
|
|
71
|
+
@apply inline-flex items-stretch border rounded-sm bg-white overflow-hidden;
|
|
72
|
+
}
|
|
75
73
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
74
|
+
.select-all-toggle.select-all-toggle-xs .select-all-option {
|
|
75
|
+
@apply text-xs;
|
|
76
|
+
}
|
|
79
77
|
|
|
80
|
-
|
|
81
|
-
|
|
78
|
+
.select-all-toggle.select-all-toggle-sm .select-all-option {
|
|
79
|
+
@apply py-1.25 text-xs;
|
|
80
|
+
}
|
|
82
81
|
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
.select-all-toggle.select-all-toggle-primary-600 {
|
|
83
|
+
@apply border-primary-600;
|
|
84
|
+
}
|
|
85
85
|
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
.select-all-toggle.select-all-toggle-primary-600 .select-all-option {
|
|
87
|
+
@apply text-primary-600;
|
|
88
|
+
}
|
|
88
89
|
|
|
89
|
-
|
|
90
|
-
|
|
90
|
+
.select-all-toggle.select-all-toggle-primary-600 .select-all-option.active {
|
|
91
|
+
@apply bg-primary;
|
|
92
|
+
}
|
|
91
93
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
+
.select-all-toggle.select-all-toggle-primary-600 .select-all-divider {
|
|
95
|
+
@apply bg-primary-600;
|
|
96
|
+
}
|
|
94
97
|
|
|
95
|
-
|
|
96
|
-
|
|
98
|
+
.select-all-toggle.select-all-toggle-secondary {
|
|
99
|
+
@apply border-secondary-400;
|
|
100
|
+
}
|
|
97
101
|
|
|
98
|
-
|
|
99
|
-
|
|
102
|
+
.select-all-toggle.select-all-toggle-secondary .select-all-option {
|
|
103
|
+
@apply text-secondary-400;
|
|
104
|
+
}
|
|
100
105
|
|
|
101
|
-
|
|
102
|
-
|
|
106
|
+
.select-all-toggle.select-all-toggle-secondary .select-all-option.active {
|
|
107
|
+
@apply bg-secondary;
|
|
108
|
+
}
|
|
103
109
|
|
|
104
|
-
|
|
105
|
-
|
|
110
|
+
.select-all-toggle.select-all-toggle-secondary .select-all-divider {
|
|
111
|
+
@apply bg-primary-600;
|
|
112
|
+
}
|
|
106
113
|
|
|
107
|
-
|
|
108
|
-
|
|
114
|
+
.select-all-toggle .select-all-option {
|
|
115
|
+
@apply block py-1 bg-white text-sm;
|
|
116
|
+
}
|
|
109
117
|
|
|
110
|
-
|
|
111
|
-
|
|
118
|
+
.select-all-toggle .select-all-option.active {
|
|
119
|
+
@apply text-white;
|
|
120
|
+
}
|
|
112
121
|
|
|
113
|
-
|
|
114
|
-
|
|
122
|
+
.select-all-toggle .select-all-option-all {
|
|
123
|
+
@apply px-2;
|
|
124
|
+
}
|
|
115
125
|
|
|
116
|
-
|
|
117
|
-
|
|
126
|
+
.select-all-toggle .select-all-option-none {
|
|
127
|
+
@apply pr-2 pl-1.75;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.select-all-toggle .select-all-divider {
|
|
131
|
+
@apply mt-0.5 mb-0.5 w-px;
|
|
132
|
+
}
|
|
118
133
|
</style>
|