@dereekb/dbx-web 9.9.5 → 9.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/esm2020/lib/interaction/popup/popup.component.mjs +1 -1
- package/esm2020/lib/interaction/popup/popup.service.mjs +3 -3
- package/esm2020/lib/layout/column/two/two.column.right.component.mjs +3 -3
- package/esm2020/lib/layout/column/two/two.column.store.mjs +17 -4
- package/fesm2015/dereekb-dbx-web.mjs +21 -8
- package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web.mjs +20 -7
- package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
- package/lib/interaction/popup/_popup.scss +1 -1
- package/lib/interaction/popup/popup.component.d.ts +3 -1
- package/lib/interaction/prompt/_prompt.scss +1 -1
- package/lib/layout/column/two/two.column.store.d.ts +16 -0
- package/mapbox/package.json +3 -3
- package/package.json +3 -3
|
@@ -20,7 +20,7 @@ $dbx-popup-border-radius: 4px;
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.dbx-popup-content-container {
|
|
23
|
-
max-height: calc(theming.$app-height - #{$dbx-popup-controls-height});
|
|
23
|
+
max-height: calc(#{theming.$app-height} - #{$dbx-popup-controls-height});
|
|
24
24
|
padding: $dbx-popup-content-padding;
|
|
25
25
|
padding-top: $dbx-popup-content-padding-top;
|
|
26
26
|
overflow: auto;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NgZone, Type, OnDestroy } from '@angular/core';
|
|
2
2
|
import { NgPopoverRef } from 'ng-overlay-container';
|
|
3
|
-
import { Maybe } from '@dereekb/util';
|
|
3
|
+
import { Maybe, PixelsString } from '@dereekb/util';
|
|
4
4
|
import { CompactContextStore } from '../../layout';
|
|
5
5
|
import { PopupPosition, PopupPositionOffset } from './popup.position.strategy';
|
|
6
6
|
import { AbstractTransitionWatcherDirective, DbxInjectionComponentConfig, DbxRouterTransitionService } from '@dereekb/dbx-core';
|
|
@@ -26,6 +26,8 @@ export interface DbxPopupComponentConfig<O, I, T> {
|
|
|
26
26
|
data?: I;
|
|
27
27
|
isDraggable?: boolean;
|
|
28
28
|
init?: (component: T, controller: DbxPopupController<O, I>) => void;
|
|
29
|
+
width?: PixelsString;
|
|
30
|
+
height?: PixelsString;
|
|
29
31
|
}
|
|
30
32
|
/**
|
|
31
33
|
* Popup component.
|
|
@@ -12,6 +12,10 @@ export interface TwoColumnsState {
|
|
|
12
12
|
* Whether or not the right side should be shown.
|
|
13
13
|
*/
|
|
14
14
|
showRight: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Whether or not there is any registered right content currently.
|
|
17
|
+
*/
|
|
18
|
+
hasRight: boolean;
|
|
15
19
|
/**
|
|
16
20
|
* Whether or not to allow the left to fill up the screen when no right is shown.
|
|
17
21
|
*/
|
|
@@ -41,6 +45,14 @@ export declare class TwoColumnsContextStore extends ComponentStore<TwoColumnsSta
|
|
|
41
45
|
/**
|
|
42
46
|
* Pipes the current state of showRight.
|
|
43
47
|
*/
|
|
48
|
+
readonly hasRight$: import("rxjs").Observable<boolean>;
|
|
49
|
+
/**
|
|
50
|
+
* Pipes the current state of showRight.
|
|
51
|
+
*/
|
|
52
|
+
readonly currentShowRight$: import("rxjs").Observable<boolean>;
|
|
53
|
+
/**
|
|
54
|
+
* Pipes the current state of showRight and hasRight
|
|
55
|
+
*/
|
|
44
56
|
readonly showRight$: import("rxjs").Observable<boolean>;
|
|
45
57
|
/**
|
|
46
58
|
* Convenience function for the showRight compliment.
|
|
@@ -70,6 +82,10 @@ export declare class TwoColumnsContextStore extends ComponentStore<TwoColumnsSta
|
|
|
70
82
|
* Changes the state to show right or not.
|
|
71
83
|
*/
|
|
72
84
|
readonly setReverseSizing: (() => void) | ((observableOrValue: Maybe<boolean> | import("rxjs").Observable<Maybe<boolean>>) => import("rxjs").Subscription);
|
|
85
|
+
/**
|
|
86
|
+
* Changes the state to have right content or not.
|
|
87
|
+
*/
|
|
88
|
+
readonly setHasRight: (() => void) | ((observableOrValue: Maybe<boolean> | import("rxjs").Observable<Maybe<boolean>>) => import("rxjs").Subscription);
|
|
73
89
|
/**
|
|
74
90
|
* Changes the state to show right or not.
|
|
75
91
|
*/
|
package/mapbox/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-web/mapbox",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.10.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^14.1.0",
|
|
6
6
|
"@angular/core": "^14.1.0",
|
|
7
|
-
"@dereekb/dbx-core": "9.
|
|
8
|
-
"@dereekb/dbx-web": "9.
|
|
7
|
+
"@dereekb/dbx-core": "9.10.0",
|
|
8
|
+
"@dereekb/dbx-web": "9.10.0",
|
|
9
9
|
"ngx-mapbox-gl": "^9.1.0",
|
|
10
10
|
"mapbox-gl": "^2.9.2",
|
|
11
11
|
"@mapbox/geo-viewport": "git+https://git@github.com/dereekb/geo-viewport#165513972f87dca23a20c177f4d173edc51b5e2f"
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-web",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.10.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^14.0.0",
|
|
6
6
|
"@angular/core": "^14.0.0",
|
|
7
7
|
"linkify-string": "4.0.0-beta.5",
|
|
8
8
|
"linkifyjs": "^4.0.0-beta.5",
|
|
9
9
|
"@angular/material": "^14.0.0",
|
|
10
|
-
"@dereekb/rxjs": "9.
|
|
11
|
-
"@dereekb/dbx-core": "9.
|
|
10
|
+
"@dereekb/rxjs": "9.10.0",
|
|
11
|
+
"@dereekb/dbx-core": "9.10.0",
|
|
12
12
|
"angular-calendar": "^0.30.1",
|
|
13
13
|
"@angular/flex-layout": "^14.0.0-beta.40",
|
|
14
14
|
"ng-overlay-container": "^14.0.0",
|