@yelon/bis 15.0.0-beta.2 → 15.0.0-beta.4

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 (83) hide show
  1. package/esm2020/layout/bis.config.mjs +11 -0
  2. package/esm2020/layout/icon/style-icons.mjs +796 -0
  3. package/esm2020/layout/layout-basic/index.mjs +4 -0
  4. package/esm2020/layout/layout-basic/interface.mjs +7 -0
  5. package/esm2020/layout/layout-basic/layout-basic.component.mjs +320 -0
  6. package/esm2020/layout/layout-basic/layout-display.service.mjs +87 -0
  7. package/esm2020/layout/layout-nav/index.mjs +5 -0
  8. package/esm2020/layout/layout-nav/layout-nav-application.component.mjs +262 -0
  9. package/esm2020/{src → layout}/layout-nav/layout-nav-group.component.mjs +1 -1
  10. package/esm2020/{src → layout}/layout-nav/layout-nav-tile.component.mjs +1 -1
  11. package/esm2020/layout/layout-nav/types.mjs +7 -0
  12. package/esm2020/layout/layout.mjs +5 -0
  13. package/esm2020/layout/public_api.mjs +11 -0
  14. package/esm2020/layout/widgets/index.mjs +7 -0
  15. package/esm2020/{src → layout}/widgets/yunzai-clear-storage.component.mjs +1 -1
  16. package/esm2020/{src → layout}/widgets/yunzai-fullscreen.component.mjs +1 -1
  17. package/esm2020/{src → layout}/widgets/yunzai-i18n.component.mjs +1 -1
  18. package/esm2020/layout/widgets/yunzai-notify.component.mjs +183 -0
  19. package/esm2020/layout/widgets/yunzai-theme-btn.component.mjs +195 -0
  20. package/esm2020/{src → layout}/widgets/yunzai-user.component.mjs +1 -1
  21. package/esm2020/layout/yunzai-act.guard.mjs +107 -0
  22. package/esm2020/layout/yunzai-auth.service.mjs +153 -0
  23. package/esm2020/layout/yunzai-default.interceptor.mjs +207 -0
  24. package/esm2020/layout/yunzai-i18n.service.mjs +94 -0
  25. package/esm2020/layout/yunzai-layout.module.mjs +76 -0
  26. package/esm2020/layout/yunzai-startup.service.mjs +157 -0
  27. package/esm2020/public_api.mjs +2 -2
  28. package/fesm2015/bis.mjs +1 -2960
  29. package/fesm2015/bis.mjs.map +1 -1
  30. package/fesm2015/layout.mjs +2971 -0
  31. package/fesm2015/layout.mjs.map +1 -0
  32. package/fesm2020/bis.mjs +1 -2968
  33. package/fesm2020/bis.mjs.map +1 -1
  34. package/fesm2020/layout.mjs +2979 -0
  35. package/fesm2020/layout.mjs.map +1 -0
  36. package/{src → layout}/bis.config.d.ts +0 -0
  37. package/{src → layout}/icon/style-icons.d.ts +0 -0
  38. package/layout/index.d.ts +5 -0
  39. package/{src → layout}/layout-basic/index.d.ts +0 -0
  40. package/{src → layout}/layout-basic/interface.d.ts +0 -0
  41. package/{src → layout}/layout-basic/layout-basic.component.d.ts +4 -3
  42. package/{src → layout}/layout-basic/layout-display.service.d.ts +0 -0
  43. package/{src → layout}/layout-nav/index.d.ts +0 -0
  44. package/{src → layout}/layout-nav/layout-nav-application.component.d.ts +0 -0
  45. package/{src → layout}/layout-nav/layout-nav-group.component.d.ts +0 -0
  46. package/{src → layout}/layout-nav/layout-nav-tile.component.d.ts +0 -0
  47. package/{src → layout}/layout-nav/types.d.ts +0 -0
  48. package/{src/index.d.ts → layout/public_api.d.ts} +0 -1
  49. package/layout/style/index.less +154 -0
  50. package/{src → layout}/widgets/index.d.ts +0 -0
  51. package/{src → layout}/widgets/yunzai-clear-storage.component.d.ts +0 -0
  52. package/{src → layout}/widgets/yunzai-fullscreen.component.d.ts +0 -0
  53. package/{src → layout}/widgets/yunzai-i18n.component.d.ts +0 -0
  54. package/{src → layout}/widgets/yunzai-notify.component.d.ts +0 -0
  55. package/{src → layout}/widgets/yunzai-theme-btn.component.d.ts +0 -0
  56. package/{src → layout}/widgets/yunzai-user.component.d.ts +0 -0
  57. package/{src → layout}/yunzai-act.guard.d.ts +0 -0
  58. package/{src → layout}/yunzai-auth.service.d.ts +0 -0
  59. package/{src → layout}/yunzai-default.interceptor.d.ts +0 -0
  60. package/{src → layout}/yunzai-i18n.service.d.ts +1 -1
  61. package/{src → layout}/yunzai-layout.module.d.ts +1 -1
  62. package/{src → layout}/yunzai-startup.service.d.ts +0 -0
  63. package/package.json +19 -11
  64. package/public_api.d.ts +2 -1
  65. package/esm2020/src/bis.config.mjs +0 -11
  66. package/esm2020/src/icon/style-icons.mjs +0 -796
  67. package/esm2020/src/index.mjs +0 -12
  68. package/esm2020/src/layout-basic/index.mjs +0 -4
  69. package/esm2020/src/layout-basic/interface.mjs +0 -7
  70. package/esm2020/src/layout-basic/layout-basic.component.mjs +0 -312
  71. package/esm2020/src/layout-basic/layout-display.service.mjs +0 -87
  72. package/esm2020/src/layout-nav/index.mjs +0 -5
  73. package/esm2020/src/layout-nav/layout-nav-application.component.mjs +0 -262
  74. package/esm2020/src/layout-nav/types.mjs +0 -7
  75. package/esm2020/src/widgets/index.mjs +0 -7
  76. package/esm2020/src/widgets/yunzai-notify.component.mjs +0 -183
  77. package/esm2020/src/widgets/yunzai-theme-btn.component.mjs +0 -195
  78. package/esm2020/src/yunzai-act.guard.mjs +0 -107
  79. package/esm2020/src/yunzai-auth.service.mjs +0 -153
  80. package/esm2020/src/yunzai-default.interceptor.mjs +0 -207
  81. package/esm2020/src/yunzai-i18n.service.mjs +0 -94
  82. package/esm2020/src/yunzai-layout.module.mjs +0 -76
  83. package/esm2020/src/yunzai-startup.service.mjs +0 -157
