quasar-ui-sellmate-ui-kit 3.10.1 → 3.10.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/dist/index.common.js +2 -2
- package/dist/index.css +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.min.css +1 -1
- package/dist/index.rtl.css +1 -1
- package/dist/index.rtl.min.css +1 -1
- package/dist/index.umd.js +241 -204
- package/dist/index.umd.min.js +2 -2
- package/package.json +1 -1
- package/src/components/STabSub.vue +72 -0
- package/src/vue-plugin.js +2 -0
package/package.json
CHANGED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<q-tab :name="name" :ripple="false" :class="$attrs.class" class="s-sub-tab">
|
|
3
|
+
<template #default>
|
|
4
|
+
{{ label }}
|
|
5
|
+
</template>
|
|
6
|
+
</q-tab>
|
|
7
|
+
<div class="s-sub-tab-space"></div>
|
|
8
|
+
</template>
|
|
9
|
+
|
|
10
|
+
<script>
|
|
11
|
+
import { defineComponent } from 'vue';
|
|
12
|
+
import { QTab } from 'quasar';
|
|
13
|
+
|
|
14
|
+
export default defineComponent({
|
|
15
|
+
name: 'SSubTab',
|
|
16
|
+
components: {
|
|
17
|
+
QTab,
|
|
18
|
+
},
|
|
19
|
+
props: {
|
|
20
|
+
name: String,
|
|
21
|
+
label: String,
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
</script>
|
|
25
|
+
|
|
26
|
+
<style lang="scss">
|
|
27
|
+
@import '../css/quasar.variables.scss';
|
|
28
|
+
|
|
29
|
+
.s-sub-tab {
|
|
30
|
+
& + .s-sub-tab-space {
|
|
31
|
+
width: 32px;
|
|
32
|
+
}
|
|
33
|
+
padding: 0;
|
|
34
|
+
color: $Grey_Darken-5;
|
|
35
|
+
min-height: 20px !important;
|
|
36
|
+
.q-tab__content {
|
|
37
|
+
padding: 0;
|
|
38
|
+
padding-bottom: 4px;
|
|
39
|
+
height: $default-content-height;
|
|
40
|
+
min-width: 0;
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
flex: {
|
|
44
|
+
wrap: nowrap;
|
|
45
|
+
direction: row;
|
|
46
|
+
}
|
|
47
|
+
height: $default-content-height;
|
|
48
|
+
line-height: $default-line-height;
|
|
49
|
+
font: {
|
|
50
|
+
weight: $default-font-weight;
|
|
51
|
+
size: $default-font;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
.q-focus-helper {
|
|
55
|
+
display: none !important;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
.s-sub-tab.q-tab--active {
|
|
59
|
+
.q-tab__content {
|
|
60
|
+
font-weight: $font-weight-lg;
|
|
61
|
+
border-bottom: 1px solid $positive;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
.s-sub-tab-space {
|
|
65
|
+
width: 0px;
|
|
66
|
+
height: 100%;
|
|
67
|
+
border: none;
|
|
68
|
+
&:last-of-type {
|
|
69
|
+
width: 100%;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
</style>
|
package/src/vue-plugin.js
CHANGED
|
@@ -28,6 +28,7 @@ import SSelectGroupCheckbox from './components/SSelectGroupCheckbox.vue';
|
|
|
28
28
|
import SSelectCustom from './components/SSelectCustom.vue';
|
|
29
29
|
import SSelectSearchAutoComplete from './components/SSelectSearchAutoComplete.vue';
|
|
30
30
|
import STab from './components/STab.vue';
|
|
31
|
+
import SSubTab from './components/STabSub.vue';
|
|
31
32
|
import STable from './components/STable.vue';
|
|
32
33
|
import STabs from './components/STabs.vue';
|
|
33
34
|
import STimePicker from './components/STimePicker.vue';
|
|
@@ -73,6 +74,7 @@ function install(app) {
|
|
|
73
74
|
app.component('s-select-group-checkbox', SSelectGroupCheckbox);
|
|
74
75
|
app.component('s-select-search-auto-complete', SSelectSearchAutoComplete);
|
|
75
76
|
app.component('s-tab', STab);
|
|
77
|
+
app.component('s-sub-tab', SSubTab);
|
|
76
78
|
app.component('s-route-tab', SRouteTab);
|
|
77
79
|
app.component('s-tabs', STabs);
|
|
78
80
|
app.component('s-table', STable);
|