@colijnit/sharedcomponents 262.1.24 → 262.1.26

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 (26) hide show
  1. package/fesm2022/colijnit-sharedcomponents.mjs +2360 -1273
  2. package/fesm2022/colijnit-sharedcomponents.mjs.map +1 -1
  3. package/index.d.ts +170 -3
  4. package/lib/components/activity-modifier/style/_layout.scss +36 -36
  5. package/lib/components/activity-modifier/style/_theme.scss +5 -5
  6. package/lib/components/activity-modifier/style/material.scss +4 -4
  7. package/lib/components/activity-timeline/style/_layout.scss +86 -86
  8. package/lib/components/search-presets/search-preset-overview-component/style/_layout.scss +4 -0
  9. package/lib/components/search-presets/search-preset-overview-component/style/_material-definition.scss +0 -0
  10. package/lib/components/search-presets/search-preset-overview-component/style/_theme.scss +4 -0
  11. package/lib/components/search-presets/search-preset-overview-component/style/material.scss +4 -0
  12. package/lib/components/search-presets/search-preset-overview-dialog-component/style/_layout.scss +8 -0
  13. package/lib/components/search-presets/search-preset-overview-dialog-component/style/_material-definition.scss +0 -0
  14. package/lib/components/search-presets/search-preset-overview-dialog-component/style/_theme.scss +4 -0
  15. package/lib/components/search-presets/search-preset-overview-dialog-component/style/material.scss +4 -0
  16. package/lib/components/search-presets/search-preset-save-dialog/style/_layout.scss +26 -0
  17. package/lib/components/search-presets/search-preset-save-dialog/style/_material-definition.scss +0 -0
  18. package/lib/components/search-presets/search-preset-save-dialog/style/_theme.scss +4 -0
  19. package/lib/components/search-presets/search-preset-save-dialog/style/material.scss +4 -0
  20. package/lib/components/search-presets/search-presets-pinned/style/_layout.scss +59 -0
  21. package/lib/components/search-presets/search-presets-pinned/style/_material-definition.scss +0 -0
  22. package/lib/components/search-presets/search-presets-pinned/style/_theme.scss +4 -0
  23. package/lib/components/search-presets/search-presets-pinned/style/material.scss +4 -0
  24. package/lib/components/timeline/style/_layout.scss +1 -0
  25. package/lib/components/timeline/style/_material-definition.scss +1 -0
  26. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -61,7 +61,11 @@ import { ReportLayoutSelectionPrint } from '@colijnit/mainapi/build/model/report
61
61
  import { ReportLayoutSelectionEmail } from '@colijnit/mainapi/build/model/report-layout-selection-email.bo';
62
62
  import { RelationLight } from '@colijnit/mainapi/build/model/relation-light.bo';
63
63
  import * as i3 from '@colijnit/corecomponents_v12';
64
- import { CoreDialogService, BaseModuleScreenConfigService, SimpleGridColumnTemplateType, OverlayService, ScreenConfigAdapterComponent, FormComponent, PromptService, FormMasterService, IconCacheService as IconCacheService$1, InputTextComponent, ColorSequenceService, IconListItem, ColorSequenceName } from '@colijnit/corecomponents_v12';
64
+ import { CoreDialogService, BaseModuleScreenConfigService, SimpleGridColumnTemplateType, OverlayService, ScreenConfigAdapterComponent, FormComponent, PromptService, FormMasterService, IconCacheService as IconCacheService$1, InputTextComponent, ColorSequenceService, IconListItem, ColorSequenceName, CoreComponentsIcon } from '@colijnit/corecomponents_v12';
65
+ import { UserGroup } from '@colijnit/mainapi/build/model/user-group.bo';
66
+ import { PresetSearchRequest } from '@colijnit/mainapi/build/model/preset-search-request';
67
+ import { PresetUser } from '@colijnit/mainapi/build/model/preset-user.bo';
68
+ import { Preset } from '@colijnit/mainapi/build/model/preset.bo';
65
69
  import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
66
70
  import { SendMethodType } from '@colijnit/mainapi/build/enum/send-method-type.enum';
67
71
  import { PrintStockStickers as PrintStockStickers$1 } from '@colijnit/articleapi/build/model/print-stock-stickers';
@@ -109,6 +113,8 @@ import { FormQuestionResponse } from '@colijnit/mainapi/build/model/form-questio
109
113
  import { BusinessObjectIDType } from '@colijnit/ioneconnector/build/type/business-object-id-type';