@@ -0,0 +1,154 @@
1
+ @import '../../../theme/theme-default.less';
2
+
3
+ .yz-application {
4
+ position: fixed;
5
+ top: @yz-application-top;
6
+ left: 0;
7
+ width: @yz-application-width;
8
+ height: @yz-application-height;
9
+ overflow: hidden;
10
+ background-color: @yz-application-bgColor;
11
+ box-shadow: 10px 10px 10px 0 @yz-application-border-shadow;
12
+ }
13
+
14
+ .yz-application-topic {
15
+ background-color: @yz-application-topic-bgColor;
16
+ }
17
+
18
+ .yz-application-text {
19
+ display: block;
20
+ margin-left: -12px;
21
+ padding: 3px 40px;
22
+ overflow: hidden;
23
+ color: @yz-application-topic-text-color;
24
+ font-weight: @yz-application-topic-text-font-weight;
25
+ line-height: @yz-application-topic-text-line-height;
26
+ white-space: nowrap;
27
+ text-overflow: ellipsis;
28
+ transition: 0.2s 0.2s 0.2s 0.2s;
29
+ }
30
+
31
+ .yz-application-text:hover {
32
+ color: @yz-application-topic-text-hover-color;
33
+ font-weight: bold;
34
+ background: @yz-application-topic-text-hover-bgColor;
35
+ }
36
+
37
+ .yz-application-container {
38
+ height: @yz-application-height;
39
+ overflow: auto;
40
+ }
41
+
42
+ .yz-application-list {
43
+ padding: @yz-application-list-padding;
44
+
45
+ ul {
46
+ width: @yz-application-list-ul-width;
47
+ padding: @yz-application-list-ul-padding;
48
+ overflow: hidden;
49
+ column-count: 4;
50
+
51
+ li {
52
+ float: left;
53
+ width: @yz-application-list-ul-li-width;
54
+ margin-bottom: @yz-application-list-ul-li-margin-bottom;
55
+ padding: @yz-application-list-ul-li-padding;
56
+ list-style: none;
57
+ -webkit-column-break-inside: avoid;
58
+ break-inside: avoid;
59
+
60
+ h5 {
61
+ margin-top: @yz-application-list-ul-h5-margin-top;
62
+ color: @yz-application-list-ul-h5-color;
63
+ font-weight: @yz-application-list-ul-h5-font-weight;
64
+ font-size: @yz-application-list-ul-h5-font-size;
65
+ line-height: @yz-application-list-ul-h5-line-height;
66
+ }
67
+
68
+ a {
69
+ display: @yz-application-list-ul-a-display;
70
+ padding: @yz-application-list-ul-a-padding;
71
+ overflow: @yz-application-list-ul-a-overflow;
72
+ color: @yz-application-list-ul-a-color;
73
+ font-size: @yz-application-list-ul-a-font-size;
74
+ line-height: @yz-application-list-ul-a-line-height;
75
+ white-space: @yz-application-list-ul-a-white-space;
76
+ text-overflow: @yz-application-list-ul-a-text-overflow;
77
+ }
78
+
79
+ a:hover {
80
+ color: @yz-application-list-ul-a-hover-color;
81
+ background: @yz-application-list-ul-a-hover-bgColor;
82
+ }
83
+ }
84
+ }
85
+ }
86
+
87
+ .yz-application-list-search {
88
+ margin: @yz-application-list-search-margin;
89
+ padding: @yz-application-list-search-padding;
90
+ }
91
+
92
+ .yz-application-list-item {
93
+ h4,
94
+ p {
95
+ margin: @yz-application-list-item-h4p-margin;
96
+ overflow: @yz-application-list-item-h4p-overflow;
97
+ color: @yz-application-list-item-h4p-color;
98
+ white-space: @yz-application-list-item-h4p-white-space;
99
+ text-overflow: @yz-application-list-item-h4p-text-overflow;
100
+ }
101
+
102
+ h4 {
103
+ font-weight: @yz-application-list-item-h4-font-weight;
104
+ line-height: @yz-application-list-item-h4-line-height;
105
+ }
106
+
107
+ p {
108
+ line-height: @yz-application-list-item-p-line-height;
109
+ }
110
+
111
+ li:hover {
112
+ p {
113
+ color: @yz-application-list-item-li-hover-color;
114
+ }
115
+
116
+ h4 {
117
+ color: @yz-application-list-item-li-hover-color;
118
+ }
119
+
120
+ background: @yz-application-list-item-li-hover-bgColor;
121
+ }
122
+ }
123
+
124
+ .yz-application-group {
125
+ .ant-dropdown-link {
126
+ color: @yz-application-topic-text-color;
127
+ }
128
+
129
+ .ant-tabs-nav-operations {
130
+ color: @yz-application-topic-text-color;
131
+ }
132
+
133
+ .ant-tabs-top > .ant-tabs-nav::before {
134
+ border: none;
135
+ }
136
+
137
+ .ant-tabs-top > .ant-tabs-nav {
138
+ margin: 0;
139
+ }
140
+
141
+ padding: 0 10px;
142
+ }
143
+
144
+ .yz-application-dropdown {
145
+ max-height: 80vh;
146
+ overflow-y: auto;
147
+ }
148
+
149
+ .yz-user-name {
150
+ width: 92px;
151
+ overflow: hidden;
152
+ white-space: nowrap;
153
+ text-overflow: ellipsis;
154
+ }
File without changes
File without changes
File without changes
File without changes
@@ -25,4 +25,4 @@ declare class YunzaiI18NService extends YunzaiI18nBaseService {
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiI18NService, never>;
26
26
  static ɵprov: i0.ɵɵInjectableDeclaration<YunzaiI18NService>;
27
27
  }
