@zgfe/modules-interval 1.0.23-zhongyuan.0 → 1.0.23-zhongyuan.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 (37) hide show
  1. package/README.md +35 -35
  2. package/dist/esm/components/common/styles/index.less +40 -40
  3. package/dist/esm/components/eventFilter/styles/index.less +39 -39
  4. package/dist/esm/components/renderContent/styles/index.less +36 -36
  5. package/dist/esm/components/searchPanel/styles/index.less +71 -71
  6. package/dist/esm/components/table/styles/index.less +138 -138
  7. package/dist/esm/components/topBar/styles/index.less +16 -16
  8. package/dist/esm/constants/apis.js +4 -4
  9. package/dist/esm/constants/code.d.ts +13 -0
  10. package/dist/esm/constants/code.js +13 -0
  11. package/dist/esm/constants/fields.js +4 -4
  12. package/dist/esm/modules/chart/index.js +10 -3
  13. package/dist/esm/modules/chart/index.less +58 -58
  14. package/dist/esm/modules/chart/intervalChart.js +1 -1
  15. package/dist/esm/modules/chart/types.d.ts +5 -0
  16. package/dist/esm/modules/content/index.js +49 -19
  17. package/dist/esm/modules/content/styles/index.less +25 -25
  18. package/dist/esm/modules/content/utils.js +1 -1
  19. package/dist/esm/modules/home/demo/create.js +5 -3
  20. package/dist/esm/modules/home/demo/edit.js +132 -34
  21. package/dist/esm/modules/home/demo/index.js +1 -1
  22. package/dist/esm/modules/home/demo/scene.js +1 -1
  23. package/dist/esm/modules/home/demo/styles/index.less +33 -33
  24. package/dist/esm/modules/home/index.js +8 -1
  25. package/dist/esm/modules/home/styles/index.less +69 -69
  26. package/dist/esm/modules/topPanel/index.js +39 -29
  27. package/dist/esm/modules/topPanel/styles/index.less +6 -6
  28. package/dist/esm/modules/topPanel/types.d.ts +1 -0
  29. package/dist/esm/style/image/empty.png +0 -0
  30. package/dist/esm/style/image/ring.svg +9 -9
  31. package/dist/esm/style/index.less +67 -67
  32. package/dist/esm/types.js +6 -6
  33. package/dist/esm/utils/ajaxConfig.js +5 -5
  34. package/dist/esm/utils/formData.d.ts +4 -0
  35. package/dist/esm/utils/formData.js +9 -3
  36. package/dist/esm/utils/util.js +28 -28
  37. package/package.json +7 -7
