quasar-ui-sellmate-ui-kit 3.0.3 → 3.0.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.
Files changed (67) hide show
  1. package/.prettierrc +25 -25
  2. package/README.md +156 -156
  3. package/dist/index.common.js +2 -2
  4. package/dist/index.css +1 -1
  5. package/dist/index.esm.js +2 -2
  6. package/dist/index.min.css +1 -1
  7. package/dist/index.rtl.css +1 -1
  8. package/dist/index.rtl.min.css +1 -1
  9. package/dist/index.umd.js +3826 -3826
  10. package/dist/index.umd.min.js +2 -2
  11. package/package.json +83 -83
  12. package/src/assets/icons.js +28 -28
  13. package/src/components/SBreadcrumbs.vue +55 -55
  14. package/src/components/SButton.vue +206 -206
  15. package/src/components/SButtonGroup.vue +41 -41
  16. package/src/components/SButtonToggle.vue +200 -200
  17. package/src/components/SCaution.vue +102 -102
  18. package/src/components/SCheckbox.vue +123 -123
  19. package/src/components/SChip.vue +99 -99
  20. package/src/components/SDate.vue +717 -717
  21. package/src/components/SDateAutoRangePicker.vue +341 -341
  22. package/src/components/SDatePicker.vue +472 -472
  23. package/src/components/SDateRange.vue +470 -470
  24. package/src/components/SDateRangePicker.vue +660 -660
  25. package/src/components/SDateTimePicker.vue +349 -349
  26. package/src/components/SDialog.vue +250 -250
  27. package/src/components/SDropdown.vue +216 -216
  28. package/src/components/SEditor.vue +490 -490
  29. package/src/components/SFilePicker.vue +207 -207
  30. package/src/components/SHelp.vue +146 -146
  31. package/src/components/SInput.vue +343 -343
  32. package/src/components/SInputCounter.vue +46 -46
  33. package/src/components/SInputNumber.vue +179 -179
  34. package/src/components/SList.vue +29 -29
  35. package/src/components/SMarkupTable.vue +141 -141
  36. package/src/components/SPagination.vue +266 -266
  37. package/src/components/SRadio.vue +78 -78
  38. package/src/components/SRouteTab.vue +67 -67
  39. package/src/components/SSelect.vue +294 -294
  40. package/src/components/SSelectCheckbox.vue +222 -222
  41. package/src/components/SSelectCustom.vue +189 -189
  42. package/src/components/SSelectGroupCheckbox.vue +235 -235
  43. package/src/components/SSelectSearch.vue +261 -261
  44. package/src/components/SSelectSearchAutoComplete.vue +172 -172
  45. package/src/components/SSelectSearchCheckbox.vue +356 -356
  46. package/src/components/SStringToInput.vue +66 -66
  47. package/src/components/STab.vue +77 -77
  48. package/src/components/STable.vue +425 -425
  49. package/src/components/STableTree.vue +210 -210
  50. package/src/components/STabs.vue +32 -32
  51. package/src/components/STimePicker.vue +159 -159
  52. package/src/components/SToggle.vue +68 -68
  53. package/src/components/STooltip.vue +209 -209
  54. package/src/components/SelelctItem.vue +21 -21
  55. package/src/components/TimePickerCard.vue +352 -352
  56. package/src/composables/date.js +11 -11
  57. package/src/composables/modelBinder.js +13 -13
  58. package/src/composables/table/use-navigator.js +110 -110
  59. package/src/composables/table/use-resizable.js +80 -80
  60. package/src/css/app.scss +90 -90
  61. package/src/css/default.scss +875 -875
  62. package/src/css/extends.scss +154 -154
  63. package/src/css/quasar.variables.scss +189 -189
  64. package/src/directives/Directive.js +7 -7
  65. package/src/index.scss +3 -3
  66. package/src/vue-plugin.js +91 -91
  67. package/tsconfig.json +35 -35
