ontimize-web-ngx 15.0.3 → 15.0.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.
- package/esm2020/lib/components/app-sidenav/menu-group/o-app-sidenav-menu-group.component.mjs +3 -3
- package/esm2020/lib/components/app-sidenav/menu-item/o-app-sidenav-menu-item.component.mjs +3 -3
- package/esm2020/lib/components/app-sidenav/o-app-sidenav.component.mjs +2 -2
- package/esm2020/lib/components/form/o-form.component.mjs +2 -2
- package/esm2020/lib/components/grid/o-grid.component.mjs +2 -11
- package/esm2020/lib/components/input/date-range/o-daterange-picker.component.mjs +6 -5
- package/esm2020/lib/components/list/o-list.component.mjs +2 -11
- package/esm2020/lib/components/o-service-base-component.class.mjs +2 -2
- package/esm2020/lib/components/table/extensions/header/table-column-resizer/o-table-column-resizer.component.mjs +18 -10
- package/esm2020/lib/components/table/o-table.component.mjs +2 -1
- package/esm2020/lib/components/tree/o-tree.component.mjs +18 -13
- package/esm2020/lib/interfaces/app-menu.interface.mjs +1 -1
- package/esm2020/lib/layouts/card-menu-layout/o-card-menu-layout.component.mjs +32 -16
- package/esm2020/lib/services/ontimize-export-data-base-provider.service.mjs +34 -2
- package/fesm2015/ontimize-web-ngx.mjs +337 -296
- package/fesm2015/ontimize-web-ngx.mjs.map +1 -1
- package/fesm2020/ontimize-web-ngx.mjs +337 -296
- package/fesm2020/ontimize-web-ngx.mjs.map +1 -1
- package/lib/components/grid/o-grid.component.d.ts +1 -4
- package/lib/components/input/date-range/o-daterange-picker.component.d.ts +1 -0
- package/lib/components/list/o-list.component.d.ts +1 -4
- package/lib/components/table/extensions/header/table-column-resizer/o-table-column-resizer.component.d.ts +3 -3
- package/lib/components/tree/o-tree.component.d.ts +2 -0
- package/lib/interfaces/app-menu.interface.d.ts +1 -0
- package/lib/layouts/card-menu-layout/o-card-menu-layout.component.d.ts +10 -2
- package/lib/services/ontimize-export-data-base-provider.service.d.ts +1 -0
- package/ontimize.scss +35 -34
- package/package.json +1 -1
- package/theme.scss +34 -2
- package/theming/ontimize-style.scss +18 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, Injector, OnChanges, OnDestroy, OnInit, QueryList
|
|
1
|
+
import { AfterViewInit, ElementRef, Injector, OnChanges, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
2
2
|
import { MediaObserver } from '@angular/flex-layout';
|
|
3
3
|
import { MatFormFieldAppearance } from '@angular/material/form-field';
|
|
4
4
|
import { MatPaginator } from '@angular/material/paginator';
|
|
@@ -66,9 +66,6 @@ export declare class OGridComponent extends AbstractOServiceComponent<OGridCompo
|
|
|
66
66
|
onItemDetailClick(item: OGridItemDirective): void;
|
|
67
67
|
onItemDetailDblClick(item: OGridItemDirective): void;
|
|
68
68
|
ngOnDestroy(): void;
|
|
69
|
-
ngOnChanges(changes: {
|
|
70
|
-
[propName: string]: SimpleChange;
|
|
71
|
-
}): void;
|
|
72
69
|
destroy(): void;
|
|
73
70
|
loadMore(): void;
|
|
74
71
|
getQueryArguments(filter: object, ovrrArgs?: OQueryDataArgs): any[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
2
|
-
import { AfterContentInit, AfterViewInit, ElementRef, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, QueryList
|
|
2
|
+
import { AfterContentInit, AfterViewInit, ElementRef, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
3
3
|
import { MatFormFieldAppearance } from '@angular/material/form-field';
|
|
4
4
|
import { Subscription } from 'rxjs';
|
|
5
5
|
import { IList } from '../../interfaces/o-list.interface';
|
|
@@ -45,9 +45,6 @@ export declare class OListComponent extends AbstractOServiceComponent<OListCompo
|
|
|
45
45
|
ngAfterViewInit(): void;
|
|
46
46
|
ngAfterContentInit(): void;
|
|
47
47
|
ngOnDestroy(): void;
|
|
48
|
-
ngOnChanges(changes: {
|
|
49
|
-
[propName: string]: SimpleChange;
|
|
50
|
-
}): void;
|
|
51
48
|
getComponentKey(): string;
|
|
52
49
|
initialize(): void;
|
|
53
50
|
reinitialize(options: OListInitializationOptions): void;
|
|
@@ -27,11 +27,11 @@ export declare class OTableColumnResizerComponent implements OnInit, OnDestroy {
|
|
|
27
27
|
ngOnDestroy(): void;
|
|
28
28
|
onClick(event: MouseEvent): void;
|
|
29
29
|
get isDisabled(): boolean;
|
|
30
|
-
onMousedown(e: MouseEvent): void;
|
|
30
|
+
onMousedown(e: MouseEvent | TouchEvent): void;
|
|
31
31
|
onMouseup(): void;
|
|
32
32
|
protected stopDragging(): void;
|
|
33
|
-
startResize(startEvent: MouseEvent): void;
|
|
34
|
-
protected resizeEvent(event: MouseEvent): void;
|
|
33
|
+
startResize(startEvent: MouseEvent | TouchEvent): void;
|
|
34
|
+
protected resizeEvent(event: MouseEvent | TouchEvent): void;
|
|
35
35
|
protected getHeaderEL(): Node;
|
|
36
36
|
protected getFollowingOColumns(): OColumn[];
|
|
37
37
|
protected updateBlockedCols(): void;
|
|
@@ -47,6 +47,7 @@ export declare class OTreeComponent extends AbstractOServiceComponent<OTreeCompo
|
|
|
47
47
|
protected _quickFilter: boolean;
|
|
48
48
|
paginationControls: boolean;
|
|
49
49
|
quickFilterColumns: string;
|
|
50
|
+
selectedNode: OTreeFlatNode;
|
|
50
51
|
childreNodes: OTreeFlatNode[];
|
|
51
52
|
nodesArray: OTreeFlatNode[];
|
|
52
53
|
ancestors: any[];
|
|
@@ -107,6 +108,7 @@ export declare class OTreeComponent extends AbstractOServiceComponent<OTreeCompo
|
|
|
107
108
|
protected getNodeId(item: any, parentNode: any): string;
|
|
108
109
|
childQueryData(node: OTreeFlatNode): Observable<ServiceResponse> | Observable<any>;
|
|
109
110
|
protected navigateToViewDetail(node: OTreeFlatNode): void;
|
|
111
|
+
isSelectedNode(node: OTreeFlatNode): boolean;
|
|
110
112
|
static ɵfac: i0.ɵɵFactoryDeclaration<OTreeComponent, [null, null, { optional: true; }]>;
|
|
111
113
|
static ɵcmp: i0.ɵɵComponentDeclaration<OTreeComponent, "o-tree", never, { "oattr": "attr"; "service": "service"; "entity": "entity"; "columns": "columns"; "keys": "keys"; "parentKeys": "parent-keys"; "queryMethod": "query-method"; "insertButton": "insert-button"; "refreshButton": "refresh-button"; "deleteButton": "delete-button"; "visibleColumns": "visible-columns"; "selectAllCheckbox": "select-all-checkbox"; "separator": "separator"; "parentColumn": "parent-column"; "sortColumn": "sort-column"; "selectAllCheckboxVisible": "select-all-checkbox-visible"; "filterCaseSensitive": "filter-case-sensitive"; "quickFilter": "quick-filter"; "quickFilterPlaceholder": "quick-filter-placeholder"; "quickFilterColumns": "quick-filter-columns"; "detailMode": "detail-mode"; "detailFormRoute": "detail-form-route"; "showButtonsText": "show-buttons-text"; "rootTitle": "root-title"; "recursive": "recursive"; "route": "route"; }, { "onNodeSelected": "onNodeSelected"; "onNodeExpanded": "onNodeExpanded"; "onNodeCollapsed": "onNodeCollapsed"; "onLoadNextLevel": "onLoadNextLevel"; "onDataLoaded": "onDataLoaded"; "onNodeClick": "onNodeClick"; }, ["leafNodeTemplate", "parentNodeTemplate", "nodeTemplate", "treeNode"], ["[o-tree-button]"], false, never>;
|
|
112
114
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, Injector, OnDestroy } from '@angular/core';
|
|
2
2
|
import { Subscription } from 'rxjs';
|
|
3
|
+
import { PermissionsService } from '../../services';
|
|
3
4
|
import { AppMenuService } from '../../services/app-menu.service';
|
|
4
5
|
import { OTranslateService } from '../../services/translate/o-translate.service';
|
|
6
|
+
import { OPermissions } from '../../types';
|
|
5
7
|
import { MenuRootItem } from '../../types/menu-root-item.type';
|
|
6
8
|
import * as i0 from "@angular/core";
|
|
7
9
|
export declare const DEFAULT_INPUTS_O_MENU_LAYOUT: string[];
|
|
@@ -15,13 +17,19 @@ export declare class OCardMenuLayoutComponent implements AfterViewInit, OnDestro
|
|
|
15
17
|
protected menuRoots: MenuRootItem[];
|
|
16
18
|
protected cardItemsArray: MenuRootItem[];
|
|
17
19
|
protected parentMenuId: string;
|
|
20
|
+
protected excludeMenusId: string;
|
|
21
|
+
protected permissions: OPermissions;
|
|
22
|
+
protected permissionsService: PermissionsService;
|
|
23
|
+
protected parentMenuIds: string[];
|
|
24
|
+
protected excludeIds: string[];
|
|
25
|
+
hidden: boolean;
|
|
18
26
|
constructor(injector: Injector, cd: ChangeDetectorRef);
|
|
19
27
|
ngAfterViewInit(): void;
|
|
20
28
|
ngOnDestroy(): void;
|
|
21
29
|
setCardMenuItems(): void;
|
|
22
30
|
get cardItems(): MenuRootItem[];
|
|
23
31
|
set cardItems(val: MenuRootItem[]);
|
|
24
|
-
protected getItemsFilteredByParentId(array: MenuRootItem[]): MenuRootItem[];
|
|
32
|
+
protected getItemsFilteredByParentId(array: MenuRootItem[], parentMenuIds: string[]): MenuRootItem[];
|
|
25
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<OCardMenuLayoutComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OCardMenuLayoutComponent, "o-card-menu-layout", never, { "parentMenuId": "parent-menu-id"; }, {}, never, ["o-card-menu-item"], false, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OCardMenuLayoutComponent, "o-card-menu-layout", never, { "parentMenuId": "parent-menu-id"; "excludeMenusId": "exclude-menus-id"; }, {}, never, ["o-card-menu-item"], false, never>;
|
|
27
35
|
}
|
|
@@ -13,6 +13,7 @@ export declare class OntimizeExportDataBaseProviderService {
|
|
|
13
13
|
filter: any;
|
|
14
14
|
constructor(injector: Injector);
|
|
15
15
|
initializeProvider(table: OTableBase): void;
|
|
16
|
+
protected getFilterWithBasicExpression(): any;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<OntimizeExportDataBaseProviderService, never>;
|
|
17
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<OntimizeExportDataBaseProviderService>;
|
|
18
19
|
}
|
package/ontimize.scss
CHANGED
|
@@ -21,7 +21,7 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
|
|
|
21
21
|
|
|
22
22
|
[layout-padding]>[flex-sm],
|
|
23
23
|
[layout-padding]>[flex-lt-md] {
|
|
24
|
-
padding:
|
|
24
|
+
padding: calc($layout-gutter-width / 4);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
[layout-padding],
|
|
@@ -29,17 +29,17 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
|
|
|
29
29
|
[layout-padding]>[flex-gt-sm],
|
|
30
30
|
[layout-padding]>[flex-md],
|
|
31
31
|
[layout-padding]>[flex-lt-lg] {
|
|
32
|
-
padding:
|
|
32
|
+
padding: calc($layout-gutter-width / 2);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
[layout-padding]>[flex-gt-md],
|
|
36
36
|
[layout-padding]>[flex-lg] {
|
|
37
|
-
padding:
|
|
37
|
+
padding: $layout-gutter-width
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
[layout-margin]>[flex-sm],
|
|
41
41
|
[layout-margin]>[flex-lt-md] {
|
|
42
|
-
margin:
|
|
42
|
+
margin: calc($layout-gutter-width / 4);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
[layout-margin],
|
|
@@ -47,13 +47,13 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
|
|
|
47
47
|
[layout-margin]>[flex-gt-sm],
|
|
48
48
|
[layout-margin]>[flex-md],
|
|
49
49
|
[layout-margin]>[flex-lt-lg] {
|
|
50
|
-
margin:
|
|
50
|
+
margin: calc($layout-gutter-width / 2);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
[layout-margin]>[flex-gt-md],
|
|
54
54
|
[layout-margin]>[flex-lg] {
|
|
55
|
-
margin:
|
|
56
|
-
|
|
55
|
+
margin: $layout-gutter-width;
|
|
56
|
+
}
|
|
57
57
|
|
|
58
58
|
[layout-wrap] {
|
|
59
59
|
flex-wrap: wrap;
|
|
@@ -65,17 +65,17 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
@include layout-padding-margin();
|
|
68
|
-
$display-1-font-size-base:
|
|
69
|
-
$display-4-font-size-base:
|
|
70
|
-
$display-3-font-size-base:
|
|
71
|
-
$display-2-font-size-base:
|
|
68
|
+
$display-1-font-size-base: 3.400rem !default;
|
|
69
|
+
$display-4-font-size-base: 11.20rem !default;
|
|
70
|
+
$display-3-font-size-base: 5.600rem !default;
|
|
71
|
+
$display-2-font-size-base: 4.500rem !default;
|
|
72
72
|
|
|
73
|
-
$headline-font-size-base:
|
|
74
|
-
$title-font-size-base:
|
|
75
|
-
$subhead-font-size-base:
|
|
73
|
+
$headline-font-size-base: 2.400rem !default;
|
|
74
|
+
$title-font-size-base: 2.000rem !default;
|
|
75
|
+
$subhead-font-size-base: 1.600rem !default;
|
|
76
76
|
|
|
77
77
|
// $body-font-size-base: rem(1.400) !default;
|
|
78
|
-
$caption-font-size-base:
|
|
78
|
+
$caption-font-size-base: 1.200rem !default;
|
|
79
79
|
|
|
80
80
|
// Layout
|
|
81
81
|
// $baseline-grid: 8px !default;
|
|
@@ -258,17 +258,17 @@ input {
|
|
|
258
258
|
// [3] Prevent iOS text size adjust after orientation change, without disabling user zoom
|
|
259
259
|
// [4] Fonts on OSX will look more consistent with other systems that do not
|
|
260
260
|
// render text using sub-pixel anti-aliasing.
|
|
261
|
-
$display-1-font-size-base:
|
|
262
|
-
$display-4-font-size-base:
|
|
263
|
-
$display-3-font-size-base:
|
|
264
|
-
$display-2-font-size-base:
|
|
261
|
+
$display-1-font-size-base: 3.400rem !default;
|
|
262
|
+
$display-4-font-size-base: 11.20rem !default;
|
|
263
|
+
$display-3-font-size-base: 5.600rem !default;
|
|
264
|
+
$display-2-font-size-base: 4.500rem !default;
|
|
265
265
|
|
|
266
|
-
$headline-font-size-base:
|
|
267
|
-
$title-font-size-base:
|
|
268
|
-
$subhead-font-size-base:
|
|
266
|
+
$headline-font-size-base: 2.400rem !default;
|
|
267
|
+
$title-font-size-base: 2.000rem !default;
|
|
268
|
+
$subhead-font-size-base: 1.600rem !default;
|
|
269
269
|
|
|
270
270
|
// $body-font-size-base: rem(1.400) !default;
|
|
271
|
-
$caption-font-size-base:
|
|
271
|
+
$caption-font-size-base: 1.200rem !default;
|
|
272
272
|
|
|
273
273
|
// Layout
|
|
274
274
|
// $baseline-grid: 8px !default;
|
|
@@ -337,19 +337,19 @@ html, body {
|
|
|
337
337
|
.mat-headline-3 {
|
|
338
338
|
font-size: $display-2-font-size-base;
|
|
339
339
|
font-weight: 400;
|
|
340
|
-
line-height:
|
|
340
|
+
line-height: 6.4rem;
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
.mat-headline-4 {
|
|
344
344
|
font-size: $display-1-font-size-base;
|
|
345
345
|
font-weight: 400;
|
|
346
|
-
line-height:
|
|
346
|
+
line-height: 4rem;
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
.mat-headline-5 {
|
|
350
350
|
font-size: $headline-font-size-base;
|
|
351
351
|
font-weight: 400;
|
|
352
|
-
line-height:
|
|
352
|
+
line-height: 3.2rem;
|
|
353
353
|
}
|
|
354
354
|
|
|
355
355
|
|
|
@@ -380,17 +380,18 @@ input {
|
|
|
380
380
|
.material-icons{
|
|
381
381
|
font-feature-settings:"liga"
|
|
382
382
|
}
|
|
383
|
-
$display-1-font-size-base: rem(3.400) !default;
|
|
384
|
-
$display-4-font-size-base: rem(11.20) !default;
|
|
385
|
-
$display-3-font-size-base: rem(5.600) !default;
|
|
386
|
-
$display-2-font-size-base: rem(4.500) !default;
|
|
387
383
|
|
|
388
|
-
$
|
|
389
|
-
$
|
|
390
|
-
$
|
|
384
|
+
$display-1-font-size-base: 3.400rem !default;
|
|
385
|
+
$display-4-font-size-base: 11.20rem !default;
|
|
386
|
+
$display-3-font-size-base: 5.600rem !default;
|
|
387
|
+
$display-2-font-size-base: 4.500rem !default;
|
|
388
|
+
|
|
389
|
+
$headline-font-size-base: 2.400rem !default;
|
|
390
|
+
$title-font-size-base: 2.000rem !default;
|
|
391
|
+
$subhead-font-size-base: 1.600rem !default;
|
|
391
392
|
|
|
392
393
|
// $body-font-size-base: rem(1.400) !default;
|
|
393
|
-
$caption-font-size-base:
|
|
394
|
+
$caption-font-size-base: 1.200rem !default;
|
|
394
395
|
|
|
395
396
|
// Layout
|
|
396
397
|
// $baseline-grid: 8px !default;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ontimize-web-ngx",
|
|
3
3
|
"homepage": "https://github.com/OntimizeWeb/ontimize-web-ngx#readme",
|
|
4
|
-
"version": "15.0.
|
|
4
|
+
"version": "15.0.4",
|
|
5
5
|
"description": "Ontimize Web framework using Angular 15",
|
|
6
6
|
"bugs": "https://github.com/OntimizeWeb/ontimize-web-ngx/issues",
|
|
7
7
|
"author": "Imatia S.L.",
|
package/theme.scss
CHANGED
|
@@ -1077,7 +1077,7 @@ $layout-gutter-width-horizontal: 14px !default;
|
|
|
1077
1077
|
$warn: map.get($theme, warn);
|
|
1078
1078
|
$background: map.get($theme, background);
|
|
1079
1079
|
$foreground: map.get($theme, foreground);
|
|
1080
|
-
|
|
1080
|
+
$is-dark-theme: map-get($theme, is-dark);
|
|
1081
1081
|
$color-inactive: #999999;
|
|
1082
1082
|
|
|
1083
1083
|
/*
|
|
@@ -1095,6 +1095,27 @@ $layout-gutter-width-horizontal: 14px !default;
|
|
|
1095
1095
|
* styles
|
|
1096
1096
|
*/
|
|
1097
1097
|
.md-drppicker {
|
|
1098
|
+
.calendar {
|
|
1099
|
+
|
|
1100
|
+
td,
|
|
1101
|
+
th {
|
|
1102
|
+
color: mat.get-color-from-palette($foreground, text);
|
|
1103
|
+
|
|
1104
|
+
&.in-range {
|
|
1105
|
+
color: if($is-dark-theme, #000000, #fff);
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
&.available {
|
|
1109
|
+
&.prev {
|
|
1110
|
+
background-image: if($is-dark-theme, url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMy43IDYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDMuNyA2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCiAgPGc+DQogICAgPHBhdGggZD0iTTMuNywwLjdMMS40LDNsMi4zLDIuM0wzLDZMMCwzbDMtM0wzLjcsMC43eiIgZmlsbD0iI0ZGRkZGRiIvPg0KICA8L2c+DQo8L3N2Zz4="), url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMy43IDYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDMuNyA2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxnPg0KCTxwYXRoIGQ9Ik0zLjcsMC43TDEuNCwzbDIuMywyLjNMMyw2TDAsM2wzLTNMMy43LDAuN3oiLz4NCjwvZz4NCjwvc3ZnPg0K"));
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
&.next {
|
|
1114
|
+
background-image: if($is-dark-theme, url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMy43IDYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDMuNyA2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxnPg0KCTxwYXRoIGQ9Ik0zLjcsMC43TDEuNCwzbDIuMywyLjNMMyw2TDAsM2wzLTNMMy43LDAuN3oiIGZpbGw9IiNGRkZGRkYiIC8+DQo8L2c+DQo8L3N2Zz4NCg=="), url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMy43IDYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDMuNyA2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxnPg0KCTxwYXRoIGQ9Ik0zLjcsMC43TDEuNCwzbDIuMywyLjNMMyw2TDAsM2wzLTNMMy43LDAuN3oiLz4NCjwvZz4NCjwvc3ZnPg0K"));
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1098
1119
|
|
|
1099
1120
|
background-color: mat.get-color-from-palette($background, card);
|
|
1100
1121
|
|
|
@@ -1250,6 +1271,8 @@ $layout-gutter-width-horizontal: 14px !default;
|
|
|
1250
1271
|
}@mixin o-hour-input-theme($theme-or-color-config) {
|
|
1251
1272
|
$theme: map.get($theme-or-color-config, color);
|
|
1252
1273
|
$primary: map.get($theme, primary);
|
|
1274
|
+
$background: map.get($theme, background);
|
|
1275
|
+
$is-dark-theme: map.get($theme, is-dark);
|
|
1253
1276
|
|
|
1254
1277
|
ngx-material-timepicker-container ngx-material-timepicker-content {
|
|
1255
1278
|
.timepicker__header {
|
|
@@ -1257,10 +1280,11 @@ $layout-gutter-width-horizontal: 14px !default;
|
|
|
1257
1280
|
}
|
|
1258
1281
|
|
|
1259
1282
|
.clock-face {
|
|
1283
|
+
background-color: mat.get-color-from-palette($background, level-1);
|
|
1284
|
+
|
|
1260
1285
|
.clock-face__container {
|
|
1261
1286
|
.clock-face__number>span.active {
|
|
1262
1287
|
background-color: mat.get-color-from-palette($primary);
|
|
1263
|
-
color: #fff;
|
|
1264
1288
|
}
|
|
1265
1289
|
}
|
|
1266
1290
|
|
|
@@ -1281,6 +1305,14 @@ $layout-gutter-width-horizontal: 14px !default;
|
|
|
1281
1305
|
color: mat.get-color-from-palette($primary);
|
|
1282
1306
|
}
|
|
1283
1307
|
|
|
1308
|
+
.timepicker__actions {
|
|
1309
|
+
background-color: if($is-dark-theme, mat.get-color-from-palette($background, background), mat.get-color-from-palette($background, level-1)) !important;
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
.timepicker__body {
|
|
1313
|
+
background-color: if($is-dark-theme, mat.get-color-from-palette($background, background), mat.get-color-from-palette($background, level-1)) !important;
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1284
1316
|
.timepicker-dial__control {
|
|
1285
1317
|
outline: none;
|
|
1286
1318
|
}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
@use "sass:map";
|
|
3
3
|
@use 'fonts/poppins.scss';
|
|
4
4
|
@use 'styles/ontimize/variables.scss';
|
|
5
|
-
@use '@angular/material'as mat;
|
|
5
|
+
@use '@angular/material' as mat;
|
|
6
6
|
@use '@angular/cdk';
|
|
7
7
|
@use 'styles/ontimize/typography-ontimize.scss';
|
|
8
|
-
@use 'typography/ontimize.scss'as ontimize;
|
|
9
|
-
@use 'ontimize-style-v8.scss'as ontimize-style;
|
|
8
|
+
@use 'typography/ontimize.scss' as ontimize;
|
|
9
|
+
@use 'ontimize-style-v8.scss' as ontimize-style;
|
|
10
10
|
|
|
11
11
|
/*Sidenav background-color*/
|
|
12
12
|
$sidenav-background-color: #f5f5f5;
|
|
@@ -42,7 +42,8 @@ $sidenav-background-color: #f5f5f5;
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
// Foreground palette for light themes.
|
|
45
|
-
$ontimize-light-theme-foreground: (
|
|
45
|
+
$ontimize-light-theme-foreground: (
|
|
46
|
+
base: rgba(black, 0.6),
|
|
46
47
|
divider: rgba(black, 0.12),
|
|
47
48
|
dividers: rgba(black, 0.12),
|
|
48
49
|
disabled: rgba(black, 0.38),
|
|
@@ -58,10 +59,12 @@ $ontimize-light-theme-foreground: (base: rgba(black, 0.6),
|
|
|
58
59
|
slider-min: rgba(black, 0.38),
|
|
59
60
|
slider-off: rgba(black, 0.38),
|
|
60
61
|
slider-off-active: rgba(black, 0.38),
|
|
61
|
-
button: rgba(black, 0.74)
|
|
62
|
+
button: rgba(black, 0.74)
|
|
63
|
+
);
|
|
62
64
|
|
|
63
65
|
// Foreground palette for dark themes.
|
|
64
|
-
$ontimize-dark-theme-foreground: (
|
|
66
|
+
$ontimize-dark-theme-foreground: (
|
|
67
|
+
base: rgba(white, 0.6),
|
|
65
68
|
divider: rgba(white, 0.12),
|
|
66
69
|
dividers: rgba(white, 0.12),
|
|
67
70
|
disabled: rgba(white, 0.38),
|
|
@@ -77,7 +80,8 @@ $ontimize-dark-theme-foreground: (base: rgba(white, 0.6),
|
|
|
77
80
|
slider-min: rgba(white, 0.38),
|
|
78
81
|
slider-off: rgba(white, 0.38),
|
|
79
82
|
slider-off-active: rgba(white, 0.38),
|
|
80
|
-
button: rgba(white, 0.74)
|
|
83
|
+
button: rgba(white, 0.74)
|
|
84
|
+
);
|
|
81
85
|
|
|
82
86
|
|
|
83
87
|
// Creates a container object for a light theme to be given to individual component theme mixins.
|
|
@@ -524,6 +528,13 @@ $ontimize-dark-theme-foreground: (base: rgba(white, 0.6),
|
|
|
524
528
|
|
|
525
529
|
}
|
|
526
530
|
|
|
531
|
+
.o-tree {
|
|
532
|
+
.selected-node {
|
|
533
|
+
color: mat.get-color-from-palette($primary, 500);
|
|
534
|
+
font-weight: 800;
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
|
|
527
538
|
.o-table {
|
|
528
539
|
.o-table-quickfilter .quickFilter .mat-form-field .mat-mdc-text-field-wrapper .mat-form-field-flex .mat-form-field-prefix div {
|
|
529
540
|
border-color: mat.get-color-from-palette($foreground, text, 0.32);
|