28
- export { YunzaiI18NService as YzI18nService, YunzaiI18NService };
28
+ export { YunzaiI18NService as YzI18NService, YunzaiI18NService };
@@ -16,6 +16,6 @@ import * as i14 from "@angular/router";
16
16
  import * as i15 from "@yelon/bcs";
17
17
  export declare class YunzaiLayoutModule {
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiLayoutModule, never>;
19
- static ɵmod: i0.ɵɵNgModuleDeclaration<YunzaiLayoutModule, [typeof i1.YzLayoutBasicComponent, typeof i2.YunzaiClearStorageComponent, typeof i3.YunzaiFullScreenComponent, typeof i4.YunzaiI18NComponent, typeof i5.YunzaiNotifyComponent, typeof i6.YunzaiThemBtnComponent, typeof i7.YunzaiUserComponent, typeof i8.LayoutNavApplicationComponent, typeof i9.LayoutNavGroupComponent, typeof i10.LayoutNavTileComponent], [typeof i11.HttpClientModule, typeof i12.CommonModule, typeof i13.FormsModule, typeof i14.RouterModule, typeof i13.ReactiveFormsModule, typeof i15.YunzaiSharedYelonModule, typeof i15.YunzaiSharedZorroModule], [typeof i1.YzLayoutBasicComponent, typeof i2.YunzaiClearStorageComponent, typeof i3.YunzaiFullScreenComponent, typeof i4.YunzaiI18NComponent, typeof i5.YunzaiNotifyComponent, typeof i6.YunzaiThemBtnComponent, typeof i7.YunzaiUserComponent, typeof i8.LayoutNavApplicationComponent, typeof i9.LayoutNavGroupComponent, typeof i10.LayoutNavTileComponent]>;
19
+ static ɵmod: i0.ɵɵNgModuleDeclaration<YunzaiLayoutModule, [typeof i1.YunzaiLayoutBasicComponent, typeof i2.YunzaiClearStorageComponent, typeof i3.YunzaiFullScreenComponent, typeof i4.YunzaiI18NComponent, typeof i5.YunzaiNotifyComponent, typeof i6.YunzaiThemBtnComponent, typeof i7.YunzaiUserComponent, typeof i8.LayoutNavApplicationComponent, typeof i9.LayoutNavGroupComponent, typeof i10.LayoutNavTileComponent], [typeof i11.HttpClientModule, typeof i12.CommonModule, typeof i13.FormsModule, typeof i14.RouterModule, typeof i13.ReactiveFormsModule, typeof i15.YunzaiSharedYelonModule, typeof i15.YunzaiSharedZorroModule], [typeof i1.YunzaiLayoutBasicComponent, typeof i2.YunzaiClearStorageComponent, typeof i3.YunzaiFullScreenComponent, typeof i4.YunzaiI18NComponent, typeof i5.YunzaiNotifyComponent, typeof i6.YunzaiThemBtnComponent, typeof i7.YunzaiUserComponent, typeof i8.LayoutNavApplicationComponent, typeof i9.LayoutNavGroupComponent, typeof i10.LayoutNavTileComponent]>;
20
20
  static ɵinj: i0.ɵɵInjectorDeclaration<YunzaiLayoutModule>;
21
21
  }
