diff --git a/projects/srm/src/app/search-filters/search-filters.component.less b/projects/srm/src/app/search-filters/search-filters.component.less
index 746a6452..f7e594c4 100644
--- a/projects/srm/src/app/search-filters/search-filters.component.less
+++ b/projects/srm/src/app/search-filters/search-filters.component.less
@@ -13,31 +13,6 @@
flex-flow: column;
align-items: center;
- .filtering-header {
- width: 100%;
- display: flex;
- flex-flow: row;
- gap: 8px;
- align-items: center;
- border-bottom: 1px solid @color-blue-7;
- background: @color-white;
- .desktop({
- height: 56px;
- padding: 0 8px;
- .back {
- flex: 0 0 auto;
- .button-image(@color-blue-8, @color-blue-7);
- width: 40px;
- height: 40px;
- border-radius: 24px;
- border: 1px solid @color-blue-6;
- &, &:hover {
- background-size: 30px;
- background-image: url('../../assets/img/icon-back-blue-1.svg');
- }
- }
- });
- }
.situations-container {
width: 100%;
display: flex;
diff --git a/projects/srm/src/app/searchbox-header/searchbox-header.component.html b/projects/srm/src/app/searchbox-header/searchbox-header.component.html
index 9972a387..00d6a9ad 100644
--- a/projects/srm/src/app/searchbox-header/searchbox-header.component.html
+++ b/projects/srm/src/app/searchbox-header/searchbox-header.component.html
@@ -1,43 +1,46 @@
-
-
-
-
- {{placeholder}}
-
-
-
- {{searchParams.query}}
-
-
- {{responseDisplay}}
- כל שירות
-
-
-
-
-
+
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/projects/srm/src/app/searchbox-header/searchbox-header.component.less b/projects/srm/src/app/searchbox-header/searchbox-header.component.less
index bfd2b886..0bcf3312 100644
--- a/projects/srm/src/app/searchbox-header/searchbox-header.component.less
+++ b/projects/srm/src/app/searchbox-header/searchbox-header.component.less
@@ -3,14 +3,24 @@
:host {
width: 100%;
display: flex;
+ flex-flow: column;
+ align-items: stretch;
background: @color-white;
-
.mobile({
border-bottom: 1px solid @color-gray-6;
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
- padding: 8px;
+ padding: 8px 0;
gap: 8px;
+ });
+
+}
+.wrapper {
+ width: 100%;
+ display: flex;
+
+ .mobile({
+ padding: 0 8px;
flex-flow: column;
});
.desktop({
diff --git a/projects/srm/src/app/situation/situation.component.html b/projects/srm/src/app/situation/situation.component.html
index f8ad45e7..d65283f1 100644
--- a/projects/srm/src/app/situation/situation.component.html
+++ b/projects/srm/src/app/situation/situation.component.html
@@ -1,4 +1,4 @@
-
←
+
+
+
+
diff --git a/projects/srm/src/app/situation/situation.component.less b/projects/srm/src/app/situation/situation.component.less
index 89ae0a56..f7347968 100644
--- a/projects/srm/src/app/situation/situation.component.less
+++ b/projects/srm/src/app/situation/situation.component.less
@@ -76,4 +76,29 @@
line-height: 13px;
}
}
+
+ &.selected {
+ height: 28px;
+ border-color: @color-blue-3;
+ cursor: pointer;
+ color: @color-black;
+ font-weight: 600;
+ background-image: url(../../assets/img/icon-person-blue-4.svg);
+ background-position: center right 2px;
+ padding-right: 22px;
+
+ .icon {
+ flex: 0 0 auto;
+ .background-image;
+ display: inline-block;
+
+ &.close {
+ background-image: url(../../assets/img/icon-response-deselect.svg);
+ }
+ background-size: 16px;
+ width: 16px;
+ height: 16px;
+ margin-left: 2px;
+ }
+ }
}
\ No newline at end of file
diff --git a/projects/srm/src/app/situation/situation.component.ts b/projects/srm/src/app/situation/situation.component.ts
index c0b3327b..0676f30f 100644
--- a/projects/srm/src/app/situation/situation.component.ts
+++ b/projects/srm/src/app/situation/situation.component.ts
@@ -1,4 +1,4 @@
-import { Component, Input, OnInit } from '@angular/core';
+import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { TaxonomyItem } from '../consts';
import { LayoutService } from '../layout.service';
@@ -12,6 +12,9 @@ export class SituationComponent implements OnInit {
@Input() situation: TaxonomyItem = {};
@Input() small = false;
@Input() link = false;
+ @Input() selected = false;
+
+ @Output() clicked = new EventEmitter
();
hover = false;
@@ -24,4 +27,7 @@ export class SituationComponent implements OnInit {
return this.small || this.layout.mobile();
}
+ onClick() {
+ this.clicked.emit();
+ }
}
diff --git a/projects/srm/src/assets/img/chevron-left-blue-1.svg b/projects/srm/src/assets/img/chevron-left-blue-1.svg
new file mode 100644
index 00000000..eb512c0c
--- /dev/null
+++ b/projects/srm/src/assets/img/chevron-left-blue-1.svg
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/projects/srm/src/assets/img/icon-person-blue-4.svg b/projects/srm/src/assets/img/icon-person-blue-4.svg
new file mode 100644
index 00000000..11cec545
--- /dev/null
+++ b/projects/srm/src/assets/img/icon-person-blue-4.svg
@@ -0,0 +1,5 @@
+
diff --git a/tsconfig.json b/tsconfig.json
index 6c5298f4..6fb4cda7 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -6,6 +6,8 @@
"outDir": "./dist/out-tsc",
"forceConsistentCasingInFileNames": true,
"strict": true,
+ "noImplicitOverride": true,
+ "noPropertyAccessFromIndexSignature": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"sourceMap": true,
@@ -16,18 +18,18 @@
"importHelpers": true,
"target": "ES2022",
"module": "ES2022",
+ "useDefineForClassFields": false,
"lib": [
"ES2022",
"dom"
],
"strictPropertyInitialization": false,
- "useDefineForClassFields": false
+ "emitDecoratorMetadata": true
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
"strictInjectionParameters": true,
"strictInputAccessModifiers": true,
- "strictTemplates": true,
- "strictPropertyInitialization": false
+ "strictTemplates": true
}
}