quasar-ui-sellmate-ui-kit 3.14.2 → 3.14.4
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 +750 -750
- package/dist/index.umd.min.js +2 -2
- package/package.json +1 -1
- package/src/components/InputWithSearchIcon.vue +83 -83
- package/src/components/SBreadcrumbs.vue +55 -55
- package/src/components/SButton.vue +228 -224
- package/src/components/SSelectSearch.vue +320 -320
- package/src/components/SSelectSearchCheckbox.vue +360 -360
- package/src/components/STable.vue +597 -597
- package/src/components/STooltip.vue +218 -218
- package/src/css/default.scss +397 -397
- package/src/index.common.js +1 -1
- package/src/index.esm.js +4 -4
- package/src/index.umd.js +3 -3
package/package.json
CHANGED
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="search-input-form">
|
|
3
|
-
<q-icon :name="searchIcon" size="16px" />
|
|
4
|
-
<input v-model="search" autofocus class="search-input" :placeholder="placeholder" />
|
|
5
|
-
<q-icon
|
|
6
|
-
v-if="search"
|
|
7
|
-
:name="closeIcon12"
|
|
8
|
-
size="12px"
|
|
9
|
-
class="q-pa-sm cursor-pointer"
|
|
10
|
-
color="Grey_Default"
|
|
11
|
-
@click="$emit('onDelete')"
|
|
12
|
-
/>
|
|
13
|
-
</div>
|
|
14
|
-
</template>
|
|
15
|
-
|
|
16
|
-
<script setup>
|
|
17
|
-
import { computed, ref, watch } from 'vue';
|
|
18
|
-
import { QIcon } from 'quasar';
|
|
19
|
-
import { searchIcon, closeIcon12 } from '../assets/icons';
|
|
20
|
-
|
|
21
|
-
const props = defineProps({
|
|
22
|
-
placeholder: String,
|
|
23
|
-
modelValue: String,
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
const emits = defineEmits(['onInput', 'onDelete']);
|
|
27
|
-
const search = computed({
|
|
28
|
-
get() {
|
|
29
|
-
return props.modelValue;
|
|
30
|
-
},
|
|
31
|
-
set(val) {
|
|
32
|
-
emits('onInput', val);
|
|
33
|
-
},
|
|
34
|
-
});
|
|
35
|
-
</script>
|
|
36
|
-
|
|
37
|
-
<style scoped lang="scss">
|
|
38
|
-
@use '../css/quasar.variables.scss' as *;
|
|
39
|
-
|
|
40
|
-
.search-input-form {
|
|
41
|
-
height: 28px;
|
|
42
|
-
display: flex;
|
|
43
|
-
align-items: center;
|
|
44
|
-
padding-left: 8px;
|
|
45
|
-
position: relative;
|
|
46
|
-
border-radius: 2px;
|
|
47
|
-
border: 1px solid $Grey_Lighten-1;
|
|
48
|
-
background-color: white;
|
|
49
|
-
position: sticky;
|
|
50
|
-
top: 0;
|
|
51
|
-
z-index: 1;
|
|
52
|
-
margin: 4px;
|
|
53
|
-
|
|
54
|
-
&::after {
|
|
55
|
-
content: '';
|
|
56
|
-
position: absolute;
|
|
57
|
-
top: 0;
|
|
58
|
-
right: 0;
|
|
59
|
-
bottom: 0;
|
|
60
|
-
left: 0;
|
|
61
|
-
pointer-events: none;
|
|
62
|
-
border: 1px solid transparent;
|
|
63
|
-
border-radius: inherit;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&:hover,
|
|
67
|
-
&:focus-within {
|
|
68
|
-
&::after {
|
|
69
|
-
border-color: #0075ff;
|
|
70
|
-
box-shadow: 0 0 4px #0075ff;
|
|
71
|
-
transition: border-color 0.36s cubic-bezier(0.4, 0, 0.2, 1);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.search-input {
|
|
76
|
-
font-size: 12px;
|
|
77
|
-
margin-left: 8px;
|
|
78
|
-
flex-grow: 1;
|
|
79
|
-
border: none;
|
|
80
|
-
outline: none;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="search-input-form">
|
|
3
|
+
<q-icon :name="searchIcon" size="16px" />
|
|
4
|
+
<input v-model="search" autofocus class="search-input" :placeholder="placeholder" />
|
|
5
|
+
<q-icon
|
|
6
|
+
v-if="search"
|
|
7
|
+
:name="closeIcon12"
|
|
8
|
+
size="12px"
|
|
9
|
+
class="q-pa-sm cursor-pointer"
|
|
10
|
+
color="Grey_Default"
|
|
11
|
+
@click="$emit('onDelete')"
|
|
12
|
+
/>
|
|
13
|
+
</div>
|
|
14
|
+
</template>
|
|
15
|
+
|
|
16
|
+
<script setup>
|
|
17
|
+
import { computed, ref, watch } from 'vue';
|
|
18
|
+
import { QIcon } from 'quasar';
|
|
19
|
+
import { searchIcon, closeIcon12 } from '../assets/icons';
|
|
20
|
+
|
|
21
|
+
const props = defineProps({
|
|
22
|
+
placeholder: String,
|
|
23
|
+
modelValue: String,
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
const emits = defineEmits(['onInput', 'onDelete']);
|
|
27
|
+
const search = computed({
|
|
28
|
+
get() {
|
|
29
|
+
return props.modelValue;
|
|
30
|
+
},
|
|
31
|
+
set(val) {
|
|
32
|
+
emits('onInput', val);
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
</script>
|
|
36
|
+
|
|
37
|
+
<style scoped lang="scss">
|
|
38
|
+
@use '../css/quasar.variables.scss' as *;
|
|
39
|
+
|
|
40
|
+
.search-input-form {
|
|
41
|
+
height: 28px;
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
padding-left: 8px;
|
|
45
|
+
position: relative;
|
|
46
|
+
border-radius: 2px;
|
|
47
|
+
border: 1px solid $Grey_Lighten-1;
|
|
48
|
+
background-color: white;
|
|
49
|
+
position: sticky;
|
|
50
|
+
top: 0;
|
|
51
|
+
z-index: 1;
|
|
52
|
+
margin: 4px;
|
|
53
|
+
|
|
54
|
+
&::after {
|
|
55
|
+
content: '';
|
|
56
|
+
position: absolute;
|
|
57
|
+
top: 0;
|
|
58
|
+
right: 0;
|
|
59
|
+
bottom: 0;
|
|
60
|
+
left: 0;
|
|
61
|
+
pointer-events: none;
|
|
62
|
+
border: 1px solid transparent;
|
|
63
|
+
border-radius: inherit;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&:hover,
|
|
67
|
+
&:focus-within {
|
|
68
|
+
&::after {
|
|
69
|
+
border-color: #0075ff;
|
|
70
|
+
box-shadow: 0 0 4px #0075ff;
|
|
71
|
+
transition: border-color 0.36s cubic-bezier(0.4, 0, 0.2, 1);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.search-input {
|
|
76
|
+
font-size: 12px;
|
|
77
|
+
margin-left: 8px;
|
|
78
|
+
flex-grow: 1;
|
|
79
|
+
border: none;
|
|
80
|
+
outline: none;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
</style>
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<q-breadcrumbs
|
|
3
|
-
class="s-breadcrumbs"
|
|
4
|
-
separator-color="Grey_Darken-5"
|
|
5
|
-
active-color="Grey_Darken-5"
|
|
6
|
-
>
|
|
7
|
-
<q-breadcrumbs-el
|
|
8
|
-
v-for="(item, i) in labels"
|
|
9
|
-
:key="i"
|
|
10
|
-
class="text-Grey_Darken-5 s-breadcrumbs-el"
|
|
11
|
-
:to="item.link ? undefined : item.path"
|
|
12
|
-
:tag="item.link ? 'a' : 'button'"
|
|
13
|
-
:href="item.link"
|
|
14
|
-
align="center"
|
|
15
|
-
:ripple="false"
|
|
16
|
-
>
|
|
17
|
-
{{ item.name }}
|
|
18
|
-
</q-breadcrumbs-el>
|
|
19
|
-
</q-breadcrumbs>
|
|
20
|
-
</template>
|
|
21
|
-
|
|
22
|
-
<script>
|
|
23
|
-
import { defineComponent } from 'vue';
|
|
24
|
-
import { QBreadcrumbs, QBreadcrumbsEl } from 'quasar';
|
|
25
|
-
|
|
26
|
-
export default defineComponent({
|
|
27
|
-
name: 'SBreadcrumbs',
|
|
28
|
-
components: {
|
|
29
|
-
QBreadcrumbs,
|
|
30
|
-
QBreadcrumbsEl,
|
|
31
|
-
},
|
|
32
|
-
props: {
|
|
33
|
-
labels: Array,
|
|
34
|
-
},
|
|
35
|
-
});
|
|
36
|
-
</script>
|
|
37
|
-
|
|
38
|
-
<style lang="scss">
|
|
39
|
-
.q-breadcrumbs.s-breadcrumbs {
|
|
40
|
-
height: 22px;
|
|
41
|
-
& > div {
|
|
42
|
-
height: 100%;
|
|
43
|
-
margin: 0 !important;
|
|
44
|
-
& > div {
|
|
45
|
-
margin: 0 !important;
|
|
46
|
-
}
|
|
47
|
-
.q-breadcrumbs__separator {
|
|
48
|
-
margin: 0 8px !important;
|
|
49
|
-
}
|
|
50
|
-
.q-breadcrumbs--last {
|
|
51
|
-
font-weight: bold;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<q-breadcrumbs
|
|
3
|
+
class="s-breadcrumbs"
|
|
4
|
+
separator-color="Grey_Darken-5"
|
|
5
|
+
active-color="Grey_Darken-5"
|
|
6
|
+
>
|
|
7
|
+
<q-breadcrumbs-el
|
|
8
|
+
v-for="(item, i) in labels"
|
|
9
|
+
:key="i"
|
|
10
|
+
class="text-Grey_Darken-5 s-breadcrumbs-el"
|
|
11
|
+
:to="item.link ? undefined : item.path"
|
|
12
|
+
:tag="item.link ? 'a' : 'button'"
|
|
13
|
+
:href="item.link"
|
|
14
|
+
align="center"
|
|
15
|
+
:ripple="false"
|
|
16
|
+
>
|
|
17
|
+
{{ item.name }}
|
|
18
|
+
</q-breadcrumbs-el>
|
|
19
|
+
</q-breadcrumbs>
|
|
20
|
+
</template>
|
|
21
|
+
|
|
22
|
+
<script>
|
|
23
|
+
import { defineComponent } from 'vue';
|
|
24
|
+
import { QBreadcrumbs, QBreadcrumbsEl } from 'quasar';
|
|
25
|
+
|
|
26
|
+
export default defineComponent({
|
|
27
|
+
name: 'SBreadcrumbs',
|
|
28
|
+
components: {
|
|
29
|
+
QBreadcrumbs,
|
|
30
|
+
QBreadcrumbsEl,
|
|
31
|
+
},
|
|
32
|
+
props: {
|
|
33
|
+
labels: Array,
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
</script>
|
|
37
|
+
|
|
38
|
+
<style lang="scss">
|
|
39
|
+
.q-breadcrumbs.s-breadcrumbs {
|
|
40
|
+
height: 22px;
|
|
41
|
+
& > div {
|
|
42
|
+
height: 100%;
|
|
43
|
+
margin: 0 !important;
|
|
44
|
+
& > div {
|
|
45
|
+
margin: 0 !important;
|
|
46
|
+
}
|
|
47
|
+
.q-breadcrumbs__separator {
|
|
48
|
+
margin: 0 8px !important;
|
|
49
|
+
}
|
|
50
|
+
.q-breadcrumbs--last {
|
|
51
|
+
font-weight: bold;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
</style>
|