quasar-ui-sellmate-ui-kit 3.14.14 → 3.14.16
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 +2868 -2859
- package/dist/index.esm.js +2 -2
- package/dist/index.min.css +2 -2
- package/dist/index.rtl.css +2868 -2859
- package/dist/index.rtl.min.css +2 -2
- package/dist/index.umd.js +438 -421
- package/dist/index.umd.min.js +2 -2
- package/package.json +1 -1
- package/src/components/InputWithSearchIcon.vue +2 -2
- package/src/components/SBadge.vue +5 -5
- package/src/components/SBreadcrumbs.vue +26 -30
- package/src/components/SButton.vue +7 -4
- package/src/components/SButtonGroup.vue +21 -26
- package/src/components/SButtonToggle.vue +3 -3
- package/src/components/SCaution.vue +92 -98
- package/src/components/SCheckbox.vue +86 -87
- package/src/components/SChip.vue +63 -63
- package/src/components/SDate.vue +15 -15
- package/src/components/SDateAutoRangePicker.vue +101 -98
- package/src/components/SDatePicker.vue +19 -19
- package/src/components/SDateRange.vue +15 -25
- package/src/components/SDateRangePicker.vue +19 -20
- package/src/components/SDateTimePicker.vue +15 -23
- package/src/components/SDialog.vue +145 -169
- package/src/components/SDropdown.vue +6 -6
- package/src/components/SEditor.vue +2 -2
- package/src/components/SFilePicker.vue +10 -10
- package/src/components/SHelp.vue +4 -4
- package/src/components/SInput.vue +19 -19
- package/src/components/SInputNumber.vue +12 -12
- package/src/components/SMarkupTable.vue +89 -88
- package/src/components/SPagination.vue +11 -11
- package/src/components/SRadio.vue +52 -52
- package/src/components/SRouteTab.vue +3 -3
- package/src/components/SSelect.vue +9 -9
- package/src/components/SSelectCheckbox.vue +5 -5
- package/src/components/SSelectGroupCheckbox.vue +7 -7
- package/src/components/SSelectSearch.vue +2 -2
- package/src/components/SSelectSearchCheckbox.vue +5 -5
- package/src/components/STab.vue +6 -6
- package/src/components/STable.vue +9 -9
- package/src/components/STableTree.vue +10 -10
- package/src/components/STag.vue +17 -17
- package/src/components/STimePicker.vue +9 -9
- package/src/components/SToggle.vue +44 -45
- package/src/components/STooltip.vue +144 -142
- package/src/components/SYearMonthPicker.vue +8 -8
- package/src/components/TableTreeNode.vue +4 -4
- package/src/components/TimePickerCard.vue +11 -11
- package/src/composables/table/use-resizable.js +14 -4
- package/src/css/app.scss +24 -8
- package/src/css/default.scss +172 -141
- package/src/css/extends.scss +34 -13
- package/src/css/quasar.variables.scss +133 -121
package/src/components/SChip.vue
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<q-chip
|
|
3
|
-
class="no-hover row items-center text-color-
|
|
3
|
+
class="no-hover row items-center text-color-grey_90 s-chip"
|
|
4
4
|
square
|
|
5
5
|
removable
|
|
6
6
|
outline
|
|
7
7
|
dense
|
|
8
8
|
:clickable="!!inputValue"
|
|
9
|
-
color="
|
|
9
|
+
color="grey_65"
|
|
10
10
|
:ripple="false"
|
|
11
11
|
:icon-remove="chipRemoveIcon"
|
|
12
12
|
>
|
|
@@ -26,74 +26,74 @@
|
|
|
26
26
|
</template>
|
|
27
27
|
|
|
28
28
|
<script>
|
|
29
|
-
import { defineComponent, ref, watch } from 'vue';
|
|
30
|
-
import { QChip } from 'quasar';
|
|
31
|
-
import { chipRemoveIcon } from '../assets/icons';
|
|
29
|
+
import { defineComponent, ref, watch } from 'vue';
|
|
30
|
+
import { QChip } from 'quasar';
|
|
31
|
+
import { chipRemoveIcon } from '../assets/icons';
|
|
32
32
|
|
|
33
|
-
export default defineComponent({
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
33
|
+
export default defineComponent({
|
|
34
|
+
name: 'SChip',
|
|
35
|
+
components: { QChip },
|
|
36
|
+
props: {
|
|
37
|
+
input: { type: String, default: '' },
|
|
38
|
+
},
|
|
39
|
+
setup(props, { emit }) {
|
|
40
|
+
const inputValue = ref(props.input);
|
|
41
|
+
watch(
|
|
42
|
+
() => props.input,
|
|
43
|
+
val => {
|
|
44
|
+
inputValue.value = val;
|
|
45
|
+
},
|
|
46
|
+
);
|
|
47
|
+
function handleInput(event) {
|
|
48
|
+
inputValue.value = event.target.outerText;
|
|
49
|
+
if (event.key === 'Enter') {
|
|
50
|
+
event.preventDefault();
|
|
51
|
+
event.target.blur();
|
|
52
|
+
emit('update:input', inputValue.value);
|
|
53
|
+
}
|
|
53
54
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
});
|
|
55
|
+
return {
|
|
56
|
+
chipRemoveIcon,
|
|
57
|
+
inputValue,
|
|
58
|
+
handleInput,
|
|
59
|
+
};
|
|
60
|
+
},
|
|
61
|
+
});
|
|
62
62
|
</script>
|
|
63
63
|
|
|
64
64
|
<style lang="scss">
|
|
65
|
-
@import
|
|
65
|
+
@import '../css/quasar.variables.scss';
|
|
66
66
|
|
|
67
|
-
.s-chip {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
67
|
+
.s-chip {
|
|
68
|
+
padding: $with-icon-padding !important;
|
|
69
|
+
border-radius: $button-border-radius;
|
|
70
|
+
background-color: white;
|
|
71
|
+
min-height: 28px;
|
|
72
|
+
&:hover {
|
|
73
|
+
border-color: $grey_90;
|
|
74
|
+
.q-focus-helper {
|
|
75
|
+
background: inherit;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
.q-chip__content {
|
|
79
|
+
color: $grey_90;
|
|
80
|
+
font-size: $default-font;
|
|
81
|
+
font-weight: $default-font-weight;
|
|
82
|
+
height: $default-content-height;
|
|
83
|
+
min-height: $default-content-height;
|
|
84
|
+
}
|
|
85
|
+
.q-chip__icon--remove {
|
|
86
|
+
color: $grey_90;
|
|
87
|
+
font-size: $icon-size-sm;
|
|
88
|
+
margin: 0;
|
|
89
|
+
margin-left: $default-icon-margin;
|
|
76
90
|
}
|
|
77
91
|
}
|
|
78
|
-
.
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
85
|
-
.q-chip__icon--remove {
|
|
86
|
-
color: $Grey_Darken-4;
|
|
87
|
-
font-size: $icon-size-sm;
|
|
88
|
-
margin: 0;
|
|
89
|
-
margin-left: $default-icon-margin;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
.s-chip-input {
|
|
93
|
-
height: 28px;
|
|
94
|
-
padding: 4px 0 !important;
|
|
95
|
-
&:focus-visible {
|
|
96
|
-
outline: none;
|
|
92
|
+
.s-chip-input {
|
|
93
|
+
height: 28px;
|
|
94
|
+
padding: 4px 0 !important;
|
|
95
|
+
&:focus-visible {
|
|
96
|
+
outline: none;
|
|
97
|
+
}
|
|
97
98
|
}
|
|
98
|
-
}
|
|
99
99
|
</style>
|
package/src/components/SDate.vue
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<q-icon
|
|
33
33
|
:name="dateRangeIcon"
|
|
34
34
|
size="20px"
|
|
35
|
-
color="
|
|
35
|
+
color="grey_70"
|
|
36
36
|
class="cursor-pointer"
|
|
37
37
|
@click="fromMenuRef[menuModel.from ? 'hide' : 'show']()"
|
|
38
38
|
/>
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
class="reset-btn no-hover"
|
|
55
55
|
flat
|
|
56
56
|
:label="lang ? locale[lang].today : '오늘'"
|
|
57
|
-
text-color="
|
|
57
|
+
text-color="grey_90"
|
|
58
58
|
:ripple="false"
|
|
59
59
|
@click="resetDate('from')"
|
|
60
60
|
/>
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
</q-menu>
|
|
77
77
|
</template>
|
|
78
78
|
</q-input>
|
|
79
|
-
<span class="q-mx-sm text-
|
|
79
|
+
<span class="q-mx-sm text-grey_90">~</span>
|
|
80
80
|
<q-input
|
|
81
81
|
v-model="dateModel.to"
|
|
82
82
|
dense
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
<q-icon
|
|
92
92
|
:name="dateRangeIcon"
|
|
93
93
|
size="20px"
|
|
94
|
-
color="
|
|
94
|
+
color="grey_70"
|
|
95
95
|
class="cursor-pointer"
|
|
96
96
|
@click="toMenuRef[menuModel.to ? 'hide' : 'show']()"
|
|
97
97
|
/>
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
class="reset-btn no-hover"
|
|
114
114
|
flat
|
|
115
115
|
:label="lang ? locale[lang].today : '오늘'"
|
|
116
|
-
text-color="
|
|
116
|
+
text-color="grey_90"
|
|
117
117
|
:ripple="false"
|
|
118
118
|
@click="resetDate('to')"
|
|
119
119
|
/>
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
<q-icon
|
|
151
151
|
:name="dateRangeIcon"
|
|
152
152
|
size="20px"
|
|
153
|
-
color="
|
|
153
|
+
color="grey_70"
|
|
154
154
|
class="cursor-pointer"
|
|
155
155
|
@click="singleMenuRef[menuModel.single ? 'hide' : 'show']()"
|
|
156
156
|
/>
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
class="reset-btn no-hover"
|
|
173
173
|
flat
|
|
174
174
|
:label="lang ? locale[lang].today : '오늘'"
|
|
175
|
-
text-color="
|
|
175
|
+
text-color="grey_90"
|
|
176
176
|
:ripple="false"
|
|
177
177
|
@click="resetDate()"
|
|
178
178
|
/>
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
import { QIcon, QInput, QDate, QMenu, QBtn, date } from 'quasar';
|
|
209
209
|
import { dateRangeIcon, closeIcon } from '../assets/icons';
|
|
210
210
|
import { useModelBinder } from '../composables/modelBinder';
|
|
211
|
-
import { initLocaleObj } from '../constants/locale'
|
|
211
|
+
import { initLocaleObj } from '../constants/locale';
|
|
212
212
|
|
|
213
213
|
export default {
|
|
214
214
|
name: 'SDate',
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
},
|
|
242
242
|
locale: {
|
|
243
243
|
type: Object,
|
|
244
|
-
default: initLocaleObj
|
|
244
|
+
default: initLocaleObj,
|
|
245
245
|
},
|
|
246
246
|
useDelete: {
|
|
247
247
|
type: Boolean,
|
|
@@ -525,29 +525,29 @@
|
|
|
525
525
|
.q-field__before {
|
|
526
526
|
height: 100%;
|
|
527
527
|
padding: 4px 12px !important;
|
|
528
|
-
border: 1px solid $
|
|
528
|
+
border: 1px solid $grey_55;
|
|
529
529
|
border-right: none;
|
|
530
530
|
border-radius: 2px 0 0 2px;
|
|
531
|
-
background: $
|
|
531
|
+
background: $grey_10;
|
|
532
532
|
|
|
533
533
|
.date-picker-label {
|
|
534
534
|
font-size: $default-font;
|
|
535
535
|
font-weight: $default-font-weight;
|
|
536
|
-
color: $
|
|
536
|
+
color: $grey_90;
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
540
|
|
|
541
541
|
&.q-field--disabled {
|
|
542
542
|
.q-field__before {
|
|
543
|
-
border: 1px solid $
|
|
543
|
+
border: 1px solid $grey_45;
|
|
544
544
|
border-right: none;
|
|
545
545
|
}
|
|
546
546
|
|
|
547
547
|
.q-field__inner {
|
|
548
548
|
.q-field__control {
|
|
549
549
|
&:after {
|
|
550
|
-
border: 1px solid $
|
|
550
|
+
border: 1px solid $grey_45;
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
}
|
|
@@ -582,7 +582,7 @@
|
|
|
582
582
|
height: 100%;
|
|
583
583
|
|
|
584
584
|
&:after {
|
|
585
|
-
border: 1px solid $
|
|
585
|
+
border: 1px solid $grey_55;
|
|
586
586
|
box-shadow: none;
|
|
587
587
|
}
|
|
588
588
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
dense
|
|
4
4
|
outlined
|
|
5
5
|
:class="{
|
|
6
|
-
'text-
|
|
6
|
+
'text-grey_65 bg-grey_10': disable,
|
|
7
7
|
's-date-auto-range-picker--inside': insideLabel,
|
|
8
8
|
's-date-auto-range-picker--use-icon': useDelete,
|
|
9
9
|
}"
|
|
@@ -16,10 +16,8 @@
|
|
|
16
16
|
>
|
|
17
17
|
<template v-slot:before v-if="insideLabel">
|
|
18
18
|
<div
|
|
19
|
-
class="date-picker-label s-px-sm q-py-xs text-
|
|
20
|
-
:class="disable
|
|
21
|
-
? 's-border-Grey_Lighten-2'
|
|
22
|
-
: 's-border-Grey_Lighten-1'"
|
|
19
|
+
class="date-picker-label s-px-sm q-py-xs text-grey_90 bg-grey_10"
|
|
20
|
+
:class="disable ? 's-border-grey_45' : 's-border-grey_55'"
|
|
23
21
|
>
|
|
24
22
|
{{ insideLabel }}
|
|
25
23
|
</div>
|
|
@@ -29,7 +27,7 @@
|
|
|
29
27
|
:name="dateRangeIcon"
|
|
30
28
|
class="cursor-pointer q-pa-none no-hover"
|
|
31
29
|
size="20px"
|
|
32
|
-
:color="disable ? '
|
|
30
|
+
:color="disable ? 'grey_65' : 'grey_70'"
|
|
33
31
|
>
|
|
34
32
|
<q-menu v-model="calendarOpen" fit class="date-picker-range-wrapper" ref="dateMenuRef">
|
|
35
33
|
<q-date
|
|
@@ -41,7 +39,7 @@
|
|
|
41
39
|
mask="YYYY-MM-DD"
|
|
42
40
|
:locale="lang ? locale[lang] : {}"
|
|
43
41
|
:options="optionsStartFn"
|
|
44
|
-
@update:model-value="
|
|
42
|
+
@update:model-value="value => updateDate(value, 'from')"
|
|
45
43
|
/>
|
|
46
44
|
<q-separator vertical />
|
|
47
45
|
<q-date
|
|
@@ -53,7 +51,7 @@
|
|
|
53
51
|
mask="YYYY-MM-DD"
|
|
54
52
|
:locale="lang ? locale[lang] : {}"
|
|
55
53
|
:options="optionsEndFn"
|
|
56
|
-
@update:model-value="
|
|
54
|
+
@update:model-value="value => updateDate(value, 'to')"
|
|
57
55
|
>
|
|
58
56
|
<q-btn
|
|
59
57
|
class="reset-to-today-btn no-shadow no-hover"
|
|
@@ -67,11 +65,8 @@
|
|
|
67
65
|
</q-icon>
|
|
68
66
|
</template>
|
|
69
67
|
<template v-slot:default>
|
|
70
|
-
<span class="text-center date-str">{{
|
|
71
|
-
|
|
72
|
-
}}</span>~<span class="text-center date-str">{{
|
|
73
|
-
dateModel.to
|
|
74
|
-
}}</span>
|
|
68
|
+
<span class="text-center date-str">{{ dateModel.from }}</span
|
|
69
|
+
>~<span class="text-center date-str">{{ dateModel.to }}</span>
|
|
75
70
|
</template>
|
|
76
71
|
<template v-slot:append v-if="useDelete">
|
|
77
72
|
<q-icon
|
|
@@ -90,7 +85,7 @@
|
|
|
90
85
|
import { defineComponent, ref, computed, watch } from 'vue';
|
|
91
86
|
import { QInput, QBtn, QDate, QMenu, QIcon, QSeparator, date } from 'quasar';
|
|
92
87
|
import { dateRangeIcon, closeIcon } from '../assets/icons';
|
|
93
|
-
import { initLocaleObj } from '../constants/locale'
|
|
88
|
+
import { initLocaleObj } from '../constants/locale';
|
|
94
89
|
|
|
95
90
|
export default defineComponent({
|
|
96
91
|
name: 'SDateAutoRangePicker',
|
|
@@ -115,7 +110,7 @@
|
|
|
115
110
|
type: Object,
|
|
116
111
|
/**
|
|
117
112
|
* @returns {{ from: null | string; to: null | string; }}
|
|
118
|
-
|
|
113
|
+
*/
|
|
119
114
|
default: () => ({ from: null, to: null }),
|
|
120
115
|
require: true,
|
|
121
116
|
},
|
|
@@ -132,7 +127,7 @@
|
|
|
132
127
|
/**
|
|
133
128
|
* number 일 경우, 기본 값 date
|
|
134
129
|
* @returns {null | number | { ['date' | 'month' | 'year']: number; }}
|
|
135
|
-
|
|
130
|
+
*/
|
|
136
131
|
default: null,
|
|
137
132
|
},
|
|
138
133
|
width: {
|
|
@@ -148,9 +143,13 @@
|
|
|
148
143
|
const todayReset = date.formatDate(new Date(), 'YYYY/MM/DD');
|
|
149
144
|
|
|
150
145
|
const dateModel = ref({ from: todayReset, to: todayReset });
|
|
151
|
-
watch(
|
|
152
|
-
|
|
153
|
-
|
|
146
|
+
watch(
|
|
147
|
+
() => props.modelValue,
|
|
148
|
+
newValue => {
|
|
149
|
+
dateModel.value = newValue;
|
|
150
|
+
},
|
|
151
|
+
{ immediate: true },
|
|
152
|
+
);
|
|
154
153
|
|
|
155
154
|
function resetDate() {
|
|
156
155
|
dateModel.value.from = date.formatDate(todayReset, 'YYYY-MM-DD');
|
|
@@ -165,9 +164,13 @@
|
|
|
165
164
|
function optionsStartFn() {
|
|
166
165
|
if (dateModel.value.from && props.dateLimit) {
|
|
167
166
|
limit.value = '';
|
|
168
|
-
limit.value = date.formatDate(
|
|
169
|
-
|
|
170
|
-
|
|
167
|
+
limit.value = date.formatDate(
|
|
168
|
+
date.addToDate(
|
|
169
|
+
new Date(dateModel.value.from),
|
|
170
|
+
typeof props.dateLimit === 'number' ? { date: props.dateLimit } : props.dateLimit,
|
|
171
|
+
),
|
|
172
|
+
'YYYY-MM-DD',
|
|
173
|
+
);
|
|
171
174
|
}
|
|
172
175
|
return true;
|
|
173
176
|
}
|
|
@@ -187,7 +190,7 @@
|
|
|
187
190
|
/**
|
|
188
191
|
* @param {string} model
|
|
189
192
|
* @param {'from' | 'to'} position
|
|
190
|
-
|
|
193
|
+
*/
|
|
191
194
|
function updateDate(model, position = 'from') {
|
|
192
195
|
dateModel.value[position] = model;
|
|
193
196
|
emit('update:modelValue', dateModel.value);
|
|
@@ -218,94 +221,94 @@
|
|
|
218
221
|
</script>
|
|
219
222
|
|
|
220
223
|
<style lang="scss">
|
|
221
|
-
@import '../css/quasar.variables.scss';
|
|
224
|
+
@import '../css/quasar.variables.scss';
|
|
222
225
|
|
|
223
|
-
.s-date-auto-range-picker {
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
height: $default-height;
|
|
228
|
-
padding: 0;
|
|
229
|
-
&:before {
|
|
230
|
-
border: 1px solid $Grey_Lighten-1 !important;
|
|
231
|
-
}
|
|
232
|
-
&:after {
|
|
233
|
-
border-color: transparent !important;
|
|
234
|
-
box-shadow: none !important;
|
|
235
|
-
}
|
|
236
|
-
&:hover,
|
|
237
|
-
&:active {
|
|
238
|
-
box-sizing: none;
|
|
239
|
-
background-color: $Grey_Lighten-5;
|
|
240
|
-
}
|
|
241
|
-
.q-field__prepend {
|
|
242
|
-
padding: 0;
|
|
243
|
-
margin: 0 4px 0 8px;
|
|
244
|
-
height: 28px;
|
|
245
|
-
width: 20px;
|
|
246
|
-
}
|
|
247
|
-
&-container {
|
|
248
|
-
align-items: center;
|
|
249
|
-
padding: 0;
|
|
250
|
-
margin: 0 16px 0 8px;
|
|
251
|
-
.q-field__native {
|
|
252
|
-
display: none;
|
|
253
|
-
}
|
|
254
|
-
.date-str {
|
|
255
|
-
min-width: 66px;
|
|
256
|
-
line-height: $default-height;
|
|
257
|
-
font-size: $default-font;
|
|
258
|
-
display: block;
|
|
259
|
-
color: $Grey_Darken-4;
|
|
260
|
-
height: 100%;
|
|
261
|
-
user-select: none;
|
|
262
|
-
&:first-of-type {
|
|
263
|
-
margin-right: $between-margin-sm;
|
|
264
|
-
}
|
|
265
|
-
&:last-of-type {
|
|
266
|
-
margin-left: $between-margin-sm;
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
.q-field__append {
|
|
226
|
+
.s-date-auto-range-picker {
|
|
227
|
+
width: v-bind(dateWidth);
|
|
228
|
+
.q-field__control {
|
|
229
|
+
max-height: $default-height;
|
|
271
230
|
height: $default-height;
|
|
272
231
|
padding: 0;
|
|
273
|
-
margin: 0 8px 0 0;
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
&.q-field--disabled {
|
|
277
|
-
.q-field__control {
|
|
278
232
|
&:before {
|
|
279
|
-
border: 1px solid $
|
|
233
|
+
border: 1px solid $grey_55 !important;
|
|
234
|
+
}
|
|
235
|
+
&:after {
|
|
236
|
+
border-color: transparent !important;
|
|
237
|
+
box-shadow: none !important;
|
|
238
|
+
}
|
|
239
|
+
&:hover,
|
|
240
|
+
&:active {
|
|
241
|
+
box-sizing: none;
|
|
242
|
+
background-color: $grey_10;
|
|
243
|
+
}
|
|
244
|
+
.q-field__prepend {
|
|
245
|
+
padding: 0;
|
|
246
|
+
margin: 0 4px 0 8px;
|
|
247
|
+
height: 28px;
|
|
248
|
+
width: 20px;
|
|
280
249
|
}
|
|
281
250
|
&-container {
|
|
251
|
+
align-items: center;
|
|
252
|
+
padding: 0;
|
|
253
|
+
margin: 0 16px 0 8px;
|
|
254
|
+
.q-field__native {
|
|
255
|
+
display: none;
|
|
256
|
+
}
|
|
282
257
|
.date-str {
|
|
283
|
-
|
|
258
|
+
min-width: 66px;
|
|
259
|
+
line-height: $default-height;
|
|
260
|
+
font-size: $default-font;
|
|
261
|
+
display: block;
|
|
262
|
+
color: $grey_90;
|
|
263
|
+
height: 100%;
|
|
264
|
+
user-select: none;
|
|
265
|
+
&:first-of-type {
|
|
266
|
+
margin-right: $between-margin-sm;
|
|
267
|
+
}
|
|
268
|
+
&:last-of-type {
|
|
269
|
+
margin-left: $between-margin-sm;
|
|
270
|
+
}
|
|
284
271
|
}
|
|
285
272
|
}
|
|
286
|
-
|
|
287
|
-
}
|
|
288
|
-
&--inside {
|
|
289
|
-
.q-field__before {
|
|
290
|
-
height: $default-height;
|
|
291
|
-
line-height: $default-content-height;
|
|
292
|
-
padding: 0;
|
|
293
|
-
.date-picker-label {
|
|
294
|
-
border-right: none !important;
|
|
295
|
-
border-radius: $generic-border-radius 0 0 $generic-border-radius;
|
|
273
|
+
.q-field__append {
|
|
296
274
|
height: $default-height;
|
|
297
|
-
|
|
275
|
+
padding: 0;
|
|
276
|
+
margin: 0 8px 0 0;
|
|
298
277
|
}
|
|
299
278
|
}
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
279
|
+
&.q-field--disabled {
|
|
280
|
+
.q-field__control {
|
|
281
|
+
&:before {
|
|
282
|
+
border: 1px solid $grey_45 !important;
|
|
283
|
+
}
|
|
284
|
+
&-container {
|
|
285
|
+
.date-str {
|
|
286
|
+
color: $grey_65;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
303
290
|
}
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
291
|
+
&--inside {
|
|
292
|
+
.q-field__before {
|
|
293
|
+
height: $default-height;
|
|
294
|
+
line-height: $default-content-height;
|
|
295
|
+
padding: 0;
|
|
296
|
+
.date-picker-label {
|
|
297
|
+
border-right: none !important;
|
|
298
|
+
border-radius: $generic-border-radius 0 0 $generic-border-radius;
|
|
299
|
+
height: $default-height;
|
|
300
|
+
font-size: $default-font;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
.q-field__control {
|
|
304
|
+
border-top-left-radius: 0;
|
|
305
|
+
border-bottom-left-radius: 0;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
&--use-icon {
|
|
309
|
+
.q-field__control-container {
|
|
310
|
+
margin: 0 8px 0 4px;
|
|
311
|
+
}
|
|
308
312
|
}
|
|
309
313
|
}
|
|
310
|
-
}
|
|
311
314
|
</style>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
outlined
|
|
5
5
|
:class="{
|
|
6
6
|
's-date-picker-range': range,
|
|
7
|
-
'text-
|
|
7
|
+
'text-grey_65 bg-grey_10': isDisable,
|
|
8
8
|
's-date-picker-inside': insideLabel,
|
|
9
9
|
}"
|
|
10
10
|
readonly
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
dense
|
|
28
28
|
:ripple="false"
|
|
29
29
|
flat
|
|
30
|
-
color="
|
|
30
|
+
color="grey_90"
|
|
31
31
|
class="q-pa-none no-hover"
|
|
32
32
|
aria-label="date-button"
|
|
33
33
|
>
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
<q-icon
|
|
51
51
|
:name="closeIcon"
|
|
52
52
|
size="16px"
|
|
53
|
-
color="
|
|
53
|
+
color="grey_55"
|
|
54
54
|
class="cursor-pointer"
|
|
55
55
|
@click="deleteDate"
|
|
56
56
|
aria-label="close-button"
|
|
@@ -265,18 +265,18 @@
|
|
|
265
265
|
height: 100%;
|
|
266
266
|
align-items: center;
|
|
267
267
|
&:after {
|
|
268
|
-
border: 1px solid $
|
|
268
|
+
border: 1px solid $grey_55;
|
|
269
269
|
box-shadow: none;
|
|
270
270
|
}
|
|
271
271
|
&:hover,
|
|
272
272
|
&:active {
|
|
273
|
-
background: $
|
|
273
|
+
background: $grey_10;
|
|
274
274
|
}
|
|
275
275
|
.q-field__prepend {
|
|
276
276
|
.q-icon {
|
|
277
277
|
width: 20px;
|
|
278
278
|
height: 20px;
|
|
279
|
-
color: $
|
|
279
|
+
color: $grey_70;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
.q-field__prepend {
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
weight: $default-font-weight;
|
|
311
311
|
}
|
|
312
312
|
input::placeholder {
|
|
313
|
-
color: $
|
|
313
|
+
color: $grey_90;
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
316
|
}
|
|
@@ -318,31 +318,31 @@
|
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
.q-field--disabled.s-date-picker {
|
|
321
|
-
color: $
|
|
321
|
+
color: $grey_65 !important;
|
|
322
322
|
.q-field__inner {
|
|
323
|
-
color: $
|
|
323
|
+
color: $grey_65 !important;
|
|
324
324
|
.q-field__control {
|
|
325
|
-
color: $
|
|
325
|
+
color: $grey_65 !important;
|
|
326
326
|
opacity: 1 !important;
|
|
327
327
|
&:after {
|
|
328
|
-
border: 1px solid $
|
|
328
|
+
border: 1px solid $grey_45;
|
|
329
329
|
}
|
|
330
330
|
.q-field__prepend {
|
|
331
331
|
opacity: 1 !important;
|
|
332
332
|
.q-icon {
|
|
333
|
-
color: $
|
|
333
|
+
color: $grey_65;
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
&-container {
|
|
337
337
|
opacity: 1 !important;
|
|
338
338
|
.q-field__native {
|
|
339
|
-
color: $
|
|
339
|
+
color: $grey_65 !important;
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
&.q-field--float {
|
|
345
|
-
color: $
|
|
345
|
+
color: $grey_65 !important;
|
|
346
346
|
opacity: 0.9 !important;
|
|
347
347
|
}
|
|
348
348
|
}
|
|
@@ -353,14 +353,14 @@
|
|
|
353
353
|
height: 100%;
|
|
354
354
|
line-height: $default-content-height;
|
|
355
355
|
padding: 4px 12px;
|
|
356
|
-
border: 1px solid $
|
|
357
|
-
background-color: $
|
|
356
|
+
border: 1px solid $grey_55;
|
|
357
|
+
background-color: $grey_10;
|
|
358
358
|
border-right: none;
|
|
359
359
|
border-radius: 2px 0 0 2px;
|
|
360
360
|
.date-picker-label {
|
|
361
361
|
font-size: $default-font;
|
|
362
362
|
font-weight: $default-font-weight;
|
|
363
|
-
color: $
|
|
363
|
+
color: $grey_90;
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
.q-field__inner {
|
|
@@ -370,10 +370,10 @@
|
|
|
370
370
|
}
|
|
371
371
|
&.q-field--disabled {
|
|
372
372
|
.q-field__before {
|
|
373
|
-
border: 1px solid $
|
|
373
|
+
border: 1px solid $grey_45;
|
|
374
374
|
border-right: none;
|
|
375
375
|
.date-picker-label {
|
|
376
|
-
color: $
|
|
376
|
+
color: $grey_65;
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
}
|