package/README.md CHANGED
@@ -1,35 +1,35 @@
1
- # modules-interval
2
-
3
- ## Getting Started
4
-
5
- Install dependencies,
6
-
7
- ```bash
8
- $ npm i
9
- ```
10
-
11
- Start the dev server,
12
-
13
- ```bash
14
- $ npm start
15
- ```
16
-
17
- Build documentation,
18
-
19
- ```bash
20
- $ npm run docs:build
21
- ```
22
-
23
- Run test,
24
-
25
- ```bash
26
- $ npm test
27
- ```
28
-
29
- Build library via `father`,
30
-
31
- ```bash
32
- $ npm run build
33
- ```
34
-
35
- update
1
+ # modules-interval
2
+
3
+ ## Getting Started
4
+
5
+ Install dependencies,
6
+
7
+ ```bash
8
+ $ npm i
9
+ ```
10
+
11
+ Start the dev server,
12
+
13
+ ```bash
14
+ $ npm start
15
+ ```
16
+
17
+ Build documentation,
18
+
19
+ ```bash
20
+ $ npm run docs:build
21
+ ```
22
+
23
+ Run test,
24
+
25
+ ```bash
26
+ $ npm test
27
+ ```
28
+
29
+ Build library via `father`,
30
+
31
+ ```bash
32
+ $ npm run build
33
+ ```
34
+
35
+ update
@@ -1,40 +1,40 @@
1
- @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
-
3
- .mi-common-interval {
4
- .ant-spin-nested-loading {
5
- width: 100%;
6
- }
7
- &-loading-icon {
8
- z-index: 1000;
9
- display: inline-block;
10
- width: 40px;
11
- height: 40px;
12
- background: url('../../../style/image/ring.svg') no-repeat;
13
- background-size: contain;
14
- }
15
-
16
- &-none-text {
17
- color: #354354;
18
- font-size: 14px;
19
- }
20
-
21
- &-none-empty {
22
- width: 88px;
23
- height: 88px;
24
- background-image: url('../../../style/image/empty.png');
25
- background-repeat: no-repeat;
26
- background-size: cover;
27
- }
28
-
29
- &-none-container {
30
- display: flex;
31
- flex-direction: column;
32
- align-items: center;
33
- }
34
- }
35
- .mi-common-interval-content {
36
- width: 100%;
37
- .ant-spin-text {
38
- color: #ccc;
39
- }
40
- }
1
+ @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
+
3
+ .mi-common-interval {
4
+ .ant-spin-nested-loading {
5
+ width: 100%;
6
+ }
7
+ &-loading-icon {
8
+ z-index: 1000;
9
+ display: inline-block;
10
+ width: 40px;
11
+ height: 40px;
12
+ background: url('../../../style/image/ring.svg') no-repeat;
13
+ background-size: contain;
14
+ }
15
+
16
+ &-none-text {
17
+ color: #354354;
18
+ font-size: 14px;
19
+ }
20
+
21
+ &-none-empty {
22
+ width: 88px;
23
+ height: 88px;
24
+ background-image: url('../../../style/image/empty.png');
25
+ background-repeat: no-repeat;
26
+ background-size: cover;
27
+ }
28
+
29
+ &-none-container {
30
+ display: flex;
31
+ flex-direction: column;
32
+ align-items: center;
33
+ }
34
+ }
35
+ .mi-common-interval-content {
36
+ width: 100%;
37
+ .ant-spin-text {
38
+ color: #ccc;
39
+ }
40
+ }
@@ -1,39 +1,39 @@
1
- .interval-box {
2
- > :nth-child(1) {
3
- display: flex;
4
- gap: 16px;
5
- align-items: center;
6
- margin-bottom: 0 !important;
7
- .biz-event-select,
8
- .biz-attr-select {
9
- width: 208px;
10
- }
11
-
12
- .shaixuan {
13
- margin-top: 2px;
14
- color: #9aa1a9;
15
- font-size: 20px !important;
16
- cursor: pointer;
17
- }
18
-
19
- .shaixuan:hover {
20
- color: #165dff;
21
- }
22
-
23
- .disable {
24
- color: #ccd0d4 !important;
25
- cursor: not-allowed !important;
26
- }
27
-
28
- .switch-title {
29
- margin-left: -8px;
30
- color: var(--io-n-8, #354354);
31
- font-weight: 400;
32
- font-size: 14px;
33
- font-family: PingFang SC;
34
- font-style: normal;
35
- line-height: normal;
36
- letter-spacing: 1px;
37
- }
38
- }
39
- }
1
+ .interval-box {
2
+ > :nth-child(1) {
3
+ display: flex;
4
+ gap: 16px;
5
+ align-items: center;
6
+ margin-bottom: 0 !important;
7
+ .biz-event-select,
8
+ .biz-attr-select {
9
+ width: 208px;
10
+ }
11
+
12
+ .shaixuan {
13
+ margin-top: 2px;
14
+ color: #9aa1a9;
15
+ font-size: 20px !important;
16
+ cursor: pointer;
17
+ }
18
+
19
+ .shaixuan:hover {
20
+ color: #165dff;
21
+ }
22
+
23
+ .disable {
24
+ color: #ccd0d4 !important;
25
+ cursor: not-allowed !important;
26
+ }
27
+
28
+ .switch-title {
29
+ margin-left: -8px;
30
+ color: var(--io-n-8, #354354);
31
+ font-weight: 400;
32
+ font-size: 14px;
33
+ font-family: PingFang SC;
34
+ font-style: normal;
35
+ line-height: normal;
36
+ letter-spacing: 1px;
37
+ }
38
+ }
39
+ }
@@ -1,36 +1,36 @@
1
- .render-content-interval {
2
- &-chart-container {
3
- display: flex;
4
- flex-direction: column;
5
- align-items: center;
6
- justify-content: center;
7
-
8
- .echarts-for-react {
9
- width: 100%;
10
- background: #fff;
11
- border: 1px solid var(--unnamed, #ecedf0);
12
- border-radius: 8px;
13
- }
14
- }
15
-
16
- &-MiNone {
17
- display: flex;
18
- align-items: center;
19
- justify-content: center;
20
- width: 100%;
21
- height: 368px;
22
- padding: 24px 16px;
23
- border: 1px solid #ecedf0;
24
- border-radius: 8px;
25
- }
26
-
27
- &-spin-container {
28
- display: flex !important;
29
- align-items: center;
30
- justify-content: center;
31
- min-height: 300px;
32
- .biz-loading-wrapper {
33
- width: 100%;
34
- }
35
- }
36
- }
1
+ .render-content-interval {
2
+ &-chart-container {
3
+ display: flex;
4
+ flex-direction: column;
5
+ align-items: center;
6
+ justify-content: center;
7
+
8
+ .echarts-for-react {
9
+ width: 100%;
10
+ background: #fff;
11
+ border: 1px solid var(--unnamed, #ecedf0);
12
+ border-radius: 8px;
13
+ }
14
+ }
15
+
16
+ &-MiNone {
17
+ display: flex;
18
+ align-items: center;
19
+ justify-content: center;
20
+ width: 100%;
21
+ height: 368px;
22
+ padding: 24px 16px;
23
+ border: 1px solid #ecedf0;
24
+ border-radius: 8px;
25
+ }
26
+
27
+ &-spin-container {
28
+ display: flex !important;
29
+ align-items: center;
30
+ justify-content: center;
31
+ min-height: 300px;
32
+ .biz-loading-wrapper {
33
+ width: 100%;
34
+ }
35
+ }
36
+ }
@@ -1,71 +1,71 @@
1
- .search-panel-interval {
2
- display: flex;
3
- align-items: center;
4
- justify-content: space-between;
5
- height: 32px;
6
- margin-bottom: 24px;
7
- &-refresh {
8
- display: flex !important;
9
- gap: 4px;
10
- }
11
- > :nth-child(1) {
12
- display: flex;
13
- gap: 16px;
14
- }
15
-
16
- .biz-date-picker-wrap-list {
17
- font-size: 14px;
18
- }
19
-
20
- &-search-right {
21
- display: flex;
22
- gap: 16px;
23
- }
24
-
25
- &-select {
26
- width: 208px;
27
- .biz-select-handle-input-multiple {
28
- .ant-tag:not(:nth-child(-n + 3)) {
29
- display: none;
30
- }
31
- }
32
- }
33
- }
34
-
35
- .interval-select-overlay {
36
- .biz-select-option.biz-select-option-multiple:hover:not(.disabled) {
37
- color: var(--1, #021429);
38
- background: var(--io-i-1, #e8efff);
39
- }
40
-
41
- .biz-select-overlay {
42
- padding: 0;
43
- }
44
-
45
- .biz-select-list-panel {
46
- display: grid;
47
- gap: 8px;
48
- }
49
-
50
- .biz-select-option {
51
- padding: 0 16px;
52
- border-radius: 0;
53
- }
54
-
55
- .biz-select-option.biz-select-option-multiple.active:not(.disabled) {
56
- color: var(--1, #021429);
57
- }
58
-
59
- .biz-select-option.biz-select-option-multiple:hover:not(.disabled) .biz-select-checkbox {
60
- color: #ccd0d4;
61
- }
62
-
63
- .biz-select-option.biz-select-option-multiple.active:hover:not(.disabled) .biz-select-checkbox {
64
- color: #165dff;
65
- }
66
-
67
- .biz-select-option.biz-select-option-multiple:active:not(.disabled) {
68
- color: #165dff;
69
- background: var(--io-i-1, #e8efff);
70
- }
71
- }
1
+ .search-panel-interval {
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: space-between;
5
+ height: 32px;
6
+ margin-bottom: 24px;
7
+ &-refresh {
8
+ display: flex !important;
9
+ gap: 4px;
10
+ }
11
+ > :nth-child(1) {
12
+ display: flex;
13
+ gap: 16px;
14
+ }
15
+
16
+ .biz-date-picker-wrap-list {
17
+ font-size: 14px;
18
+ }
19
+
20
+ &-search-right {
21
+ display: flex;
22
+ gap: 16px;
23
+ }
24
+
25
+ &-select {
26
+ width: 208px;
27
+ .biz-select-handle-input-multiple {
28
+ .ant-tag:not(:nth-child(-n + 3)) {
29
+ display: none;
30
+ }
31
+ }
32
+ }
33
+ }
34
+
35
+ .interval-select-overlay {
36
+ .biz-select-option.biz-select-option-multiple:hover:not(.disabled) {
37
+ color: var(--1, #021429);
38
+ background: var(--io-i-1, #e8efff);
39
+ }
40
+
41
+ .biz-select-overlay {
42
+ padding: 0;
43
+ }
44
+
45
+ .biz-select-list-panel {
46
+ display: grid;
47
+ gap: 8px;
48
+ }
49
+
50
+ .biz-select-option {
51
+ padding: 0 16px;
52
+ border-radius: 0;
53
+ }
54
+
55
+ .biz-select-option.biz-select-option-multiple.active:not(.disabled) {
56
+ color: var(--1, #021429);
57
+ }
58
+
59
+ .biz-select-option.biz-select-option-multiple:hover:not(.disabled) .biz-select-checkbox {
60
+ color: #ccd0d4;
61
+ }
62
+
63
+ .biz-select-option.biz-select-option-multiple.active:hover:not(.disabled) .biz-select-checkbox {
64
+ color: #165dff;
65
+ }
66
+
67
+ .biz-select-option.biz-select-option-multiple:active:not(.disabled) {
68
+ color: #165dff;
69
+ background: var(--io-i-1, #e8efff);
70
+ }
71
+ }