@aplus-frontend/ui 6.20.0 → 6.21.0

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 (77) hide show
  1. package/es/index.mjs +159 -155
  2. package/es/src/ap-field/hooks/use-default-presets.d.ts +1 -0
  3. package/es/src/ap-field/hooks/use-default-presets.mjs +18 -12
  4. package/es/src/ap-pro-card/components/card/index.vue.d.ts +25 -0
  5. package/es/src/ap-pro-card/components/card/index.vue.mjs +4 -0
  6. package/es/src/ap-pro-card/components/card/index.vue2.mjs +226 -0
  7. package/es/src/ap-pro-card/index.d.ts +42 -0
  8. package/es/src/ap-pro-card/index.mjs +7 -0
  9. package/es/src/ap-pro-card/interface.d.ts +61 -0
  10. package/es/src/ap-pro-card/style/css.d.ts +0 -0
  11. package/es/src/ap-pro-card/style/css.js +1 -0
  12. package/es/src/ap-pro-card/style/index.d.ts +0 -0
  13. package/es/src/ap-pro-card/style/index.js +1 -0
  14. package/es/src/ap-pro-card/utils/css-var.d.ts +17 -0
  15. package/es/src/ap-pro-card/utils/css-var.mjs +29 -0
  16. package/es/src/business/ap-value-select-card/index.d.ts +8 -0
  17. package/es/src/business/ap-value-select-card/index.mjs +9 -0
  18. package/es/src/business/ap-value-select-card/index.vue.d.ts +48 -0
  19. package/es/src/business/ap-value-select-card/index.vue.mjs +4 -0
  20. package/es/src/business/ap-value-select-card/index.vue2.mjs +186 -0
  21. package/es/src/business/ap-value-select-card/interface.d.ts +107 -0
  22. package/es/src/business/ap-value-select-card/interface.mjs +1 -0
  23. package/es/src/business/ap-value-select-card/style/css.d.ts +0 -0
  24. package/es/src/business/ap-value-select-card/style/css.js +1 -0
  25. package/es/src/business/ap-value-select-card/style/index.d.ts +0 -0
  26. package/es/src/business/ap-value-select-card/style/index.js +1 -0
  27. package/es/src/business/ap-value-select-card/utils.d.ts +7 -0
  28. package/es/src/business/ap-value-select-card/utils.mjs +9 -0
  29. package/es/src/business/index.d.ts +1 -0
  30. package/es/src/business/index.mjs +15 -13
  31. package/es/src/index.d.ts +1 -0
  32. package/es/src/index.mjs +275 -271
  33. package/es/src/path-map.mjs +3 -1
  34. package/es/src/version.d.ts +1 -1
  35. package/es/src/version.mjs +1 -1
  36. package/lib/index.js +1 -1
  37. package/lib/src/ap-field/hooks/use-default-presets.d.ts +1 -0
  38. package/lib/src/ap-field/hooks/use-default-presets.js +1 -1
  39. package/lib/src/ap-pro-card/components/card/index.vue.d.ts +25 -0
  40. package/lib/src/ap-pro-card/components/card/index.vue.js +1 -0
  41. package/lib/src/ap-pro-card/components/card/index.vue2.js +1 -0
  42. package/lib/src/ap-pro-card/index.d.ts +42 -0
  43. package/lib/src/ap-pro-card/index.js +1 -0
  44. package/lib/src/ap-pro-card/interface.d.ts +61 -0
  45. package/lib/src/ap-pro-card/style/css.cjs +1 -0
  46. package/lib/src/ap-pro-card/style/css.d.ts +0 -0
  47. package/lib/src/ap-pro-card/style/index.cjs +1 -0
  48. package/lib/src/ap-pro-card/style/index.d.ts +0 -0
  49. package/lib/src/ap-pro-card/utils/css-var.d.ts +17 -0
  50. package/lib/src/ap-pro-card/utils/css-var.js +1 -0
  51. package/lib/src/business/ap-value-select-card/index.d.ts +8 -0
  52. package/lib/src/business/ap-value-select-card/index.js +1 -0
  53. package/lib/src/business/ap-value-select-card/index.vue.d.ts +48 -0
  54. package/lib/src/business/ap-value-select-card/index.vue.js +1 -0
  55. package/lib/src/business/ap-value-select-card/index.vue2.js +1 -0
  56. package/lib/src/business/ap-value-select-card/interface.d.ts +107 -0
  57. package/lib/src/business/ap-value-select-card/interface.js +1 -0
  58. package/lib/src/business/ap-value-select-card/style/css.cjs +1 -0
  59. package/lib/src/business/ap-value-select-card/style/css.d.ts +0 -0
  60. package/lib/src/business/ap-value-select-card/style/index.cjs +1 -0
  61. package/lib/src/business/ap-value-select-card/style/index.d.ts +0 -0
  62. package/lib/src/business/ap-value-select-card/utils.d.ts +7 -0
  63. package/lib/src/business/ap-value-select-card/utils.js +1 -0
  64. package/lib/src/business/index.d.ts +1 -0
  65. package/lib/src/business/index.js +1 -1
  66. package/lib/src/index.d.ts +1 -0
  67. package/lib/src/index.js +1 -1
  68. package/lib/src/path-map.js +1 -1
  69. package/lib/src/version.d.ts +1 -1
  70. package/lib/src/version.js +1 -1
  71. package/package.json +3 -3
  72. package/theme/ap-pro-card/index.css +259 -0
  73. package/theme/ap-pro-card/index.less +129 -0
  74. package/theme/ap-value-select-card/index.css +163 -0
  75. package/theme/ap-value-select-card/index.less +157 -0
  76. package/theme/index.css +330 -0
  77. package/theme/index.less +2 -0