File without changes
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@yelon/bis",
3
- "version": "15.0.0-beta.2",
3
+ "version": "15.0.0-beta.4",
4
4
  "author": "devcui<devcui@outlook.com>",
5
5
  "license": "MIT",
6
6
  "dependencies": {
7
7
  "ng-zorro-antd": "^15.0.3",
8
- "@yelon/acl": "^15.0.0-beta.2",
9
- "@yelon/auth": "^15.0.0-beta.2",
10
- "@yelon/theme": "^15.0.0-beta.2",
11
- "@yelon/mock": "^15.0.0-beta.2",
12
- "@yelon/cache": "^15.0.0-beta.2",
13
- "@yelon/chart": "^15.0.0-beta.2",
14
- "@yelon/form": "^15.0.0-beta.2",
15
- "@yelon/testing": "^15.0.0-beta.2",
16
- "@yelon/util": "^15.0.0-beta.2",
17
- "@yelon/bcs": "^15.0.0-beta.2",
8
+ "@yelon/acl": "^15.0.0-beta.4",
9
+ "@yelon/auth": "^15.0.0-beta.4",
10
+ "@yelon/theme": "^15.0.0-beta.4",
11
+ "@yelon/mock": "^15.0.0-beta.4",
12
+ "@yelon/cache": "^15.0.0-beta.4",
13
+ "@yelon/chart": "^15.0.0-beta.4",
14
+ "@yelon/form": "^15.0.0-beta.4",
15
+ "@yelon/testing": "^15.0.0-beta.4",
16
+ "@yelon/util": "^15.0.0-beta.4",
17
+ "@yelon/bcs": "^15.0.0-beta.4",
18
18
  "tslib": "^2.3.0"
19
19
  },
