@appscode/design-system 1.1.0-alpha.8 → 1.1.0-beta.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/base/utilities/_all.scss +1 -1
- package/base/utilities/_default.scss +41 -41
- package/base/utilities/_derived-variables.scss +8 -9
- package/base/utilities/_extended.scss +9 -5
- package/base/utilities/_initial-variables.scss +52 -50
- package/base/utilities/_mixin.scss +11 -11
- package/base/utilities/_typography.scss +22 -22
- package/base/utilities/dark-theme.scss +1 -1
- package/components/_ac-accordion.scss +6 -6
- package/components/_ac-alert-box.scss +27 -28
- package/components/_ac-calendar.scss +4 -4
- package/components/_ac-card.scss +55 -55
- package/components/_ac-code-highlight.scss +6 -6
- package/components/_ac-content-layout.scss +165 -165
- package/components/_ac-drag.scss +11 -11
- package/components/_ac-input.scss +85 -85
- package/components/_ac-modal.scss +8 -8
- package/components/_ac-multi-select.scss +751 -751
- package/components/_ac-options.scss +12 -13
- package/components/_ac-select-box.scss +5 -5
- package/components/_ac-table.scss +55 -55
- package/components/_ac-tabs.scss +36 -36
- package/components/_ac-tags.scss +22 -22
- package/components/_ac-terminal.scss +253 -253
- package/components/_add-card.scss +3 -3
- package/components/_app-drawer.scss +4 -4
- package/components/_basic-card.scss +108 -114
- package/components/_breadcumb.scss +5 -5
- package/components/_buttons.scss +64 -64
- package/components/_card-body-wrapper.scss +5 -5
- package/components/_dashboard-header.scss +29 -29
- package/components/_direct-deploy.scss +8 -8
- package/components/_go-to-top.scss +1 -1
- package/components/_image-upload.scss +3 -3
- package/components/_left-sidebar-menu.scss +374 -376
- package/components/_monaco-editor.scss +1 -1
- package/components/_navbar.scss +65 -65
- package/components/_nested-list.scss +1 -1
- package/components/_overview-info.scss +7 -7
- package/components/_overview-page.scss +4 -4
- package/components/_pagination.scss +110 -110
- package/components/_payment-card.scss +20 -20
- package/components/_preloader.scss +1 -1
- package/components/_preview-modal.scss +18 -18
- package/components/_pricing-table.scss +10 -10
- package/components/_progress-bar.scss +12 -12
- package/components/_subscription-card.scss +14 -14
- package/components/_table-of-content.scss +4 -4
- package/components/_tfa.scss +9 -9
- package/components/_widget-menu.scss +17 -17
- package/components/_wizard.scss +82 -82
- package/components/ac-toaster/_ac-toasted.scss +1 -1
- package/components/bbum/_activities-header.scss +1 -1
- package/components/bbum/_card-team.scss +12 -12
- package/components/bbum/_information-center.scss +13 -13
- package/components/bbum/_left-sidebar.scss +8 -8
- package/components/bbum/_mobile-desktop.scss +7 -7
- package/components/bbum/_post.scss +5 -5
- package/components/bbum/_sign-up-notification.scss +10 -10
- package/components/bbum/_single-post-preview.scss +21 -21
- package/components/bbum/_user-profile.scss +10 -10
- package/components/ui-builder/_ui-builder.scss +15 -15
- package/components/ui-builder/_vue-open-api.scss +2 -2
- package/layouts/_code-preview.scss +11 -11
- package/package.json +1 -1
- package/vue-components/plugins/time-convert.js +49 -0
- package/vue-components/text.vue +1 -0
- package/vue-components/types/cluster.ts +6 -0
- package/vue-components/types/longRunningTasks.ts +20 -0
- package/vue-components/types/notification.ts +6 -0
- package/vue-components/types/previewYaml.ts +8 -0
- package/vue-components/types/table.ts +54 -0
- package/vue-components/types/theme.ts +10 -0
- package/vue-components/types/user.ts +22 -0
- package/vue-components/v2/card/OverviewCards.vue +17 -2
- package/vue-components/v2/editor/ResourceKeyValueEditor.vue +21 -21
- package/vue-components/v2/icons/Ellipsis.vue +2 -1
- package/vue-components/v2/modal/Modal.vue +0 -5
- package/vue-components/v2/navbar/Appdrawer.vue +37 -12
- package/vue-components/v2/navbar/Navbar.vue +3 -3
- package/vue-components/v2/navbar/NavbarItem.vue +3 -1
- package/vue-components/v2/navbar/NavbarItemContent.vue +1 -1
- package/vue-components/v2/navbar/User.vue +5 -22
- package/vue-components/v2/pagination/Pagination.vue +65 -0
- package/vue-components/v2/sidebar/SidebarItem.vue +10 -7
- package/vue-components/v3/accordion/Accordion.vue +151 -0
- package/vue-components/v3/alert/Alert.vue +238 -0
- package/vue-components/v3/alert/Toast.vue +79 -0
- package/vue-components/v3/banner/Banner.vue +10 -0
- package/vue-components/v3/breadcrumbs/Breadcrumb.vue +104 -0
- package/vue-components/v3/button/Button.vue +831 -58
- package/vue-components/v3/button/Buttons.vue +6 -0
- package/vue-components/v3/button/DownloadBtn.vue +31 -0
- package/vue-components/v3/cards/Card.vue +32 -0
- package/vue-components/v3/cards/CardContent.vue +7 -0
- package/vue-components/v3/cards/CardHeader.vue +14 -0
- package/vue-components/v3/cards/Cards.vue +7 -0
- package/vue-components/v3/cards/Cluster.vue +150 -0
- package/vue-components/v3/cards/Counter.vue +27 -0
- package/vue-components/v3/cards/FeatureCard.vue +40 -0
- package/vue-components/v3/cards/FeatureCards.vue +6 -0
- package/vue-components/v3/cards/InfoCard.vue +248 -0
- package/vue-components/v3/cards/Monitoring.vue +94 -0
- package/vue-components/v3/cards/OverviewCard.vue +24 -0
- package/vue-components/v3/cards/OverviewCards.vue +31 -0
- package/vue-components/v3/cards/Payment.vue +62 -0
- package/vue-components/v3/cards/Vendor.vue +23 -0
- package/vue-components/v3/content/ContentHeader.vue +39 -30
- package/vue-components/v3/content/ContentLayout.vue +20 -0
- package/vue-components/v3/content/ContentTable.vue +37 -61
- package/vue-components/v3/dropdown/DropdownDivider.vue +2 -0
- package/vue-components/v3/dropdown/DropdownItem.vue +2 -0
- package/vue-components/v3/dropdown/DropdownMenu.vue +85 -91
- package/vue-components/v3/editor/Editor.vue +100 -113
- package/vue-components/v3/editor/FilteredFileEditor.vue +124 -127
- package/vue-components/v3/editor/ResourceKeyValueEditor.vue +70 -94
- package/vue-components/v3/footer/FooterArea.vue +34 -0
- package/vue-components/v3/footer/FooterItem.vue +29 -0
- package/vue-components/v3/footer/FooterItems.vue +15 -0
- package/vue-components/v3/footer/Info.vue +23 -0
- package/vue-components/v3/footer/Status.vue +42 -0
- package/vue-components/v3/footer/Usage.vue +44 -0
- package/vue-components/v3/form/Form.vue +24 -33
- package/vue-components/v3/form/FormFooterControl.vue +7 -0
- package/vue-components/v3/form/FormFooterControls.vue +7 -0
- package/vue-components/v3/form-fields/AcSingleInput.vue +520 -0
- package/vue-components/v3/form-fields/Input.vue +19 -14
- package/vue-components/v3/header/Header.vue +117 -24
- package/vue-components/v3/header/HeaderItem.vue +18 -0
- package/vue-components/v3/header/HeaderItems.vue +4 -0
- package/vue-components/v3/icons/Ellipsis.vue +2 -0
- package/vue-components/v3/loaders/ResourceLoader.vue +4 -12
- package/vue-components/v3/loaders/SidebarLoader.vue +4 -12
- package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +17 -15
- package/vue-components/v3/modal/Modal.vue +292 -96
- package/vue-components/v3/modals/DeleteConfirmationModal.vue +37 -50
- package/vue-components/v3/modals/JsonShowModal.vue +62 -68
- package/vue-components/v3/modals/LongRunningTasksModal.vue +145 -143
- package/vue-components/v3/navbar/Appdrawer.vue +196 -51
- package/vue-components/v3/navbar/Navbar.vue +296 -0
- package/vue-components/v3/navbar/NavbarItem.vue +81 -0
- package/vue-components/v3/navbar/NavbarItemContent.vue +284 -0
- package/vue-components/v3/navbar/Notification.vue +179 -0
- package/vue-components/v3/navbar/ThemeMode.vue +128 -112
- package/vue-components/v3/navbar/User.vue +383 -268
- package/vue-components/v3/notification/AlertBox.vue +39 -42
- package/vue-components/v3/notification/Notification.vue +49 -43
- package/vue-components/v3/notification/NotificationItem.vue +51 -19
- package/vue-components/v3/option-dots/Options.vue +188 -0
- package/vue-components/v3/pagination/Pagination.vue +203 -99
- package/vue-components/v3/preloader/Preloader.vue +23 -0
- package/vue-components/v3/searchbars/SearchBar.vue +51 -34
- package/vue-components/v3/sidebar/AccentColorPicker.vue +97 -0
- package/vue-components/v3/sidebar/ClusterSwitcher.vue +834 -81
- package/vue-components/v3/sidebar/Sidebar.vue +271 -0
- package/vue-components/v3/sidebar/SidebarBody.vue +7 -0
- package/vue-components/v3/sidebar/SidebarFooter.vue +80 -0
- package/vue-components/v3/sidebar/SidebarHeader.vue +124 -0
- package/vue-components/v3/sidebar/SidebarItem.vue +62 -0
- package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +101 -104
- package/vue-components/v3/sidebar/SidebarMenuList.vue +9 -0
- package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabs.vue +128 -0
- package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabsLayout.vue +29 -0
- package/vue-components/v3/sidebar/sidebar-tabs/TabsContent.vue +99 -0
- package/vue-components/v3/tab/TabItem.vue +10 -12
- package/vue-components/v3/tab/Tabs.vue +9 -0
- package/vue-components/v3/tab/TabsBody.vue +7 -0
- package/vue-components/v3/table/EmptyTableInfo.vue +8 -0
- package/vue-components/v3/table/FakeTableCell.vue +22 -31
- package/vue-components/v3/table/InfoTable.vue +85 -59
- package/vue-components/v3/table/MultiInfoTable.vue +72 -95
- package/vue-components/v3/table/Table.vue +582 -151
- package/vue-components/v3/table/TableCell.vue +20 -23
- package/vue-components/v3/table/TableContainer.vue +50 -28
- package/vue-components/v3/table/TableRow.vue +63 -85
- package/vue-components/v3/table/table-cell/ArrayCell.vue +67 -79
- package/vue-components/v3/table/table-cell/CellValue.vue +97 -103
- package/vue-components/v3/table/table-cell/GenericCell.vue +43 -42
- package/vue-components/v3/table/table-cell/ObjectCell.vue +67 -79
- package/vue-components/v3/table/table-cell/ValueWithModal.vue +22 -31
- package/vue-components/v3/tabs/EditorTabs.vue +18 -24
- package/vue-components/v3/tag/Tag.vue +15 -12
- package/vue-components/v3/tag/Tags.vue +7 -0
- package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +26 -23
- package/mixins/stickyContent.js +0 -141
- package/plugins/caching.ts +0 -243
|
@@ -0,0 +1,520 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
interface Props {
|
|
3
|
+
modifierClasses?: string;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
withDefaults(defineProps<Props>(), {
|
|
7
|
+
modifierClasses: "",
|
|
8
|
+
});
|
|
9
|
+
</script>
|
|
10
|
+
|
|
11
|
+
<template>
|
|
12
|
+
<div class="ac-single-input is-small" :class="modifierClasses">
|
|
13
|
+
<slot name="label" />
|
|
14
|
+
<slot name="button" />
|
|
15
|
+
<slot />
|
|
16
|
+
<slot name="eye-switcher" />
|
|
17
|
+
<slot name="error" />
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
|
20
|
+
|
|
21
|
+
<style lang="scss">
|
|
22
|
+
.ac-single-input {
|
|
23
|
+
position: relative;
|
|
24
|
+
z-index: 1;
|
|
25
|
+
margin-bottom: 15px;
|
|
26
|
+
|
|
27
|
+
&.is-disable {
|
|
28
|
+
opacity: 0.5;
|
|
29
|
+
|
|
30
|
+
input,
|
|
31
|
+
.button.is-information,
|
|
32
|
+
.eye i.fa {
|
|
33
|
+
cursor: not-allowed;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&.is-information {
|
|
38
|
+
input {
|
|
39
|
+
padding-right: 45px;
|
|
40
|
+
|
|
41
|
+
&[type="password"] {
|
|
42
|
+
padding-right: 80px;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
span.eye i.fa {
|
|
47
|
+
right: 35px;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.is-success {
|
|
52
|
+
input,
|
|
53
|
+
.ac-card,
|
|
54
|
+
textarea {
|
|
55
|
+
border: 1px solid $primary !important;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
p {
|
|
59
|
+
color: $primary;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&.is-danger {
|
|
64
|
+
input,
|
|
65
|
+
.ac-card,
|
|
66
|
+
textarea {
|
|
67
|
+
border: 1px solid $danger;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
p {
|
|
71
|
+
color: $danger;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&.is-loading {
|
|
76
|
+
input,
|
|
77
|
+
.ac-card,
|
|
78
|
+
textarea {
|
|
79
|
+
border: 1px solid $info;
|
|
80
|
+
opacity: 0.5;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
p {
|
|
84
|
+
color: $info;
|
|
85
|
+
opacity: 0.5;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&.borderless-input {
|
|
90
|
+
input {
|
|
91
|
+
border: none;
|
|
92
|
+
font-size: 13px;
|
|
93
|
+
padding: 4px 7px;
|
|
94
|
+
height: 30px;
|
|
95
|
+
background-color: $white-100;
|
|
96
|
+
padding-right: 30px;
|
|
97
|
+
|
|
98
|
+
&[type="password"] {
|
|
99
|
+
padding-right: 30px;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&:focus {
|
|
103
|
+
outline: none;
|
|
104
|
+
border: none;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
span.eye {
|
|
109
|
+
i.fa {
|
|
110
|
+
padding: 9px;
|
|
111
|
+
font-size: 12px;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&.is-normal {
|
|
117
|
+
input {
|
|
118
|
+
height: 45px;
|
|
119
|
+
font-size: 15px;
|
|
120
|
+
font-weight: 400;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.button {
|
|
124
|
+
&.is-information {
|
|
125
|
+
height: 45px;
|
|
126
|
+
width: 45px;
|
|
127
|
+
margin-top: 0;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
span.eye i.fa {
|
|
132
|
+
padding: 14px 10px;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.ac-search-button {
|
|
136
|
+
margin-top: -22.5px;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
label {
|
|
140
|
+
top: 13px;
|
|
141
|
+
font-size: 13px;
|
|
142
|
+
|
|
143
|
+
&.show-label {
|
|
144
|
+
font-size: 12px;
|
|
145
|
+
color: $black-40;
|
|
146
|
+
top: -9px;
|
|
147
|
+
font-weight: 500;
|
|
148
|
+
background-color: $white-100;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.control {
|
|
153
|
+
&.has-icons-right {
|
|
154
|
+
.icon {
|
|
155
|
+
height: 45px;
|
|
156
|
+
width: 30px;
|
|
157
|
+
font-size: 13px;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
&.is-small {
|
|
164
|
+
input {
|
|
165
|
+
height: 36px;
|
|
166
|
+
font-size: 13px;
|
|
167
|
+
font-weight: 400;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.button {
|
|
171
|
+
&.is-information {
|
|
172
|
+
height: 36px;
|
|
173
|
+
width: 36px;
|
|
174
|
+
margin-top: 0;
|
|
175
|
+
padding: 10px;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
span.eye i.fa {
|
|
180
|
+
padding: 10px;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.ac-search-button {
|
|
184
|
+
margin-top: -18px;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
label {
|
|
188
|
+
top: 8px;
|
|
189
|
+
font-size: 13px;
|
|
190
|
+
&.switch-label {
|
|
191
|
+
top: 0;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
&.show-label {
|
|
195
|
+
font-size: 12px;
|
|
196
|
+
top: -9px;
|
|
197
|
+
font-weight: 500;
|
|
198
|
+
color: $black-40;
|
|
199
|
+
&.is-required {
|
|
200
|
+
&:after {
|
|
201
|
+
width: calc(100% + 10px);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.control {
|
|
208
|
+
&.has-icons-right {
|
|
209
|
+
.icon {
|
|
210
|
+
height: 36px;
|
|
211
|
+
width: 25px;
|
|
212
|
+
font-size: 13px;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
&.is-extra-small {
|
|
219
|
+
input {
|
|
220
|
+
height: 32px;
|
|
221
|
+
font-size: 13px;
|
|
222
|
+
font-weight: 400;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.button {
|
|
226
|
+
&.is-information {
|
|
227
|
+
height: 32px;
|
|
228
|
+
width: 32px;
|
|
229
|
+
margin-top: 0;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
span.eye i.fa {
|
|
234
|
+
padding: 10px;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.ac-search-button {
|
|
238
|
+
margin-top: 0px;
|
|
239
|
+
top: 0;
|
|
240
|
+
display: flex;
|
|
241
|
+
align-items: center;
|
|
242
|
+
width: 40px;
|
|
243
|
+
justify-content: center;
|
|
244
|
+
svg {
|
|
245
|
+
width: 18px;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
label {
|
|
250
|
+
top: 8px;
|
|
251
|
+
font-size: 13px;
|
|
252
|
+
&.switch-label {
|
|
253
|
+
top: 0;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
&.show-label {
|
|
257
|
+
font-size: 12px;
|
|
258
|
+
top: -9px;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.control {
|
|
263
|
+
&.has-icons-right {
|
|
264
|
+
.icon {
|
|
265
|
+
height: 32px;
|
|
266
|
+
width: 25px;
|
|
267
|
+
font-size: 13px;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
&:last-child {
|
|
274
|
+
margin-bottom: 0;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
&.is-dark {
|
|
278
|
+
input {
|
|
279
|
+
background-color: $primary-10;
|
|
280
|
+
border-color: transparent;
|
|
281
|
+
color: $white-100;
|
|
282
|
+
|
|
283
|
+
&::placeholder {
|
|
284
|
+
color: $primary-10;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
button {
|
|
288
|
+
i.fa {
|
|
289
|
+
color: $white-100;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
label {
|
|
296
|
+
font-size: 13px;
|
|
297
|
+
left: 15px;
|
|
298
|
+
top: 11px;
|
|
299
|
+
cursor: text;
|
|
300
|
+
color: $primary-10;
|
|
301
|
+
position: absolute;
|
|
302
|
+
z-index: 2;
|
|
303
|
+
transition: 0.3s ease-in-out;
|
|
304
|
+
|
|
305
|
+
.is-required {
|
|
306
|
+
color: $danger;
|
|
307
|
+
|
|
308
|
+
img {
|
|
309
|
+
position: absolute;
|
|
310
|
+
top: 7px;
|
|
311
|
+
padding-left: 3px;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
&.show-label {
|
|
316
|
+
top: -9px;
|
|
317
|
+
left: 10px;
|
|
318
|
+
padding: 0 5px;
|
|
319
|
+
font-size: 13px;
|
|
320
|
+
color: $black-40;
|
|
321
|
+
|
|
322
|
+
&:after {
|
|
323
|
+
position: absolute;
|
|
324
|
+
content: "";
|
|
325
|
+
left: 0;
|
|
326
|
+
top: 50%;
|
|
327
|
+
background-color: $white-100;
|
|
328
|
+
width: 100%;
|
|
329
|
+
height: 2px;
|
|
330
|
+
margin-top: -1px;
|
|
331
|
+
z-index: -1;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
// &.is-required {
|
|
335
|
+
// &:after {
|
|
336
|
+
// width: calc(100% + 10px);
|
|
337
|
+
// }
|
|
338
|
+
// }
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.button {
|
|
343
|
+
&.is-information {
|
|
344
|
+
background-color: transparent;
|
|
345
|
+
border: none;
|
|
346
|
+
position: absolute;
|
|
347
|
+
right: 0;
|
|
348
|
+
height: 32px;
|
|
349
|
+
width: 32px;
|
|
350
|
+
margin-top: 0;
|
|
351
|
+
|
|
352
|
+
&:focus {
|
|
353
|
+
outline: none;
|
|
354
|
+
box-shadow: none;
|
|
355
|
+
background-color: #e4e8ef;
|
|
356
|
+
transform: scale(0.8);
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.ac-search-button {
|
|
362
|
+
background-color: transparent;
|
|
363
|
+
border: none;
|
|
364
|
+
position: absolute;
|
|
365
|
+
left: 0;
|
|
366
|
+
top: 50%;
|
|
367
|
+
width: 32px;
|
|
368
|
+
height: 100%;
|
|
369
|
+
margin-top: -15px;
|
|
370
|
+
color: $primary-20;
|
|
371
|
+
cursor: pointer;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.ac-dropdown-content {
|
|
375
|
+
position: absolute;
|
|
376
|
+
background-color: $primary-90;
|
|
377
|
+
width: 100%;
|
|
378
|
+
height: auto;
|
|
379
|
+
box-shadow: 0px 4px 16px rgba(132, 147, 168, 0.6);
|
|
380
|
+
border-radius: 4px;
|
|
381
|
+
overflow: hidden;
|
|
382
|
+
|
|
383
|
+
ul {
|
|
384
|
+
li {
|
|
385
|
+
a {
|
|
386
|
+
color: $primary-10;
|
|
387
|
+
display: block;
|
|
388
|
+
font-size: 13px;
|
|
389
|
+
padding: 8px 20px;
|
|
390
|
+
transition: 0.3s;
|
|
391
|
+
|
|
392
|
+
&:hover {
|
|
393
|
+
background-color: hsla(
|
|
394
|
+
var(--hsl-hue),
|
|
395
|
+
var(--hsl-saturation),
|
|
396
|
+
var(--hsl-lightness),
|
|
397
|
+
0.2
|
|
398
|
+
);
|
|
399
|
+
color: $primary;
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.ac-textarea {
|
|
407
|
+
.ac-label {
|
|
408
|
+
&.is-required {
|
|
409
|
+
&:after {
|
|
410
|
+
width: calc(100% + 10px);
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
textarea {
|
|
415
|
+
border: 1px solid $primary-80;
|
|
416
|
+
background-color: transparent;
|
|
417
|
+
padding: 10px 15px;
|
|
418
|
+
min-height: 50px;
|
|
419
|
+
&.bg-white {
|
|
420
|
+
background-color: transparent;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
&:focus {
|
|
424
|
+
outline: none;
|
|
425
|
+
border: 1px solid $primary;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
input,
|
|
431
|
+
.ac-card,
|
|
432
|
+
textarea {
|
|
433
|
+
background-color: $white-100;
|
|
434
|
+
color: $primary-10;
|
|
435
|
+
height: 45px;
|
|
436
|
+
font-weight: 400;
|
|
437
|
+
width: 100%;
|
|
438
|
+
border-radius: 4px;
|
|
439
|
+
border: 1px solid $primary-80;
|
|
440
|
+
padding: 8px 15px;
|
|
441
|
+
font-size: 13px;
|
|
442
|
+
|
|
443
|
+
&:hover {
|
|
444
|
+
border-color: $black-70;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
&.bg-white {
|
|
448
|
+
background-color: $white-100;
|
|
449
|
+
}
|
|
450
|
+
&.StripeElement--focus {
|
|
451
|
+
border: 1px solid $primary;
|
|
452
|
+
}
|
|
453
|
+
&:focus {
|
|
454
|
+
border: 1px solid $primary;
|
|
455
|
+
outline: none;
|
|
456
|
+
background-color: $white-100;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
&[type="password"] {
|
|
460
|
+
padding-right: 40px;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
&[type="search"] {
|
|
464
|
+
padding-left: 30px;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
transition: background-color 0.3s ease-in-out;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
.ac-card {
|
|
471
|
+
height: 36px;
|
|
472
|
+
padding: 10px 20px;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
textarea {
|
|
476
|
+
height: 55px;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
b.isRequired {
|
|
480
|
+
color: $danger;
|
|
481
|
+
font-size: 13px;
|
|
482
|
+
position: absolute;
|
|
483
|
+
right: 5px;
|
|
484
|
+
z-index: 9;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
span.eye {
|
|
488
|
+
i.fa {
|
|
489
|
+
color: $primary-80;
|
|
490
|
+
position: absolute;
|
|
491
|
+
cursor: pointer;
|
|
492
|
+
padding: 15px;
|
|
493
|
+
right: 0;
|
|
494
|
+
top: 0;
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
.is-error {
|
|
499
|
+
font-size: 12px;
|
|
500
|
+
line-height: 22px;
|
|
501
|
+
color: $danger;
|
|
502
|
+
text-align: left;
|
|
503
|
+
|
|
504
|
+
i.fa {
|
|
505
|
+
padding-right: 10px;
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
.ac-input.ac-search {
|
|
511
|
+
width: 42px;
|
|
512
|
+
transition: 0.3s ease-in-out;
|
|
513
|
+
padding: 0;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.ac-search:focus {
|
|
517
|
+
width: 200px !important;
|
|
518
|
+
padding-right: 10px;
|
|
519
|
+
}
|
|
520
|
+
</style>
|
|
@@ -1,22 +1,27 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
interface Props {
|
|
3
|
+
modelValue?: string | number;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
withDefaults(defineProps<Props>(), {
|
|
7
|
+
modelValue: "",
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
const emit = defineEmits(["update:modelValue"]);
|
|
11
|
+
|
|
12
|
+
const handleInput = (e: Event) => {
|
|
13
|
+
const target = e.target as HTMLInputElement;
|
|
14
|
+
emit("update:modelValue", target.value);
|
|
15
|
+
};
|
|
16
|
+
</script>
|
|
17
|
+
|
|
1
18
|
<template>
|
|
2
19
|
<input
|
|
3
20
|
class="ac-input"
|
|
4
21
|
data-testid="ac-input"
|
|
5
22
|
:value="modelValue"
|
|
6
|
-
@input="
|
|
23
|
+
@input="handleInput"
|
|
7
24
|
/>
|
|
8
25
|
</template>
|
|
9
26
|
|
|
10
|
-
<
|
|
11
|
-
import { defineComponent } from "vue";
|
|
12
|
-
|
|
13
|
-
export default defineComponent({
|
|
14
|
-
props: {
|
|
15
|
-
modelValue: {
|
|
16
|
-
type: null,
|
|
17
|
-
default: "",
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
emits: ["update:modelValue"],
|
|
21
|
-
});
|
|
22
|
-
</script>
|
|
27
|
+
<style lang="scss" scoped></style>
|
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { defineAsyncComponent } from "vue";
|
|
3
|
+
|
|
4
|
+
const HeaderItem = defineAsyncComponent(() => import("./HeaderItem.vue"));
|
|
5
|
+
const HeaderItems = defineAsyncComponent(() => import("./HeaderItems.vue"));
|
|
6
|
+
|
|
7
|
+
interface Props {
|
|
8
|
+
title?: string;
|
|
9
|
+
isContainer?: boolean;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
withDefaults(defineProps<Props>(), {
|
|
13
|
+
title: "No Title",
|
|
14
|
+
isContainer: false,
|
|
15
|
+
});
|
|
16
|
+
</script>
|
|
17
|
+
|
|
1
18
|
<template>
|
|
2
19
|
<div class="inner-header">
|
|
3
20
|
<div
|
|
@@ -19,27 +36,103 @@
|
|
|
19
36
|
</div>
|
|
20
37
|
</template>
|
|
21
38
|
|
|
22
|
-
<
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
<style lang="scss" scoped>
|
|
40
|
+
.inner-header {
|
|
41
|
+
padding: 6px 20px;
|
|
42
|
+
border-bottom: 1px solid $primary-90;
|
|
43
|
+
position: sticky;
|
|
44
|
+
top: 86px;
|
|
45
|
+
background: $white-100;
|
|
46
|
+
z-index: 99;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// footer control start
|
|
50
|
+
// .form-footer-controls {
|
|
51
|
+
// .form-footer-control {
|
|
52
|
+
// display: inline-block;
|
|
53
|
+
// margin-left: 8px;
|
|
54
|
+
// vertical-align: middle;
|
|
55
|
+
|
|
56
|
+
// &:first-child {
|
|
57
|
+
// margin-left: 0;
|
|
58
|
+
// }
|
|
59
|
+
// }
|
|
60
|
+
// }
|
|
61
|
+
|
|
62
|
+
// .dashboard-header {
|
|
63
|
+
// padding: 10px 20px;
|
|
64
|
+
// border-radius: 4px;
|
|
65
|
+
// background-color: $white-100;
|
|
66
|
+
// min-height: 75px;
|
|
67
|
+
// display: table;
|
|
68
|
+
// width: 100%;
|
|
69
|
+
// border-left: 5px solid $primary;
|
|
70
|
+
// border-bottom: 1px solid $primary-90;
|
|
71
|
+
// border-top: 1px solid $primary-90;
|
|
72
|
+
// border-right: 1px solid $primary-90;
|
|
73
|
+
|
|
74
|
+
// .dashboard-header-wrapper {
|
|
75
|
+
// height: 100%;
|
|
76
|
+
// display: table;
|
|
77
|
+
// width: 100%;
|
|
78
|
+
|
|
79
|
+
// .dashboard-header-inner {
|
|
80
|
+
// display: table-cell;
|
|
81
|
+
// vertical-align: middle;
|
|
82
|
+
// }
|
|
83
|
+
// }
|
|
84
|
+
// }
|
|
85
|
+
|
|
86
|
+
// .dashboard-header-inner-top {
|
|
87
|
+
// height: 100%;
|
|
88
|
+
// vertical-align: middle;
|
|
89
|
+
// display: table-cell;
|
|
90
|
+
// }
|
|
91
|
+
|
|
92
|
+
// .dashboard-header.is-chart-available {
|
|
93
|
+
// padding: 10px 30px;
|
|
94
|
+
|
|
95
|
+
// .dashboard-header-wrapper {
|
|
96
|
+
// height: 100%;
|
|
97
|
+
// display: table;
|
|
98
|
+
// width: 100%;
|
|
99
|
+
|
|
100
|
+
// .dashboard-header-inner {
|
|
101
|
+
// display: table-cell;
|
|
102
|
+
// vertical-align: middle;
|
|
103
|
+
// }
|
|
104
|
+
// }
|
|
105
|
+
// }
|
|
106
|
+
|
|
107
|
+
// .resource {
|
|
108
|
+
// display: flex;
|
|
109
|
+
// align-items: center;
|
|
110
|
+
// border-left: 1px solid $primary-90;
|
|
111
|
+
// padding: 0 1.5rem;
|
|
112
|
+
// margin-top: -10px;
|
|
113
|
+
// margin-bottom: -10px;
|
|
114
|
+
// .r-icon {
|
|
115
|
+
// display: flex;
|
|
116
|
+
// align-items: center;
|
|
117
|
+
// max-width: 40px;
|
|
118
|
+
// }
|
|
119
|
+
|
|
120
|
+
// .r-data {
|
|
121
|
+
// margin-left: 0.8rem;
|
|
122
|
+
// .request,
|
|
123
|
+
// .limit {
|
|
124
|
+
// font-weight: 500;
|
|
125
|
+
// min-width: 50px;
|
|
126
|
+
// text-align: center;
|
|
127
|
+
// }
|
|
128
|
+
// .request {
|
|
129
|
+
// font-weight: 300;
|
|
130
|
+
// }
|
|
131
|
+
// hr {
|
|
132
|
+
// margin: 0;
|
|
133
|
+
// padding: 0;
|
|
134
|
+
// background-color: $primary-90;
|
|
135
|
+
// }
|
|
136
|
+
// }
|
|
137
|
+
// }
|
|
138
|
+
</style>
|
|
@@ -1,5 +1,23 @@
|
|
|
1
|
+
<script setup lang="ts"></script>
|
|
2
|
+
|
|
1
3
|
<template>
|
|
2
4
|
<div class="header-item">
|
|
3
5
|
<slot />
|
|
4
6
|
</div>
|
|
5
7
|
</template>
|
|
8
|
+
|
|
9
|
+
<style lang="scss" scoped>
|
|
10
|
+
.header-item {
|
|
11
|
+
display: inline-block;
|
|
12
|
+
margin-left: 8px;
|
|
13
|
+
vertical-align: middle;
|
|
14
|
+
|
|
15
|
+
&:first-child {
|
|
16
|
+
margin-left: 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.select:not(.is-multiple) {
|
|
20
|
+
height: auto;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
</style>
|