@@ -0,0 +1,157 @@
1
+ @import '../mixins/mixins.less';
2
+ @import '../mixins/config.less';
3
+
4
+ .b('ap-value-select-card', {
5
+ @root-cls: ~'@{ns}@{common-separator}ap-value-select-card';
6
+ position: relative;
7
+ margin-top: 8px;
8
+
9
+ .ant-popover {
10
+ width: 100%;
11
+ }
12
+
13
+ &-list {
14
+ display: grid;
15
+ grid-template-columns: repeat(var(--ap-value-select-card-column-count, 5), minmax(var(--ap-value-select-card-max-width, 150px), 1fr));
16
+ gap: 12px;
17
+
18
+ &-item {
19
+ position: relative;
20
+ box-sizing: border-box;
21
+ padding: 8px 16px;
22
+ color: var(--ap-text-color-1);
23
+ border: 1px solid var(--ap-color-bg);
24
+ border-radius: @border-radius;
25
+ cursor: pointer;
26
+ transition: all 0.2s ease-in-out;
27
+
28
+ &-close {
29
+ position: absolute;
30
+ top: 4px;
31
+ right: 12px;
32
+ z-index: 1;
33
+ padding: 4px;
34
+ color: var(--ap-text-color-3);
35
+ font-size: @font-size-lg;
36
+ cursor: pointer;
37
+
38
+ &:hover {
39
+ color: @error-color;
40
+ }
41
+ }
42
+
43
+
44
+
45
+ .label {
46
+ margin-bottom: 4px;
47
+ font-size: @font-size-base;
48
+ line-height: @line-height-base;
49
+ }
50
+
51
+ .value {
52
+ overflow: hidden;
53
+ font-weight: bold;
54
+ font-size: @fonts-size-xl;
55
+ line-height: 24px;
56
+ white-space: nowrap;
57
+ text-overflow: ellipsis;
58
+ }
59
+
60
+ &:hover:not(.select) {
61
+ border: 1px solid var(--ap-color-primary);
62
+ }
63
+
64
+ &.select {
65
+ color: var(--ap-text-color-2);
66
+ border-color: transparent;
67
+ box-shadow: 3px 10px 30px -2px rgba(123, 121, 140, 0.15);
68
+ background: linear-gradient(
69
+ 270deg,
70
+ rgba(255, 255, 255, 0) 0%,
71
+ var(--ap-value-select-card-bg-color, #f5f9ff) 92%
72
+ );
73
+ &:hover {
74
+ background: var(--ap-value-select-card-bg-color, #f5f9ff);
75
+ }
76
+ }
77
+
78
+ &.all {
79
+ color: var(--ap-text-color-1);
80
+ background: #ffffff;
81
+ border: 1px solid var(--ap-color-bg);
82
+ box-shadow: none;
83
+
84
+ &:hover:not(.disabled) {
85
+ border-color: var(--ap-color-primary);
86
+ }
87
+
88
+ &.disabled {
89
+ color: #8896b0;
90
+ background: #f9f9fa;
91
+ cursor: not-allowed;
92
+ }
93
+
94
+ &.select {
95
+ background: #f5f9ff;
96
+ border-color: var(--ap-color-primary);
97
+ cursor: pointer;
98
+ }
99
+ }
100
+
101
+ &.choose {
102
+ display: flex;
103
+ flex-direction: column;
104
+ align-items: center;
105
+ justify-content: center;
106
+ color: var(--ap-color-primary);
107
+ background: #ffffff;
108
+ border: 1px dashed #d1d7df;
109
+ box-shadow: none;
110
+
111
+ .text {
112
+ font-size: @font-size-base;
113
+ margin-left: 4px;
114
+ }
115
+
116
+ &:hover {
117
+ border-color: var(--ap-color-primary);
118
+ }
119
+ }
120
+ }
121
+ }
122
+
123
+ &-title {
124
+ display: flex;
125
+ align-items: center;
126
+ margin-bottom: 12px;
127
+ color: #526a90;
128
+ font-size: @font-size-lg;
129
+
130
+ &-icon {
131
+ margin-right: 4px;
132
+ color: #abb7cc;
133
+ font-size: @font-size-lg;
134
+ }
135
+ }
136
+
137
+ &--admin {
138
+ .@{root-cls} {
139
+ &-list {
140
+ &-item {
141
+ &.all {
142
+ &.select {
143
+ background: #F7FCFA;
144
+ }
145
+ &.disabled {
146
+ color: #999;
147
+ }
148
+ }
149
+ }
150
+ }
151
+ &-title {
152
+ color: #666;
153
+ }
154
+ }
155
+ }
156
+
157
+ });
package/theme/index.css CHANGED
@@ -4145,3 +4145,333 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
4145
4145
  min-height: 200px;
4146
4146
  padding: 20px;
4147
4147
  }
4148
+ .aplus-ap-value-select-card {
4149
+ position: relative;
4150
+ margin-top: 8px;
4151
+ }
4152
+ .aplus-ap-value-select-card .ant-popover {
4153
+ width: 100%;
4154
+ }
4155
+ .aplus-ap-value-select-card-list {
4156
+ display: grid;
4157
+ grid-template-columns: repeat(var(--ap-value-select-card-column-count, 5), minmax(var(--ap-value-select-card-max-width, 150px), 1fr));
4158
+ gap: 12px;
4159
+ }
4160
+ .aplus-ap-value-select-card-list-item {
4161
+ position: relative;
4162
+ box-sizing: border-box;
4163
+ padding: 8px 16px;
4164
+ color: var(--ap-text-color-1);
4165
+ border: 1px solid var(--ap-color-bg);
4166
+ border-radius: 4px;
4167
+ cursor: pointer;
4168
+ transition: all 0.2s ease-in-out;
4169
+ }
4170
+ .aplus-ap-value-select-card-list-item-close {
4171
+ position: absolute;
4172
+ top: 4px;
4173
+ right: 12px;
4174
+ z-index: 1;
4175
+ padding: 4px;
4176
+ color: var(--ap-text-color-3);
4177
+ font-size: 14px;
4178
+ cursor: pointer;
4179
+ }
4180
+ .aplus-ap-value-select-card-list-item-close:hover {
4181
+ color: #ed6f6f;
4182
+ }
4183
+ .aplus-ap-value-select-card-list-item .label {
4184
+ margin-bottom: 4px;
4185
+ font-size: 12px;
4186
+ line-height: 18px;
4187
+ }
4188
+ .aplus-ap-value-select-card-list-item .value {
4189
+ overflow: hidden;
4190
+ font-weight: bold;
4191
+ font-size: 16px;
4192
+ line-height: 24px;
4193
+ white-space: nowrap;
4194
+ text-overflow: ellipsis;
4195
+ }
4196
+ .aplus-ap-value-select-card-list-item:hover:not(.select) {
4197
+ border: 1px solid var(--ap-color-primary);
4198
+ }
4199
+ .aplus-ap-value-select-card-list-item.select {
4200
+ color: var(--ap-text-color-2);
4201
+ border-color: transparent;
4202
+ box-shadow: 3px 10px 30px -2px rgba(123, 121, 140, 0.15);
4203
+ background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, var(--ap-value-select-card-bg-color, #f5f9ff) 92%);
4204
+ }
4205
+ .aplus-ap-value-select-card-list-item.select:hover {
4206
+ background: var(--ap-value-select-card-bg-color, #f5f9ff);
4207
+ }
4208
+ .aplus-ap-value-select-card-list-item.all {
4209
+ color: var(--ap-text-color-1);
4210
+ background: #ffffff;
4211
+ border: 1px solid var(--ap-color-bg);
4212
+ box-shadow: none;
4213
+ }
4214
+ .aplus-ap-value-select-card-list-item.all:hover:not(.disabled) {
4215
+ border-color: var(--ap-color-primary);
4216
+ }
4217
+ .aplus-ap-value-select-card-list-item.all.disabled {
4218
+ color: #8896b0;
4219
+ background: #f9f9fa;
4220
+ cursor: not-allowed;
4221
+ }
4222
+ .aplus-ap-value-select-card-list-item.all.select {
4223
+ background: #f5f9ff;
4224
+ border-color: var(--ap-color-primary);
4225
+ cursor: pointer;
4226
+ }
4227
+ .aplus-ap-value-select-card-list-item.choose {
4228
+ display: flex;
4229
+ flex-direction: column;
4230
+ align-items: center;
4231
+ justify-content: center;
4232
+ color: var(--ap-color-primary);
4233
+ background: #ffffff;
4234
+ border: 1px dashed #d1d7df;
4235
+ box-shadow: none;
4236
+ }
4237
+ .aplus-ap-value-select-card-list-item.choose .text {
4238
+ font-size: 12px;
4239
+ margin-left: 4px;
4240
+ }
4241
+ .aplus-ap-value-select-card-list-item.choose:hover {
4242
+ border-color: var(--ap-color-primary);
4243
+ }
4244
+ .aplus-ap-value-select-card-title {
4245
+ display: flex;
4246
+ align-items: center;
4247
+ margin-bottom: 12px;
4248
+ color: #526a90;
4249
+ font-size: 14px;
4250
+ }
4251
+ .aplus-ap-value-select-card-title-icon {
4252
+ margin-right: 4px;
4253
+ color: #abb7cc;
4254
+ font-size: 14px;
4255
+ }
4256
+ .aplus-ap-value-select-card--admin .aplus-ap-value-select-card-list-item.all.select {
4257
+ background: #F7FCFA;
4258
+ }
4259
+ .aplus-ap-value-select-card--admin .aplus-ap-value-select-card-list-item.all.disabled {
4260
+ color: #999;
4261
+ }
4262
+ .aplus-ap-value-select-card--admin .aplus-ap-value-select-card-title {
4263
+ color: #666;
4264
+ }
4265
+ .aplus-pro-card {
4266
+ position: relative;
4267
+ display: flex;
4268
+ flex-direction: column;
4269
+ box-sizing: border-box;
4270
+ padding: 0;
4271
+ width: 100%;
4272
+ transition: all 0.3s;
4273
+ background: var(--ap-pro-card-colo-bg-container);
4274
+ border-radius: var(--ap-pro-card-border-radius);
4275
+ }
4276
+ .aplus-pro-card-border {
4277
+ border: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
4278
+ }
4279
+ .aplus-pro-card-box-shadow {
4280
+ border-color: transparent;
4281
+ box-shadow: var(--ap-pro-card-box-shadow);
4282
+ }
4283
+ .aplus-pro-card-hoverable {
4284
+ cursor: pointer;
4285
+ transition: box-shadow 0.3s, border-color 0.3s;
4286
+ }
4287
+ .aplus-pro-card-hoverable:hover {
4288
+ border-color: transparent;
4289
+ box-shadow: var(--ap-pro-card-box-shadow);
4290
+ }
4291
+ .aplus-pro-card-header {
4292
+ display: flex;
4293
+ align-items: center;
4294
+ padding: var(--ap-pro-card-header-padding);
4295
+ }
4296
+ .aplus-pro-card-header-title {
4297
+ display: flex;
4298
+ font-size: var(--ap-pro-card-header-title-font-size);
4299
+ color: var(--ap-pro-card-header-title-font-color);
4300
+ font-weight: 500;
4301
+ }
4302
+ .aplus-pro-card-header-title-tooltip {
4303
+ margin-left: 5px;
4304
+ font-size: 14px;
4305
+ color: var(--ap-pro-card-tooltip-color);
4306
+ }
4307
+ .aplus-pro-card-header-extra {
4308
+ margin-inline-start: auto;
4309
+ }
4310
+ .aplus-pro-card-header-border {
4311
+ padding-block-end: var(--ap-pro-card-header-padding-bottom);
4312
+ border-block-end: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
4313
+ }
4314
+ .aplus-pro-card-type-inner > .aplus-pro-card-header {
4315
+ background: var(--ap-pro-card-area-color);
4316
+ }
4317
+ .aplus-pro-card-body {
4318
+ display: block;
4319
+ box-sizing: border-box;
4320
+ height: 100%;
4321
+ padding: var(--ap-pro-card-body-padding);
4322
+ }
4323
+ .aplus-pro-card-body-center {
4324
+ display: flex;
4325
+ align-items: center;
4326
+ justify-content: center;
4327
+ }
4328
+ .aplus-pro-card-body-direction-column {
4329
+ flex-direction: column;
4330
+ }
4331
+ .aplus-pro-card-body-wrap {
4332
+ flex-wrap: wrap;
4333
+ }
4334
+ .aplus-pro-card-contain-card > .aplus-pro-card-body {
4335
+ display: flex;
4336
+ }
4337
+ .aplus-pro-card-split > .aplus-pro-card-body {
4338
+ padding: 0;
4339
+ }
4340
+ .aplus-pro-card-ghost {
4341
+ background: transparent;
4342
+ }
4343
+ .aplus-pro-card-ghost > .aplus-pro-card-body {
4344
+ background: transparent;
4345
+ padding: 0;
4346
+ }
4347
+ .aplus-pro-card-col {
4348
+ width: 100%;
4349
+ }
4350
+ .aplus-pro-card-col-split-vertical {
4351
+ position: relative;
4352
+ }
4353
+ .aplus-pro-card-col-split-vertical::after {
4354
+ position: absolute;
4355
+ height: var(--ap-pro-card-split-line-height);
4356
+ top: 50%;
4357
+ transform: translateY(-50%);
4358
+ right: 0;
4359
+ border-right: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
4360
+ content: '';
4361
+ }
4362
+ .aplus-pro-card-col-split-horizontal {
4363
+ position: relative;
4364
+ }
4365
+ .aplus-pro-card-col-split-horizontal::after {
4366
+ position: absolute;
4367
+ width: var(--ap-pro-card-split-line-height);
4368
+ left: 50%;
4369
+ transform: translateX(-50%);
4370
+ bottom: 0;
4371
+ border-bottom: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
4372
+ content: '';
4373
+ }
4374
+ .aplus-pro-card-col-span-0 {
4375
+ display: none;
4376
+ }
4377
+ .aplus-pro-card-col-span-1 {
4378
+ flex-shrink: 0;
4379
+ width: calc((1 / 24) * 100%);
4380
+ }
4381
+ .aplus-pro-card-col-span-2 {
4382
+ flex-shrink: 0;
4383
+ width: calc((2 / 24) * 100%);
4384
+ }
4385
+ .aplus-pro-card-col-span-3 {
4386
+ flex-shrink: 0;
4387
+ width: calc((3 / 24) * 100%);
4388
+ }
4389
+ .aplus-pro-card-col-span-4 {
4390
+ flex-shrink: 0;
4391
+ width: calc((4 / 24) * 100%);
4392
+ }
4393
+ .aplus-pro-card-col-span-5 {
4394
+ flex-shrink: 0;
4395
+ width: calc((5 / 24) * 100%);
4396
+ }
4397
+ .aplus-pro-card-col-span-6 {
4398
+ flex-shrink: 0;
4399
+ width: calc((6 / 24) * 100%);
4400
+ }
4401
+ .aplus-pro-card-col-span-7 {
4402
+ flex-shrink: 0;
4403
+ width: calc((7 / 24) * 100%);
4404
+ }
4405
+ .aplus-pro-card-col-span-8 {
4406
+ flex-shrink: 0;
4407
+ width: calc((8 / 24) * 100%);
4408
+ }
4409
+ .aplus-pro-card-col-span-9 {
4410
+ flex-shrink: 0;
4411
+ width: calc((9 / 24) * 100%);
4412
+ }
4413
+ .aplus-pro-card-col-span-10 {
4414
+ flex-shrink: 0;
4415
+ width: calc((10 / 24) * 100%);
4416
+ }
4417
+ .aplus-pro-card-col-span-11 {
4418
+ flex-shrink: 0;
4419
+ width: calc((11 / 24) * 100%);
4420
+ }
4421
+ .aplus-pro-card-col-span-12 {
4422
+ flex-shrink: 0;
4423
+ width: calc((12 / 24) * 100%);
4424
+ }
4425
+ .aplus-pro-card-col-span-13 {
4426
+ flex-shrink: 0;
4427
+ width: calc((13 / 24) * 100%);
4428
+ }
4429
+ .aplus-pro-card-col-span-14 {
4430
+ flex-shrink: 0;
4431
+ width: calc((14 / 24) * 100%);
4432
+ }
4433
+ .aplus-pro-card-col-span-15 {
4434
+ flex-shrink: 0;
4435
+ width: calc((15 / 24) * 100%);
4436
+ }
4437
+ .aplus-pro-card-col-span-16 {
4438
+ flex-shrink: 0;
4439
+ width: calc((16 / 24) * 100%);
4440
+ }
4441
+ .aplus-pro-card-col-span-17 {
4442
+ flex-shrink: 0;
4443
+ width: calc((17 / 24) * 100%);
4444
+ }
4445
+ .aplus-pro-card-col-span-18 {
4446
+ flex-shrink: 0;
4447
+ width: calc((18 / 24) * 100%);
4448
+ }
4449
+ .aplus-pro-card-col-span-19 {
4450
+ flex-shrink: 0;
4451
+ width: calc((19 / 24) * 100%);
4452
+ }
4453
+ .aplus-pro-card-col-span-20 {
4454
+ flex-shrink: 0;
4455
+ width: calc((20 / 24) * 100%);
4456
+ }
4457
+ .aplus-pro-card-col-span-21 {
4458
+ flex-shrink: 0;
4459
+ width: calc((21 / 24) * 100%);
4460
+ }
4461
+ .aplus-pro-card-col-span-22 {
4462
+ flex-shrink: 0;
4463
+ width: calc((22 / 24) * 100%);
4464
+ }
4465
+ .aplus-pro-card-col-span-23 {
4466
+ flex-shrink: 0;
4467
+ width: calc((23 / 24) * 100%);
4468
+ }
4469
+ .aplus-pro-card-col-span-24 {
4470
+ flex-shrink: 0;
4471
+ width: calc((24 / 24) * 100%);
4472
+ }
4473
+ .aplus-pro-card-actions {
4474
+ border-block-start: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
4475
+ background: var(--ap-pro-card-colo-bg-container);
4476
+ padding: var(--ap-pro-card-actions-padding);
4477
+ }
package/theme/index.less CHANGED
@@ -51,3 +51,5 @@
51
51
  @import './ap-radio-group/ap-radio-group.less';
52
52
  @import './ap-drawer/ap-drawer.less';
53
53
  @import './ap-draggable-grid/ap-draggable-grid.less';
54
+ @import './ap-value-select-card/index.less';
55
+ @import './ap-pro-card/index.less';