20
20
  "module": "fesm2015/bis.mjs",
@@ -34,6 +34,14 @@
34
34
  "es2015": "./fesm2015/bis.mjs",
35
35
  "node": "./fesm2015/bis.mjs",
36
36
  "default": "./fesm2020/bis.mjs"
37
+ },
38
+ "./layout": {
39
+ "types": "./layout/index.d.ts",
40
+ "esm2020": "./esm2020/layout/layout.mjs",
41
+ "es2020": "./fesm2020/layout.mjs",
42
+ "es2015": "./fesm2015/layout.mjs",
43
+ "node": "./fesm2015/layout.mjs",
44
+ "default": "./fesm2020/layout.mjs"
37
45
  }
38
46
  },
39
47
  "sideEffects": false
package/public_api.d.ts CHANGED
@@ -1 +1,2 @@
1
- export * from './src';
1
+ declare const _default: undefined;
2
+ export default _default;
@@ -1,11 +0,0 @@
1
- export const BUSINESS_DEFAULT_CONFIG = {
2
- baseUrl: '/backstage',
3
- systemCode: 'portal',
4
- loginForm: null,
5
- refreshTokenEnabled: true,
6
- refreshTokenType: 're-request'
7
- };
8
- export function mergeBisConfig(srv) {
9
- return srv.merge('bis', BUSINESS_DEFAULT_CONFIG);
10
- }
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmlzLmNvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Jpcy9zcmMvYmlzLmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLENBQUMsTUFBTSx1QkFBdUIsR0FBeUI7SUFDM0QsT0FBTyxFQUFFLFlBQVk7SUFDckIsVUFBVSxFQUFFLFFBQVE7SUFDcEIsU0FBUyxFQUFFLElBQUk7SUFDZixtQkFBbUIsRUFBRSxJQUFJO0lBQ3pCLGdCQUFnQixFQUFFLFlBQVk7Q0FDL0IsQ0FBQztBQUVGLE1BQU0sVUFBVSxjQUFjLENBQUMsR0FBd0I7SUFDckQsT0FBTyxHQUFHLENBQUMsS0FBSyxDQUFDLEtBQUssRUFBRSx1QkFBdUIsQ0FBRSxDQUFDO0FBQ3BELENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBZdW56YWlCdXNpbmVzc0NvbmZpZywgWXVuemFpQ29uZmlnU2VydmljZSB9IGZyb20gJ0B5ZWxvbi91dGlsJztcblxuZXhwb3J0IGNvbnN0IEJVU0lORVNTX0RFRkFVTFRfQ09ORklHOiBZdW56YWlCdXNpbmVzc0NvbmZpZyA9IHtcbiAgYmFzZVVybDogJy9iYWNrc3RhZ2UnLFxuICBzeXN0ZW1Db2RlOiAncG9ydGFsJyxcbiAgbG9naW5Gb3JtOiBudWxsLFxuICByZWZyZXNoVG9rZW5FbmFibGVkOiB0cnVlLFxuICByZWZyZXNoVG9rZW5UeXBlOiAncmUtcmVxdWVzdCdcbn07XG5cbmV4cG9ydCBmdW5jdGlvbiBtZXJnZUJpc0NvbmZpZyhzcnY6IFl1bnphaUNvbmZpZ1NlcnZpY2UpOiBZdW56YWlCdXNpbmVzc0NvbmZpZyB7XG4gIHJldHVybiBzcnYubWVyZ2UoJ2JpcycsIEJVU0lORVNTX0RFRkFVTFRfQ09ORklHKSE7XG59XG4iXX0=