@mptw/skylens-ui 1.5.11 → 1.5.12
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/app.config.ts +2 -11
- package/app/app.vue +24 -2
- package/app/assets/css/icons.css +10 -8
- package/app/assets/css/layout.css +1 -1
- package/app/assets/css/main.css +159 -155
- package/app/components/SLAlertModal.vue +1 -1
- package/app/components/SLBreadcrumbs.vue +1 -1
- package/app/components/SLButton.vue +1 -1
- package/app/components/SLCalendarButton.vue +4 -4
- package/app/components/SLCalendarPopup.vue +4 -4
- package/app/components/SLCard.vue +1 -1
- package/app/components/SLChart.vue +1 -1
- package/app/components/SLCheckbox.vue +3 -3
- package/app/components/SLCircleButton.vue +1 -1
- package/app/components/SLCollapsableBlock.vue +1 -1
- package/app/components/SLCollapsableMulitPillSelect.vue +2 -2
- package/app/components/SLConfirmModal.vue +1 -1
- package/app/components/SLContextMenu.vue +3 -3
- package/app/components/SLDateInput.vue +2 -2
- package/app/components/SLDatePicker.vue +2 -2
- package/app/components/SLDownloadButton.vue +3 -3
- package/app/components/SLDropdown.vue +1 -1
- package/app/components/SLDropdownItem.vue +1 -1
- package/app/components/SLElementWithTitle.vue +1 -1
- package/app/components/SLEyeCheckbox.vue +2 -2
- package/app/components/SLFileInput.vue +2 -2
- package/app/components/SLGenderAgeSelect.vue +2 -2
- package/app/components/SLHourRangeInput.vue +2 -2
- package/app/components/SLIOSSwitch.vue +2 -2
- package/app/components/SLIconButton.vue +1 -1
- package/app/components/SLInfoTip.vue +1 -1
- package/app/components/SLInsightSitePage.vue +1 -1
- package/app/components/SLLegend.vue +2 -2
- package/app/components/SLLinearProgressBar.vue +1 -1
- package/app/components/SLLink.vue +1 -1
- package/app/components/SLLoading.vue +1 -1
- package/app/components/SLMapChart.vue +1 -1
- package/app/components/SLModal.vue +1 -1
- package/app/components/SLMonthCalendarButton.vue +2 -2
- package/app/components/SLMonthPicker.vue +1 -1
- package/app/components/SLMultiEmailInput.vue +2 -2
- package/app/components/SLMultiSelect.vue +2 -2
- package/app/components/SLNoData.vue +2 -2
- package/app/components/SLNotification.vue +1 -1
- package/app/components/SLPageModal.vue +1 -1
- package/app/components/SLPagination.vue +1 -1
- package/app/components/SLPillCheckbox.vue +2 -2
- package/app/components/SLPillLabel.vue +1 -1
- package/app/components/SLPopupMenuButton.vue +2 -2
- package/app/components/SLProfileButton.vue +1 -1
- package/app/components/SLProjectShareItem.vue +2 -2
- package/app/components/SLRadioButton.vue +2 -2
- package/app/components/SLRadioButtonGroup.vue +2 -2
- package/app/components/SLRadioGroup.vue +3 -3
- package/app/components/SLRangeInput.vue +1 -1
- package/app/components/SLRightSider.vue +1 -1
- package/app/components/SLSearchInput.vue +1 -1
- package/app/components/SLSelect.vue +3 -3
- package/app/components/SLSelectAllToggle.vue +1 -1
- package/app/components/SLSidebarNav.vue +7 -7
- package/app/components/SLSidebarNavGroupItem.vue +2 -2
- package/app/components/SLSidebarNavGroupItemSection.vue +2 -2
- package/app/components/SLSidebarNavLinkItem.vue +5 -2
- package/app/components/SLSidebarNavSectionItem.vue +2 -2
- package/app/components/SLSitePage.vue +1 -1
- package/app/components/SLSkyInsightSitePage.vue +1 -1
- package/app/components/SLSortByDropdown.vue +2 -2
- package/app/components/SLSpinIcon.vue +1 -1
- package/app/components/SLStayRangeInput.vue +3 -3
- package/app/components/SLTable.vue +3 -3
- package/app/components/SLTableTooltip.vue +4 -4
- package/app/components/SLTabs.vue +1 -1
- package/app/components/SLTextInput.vue +2 -2
- package/app/components/SLTextarea.vue +2 -2
- package/app/components/SLToast.vue +1 -1
- package/app/components/SLToggleButton.vue +1 -1
- package/app/components/SLTwoLayerMultiSelect.vue +1 -1
- package/app/components/SLTwoLayerSelect.vue +1 -1
- package/app/components/SLTwoLayerSingleSelect.vue +1 -1
- package/app/components/SLWarnModal.vue +1 -1
- package/app/models/DateRange.ts +1 -1
- package/app/utils/index.ts +3 -3
- package/nuxt.config.ts +7 -7
- package/package.json +9 -8
package/app/app.config.ts
CHANGED
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
export default defineAppConfig({
|
|
2
|
-
"skylens-ui": {
|
|
3
|
-
name: "SkylensUI",
|
|
4
|
-
},
|
|
5
|
-
});
|
|
1
|
+
export default defineAppConfig({});
|
|
6
2
|
|
|
7
3
|
declare module "@nuxt/schema" {
|
|
8
|
-
interface AppConfigInput {
|
|
9
|
-
"skylens-ui"?: {
|
|
10
|
-
/** Project name */
|
|
11
|
-
name?: string;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
4
|
+
interface AppConfigInput {}
|
|
14
5
|
}
|
package/app/app.vue
CHANGED
|
@@ -1,4 +1,26 @@
|
|
|
1
1
|
<template lang="pug">
|
|
2
|
-
|
|
3
|
-
SLCalendarButton
|
|
2
|
+
div {{ screenSizeString }}
|
|
4
3
|
</template>
|
|
4
|
+
|
|
5
|
+
<script setup lang="ts">
|
|
6
|
+
import { ScreenSize } from "./interface/commons";
|
|
7
|
+
|
|
8
|
+
const screenSize = ref<ScreenSize>(ScreenSize["2xl"]);
|
|
9
|
+
|
|
10
|
+
const screenSizeString = computed(() => {
|
|
11
|
+
switch (screenSize.value) {
|
|
12
|
+
case ScreenSize.md:
|
|
13
|
+
return "md";
|
|
14
|
+
case ScreenSize.lg:
|
|
15
|
+
return "lg";
|
|
16
|
+
case ScreenSize["1.5xl"]:
|
|
17
|
+
return "1.5xl";
|
|
18
|
+
case ScreenSize["2xl"]:
|
|
19
|
+
return "2xl";
|
|
20
|
+
case ScreenSize.xl:
|
|
21
|
+
return "xl";
|
|
22
|
+
default:
|
|
23
|
+
return "";
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
</script>
|
package/app/assets/css/icons.css
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
@font-face {
|
|
2
|
-
font-family:
|
|
3
|
-
src:
|
|
4
|
-
src:
|
|
5
|
-
url(
|
|
6
|
-
url(
|
|
7
|
-
url(
|
|
2
|
+
font-family: "MEShPlus-font-icon";
|
|
3
|
+
src: url("fonts/MEShPlus-font-icon.eot?63gs52");
|
|
4
|
+
src:
|
|
5
|
+
url("fonts/MEShPlus-font-icon.eot?63gs52#iefix") format("embedded-opentype"),
|
|
6
|
+
url("fonts/MEShPlus-font-icon.ttf?63gs52") format("truetype"),
|
|
7
|
+
url("fonts/MEShPlus-font-icon.woff?63gs52") format("woff"),
|
|
8
|
+
url("fonts/MEShPlus-font-icon.svg?63gs52#MEShPlus-font-icon") format("svg");
|
|
8
9
|
font-weight: normal;
|
|
9
10
|
font-style: normal;
|
|
10
11
|
font-display: block;
|
|
11
12
|
}
|
|
12
13
|
|
|
13
|
-
[class^="icon-"],
|
|
14
|
+
[class^="icon-"],
|
|
15
|
+
[class*=" icon-"] {
|
|
14
16
|
/* use !important to prevent issues with browser extensions that change fonts */
|
|
15
|
-
font-family:
|
|
17
|
+
font-family: "MEShPlus-font-icon" !important;
|
|
16
18
|
speak: never;
|
|
17
19
|
font-style: normal;
|
|
18
20
|
font-weight: normal;
|
package/app/assets/css/main.css
CHANGED
|
@@ -1,115 +1,116 @@
|
|
|
1
1
|
@import "tailwindcss";
|
|
2
|
+
@source "../../**/*.{vue,ts,html}";
|
|
2
3
|
|
|
3
4
|
@theme {
|
|
4
|
-
--font-login-title:
|
|
5
|
-
|
|
6
|
-
--color-primary:
|
|
7
|
-
--color-primary-15:
|
|
8
|
-
--color-primary-25:
|
|
9
|
-
--color-primary-50:
|
|
10
|
-
--color-primary-100:
|
|
11
|
-
--color-primary-200:
|
|
12
|
-
--color-primary-300:
|
|
13
|
-
--color-primary-400:
|
|
14
|
-
--color-primary-500:
|
|
15
|
-
--color-primary-600:
|
|
16
|
-
--color-primary-700:
|
|
17
|
-
--color-primary-800:
|
|
18
|
-
--color-primary-900:
|
|
19
|
-
|
|
20
|
-
--color-secondary:
|
|
21
|
-
--color-secondary-50:
|
|
22
|
-
--color-secondary-200:
|
|
23
|
-
--color-secondary-400:
|
|
24
|
-
--color-secondary-500:
|
|
25
|
-
--color-secondary-600:
|
|
26
|
-
--color-secondary-700:
|
|
27
|
-
--color-secondary-800:
|
|
28
|
-
--color-secondary-new-dark:
|
|
29
|
-
|
|
30
|
-
--color-third:
|
|
31
|
-
--color-third-50:
|
|
32
|
-
--color-third-100:
|
|
33
|
-
--color-third-400:
|
|
34
|
-
--color-third-500:
|
|
35
|
-
--color-third-600:
|
|
36
|
-
--color-third-700:
|
|
37
|
-
|
|
38
|
-
--color-four-100:
|
|
39
|
-
--color-four-400:
|
|
40
|
-
--color-four-500:
|
|
41
|
-
|
|
42
|
-
--color-highlight:
|
|
43
|
-
--color-highlight-50:
|
|
44
|
-
--color-highlight-100:
|
|
45
|
-
--color-highlight-300:
|
|
46
|
-
--color-highlight-400:
|
|
47
|
-
--color-highlight-500:
|
|
48
|
-
--color-highlight-600:
|
|
49
|
-
--color-highlight-700:
|
|
50
|
-
|
|
51
|
-
--color-poi:
|
|
52
|
-
--color-poi-100:
|
|
53
|
-
--color-poi-300:
|
|
54
|
-
--color-poi-700:
|
|
55
|
-
--color-poi-900:
|
|
56
|
-
--color-poi-1000:
|
|
57
|
-
|
|
58
|
-
--color-danger:
|
|
59
|
-
--color-danger-700:
|
|
60
|
-
--color-danger-light:
|
|
61
|
-
|
|
62
|
-
--color-red:
|
|
63
|
-
--color-red-2:
|
|
64
|
-
--color-red-700:
|
|
65
|
-
|
|
66
|
-
--color-pgray-1:
|
|
67
|
-
--color-pgray-2:
|
|
68
|
-
--color-pgray-3:
|
|
69
|
-
--color-pgray-4:
|
|
70
|
-
--color-pgray-4p5:
|
|
71
|
-
--color-pgray-5:
|
|
72
|
-
--color-pgray-6:
|
|
73
|
-
|
|
74
|
-
--color-gray-1:
|
|
75
|
-
--color-gray-2:
|
|
76
|
-
--color-gray-3:
|
|
77
|
-
--color-gray-4:
|
|
78
|
-
--color-gray-5:
|
|
79
|
-
--color-gray-6:
|
|
80
|
-
|
|
81
|
-
--color-green:
|
|
82
|
-
--color-green-2:
|
|
83
|
-
--color-green-700:
|
|
84
|
-
|
|
85
|
-
--color-blue-1:
|
|
86
|
-
--color-blue-2:
|
|
87
|
-
--color-blue-3:
|
|
88
|
-
|
|
89
|
-
--color-orange:
|
|
90
|
-
--color-orange-700:
|
|
91
|
-
|
|
92
|
-
--color-edit:
|
|
93
|
-
--color-edit-700:
|
|
94
|
-
|
|
95
|
-
--color-card-lightpr-bg:
|
|
96
|
-
|
|
97
|
-
--color-insight-title:
|
|
98
|
-
--color-insight-title-line:
|
|
99
|
-
--color-insight-hint-line:
|
|
100
|
-
--color-insight-web-title-start:
|
|
101
|
-
--color-insight-web-title-end:
|
|
102
|
-
--color-insight-poi-title-start:
|
|
103
|
-
--color-insight-poi-title-end:
|
|
104
|
-
|
|
105
|
-
--color-mask:
|
|
106
|
-
--color-mask-700:
|
|
107
|
-
|
|
108
|
-
--color-login-bg:
|
|
109
|
-
--color-login-bg-700:
|
|
110
|
-
|
|
111
|
-
--color-nav-color-switch-bg:
|
|
112
|
-
--color-nav-color-switch-bg-700:
|
|
5
|
+
--font-login-title: Roboto;
|
|
6
|
+
|
|
7
|
+
--color-primary: #626493;
|
|
8
|
+
--color-primary-15: #fafafd;
|
|
9
|
+
--color-primary-25: #f9f9ff;
|
|
10
|
+
--color-primary-50: #f3f4f8;
|
|
11
|
+
--color-primary-100: #e8eaf2;
|
|
12
|
+
--color-primary-200: #dde1f3;
|
|
13
|
+
--color-primary-300: #babbe1;
|
|
14
|
+
--color-primary-400: #a1a3d0;
|
|
15
|
+
--color-primary-500: #9193c1;
|
|
16
|
+
--color-primary-600: #8486b4;
|
|
17
|
+
--color-primary-700: #626493;
|
|
18
|
+
--color-primary-800: #4e5076;
|
|
19
|
+
--color-primary-900: #3b3c58;
|
|
20
|
+
|
|
21
|
+
--color-secondary: #6182c3;
|
|
22
|
+
--color-secondary-50: #f1f5fc;
|
|
23
|
+
--color-secondary-200: #eaf1ff;
|
|
24
|
+
--color-secondary-400: #a9badb;
|
|
25
|
+
--color-secondary-500: #90a8d7;
|
|
26
|
+
--color-secondary-600: #7996cf;
|
|
27
|
+
--color-secondary-700: #6182c3;
|
|
28
|
+
--color-secondary-800: #4e689c;
|
|
29
|
+
--color-secondary-new-dark: #445b89;
|
|
30
|
+
|
|
31
|
+
--color-third: #4c8098;
|
|
32
|
+
--color-third-50: #f9fff1;
|
|
33
|
+
--color-third-100: #e8f2eb;
|
|
34
|
+
--color-third-400: #b3d9c7;
|
|
35
|
+
--color-third-500: #82cddb;
|
|
36
|
+
--color-third-600: #4ea3b6;
|
|
37
|
+
--color-third-700: #4c8098;
|
|
38
|
+
|
|
39
|
+
--color-four-100: #fae7f0;
|
|
40
|
+
--color-four-400: #feabbf;
|
|
41
|
+
--color-four-500: #ec6f8d;
|
|
42
|
+
|
|
43
|
+
--color-highlight: #eeb13c;
|
|
44
|
+
--color-highlight-50: #fffbf1;
|
|
45
|
+
--color-highlight-100: #f2efe8;
|
|
46
|
+
--color-highlight-300: #f6d79d;
|
|
47
|
+
--color-highlight-400: #ffd874;
|
|
48
|
+
--color-highlight-500: #fbbe21;
|
|
49
|
+
--color-highlight-600: #fdb242;
|
|
50
|
+
--color-highlight-700: #eeb13c;
|
|
51
|
+
|
|
52
|
+
--color-poi: #d35092;
|
|
53
|
+
--color-poi-100: #f1afce;
|
|
54
|
+
--color-poi-300: #eb8cb9;
|
|
55
|
+
--color-poi-700: #d35092;
|
|
56
|
+
--color-poi-900: #aa5488;
|
|
57
|
+
--color-poi-1000: #7e4e77;
|
|
58
|
+
|
|
59
|
+
--color-danger: #f35a5a;
|
|
60
|
+
--color-danger-700: #f35a5a;
|
|
61
|
+
--color-danger-light: #fe8678;
|
|
62
|
+
|
|
63
|
+
--color-red: #eb5757;
|
|
64
|
+
--color-red-2: #f34141;
|
|
65
|
+
--color-red-700: #eb5757;
|
|
66
|
+
|
|
67
|
+
--color-pgray-1: #2c2d31;
|
|
68
|
+
--color-pgray-2: #4d4f55;
|
|
69
|
+
--color-pgray-3: #858792;
|
|
70
|
+
--color-pgray-4: #bcbfcf;
|
|
71
|
+
--color-pgray-4p5: #c7c5d0;
|
|
72
|
+
--color-pgray-5: #dfe1e9;
|
|
73
|
+
--color-pgray-6: #ececf2;
|
|
74
|
+
|
|
75
|
+
--color-gray-1: #333333;
|
|
76
|
+
--color-gray-2: #4f4f4f;
|
|
77
|
+
--color-gray-3: #828282;
|
|
78
|
+
--color-gray-4: #bdbdbd;
|
|
79
|
+
--color-gray-5: #e0e0e0;
|
|
80
|
+
--color-gray-6: #f2f2f2;
|
|
81
|
+
|
|
82
|
+
--color-green: #27ae60;
|
|
83
|
+
--color-green-2: #6ec393;
|
|
84
|
+
--color-green-700: #27ae60;
|
|
85
|
+
|
|
86
|
+
--color-blue-1: #2f80ed;
|
|
87
|
+
--color-blue-2: #110dfb;
|
|
88
|
+
--color-blue-3: #332fed;
|
|
89
|
+
|
|
90
|
+
--color-orange: #f48a28;
|
|
91
|
+
--color-orange-700: #f48a28;
|
|
92
|
+
|
|
93
|
+
--color-edit: #6e6bdd;
|
|
94
|
+
--color-edit-700: #6e6bdd;
|
|
95
|
+
|
|
96
|
+
--color-card-lightpr-bg: #fbfcff;
|
|
97
|
+
|
|
98
|
+
--color-insight-title: #696cba;
|
|
99
|
+
--color-insight-title-line: #9b74da;
|
|
100
|
+
--color-insight-hint-line: #adb4f5;
|
|
101
|
+
--color-insight-web-title-start: #39bbe4;
|
|
102
|
+
--color-insight-web-title-end: rgb(144 128 241/0.74);
|
|
103
|
+
--color-insight-poi-title-start: rgb(255 131 92/0.7);
|
|
104
|
+
--color-insight-poi-title-end: rgb(120 91 207/0.74);
|
|
105
|
+
|
|
106
|
+
--color-mask: #47485a;
|
|
107
|
+
--color-mask-700: #47485a;
|
|
108
|
+
|
|
109
|
+
--color-login-bg: #fefefe;
|
|
110
|
+
--color-login-bg-700: #fefefe;
|
|
111
|
+
|
|
112
|
+
--color-nav-color-switch-bg: #2d2f57;
|
|
113
|
+
--color-nav-color-switch-bg-700: #2d2f57;
|
|
113
114
|
|
|
114
115
|
--color-linear-progress-bar: linear-gradient(
|
|
115
116
|
270deg,
|
|
@@ -118,52 +119,55 @@
|
|
|
118
119
|
rgba(211, 211, 211, 0.62) 100%
|
|
119
120
|
);
|
|
120
121
|
|
|
121
|
-
--shadow-default:
|
|
122
|
-
--shadow-md:
|
|
123
|
-
--shadow-inline:
|
|
124
|
-
--shadow-second-inline:
|
|
125
|
-
--shadow-header-drop:
|
|
126
|
-
--shadow-popup-sm:
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
--shadow-
|
|
130
|
-
--shadow-
|
|
131
|
-
--shadow-insight-
|
|
132
|
-
--shadow-insight-
|
|
133
|
-
--shadow-
|
|
134
|
-
--shadow-
|
|
135
|
-
|
|
136
|
-
--
|
|
137
|
-
|
|
138
|
-
--text-
|
|
139
|
-
--text-
|
|
140
|
-
--text-
|
|
141
|
-
--text-
|
|
142
|
-
--text-
|
|
143
|
-
--text-
|
|
144
|
-
--text-
|
|
145
|
-
--text-
|
|
146
|
-
--text-
|
|
147
|
-
--text-
|
|
148
|
-
--text-
|
|
149
|
-
--text-
|
|
150
|
-
--text-
|
|
151
|
-
--text-
|
|
152
|
-
--text-
|
|
153
|
-
--text-
|
|
154
|
-
--text-
|
|
155
|
-
--text-
|
|
156
|
-
--text-
|
|
157
|
-
--text-
|
|
158
|
-
--text-
|
|
159
|
-
|
|
160
|
-
--
|
|
161
|
-
|
|
162
|
-
--transition-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
--
|
|
166
|
-
--
|
|
122
|
+
--shadow-default: 0px 2px 4px rgba(111, 111, 111, 0.2);
|
|
123
|
+
--shadow-md: 0px 2px 8px rgba(88, 82, 103, 0.25);
|
|
124
|
+
--shadow-inline: inset 0px -1px 0px rgba(186, 187, 225, 0.8);
|
|
125
|
+
--shadow-second-inline: inset 0px -1px 0px rgba(238, 177, 60, 0.8);
|
|
126
|
+
--shadow-header-drop: 0px 5px 12px rgba(88, 82, 103, 0.45);
|
|
127
|
+
--shadow-popup-sm:
|
|
128
|
+
0px 5px 5px -3px rgba(88, 82, 103, 0.2),
|
|
129
|
+
0px 3px 14px 2px rgba(88, 82, 103, 0.12);
|
|
130
|
+
--shadow-popup-lg: 0px 5px 12px rgba(88, 82, 103, 0.45);
|
|
131
|
+
--shadow-login: 2px 5px 20px rgba(107, 91, 141, 0.45);
|
|
132
|
+
--shadow-insight-layer: 0px 4px 4px rgba(70, 56, 107, 0.25);
|
|
133
|
+
--shadow-insight-comment: 0px 4px 12px rgba(37, 35, 143, 0.25);
|
|
134
|
+
--shadow-insight-card: 0px 4px 12px rgba(77, 45, 147, 0.25);
|
|
135
|
+
--shadow-insight-card-lg: 0px 4px 20px 0px rgba(0, 0, 0, 0.1);
|
|
136
|
+
--shadow-small-card: 2px 2px 4px rgba(0, 0, 0, 0.1);
|
|
137
|
+
--shadow-float-actions: 0px -6px 12px 0px rgba(90, 92, 133, 0.1);
|
|
138
|
+
|
|
139
|
+
--text-sm: 0.875rem;
|
|
140
|
+
--text-sm--line-height: 1.1875rem;
|
|
141
|
+
--text-md: 0.9375rem;
|
|
142
|
+
--text-md--line-height: 1.25rem;
|
|
143
|
+
--text-base: 1rem;
|
|
144
|
+
--text-base--line-height: 1.3125rem;
|
|
145
|
+
--text-lg: 1.25rem;
|
|
146
|
+
--text-lg--line-height: 1.6875rem;
|
|
147
|
+
--text-0p75xl: 1.0625rem;
|
|
148
|
+
--text-0p75xl--line-height: 1.75rem;
|
|
149
|
+
--text-2p25xl: 1.5625rem;
|
|
150
|
+
--text-2p25xl--line-height: 1.8125rem;
|
|
151
|
+
--text-2p67xl: 1.75rem;
|
|
152
|
+
--text-2p67xl--line-height: 2rem;
|
|
153
|
+
--text-3p33xl: 2rem;
|
|
154
|
+
--text-3p33xl--line-height: 2.6875rem;
|
|
155
|
+
--text-3p67xl: 2.125rem;
|
|
156
|
+
--text-3p67xl--line-height: 2.4175rem;
|
|
157
|
+
--text-7p17xl: 4.75rem;
|
|
158
|
+
--text-16xl: 4rem;
|
|
159
|
+
--text-16xl--line-height: 4.625rem;
|
|
160
|
+
--text-18xl: 4.5rem;
|
|
161
|
+
--text-18xl--line-height: 6rem;
|
|
162
|
+
|
|
163
|
+
--transition-input-focus:
|
|
164
|
+
margin, padding, color, font-size, line-height, background-color;
|
|
165
|
+
--transition-app-header: margin, width;
|
|
166
|
+
--transition-sidebar-nav-item: border-radius, width;
|
|
167
|
+
--transition-sidebar-nav-item-icon: width, height, font-size;
|
|
168
|
+
|
|
169
|
+
--text-shadow-default: 0px 4px 4px rgba(0, 0, 0, 0.25);
|
|
170
|
+
--text-shadow-md: 0px 2px 8px rgba(88, 82, 103, 0.25);
|
|
167
171
|
|
|
168
172
|
--animate-indeterminate: indeterminateAnimation 1s infinite linear;
|
|
169
173
|
--animate-loading: loading 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
|
|
@@ -116,7 +116,7 @@ export default defineComponent({
|
|
|
116
116
|
</script>
|
|
117
117
|
|
|
118
118
|
<style>
|
|
119
|
-
@reference '~
|
|
119
|
+
@reference '~uiApp/assets/css/main.css';
|
|
120
120
|
|
|
121
121
|
.btn {
|
|
122
122
|
@apply relative inline-flex items-center justify-center p-1.75 border border-transparent rounded bg-transparent text-base leading-[1.3125] focus:outline-none;
|
|
@@ -40,9 +40,9 @@ import { fromEvent } from "rxjs";
|
|
|
40
40
|
import { differenceInCalendarDays, subDays } from "date-fns";
|
|
41
41
|
import { createPopper } from "@popperjs/core";
|
|
42
42
|
import type { Placement } from "@popperjs/core";
|
|
43
|
-
import DateRange from "~
|
|
44
|
-
import type IDateRange from "~
|
|
45
|
-
import { OnlineSourceType } from "~
|
|
43
|
+
import DateRange from "~uiApp/models/DateRange";
|
|
44
|
+
import type IDateRange from "~uiApp/interface/IDateRange";
|
|
45
|
+
import { OnlineSourceType } from "~uiApp/interface/IWeb";
|
|
46
46
|
|
|
47
47
|
type SLCalendarPopupType = InstanceType<typeof SLCalendarPopup>;
|
|
48
48
|
|
|
@@ -241,7 +241,7 @@ export default defineComponent({
|
|
|
241
241
|
</script>
|
|
242
242
|
|
|
243
243
|
<style scoped>
|
|
244
|
-
@reference '~
|
|
244
|
+
@reference '~uiApp/assets/css/main.css';
|
|
245
245
|
|
|
246
246
|
.calendar-button {
|
|
247
247
|
@apply inline-block;
|
|
@@ -121,9 +121,9 @@ import {
|
|
|
121
121
|
isPreviousDateRange,
|
|
122
122
|
previousDateRange,
|
|
123
123
|
isValidDate,
|
|
124
|
-
} from "~
|
|
125
|
-
import type IDateRange from "~
|
|
126
|
-
import { OnlineSourceType } from "~
|
|
124
|
+
} from "~uiApp/utils";
|
|
125
|
+
import type IDateRange from "~uiApp/interface/IDateRange";
|
|
126
|
+
import { OnlineSourceType } from "~uiApp/interface/IWeb";
|
|
127
127
|
|
|
128
128
|
const DateStringRegexp = /[0-9]{4}\/[0-9]{2}\/[0-9]{2}/;
|
|
129
129
|
|
|
@@ -774,7 +774,7 @@ export default defineComponent({
|
|
|
774
774
|
</script>
|
|
775
775
|
|
|
776
776
|
<style>
|
|
777
|
-
@reference '~
|
|
777
|
+
@reference '~uiApp/assets/css/main.css';
|
|
778
778
|
|
|
779
779
|
.calendar-popup {
|
|
780
780
|
@apply w-auto py-4 border border-primary-100 rounded-lg bg-white shadow-md overflow-hidden;
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
|
|
17
17
|
<script lang="ts">
|
|
18
18
|
import { isEqual } from "lodash-es";
|
|
19
|
-
import type IInputOption from "~
|
|
20
|
-
import { getUID } from "~
|
|
19
|
+
import type IInputOption from "~uiApp/interface/IInputOption";
|
|
20
|
+
import { getUID } from "~uiApp/utils";
|
|
21
21
|
|
|
22
22
|
export default defineComponent({
|
|
23
23
|
name: "SLCheckbox",
|
|
@@ -181,7 +181,7 @@ export default defineComponent({
|
|
|
181
181
|
</script>
|
|
182
182
|
|
|
183
183
|
<style>
|
|
184
|
-
@reference '~
|
|
184
|
+
@reference '~uiApp/assets/css/main.css';
|
|
185
185
|
|
|
186
186
|
.checkbox {
|
|
187
187
|
@apply inline-flex relative text-base align-top overflow-hidden;
|
|
@@ -72,7 +72,7 @@ export default defineComponent({
|
|
|
72
72
|
</script>
|
|
73
73
|
|
|
74
74
|
<style>
|
|
75
|
-
@reference '~
|
|
75
|
+
@reference '~uiApp/assets/css/main.css';
|
|
76
76
|
|
|
77
77
|
.circle-button {
|
|
78
78
|
@apply inline-flex items-center justify-center relative w-10 h-10 rounded-full bg-white text-xl leading-5.75 text-white;
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
|
|
24
24
|
<script lang="ts">
|
|
25
25
|
import type { PropType } from "vue";
|
|
26
|
-
import type IInputOption from "~
|
|
26
|
+
import type IInputOption from "~uiApp/interface/IInputOption";
|
|
27
27
|
|
|
28
28
|
export default defineComponent({
|
|
29
29
|
name: "SLCollapsableMultiPillSelect",
|
|
@@ -73,7 +73,7 @@ export default defineComponent({
|
|
|
73
73
|
</script>
|
|
74
74
|
|
|
75
75
|
<style>
|
|
76
|
-
@reference '~
|
|
76
|
+
@reference '~uiApp/assets/css/main.css';
|
|
77
77
|
|
|
78
78
|
.collapsable-multi-pill-select .toggle-button {
|
|
79
79
|
@apply inline-flex items-center justify-between w-80 p-2 mb-2 border border-primary-500 rounded text-base text-pgray-2;
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
|
|
20
20
|
<script lang="ts">
|
|
21
21
|
import { fromEvent, type Subscription } from "rxjs";
|
|
22
|
-
import type IDateRange from "~
|
|
23
|
-
import WatermarkImage from "~
|
|
22
|
+
import type IDateRange from "~uiApp/interface/IDateRange";
|
|
23
|
+
import WatermarkImage from "~uiPublic/assets/images/commons/watermark-2.svg";
|
|
24
24
|
|
|
25
25
|
// const WatermarkImage = "/assets/images/commons/watermark-2.svg";
|
|
26
26
|
const keys = { 37: 1, 38: 1, 30: 1, 40: 1 };
|
|
@@ -268,7 +268,7 @@ export default defineComponent({
|
|
|
268
268
|
</script>
|
|
269
269
|
|
|
270
270
|
<style scoped>
|
|
271
|
-
@reference '~
|
|
271
|
+
@reference '~uiApp/assets/css/main.css';
|
|
272
272
|
|
|
273
273
|
.sl-context-menu-wrapper {
|
|
274
274
|
@apply hidden;
|
|
@@ -70,7 +70,7 @@ import type { PropType } from "vue";
|
|
|
70
70
|
import { DatePicker } from "v-calendar";
|
|
71
71
|
import "v-calendar/style.css";
|
|
72
72
|
import { isDate, differenceInCalendarDays } from "date-fns";
|
|
73
|
-
import type IDateRange from "~
|
|
73
|
+
import type IDateRange from "~uiApp/interface/IDateRange";
|
|
74
74
|
|
|
75
75
|
type DatePickerType = InstanceType<typeof DatePicker> & {
|
|
76
76
|
hidePopover: () => void;
|
|
@@ -363,7 +363,7 @@ export default defineComponent({
|
|
|
363
363
|
</script>
|
|
364
364
|
|
|
365
365
|
<style>
|
|
366
|
-
@reference '~
|
|
366
|
+
@reference '~uiApp/assets/css/main.css';
|
|
367
367
|
|
|
368
368
|
.date-input.date-input-xs .input-group-prepend {
|
|
369
369
|
@apply pl-2.75 pr-4 rounded-l-lg;
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
max as dateMax,
|
|
30
30
|
isDate,
|
|
31
31
|
} from "date-fns";
|
|
32
|
-
import type IDateRange from "~
|
|
32
|
+
import type IDateRange from "~uiApp/interface/IDateRange";
|
|
33
33
|
|
|
34
34
|
type DatePickerType = InstanceType<typeof DatePicker>;
|
|
35
35
|
|
|
@@ -137,7 +137,7 @@ export default defineComponent({
|
|
|
137
137
|
</script>
|
|
138
138
|
|
|
139
139
|
<style>
|
|
140
|
-
@reference '~
|
|
140
|
+
@reference '~uiApp/assets/css/main.css';
|
|
141
141
|
|
|
142
142
|
.custom-date-picker .vc-pane-container {
|
|
143
143
|
@apply border-0;
|