@vitrosoftware/common-ui-ts 1.1.24 → 1.1.25

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 (36) hide show
  1. package/css/common.css +1 -0
  2. package/css/std/controls/alert/alert.css +15 -10
  3. package/css/std/controls/command-menu/command-menu-dropdown-button.css +7 -2
  4. package/css/std/controls/dialog/dialog-button-close.css +3 -5
  5. package/css/std/controls/dialog/dialog-button.css +4 -0
  6. package/css/std/controls/dialog/dialog-content.css +9 -21
  7. package/css/std/controls/dialog/dialog-footer.css +6 -5
  8. package/css/std/controls/dialog/dialog-header.css +27 -3
  9. package/css/std/controls/dialog/dialog.css +3 -8
  10. package/css/std/controls/lookup-picker/lookup-picker.css +1 -0
  11. package/css/std/controls/pdf-viewer/pdf-viewer.css +369 -139
  12. package/css/std/controls/tab-group/tab-group.css +4 -0
  13. package/css/std/controls/table-view/treegrid.css +5 -4
  14. package/css/std/controls/tree-view/tree-view.css +21 -3
  15. package/dist/constants/Event.d.ts +2 -1
  16. package/dist/controls/Dialog/Dialog.d.ts +16 -6
  17. package/dist/controls/Dialog/DialogButton.d.ts +2 -3
  18. package/dist/controls/Dialog/DialogComponent.d.ts +0 -1
  19. package/dist/controls/Dialog/DialogContent.d.ts +1 -0
  20. package/dist/controls/Dialog/DialogFooter.d.ts +5 -5
  21. package/dist/controls/Dialog/DialogHeader.d.ts +2 -0
  22. package/dist/controls/TabGroup/TabGroup.d.ts +1 -0
  23. package/dist/controls/TabGroup/TabGroupComponent.d.ts +1 -0
  24. package/dist/controls/TreeView/JsTreeViewContextImpl.d.ts +7 -0
  25. package/dist/controls/TreeView/TreeView.d.ts +2 -0
  26. package/dist/controls/TreeView/TreeViewConfig.d.ts +12 -6
  27. package/dist/controls/TreeView/TreeViewConstants.d.ts +23 -1
  28. package/dist/controls/TreeView/TreeViewContext.d.ts +7 -0
  29. package/dist/index.css +130 -88
  30. package/dist/index.d.ts +2 -2
  31. package/dist/index.js +216 -94
  32. package/dist/index.js.map +1 -1
  33. package/dist/index.modern.js +216 -94
  34. package/dist/index.modern.js.map +1 -1
  35. package/package.json +1 -1
  36. package/src/controls/PdfViewer/js/pdf-viewer.js +213 -71
@@ -69,6 +69,10 @@
69
69
  border-radius: 0 0 4px 4px;
70
70
  }
71
71
 
72
+ .vitro-tab :global(.nav) :global(.dropdown-item):first-child:last-child {
73
+ border-radius: 4px;
74
+ }
75
+
72
76
  .vitro-tab :global(.nav) > div.vitro-item {
73
77
  flex-grow: 1;
74
78
  text-align: center;
@@ -190,6 +190,11 @@
190
190
  .TWMenuItemText {
191
191
  line-height: 150%;
192
192
  padding-left: 12px;
193
+ white-space: normal;
194
+ }
195
+
196
+ div.TWMenuItemText {
197
+ margin-left: 32px;
193
198
  }
194
199
 
195
200
  .TWMenuItemIcon {
@@ -576,10 +581,6 @@
576
581
  padding: 0 8px !important;
577
582
  }
578
583
 
579
- .TWMenuItemText {
580
- white-space: normal;
581
- }
582
-
583
584
  .TWMenuItem.TWCfgMenuItem#TGMenu-0-style {
584
585
  display: none;
585
586
  }
@@ -4,7 +4,6 @@
4
4
  }
5
5
 
6
6
  :global(#TreeView) :global(.ps) {
7
- padding-top: 8px;
8
7
  padding-right: 12px;
9
8
  }
10
9
 
@@ -63,6 +62,10 @@
63
62
  margin-left: 0;
64
63
  }
65
64
 
