qms-angular 1.0.63 → 1.0.68

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/bundles/qms-angular.umd.js +2132 -120
  2. package/bundles/qms-angular.umd.js.map +1 -1
  3. package/esm2015/lib/common/enum/data-type.enum.js +14 -0
  4. package/esm2015/lib/common/enum/document-node-type.enum.js +12 -0
  5. package/esm2015/lib/common/enum/module-type.enum.js +8 -0
  6. package/esm2015/lib/common/related.const.js +6 -0
  7. package/esm2015/lib/components/badges/qms-badges.component.js +7 -4
  8. package/esm2015/lib/components/breadcrumb/breadcrumb.js +1 -1
  9. package/esm2015/lib/components/qms-app-bar/qms-app-bar.component.js +3 -3
  10. package/esm2015/lib/components/qms-stepper/qms-stepper.component.js +3 -2
  11. package/esm2015/lib/components/related/model/related-data.model.js +3 -1
  12. package/esm2015/lib/components/related/popup/related-popup.component.js +31 -10
  13. package/esm2015/lib/components/related/risk/analysis/analysis.component.js +1 -3
  14. package/esm2015/lib/components/select-include-children/select-include-children.component.js +7 -8
  15. package/esm2015/lib/components/select-one/select-one.component.js +10 -2
  16. package/esm2015/lib/components/select-process-document/index.js +2 -0
  17. package/esm2015/lib/components/select-process-document/models/pop-up-data.model.js +13 -0
  18. package/esm2015/lib/components/select-process-document/models/qms-process-document-item.model.js +3 -0
  19. package/esm2015/lib/components/select-process-document/models/selected-process-document-item.model.js +3 -0
  20. package/esm2015/lib/components/select-process-document/public-api.js +7 -0
  21. package/esm2015/lib/components/select-process-document/select-process-document.component.js +832 -0
  22. package/esm2015/lib/components/select-process-document/select-process-document.module.js +59 -0
  23. package/esm2015/lib/components/select-process-document/services/select-process-document-global.service.js +29 -0
  24. package/esm2015/lib/components/tree/model/tree-config.model.js +1 -1
  25. package/esm2015/lib/components/tree/tree.component.js +33 -28
  26. package/esm2015/lib/components/treeNew/index.js +2 -0
  27. package/esm2015/lib/components/treeNew/model/tree-node.model.js +3 -0
  28. package/esm2015/lib/components/treeNew/model/tree.model.js +3 -0
  29. package/esm2015/lib/components/treeNew/public-api.js +5 -0
  30. package/esm2015/lib/components/treeNew/tree.component.js +785 -0
  31. package/esm2015/lib/components/treeNew/tree.function.js +97 -0
  32. package/esm2015/lib/components/treeNew/tree.module.js +51 -0
  33. package/esm2015/lib/directives/app-bar/app-bar.directive.js +24 -0
  34. package/esm2015/lib/model/en.js +3 -3
  35. package/esm2015/lib/model/no.js +3 -3
  36. package/esm2015/lib/qms-angular.module.js +6 -3
  37. package/esm2015/public-api.js +8 -1
  38. package/fesm2015/qms-angular.js +2109 -209
  39. package/fesm2015/qms-angular.js.map +1 -1
  40. package/lib/common/enum/data-type.enum.d.ts +12 -0
  41. package/lib/common/enum/document-node-type.enum.d.ts +10 -0
  42. package/lib/common/enum/module-type.enum.d.ts +6 -0
  43. package/lib/common/related.const.d.ts +5 -0
  44. package/lib/components/badges/qms-badges.component.d.ts +3 -0
  45. package/lib/components/related/model/related-data.model.d.ts +3 -0
  46. package/lib/components/related/popup/related-popup.component.d.ts +7 -3
  47. package/lib/components/select-include-children/select-include-children.component.d.ts +8 -9
  48. package/lib/components/select-one/select-one.component.d.ts +1 -0
  49. package/lib/components/select-process-document/index.d.ts +1 -0
  50. package/lib/components/select-process-document/models/pop-up-data.model.d.ts +17 -0
  51. package/lib/components/select-process-document/models/qms-process-document-item.model.d.ts +13 -0
  52. package/lib/components/select-process-document/models/selected-process-document-item.model.d.ts +16 -0
  53. package/lib/components/select-process-document/public-api.d.ts +6 -0
  54. package/lib/components/select-process-document/select-process-document.component.d.ts +116 -0
  55. package/lib/components/select-process-document/select-process-document.module.d.ts +2 -0
  56. package/lib/components/select-process-document/services/select-process-document-global.service.d.ts +14 -0
  57. package/lib/components/tree/model/tree-config.model.d.ts +2 -2
  58. package/lib/components/tree/tree.component.d.ts +1 -2
  59. package/lib/components/treeNew/index.d.ts +1 -0
  60. package/lib/components/treeNew/model/tree-node.model.d.ts +8 -0
  61. package/lib/components/treeNew/model/tree.model.d.ts +11 -0
  62. package/lib/components/treeNew/public-api.d.ts +4 -0
  63. package/lib/components/treeNew/tree.component.d.ts +135 -0
  64. package/lib/components/treeNew/tree.function.d.ts +13 -0
  65. package/lib/components/treeNew/tree.module.d.ts +2 -0
  66. package/lib/directives/app-bar/app-bar.directive.d.ts +8 -0
  67. package/lib.theme.scss +1 -0
  68. package/package.json +1 -1
  69. package/public-api.d.ts +7 -0
  70. package/qms-angular.metadata.json +1 -1
  71. package/src/assets/jointjs/scss/bpmn.scss +1 -9
  72. package/src/assets/jointjs/scss/dist/bpmn.css +854 -0
  73. package/src/assets/qms-ckeditor-plugin/package-lock.json +12177 -9
  74. package/src/assets/qms-ckeditor-plugin/src/dist/ckeditor.dev.js +173 -0
  75. package/src/assets/qms-ckeditor-plugin/src/plugins/fullscreen/dist/qmsCKEditorFullscreenPlugin.dev.js +87 -0
  76. package/src/lib/components/badges/_qms-badges-base.scss +7 -2
  77. package/src/lib/components/breadcrumb/breadcrumb.scss +1 -1
  78. package/src/lib/components/qms-app-bar/qms-app-bar.component.scss +16 -2
  79. package/src/lib/components/related/popup/related-popup.component.scss +22 -1
  80. package/src/lib/components/select-process-document/select-process-document.component.scss +300 -0
  81. package/src/lib/components/tree/tree.component.scss +4 -6
  82. package/src/lib/components/treeNew/tree.component.scss +175 -0
  83. package/src/themes/core/_app-bar.scss +14 -0
