@yuuvis/client-framework 2.3.14 → 2.3.16

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.
Files changed (25) hide show
  1. package/fesm2022/yuuvis-client-framework-common.mjs.map +1 -1
  2. package/fesm2022/yuuvis-client-framework-master-details.mjs +175 -7
  3. package/fesm2022/yuuvis-client-framework-master-details.mjs.map +1 -1
  4. package/fesm2022/yuuvis-client-framework-object-flavor.mjs +1 -1
  5. package/fesm2022/yuuvis-client-framework-object-flavor.mjs.map +1 -1
  6. package/fesm2022/yuuvis-client-framework-object-versions.mjs +1 -1
  7. package/fesm2022/yuuvis-client-framework-object-versions.mjs.map +1 -1
  8. package/fesm2022/yuuvis-client-framework-split-view.mjs +20 -24
  9. package/fesm2022/yuuvis-client-framework-split-view.mjs.map +1 -1
  10. package/fesm2022/yuuvis-client-framework-tile-list.mjs +1 -1
  11. package/fesm2022/yuuvis-client-framework-tile-list.mjs.map +1 -1
  12. package/master-details/index.d.ts +4 -1
  13. package/master-details/lib/master-details-pane/master-details-pane.component.d.ts +34 -0
  14. package/master-details/lib/master-details-pane/master-details-pane.interface.d.ts +17 -0
  15. package/master-details/lib/master-details-pane/pane.directive.d.ts +15 -0
  16. package/master-details/lib/master-details.module.d.ts +3 -1
  17. package/package.json +5 -9
  18. package/split-view/lib/split-area.directive.d.ts +10 -4
  19. package/split-view/lib/split-view.component.d.ts +5 -4
  20. package/split-view/lib/split-view.interface.d.ts +2 -1
  21. package/fesm2022/yuuvis-client-framework-panel.mjs +0 -28
  22. package/fesm2022/yuuvis-client-framework-panel.mjs.map +0 -1
  23. package/panel/README.md +0 -3
  24. package/panel/index.d.ts +0 -1
  25. package/panel/lib/panel.component.d.ts +0 -12
