@colijnit/sharedcomponents 1.0.17 → 1.0.19

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/index.html ADDED
@@ -0,0 +1,12 @@
1
+ <!DOCTYPE html><html lang="en"><head>
2
+ <meta charset="utf-8">
3
+ <title>Sharedcomponents</title>
4
+ <base href="/">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <link rel="icon" type="image/x-icon" href="favicon.ico">
7
+ <style>@charset "UTF-8";@import url(https://fonts.googleapis.com/css?family=Roboto:400,500);@import url(https://fonts.googleapis.com/css2?family=Public+Sans&display=swap);body,html{margin:0;overflow:hidden}body,html{width:100%;height:100%}</style><link rel="stylesheet" href="styles.b3b98643e0f0f94bdd12.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.b3b98643e0f0f94bdd12.css"></noscript></head>
8
+ <body>
9
+ <app-root></app-root>
10
+ <script src="runtime.f2046bab7c02026dc21f.js" defer></script><script src="polyfills.4a44032b137d291298c3.js" defer></script><script src="main.5240c1941fea0abc7a9c.js" defer></script>
11
+
12
+ </body></html>
@@ -0,0 +1,16 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import { Icon } from "../../enum/icon.enum";
3
+ import { IconCacheService } from "../../service/icon-cache.service";
4
+ export declare class LayoutSwitcherComponent {
5
+ iconCacheService: IconCacheService;
6
+ readonly icon: typeof Icon;
7
+ showClass(): boolean;
8
+ layoutItems: string[];
9
+ layoutSwitchEmit: EventEmitter<string>;
10
+ get activeIndex(): number;
11
+ set activeIndex(index: number);
12
+ showMaskSidebar: boolean;
13
+ private _activeIndex;
14
+ constructor(iconCacheService: IconCacheService);
15
+ toggleMaskSidebar(): void;
16
+ }
@@ -0,0 +1,2 @@
1
+ export declare class LayoutSwitcherModule {
2
+ }
@@ -0,0 +1,96 @@
1
+ @import "../../../style/mixin";
2
+
3
+ @include export-module('layout-switcher-layout') {
4
+ .layout-switcher {
5
+
6
+ position: relative;
7
+ min-width: $layout-switcher-mask-min-width;
8
+ height: 100%;
9
+ .icon-wrapper {
10
+ cursor: pointer;
11
+ position: relative;
12
+ -webkit-user-select: none;
13
+ -moz-user-select: none;
14
+ -ms-user-select: none;
15
+ user-select: none;
16
+ display: flex;
17
+ flex-direction: row;
18
+ align-items: center;
19
+ justify-content: space-evenly;
20
+ width: $layout-switcher-mask-min-width;
21
+ height: $layout-switcher-mask-min-height;
22
+
23
+ .icon-mask {
24
+
25
+
26
+ position: absolute;
27
+ left: $layout-switcher-main-icon-left-position;
28
+ width: 30px;
29
+ height: 30px;
30
+ }
31
+
32
+ .icon-mask-sidebar-handle {
33
+ position: absolute;
34
+ left: $layout-switcher-main-icon-active-left-position;
35
+ width: 30px;
36
+ height: 30px;
37
+ }
38
+ }
39
+
40
+ .mask-wrapper {
41
+ left: 6em;
42
+ display: flex;
43
+ flex-direction: row;
44
+ position: absolute;
45
+ min-height: $layout-switcher-mask-min-height;
46
+ min-width: $layout-switcher-mask-min-width;
47
+ background: white;
48
+ z-index: 10;
49
+ border-right: 1px solid $layout-switcher-color-border;
50
+
51
+ }
52
+
53
+ .mask-wrapper-active {
54
+ border: $layout-switcher-border;
55
+ border-radius: 8px;
56
+ }
57
+
58
+ .mask-content {
59
+ margin-top: 2rem;
60
+ margin-left: 2rem;
61
+ min-width: 350px;
62
+ background: white;
63
+ overflow: hidden;
64
+ display: flex;
65
+ flex-direction: column;
66
+
67
+ span {
68
+ padding: 1rem;
69
+ font-size: $layout-switcher-big-text-font-size;
70
+ font-weight: $layout-switcher-font-weight;
71
+ color: $layout-switcher-color-text-main;
72
+ text-decoration: none;
73
+ height: 50%;
74
+ width: 50%;
75
+
76
+ &.active {
77
+ background-color: #f0f5ff;
78
+ border: 1px solid #e5ebfa;
79
+ border-radius: 8px;
80
+ color: #3c7dff;
81
+ }
82
+
83
+ p {
84
+ padding: 1rem;
85
+ margin-bottom: 1rem;
86
+ margin-right: 1rem;
87
+ font-size: $layout-switcher-big-text-font-size;
88
+ }
89
+ }
90
+
91
+
92
+ }
93
+
94
+
95
+ }
96
+ }
@@ -0,0 +1,16 @@
1
+ $layout-switcher-mask-min-width: 120px !default;
2
+ $layout-switcher-mask-min-height: 120px !default;
3
+
4
+ $layout-switcher-big-text-font-size: 24px !default;
5
+
6
+ $layout-switcher-color-text-main: #171721 !default;
7
+ $layout-switcher-font-weight: bold !default;
8
+
9
+ $color-border: #e5ebfa !default;
10
+
11
+ $layout-switcher-border: 1px solid $color-border !default;
12
+
13
+ $layout-switcher-color-border: #e5ebfa !default;
14
+
15
+ $layout-switcher-main-icon-left-position: 10px;
16
+ $layout-switcher-main-icon-active-left-position: 65px;
@@ -0,0 +1,6 @@
1
+ @import "../../../style/mixin";
2
+
3
+ @include export-module('layout-switcher-theme') {
4
+ .layout-switcher {
5
+ }
6
+ }
@@ -0,0 +1,5 @@
1
+ @import "./material-definition";
2
+ @import "./layout";
3
+ @import "./theme";
4
+
5
+
@@ -1,7 +1,10 @@
1
1
  /** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
2
2
  export declare enum Icon {
3
+ AngleLeftSolid = "angle_left_solid",
4
+ AngleRightSolid = "angle_right_solid",
3
5
  ArrowFatRight = "arrow_fat_right",
4
6
  ArrowPointRight = "arrow_point_right",
7
+ BringForwardRegular = "bring_forward_regular",
5
8
  DeleteLeftRegular = "delete_left_regular",
6
9
  DeliveryTruck = "delivery_truck",
7
10
  Email = "email",