@@ -1,141 +1,141 @@
1
- <template>
2
- <q-markup-table
3
- flat
4
- bordered
5
- :separator="separator"
6
- class="s-markup-table"
7
- :class="{
8
- 'header-left': header === 'left',
9
- 'header-top': header === 'top',
10
- 'tr-no-hover': noHover,
11
- }"
12
- >
13
- <template #loading>
14
- <q-inner-loading showing color="positive" size="72px" />
15
- </template>
16
- <slot>
17
- <!-- table head가 왼쪽일 시,
18
- thead를 사용하지 않고
19
- tbody > tr > th 로 column을 설정해주세요. -->
20
- </slot>
21
- </q-markup-table>
22
- </template>
23
-
24
- <script>
25
- import { defineComponent } from 'vue';
26
- import { QMarkupTable, QInnerLoading } from 'quasar';
27
-
28
- export default defineComponent({
29
- name: 'SMarkupTable',
30
- components: {
31
- QMarkupTable, QInnerLoading,
32
- },
33
- props: {
34
- separator: {
35
- type: String,
36
- default: 'Horizontal',
37
- },
38
- header: {
39
- type: String,
40
- default: 'top',
41
- },
42
- noHover: {
43
- type: Boolean,
44
- default: false,
45
- },
46
- },
47
- setup() {
48
- return {};
49
- },
50
- });
51
- </script>
52
-
53
- <style lang="scss">
54
- @import "../css/quasar.variables.scss";
55
-
56
- .s-markup-table {
57
- border-radius: 8px !important;
58
- border: 1px solid $Grey_Lighten-3;
59
- .q-table {
60
- thead {
61
- min-height: 0;
62
- tr {
63
- height: $table-tr-height;
64
- th {
65
- padding: $table-th-padding ;
66
- font-size: $default-font;
67
- font-weight: $font-weight-md;
68
- word-break: keep-all;
69
- white-space: nowrap;
70
- }
71
- }
72
- }
73
- tbody {
74
- tr {
75
- min-height: 0px;
76
- height: $table-tr-height;
77
- th {
78
- font-size: $default-font;
79
- }
80
- td {
81
- height: $table-tr-height;
82
- padding: $table-td-padding;
83
- font-size: $default-font;
84
-
85
- &:before{
86
- background:none;
87
- }
88
- }
89
- &:hover {
90
- background-color: $Grey_Lighten-6;
91
- }
92
- }
93
- }
94
- }
95
- }
96
- .s-markup-table.header-top {
97
- .q-table {
98
- thead {
99
- background: $th-bg;
100
- }
101
- }
102
- }
103
- .s-markup-table.header-left {
104
- .q-table {
105
- tbody {
106
- tr {
107
- th {
108
- background: $th-bg;
109
- font-weight: $font-weight-lg;
110
- border-bottom: 1px solid $Grey_Lighten-3;
111
- padding: 0 16px;
112
- &:not(:first-of-type) {
113
- border-left: 1px solid $Grey_Lighten-3;
114
- }
115
- }
116
- th:not(:first-of-type) {
117
- border-left: 1px solid $Grey_Lighten-3;
118
- }
119
- &:last-of-type {
120
- th {
121
- border-bottom: none;
122
- }
123
- }
124
- td {
125
- padding: 0 12px;
126
- }
127
- }
128
- }
129
- }
130
- }
131
- .s-markup-table.tr-no-hover {
132
- tbody {
133
- tr:hover {
134
- background-color: transparent;
135
- td:before {
136
- background-color: transparent;
137
- }
138
- }
139
- }
140
- }
141
- </style>
1
+ <template>
2
+ <q-markup-table
3
+ flat
4
+ bordered
5
+ :separator="separator"
6
+ class="s-markup-table"
7
+ :class="{
8
+ 'header-left': header === 'left',
9
+ 'header-top': header === 'top',
10
+ 'tr-no-hover': noHover,
11
+ }"
12
+ >
13
+ <template #loading>
14
+ <q-inner-loading showing color="positive" size="72px" />
15
+ </template>
16
+ <slot>
17
+ <!-- table head가 왼쪽일 시,
18
+ thead를 사용하지 않고
19
+ tbody > tr > th 로 column을 설정해주세요. -->
20
+ </slot>
21
+ </q-markup-table>
22
+ </template>
23
+
24
+ <script>
25
+ import { defineComponent } from 'vue';
26
+ import { QMarkupTable, QInnerLoading } from 'quasar';
27
+
28
+ export default defineComponent({
29
+ name: 'SMarkupTable',
30
+ components: {
31
+ QMarkupTable, QInnerLoading,
32
+ },
33
+ props: {
34
+ separator: {
35
+ type: String,
36
+ default: 'Horizontal',
37
+ },
38
+ header: {
39
+ type: String,
40
+ default: 'top',
41
+ },
42
+ noHover: {
43
+ type: Boolean,
44
+ default: false,
45
+ },
46
+ },
47
+ setup() {
48
+ return {};
49
+ },
50
+ });
51
+ </script>
52
+
53
+ <style lang="scss">
54
+ @import "../css/quasar.variables.scss";
55
+
56
+ .s-markup-table {
57
+ border-radius: 8px !important;
58
+ border: 1px solid $Grey_Lighten-3;
59
+ .q-table {
60
+ thead {
61
+ min-height: 0;
62
+ tr {
63
+ height: $table-tr-height;
64
+ th {
65
+ padding: $table-th-padding ;
66
+ font-size: $default-font;
67
+ font-weight: $font-weight-md;
68
+ word-break: keep-all;
69
+ white-space: nowrap;
70
+ }
71
+ }
72
+ }
73
+ tbody {
74
+ tr {
75
+ min-height: 0px;
76
+ height: $table-tr-height;
77
+ th {
78
+ font-size: $default-font;
79
+ }
80
+ td {
81
+ height: $table-tr-height;
82
+ padding: $table-td-padding;
83
+ font-size: $default-font;
84
+
85
+ &:before{
86
+ background:none;
87
+ }
88
+ }
89
+ &:hover {
90
+ background-color: $Grey_Lighten-6;
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ .s-markup-table.header-top {
97
+ .q-table {
98
+ thead {
99
+ background: $th-bg;
100
+ }
101
+ }
102
+ }
103
+ .s-markup-table.header-left {
104
+ .q-table {
105
+ tbody {
106
+ tr {
107
+ th {
108
+ background: $th-bg;
109
+ font-weight: $font-weight-lg;
110
+ border-bottom: 1px solid $Grey_Lighten-3;
111
+ padding: 0 16px;
112
+ &:not(:first-of-type) {
113
+ border-left: 1px solid $Grey_Lighten-3;
114
+ }
115
+ }
116
+ th:not(:first-of-type) {
117
+ border-left: 1px solid $Grey_Lighten-3;
118
+ }
119
+ &:last-of-type {
120
+ th {
121
+ border-bottom: none;
122
+ }
123
+ }
124
+ td {
125
+ padding: 0 12px;
126
+ }
127
+ }
128
+ }
129
+ }
130
+ }
131
+ .s-markup-table.tr-no-hover {
132
+ tbody {
133
+ tr:hover {
134
+ background-color: transparent;
135
+ td:before {
136
+ background-color: transparent;
137
+ }
138
+ }
139
+ }
140
+ }
141
+ </style>