quasar-ui-sellmate-ui-kit 3.11.1 → 3.11.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.
Files changed (84) hide show
  1. package/.eslintrc.cjs +104 -104
  2. package/.prettierrc +25 -25
  3. package/README.md +156 -156
  4. package/dist/index.common.js +2 -2
  5. package/dist/index.css +1 -1
  6. package/dist/index.esm.js +2 -2
  7. package/dist/index.min.css +1 -1
  8. package/dist/index.rtl.css +1 -1
  9. package/dist/index.rtl.min.css +1 -1
  10. package/dist/index.umd.js +4417 -4405
  11. package/dist/index.umd.min.js +2 -2
  12. package/html/assets/index-iPSQW1bz.css +1 -1
  13. package/html/assets/index-pzCGhZhc.js +35 -35
  14. package/html/favicon.svg +5 -5
  15. package/html/index.html +26 -26
  16. package/package.json +95 -95
  17. package/src/assets/icons.js +63 -63
  18. package/src/components/SBadge.vue +75 -75
  19. package/src/components/SButton.vue +206 -206
  20. package/src/components/SButtonGroup.vue +41 -41
  21. package/src/components/SButtonToggle.vue +200 -200
  22. package/src/components/SCaution.vue +143 -143
  23. package/src/components/SCheckbox.vue +123 -123
  24. package/src/components/SChip.vue +99 -99
  25. package/src/components/SDate.vue +664 -664
  26. package/src/components/SDateAutoRangePicker.vue +311 -311
  27. package/src/components/SDatePicker.vue +465 -465
  28. package/src/components/SDateRange.vue +382 -382
  29. package/src/components/SDateRangePicker.vue +582 -582
  30. package/src/components/SDateTimePicker.vue +259 -259
  31. package/src/components/SDialog.vue +250 -250
  32. package/src/components/SDropdown.vue +273 -273
  33. package/src/components/SEditor.vue +590 -590
  34. package/src/components/SFilePicker.vue +207 -207
  35. package/src/components/SHelp.vue +126 -126
  36. package/src/components/SHelpMessage.vue +57 -57
  37. package/src/components/SInput.vue +379 -379
  38. package/src/components/SInputCounter.vue +46 -46
  39. package/src/components/SInputNumber.vue +194 -194
  40. package/src/components/SList.vue +29 -29
  41. package/src/components/SMarkupTable.vue +142 -142
  42. package/src/components/SPagination.vue +345 -345
  43. package/src/components/SRadio.vue +78 -78
  44. package/src/components/SRouteTab.vue +67 -67
  45. package/src/components/SSelect.vue +299 -299
  46. package/src/components/SSelectCheckbox.vue +238 -238
  47. package/src/components/SSelectCustom.vue +189 -189
  48. package/src/components/SSelectGroupCheckbox.vue +372 -372
  49. package/src/components/SSelectSearchAutoComplete.vue +172 -172
  50. package/src/components/SSelectSearchCheckbox.vue +360 -360
  51. package/src/components/SStringToInput.vue +66 -66
  52. package/src/components/STab.vue +147 -147
  53. package/src/components/STable.vue +21 -9
  54. package/src/components/STableTree.vue +502 -502
  55. package/src/components/STabs.vue +32 -32
  56. package/src/components/STag.vue +152 -152
  57. package/src/components/STimePicker.vue +186 -186
  58. package/src/components/SToggle.vue +68 -68
  59. package/src/components/STooltip.vue +209 -209
  60. package/src/components/SYearMonthPicker.vue +211 -211
  61. package/src/components/SelelctItem.vue +21 -21
  62. package/src/components/TableTreeNode.vue +177 -177
  63. package/src/components/TimePickerCard.vue +393 -393
  64. package/src/components/__tests__/SButton.test.js +18 -18
  65. package/src/components/__tests__/SInput.test.js +42 -42
  66. package/src/components/__tests__/SInputCounter.test.js +30 -30
  67. package/src/components/__tests__/SInputNumber.test.js +32 -32
  68. package/src/components/__tests__/STimePicker.spec.js +78 -78
  69. package/src/composables/date.js +11 -11
  70. package/src/composables/modelBinder.js +13 -13
  71. package/src/composables/resizable.js +55 -55
  72. package/src/composables/table/use-navigator.js +110 -110
  73. package/src/composables/table/use-resizable-tree.js +96 -96
  74. package/src/composables/table/use-resizable.js +187 -187
  75. package/src/constants/locale.js +102 -102
  76. package/src/css/app.scss +106 -106
  77. package/src/css/default.scss +393 -393
  78. package/src/css/extends.scss +177 -177
  79. package/src/css/quasar.variables.scss +187 -187
  80. package/src/directives/Directive.js +7 -7
  81. package/src/index.scss +3 -3
  82. package/src/vue-plugin.js +93 -93
  83. package/tsconfig.json +35 -35
  84. package/vitest.config.ts +31 -31