@@ -0,0 +1,15 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { PaneLayoutSettings } from './master-details-pane.interface';
3
+ import * as i0 from "@angular/core";
4
+ export declare class YuvPaneDirective {
5
+ #private;
6
+ template: TemplateRef<any>;
7
+ role: import("@angular/core").InputSignal<"master" | "details" | "context">;
8
+ collapsable: import("@angular/core").InputSignal<boolean>;
9
+ topBarActions: import("@angular/core").InputSignal<TemplateRef<any> | undefined>;
10
+ collapsed: import("@angular/core").WritableSignal<boolean>;
11
+ updateSettings(s: PaneLayoutSettings): void;
12
+ areaProperties: import("@angular/core").WritableSignal<PaneLayoutSettings>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<YuvPaneDirective, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<YuvPaneDirective, "[yuvPane]", never, { "role": { "alias": "role"; "required": false; "isSignal": true; }; "collapsable": { "alias": "collapsable"; "required": false; "isSignal": true; }; "topBarActions": { "alias": "topBarActions"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
15
+ }
@@ -1,7 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./master-details.component";
3
+ import * as i2 from "./master-details-pane/pane.directive";
4
+ import * as i3 from "./master-details-pane/master-details-pane.component";
3
5
  export declare class YuvMasterDetailsModule {
4
6
  static ɵfac: i0.ɵɵFactoryDeclaration<YuvMasterDetailsModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<YuvMasterDetailsModule, never, [typeof i1.YuvMasterDetailsComponent], [typeof i1.YuvMasterDetailsComponent]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<YuvMasterDetailsModule, never, [typeof i1.YuvMasterDetailsComponent, typeof i2.YuvPaneDirective, typeof i3.YuvMasterDetailsPaneComponent], [typeof i1.YuvMasterDetailsComponent, typeof i2.YuvPaneDirective, typeof i3.YuvMasterDetailsPaneComponent]>;
6
8
  static ɵinj: i0.ɵɵInjectorDeclaration<YuvMasterDetailsModule>;
7
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuuvis/client-framework",
3
- "version": "2.3.14",
3
+ "version": "2.3.16",
4
4
  "author": "OPTIMAL SYSTEMS GmbH <npm@optimal-systems.de>",
5
5
  "license": "MIT",
6
6
  "peerDependencies": {
@@ -8,16 +8,16 @@
8
8
  "@angular/common": "^19.2.1",
9
9
  "@angular/core": "^19.2.1",
10
10
  "angular-gridster2": "^19.0.0",
11
- "@yuuvis/client-core": "^2.3.14",
12
- "@yuuvis/client-shell-core": "^2.3.14",
11
+ "@yuuvis/client-core": "^2.3.16",
12
+ "@yuuvis/client-shell-core": "^2.3.16",
13
13
  "ng-dynamic-component": "^10.8.2",
14
14
  "modern-normalize": "^3.0.1"
15
15
  },
16
16
  "dependencies": {
17
17
  "@angular/material": "^19.2.15",
18
18
  "@ngrx/signals": "^19.2.0",
19
- "@yuuvis/material": "2.3.14",
20
- "@yuuvis/media-viewer": "^2.0.10",
19
+ "@yuuvis/material": "2.3.16",
20
+ "@yuuvis/media-viewer": "^2.0.11",
21
21
  "angular-split": "^19.0.0",
22
22
  "tslib": "^2.3.0"
23
23
  },
@@ -115,10 +115,6 @@
115
115
  "types": "./pagination/index.d.ts",
116
116
  "default": "./fesm2022/yuuvis-client-framework-pagination.mjs"
117
117
  },
118
- "./panel": {
119
- "types": "./panel/index.d.ts",
120
- "default": "./fesm2022/yuuvis-client-framework-panel.mjs"
121
- },
122
118
  "./popout": {
123
119
  "types": "./popout/index.d.ts",
124
120
  "default": "./fesm2022/yuuvis-client-framework-popout.mjs"
@@ -1,16 +1,22 @@
1
1
  import { TemplateRef } from '@angular/core';
2
2
  import { SplitAreaLayoutSettings } from './split-view.interface';
3
+ import { SplitAreaSize } from 'angular-split';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class SplitAreaDirective {
5
- #private;
6
6
  template: TemplateRef<any>;
7
- size: import("@angular/core").InputSignal<number | undefined>;
7
+ size: import("@angular/core").InputSignal<SplitAreaSize | undefined>;
8
8
  minSize: import("@angular/core").InputSignal<number | undefined>;
9
9
  maxSize: import("@angular/core").InputSignal<number | undefined>;
10
10
  panelClass: import("@angular/core").InputSignal<string | undefined>;
11
11
  visible: import("@angular/core").InputSignal<boolean>;
12
+ lockSize: import("@angular/core").InputSignal<boolean>;
13
+ efff: import("@angular/core").EffectRef;
14
+ areaProperties: import("@angular/core").WritableSignal<{
15
+ size: SplitAreaSize | undefined;
16
+ visible: boolean;
17
+ lockSize: boolean;
18
+ }>;
12
19
  updateSettings(s: SplitAreaLayoutSettings): void;
13
- areaProperties: import("@angular/core").WritableSignal<SplitAreaLayoutSettings>;
14
20
  static ɵfac: i0.ɵɵFactoryDeclaration<SplitAreaDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<SplitAreaDirective, "[yuvSplitArea]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "minSize": { "alias": "minSize"; "required": false; "isSignal": true; }; "maxSize": { "alias": "maxSize"; "required": false; "isSignal": true; }; "panelClass": { "alias": "panelClass"; "required": false; "isSignal": true; }; "visible": { "alias": "visible"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SplitAreaDirective, "[yuvSplitArea]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "minSize": { "alias": "minSize"; "required": false; "isSignal": true; }; "maxSize": { "alias": "maxSize"; "required": false; "isSignal": true; }; "panelClass": { "alias": "panelClass"; "required": false; "isSignal": true; }; "visible": { "alias": "visible"; "required": false; "isSignal": true; }; "lockSize": { "alias": "lockSize"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
16
22
  }
@@ -26,6 +26,8 @@ export declare class SplitViewComponent implements AfterViewInit {
26
26
  * The split views direction. Could be 'horizontal' or 'vertical'. Defaults to 'horizontal'.
27
27
  */
28
28
  direction: import("@angular/core").InputSignal<SplitDirection>;
29
+ isVertical: import("@angular/core").Signal<boolean>;
30
+ isHorizontal: import("@angular/core").Signal<boolean>;
29
31
  /**
30
32
  * Size of the gutter in Pixel (defaults to 16).
31
33
  */
@@ -34,9 +36,8 @@ export declare class SplitViewComponent implements AfterViewInit {
34
36
  /**
35
37
  * Disable the dragging feature (remove cursor/image on gutters).
36
38
  */
37
- disabled: import("@angular/core").InputSignal<boolean>;
38
- disabledEffect: import("@angular/core").EffectRef;
39
- _disabled: boolean;
39
+ disabledInput: import("@angular/core").InputSignal<boolean>;
40
+ disabled: import("@angular/core").WritableSignal<boolean>;
40
41
  /**
41
42
  * Layout settings are the state of the split view that could be persisted.
42
43
  * Setting a `layoutSettingsID` will save the current state (split area sizes etc.)
@@ -72,5 +73,5 @@ export declare class SplitViewComponent implements AfterViewInit {
72
73
  applyLayoutSettings(settings: SplitViewLayoutSettings): void;
73
74
  ngAfterViewInit(): void;
74
75
  static ɵfac: i0.ɵɵFactoryDeclaration<SplitViewComponent, never>;
75
- static ɵcmp: i0.ɵɵComponentDeclaration<SplitViewComponent, "yuv-split-view", never, { "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "gutterSize": { "alias": "gutterSize"; "required": false; "isSignal": true; }; "restrictMove": { "alias": "restrictMove"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "layoutSettingsID": { "alias": "layoutSettingsID"; "required": false; "isSignal": true; }; }, { "layoutSettingsChange": "layoutSettingsChange"; "dragStart": "dragStart"; "dragEnd": "dragEnd"; "gutterClick": "gutterClick"; "gutterDblClick": "gutterDblClick"; }, ["splitAreas"], never, true, never>;
76
+ static ɵcmp: i0.ɵɵComponentDeclaration<SplitViewComponent, "yuv-split-view", never, { "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "gutterSize": { "alias": "gutterSize"; "required": false; "isSignal": true; }; "restrictMove": { "alias": "restrictMove"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "layoutSettingsID": { "alias": "layoutSettingsID"; "required": false; "isSignal": true; }; }, { "layoutSettingsChange": "layoutSettingsChange"; "dragStart": "dragStart"; "dragEnd": "dragEnd"; "gutterClick": "gutterClick"; "gutterDblClick": "gutterDblClick"; }, ["splitAreas"], never, true, never>;
76
77
  }
@@ -1,10 +1,11 @@
1
1
  import { SplitAreaSize, SplitGutterInteractionEvent } from 'angular-split';
2
2
  export interface SplitViewLayoutSettings {
3
- disabled: boolean;
3
+ disabled?: boolean;
4
4
  areas: Array<SplitAreaLayoutSettings>;
5
5
  }
6
6
  export interface SplitAreaLayoutSettings {
7
7
  visible?: boolean;
8
+ lockSize?: boolean;
8
9
  size?: SplitAreaSize;
9
10
  }
10
11
  export type SplitViewOutputData = SplitGutterInteractionEvent;
@@ -1,28 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import * as i0 from '@angular/core';
3
- import { Input, Component } from '@angular/core';
4
- import * as i1 from '@angular/material/tooltip';
5
- import { MatTooltipModule } from '@angular/material/tooltip';
6
- import { YuvIconComponent } from '@yuuvis/client-framework/icons';
7
-
8
- class PanelComponent {
9
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: PanelComponent, isStandalone: true, selector: "yuv-panel", inputs: { icon: "icon", title: "title", description: "description" }, ngImport: i0, template: "<header>\n <div class=\"icon\">\n @if (icon) {\n @if (icon.src) {\n <yuv-icon [matTooltip]=\"icon.title\" [svgSrc]=\"icon.src\"></yuv-icon>\n } @else if (icon.svg) {\n <yuv-icon [matTooltip]=\"icon.title\" [svg]=\"icon.svg\"></yuv-icon>\n }\n }\n </div>\n <div class=\"title\">{{ title }}</div>\n <div class=\"description\">{{ description }}</div>\n <div class=\"actions\"><ng-content class=\"actions\" select=\".actions\"></ng-content></div>\n <div class=\"status\"><ng-content class=\"status\" select=\".status\"></ng-content></div>\n</header>\n<main>\n <ng-content class=\"content\" select=\".content\"></ng-content>\n</main>\n", styles: [":host{display:flex;flex-flow:column}:host header{flex:0 0 auto;display:grid;padding:var(--ymt-spacing-m);grid-template-rows:auto auto;grid-template-columns:auto 1fr;grid-template-areas:\"icon title\" \"icon description\";gap:var(--ymt-spacing-m)}:host header .icon{grid-area:icon}:host header .title{grid-area:title;font:var(--ymt-font-title-small);display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host header .description{grid-area:description;font:var(--ymt-font-subhead);display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host main{flex:1;overflow-y:auto}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: YuvIconComponent, selector: "yuv-icon", inputs: ["label", "svg", "svgSrc"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }] }); }
11
- }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PanelComponent, decorators: [{
13
- type: Component,
14
- args: [{ selector: 'yuv-panel', standalone: true, imports: [CommonModule, YuvIconComponent, MatTooltipModule], template: "<header>\n <div class=\"icon\">\n @if (icon) {\n @if (icon.src) {\n <yuv-icon [matTooltip]=\"icon.title\" [svgSrc]=\"icon.src\"></yuv-icon>\n } @else if (icon.svg) {\n <yuv-icon [matTooltip]=\"icon.title\" [svg]=\"icon.svg\"></yuv-icon>\n }\n }\n </div>\n <div class=\"title\">{{ title }}</div>\n <div class=\"description\">{{ description }}</div>\n <div class=\"actions\"><ng-content class=\"actions\" select=\".actions\"></ng-content></div>\n <div class=\"status\"><ng-content class=\"status\" select=\".status\"></ng-content></div>\n</header>\n<main>\n <ng-content class=\"content\" select=\".content\"></ng-content>\n</main>\n", styles: [":host{display:flex;flex-flow:column}:host header{flex:0 0 auto;display:grid;padding:var(--ymt-spacing-m);grid-template-rows:auto auto;grid-template-columns:auto 1fr;grid-template-areas:\"icon title\" \"icon description\";gap:var(--ymt-spacing-m)}:host header .icon{grid-area:icon}:host header .title{grid-area:title;font:var(--ymt-font-title-small);display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host header .description{grid-area:description;font:var(--ymt-font-subhead);display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host main{flex:1;overflow-y:auto}\n"] }]
15
- }], propDecorators: { icon: [{
16
- type: Input
17
- }], title: [{
18
- type: Input
19
- }], description: [{
20
- type: Input
21
- }] } });
22
-
23
- /**
24
- * Generated bundle index. Do not edit.
25
- */
26
-
27
- export { PanelComponent };
28
- //# sourceMappingURL=yuuvis-client-framework-panel.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"yuuvis-client-framework-panel.mjs","sources":["../../../../../libs/yuuvis/client-framework/panel/src/lib/panel.component.ts","../../../../../libs/yuuvis/client-framework/panel/src/lib/panel.component.html","../../../../../libs/yuuvis/client-framework/panel/src/yuuvis-client-framework-panel.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { Component, Input } from '@angular/core';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { YuvIconComponent } from '@yuuvis/client-framework/icons';\n\n@Component({\n selector: 'yuv-panel',\n standalone: true,\n imports: [CommonModule, YuvIconComponent, MatTooltipModule],\n templateUrl: './panel.component.html',\n styleUrls: ['./panel.component.scss']\n})\nexport class PanelComponent {\n @Input() icon?: {\n src?: string, \n svg?: string, \n title?: string\n };\n @Input() title?: string;\n @Input() description?: string;\n\n\n}\n","<header>\n <div class=\"icon\">\n @if (icon) {\n @if (icon.src) {\n <yuv-icon [matTooltip]=\"icon.title\" [svgSrc]=\"icon.src\"></yuv-icon>\n } @else if (icon.svg) {\n <yuv-icon [matTooltip]=\"icon.title\" [svg]=\"icon.svg\"></yuv-icon>\n }\n }\n </div>\n <div class=\"title\">{{ title }}</div>\n <div class=\"description\">{{ description }}</div>\n <div class=\"actions\"><ng-content class=\"actions\" select=\".actions\"></ng-content></div>\n <div class=\"status\"><ng-content class=\"status\" select=\".status\"></ng-content></div>\n</header>\n<main>\n <ng-content class=\"content\" select=\".content\"></ng-content>\n</main>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAYa,cAAc,CAAA;+GAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAd,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,cAAc,2ICZ3B,kqBAkBA,EAAA,MAAA,EAAA,CAAA,8mBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDVY,YAAY,EAAE,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,gBAAgB,wFAAE,gBAAgB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,UAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,CAAA,oBAAA,EAAA,4BAAA,EAAA,oBAAA,EAAA,qBAAA,EAAA,qBAAA,EAAA,yBAAA,EAAA,YAAA,EAAA,iBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAI/C,cAAc,EAAA,UAAA,EAAA,CAAA;kBAP1B,SAAS;+BACE,WAAW,EAAA,UAAA,EACT,IAAI,EACP,OAAA,EAAA,CAAC,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,CAAC,EAAA,QAAA,EAAA,kqBAAA,EAAA,MAAA,EAAA,CAAA,8mBAAA,CAAA,EAAA;8BAKlD,IAAI,EAAA,CAAA;sBAAZ;gBAKQ,KAAK,EAAA,CAAA;sBAAb;gBACQ,WAAW,EAAA,CAAA;sBAAnB;;;AEnBH;;AAEG;;;;"}
package/panel/README.md DELETED
@@ -1,3 +0,0 @@
1
- # @yuuvis/client-framework/panel
2
-
3
- Secondary entry point of `@yuuvis/client-framework`. It can be used by importing from `@yuuvis/client-framework/panel`.
package/panel/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './lib/panel.component';
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class PanelComponent {
3
- icon?: {
4
- src?: string;
5
- svg?: string;
6
- title?: string;
7
- };
8
- title?: string;
9
- description?: string;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<PanelComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<PanelComponent, "yuv-panel", never, { "icon": { "alias": "icon"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; }, {}, never, [".actions", ".status", ".content"], true, never>;
12
- }