65
+ :global(.vitro-root-node > .jstree-anchor > .jstree-checkbox) {
66
+ display: none;
67
+ }
68
+
66
69
  .vitro-tree-view :global(.vitro-root-node) > :global(.jstree-anchor) > :global(.jstree-icon.folder) {
67
70
  /* root-folder.svg URL-encoder for SVG */
68
71
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.6464 5.35355C10.7402 5.44732 10.8674 5.5 11 5.5H19C20.3807 5.5 21.5 6.61929 21.5 8V18C21.5 19.3807 20.3807 20.5 19 20.5H5C3.61929 20.5 2.5 19.3807 2.5 18V6C2.5 4.61929 3.61929 3.5 5 3.5H7.75736C8.4204 3.5 9.05629 3.76339 9.52513 4.23223L10.6464 5.35355Z' stroke='%23999B9D' stroke-linejoin='round'/%3E%3Cpath d='M8 16L12 10' stroke='%23999B9D' stroke-linecap='round'/%3E%3Cpath d='M12 16L16 16' stroke='%23999B9D' stroke-linecap='round'/%3E%3C/svg%3E%0A") !important;
@@ -92,7 +95,7 @@
92
95
  height: 32px !important;
93
96
  line-height: 32px !important;
94
97
  background-position: center !important;
95
- background-size: 100% !important;
98
+ background-size: 100%;
96
99
  margin-right: 4px;
97
100
  }
98
101
 
@@ -108,4 +111,19 @@
108
111
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.5 7L14.5 12L9.5 17' stroke='%238E98A3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
109
112
  background-repeat: no-repeat;
110
113
  background-position: center center !important;
111
- }
114
+ }
115
+
116
+ .vitro-tree-view :global(.jstree-checkbox) {
117
+ /* checkbox-big-empty.svg URL-encoder for SVG */
118
+ background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2.5' y='2.5' width='19' height='19' rx='2' stroke='%23C0CAD5'/%3E%3C/svg%3E%0A");
119
+ }
120
+
121
+ .vitro-tree-view :global(.jstree-checked .jstree-checkbox) {
122
+ /* checkbox-big-active.svg URL-encoder for SVG */
123
+ background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2' y='2' width='20' height='20' rx='2.5' fill='%234292F7'/%3E%3Cpath d='M16.7062 8.50593C17.0826 8.86144 17.0996 9.45479 16.7441 9.83121L11.4316 15.4562C11.2577 15.6404 11.0166 15.7463 10.7634 15.7499C10.5101 15.7535 10.2662 15.6545 10.0871 15.4754L7.27459 12.6629C6.90847 12.2968 6.90847 11.7032 7.27459 11.3371C7.6407 10.971 8.2343 10.971 8.60041 11.3371L10.7308 13.4675L15.3809 8.54379C15.7364 8.16737 16.3298 8.15042 16.7062 8.50593Z' fill='white'/%3E%3C/svg%3E%0A");
124
+ }
125
+
126
+ .vitro-tree-view :global(.jstree-checkbox.jstree-undetermined) {
127
+ /* checkbox-big-undetermined.svg URL-encoder for SVG */
128
+ background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='7' y='7' width='10' height='10' rx='1' fill='%234292F7'/%3E%3Crect x='2.625' y='2.625' width='18.75' height='18.75' rx='1.875' stroke='%23C0CAD5' stroke-width='1.25'/%3E%3C/svg%3E%0A");
129
+ }
@@ -7,5 +7,6 @@ export declare enum EVENT {
7
7
  DRAGLEAVE = "dragleave",
8
8
  HISTORY_UPDATE = "vitro.history.update",
9
9
  HISTORY_CHANGED = "vitro.history.changed",
10
- DROP = "drop"
10
+ DROP = "drop",
11
+ CONTEXTMENU = "contextmenu"
11
12
  }
