@lambo-design/shared 1.0.0-beta.200 → 1.0.0-beta.202

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 (58) hide show
  1. package/config/config.js +1 -0
  2. package/config/themes/atrovirens/atrovirens.css +563 -563
  3. package/config/themes/blue/blue.css +563 -563
  4. package/config/themes/blue-white/blue-white.css +563 -563
  5. package/config/themes/blue-white-tight/blue-white-tight.css +564 -564
  6. package/config/themes/deep/deep.css +563 -563
  7. package/config/themes/default/default.css +563 -563
  8. package/config/themes/eap/eap.css +563 -563
  9. package/config/themes/gold/gold.css +563 -563
  10. package/config/themes/lime/lime.css +563 -563
  11. package/config/themes/orange/orange.css +563 -563
  12. package/config/themes/red/red.css +563 -563
  13. package/nstyles/common.less +197 -197
  14. package/nstyles/components/404.less +46 -46
  15. package/nstyles/components/button.less +34 -34
  16. package/nstyles/components/date-picker.less +37 -37
  17. package/nstyles/components/drawer.less +20 -20
  18. package/nstyles/components/dropdown.less +18 -18
  19. package/nstyles/components/excel-flow.less +72 -72
  20. package/nstyles/components/form.less +303 -303
  21. package/nstyles/components/layout/collect.less +10 -10
  22. package/nstyles/components/layout/detail-view.less +107 -107
  23. package/nstyles/components/layout/full-screen.less +7 -7
  24. package/nstyles/components/layout/other-menu.less +142 -142
  25. package/nstyles/components/layout/page-view.less +101 -101
  26. package/nstyles/components/layout/sider-trigger.less +41 -41
  27. package/nstyles/components/layout/tags-nav.less +113 -113
  28. package/nstyles/components/modal.less +85 -85
  29. package/nstyles/components/panel.less +31 -31
  30. package/nstyles/components/select.less +3 -3
  31. package/nstyles/components/sign.less +27 -27
  32. package/nstyles/components/tree.less +159 -159
  33. package/nstyles/components/upload.less +131 -131
  34. package/nstyles/index.less +5 -5
  35. package/nstyles/reset.less +65 -65
  36. package/nstyles/third/ag.less +173 -173
  37. package/nstyles/third/index.less +11 -11
  38. package/nstyles/third/view-design.less +356 -356
  39. package/nstyles/variables/base.less +143 -143
  40. package/nstyles/variables/index.less +4 -4
  41. package/nstyles/variables/theme/default/button.less +7 -7
  42. package/nstyles/variables/theme/default/common.less +57 -57
  43. package/nstyles/variables/theme/default/index.less +7 -7
  44. package/nstyles/variables/theme/default/layout.less +40 -40
  45. package/nstyles/variables/theme/default/table.less +37 -37
  46. package/nstyles/variables/theme/default/tag.less +3 -3
  47. package/nstyles/variables/theme/default/upload.less +3 -3
  48. package/nstyles/variables/theme/index.less +13 -13
  49. package/nstyles/variables/theme/small/button.less +7 -7
  50. package/nstyles/variables/theme/small/common.less +39 -39
  51. package/nstyles/variables/theme/small/index.less +5 -5
  52. package/nstyles/variables/theme/small/layout.less +21 -21
  53. package/nstyles/variables/theme/small/table.less +17 -17
  54. package/nstyles/variables/theme/small/tag.less +3 -3
  55. package/package.json +1 -1
  56. package/utils/dict/index.js +33 -0
  57. package/utils/n/api.js +8 -0
  58. package/utils/platform.js +74 -0
