quasar-ui-sellmate-ui-kit 2.2.33 → 2.3.1

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.
Files changed (62) hide show
  1. package/README.md +142 -142
  2. package/dist/index.common.js +3 -3
  3. package/dist/index.css +2 -2
  4. package/dist/index.esm.js +3 -3
  5. package/dist/index.min.css +2 -2
  6. package/dist/index.rtl.css +2 -2
  7. package/dist/index.rtl.min.css +2 -2
  8. package/dist/index.umd.js +3558 -3550
  9. package/dist/index.umd.min.js +3 -3
  10. package/package.json +75 -75
  11. package/src/components/SBreadcrumbs.vue +55 -55
  12. package/src/components/SButton.vue +206 -206
  13. package/src/components/SButtonGroup.vue +41 -41
  14. package/src/components/SCaution.vue +102 -102
  15. package/src/components/SCheckbox.vue +123 -123
  16. package/src/components/SChip.vue +99 -99
  17. package/src/components/SDate.vue +717 -717
  18. package/src/components/SDateAutoRangePicker.vue +341 -341
  19. package/src/components/SDatePicker.vue +472 -472
  20. package/src/components/SDateRange.vue +470 -470
  21. package/src/components/SDateRangePicker.vue +660 -660
  22. package/src/components/SDateTimePicker.vue +349 -349
  23. package/src/components/SDialog.vue +250 -250
  24. package/src/components/SDropdown.vue +216 -216
  25. package/src/components/SEditor.vue +490 -490
  26. package/src/components/SFilePicker.vue +207 -207
  27. package/src/components/SHelp.vue +146 -146
  28. package/src/components/SInput.vue +343 -343
  29. package/src/components/SInputCounter.vue +46 -46
  30. package/src/components/SInputNumber.vue +179 -179
  31. package/src/components/SList.vue +29 -29
  32. package/src/components/SMarkupTable.vue +141 -141
  33. package/src/components/SPagination.vue +266 -266
  34. package/src/components/SRadio.vue +78 -78
  35. package/src/components/SRouteTab.vue +67 -67
  36. package/src/components/SSelect.vue +294 -294
  37. package/src/components/SSelectCheckbox.vue +222 -225
  38. package/src/components/SSelectCustom.vue +25 -17
  39. package/src/components/SSelectGroupCheckbox.vue +235 -235
  40. package/src/components/SSelectSearch.vue +261 -261
  41. package/src/components/SSelectSearchAutoComplete.vue +172 -172
  42. package/src/components/SSelectSearchCheckbox.vue +356 -356
  43. package/src/components/SStringToInput.vue +66 -66
  44. package/src/components/STab.vue +80 -80
  45. package/src/components/STableTree.vue +208 -208
  46. package/src/components/STimePicker.vue +159 -159
  47. package/src/components/SToggle.vue +68 -68
  48. package/src/components/STooltip.vue +209 -209
  49. package/src/components/SelelctItem.vue +21 -21
  50. package/src/components/TimePickerCard.vue +352 -352
  51. package/src/composables/date.js +11 -11
  52. package/src/composables/modelBinder.js +13 -13
  53. package/src/composables/table/use-navigator.js +110 -110
  54. package/src/composables/table/use-resizable.js +80 -80
  55. package/src/css/app.scss +90 -90
  56. package/src/css/extends.scss +154 -154
  57. package/src/css/quasar.variables.scss +189 -189
  58. package/src/index.common.js +1 -1
  59. package/src/index.esm.js +4 -4
  60. package/src/index.scss +9 -9
  61. package/src/index.umd.js +3 -3
  62. package/src/vue-plugin.js +92 -92