@@ -1,13 +1,23 @@
1
- /// <reference types="react" />
2
- interface DialogProps {
1
+ import React from 'react';
2
+ import { DialogButtonProps } from './DialogButton';
3
+ export interface DialogProps {
3
4
  title: string;
5
+ description?: string;
6
+ imageUrl?: string;
7
+ buttonList?: DialogButtonProps[];
4
8
  labelClose?: string;
5
- labelAction?: string;
6
9
  isDismissible?: boolean;
10
+ onClose?: (dialog: any) => any;
7
11
  width?: number;
8
12
  height?: number;
9
- onClose?: () => any;
10
- children: any;
13
+ content?: {
14
+ component: React.FunctionComponent<any>;
15
+ props: {
16
+ [key: string]: any;
17
+ };
18
+ };
19
+ isHideFooter?: boolean;
20
+ dialog?: any;
21
+ children?: React.ReactNode;
11
22
  }
12
23
  export declare const Dialog: (props: DialogProps) => JSX.Element;
13
- export {};
@@ -1,9 +1,8 @@
1
1
  /// <reference types="react" />
2
- interface DialogButtonProps {
2
+ export interface DialogButtonProps {
3
3
  text: string;
4
- onClick: () => any;
4
+ onClick: (dialog: any) => any;
5
5
  isDisabled?: boolean;
6
6
  className?: string;
7
7
  }
8
8
  export declare const DialogButton: (props: DialogButtonProps) => JSX.Element;
9
- export {};
@@ -3,7 +3,6 @@ interface DialogComponent {
3
3
  width?: number;
4
4
  height?: number;
5
5
  children: any;
6
- isDismissibe?: boolean;
7
6
  }
8
7
  export declare const DialogComponent: (props: DialogComponent) => JSX.Element;
9
8
  export {};
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  interface DialogContentProps {
3
3
  children?: React.ReactNode;
4
+ className?: string;
4
5
  }
5
6
  export declare const DialogContent: (props: DialogContentProps) => JSX.Element;
6
7
  export {};
@@ -1,11 +1,11 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
+ import { DialogButtonProps } from './DialogButton';
2
3
  interface DialogFooterProps {
4
+ buttonList?: DialogButtonProps[];
3
5
  labelClose?: string;
4
- labelAction?: string;
5
- onActionClick?: () => any;
6
- onClose?: () => any;
6
+ onClose?: (dialog: any) => any;
7
7
  isDismissible?: boolean;
8
- children?: React.ReactNode;
8
+ dialog?: any;
9
9
  }
10
10
  export declare const DialogFooter: (props: DialogFooterProps) => JSX.Element;
11
11
  export {};
@@ -1,6 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  interface DialogHeaderProps {
3
3
  title: string;
4
+ description?: string;
5
+ imageUrl?: string;
4
6
  }
5
7
  export declare const DialogHeader: (props: DialogHeaderProps) => JSX.Element;
6
8
  export {};
@@ -5,5 +5,6 @@ export interface TabGroupProps {
5
5
  placeholder?: string;
6
6
  onChange?: (index: number) => void;
7
7
  itemList: TabItem[];
8
+ className?: string;
8
9
  }
9
10
  export declare const TabGroup: (props: TabGroupProps) => JSX.Element;
@@ -4,5 +4,6 @@ export interface TabGroupComponentProps {
4
4
  onChange?: (index: number) => void;
5
5
  wrap?: boolean;
6
6
  itemList: TabItem[];
7
+ className?: string;
7
8
  }
8
9
  export declare const TabGroupComponent: (props: TabGroupComponentProps) => JSX.Element;
@@ -25,4 +25,11 @@ export declare class JsTreeViewContextImpl implements TreeViewContext {
25
25
  openNode(node: any, callback?: any, durationMs?: number): void;
26
26
  editNode(): void;
27
27
  getParent(node: any): any;
28
+ getChecked(full: boolean): any[];
29
+ getUndetermined(full: boolean): any[];
30
+ getCheckedChildList(id: string): string[];
31
+ getTopChecked(full: boolean): any[];
32
+ getBottomChecked(full: boolean): any[];
33
+ isChecked(node: any): boolean;
34
+ isUndetermined(node: any): boolean;
28
35
  }
@@ -5,6 +5,8 @@ interface TreeViewProps {
5
5
  id: string;
6
6
  getData: (obj: any, cb: any) => any;
7
7
  onInit: (jsTreeView: TreeViewContext) => any;
8
+ isCheckboxSelect?: boolean;
9
+ isSaveCheckboxState?: boolean;
8
10
  }
9
11
  export declare const TreeView: (props: TreeViewProps) => JSX.Element;
10
12
  export {};
@@ -1,5 +1,6 @@
1
+ import { PLUGIN, CASCADE, NODE_TYPE } from './TreeViewConstants';
1
2
  export declare class TreeViewConfig {
2
- static getConfig(): {
3
+ static getConfig(id: string, checkboxSelect?: boolean, saveChecked?: boolean): {
3
4
  core: {
4
5
  check_callback: boolean;
5
6
  themes: {
@@ -8,20 +9,25 @@ export declare class TreeViewConfig {
8
9
  multiple: boolean;
9
10
  data: (obj: any, cb: any) => any;
10
11
  };
11
- plugins: string[];
12
+ plugins: PLUGIN[];
12
13
  types: {
13
14
  folder: {
14
- icon: string;
15
- new_node: string;
15
+ icon: NODE_TYPE;
16
16
  };
17
17
  file: {
18
- icon: string;
18
+ icon: NODE_TYPE;
19
19
  valid_children: string[];
20
- new_node: string;
21
20
  };
22
21
  };
22
+ state: {
23
+ key: string;
24
+ filter: (state: any) => any;
25
+ };
23
26
  checkbox: {
27
+ visible: boolean;
24
28
  three_state: boolean;
29
+ tie_selection: boolean;
30
+ cascade: CASCADE;
25
31
  };
26
32
  contextmenu: () => never[];
27
33
  };
@@ -15,7 +15,14 @@ export declare enum METHOD {
15
15
  SELECT_NODE = "select_node",
16
16
  OPEN_NODE = "open_node",
17
17
  EDIT = "edit",
18
- GET_PARENT = "get_parent"
18
+ GET_PARENT = "get_parent",
19
+ GET_CHECKED = "get_checked",
20
+ GET_UNDETERMINED = "get_undetermined",
21
+ GET_CHECKED_DESCENDANTS = "get_checked_descendants",
22
+ GET_TOP_CHECKED = "get_top_checked",
23
+ GET_BOTTOM_CHECKED = "get_bottom_checked",
24
+ IS_CHECKED = "is_checked",
25
+ IS_UNDETERMINED = "is_undetermined"
19
26
  }
20
27
  export declare enum EVENT {
21
28
  CLOSE_NODE = "close_node.jstree",
@@ -27,3 +34,18 @@ export declare enum NODE_TYPE {
27
34
  FOLDER = "folder",
28
35
  FILE = "file"
29
36
  }
37
+ export declare enum PLUGIN {
38
+ STATE = "state",
39
+ CHECKBOX = "checkbox",
40
+ SEARCH = "search",
41
+ UNIQUE = "unique",
42
+ TYPES = "types",
43
+ WHOLEROW = "wholerow",
44
+ THEMES = "themes",
45
+ SORT = "sort"
46
+ }
47
+ export declare enum CASCADE {
48
+ UP = "up",
49
+ DOWN = "down",
50
+ UNDETERMINED = "undetermined"
51
+ }
@@ -22,4 +22,11 @@ export interface TreeViewContext {
22
22
  refresh(): void;
23
23
  renameNode(node: any, newName: string): void;
24
24
  getParent(node: any): string;
25
+ getChecked(full: boolean): any[];
26
+ getUndetermined(full: boolean): any[];
27
+ getCheckedChildList(id: string): string[];
28
+ getTopChecked(full: boolean): any[];
29
+ getBottomChecked(full: boolean): any[];
30
+ isChecked(node: any): boolean;
31
+ isUndetermined(node: any): boolean;
25
32
  }
package/dist/index.css CHANGED
@@ -34,6 +34,7 @@
34
34
  margin-right: 12px;
35
35
  margin-bottom: 0;
36
36
  padding-bottom: 12px;
37
+ margin-bottom: 8px;
37
38
  }
38
39
 
39
40
  @media (max-width: 800px) {
@@ -344,7 +345,6 @@
344
345
  }
345
346
 
346
347
  #TreeView .ps {
347
- padding-top: 8px;
348
348
  padding-right: 12px;
349
349
  }
350
350
 
@@ -405,6 +405,10 @@
405
405
  margin-left: 0;
406
406
  }
407
407
 
408
+ .vitro-root-node > .jstree-anchor > .jstree-checkbox {
409
+ display: none;
410
+ }
411
+
408
412
  ._tree-view_vitro-tree-view_3oii-CW .vitro-root-node > .jstree-anchor > .jstree-icon.folder {
409
413
  /* root-folder.svg URL-encoder for SVG */
410
414
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.6464 5.35355C10.7402 5.44732 10.8674 5.5 11 5.5H19C20.3807 5.5 21.5 6.61929 21.5 8V18C21.5 19.3807 20.3807 20.5 19 20.5H5C3.61929 20.5 2.5 19.3807 2.5 18V6C2.5 4.61929 3.61929 3.5 5 3.5H7.75736C8.4204 3.5 9.05629 3.76339 9.52513 4.23223L10.6464 5.35355Z' stroke='%23999B9D' stroke-linejoin='round'/%3E%3Cpath d='M8 16L12 10' stroke='%23999B9D' stroke-linecap='round'/%3E%3Cpath d='M12 16L16 16' stroke='%23999B9D' stroke-linecap='round'/%3E%3C/svg%3E%0A") !important;
@@ -434,7 +438,7 @@
434
438
  height: 32px !important;
435
439
  line-height: 32px !important;
436
440
  background-position: center !important;
437
- background-size: 100% !important;
441
+ background-size: 100%;
438
442
  margin-right: 4px;
439
443
  }
440
444
 
@@ -450,7 +454,22 @@
450
454
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.5 7L14.5 12L9.5 17' stroke='%238E98A3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
451
455
  background-repeat: no-repeat;
452
456
  background-position: center center !important;
453
- }
457
+ }
458
+
459
+ ._tree-view_vitro-tree-view_3oii-CW .jstree-checkbox {
460
+ /* checkbox-big-empty.svg URL-encoder for SVG */
461
+ background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2.5' y='2.5' width='19' height='19' rx='2' stroke='%23C0CAD5'/%3E%3C/svg%3E%0A");
462
+ }
463
+
464
+ ._tree-view_vitro-tree-view_3oii-CW .jstree-checked .jstree-checkbox {
465
+ /* checkbox-big-active.svg URL-encoder for SVG */
466
+ background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2' y='2' width='20' height='20' rx='2.5' fill='%234292F7'/%3E%3Cpath d='M16.7062 8.50593C17.0826 8.86144 17.0996 9.45479 16.7441 9.83121L11.4316 15.4562C11.2577 15.6404 11.0166 15.7463 10.7634 15.7499C10.5101 15.7535 10.2662 15.6545 10.0871 15.4754L7.27459 12.6629C6.90847 12.2968 6.90847 11.7032 7.27459 11.3371C7.6407 10.971 8.2343 10.971 8.60041 11.3371L10.7308 13.4675L15.3809 8.54379C15.7364 8.16737 16.3298 8.15042 16.7062 8.50593Z' fill='white'/%3E%3C/svg%3E%0A");
467
+ }
468
+
469
+ ._tree-view_vitro-tree-view_3oii-CW .jstree-checkbox.jstree-undetermined {
470
+ /* checkbox-big-undetermined.svg URL-encoder for SVG */
471
+ background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='7' y='7' width='10' height='10' rx='1' fill='%234292F7'/%3E%3Crect x='2.625' y='2.625' width='18.75' height='18.75' rx='1.875' stroke='%23C0CAD5' stroke-width='1.25'/%3E%3C/svg%3E%0A");
472
+ }
454
473
 
455
474
  @import url('@vitrosoftware/common-ui-ts/css/std/controls/table-view/treegrid.css');
456
475
  @import url('@vitrosoftware/common-ui-ts/css/std/controls/table-view/table-view-custom-lookup-edit.css');
@@ -1616,6 +1635,10 @@
1616
1635
  border-radius: 0 0 4px 4px;
1617
1636
  }
1618
1637
 
1638
+ ._tab-group_vitro-tab_1Qb50HL .nav .dropdown-item:first-child:last-child {
1639
+ border-radius: 4px;
1640
+ }
1641
+
1619
1642
  ._tab-group_vitro-tab_1Qb50HL .nav > div._tab-group_vitro-item_2YnBcmb {
1620
1643
  flex-grow: 1;
1621
1644
  text-align: center;
@@ -3056,6 +3079,7 @@
3056
3079
  ._lookup-picker_vitro-lookup-picker_1aXYQEG {
3057
3080
  position: relative;
3058
3081
  margin-bottom: 22px;
3082
+ width: 100%;
3059
3083
  }
3060
3084
 
3061
3085
  ._lookup-picker_vitro-content_37L0slb {
@@ -3432,11 +3456,15 @@ li:first-child ._command-menu-item_vitro-item_2pVhk23:hover {
3432
3456
  ._command-menu-dropdown-button_vitro-dropdown-button-container_29qd-_O .dropdown-item ._command-menu-dropdown-button_vitro-icon_36InzPx {
3433
3457
  width: 20px;
3434
3458
  height: 20px;
3435
- background-size: 20px !important;
3436
3459
  margin-right: 12px;
3437
3460
  margin-left: 0;
3438
3461
  }
3439
3462
 
3463
+ ._command-menu-dropdown-button_vitro-dropdown-button-container_29qd-_O .dropdown-item ._command-menu-dropdown-button_vitro-icon_36InzPx img {
3464
+ width: 20px;
3465
+ height: 20px;
3466
+ }
3467
+
3440
3468
  ._command-menu-dropdown-button_vitro-button-collapse-bottom_1OS_X_a {
3441
3469
  width: 24px;
3442
3470
  height: 24px;
@@ -3471,7 +3499,8 @@ li:first-child ._command-menu-item_vitro-item_2pVhk23:hover {
3471
3499
  width: 24px;
3472
3500
  }
3473
3501
 
3474
- .vitro-button-context > div {
3502
+ .vitro-button-context > div,
3503
+ .vitro-button-context img {
3475
3504
  margin: 0 !important;
3476
3505
  }
3477
3506
 
@@ -3814,7 +3843,12 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
3814
3843
  width: 450px;
3815
3844
  box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.18), 0px 0px 4px 0px rgba(0, 0, 0, 0.14);
3816
3845
  border-radius: 4px;
3817
- padding: 12px !important;
3846
+ }
3847
+
3848
+ ._alert_vitro-alert_3sPAkJb .alert {
3849
+ margin-bottom: 0;
3850
+ padding: 12px;
3851
+ border-radius: 4px;
3818
3852
  }
3819
3853
 
3820
3854
  #Timesheets ._alert_vitro-alert_3sPAkJb {
@@ -3956,82 +3990,93 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
3956
3990
  margin: 5px;
3957
3991
  }
3958
3992
 
3959
- ._alert_vitro-alert_3sPAkJb.alert-danger,
3960
- ._alert_vitro-alert_3sPAkJb.alert-success,
3961
- ._alert_vitro-alert_3sPAkJb.alert-warning {
3993
+ ._alert_vitro-alert_3sPAkJb .alert-danger,
3994
+ ._alert_vitro-alert_3sPAkJb .alert-success,
3995
+ ._alert_vitro-alert_3sPAkJb .alert-warning {
3962
3996
  border: none;
3963
3997
  background-color: #fff !important;
3964
3998
  color: #222d44;
3965
3999
  }
3966
4000
 
3967
- ._alert_vitro-alert_3sPAkJb.alert-danger {
4001
+ ._alert_vitro-alert_3sPAkJb .alert-danger {
3968
4002
  border-left: 4px solid #D13438;
3969
4003
  }
3970
4004
 
3971
- ._alert_vitro-alert_3sPAkJb.alert-success {
4005
+ ._alert_vitro-alert_3sPAkJb .alert-success {
3972
4006
  border-left: 4px solid #198754;
3973
4007
  }
3974
4008
 
3975
- ._alert_vitro-alert_3sPAkJb.alert-warning {
4009
+ ._alert_vitro-alert_3sPAkJb .alert-warning {
3976
4010
  border-left: 4px solid #F3AD4A;
3977
4011
  }
3978
4012
 
3979
- ._alert_vitro-alert_3sPAkJb.alert-danger ._alert_vitro-icon_pK385gF {
4013
+ ._alert_vitro-alert_3sPAkJb .alert-danger ._alert_vitro-icon_pK385gF {
3980
4014
  /* error.svg URL-encoder for SVG */
3981
4015
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='check-one /Line/Black'%3E%3Cpath id='Vector' d='M12 22.0039C14.7614 22.0039 17.2614 20.8846 19.071 19.075C20.8807 17.2653 22 14.7653 22 12.0039C22 9.24251 20.8807 6.74251 19.071 4.93284C17.2614 3.1232 14.7614 2.00391 12 2.00391C9.2386 2.00391 6.7386 3.1232 4.92893 4.93284C3.11929 6.74251 2 9.24251 2 12.0039C2 14.7653 3.11929 17.2653 4.92893 19.075C6.7386 20.8846 9.2386 22.0039 12 22.0039Z' fill='%23D13438'/%3E%3Cpath id='Vector_2' d='M9 15L12 12L15 15M15 9L11.9994 12L9 9' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E%0A");
3982
4016
  }
3983
4017
 
3984
- ._alert_vitro-alert_3sPAkJb.alert-success ._alert_vitro-icon_pK385gF {
4018
+ ._alert_vitro-alert_3sPAkJb .alert-success ._alert_vitro-icon_pK385gF {
3985
4019
  /* success.svg URL-encoder for SVG */
3986
4020
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='check-one /Line/Black'%3E%3Crect width='24' height='24' fill='white'/%3E%3Cpath id='Vector' d='M12 22C14.7614 22 17.2614 20.8807 19.0711 19.0711C20.8807 17.2614 22 14.7614 22 12C22 9.2386 20.8807 6.7386 19.0711 4.92893C17.2614 3.11929 14.7614 2 12 2C9.2386 2 6.7386 3.11929 4.92893 4.92893C3.11929 6.7386 2 9.2386 2 12C2 14.7614 3.11929 17.2614 4.92893 19.0711C6.7386 20.8807 9.2386 22 12 22Z' fill='%23198754'/%3E%3Cpath id='Vector_2' d='M8 12L11 15L16 10' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E%0A");
3987
4021
  }
3988
4022
 
3989
- ._alert_vitro-alert_3sPAkJb.alert-warning ._alert_vitro-icon_pK385gF {
4023
+ ._alert_vitro-alert_3sPAkJb .alert-warning ._alert_vitro-icon_pK385gF {
3990
4024
  /* warning.svg URL-encoder for SVG */
3991
4025
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='check-one /Line/Black'%3E%3Cpath id='Vector' d='M12 22.0039C14.7614 22.0039 17.2614 20.8846 19.071 19.075C20.8807 17.2653 22 14.7653 22 12.0039C22 9.24251 20.8807 6.74251 19.071 4.93284C17.2614 3.1232 14.7614 2.00391 12 2.00391C9.2386 2.00391 6.7386 3.1232 4.92893 4.93284C3.11929 6.74251 2 9.24251 2 12.0039C2 14.7653 3.11929 17.2653 4.92893 19.075C6.7386 20.8846 9.2386 22.0039 12 22.0039Z' fill='%23F3AD4A'/%3E%3Cg id='Vector_2'%3E%3Cpath d='M12 6V12Z' fill='white'/%3E%3Cpath d='M12 6V12' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Ccircle id='Ellipse 135' cx='12' cy='17' r='1' fill='white'/%3E%3C/g%3E%3C/svg%3E%0A");
3992
4026
  }
3993
- ._dialog-header_vitro-dialog-header_2W3GraU {
3994
- font-size: 18px;
3995
- line-height: 150%;
3996
- margin-bottom: 12px;
4027
+ ._dialog-content_vitro-dialog-content_qQNWu6x {
4028
+ min-width: auto;
4029
+ overflow: hidden;
4030
+ display: flex;
4031
+ flex-direction: column;
4032
+ flex-grow: 1;
4033
+ flex-shrink: 1;
3997
4034
  }
3998
-
3999
- ._dialog_vitro-dialog_2NzcRZg {
4000
- position: fixed;
4001
- margin: 0 auto;
4002
- left: 0;
4003
- right: 0;
4004
- top: 0;
4005
- bottom: 0;
4006
- z-index: 10000;
4035
+
4036
+ ._dialog-content_vitro-dialog-content_qQNWu6x .ps {
4037
+ padding-top: 12px;
4038
+ padding-left: 16px;
4039
+ }
4040
+
4041
+ ._dialog-content_vitro-dialog-content_qQNWu6x > div {
4042
+ max-height: 100%;
4043
+ }
4044
+ ._dialog-header_vitro-dialog-header_2W3GraU {
4045
+ padding: 20px 16px;
4046
+ border-bottom: 1px solid #E4E6EC;
4047
+ background: #fff;
4048
+ border-radius: 4px 4px 0 0;
4007
4049
  display: flex;
4008
4050
  align-items: center;
4009
- justify-content: center;
4010
- background: rgba(34, 45, 68, 0.2);
4011
4051
  }
4012
4052
 
4013
- ._dialog_vitro-dialog_2NzcRZg > div {
4014
- display: flex;
4015
- flex-direction: column;
4016
- border: 1px solid #C0CAD5;
4017
- background: #fff;
4018
- position: absolute;
4019
- display: block;
4020
- left: 50%;
4021
- top: 50%;
4022
- transform: translate(-50%, -50%);
4023
- opacity: 1;
4024
- padding: 24px;
4025
- border-radius: 4px;
4026
- min-height: 514px;
4027
- width: 760px;
4028
- box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.18), 0px 0px 4px 0px rgba(0, 0, 0, 0.14);
4053
+ ._dialog-header_vitro-title_2k8SPhE {
4054
+ color: #222D44;
4055
+ font-size: 20px;
4056
+ line-height: 24px;
4057
+ margin-bottom: 0;
4029
4058
  }
4030
4059
 
4031
- ._dialog_vitro-dialog_2NzcRZg .vitro-content {
4032
- height: 400px;
4060
+ ._dialog-header_vitro-description_Hiq51VI {
4061
+ color: #4A556C;
4062
+ font-size: 14px;
4063
+ line-height: 16px;
4064
+ margin-top: 7px;
4065
+ margin-bottom: 0;
4066
+ }
4067
+
4068
+ ._dialog-header_vitro-icon_3GtsVWO {
4069
+ width: 38px;
4070
+ height: 38px;
4071
+ margin-right: 16px;
4072
+ }
4073
+ ._dialog-button_vitro-dialog-button_1fQ5l22 {
4074
+ margin-left: 12px;
4075
+ }
4076
+
4077
+ ._dialog-button_vitro-dialog-button_1fQ5l22:disabled {
4078
+ background: #E0E0E0;
4033
4079
  }
4034
-
4035
4080
  ._dialog-button-close_vitro-dialog-button-close_1p27cEz {
4036
4081
  display: block;
4037
4082
  position: absolute;
@@ -4040,9 +4085,9 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
4040
4085
  outline: 0;
4041
4086
  cursor: pointer;
4042
4087
  padding: 0;
4043
- width: 32px;
4044
- height: 32px;
4045
- right: -48px;
4088
+ width: 26px;
4089
+ height: 26px;
4090
+ right: -42px;
4046
4091
  top: 2px;
4047
4092
  /* close.svg URL-encoder for SVG */
4048
4093
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' fill='none' stroke='%23fff' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 32.333l16-16m0 0l-16-16m16 16l16 16m-16-16l16-16'%3E%3C/path%3E%3C/svg%3E");
@@ -4052,8 +4097,6 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
4052
4097
  background: #fff !important;
4053
4098
  color: #222D44 !important;
4054
4099
  border: none;
4055
- margin-left: 12px;
4056
- font-family: 'InterRegular' !important;
4057
4100
  }
4058
4101
 
4059
4102
  ._dialog-button-close_vitro-button-close_2BpzTR0:hover,
@@ -4067,47 +4110,46 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
4067
4110
  }
4068
4111
  }
4069
4112
 
4070
- ._dialog-content_vitro-dialog-content_qQNWu6x {
4071
- min-width: auto;
4072
- overflow: visible;
4073
- flex: none;
4113
+ ._dialog-footer_vitro-dialog-footer_2vUQ3aG {
4074
4114
  display: flex;
4075
- flex-direction: column;
4076
- }
4077
-
4078
- ._dialog-content_vitro-dialog-content_qQNWu6x > div:first-child {
4079
- margin-top: 26px;
4080
- }
4081
-
4082
- ._dialog-content_vitro-dialog-content_qQNWu6x {
4083
- max-height: 360px !important;
4084
- height: 360px;
4085
- }
4086
-
4087
- ._dialog-content_vitro-dialog-content_qQNWu6x textarea {
4088
- max-height: 200px;
4115
+ justify-content: flex-end;
4116
+ background: #fff;
4117
+ width: 100%;
4118
+ padding: 16px;
4119
+ border-top: 1px solid #E4E6EC;
4120
+ margin-top: auto;
4121
+ border-radius: 0 0 4px 4px;
4089
4122
  }
4090
-
4091
- ._dialog-content_vitro-dialog-content_qQNWu6x:has(div[role=alert]) textarea {
4092
- max-height: 125px;
4123
+
4124
+ ._dialog_vitro-dialog_2NzcRZg {
4125
+ position: fixed;
4126
+ margin: 0 auto;
4127
+ left: 0;
4128
+ right: 0;
4129
+ top: 0;
4130
+ bottom: 0;
4131
+ z-index: 10000;
4132
+ display: flex;
4133
+ align-items: center;
4134
+ justify-content: center;
4135
+ background: rgba(34, 45, 68, 0.2);
4093
4136
  }
4094
4137
 
4095
- .vitro-time-log-history {
4096
- height: 100%;
4097
- margin: 0 !important;
4098
- }
4099
-
4100
- ._dialog-button_vitro-dialog-button_1fQ5l22:disabled {
4101
- background: #E0E0E0;
4102
- }
4103
- ._dialog-footer_vitro-dialog-footer_2vUQ3aG {
4138
+ ._dialog_vitro-dialog_2NzcRZg > div {
4104
4139
  display: flex;
4105
- justify-content: flex-end;
4106
- z-index: 1000;
4140
+ flex-direction: column;
4141
+ border: 1px solid #C0CAD5;
4107
4142
  background: #fff;
4108
4143
  position: absolute;
4109
- bottom: 0;
4110
- right: 0;
4144
+ overflow: visible;
4145
+ left: 50%;
4146
+ top: 50%;
4147
+ transform: translate(-50%, -50%);
4148
+ opacity: 1;
4149
+ border-radius: 4px;
4150
+ height: 534px;
4151
+ width: 760px;
4152
+ box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.18), 0px 0px 4px 0px rgba(0, 0, 0, 0.14);
4111
4153
  }
4112
4154
  ._user-profile_vitro-user-profile_11XpBoQ span {
4113
4155
  margin-right: 10px;