@lambo-design/shared 1.0.0-beta.243 → 1.0.0-beta.244

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 (176) hide show
  1. package/config/config.js +51 -51
  2. package/config/env.js +4 -4
  3. package/config/index.js +7 -7
  4. package/config/themes/atrovirens/atrovirens.less +667 -667
  5. package/config/themes/atrovirens/var.less +674 -674
  6. package/config/themes/blue/blue.less +669 -669
  7. package/config/themes/blue/var.less +677 -677
  8. package/config/themes/blue-white/blue-white.less +669 -669
  9. package/config/themes/blue-white/var.less +676 -676
  10. package/config/themes/blue-white-tight/blue-white-tight.less +672 -672
  11. package/config/themes/blue-white-tight/var.less +677 -677
  12. package/config/themes/danqing/danqing.less +668 -668
  13. package/config/themes/danqing/danqing.wxss +572 -572
  14. package/config/themes/danqing/var.less +679 -679
  15. package/config/themes/deep/deep.less +669 -669
  16. package/config/themes/deep/var.less +677 -677
  17. package/config/themes/default/default.less +671 -671
  18. package/config/themes/default/var.less +677 -677
  19. package/config/themes/eap/eap.less +671 -671
  20. package/config/themes/eap/var.less +677 -677
  21. package/config/themes/gold/gold.less +671 -671
  22. package/config/themes/gold/var.less +677 -677
  23. package/config/themes/index.js +28 -28
  24. package/config/themes/lime/lime.less +671 -671
  25. package/config/themes/lime/var.less +678 -678
  26. package/config/themes/orange/orange.less +671 -671
  27. package/config/themes/orange/var.less +678 -678
  28. package/config/themes/red/red.less +671 -671
  29. package/config/themes/red/var.less +677 -677
  30. package/config/themes/theme-atrovirens.js +558 -558
  31. package/config/themes/theme-blue.js +558 -558
  32. package/config/themes/theme-bw.js +558 -558
  33. package/config/themes/theme-bwt.js +559 -559
  34. package/config/themes/theme-danqing.js +558 -558
  35. package/config/themes/theme-deep.js +558 -558
  36. package/config/themes/theme-default.js +558 -558
  37. package/config/themes/theme-eap.js +558 -558
  38. package/config/themes/theme-gold.js +558 -558
  39. package/config/themes/theme-lime.js +558 -558
  40. package/config/themes/theme-orange.js +559 -559
  41. package/config/themes/theme-red.js +558 -558
  42. package/config/themes/theme-white.js +557 -557
  43. package/config/themes/white/var.less +675 -675
  44. package/config/themes/white/white.less +668 -668
  45. package/directives/index.js +23 -23
  46. package/directives/module/draggable.js +56 -56
  47. package/directives/module/permission.js +49 -49
  48. package/directives/module/print.js +1 -1
  49. package/directives/module/vue-print-nb/README.md +63 -63
  50. package/directives/module/vue-print-nb/print.js +94 -94
  51. package/directives/module/vue-print-nb/printarea.js +532 -532
  52. package/index.js +10 -10
  53. package/nstyles/common.less +197 -197
  54. package/nstyles/components/404.less +46 -46
  55. package/nstyles/components/button.less +34 -34
  56. package/nstyles/components/date-picker.less +37 -37
  57. package/nstyles/components/drawer.less +20 -20
  58. package/nstyles/components/dropdown.less +18 -18
  59. package/nstyles/components/excel-flow.less +72 -72
  60. package/nstyles/components/form.less +313 -313
  61. package/nstyles/components/index.less +23 -23
  62. package/nstyles/components/layout/collect.less +10 -10
  63. package/nstyles/components/layout/detail-view.less +107 -107
  64. package/nstyles/components/layout/full-screen.less +7 -7
  65. package/nstyles/components/layout/index.less +7 -7
  66. package/nstyles/components/layout/other-menu.less +142 -142
  67. package/nstyles/components/layout/page-view.less +101 -101
  68. package/nstyles/components/layout/sider-trigger.less +41 -41
  69. package/nstyles/components/layout/tags-nav.less +113 -113
  70. package/nstyles/components/modal.less +85 -85
  71. package/nstyles/components/n-button.less +131 -131
  72. package/nstyles/components/n-image-preview.less +131 -131
  73. package/nstyles/components/n-model/index.less +19 -19
  74. package/nstyles/components/n-model/report-index.less +43 -43
  75. package/nstyles/components/n-panel.less +40 -40
  76. package/nstyles/components/n-picker.less +37 -37
  77. package/nstyles/components/n-sign.less +17 -17
  78. package/nstyles/components/n-tooltip.less +10 -10
  79. package/nstyles/components/panel.less +31 -31
  80. package/nstyles/components/select.less +3 -3
  81. package/nstyles/components/sign.less +27 -27
  82. package/nstyles/components/table.less +315 -315
  83. package/nstyles/components/tree.less +158 -158
  84. package/nstyles/components/upload.less +164 -164
  85. package/nstyles/index.less +5 -5
  86. package/nstyles/reset.less +65 -65
  87. package/nstyles/third/ag.less +174 -174
  88. package/nstyles/third/index.less +11 -11
  89. package/nstyles/third/view-design.less +366 -366
  90. package/nstyles/variables/base.less +143 -143
  91. package/nstyles/variables/index.less +4 -4
  92. package/nstyles/variables/theme/default/button.less +7 -7
  93. package/nstyles/variables/theme/default/common.less +57 -57
  94. package/nstyles/variables/theme/default/index.less +7 -7
  95. package/nstyles/variables/theme/default/layout.less +40 -40
  96. package/nstyles/variables/theme/default/table.less +37 -37
  97. package/nstyles/variables/theme/default/tag.less +3 -3
  98. package/nstyles/variables/theme/default/upload.less +3 -3
  99. package/nstyles/variables/theme/index.less +13 -13
  100. package/nstyles/variables/theme/lsv/button.less +7 -0
  101. package/nstyles/variables/theme/lsv/common.less +39 -0
  102. package/nstyles/variables/theme/lsv/index.less +5 -0
  103. package/nstyles/variables/theme/lsv/layout.less +21 -0
  104. package/nstyles/variables/theme/lsv/table.less +20 -0
  105. package/nstyles/variables/theme/lsv/tag.less +3 -0
  106. package/nstyles/variables/theme/small/button.less +7 -7
  107. package/nstyles/variables/theme/small/common.less +39 -39
  108. package/nstyles/variables/theme/small/index.less +5 -5
  109. package/nstyles/variables/theme/small/layout.less +21 -21
  110. package/nstyles/variables/theme/small/table.less +17 -17
  111. package/nstyles/variables/theme/small/tag.less +3 -3
  112. package/package.json +1 -1
  113. package/plugin/index.js +12 -12
  114. package/plugin/module/date-format.js +30 -30
  115. package/plugin/module/loading.js +26 -26
  116. package/plugin/module/warn-handler.js +11 -11
  117. package/styles/variables.less +21 -21
  118. package/utils/ajax/cacheconf.js +19 -19
  119. package/utils/ajax/content-type.js +30 -30
  120. package/utils/ajax/index.js +12 -12
  121. package/utils/ajax/interceptors.js +97 -97
  122. package/utils/assist.js +147 -147
  123. package/utils/base64.js +126 -126
  124. package/utils/blob.js +47 -47
  125. package/utils/bus.js +3 -3
  126. package/utils/crypto/index.js +48 -48
  127. package/utils/crypto/md5.js +152 -152
  128. package/utils/crypto/sm3.js +235 -235
  129. package/utils/date.js +381 -381
  130. package/utils/dict/built-in-dict.js +20 -20
  131. package/utils/dict/index.js +167 -167
  132. package/utils/dom.js +38 -38
  133. package/utils/event.js +72 -72
  134. package/utils/excel.js +655 -655
  135. package/utils/file.js +19 -19
  136. package/utils/form/validate.js +29 -29
  137. package/utils/half-year.js +68 -68
  138. package/utils/index.js +41 -41
  139. package/utils/json.js +29 -29
  140. package/utils/lodop.js +165 -165
  141. package/utils/menu/before-close.js +17 -17
  142. package/utils/menu/index.js +395 -395
  143. package/utils/mime_type.js +67 -67
  144. package/utils/modelerUtil.js +227 -227
  145. package/utils/n/api.js +22 -22
  146. package/utils/n/date.js +57 -57
  147. package/utils/n/index.js +9 -9
  148. package/utils/n/is-type.js +176 -176
  149. package/utils/n/number.js +144 -144
  150. package/utils/n/permission-cache.js +11 -11
  151. package/utils/n/reuqest/axiosN.js +17 -17
  152. package/utils/n/reuqest/content-type.js +19 -19
  153. package/utils/n/reuqest/interceptors.js +95 -95
  154. package/utils/n/reuqest/url-params.js +12 -12
  155. package/utils/n/storage.js +51 -51
  156. package/utils/n/token.js +51 -51
  157. package/utils/n/user-cache.js +11 -11
  158. package/utils/n/user.js +34 -34
  159. package/utils/n/uuid.js +16 -16
  160. package/utils/n-generator-routers.js +208 -208
  161. package/utils/n-router.js +205 -205
  162. package/utils/n-theme.js +30 -30
  163. package/utils/number.js +180 -180
  164. package/utils/oss.js +57 -57
  165. package/utils/platform.js +1343 -1334
  166. package/utils/quarter.js +58 -58
  167. package/utils/storage.js +198 -198
  168. package/utils/style.js +24 -24
  169. package/utils/theme.js +138 -138
  170. package/utils/transfer-queue.js +7 -7
  171. package/utils/transform.js +204 -204
  172. package/utils/type.js +102 -102
  173. package/utils/util.js +795 -795
  174. package/utils/validator.js +181 -181
  175. package/utils/vxetable/index.js +25 -25
  176. package/utils/zoomScroll.js +9 -9