110
114
  import { RelationKind as RelationKind$1 } from '@colijnit/mainapi/build/enum/relation-kind';
111
115
  import { Relation } from '@colijnit/relationapi/build/model/relation.bo';
116
+ import { PresetModule } from '@colijnit/mainapi/build/enum/preset-module.enum';
117
+ import { PresetElement } from '@colijnit/mainapi/build/enum/preset-element.enum';
112
118
  import { Options } from '@colijnit/ioneconnector/build/model/options';
113
119
 
114
120
  interface TextDimension {
@@ -353,6 +359,14 @@ declare class SharedConnectorService {
353
359
  lockFormResponse(formResponseId: number): Promise<boolean>;
354
360
  unlockFormResponse(formResponseId: number): Promise<boolean>;
355
361
  getBranchesByWarehouseNumber(warehouseNo: number): Promise<RelationLight[]>;
362
+ getUserGroups(): Promise<UserGroup[]>;
363
+ getPresets(request: PresetSearchRequest): Promise<Preset[]>;
364
+ savePreset(preset: Preset): Promise<boolean>;
365
+ deletePreset(preset: Preset): Promise<boolean>;
366
+ updatePreset(preset: Preset): Promise<boolean>;
367
+ getPresetUsers(request: PresetSearchRequest): Promise<PresetUser[]>;
368
+ getPinnedPresetUsers(request: PresetSearchRequest): Promise<PresetUser[]>;
369
+ updatePresetUsers(presetUser: PresetUser): Promise<boolean>;
356
370
  getStockStickerEmailLayouts(): Promise<ReportLayoutSelectionEmail[]>;
357
371
  getStockStickerPrintLayouts(): Promise<ReportLayoutSelectionPrint[]>;
358
372
  printStockStickers(printStockStickersRequest: PrintStockStickersRequest): Promise<boolean>;
@@ -1013,7 +1027,7 @@ declare class StockLocationPopupComponent implements OnInit {
1013
1027
  amountInStockChanged(data: any): void;
1014
1028
  handleOkClick(): Promise<void>;
1015
1029
  togglePopup(): void;
1016
- locationForNumber(number: string): "" | StockLocation;
1030
+ locationForNumber(number: string): StockLocation | "";
1017
1031
  locationChanged(event: StockLocation): void;
1018
1032
  handleStockChange(): void;
1019
1033
  handleSelectedStockState(event: StockStatus): void;
@@ -4759,6 +4773,7 @@ declare class RemarkActivityLeafComponent extends BaseActivityLeafComponent impl
4759
4773
  constructor(fileTypeImgPipe: FileTypeImagePipe, iconCacheService: IconCacheService, _sharedService: SharedService, _cfgService: BaseModuleScreenConfigService);
4760
4774
  ngOnInit(): Promise<void>;
4761
4775
  handleViewOrEditClick(event: MouseEvent): void;
4776
+ get hasDocuments(): boolean;
4762
4777
  static ɵfac: i0.ɵɵFactoryDeclaration<RemarkActivityLeafComponent, never>;
4763
4778
  static ɵcmp: i0.ɵɵComponentDeclaration<RemarkActivityLeafComponent, "co-remark-activity-leaf", never, { "myCfgNames": { "alias": "myCfgNames"; "required": false; }; }, { "viewOrEditClick": "viewOrEditClick"; }, never, never, false, never>;
4764
4779
  }
@@ -4799,6 +4814,7 @@ declare class WorkActivityLeafComponent extends BaseActivityLeafComponent {
4799
4814
  showWorkedTime: boolean;
4800
4815
  constructor(fileTypeImgPipe: FileTypeImagePipe, _sharedService: SharedService, _cfgService: BaseModuleScreenConfigService, iconCacheService: IconCacheService);
4801
4816
  handleViewOrEditClick(event: MouseEvent): void;
4817
+ get hasDocuments(): boolean;
4802
4818
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkActivityLeafComponent, never>;
4803
4819
  static ɵcmp: i0.ɵɵComponentDeclaration<WorkActivityLeafComponent, "co-work-activity-leaf", never, { "myCfgNames": { "alias": "myCfgNames"; "required": false; }; }, { "viewOrEditClick": "viewOrEditClick"; }, never, never, false, never>;
4804
4820
  }
@@ -4961,6 +4977,157 @@ declare class ActivityTimelineModule {
4961
4977
  static ɵinj: i0.ɵɵInjectorDeclaration<ActivityTimelineModule>;
4962
4978
  }
4963
4979
 
4980
+ declare class SearchPresetsService {
4981
+ private _sharedConnector;
4982
+ relationId: number;
4983
+ isAdmin: boolean;
4984
+ presetUserCollection: PresetUser[];
4985
+ constructor(_sharedConnector: SharedConnectorService);
4986
+ savePreset(preset: Preset): Promise<boolean>;
4987
+ updatePreset(preset: Preset): Promise<boolean>;
4988
+ deletePreset(preset: Preset): Promise<boolean>;
4989
+ getPresets(request: PresetSearchRequest): Promise<Preset[]>;
4990
+ getPresetUsers(request: PresetSearchRequest): Promise<PresetUser[]>;
4991
+ getPinnedPresetUsers(request: PresetSearchRequest): Promise<PresetUser[]>;
4992
+ updatePresetUsers(presetUser: PresetUser): Promise<boolean>;
4993
+ getUserGroups(): Promise<UserGroup[]>;
4994
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchPresetsService, never>;
4995
+ static ɵprov: i0.ɵɵInjectableDeclaration<SearchPresetsService>;
4996
+ }
4997
+
4998
+ declare class SearchPresetOverviewComponent {
4999
+ private _prompt;
5000
+ private _searchPresetService;
5001
+ showSavePresetDialog: boolean;
5002
+ showAllPresets: boolean;
5003
+ showStoreAsCopy: boolean;
5004
+ storeAsCopy: boolean;
5005
+ pinnedPresetUserCollection: PresetUser[];
5006
+ currentActivePreset: Preset;
5007
+ searchRequest: Object;
5008
+ presetModule: PresetModule;
5009
+ presetElement: PresetElement;
5010
+ searchRequestChange: EventEmitter<Object>;
5011
+ searchRequested: EventEmitter<void>;
5012
+ resetFilterClick: EventEmitter<void>;
5013
+ showClass(): boolean;
5014
+ constructor(_prompt: PromptService, _searchPresetService: SearchPresetsService);
5015
+ presetSelectedFromPinnedOptions(selectedPresetUser: PresetUser): void;
5016
+ showAllPresetsClicked(): void;
5017
+ saveDialogCancelClicked(): void;
5018
+ saveDialogSaveClicked(saveAsNew: boolean): Promise<void>;
5019
+ savePresetAsNew(): Promise<boolean>;
5020
+ getPresetsUsers(autoload?: boolean): Promise<void>;
5021
+ getPinnedPresets(): Promise<void>;
5022
+ checkAndApplyDefaultPreset(): void;
5023
+ showAllCloseClicked(): Promise<void>;
5024
+ deletePreset(selectedPreset: Preset): Promise<void>;
5025
+ presetSelectedFromOverview(selectedPresetUser: PresetUser): Promise<void>;
5026
+ refreshPresetsNoAutoLoad(): Promise<void>;
5027
+ private _applyPreset;
5028
+ private _presetAndSearchReset;
5029
+ private _updatePreset;
5030
+ private _savePreset;
5031
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchPresetOverviewComponent, never>;
5032
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchPresetOverviewComponent, "co-search-preset-overview-component", never, { "presetModule": { "alias": "presetModule"; "required": false; }; "presetElement": { "alias": "presetElement"; "required": false; }; }, { "searchRequestChange": "searchRequestChange"; "searchRequested": "searchRequested"; "resetFilterClick": "resetFilterClick"; }, never, never, false, never>;
5033
+ }
5034
+
5035
+ declare class SearchPresetsPinnedComponent {
5036
+ private _searchPresetsService;
5037
+ private _presetElement;
5038
+ activePreset: Preset;
5039
+ component: string;
5040
+ presetUserCollection: PresetUser[];
5041
+ presetModule: PresetModule;
5042
+ set presetElement(element: PresetElement);
5043
+ presetChosen: EventEmitter<any>;
5044
+ showAll: EventEmitter<any>;
5045
+ showClass(): boolean;
5046
+ constructor(_searchPresetsService: SearchPresetsService);
5047
+ presetClicked(selectedPresetUser: PresetUser): void;
5048
+ showAllClicked(): void;
5049
+ getPinned(): Promise<void>;
5050
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchPresetsPinnedComponent, never>;
5051
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchPresetsPinnedComponent, "co-search-preset-pinned", never, { "activePreset": { "alias": "activePreset"; "required": false; }; "component": { "alias": "component"; "required": false; }; "presetUserCollection": { "alias": "presetUserCollection"; "required": false; }; "presetModule": { "alias": "presetModule"; "required": false; }; "presetElement": { "alias": "presetElement"; "required": false; }; }, { "presetChosen": "presetChosen"; "showAll": "showAll"; }, never, never, false, never>;
5052
+ }
5053
+
5054
+ declare class SearchPresetsPinnedModule {
5055
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchPresetsPinnedModule, never>;
5056
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SearchPresetsPinnedModule, [typeof SearchPresetsPinnedComponent], [typeof i2.CommonModule, typeof i3.ButtonModule, typeof SharedComponentsTranslationModule], [typeof SearchPresetsPinnedComponent]>;
5057
+ static ɵinj: i0.ɵɵInjectorDeclaration<SearchPresetsPinnedModule>;
5058
+ }
5059
+
5060
+ declare class SearchPresetOverviewDialogComponent implements OnInit {
5061
+ coreIconCacheService: IconCacheService$1;
5062
+ iconCacheService: IconCacheService;
5063
+ searchPresetsService: SearchPresetsService;
5064
+ readonly simpleGridColumnTemplateType: typeof SimpleGridColumnTemplateType;
5065
+ readonly icons: typeof Icon;
5066
+ readonly coreIcons: typeof CoreComponentsIcon;
5067
+ presetModule: PresetModule;
5068
+ presetElement: PresetElement;
5069
+ presetSelected: EventEmitter<PresetUser>;
5070
+ presetDeleted: EventEmitter<Preset>;
5071
+ closeClicked: EventEmitter<void>;
5072
+ requestRefresh: EventEmitter<void>;
5073
+ selectedPreset: PresetUser;
5074
+ showDelete: boolean;
5075
+ showClass(): boolean;
5076
+ constructor(coreIconCacheService: IconCacheService$1, iconCacheService: IconCacheService, searchPresetsService: SearchPresetsService);
5077
+ ngOnInit(): Promise<void>;
5078
+ openPresetClicked(selectedPresetUser: PresetUser): void;
5079
+ cancelButtonClicked(): void;
5080
+ handleRowSelect(presetUser: any): void;
5081
+ handleRowDelete(event: any): void;
5082
+ standardChanged(alteredPresetUser: PresetUser): Promise<void>;
5083
+ autoLoadChanged(alteredPresetUser: PresetUser): Promise<void>;
5084
+ pinOnScreenChanged(alteredPresetUser: PresetUser): Promise<void>;
5085
+ private _upsertPreset;
5086
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchPresetOverviewDialogComponent, never>;
5087
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchPresetOverviewDialogComponent, "co-search-preset-overview-dialog", never, { "presetModule": { "alias": "presetModule"; "required": false; }; "presetElement": { "alias": "presetElement"; "required": false; }; }, { "presetSelected": "presetSelected"; "presetDeleted": "presetDeleted"; "closeClicked": "closeClicked"; "requestRefresh": "requestRefresh"; }, never, never, false, never>;
5088
+ }
5089
+
5090
+ declare class SearchPresetOverviewDialogModule {
5091
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchPresetOverviewDialogModule, never>;
5092
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SearchPresetOverviewDialogModule, [typeof SearchPresetOverviewDialogComponent], [typeof i2.CommonModule, typeof i3.ButtonModule, typeof i3.CoDialogModule, typeof i3.IconModule, typeof i3.InputCheckboxModule, typeof i3.SimpleGridModule, typeof SharedComponentsTranslationModule], [typeof SearchPresetOverviewDialogComponent]>;
5093
+ static ɵinj: i0.ɵɵInjectorDeclaration<SearchPresetOverviewDialogModule>;
5094
+ }
5095
+
5096
+ declare class SearchPresetSaveDialogComponent {
5097
+ iconCacheService: IconCacheService;
5098
+ searchPresetService: SearchPresetsService;
5099
+ protected readonly icons: typeof Icon;
5100
+ userGroupCollection: UserGroup[];
5101
+ userGroupsChosen: UserGroup[];
5102
+ storeAsCopyVisible: boolean;
5103
+ storeAsCopy: boolean;
5104
+ set preset(newPreset: Preset);
5105
+ saveClicked: EventEmitter<boolean>;
5106
+ cancelClicked: EventEmitter<void>;
5107
+ currentPreset: Preset;
5108
+ showClass(): boolean;
5109
+ constructor(iconCacheService: IconCacheService, searchPresetService: SearchPresetsService);
5110
+ userGroupsChanged(): void;
5111
+ saveButtonClicked(): void;
5112
+ cancelButtonClicked(): void;
5113
+ private getUserGroups;
5114
+ private setUserGroups;
5115
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchPresetSaveDialogComponent, never>;
5116
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchPresetSaveDialogComponent, "co-search-preset-save-dialog", never, { "storeAsCopyVisible": { "alias": "storeAsCopyVisible"; "required": false; }; "storeAsCopy": { "alias": "storeAsCopy"; "required": false; }; "preset": { "alias": "preset"; "required": false; }; }, { "saveClicked": "saveClicked"; "cancelClicked": "cancelClicked"; }, never, never, false, never>;
5117
+ }
5118
+
5119
+ declare class SearchPresetSaveDialogModule {
5120
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchPresetSaveDialogModule, never>;
5121
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SearchPresetSaveDialogModule, [typeof SearchPresetSaveDialogComponent], [typeof i2.CommonModule, typeof i3.InputTextModule, typeof i3.ListOfValuesModule, typeof i3.InputCheckboxModule, typeof i3.CoDialogModule, typeof i3.ButtonModule, typeof SharedComponentsTranslationModule], [typeof SearchPresetSaveDialogComponent]>;
5122
+ static ɵinj: i0.ɵɵInjectorDeclaration<SearchPresetSaveDialogModule>;
5123
+ }
5124
+
5125
+ declare class SearchPresetOverviewModule {
5126
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchPresetOverviewModule, never>;
5127
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SearchPresetOverviewModule, [typeof SearchPresetOverviewComponent], [typeof i2.CommonModule, typeof SearchPresetsPinnedModule, typeof SearchPresetOverviewDialogModule, typeof SearchPresetSaveDialogModule], [typeof SearchPresetOverviewComponent]>;
5128
+ static ɵinj: i0.ɵɵInjectorDeclaration<SearchPresetOverviewModule>;
5129
+ }
5130
+
4964
5131
  interface FingerPrintResult {
4965
5132
  fingerPrint?: string;
4966
5133
  deviceLabel?: string;
@@ -5247,5 +5414,5 @@ interface TreeViewNodeItemOptions {
5247
5414
  leafConditionField: string;
5248
5415
  }
5249
5416
 
5250
- export { ActivityListComponent, ActivityListModule, ActivityTimelineComponent, ActivityTimelineModule, AgendaEvent, AgendaEventPerDay, CalendarView, CoLinearGaugeComponent, CoLinearGaugeModule, ComponentActivityListComponent, ComponentActivityListModule, DatePlanningComponent, DatePlanningModule, DateRange, Day, DocsignComponent, DocsignModule, FilesUploadComponent, FilesUploadModule, FingerPrintService, FormBuilderUserFormComponent, FormBuilderUserFormModule, GaugeColor$1 as GaugeColor, KeyPadComponent, KeyPadModule, LayoutSwitcherComponent, LayoutSwitcherModule, Month, NULL_AGENDA_EVENT, NULL_AGENDA_EVENT_PER_DAY, NULL_DAY, NULL_MONTH, NULL_WEEK, PreferredPlanningComponent, PreferredPlanningModule, RoleEmailSelectorComponent, RoleEmailSelectorModule, SendMethod, SendMethodDialogComponent, SendMethodDialogModule, SharedComponentsDictionaryService, SharedComponentsTranslationModule, SharedEventService, SharedLocalizePipe, SharedService, SharedSettings, SimpleTagsComponent, SimpleTagsFormComponent, SimpleTagsFormModule, SimpleTagsModule, StatusbarComponent, StatusbarModule, StatusbarPopupComponent, StockComponent, StockModule, TagTreeItem, TaskCreatorComponent, TaskCreatorModule, TimeWindow, TreeObject, TreeView, TreeViewNode, UserFormMode, Week, WeekStart, Weekday, WorkflowInfoTilesComponent, WorkflowInfoTilesModule, sendMethodsWithIcon };
5417
+ export { ActivityListComponent, ActivityListModule, ActivityTimelineComponent, ActivityTimelineModule, AgendaEvent, AgendaEventPerDay, CalendarView, CoLinearGaugeComponent, CoLinearGaugeModule, ComponentActivityListComponent, ComponentActivityListModule, DatePlanningComponent, DatePlanningModule, DateRange, Day, DocsignComponent, DocsignModule, FilesUploadComponent, FilesUploadModule, FingerPrintService, FormBuilderUserFormComponent, FormBuilderUserFormModule, GaugeColor$1 as GaugeColor, KeyPadComponent, KeyPadModule, LayoutSwitcherComponent, LayoutSwitcherModule, Month, NULL_AGENDA_EVENT, NULL_AGENDA_EVENT_PER_DAY, NULL_DAY, NULL_MONTH, NULL_WEEK, PreferredPlanningComponent, PreferredPlanningModule, RoleEmailSelectorComponent, RoleEmailSelectorModule, SearchPresetOverviewComponent, SearchPresetOverviewModule, SearchPresetsService, SendMethod, SendMethodDialogComponent, SendMethodDialogModule, SharedComponentsDictionaryService, SharedComponentsTranslationModule, SharedEventService, SharedLocalizePipe, SharedService, SharedSettings, SimpleTagsComponent, SimpleTagsFormComponent, SimpleTagsFormModule, SimpleTagsModule, StatusbarComponent, StatusbarModule, StatusbarPopupComponent, StockComponent, StockModule, TagTreeItem, TaskCreatorComponent, TaskCreatorModule, TimeWindow, TreeObject, TreeView, TreeViewNode, UserFormMode, Week, WeekStart, Weekday, WorkflowInfoTilesComponent, WorkflowInfoTilesModule, sendMethodsWithIcon };
5251
5418
  export type { StatusbarData, TextDimension, TreeViewModel, TreeViewNodeItemOptions, TreeViewNodeModel };
@@ -1,36 +1,36 @@
1
- @include export-module('co-activity-modifier-layout') {
2
- .co-activity-modifier {
3
- .co-dialog-wrapper {
4
- max-width: 600px;
5
- height: 650px;
6
- max-height: 300px;
7
- }
8
- .dialog-header {
9
- display: flex;
10
- flex-direction: row;
11
- justify-content: space-between;
12
- align-items: center;
13
- font-size: 16px;
14
- padding: 0;
15
- .header-title-wrapper {
16
- display: flex;
17
- align-items: center;
18
- gap: 10px;
19
- .co-icon {
20
- width: 20px;
21
- height: 20px;
22
- }
23
- }
24
- }
25
- .work-wrapper {
26
- display: flex;
27
- flex-direction: column;
28
- gap: 10px;
29
- .double-column {
30
- display: flex;
31
- gap: 10px;
32
- max-width: 100%;
33
- }
34
- }
35
- }
36
- }
1
+ @include export-module('co-activity-modifier-layout') {
2
+ .co-activity-modifier {
3
+ .co-dialog-wrapper {
4
+ max-width: 600px;
5
+ height: 650px;
6
+ max-height: 300px;
7
+ }
8
+ .dialog-header {
9
+ display: flex;
10
+ flex-direction: row;
11
+ justify-content: space-between;
12
+ align-items: center;
13
+ font-size: 16px;
14
+ padding: 0;
15
+ .header-title-wrapper {
16
+ display: flex;
17
+ align-items: center;
18
+ gap: 10px;
19
+ .co-icon {
20
+ width: 20px;
21
+ height: 20px;
22
+ }
23
+ }
24
+ }
25
+ .work-wrapper {
26
+ display: flex;
27
+ flex-direction: column;
28
+ gap: 10px;
29
+ .double-column {
30
+ display: flex;
31
+ gap: 10px;
32
+ max-width: 100%;
33
+ }
34
+ }
35
+ }
36
+ }
@@ -1,5 +1,5 @@
1
- @include export-module('co-activity-task-form-theme') {
2
- .co-modify-task-form {
3
- }
4
- }
5
-
1
+ @include export-module('co-activity-task-form-theme') {
2
+ .co-modify-task-form {
3
+ }
4
+ }
5
+
@@ -1,4 +1,4 @@
1
- @import "../../../style/mixin";
2
- @import "./material-definition";
3
- @import "./layout";
4
- @import "./theme";
1
+ @import "../../../style/mixin";
2
+ @import "./material-definition";
3
+ @import "./layout";
4
+ @import "./theme";
@@ -1,86 +1,86 @@
1
- @include export-module('co-activity-timeline-layout') {
2
- .co-activity-timeline {
3
- .leaf-wrapper {
4
- display: flex;
5
- flex-direction: column;
6
- gap: $leaf-wrapper-gap;
7
- }
8
- .leaf-task-open {
9
- position: absolute;
10
- right: 0;
11
- bottom: 0;
12
- cursor: pointer;
13
- display: flex;
14
- gap: 10px;
15
- .worked-time {
16
- display: flex;
17
- gap: 3px;
18
- align-items: center;
19
- font-size: 10px;
20
- }
21
- .has-documents-leaf {
22
- position: relative;
23
- .amount-documents {
24
- position: absolute;
25
- right: -5px;
26
- top: -5px;
27
- width: 10px;
28
- height: 10px;
29
- font-size: 8px;
30
- background: #5fdcb3;
31
- color: #FFFFFF;
32
- border-radius: 100%;
33
- display: flex;
34
- align-items: center;
35
- justify-content: center;
36
- }
37
- }
38
- }
39
- .co-activity-leaf {
40
- .leaf-header {
41
- font-size: $leaf-header-font-size;
42
- }
43
- .leaf-body {
44
- min-height: 30px;
45
- .trigger-wrapper {
46
- display: flex;
47
- gap: $leaf-trigger-wrapper-gap;
48
- .workflow-state {
49
- font-size: 11px;
50
- display: flex;
51
- align-items: center;
52
- gap: $leaf-trigger-state-end-gap;
53
- &.next {
54
- gap: $leaf-trigger-state-gap;
55
- }
56
- &.ended {
57
- color: $leaf-trigger-state-end-color;
58
- }
59
- .co-icon {
60
- svg {
61
- fill: $leaf-trigger-state-end-color;
62
- }
63
- }
64
- }
65
- .trigger-button {
66
- padding: 7px 15px;
67
- border: 1px solid $leaf-trigger-state-color;
68
- color: $leaf-trigger-state-color;
69
- border-radius: $leaf-trigger-state-border-radius;
70
- cursor: pointer;
71
- background: #FFF;
72
- transition: all 0.2s ease-in-out;
73
- &:hover {
74
- color: #FFF;
75
- background: $leaf-trigger-state-color;
76
- transition: all 0.2s ease-in-out;
77
- }
78
- }
79
- }
80
- }
81
- .remark-content {
82
- font-size: $leaf-header-font-size;
83
- }
84
- }
85
- }
86
- }
1
+ @include export-module('co-activity-timeline-layout') {
2
+ .co-activity-timeline {
3
+ .leaf-wrapper {
4
+ display: flex;
5
+ flex-direction: column;
6
+ gap: $leaf-wrapper-gap;
7
+ }
8
+ .leaf-task-open {
9
+ position: absolute;
10
+ right: 0;
11
+ bottom: 0;
12
+ cursor: pointer;
13
+ display: flex;
14
+ gap: 10px;
15
+ .worked-time {
16
+ display: flex;
17
+ gap: 3px;
18
+ align-items: center;
19
+ font-size: 10px;
20
+ }
21
+ .has-documents-leaf {
22
+ position: relative;
23
+ .amount-documents {
24
+ position: absolute;
25
+ right: -5px;
26
+ top: -5px;
27
+ width: 10px;
28
+ height: 10px;
29
+ font-size: 8px;
30
+ background: #5fdcb3;
31
+ color: #FFFFFF;
32
+ border-radius: 100%;
33
+ display: flex;
34
+ align-items: center;
35
+ justify-content: center;
36
+ }
37
+ }
38
+ }
39
+ .co-activity-leaf {
40
+ .leaf-header {
41
+ font-size: $leaf-header-font-size;
42
+ }
43
+ .leaf-body {
44
+ min-height: 30px;
45
+ .trigger-wrapper {
46
+ display: flex;
47
+ gap: $leaf-trigger-wrapper-gap;
48
+ .workflow-state {
49
+ font-size: 11px;
50
+ display: flex;
51
+ align-items: center;
52
+ gap: $leaf-trigger-state-end-gap;
53
+ &.next {
54
+ gap: $leaf-trigger-state-gap;
55
+ }
56
+ &.ended {
57
+ color: $leaf-trigger-state-end-color;
58
+ }
59
+ .co-icon {
60
+ svg {
61
+ fill: $leaf-trigger-state-end-color;
62
+ }
63
+ }
64
+ }
65
+ .trigger-button {
66
+ padding: 7px 15px;
67
+ border: 1px solid $leaf-trigger-state-color;
68
+ color: $leaf-trigger-state-color;
69
+ border-radius: $leaf-trigger-state-border-radius;
70
+ cursor: pointer;
71
+ background: #FFF;
72
+ transition: all 0.2s ease-in-out;
73
+ &:hover {
74
+ color: #FFF;
75
+ background: $leaf-trigger-state-color;
76
+ transition: all 0.2s ease-in-out;
77
+ }
78
+ }
79
+ }
80
+ }
81
+ .remark-content {
82
+ font-size: $leaf-header-font-size;
83
+ }
84
+ }
85
+ }
86
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('cc-search-preset-overview-component-layout') {
2
+ .co-search-preset-overview-component {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('cc-search-preset-overview-component-theme') {
2
+ .co-search-preset-overview-component {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -0,0 +1,8 @@
1
+ @include export-module('cc-search-preset-overview-dialog-layout') {
2
+ .co-search-preset-overview-dialog {
3
+ .co-dialog-wrapper {
4
+ max-width: 800px;
5
+ height: 600px;
6
+ }
7
+ }
8
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('cc-search-preset-overview-component.scss-theme') {
2
+ .co-search-preset-overview {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -0,0 +1,26 @@
1
+ @include export-module('cc-search-preset-save-dialog-layout') {
2
+ .co-search-preset-save-dialog {
3
+ #preset-save-dialog:not(.is-mobile) .co-dialog-wrapper {
4
+ width: 400px;
5
+ min-height: 200px;
6
+ max-height: 500px;
7
+
8
+ .save-dialog-contents {
9
+ width: 100%;
10
+ display: flex;
11
+ flex-direction: column;
12
+ row-gap: 10px;
13
+ padding: 10px;
14
+
15
+ .co-input-text {
16
+ width: 100%;
17
+ }
18
+
19
+ .co-list-of-values {
20
+ width: 100%;
21
+ }
22
+ }
23
+ }
24
+
25
+ }
26
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('cc-search-preset-save-dialog-theme') {
2
+ .co-search-preset-save-dialog {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -0,0 +1,59 @@
1
+ @include export-module('cc-co-search-preset-pinned-layout') {
2
+ .co-search-preset-pinned {
3
+ width: 100%;
4
+ padding: 2px;
5
+ min-height: 30px;
6
+ display: flex;
7
+ .preset-button {
8
+ display: block;
9
+ }
10
+ .pinned-presets-row {
11
+ width: 100%;
12
+ display: flex;
13
+ flex-direction: row;
14
+ column-gap: 5px;
15
+ padding: 10px 10px 10px 20px;
16
+ justify-content: flex-start;
17
+ flex-wrap: wrap;
18
+ }
19
+ .presets-wrapper {
20
+ display: flex;
21
+ align-items: center;
22
+ flex-wrap: wrap;
23
+ gap: 5px
24
+ }
25
+ .presets {
26
+ height: 16px;
27
+ font-size: 10px;
28
+ color: #000000;
29
+ background: #f5f5fa;
30
+ border-radius: 5px;
31
+ padding: 2px 7px;
32
+ user-select: none;
33
+
34
+ &.active {
35
+ color: #FFFFFF;
36
+ background: red;
37
+ }
38
+ }
39
+
40
+ .show-all-button {
41
+ height: 16px;
42
+ font-size: 10px;
43
+ color: #000000;
44
+ display: flex;
45
+ align-items: center;
46
+ background: #FFFFFF;
47
+ border: 1px solid;
48
+ border-radius: 5px;
49
+ padding: 2px 7px;
50
+ cursor: pointer;
51
+
52
+ &:hover {
53
+ background: #1A73E8;
54
+ color: #FFF;
55
+ filter: none;
56
+ }
57
+ }
58
+ }
59
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('cc-co-search-preset-pinned-theme') {
2
+ .co-search-preset-pinned {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";