@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,31 +1,31 @@
1
- .ind-back-top-panel {
2
- position: relative;
3
- height: 100%;
4
- overflow-y: auto;
5
- }
6
-
7
- .ind-loading-panel {
8
- position: relative;
9
- height: auto;
10
-
11
- .ind-loading-spin--dark {
12
- background-color: #e1e1e1;
13
- opacity: 0.9;
14
- }
15
-
16
- .ind-loading-spin-icon {
17
- animation: ani-loading-spin 1s linear infinite;
18
- }
19
-
20
- @keyframes ani-loading-spin {
21
- from {
22
- transform: rotate(0deg);
23
- }
24
- 50% {
25
- transform: rotate(180deg);
26
- }
27
- to {
28
- transform: rotate(360deg);
29
- }
30
- }
31
- }
1
+ .ind-back-top-panel {
2
+ position: relative;
3
+ height: 100%;
4
+ overflow-y: auto;
5
+ }
6
+
7
+ .ind-loading-panel {
8
+ position: relative;
9
+ height: auto;
10
+
11
+ .ind-loading-spin--dark {
12
+ background-color: #e1e1e1;
13
+ opacity: 0.9;
14
+ }
15
+
16
+ .ind-loading-spin-icon {
17
+ animation: ani-loading-spin 1s linear infinite;
18
+ }
19
+
20
+ @keyframes ani-loading-spin {
21
+ from {
22
+ transform: rotate(0deg);
23
+ }
24
+ 50% {
25
+ transform: rotate(180deg);
26
+ }
27
+ to {
28
+ transform: rotate(360deg);
29
+ }
30
+ }
31
+ }
@@ -1,3 +1,3 @@
1
- .ind-select-item.select-all {
2
- border-bottom: 2px solid var(--ind-border-color);
3
- }
1
+ .ind-select-item.select-all {
2
+ border-bottom: 2px solid var(--ind-border-color);
3
+ }
@@ -1,27 +1,27 @@
1
- :root,
2
- :host {
3
- --ind-sign-padding: var(--ind-padding-xs);
4
- --ind-sign-content-height: 200px;
5
- --ind-sign-content-background: var(--ind-white);
6
- --ind-sign-content-border: 1px solid var(--ind-border-color);
7
- }
8
-
9
- .ind-sign {
10
- padding: var(--ind-sign-padding);
11
-
12
- &__content {
13
- display: flex;
14
- justify-content: center;
15
- align-items: center;
16
- height: var(--ind-sign-content-height);
17
- background-color: var(--ind-sign-content-background);
18
- border: var(--ind-sign-content-border);
19
- border-radius: var(--ind-border-radius-md);
20
- overflow: hidden;
21
-
22
- canvas {
23
- width: 100%;
24
- height: 100%;
25
- }
26
- }
27
- }
1
+ :root,
2
+ :host {
3
+ --ind-sign-padding: var(--ind-padding-xs);
4
+ --ind-sign-content-height: 200px;
5
+ --ind-sign-content-background: var(--ind-white);
6
+ --ind-sign-content-border: 1px solid var(--ind-border-color);
7
+ }
8
+
9
+ .ind-sign {
10
+ padding: var(--ind-sign-padding);
11
+
12
+ &__content {
13
+ display: flex;
14
+ justify-content: center;
15
+ align-items: center;
16
+ height: var(--ind-sign-content-height);
17
+ background-color: var(--ind-sign-content-background);
18
+ border: var(--ind-sign-content-border);
19
+ border-radius: var(--ind-border-radius-md);
20
+ overflow: hidden;
21
+
22
+ canvas {
23
+ width: 100%;
24
+ height: 100%;
25
+ }
26
+ }
27
+ }
@@ -1,159 +1,159 @@
1
- .tree-wrapper {
2
- background: white;
3
- border-radius: 4px;
4
- // padding: 10px 0 10px 0;
5
- width: var(--ind-tree-wrapper-width); //98%;
6
- height: 100%;
7
-
8
- .header {
9
- position: sticky;
10
- padding: 10px 10px 10px 10px;
11
- top: 0;
12
- background: white;
13
- // z-index: 999;
14
- border-bottom: 1px solid var(--ind-border-color);
15
- .title {
16
- font-size: var(--ind-font-size-lg);
17
- font-weight: bold;
18
- // margin-left: 10px;
19
- vertical-align: middle;
20
- }
21
- }
22
- .content {
23
- // padding: 10px 10px;
24
- padding: var(--tree-content-padding);
25
-
26
- .ivu-input-wrapper {
27
- margin-bottom: 8px;
28
- }
29
-
30
- .ivu-tree {
31
- height: 10px;
32
- overflow: auto;
33
- }
34
- }
35
- }
36
-
37
- .ivu-tree-title-selected,
38
- .ivu-tree-title-selected:hover {
39
- color: var(--ind-white);
40
- background: var(--ind-primary-color);
41
- }
42
-
43
- .custom-title {
44
- &.important {
45
- &::after {
46
- content: '*';
47
- font-size: 16px;
48
- font-weight: bold;
49
- line-height: 1;
50
- vertical-align: middle;
51
- color: var(--ind-red);
52
- display: none;
53
- }
54
- }
55
-
56
- &.weak {
57
- color: var(--ind-gray);
58
- }
59
-
60
- .title-status {
61
- color: var(--ind-gray);
62
-
63
- &.red {
64
- color: var(--ind-red);
65
- }
66
-
67
- &.blue {
68
- color: var(--ind-blue);
69
- }
70
-
71
- &.green {
72
- color: var(--ind-green);
73
- }
74
-
75
- &.orange {
76
- color: var(--ind-orange);
77
- }
78
-
79
- &.yellow {
80
- color: var(--ind-yellow);
81
- }
82
-
83
- &.gray {
84
- color: var(--ind-gray);
85
- }
86
- }
87
- }
88
-
89
- .ivu-tree-title-selected .title-status.blue {
90
- color: var(--ind-white);
91
- }
92
-
93
- .emp-tree-box {
94
- .main {
95
- display: flex;
96
- .panel {
97
- .content-box {
98
- margin-top: 10px;
99
- height: calc(100vh - 300px) !important;
100
- border: 2px var(--ind-border-color) solid;
101
- border-radius: 4px;
102
- overflow: auto;
103
- .content {
104
- height: 100%;
105
- padding: 10px;
106
- overflow: auto;
107
- }
108
- }
109
- &.emp-tree {
110
- flex: 5;
111
- }
112
- &.checked-list {
113
- margin-left: 20px;
114
- flex: 4;
115
- .content {
116
- line-height: 1;
117
- .node,
118
- .tip {
119
- padding: 5px 10px;
120
- }
121
- .tip {
122
- color: var(--ind-desc-color);
123
- }
124
- }
125
- }
126
- }
127
- }
128
- }
129
-
130
- .tree-select-wrapper {
131
- .tree-wrapper {
132
- min-width: 180px;
133
- width: 100%;
134
-
135
- .content {
136
- padding-right: 0;
137
- }
138
- }
139
-
140
- .global-desc-text {
141
- margin-top: 10px;
142
- }
143
- }
144
- .tree-select-poptip {
145
- width: 100%;
146
- .ivu-poptip-rel {
147
- width: 100%;
148
- }
149
- }
150
-
151
- // from emp
152
- .global-desc-text {
153
- font-size: var(--ind-font-size-sm);
154
- color: var(--ind-desc-color);
155
- }
156
-
157
- .ivu-tree ul li {
158
- margin: var(--ivu-tree-margin);
159
- }
1
+ .tree-wrapper {
2
+ background: white;
3
+ border-radius: 4px;
4
+ // padding: 10px 0 10px 0;
5
+ width: var(--ind-tree-wrapper-width); //98%;
6
+ height: 100%;
7
+
8
+ .header {
9
+ position: sticky;
10
+ padding: 10px 10px 10px 10px;
11
+ top: 0;
12
+ background: white;
13
+ // z-index: 999;
14
+ border-bottom: 1px solid var(--ind-border-color);
15
+ .title {
16
+ font-size: var(--ind-font-size-lg);
17
+ font-weight: bold;
18
+ // margin-left: 10px;
19
+ vertical-align: middle;
20
+ }
21
+ }
22
+ .content {
23
+ // padding: 10px 10px;
24
+ padding: var(--tree-content-padding);
25
+
26
+ .ivu-input-wrapper {
27
+ margin-bottom: 8px;
28
+ }
29
+
30
+ .ivu-tree {
31
+ height: 10px;
32
+ overflow: auto;
33
+ }
34
+ }
35
+ }
36
+
37
+ .ivu-tree-title-selected,
38
+ .ivu-tree-title-selected:hover {
39
+ color: var(--ind-white);
40
+ background: var(--ind-primary-color);
41
+ }
42
+
43
+ .custom-title {
44
+ &.important {
45
+ &::after {
46
+ content: '*';
47
+ font-size: 16px;
48
+ font-weight: bold;
49
+ line-height: 1;
50
+ vertical-align: middle;
51
+ color: var(--ind-red);
52
+ display: none;
53
+ }
54
+ }
55
+
56
+ &.weak {
57
+ color: var(--ind-gray);
58
+ }
59
+
60
+ .title-status {
61
+ color: var(--ind-gray);
62
+
63
+ &.red {
64
+ color: var(--ind-red);
65
+ }
66
+
67
+ &.blue {
68
+ color: var(--ind-blue);
69
+ }
70
+
71
+ &.green {
72
+ color: var(--ind-green);
73
+ }
74
+
75
+ &.orange {
76
+ color: var(--ind-orange);
77
+ }
78
+
79
+ &.yellow {
80
+ color: var(--ind-yellow);
81
+ }
82
+
83
+ &.gray {
84
+ color: var(--ind-gray);
85
+ }
86
+ }
87
+ }
88
+
89
+ .ivu-tree-title-selected .title-status.blue {
90
+ color: var(--ind-white);
91
+ }
92
+
93
+ .emp-tree-box {
94
+ .main {
95
+ display: flex;
96
+ .panel {
97
+ .content-box {
98
+ margin-top: 10px;
99
+ height: calc(100vh - 300px) !important;
100
+ border: 2px var(--ind-border-color) solid;
101
+ border-radius: 4px;
102
+ overflow: auto;
103
+ .content {
104
+ height: 100%;
105
+ padding: 10px;
106
+ overflow: auto;
107
+ }
108
+ }
109
+ &.emp-tree {
110
+ flex: 5;
111
+ }
112
+ &.checked-list {
113
+ margin-left: 20px;
114
+ flex: 4;
115
+ .content {
116
+ line-height: 1;
117
+ .node,
118
+ .tip {
119
+ padding: 5px 10px;
120
+ }
121
+ .tip {
122
+ color: var(--ind-desc-color);
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
128
+ }
129
+
130
+ .tree-select-wrapper {
131
+ .tree-wrapper {
132
+ min-width: 180px;
133
+ width: 100%;
134
+
135
+ .content {
136
+ padding-right: 0;
137
+ }
138
+ }
139
+
140
+ .global-desc-text {
141
+ margin-top: 10px;
142
+ }
143
+ }
144
+ .tree-select-poptip {
145
+ width: 100%;
146
+ .ivu-poptip-rel {
147
+ width: 100%;
148
+ }
149
+ }
150
+
151
+ // from emp
152
+ .global-desc-text {
153
+ font-size: var(--ind-font-size-sm);
154
+ color: var(--ind-desc-color);
155
+ }
156
+
157
+ .ivu-tree ul li {
158
+ margin: var(--ivu-tree-margin);
159
+ }