@@ -1,107 +1,107 @@
1
- @menu-name-padding: 15px 28px 15px 30px; // 标题行padding
2
- @menu-title-font-size: 20px;
3
- @menu-title-color: #17233d;
4
- @page-content-padding: 12px;
5
-
6
- .ind-detail-view {
7
- height: 100%;
8
- background-color: var(--ind-bg-color-dark);
9
- overflow: auto;
10
-
11
- &:has(.ind-detail-form) .lambo-grid-table {
12
- padding-top: var(--ind-unit-switch-bottom);
13
- }
14
-
15
- // position: relative;
16
- .header {
17
- display: flex;
18
- align-items: center;
19
- padding: @menu-name-padding;
20
- // padding: var(--ind-page-padding);
21
- border-bottom: 1px solid var(--ind-border-color);
22
- background: white;
23
- z-index: 14;
24
-
25
- .title {
26
- font-size: @menu-title-font-size;
27
- font-weight: 500;
28
- color: @menu-title-color;
29
- }
30
-
31
- .back-btn + .title {
32
- margin-left: 8px;
33
- }
34
-
35
- .header-buttons {
36
- flex-grow: 1;
37
- display: flex;
38
- justify-content: flex-end;
39
- align-items: center;
40
-
41
- .ivu-btn + .ivu-btn {
42
- margin-left: 10px;
43
- }
44
- }
45
- }
46
-
47
- .content {
48
- padding: @page-content-padding;
49
- // padding: var(--ind-page-padding);
50
- // TODO card
51
- .ivu-card {
52
- padding: 0px 8px;
53
- }
54
- .ivu-form {
55
- background: white;
56
- }
57
- }
58
-
59
- .function-wrapper {
60
- display: flex;
61
- justify-content: center;
62
- padding: 6px 0;
63
- width: 100%;
64
- text-align: center;
65
- border-top: 1px solid var(--ind-border-color);
66
- background: #fff;
67
-
68
- .ivu-btn + .ivu-btn {
69
- margin-left: 10px;
70
- }
71
- }
72
-
73
- &.has-padding {
74
- .content-row {
75
- padding: 16px 16px;
76
- background-color: #fff;
77
- }
78
- }
79
-
80
- &.ind-detial-with-table {
81
- .content-row {
82
- height: 100%;
83
- }
84
- .ind-loading-panel {
85
- height: 100%;
86
- }
87
- .ivu-card {
88
- height: 100%;
89
- }
90
- .ivu-card-body {
91
- height: 100%;
92
- }
93
- }
94
- }
95
-
96
- .ind-detail-view .content .ivu-card {
97
- padding: 0 0 !important;
98
- overflow: hidden !important;
99
- width: 100%;
100
- .ivu-card-head {
101
- padding: 14px 16px;
102
- font-size: 16px;
103
- color: #17233d;
104
- font-weight: 500;
105
- // line-height: 20px;
106
- }
107
- }
1
+ @menu-name-padding: 15px 28px 15px 30px; // 标题行padding
2
+ @menu-title-font-size: 20px;
3
+ @menu-title-color: #17233d;
4
+ @page-content-padding: 12px;
5
+
6
+ .ind-detail-view {
7
+ height: 100%;
8
+ background-color: var(--ind-bg-color-dark);
9
+ overflow: auto;
10
+
11
+ &:has(.ind-detail-form) .lambo-grid-table {
12
+ padding-top: var(--ind-unit-switch-bottom);
13
+ }
14
+
15
+ // position: relative;
16
+ .header {
17
+ display: flex;
18
+ align-items: center;
19
+ padding: @menu-name-padding;
20
+ // padding: var(--ind-page-padding);
21
+ border-bottom: 1px solid var(--ind-border-color);
22
+ background: white;
23
+ z-index: 14;
24
+
25
+ .title {
26
+ font-size: @menu-title-font-size;
27
+ font-weight: 500;
28
+ color: @menu-title-color;
29
+ }
30
+
31
+ .back-btn + .title {
32
+ margin-left: 8px;
33
+ }
34
+
35
+ .header-buttons {
36
+ flex-grow: 1;
37
+ display: flex;
38
+ justify-content: flex-end;
39
+ align-items: center;
40
+
41
+ .ivu-btn + .ivu-btn {
42
+ margin-left: 10px;
43
+ }
44
+ }
45
+ }
46
+
47
+ .content {
48
+ padding: @page-content-padding;
49
+ // padding: var(--ind-page-padding);
50
+ // TODO card
51
+ .ivu-card {
52
+ padding: 0px 8px;
53
+ }
54
+ .ivu-form {
55
+ background: white;
56
+ }
57
+ }
58
+
59
+ .function-wrapper {
60
+ display: flex;
61
+ justify-content: center;
62
+ padding: 6px 0;
63
+ width: 100%;
64
+ text-align: center;
65
+ border-top: 1px solid var(--ind-border-color);
66
+ background: #fff;
67
+
68
+ .ivu-btn + .ivu-btn {
69
+ margin-left: 10px;
70
+ }
71
+ }
72
+
73
+ &.has-padding {
74
+ .content-row {
75
+ padding: 16px 16px;
76
+ background-color: #fff;
77
+ }
78
+ }
79
+
80
+ &.ind-detial-with-table {
81
+ .content-row {
82
+ height: 100%;
83
+ }
84
+ .ind-loading-panel {
85
+ height: 100%;
86
+ }
87
+ .ivu-card {
88
+ height: 100%;
89
+ }
90
+ .ivu-card-body {
91
+ height: 100%;
92
+ }
93
+ }
94
+ }
95
+
96
+ .ind-detail-view .content .ivu-card {
97
+ padding: 0 0 !important;
98
+ overflow: hidden !important;
99
+ width: 100%;
100
+ .ivu-card-head {
101
+ padding: 14px 16px;
102
+ font-size: 16px;
103
+ color: #17233d;
104
+ font-weight: 500;
105
+ // line-height: 20px;
106
+ }
107
+ }
@@ -1,7 +1,7 @@
1
- .ind-full-screen-btn-con {
2
- .ivu-tooltip-rel {
3
- i {
4
- cursor: pointer;
5
- }
6
- }
7
- }
1
+ .ind-full-screen-btn-con {
2
+ .ivu-tooltip-rel {
3
+ i {
4
+ cursor: pointer;
5
+ }
6
+ }
7
+ }
@@ -1,142 +1,142 @@
1
- .ind-other-menu {
2
- display: flex;
3
- width: 100%;
4
- border-top: 1px solid var(--menu-black-active-bg);
5
- background: var(--menu-black-active-bg);
6
-
7
- .other-menu-item {
8
- width: 100%;
9
- height: 40px;
10
- line-height: 40px;
11
- color: var(--menu-white-group-title-color);
12
- text-align: center;
13
- border-radius: 3px;
14
- cursor: pointer;
15
-
16
- &:hover {
17
- color: var(--ind-primary-color);
18
- }
19
- }
20
-
21
- &.ind-other-menu-collapsed {
22
- display: block;
23
-
24
- .other-menu-item {
25
- border-top: 1px solid var(--ind-border-color);
26
-
27
- .ivu-tooltip {
28
- width: 100%;
29
-
30
- .ivu-tooltip-rel {
31
- width: 100%;
32
- }
33
-
34
- .ivu-tooltip-popper .ivu-tooltip-content {
35
- .ivu-tooltip-arrow {
36
- border-right-color: #fff;
37
- }
38
-
39
- .ivu-tooltip-inner {
40
- background: #fff;
41
- color: #495060;
42
- }
43
- }
44
- }
45
-
46
- .other-menu-icon {
47
- font-size: 20px;
48
- }
49
-
50
- .other-menu-title {
51
- font-size: 14px;
52
- display: none;
53
- }
54
- }
55
- }
56
- }
57
-
58
- .ind-other-menu-drawer-wrap {
59
- .ivu-drawer {
60
- // left: 256px;
61
- height: calc(100% - 110px);
62
- bottom: 0;
63
- top: auto;
64
-
65
- .other-menu-history {
66
- .other-menu-history-item {
67
- width: 100%;
68
- height: 35px;
69
- line-height: 35px;
70
- position: relative;
71
-
72
- .delete {
73
- display: none;
74
- position: absolute;
75
- right: 15px;
76
- top: 0px;
77
- cursor: pointer;
78
- }
79
-
80
- &:hover {
81
- .content {
82
- cursor: pointer;
83
- height: 38px;
84
- font-weight: bold;
85
- color: var(--ind-primary-color);
86
- }
87
-
88
- .delete {
89
- display: inline;
90
- }
91
- }
92
- }
93
- }
94
-
95
- .other-menu-collect {
96
- .other-menu-collect-item {
97
- width: 100%;
98
- display: inline-block;
99
- height: 35px;
100
- line-height: 35px;
101
- position: relative;
102
-
103
- .delete {
104
- display: none;
105
- position: absolute;
106
- right: 15px;
107
- top: 0px;
108
- z-index: 100;
109
- cursor: pointer;
110
- }
111
-
112
- &:hover {
113
- .content {
114
- cursor: pointer;
115
- color: var(--ind-primary-color);
116
-
117
- .ivu-tooltip {
118
- .ivu-tooltip-rel {
119
- .ivu-icon {
120
- // font-size: 43px;
121
- }
122
- }
123
- }
124
- }
125
-
126
- .delete {
127
- display: inline;
128
- }
129
- }
130
- }
131
- }
132
- }
133
- }
134
-
135
- .ind-other-menu-drawer-wrap-collapsed {
136
- .ivu-drawer {
137
- left: 65px;
138
- height: calc(100% - 110px);
139
- bottom: 0;
140
- top: auto;
141
- }
142
- }
1
+ .ind-other-menu {
2
+ display: flex;
3
+ width: 100%;
4
+ border-top: 1px solid var(--menu-black-active-bg);
5
+ background: var(--menu-black-active-bg);
6
+
7
+ .other-menu-item {
8
+ width: 100%;
9
+ height: 40px;
10
+ line-height: 40px;
11
+ color: var(--menu-white-group-title-color);
12
+ text-align: center;
13
+ border-radius: 3px;
14
+ cursor: pointer;
15
+
16
+ &:hover {
17
+ color: var(--ind-primary-color);
18
+ }
19
+ }
20
+
21
+ &.ind-other-menu-collapsed {
22
+ display: block;
23
+
24
+ .other-menu-item {
25
+ border-top: 1px solid var(--ind-border-color);
26
+
27
+ .ivu-tooltip {
28
+ width: 100%;
29
+
30
+ .ivu-tooltip-rel {
31
+ width: 100%;
32
+ }
33
+
34
+ .ivu-tooltip-popper .ivu-tooltip-content {
35
+ .ivu-tooltip-arrow {
36
+ border-right-color: #fff;
37
+ }
38
+
39
+ .ivu-tooltip-inner {
40
+ background: #fff;
41
+ color: #495060;
42
+ }
43
+ }
44
+ }
45
+
46
+ .other-menu-icon {
47
+ font-size: 20px;
48
+ }
49
+
50
+ .other-menu-title {
51
+ font-size: 14px;
52
+ display: none;
53
+ }
54
+ }
55
+ }
56
+ }
57
+
58
+ .ind-other-menu-drawer-wrap {
59
+ .ivu-drawer {
60
+ // left: 256px;
61
+ height: calc(100% - 110px);
62
+ bottom: 0;
63
+ top: auto;
64
+
65
+ .other-menu-history {
66
+ .other-menu-history-item {
67
+ width: 100%;
68
+ height: 35px;
69
+ line-height: 35px;
70
+ position: relative;
71
+
72
+ .delete {
73
+ display: none;
74
+ position: absolute;
75
+ right: 15px;
76
+ top: 0px;
77
+ cursor: pointer;
78
+ }
79
+
80
+ &:hover {
81
+ .content {
82
+ cursor: pointer;
83
+ height: 38px;
84
+ font-weight: bold;
85
+ color: var(--ind-primary-color);
86
+ }
87
+
88
+ .delete {
89
+ display: inline;
90
+ }
91
+ }
92
+ }
93
+ }
94
+
95
+ .other-menu-collect {
96
+ .other-menu-collect-item {
97
+ width: 100%;
98
+ display: inline-block;
99
+ height: 35px;
100
+ line-height: 35px;
101
+ position: relative;
102
+
103
+ .delete {
104
+ display: none;
105
+ position: absolute;
106
+ right: 15px;
107
+ top: 0px;
108
+ z-index: 100;
109
+ cursor: pointer;
110
+ }
111
+
112
+ &:hover {
113
+ .content {
114
+ cursor: pointer;
115
+ color: var(--ind-primary-color);
116
+
117
+ .ivu-tooltip {
118
+ .ivu-tooltip-rel {
119
+ .ivu-icon {
120
+ // font-size: 43px;
121
+ }
122
+ }
123
+ }
124
+ }
125
+
126
+ .delete {
127
+ display: inline;
128
+ }
129
+ }
130
+ }
131
+ }
132
+ }
133
+ }
134
+
135
+ .ind-other-menu-drawer-wrap-collapsed {
136
+ .ivu-drawer {
137
+ left: 65px;
138
+ height: calc(100% - 110px);
139
+ bottom: 0;
140
+ top: auto;
141
+ }
142
+ }