@@ -84,7 +84,7 @@
84
84
 
85
85
  &.bgSelected {
86
86
 
87
- .icon-check {
87
+ .select-one-checked {
88
88
  color: $primary;
89
89
  }
90
90
  }
@@ -107,11 +107,8 @@
107
107
 
108
108
  cursor: pointer;
109
109
 
110
- &.bgSelected {
111
-
112
- .icon-check {
113
- color: $primary;
114
- }
110
+ .select-one-checked {
111
+ color: $primary;
115
112
  }
116
113
  }
117
114
 
@@ -173,3 +170,4 @@ svg {
173
170
  }
174
171
 
175
172
 
173
+
@@ -0,0 +1,175 @@
1
+ @import "../../../themes/color";
2
+ @import "../../../themes/core/colors";
3
+ @import "../../../themes/core/typography";
4
+
5
+ .tree__container {
6
+ // .mat-tree{
7
+ // background: #00283A;
8
+ // }
9
+ font-family: "Open Sans";
10
+ font-style: normal;
11
+ font-weight: normal;
12
+ font-size: 0.875rem;
13
+ line-height: 19px;
14
+ color: $default-color;
15
+
16
+ .mat-tree-node {
17
+ color: $tree-node-color;
18
+ min-height: 0px;
19
+
20
+ .mat-checkbox.qms-group-options {
21
+ padding: 0px;
22
+ }
23
+
24
+ .mat-checkbox.qms-group-options .mat-checkbox-inner-container {
25
+ margin-right: 11px;
26
+ }
27
+ }
28
+
29
+ .button {
30
+ margin-left: 6px;
31
+ }
32
+ .button:hover {
33
+ background-color: $tree-node-background-color;
34
+ border-radius: 2px;
35
+ width: auto;
36
+ }
37
+ .button:focus {
38
+ background-color: $tree-node-background-color;
39
+ border-radius: 2px;
40
+ width: auto;
41
+ outline: 0;
42
+ }
43
+
44
+ .button-boder:focus {
45
+ outline: 0;
46
+ }
47
+
48
+ .button-folder-boder:focus {
49
+ outline: 0;
50
+ background-color: $tree-node-boder-color;
51
+ border-radius: 2px;
52
+ width: auto;
53
+ }
54
+
55
+ .button-folder-boder:hover {
56
+ background-color: $tree-node-boder-color;
57
+ border-radius: 2px;
58
+ width: auto;
59
+ }
60
+
61
+ .expand-node {
62
+ margin-left: 8px;
63
+ display: flex;
64
+ align-items: center;
65
+ min-height: 32px;
66
+ justify-content: space-between;
67
+ width: 100%;
68
+
69
+ .expand-node__text {
70
+ display: flex;
71
+ align-items: center;
72
+ }
73
+
74
+ .mat-icon {
75
+ color: black(0.6);
76
+ margin-right: 17px;
77
+ min-width: fit-content;
78
+
79
+ svg {
80
+ display: block;
81
+ min-width: fit-content;
82
+ }
83
+ }
84
+
85
+ &.bgSelected {
86
+
87
+ .icon-check {
88
+ color: $primary;
89
+ }
90
+ }
91
+ }
92
+
93
+ // span.text-node {
94
+ // // margin-left: 17px;
95
+ // }
96
+
97
+ .text-node-parent {
98
+ width: 100%;
99
+ display: flex;
100
+ align-items: center;
101
+ justify-content: space-between;
102
+ margin-left: 10px;
103
+
104
+ &.active-item{
105
+ color:#1954A9 !important;
106
+ }
107
+
108
+ cursor: pointer;
109
+
110
+ &.bgSelected {
111
+
112
+ .icon-check {
113
+ color: $primary;
114
+ }
115
+ }
116
+ }
117
+
118
+ .mr-11 {
119
+ margin-right: 11px;
120
+ }
121
+ .ml-10 {
122
+ margin-left: 10px;
123
+ }
124
+
125
+ .tree-branch {
126
+ &:hover {
127
+ background-color: $primary-light-3-opacity;
128
+ }
129
+ }
130
+
131
+ .image-base64 {
132
+ width: 20px;
133
+ height: 20px;
134
+ }
135
+
136
+ .mat-checkbox.qms-group-options.mat-checkbox-checked {
137
+ background: transparent !important;
138
+ }
139
+ }
140
+
141
+ ::ng-deep .mat-tree {
142
+ .mat-checkbox.qms-group-options {
143
+ padding: 0;
144
+ }
145
+
146
+ .mat-checkbox.qms-group-options.mat-checkbox-checked {
147
+ background-color: transparent;
148
+ }
149
+
150
+ .mat-checkbox.qms-group-options .mat-checkbox-inner-container {
151
+ margin-right: 0;
152
+ }
153
+ }
154
+
155
+ svg {
156
+ display: block;
157
+ min-width: fit-content;
158
+ }
159
+
160
+ .open-icon{
161
+ svg{
162
+ path:first-child{
163
+ fill: rgb(25, 84, 169);
164
+ }
165
+ }
166
+ &.not-department-icon{
167
+ svg{
168
+ path{
169
+ fill: rgb(25, 84, 169);
170
+ }
171
+ }
172
+ }
173
+ }
174
+
175
+
@@ -0,0 +1,14 @@
1
+ @import "../../lib/components/list/list.scss";
2
+ @import "../../themes/core/colors";
3
+
4
+ .qms-app-bar-dark {
5
+ background: #00324E !important;
6
+ width : 100% !important;
7
+ height : 56px !important;
8
+ }
9
+
10
+ .qms-app-bar-light {
11
+ background: #E4E4E4 !important;
12
+ width : 100% !important;
13
+ height : 56px !important;
14
+ }