@colijnit/sharedcomponents 255.1.3 → 255.1.5

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.
@@ -10,7 +10,13 @@
10
10
  display: flex;
11
11
  flex-direction: column;
12
12
  column-gap: 5px;
13
- overflow: hidden;
13
+ .co-dialog {
14
+ .co-dialog-overlay {
15
+ min-height: auto;
16
+ height: auto;
17
+ width: auto;
18
+ }
19
+ }
14
20
  }
15
21
  .activity-wrapper {
16
22
  display: flex;
@@ -17,9 +17,54 @@
17
17
  width: 100%;
18
18
  }
19
19
  .co-list-of-icons {
20
+ position: relative;
21
+ display: block;
22
+ height: fit-content;
23
+
20
24
  .icon-item {
21
25
  display: flex;
22
26
  align-items: center;
27
+ position: relative;
28
+ &.menu-opened {
29
+ background: #f6f9fc;
30
+ }
31
+ .drop-arrow {
32
+ display: none;
33
+ }
34
+ .label {
35
+ display: none;
36
+ }
37
+ .co-icon {
38
+ padding: 2px;
39
+ }
40
+ }
41
+ & > .icon-item {
42
+ cursor: pointer;
43
+ padding: 5px;
44
+ &:after {
45
+ content: '';
46
+ width: 0;
47
+ height: 0;
48
+ border-left: 4px solid transparent;
49
+ border-top: 4px solid transparent;
50
+ border-right: 4px solid #000;
51
+ border-bottom: 4px solid #000;
52
+ position: absolute;
53
+ right: -1px;
54
+ bottom: -1px;
55
+ transform: rotate(0deg);
56
+ }
57
+ }
58
+ .dropdown-menu {
59
+ position: absolute;
60
+ top: 100%;
61
+ left: 0;
62
+ padding: 5px;
63
+ background: linear-gradient(180deg, rgba(15, 64, 130, 0.04) 3%, rgba(26, 115, 232, 0.04) 90%);
64
+ box-shadow: 0 4px 4px 0 #0000001A;
65
+ display: flex;
66
+ flex-direction: column;
67
+ gap: 5px;
23
68
  }
24
69
  }
25
70
  }
@@ -10,7 +10,7 @@ import { WorkflowCategoryType } from "@colijnit/mainapi/build/enum/workflow-cate
10
10
  import { CoDocument } from "@colijnit/mainapi/build/model/co-document";
11
11
  import { activityEmailRequestData } from "@colijnit/mainapi/build/model/activity-email-request-data";
12
12
  import { SharedService } from "../../service/shared.service";
13
- import { CoreDialogService, FormComponent } from "@colijnit/corecomponents_v12";
13
+ import { CoreDialogService, FormComponent, FormMasterService } from "@colijnit/corecomponents_v12";
14
14
  import { IconListItem } from "@colijnit/corecomponents_v12/lib/model/icon-list-item";
15
15
  import { DictionaryService } from "../../service/dictionary.service";
16
16
  export declare class TaskCreatorComponent implements OnInit {
@@ -18,6 +18,7 @@ export declare class TaskCreatorComponent implements OnInit {
18
18
  dictionaryService: DictionaryService;
19
19
  sharedService: SharedService;
20
20
  private _dialogService;
21
+ private _formMasterService;
21
22
  readonly icons: typeof Icon;
22
23
  createForm: FormComponent;
23
24
  author: RelationSmallObject;
@@ -44,7 +45,7 @@ export declare class TaskCreatorComponent implements OnInit {
44
45
  workDescription: string;
45
46
  taskName: string;
46
47
  taskDescription: string;
47
- constructor(iconService: IconCacheService, dictionaryService: DictionaryService, sharedService: SharedService, _dialogService: CoreDialogService);
48
+ constructor(iconService: IconCacheService, dictionaryService: DictionaryService, sharedService: SharedService, _dialogService: CoreDialogService, _formMasterService: FormMasterService);
48
49
  ngOnInit(): Promise<void>;
49
50
  itemSelected(item: IconListItem): void;
50
51
  addedDocument(docs: CoDocument[]): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/sharedcomponents",
3
- "version": "255.1.3",
3
+ "version": "255.1.5",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "chart.js": "4.3.0",