+
@if (labelTextView) {
@@ -13,12 +13,12 @@
}
- @if (type === "switch") {
+ @if (type === 'switch') {
} @else {
- @if (type === "price") {
+ @if (type === 'price') {
+ (onBlur)="blur.emit()" />
} @else {
+ (input)="onInput($event)" />
}
@if (suffixTemp) {
@@ -69,6 +67,6 @@
}
@if (hint) {
-
{{ hint }}
+
{{ hint }}
}
diff --git a/src/assets/constants/localStorageKeys.const.ts b/src/assets/constants/localStorageKeys.const.ts
index 53e9007..160a375 100644
--- a/src/assets/constants/localStorageKeys.const.ts
+++ b/src/assets/constants/localStorageKeys.const.ts
@@ -5,6 +5,7 @@ export enum LOCAL_STORAGE_KEYS {
LAST_LOGIN_TIME = 'lastLoginTime',
LOGIN_ATTEMPTS = 'loginAttempts',
POS_CONFIG_RAPID_INVOICE = 'posConfigRapidInvoice',
+ POS_CONFIG_SEND_TO_FISCAL_ACTIVATION = 'posConfigSendToFiscalActivation',
POS_CONFIG_PRINT = 'posConfigPrint',
POS_CONFIG_GOLD_PRICE = 'posConfigGoldPrice',
}
diff --git a/src/assets/styles.scss b/src/assets/styles.scss
index 4c3e44f..9788151 100644
--- a/src/assets/styles.scss
+++ b/src/assets/styles.scss
@@ -15,17 +15,27 @@ form,
gap: 1rem;
}
-body.tenant-tis .p-drawer {
+body.application-pos .p-drawer {
will-change: transform;
transform: translateZ(0);
backface-visibility: hidden;
+ box-shadow: none !important;
}
-body.tenant-tis .p-drawer-mask {
+body.application-pos .p-drawer-mask {
will-change: opacity;
}
-body.tenant-tis .p-drawer .p-drawer-content {
+body.application-pos .p-drawer .p-drawer-content {
-webkit-overflow-scrolling: touch;
overscroll-behavior: contain;
}
+
+body.application-pos .p-card {
+ box-shadow: none !important;
+ border: 1px solid var(--surface-border) !important;
+}
+
+body.application-pos .p-select {
+ box-shadow: none !important;
+}
diff --git a/src/main.ts b/src/main.ts
index dafc4cf..9d997c6 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -32,7 +32,7 @@ if (themeMeta) {
}
if (config.isPosApplication) {
- document.body.classList.add('tenant-tis');
+ document.body.classList.add('application-pos');
}
bootstrapApplication(AppComponent, appConfig).catch((err) => console.error(err));