@@ -1,142 +1,142 @@
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" scoped>
54
- @import "../css/quasar.variables.scss";
55
-
56
- .s-markup-table {
57
- border-radius: 8px !important;
58
- border: 1px solid $Grey_Lighten-3;
59
- :deep(>.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
- &:before{
85
- background:none;
86
- }
87
- }
88
- &:hover {
89
- background-color: $Grey_Lighten-6;
90
- }
91
- }
92
- }
93
- }
94
- }
95
- .s-markup-table.header-top {
96
- :deep(>.q-table) {
97
- thead {
98
- background: $th-bg;
99
- }
100
- }
101
- }
102
- .s-markup-table.header-left {
103
- :deep(>.q-table) {
104
- > tbody {
105
- > tr {
106
- > th {
107
- background: $th-bg;
108
- font-weight: $font-weight-lg;
109
- border-bottom: 1px solid $Grey_Lighten-3;
110
- padding: 0 16px;
111
- &:not(:first-of-type) {
112
- border-left: 1px solid $Grey_Lighten-3;
113
- }
114
- }
115
- > th:not(:first-of-type) {
116
- border-left: 1px solid $Grey_Lighten-3;
117
- }
118
- &:last-of-type {
119
- > th {
120
- border-bottom: none;
121
- }
122
- }
123
- > td {
124
- padding: 0 12px;
125
- }
126
- }
127
- }
128
- }
129
- }
130
- .s-markup-table.tr-no-hover {
131
- :deep(>.q-table) {
132
- > tbody {
133
- > tr:hover {
134
- background-color: transparent;
135
- > td:before {
136
- background-color: transparent;
137
- }
138
- }
139
- }
140
- }
141
- }
142
- </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" scoped>
54
+ @import "../css/quasar.variables.scss";
55
+
56
+ .s-markup-table {
57
+ border-radius: 8px !important;
58
+ border: 1px solid $Grey_Lighten-3;
59
+ :deep(>.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
+ &:before{
85
+ background:none;
86
+ }
87
+ }
88
+ &:hover {
89
+ background-color: $Grey_Lighten-6;
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ .s-markup-table.header-top {
96
+ :deep(>.q-table) {
97
+ thead {
98
+ background: $th-bg;
99
+ }
100
+ }
101
+ }
102
+ .s-markup-table.header-left {
103
+ :deep(>.q-table) {
104
+ > tbody {
105
+ > tr {
106
+ > th {
107
+ background: $th-bg;
108
+ font-weight: $font-weight-lg;
109
+ border-bottom: 1px solid $Grey_Lighten-3;
110
+ padding: 0 16px;
111
+ &:not(:first-of-type) {
112
+ border-left: 1px solid $Grey_Lighten-3;
113
+ }
114
+ }
115
+ > th:not(:first-of-type) {
116
+ border-left: 1px solid $Grey_Lighten-3;
117
+ }
118
+ &:last-of-type {
119
+ > th {
120
+ border-bottom: none;
121
+ }
122
+ }
123
+ > td {
124
+ padding: 0 12px;
125
+ }
126
+ }
127
+ }
128
+ }
129
+ }
130
+ .s-markup-table.tr-no-hover {
131
+ :deep(>.q-table) {
132
+ > tbody {
133
+ > tr:hover {
134
+ background-color: transparent;
135
+ > td:before {
136
+ background-color: transparent;
137
+ }
138
+ }
139
+ }
140
+ }
141
+ }
142
+ </style>