@bizy/core 19.9.1 → 19.10.0
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/fesm2022/bizy-core.mjs +108 -73
- package/fesm2022/bizy-core.mjs.map +1 -1
- package/lib/modules/popup/full-screen-popup-wrapper/full-screen-popup-wrapper.component.d.ts +11 -0
- package/lib/modules/popup/index.d.ts +1 -0
- package/lib/modules/popup/popup.module.d.ts +2 -1
- package/lib/modules/popup/popup.service.d.ts +2 -2
- package/package.json +1 -1
- package/styles/variables.css +20 -12
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ViewContainerRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BizyFullScreenPopupWrapperComponent<T> {
|
|
4
|
+
#private;
|
|
5
|
+
dynamicComponentContainer: ViewContainerRef;
|
|
6
|
+
ngAfterViewInit(): void;
|
|
7
|
+
loadDynamicComponent(): void;
|
|
8
|
+
close(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BizyFullScreenPopupWrapperComponent<any>, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BizyFullScreenPopupWrapperComponent<any>, "bizy-full-screen-popup-wrapper", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { BizyFullScreenPopupWrapperComponent } from './full-screen-popup-wrapper/full-screen-popup-wrapper.component';
|
|
1
2
|
export { BizyPopupModule } from './popup.module';
|
|
2
3
|
export { IBizyPopupResponse } from './popup.types';
|
|
3
4
|
export { BizyPopupService } from './popup.service';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./popup-wrapper/popup-wrapper.component";
|
|
3
|
+
import * as i2 from "./full-screen-popup-wrapper/full-screen-popup-wrapper.component";
|
|
3
4
|
export declare class BizyPopupModule {
|
|
4
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<BizyPopupModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BizyPopupModule, never, [typeof i1.BizyPopupWrapperComponent], [typeof i1.BizyPopupWrapperComponent]>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BizyPopupModule, never, [typeof i1.BizyPopupWrapperComponent, typeof i2.BizyFullScreenPopupWrapperComponent], [typeof i1.BizyPopupWrapperComponent, typeof i2.BizyFullScreenPopupWrapperComponent]>;
|
|
6
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<BizyPopupModule>;
|
|
7
8
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ComponentType } from "@angular/cdk/portal";
|
|
2
|
-
import { BizyPopupWrapperComponent } from "./popup-wrapper/popup-wrapper.component";
|
|
3
2
|
import { DialogRef } from '@angular/cdk/dialog';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class BizyPopupService {
|
|
6
5
|
#private;
|
|
7
|
-
static dialogs: Set<DialogRef<unknown,
|
|
6
|
+
static dialogs: Set<DialogRef<unknown, any>>;
|
|
8
7
|
open<R>(data: {
|
|
9
8
|
component: ComponentType<unknown>;
|
|
10
9
|
data?: unknown;
|
|
11
10
|
customClass?: string;
|
|
11
|
+
fullScreen?: boolean;
|
|
12
12
|
disableClose?: boolean;
|
|
13
13
|
id?: string;
|
|
14
14
|
}, callback?: (res: R) => void): void;
|
package/package.json
CHANGED
package/styles/variables.css
CHANGED
|
@@ -152,13 +152,21 @@
|
|
|
152
152
|
--bizy-popup-width: fit-content;
|
|
153
153
|
--bizy-popup-max-width: 90vw;
|
|
154
154
|
--bizy-popup-padding: 0.5rem;
|
|
155
|
-
--bizy-popup-drag-button-color:
|
|
156
|
-
--bizy-popup-drag-button-border
|
|
155
|
+
--bizy-popup-drag-button-color: var(--bizy-default-color);
|
|
156
|
+
--bizy-popup-drag-button-border: 0.1rem solid #ccc;
|
|
157
157
|
--bizy-popup-drag-button-background-color: #fff;
|
|
158
|
-
--bizy-popup-close-button-border
|
|
158
|
+
--bizy-popup-close-button-border: 0.1rem solid #ccc;
|
|
159
159
|
--bizy-popup-close-button-background-color: #fff;
|
|
160
|
-
--bizy-popup-close-button-color:
|
|
161
|
-
--bizy-popup-close-button-hover-color:
|
|
160
|
+
--bizy-popup-close-button-color: var(--bizy-default-color);
|
|
161
|
+
--bizy-popup-close-button-hover-color: var(--bizy-danger-color);
|
|
162
|
+
|
|
163
|
+
--bizy-popup-full-screen-background-color: #fff;
|
|
164
|
+
--bizy-popup-full-screen-padding: 0.5rem;
|
|
165
|
+
--bizy-popup-full-screen-border-radius: 1rem;
|
|
166
|
+
--bizy-popup-full-screen-close-button-border: transparent;
|
|
167
|
+
--bizy-popup-full-screen-close-button-background-color: transparent;
|
|
168
|
+
--bizy-popup-full-screen-close-button-color: var(--bizy-default-color);
|
|
169
|
+
--bizy-popup-full-screen-close-button-hover-color: var(--bizy-danger-color);
|
|
162
170
|
|
|
163
171
|
--bizy-radio-color: var(--bizy-accent-color);
|
|
164
172
|
|
|
@@ -308,17 +316,17 @@
|
|
|
308
316
|
|
|
309
317
|
--bizy-toast-border-left: 0.4rem solid #fff;
|
|
310
318
|
--bizy-toast-default-background-color: #fff;
|
|
311
|
-
--bizy-toast-default-color:
|
|
319
|
+
--bizy-toast-default-color: var(--bizy-default-color);
|
|
312
320
|
--bizy-toast-info-background-color: #fff;
|
|
313
|
-
--bizy-toast-info-color:
|
|
321
|
+
--bizy-toast-info-color: var(--bizy-info-color);
|
|
314
322
|
--bizy-toast-success-background-color: #fff;
|
|
315
|
-
--bizy-toast-success-color:
|
|
323
|
+
--bizy-toast-success-color: var(--bizy-success-color);
|
|
316
324
|
--bizy-toast-warning-background-color: #fff;
|
|
317
|
-
--bizy-toast-warning-color:
|
|
325
|
+
--bizy-toast-warning-color: var(--bizy-warning-color);
|
|
318
326
|
--bizy-toast-danger-background-color: #fff;
|
|
319
|
-
--bizy-toast-danger-color:
|
|
320
|
-
--bizy-toast-close-button-color:
|
|
321
|
-
--bizy-toast-close-button-hover-color:
|
|
327
|
+
--bizy-toast-danger-color: var(--bizy-danger-color);
|
|
328
|
+
--bizy-toast-close-button-color: var(--bizy-default-color);
|
|
329
|
+
--bizy-toast-close-button-hover-color: var(--bizy-dark-default-color);
|
|
322
330
|
|
|
323
331
|
--bizy-toggle-color: var(--bizy-danger-color);
|
|
324
332
|
--bizy-toggle-background-color: #f2d5d7;
|