package/index.js CHANGED
@@ -1,10 +1,10 @@
1
- export * from "./config";
2
- export * from "./utils";
3
- export * from "./directives"
4
- export * from "./plugin"
5
-
6
- import * as config from "./config";
7
- import * as utils from "./utils";
8
- import importDirective from "./directives"
9
- import * as Plugin from "./plugin"
10
- export { config, utils, importDirective, Plugin};
1
+ export * from "./config";
2
+ export * from "./utils";
3
+ export * from "./directives"
4
+ export * from "./plugin"
5
+
6
+ import * as config from "./config";
7
+ import * as utils from "./utils";
8
+ import importDirective from "./directives"
9
+ import * as Plugin from "./plugin"
10
+ export { config, utils, importDirective, Plugin};
@@ -1,197 +1,197 @@
1
- /*
2
- * 一些常用样式类
3
- *
4
- * @Author: huxuetong
5
- * @Date: 2024-03-12 20:12:54
6
- * @Last Modified by: huxuetong
7
- * @Last Modified time: 2024-04-05 11:18:52
8
- */
9
-
10
- // 布局
11
- .ind-panel {
12
- padding: var(--ind-padding-xs) var(--ind-padding-sm);
13
- padding-top: var(--ind-sc-padding-top);
14
- background-color: var(--ind-bg-color-light);
15
- border-radius: var(--ind-border-radius-sm);
16
- }
17
-
18
- .ind-flex {
19
- display: flex;
20
- &.center {
21
- align-items: center;
22
- }
23
- &.baseline {
24
- align-items: baseline;
25
- }
26
- &.end {
27
- align-items: flex-end;
28
- }
29
- }
30
-
31
- .ind-flex-column {
32
- display: flex;
33
- flex-direction: column;
34
- }
35
-
36
- .height100 {
37
- height: 100%;
38
- }
39
-
40
- .ind-flex-no-shrink {
41
- flex-shrink: 0;
42
- }
43
-
44
- .ind-flex-grow {
45
- flex-grow: 1 !important;
46
- }
47
-
48
- .ind-mt {
49
- margin-top: var(--ind-padding-xs);
50
- }
51
-
52
- .ind-mr {
53
- margin-right: var(--ind-padding-xs);
54
- }
55
-
56
- .ind-mb {
57
- margin-bottom: var(--ind-padding-xs);
58
- }
59
-
60
- .ind-ml {
61
- margin-left: var(--ind-padding-xs);
62
- }
63
-
64
- .no-border-left-top {
65
- border-top: none !important;
66
- border-left: none !important;
67
- }
68
-
69
- // 颜色
70
- .ind-primary {
71
- color: var(--ind-primary-color) !important;
72
- }
73
-
74
- .ind-red,
75
- .ind-down,
76
- .ind-up.reverse {
77
- color: var(--ind-red) !important;
78
- }
79
-
80
- .ind-green,
81
- .ind-up,
82
- .ind-down.reverse {
83
- color: var(--ind-green) !important;
84
- }
85
-
86
- .ind-orange {
87
- color: var(--ind-orange) !important;
88
- }
89
-
90
- .ind-yellow {
91
- color: #fff600 !important;
92
- }
93
-
94
- .ind-blue {
95
- color: var(--ind-blue) !important;
96
- }
97
-
98
- .ind-bg-primary {
99
- background-color: var(--ind-primary-color) !important;
100
- }
101
-
102
- .ind-bg-red,
103
- .ind-bg-down,
104
- .ind-bg-up.reverse {
105
- background-color: var(--ind-red) !important;
106
- }
107
-
108
- .ind-bg-green,
109
- .ind-bg-up,
110
- .ind-bg-down.reverse {
111
- background-color: var(--ind-green) !important;
112
- }
113
-
114
- .ind-bg-orange {
115
- background-color: var(--ind-orange) !important;
116
- }
117
-
118
- .ind-bg-yellow {
119
- background-color: #fff600 !important;
120
- }
121
-
122
- .ind-bg-blue {
123
- background-color: var(--ind-blue) !important;
124
- }
125
-
126
- .ind-sm {
127
- font-size: var(--ind-font-size-sm);
128
- }
129
-
130
- .ind-lg {
131
- font-size: var(--ind-font-size-lg);
132
- }
133
-
134
- .ind-xl {
135
- font-size: var(--ind-font-size-xl);
136
- }
137
-
138
- .ind-xxl {
139
- font-size: var(--ind-font-size-xxl);
140
- }
141
-
142
- .ind-font-bold {
143
- font-weight: var(--ind-font-weight-bold);
144
- }
145
-
146
- .ind-font-bolder {
147
- font-weight: var(--ind-font-weight-bolder);
148
- }
149
-
150
- // 特殊场景
151
- .no-content {
152
- text-align: center;
153
- display: flex;
154
- flex-direction: column;
155
- justify-content: center;
156
- height: 100%;
157
- .noImgUrl {
158
- margin-left: calc(50% - 175px);
159
- width: fit-content;
160
- }
161
- }
162
-
163
- .tooltip-ellipsis {
164
- width: 100%;
165
-
166
- .ellipsis-div {
167
- text-overflow: ellipsis;
168
- white-space: nowrap;
169
- overflow: hidden;
170
- }
171
- }
172
-
173
- .ind-card-title-tag {
174
- display: inline-block;
175
- padding: 0 var(--ind-padding-xs);
176
- color: var(--ind-white);
177
- border-radius: var(--ind-border-radius-sm);
178
- transform: skew(-20deg);
179
-
180
- &.blue {
181
- background: var(--ind-gradient-blue-linear);
182
- }
183
- &.green {
184
- background: var(--ind-gradient-green-linear);
185
- }
186
- &.orange {
187
- background: var(--ind-gradient-orange-linear);
188
- }
189
- &.red {
190
- background: var(--ind-gradient-red-linear);
191
- }
192
-
193
- &__name {
194
- display: inline-block;
195
- transform: skew(20deg);
196
- }
197
- }
1
+ /*
2
+ * 一些常用样式类
3
+ *
4
+ * @Author: huxuetong
5
+ * @Date: 2024-03-12 20:12:54
6
+ * @Last Modified by: huxuetong
7
+ * @Last Modified time: 2024-04-05 11:18:52
8
+ */
9
+
10
+ // 布局
11
+ .ind-panel {
12
+ padding: var(--ind-padding-xs) var(--ind-padding-sm);
13
+ padding-top: var(--ind-sc-padding-top);
14
+ background-color: var(--ind-bg-color-light);
15
+ border-radius: var(--ind-border-radius-sm);
16
+ }
17
+
18
+ .ind-flex {
19
+ display: flex;
20
+ &.center {
21
+ align-items: center;
22
+ }
23
+ &.baseline {
24
+ align-items: baseline;
25
+ }
26
+ &.end {
27
+ align-items: flex-end;
28
+ }
29
+ }
30
+
31
+ .ind-flex-column {
32
+ display: flex;
33
+ flex-direction: column;
34
+ }
35
+
36
+ .height100 {
37
+ height: 100%;
38
+ }
39
+
40
+ .ind-flex-no-shrink {
41
+ flex-shrink: 0;
42
+ }
43
+
44
+ .ind-flex-grow {
45
+ flex-grow: 1 !important;
46
+ }
47
+
48
+ .ind-mt {
49
+ margin-top: var(--ind-padding-xs);
50
+ }
51
+
52
+ .ind-mr {
53
+ margin-right: var(--ind-padding-xs);
54
+ }
55
+
56
+ .ind-mb {
57
+ margin-bottom: var(--ind-padding-xs);
58
+ }
59
+
60
+ .ind-ml {
61
+ margin-left: var(--ind-padding-xs);
62
+ }
63
+
64
+ .no-border-left-top {
65
+ border-top: none !important;
66
+ border-left: none !important;
67
+ }
68
+
69
+ // 颜色
70
+ .ind-primary {
71
+ color: var(--ind-primary-color) !important;
72
+ }
73
+
74
+ .ind-red,
75
+ .ind-down,
76
+ .ind-up.reverse {
77
+ color: var(--ind-red) !important;
78
+ }
79
+
80
+ .ind-green,
81
+ .ind-up,
82
+ .ind-down.reverse {
83
+ color: var(--ind-green) !important;
84
+ }
85
+
86
+ .ind-orange {
87
+ color: var(--ind-orange) !important;
88
+ }
89
+
90
+ .ind-yellow {
91
+ color: #fff600 !important;
92
+ }
93
+
94
+ .ind-blue {
95
+ color: var(--ind-blue) !important;
96
+ }
97
+
98
+ .ind-bg-primary {
99
+ background-color: var(--ind-primary-color) !important;
100
+ }
101
+
102
+ .ind-bg-red,
103
+ .ind-bg-down,
104
+ .ind-bg-up.reverse {
105
+ background-color: var(--ind-red) !important;
106
+ }
107
+
108
+ .ind-bg-green,
109
+ .ind-bg-up,
110
+ .ind-bg-down.reverse {
111
+ background-color: var(--ind-green) !important;
112
+ }
113
+
114
+ .ind-bg-orange {
115
+ background-color: var(--ind-orange) !important;
116
+ }
117
+
118
+ .ind-bg-yellow {
119
+ background-color: #fff600 !important;
120
+ }
121
+
122
+ .ind-bg-blue {
123
+ background-color: var(--ind-blue) !important;
124
+ }
125
+
126
+ .ind-sm {
127
+ font-size: var(--ind-font-size-sm);
128
+ }
129
+
130
+ .ind-lg {
131
+ font-size: var(--ind-font-size-lg);
132
+ }
133
+
134
+ .ind-xl {
135
+ font-size: var(--ind-font-size-xl);
136
+ }
137
+
138
+ .ind-xxl {
139
+ font-size: var(--ind-font-size-xxl);
140
+ }
141
+
142
+ .ind-font-bold {
143
+ font-weight: var(--ind-font-weight-bold);
144
+ }
145
+
146
+ .ind-font-bolder {
147
+ font-weight: var(--ind-font-weight-bolder);
148
+ }
149
+
150
+ // 特殊场景
151
+ .no-content {
152
+ text-align: center;
153
+ display: flex;
154
+ flex-direction: column;
155
+ justify-content: center;
156
+ height: 100%;
157
+ .noImgUrl {
158
+ margin-left: calc(50% - 175px);
159
+ width: fit-content;
160
+ }
161
+ }
162
+
163
+ .tooltip-ellipsis {
164
+ width: 100%;
165
+
166
+ .ellipsis-div {
167
+ text-overflow: ellipsis;
168
+ white-space: nowrap;
169
+ overflow: hidden;
170
+ }
171
+ }
172
+
173
+ .ind-card-title-tag {
174
+ display: inline-block;
175
+ padding: 0 var(--ind-padding-xs);
176
+ color: var(--ind-white);
177
+ border-radius: var(--ind-border-radius-sm);
178
+ transform: skew(-20deg);
179
+
180
+ &.blue {
181
+ background: var(--ind-gradient-blue-linear);
182
+ }
183
+ &.green {
184
+ background: var(--ind-gradient-green-linear);
185
+ }
186
+ &.orange {
187
+ background: var(--ind-gradient-orange-linear);
188
+ }
189
+ &.red {
190
+ background: var(--ind-gradient-red-linear);
191
+ }
192
+
193
+ &__name {
194
+ display: inline-block;
195
+ transform: skew(20deg);
196
+ }
197
+ }
@@ -1,46 +1,46 @@
1
- .ind-error-page {
2
- width: 100%;
3
- height: 100%;
4
- position: relative;
5
- background: #f8f8f9;
6
- .content-con {
7
- width: 700px;
8
- height: 600px;
9
- position: absolute;
10
- left: 50%;
11
- top: 50%;
12
- transform: translate(-50%, -60%);
13
- img {
14
- display: block;
15
- width: 100%;
16
- height: 100%;
17
- }
18
- .text-con {
19
- position: absolute;
20
- left: 0px;
21
- top: 0px;
22
- h4 {
23
- position: absolute;
24
- left: 0px;
25
- top: 0px;
26
- font-size: 80px;
27
- font-weight: 700;
28
- color: #348eed;
29
- }
30
- h5 {
31
- position: absolute;
32
- width: 700px;
33
- left: 0px;
34
- top: 100px;
35
- font-size: 20px;
36
- font-weight: 700;
37
- color: #67647d;
38
- }
39
- }
40
- .back-btn-group {
41
- position: absolute;
42
- right: 0px;
43
- bottom: 20px;
44
- }
45
- }
46
- }
1
+ .ind-error-page {
2
+ width: 100%;
3
+ height: 100%;
4
+ position: relative;
5
+ background: #f8f8f9;
6
+ .content-con {
7
+ width: 700px;
8
+ height: 600px;
9
+ position: absolute;
10
+ left: 50%;
11
+ top: 50%;
12
+ transform: translate(-50%, -60%);
13
+ img {
14
+ display: block;
15
+ width: 100%;
16
+ height: 100%;
17
+ }
18
+ .text-con {
19
+ position: absolute;
20
+ left: 0px;
21
+ top: 0px;
22
+ h4 {
23
+ position: absolute;
24
+ left: 0px;
25
+ top: 0px;
26
+ font-size: 80px;
27
+ font-weight: 700;
28
+ color: #348eed;
29
+ }
30
+ h5 {
31
+ position: absolute;
32
+ width: 700px;
33
+ left: 0px;
34
+ top: 100px;
35
+ font-size: 20px;
36
+ font-weight: 700;
37
+ color: #67647d;
38
+ }
39
+ }
40
+ .back-btn-group {
41
+ position: absolute;
42
+ right: 0px;
43
+ bottom: 20px;
44
+ }
45
+ }
46
+ }
@@ -1,34 +1,34 @@
1
- .ind-button-group {
2
- display: flex;
3
- align-items: center;
4
- flex-wrap: wrap;
5
-
6
- & > *:not(:last-child) {
7
- margin-right: var(--ind-padding-base);
8
- }
9
-
10
- &--mt > * {
11
- margin-top: var(--ind-padding-base);
12
- }
13
-
14
- &--mb > * {
15
- margin-bottom: var(--ind-padding-base);
16
- }
17
-
18
- &--center {
19
- justify-content: center;
20
- }
21
-
22
- &--right {
23
- justify-content: flex-end;
24
- }
25
-
26
- &--vertical {
27
- flex-direction: column;
28
-
29
- & > *:not(:last-child) {
30
- margin-right: 0;
31
- margin-bottom: var(--ind-padding-base);
32
- }
33
- }
34
- }
1
+ .ind-button-group {
2
+ display: flex;
3
+ align-items: center;
4
+ flex-wrap: wrap;
5
+
6
+ & > *:not(:last-child) {
7
+ margin-right: var(--ind-padding-base);
8
+ }
9
+
10
+ &--mt > * {
11
+ margin-top: var(--ind-padding-base);
12
+ }
13
+
14
+ &--mb > * {
15
+ margin-bottom: var(--ind-padding-base);
16
+ }
17
+
18
+ &--center {
19
+ justify-content: center;
20
+ }
21
+
22
+ &--right {
23
+ justify-content: flex-end;
24
+ }
25
+
26
+ &--vertical {
27
+ flex-direction: column;
28
+
29
+ & > *:not(:last-child) {
30
+ margin-right: 0;
31
+ margin-bottom: var(--ind-padding-base);
32
+ }
33
+ }
34
+ }
@@ -1,37 +1,37 @@
1
- .ind-date-picker {
2
- .ivu-date-picker {
3
- width: -webkit-fill-available;
4
- }
5
-
6
- .ind-range-date-picker {
7
- display: flex;
8
- align-items: center;
9
-
10
- .range-sep {
11
- margin: 0 var(--ind-padding-base);
12
- }
13
- }
14
- }
15
-
16
- .ind-picker-drop {
17
- .ivu-date-picker-cells-month.quarter,
18
- .ivu-date-picker-cells-month.half-year {
19
- span {
20
- margin-left: 0;
21
- margin-right: 0;
22
- width: 50%;
23
- text-align: center;
24
-
25
- em {
26
- width: auto;
27
- padding: 0 10px;
28
- }
29
- }
30
- }
31
- .ivu-date-picker-cells-month.half-year {
32
- display: flex;
33
- span {
34
- flex: 50% 1 1;
35
- }
36
- }
37
- }
1
+ .ind-date-picker {
2
+ .ivu-date-picker {
3
+ width: -webkit-fill-available;
4
+ }
5
+
6
+ .ind-range-date-picker {
7
+ display: flex;
8
+ align-items: center;
9
+
10
+ .range-sep {
11
+ margin: 0 var(--ind-padding-base);
12
+ }
13
+ }
14
+ }
15
+
16
+ .ind-picker-drop {
17
+ .ivu-date-picker-cells-month.quarter,
18
+ .ivu-date-picker-cells-month.half-year {
19
+ span {
20
+ margin-left: 0;
21
+ margin-right: 0;
22
+ width: 50%;
23
+ text-align: center;
24
+
25
+ em {
26
+ width: auto;
27
+ padding: 0 10px;
28
+ }
29
+ }
30
+ }
31
+ .ivu-date-picker-cells-month.half-year {
32
+ display: flex;
33
+ span {
34
+ flex: 50% 1 1;
35
+ }
36
+ }
37
+ }
@@ -1,20 +1,20 @@
1
- .ind-drawer {
2
- .ivu-drawer-body {
3
- display: flex;
4
- flex-direction: column;
5
- padding: 0;
6
- background-color: var(--ind-bg-color-dark) !important;
7
- }
8
- .ind-drawer-content {
9
- flex-grow: 1;
10
- padding: var(--ind-drawer-content-padding);
11
- overflow: auto;
12
- }
13
- .ind-drawer-footer {
14
- flex-shrink: 0;
15
- padding: var(--ind-drawer-footer-padding);
16
- width: 100%;
17
- background: #fff;
18
- border-top: 1px solid var(--ind-border-color);
19
- }
20
- }
1
+ .ind-drawer {
2
+ .ivu-drawer-body {
3
+ display: flex;
4
+ flex-direction: column;
5
+ padding: 0;
6
+ background-color: var(--ind-bg-color-dark) !important;
7
+ }
8
+ .ind-drawer-content {
9
+ flex-grow: 1;
10
+ padding: var(--ind-drawer-content-padding);
11
+ overflow: auto;
12
+ }
13
+ .ind-drawer-footer {
14
+ flex-shrink: 0;
15
+ padding: var(--ind-drawer-footer-padding);
16
+ width: 100%;
17
+ background: #fff;
18
+ border-top: 1px solid var(--ind-border-color);
19
+ }
20
+ }