@@ -1,41 +1,41 @@
1
- <template>
2
- <q-btn-group
3
- class="s-btn-group"
4
- :class="{ 'no-hover': noHover }"
5
- flat
6
- unelevated
7
- >
8
- <slot></slot>
9
- </q-btn-group>
10
- </template>
11
-
12
- <script>
13
- import { defineComponent } from 'vue';
14
- import { QBtnGroup } from 'quasar';
15
-
16
- export default defineComponent({
17
- name: 'SButtonGroup',
18
- components: {
19
- QBtnGroup,
20
- },
21
- props: {
22
- noHover: {
23
- type: Boolean,
24
- default: false,
25
- },
26
- },
27
- });
28
- </script>
29
-
30
- <style lang="scss">
31
- @import "../css/quasar.variables.scss";
32
-
33
- .s-btn-group {
34
- .disabled {
35
- border: none;
36
- &::before {
37
- border: 1px solid $Grey_Lighten-2;
38
- }
39
- }
40
- }
41
- </style>
1
+ <template>
2
+ <q-btn-group
3
+ class="s-btn-group"
4
+ :class="{ 'no-hover': noHover }"
5
+ flat
6
+ unelevated
7
+ >
8
+ <slot></slot>
9
+ </q-btn-group>
10
+ </template>
11
+
12
+ <script>
13
+ import { defineComponent } from 'vue';
14
+ import { QBtnGroup } from 'quasar';
15
+
16
+ export default defineComponent({
17
+ name: 'SButtonGroup',
18
+ components: {
19
+ QBtnGroup,
20
+ },
21
+ props: {
22
+ noHover: {
23
+ type: Boolean,
24
+ default: false,
25
+ },
26
+ },
27
+ });
28
+ </script>
29
+
30
+ <style lang="scss">
31
+ @import "../css/quasar.variables.scss";
32
+
33
+ .s-btn-group {
34
+ .disabled {
35
+ border: none;
36
+ &::before {
37
+ border: 1px solid $Grey_Lighten-2;
38
+ }
39
+ }
40
+ }
41
+ </style>
@@ -1,102 +1,102 @@
1
- <template>
2
- <q-banner
3
- dense
4
- rounded
5
- class="text-Grey_Darken-4 col relative-position s-caution"
6
- :class="{
7
- 's-caution__title': title,
8
- 's-caution__page bg-Caution_Bg': !useModal,
9
- 'bg-Red_Lighten-5': useModal,
10
- }"
11
- >
12
- <div v-if="title" class="s-caution-title">{{ title }}</div>
13
- <ul>
14
- <slot />
15
- </ul>
16
- <q-icon
17
- v-if="!useModal"
18
- class="s-caution-icon"
19
- size="240px"
20
- :name="cautionOutlineIcon"
21
- />
22
- </q-banner>
23
- </template>
24
- <script>
25
- import { defineComponent } from 'vue';
26
- import { QBanner, QIcon } from 'quasar';
27
- import { cautionOutlineIcon } from '../assets/icons.js';
28
-
29
- export default defineComponent({
30
- name: 'SCaution',
31
- components: {
32
- QBanner,
33
- QIcon,
34
- },
35
- props: {
36
- title: { type: String, default: '' },
37
- useModal: { type: Boolean, default: false },
38
- },
39
- setup() {
40
- return {
41
- cautionOutlineIcon,
42
- };
43
- },
44
- });
45
- </script>
46
-
47
- <style lang="scss">
48
- @import "../css/quasar.variables.scss";
49
-
50
- .s-caution {
51
- padding: 20px 0;
52
- border-radius: 4px;
53
- overflow: hidden;
54
- max: {
55
- height: 100%;
56
- width: 100%;
57
- }
58
- ul {
59
- margin: 0;
60
- padding: 0;
61
- margin-left: $caution-margin-left;
62
- li {
63
- list-style: none;
64
- font-size: $default-font;
65
- line-height: $double-line-height;
66
- &:before {
67
- content: "-";
68
- font-size: 14px;
69
- line-height: 20px;
70
- margin-right: 12px;
71
- }
72
- }
73
- }
74
- .s-caution-icon {
75
- position: absolute;
76
- right: -41px;
77
- bottom: -34px;
78
- color: $Caution_Icon;
79
- opacity: 0.24;
80
- }
81
- }
82
- .s-caution__page {
83
- border: 1px solid $Red_Lighten-3;
84
- }
85
- .s-caution__title {
86
- border-left: 8px solid $Red_Lighten-1;
87
- .s-caution-title {
88
- width: 100%;
89
- height: 30px;
90
- line-height: 30px;
91
- color: $Red_Default;
92
- font: {
93
- size: 18px;
94
- weight: 700;
95
- }
96
- margin: {
97
- left: $caution-margin-left;
98
- bottom: 16px;
99
- }
100
- }
101
- }
102
- </style>
1
+ <template>
2
+ <q-banner
3
+ dense
4
+ rounded
5
+ class="text-Grey_Darken-4 col relative-position s-caution"
6
+ :class="{
7
+ 's-caution__title': title,
8
+ 's-caution__page bg-Caution_Bg': !useModal,
9
+ 'bg-Red_Lighten-5': useModal,
10
+ }"
11
+ >
12
+ <div v-if="title" class="s-caution-title">{{ title }}</div>
13
+ <ul>
14
+ <slot />
15
+ </ul>
16
+ <q-icon
17
+ v-if="!useModal"
18
+ class="s-caution-icon"
19
+ size="240px"
20
+ :name="cautionOutlineIcon"
21
+ />
22
+ </q-banner>
23
+ </template>
24
+ <script>
25
+ import { defineComponent } from 'vue';
26
+ import { QBanner, QIcon } from 'quasar';
27
+ import { cautionOutlineIcon } from '../assets/icons.js';
28
+
29
+ export default defineComponent({
30
+ name: 'SCaution',
31
+ components: {
32
+ QBanner,
33
+ QIcon,
34
+ },
35
+ props: {
36
+ title: { type: String, default: '' },
37
+ useModal: { type: Boolean, default: false },
38
+ },
39
+ setup() {
40
+ return {
41
+ cautionOutlineIcon,
42
+ };
43
+ },
44
+ });
45
+ </script>
46
+
47
+ <style lang="scss">
48
+ @import "../css/quasar.variables.scss";
49
+
50
+ .s-caution {
51
+ padding: 20px 0;
52
+ border-radius: 4px;
53
+ overflow: hidden;
54
+ max: {
55
+ height: 100%;
56
+ width: 100%;
57
+ }
58
+ ul {
59
+ margin: 0;
60
+ padding: 0;
61
+ margin-left: $caution-margin-left;
62
+ li {
63
+ list-style: none;
64
+ font-size: $default-font;
65
+ line-height: $double-line-height;
66
+ &:before {
67
+ content: "-";
68
+ font-size: 14px;
69
+ line-height: 20px;
70
+ margin-right: 12px;
71
+ }
72
+ }
73
+ }
74
+ .s-caution-icon {
75
+ position: absolute;
76
+ right: -41px;
77
+ bottom: -34px;
78
+ color: $Caution_Icon;
79
+ opacity: 0.24;
80
+ }
81
+ }
82
+ .s-caution__page {
83
+ border: 1px solid $Red_Lighten-3;
84
+ }
85
+ .s-caution__title {
86
+ border-left: 8px solid $Red_Lighten-1;
87
+ .s-caution-title {
88
+ width: 100%;
89
+ height: 30px;
90
+ line-height: 30px;
91
+ color: $Red_Default;
92
+ font: {
93
+ size: 18px;
94
+ weight: 700;
95
+ }
96
+ margin: {
97
+ left: $caution-margin-left;
98
+ bottom: 16px;
99
+ }
100
+ }
101
+ }
102
+ </style>
@@ -1,123 +1,123 @@
1
- <template>
2
- <q-checkbox
3
- dense
4
- color="positive"
5
- class="s-checkbox"
6
- :class="length > 2 ? 'ck-margin-sm' : 'ck-margin-lg'"
7
- />
8
- </template>
9
-
10
- <script>
11
- import { defineComponent } from 'vue';
12
- import { QCheckbox } from 'quasar';
13
-
14
- export default defineComponent({
15
- name: 'SCheckbox',
16
- components: {
17
- QCheckbox,
18
- },
19
- props: {
20
- length: Number,
21
- },
22
- setup() {
23
- return {};
24
- },
25
- });
26
- </script>
27
-
28
- <style lang="scss">
29
- @import "../css/quasar.variables.scss";
30
-
31
- .s-checkbox {
32
- margin: 0;
33
- justify-content: center;
34
- align-items: center;
35
- font-size: $default-font;
36
- height: 1.667em;
37
- &:hover {
38
- .q-checkbox__inner {
39
- .q-checkbox__bg {
40
- border: 1px solid $positive;
41
- background-color: $Blue_B_Lighten-5;
42
- }
43
- }
44
- }
45
- & > .q-checkbox__inner {
46
- min-width: 0;
47
- width: 0.4em;
48
- height: 0.4em;
49
- &:before {
50
- background: none !important;
51
- }
52
- .q-checkbox__bg {
53
- border: 1px solid $Grey_Default;
54
- width: 0.4em;
55
- height: 0.4em;
56
- background: white;
57
- top: 50%;
58
- left: 50%;
59
- transform: translate(-50%, -50%);
60
- .q-checkbox__svg {
61
- width: 0.286em !important;
62
- margin: 0 auto;
63
- }
64
- }
65
- &--indet,
66
- &--truthy {
67
- color: $positive !important;
68
- .q-checkbox__bg {
69
- border: none !important;
70
- background-color: $positive !important;
71
- }
72
- path {
73
- stroke-linecap: round;
74
- stroke-linejoin: round;
75
- &:first-of-type {
76
- transform: scale(0.98);
77
- }
78
- }
79
- }
80
- }
81
- & > .q-checkbox__label {
82
- padding-left: $between-margin-md;
83
- color: $Grey_Darken-4;
84
- line-height: $default-content-height;
85
- }
86
- }
87
-
88
- .s-checkbox[aria-checked="true"].disabled {
89
- .q-checkbox__inner {
90
- .q-checkbox__bg {
91
- background: $Grey_Lighten-4 !important;
92
- border: 1px solid $Grey_Lighten-2 !important;
93
- }
94
- }
95
-
96
- }
97
- .disabled.s-checkbox {
98
- border: none !important;
99
- background: none !important;
100
- & > .q-checkbox__inner {
101
- .q-checkbox__bg {
102
- border: 1px solid $Grey_Lighten-2;
103
- background: $Grey_Lighten-4;
104
- .q-checkbox__svg {
105
- color: $Grey_Default;
106
- }
107
- }
108
- }
109
- }
110
-
111
- .ck-margin-sm {
112
- margin-right: 20px;
113
- &:last-of-type {
114
- margin-right: 0;
115
- }
116
- }
117
- .ck-margin-lg {
118
- margin-right: 40px;
119
- &:last-of-type {
120
- margin-right: 0;
121
- }
122
- }
123
- </style>
1
+ <template>
2
+ <q-checkbox
3
+ dense
4
+ color="positive"
5
+ class="s-checkbox"
6
+ :class="length > 2 ? 'ck-margin-sm' : 'ck-margin-lg'"
7
+ />
8
+ </template>
9
+
10
+ <script>
11
+ import { defineComponent } from 'vue';
12
+ import { QCheckbox } from 'quasar';
13
+
14
+ export default defineComponent({
15
+ name: 'SCheckbox',
16
+ components: {
17
+ QCheckbox,
18
+ },
19
+ props: {
20
+ length: Number,
21
+ },
22
+ setup() {
23
+ return {};
24
+ },
25
+ });
26
+ </script>
27
+
28
+ <style lang="scss">
29
+ @import "../css/quasar.variables.scss";
30
+
31
+ .s-checkbox {
32
+ margin: 0;
33
+ justify-content: center;
34
+ align-items: center;
35
+ font-size: $default-font;
36
+ height: 1.667em;
37
+ &:hover {
38
+ .q-checkbox__inner {
39
+ .q-checkbox__bg {
40
+ border: 1px solid $positive;
41
+ background-color: $Blue_B_Lighten-5;
42
+ }
43
+ }
44
+ }
45
+ & > .q-checkbox__inner {
46
+ min-width: 0;
47
+ width: 0.4em;
48
+ height: 0.4em;
49
+ &:before {
50
+ background: none !important;
51
+ }
52
+ .q-checkbox__bg {
53
+ border: 1px solid $Grey_Default;
54
+ width: 0.4em;
55
+ height: 0.4em;
56
+ background: white;
57
+ top: 50%;
58
+ left: 50%;
59
+ transform: translate(-50%, -50%);
60
+ .q-checkbox__svg {
61
+ width: 0.286em !important;
62
+ margin: 0 auto;
63
+ }
64
+ }
65
+ &--indet,
66
+ &--truthy {
67
+ color: $positive !important;
68
+ .q-checkbox__bg {
69
+ border: none !important;
70
+ background-color: $positive !important;
71
+ }
72
+ path {
73
+ stroke-linecap: round;
74
+ stroke-linejoin: round;
75
+ &:first-of-type {
76
+ transform: scale(0.98);
77
+ }
78
+ }
79
+ }
80
+ }
81
+ & > .q-checkbox__label {
82
+ padding-left: $between-margin-md;
83
+ color: $Grey_Darken-4;
84
+ line-height: $default-content-height;
85
+ }
86
+ }
87
+
88
+ .s-checkbox[aria-checked="true"].disabled {
89
+ .q-checkbox__inner {
90
+ .q-checkbox__bg {
91
+ background: $Grey_Lighten-4 !important;
92
+ border: 1px solid $Grey_Lighten-2 !important;
93
+ }
94
+ }
95
+
96
+ }
97
+ .disabled.s-checkbox {
98
+ border: none !important;
99
+ background: none !important;
100
+ & > .q-checkbox__inner {
101
+ .q-checkbox__bg {
102
+ border: 1px solid $Grey_Lighten-2;
103
+ background: $Grey_Lighten-4;
104
+ .q-checkbox__svg {
105
+ color: $Grey_Default;
106
+ }
107
+ }
108
+ }
109
+ }
110
+
111
+ .ck-margin-sm {
112
+ margin-right: 20px;
113
+ &:last-of-type {
114
+ margin-right: 0;
115
+ }
116
+ }
117
+ .ck-margin-lg {
118
+ margin-right: 40px;
119
+ &:last-of-type {
120
+ margin-right: 0;
121
+ }
122
+ }
123
+ </style>