@litigiovirtual/ius-design-components 1.0.181 → 1.0.182
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.
|
@@ -11,28 +11,22 @@ export class NavRailComponent {
|
|
|
11
11
|
this.isOpen = !this.isOpen;
|
|
12
12
|
}
|
|
13
13
|
onAnimDone(event) {
|
|
14
|
-
if (event.toState === '
|
|
14
|
+
if (event.toState === 'closed') {
|
|
15
15
|
this.onClose.emit();
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NavRailComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
19
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
19
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: NavRailComponent, isStandalone: true, selector: "ius-nav-rail", inputs: { isOpen: "isOpen" }, outputs: { onClose: "onClose" }, ngImport: i0, template: "<div class=\"container-general\">\r\n <div class=\"rail-container\" [class.collapsed]=\"!isOpen\" [@slideInOut]=\"isOpen ? 'open' : 'closed'\" (@slideInOut.done)=\"onAnimDone($event)\">\r\n <div class=\"rail-icon-container\">\r\n <ius-button-squared-secondary\r\n class=\"panel\"\r\n [iconName]=\"isOpen ? 'icon-left-panel-close' : 'icon-left-panel-open'\"\r\n (click)=\"toggle()\">\r\n </ius-button-squared-secondary>\r\n </div>\r\n <div class=\"rail-items-container\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</div>", styles: [".container-general{position:relative;height:100%}.panel{display:flex;align-items:center;gap:10px}.rail-container{display:inline-flex;height:calc(100% - 32px);width:239px;padding:16px 8px;flex-direction:column;align-items:flex-start;gap:24px;flex-shrink:0;border-right:1px solid #eaeaea;background-color:#fafafa;overflow:hidden}.rail-icon-container{display:flex;align-items:center;gap:10px;align-self:stretch}.rail-items-container{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;opacity:1;transition:opacity .2s ease}.collapsed .rail-items-container{opacity:0;pointer-events:none}.toggle-btn{border:none;background:none;cursor:pointer;padding:8px;align-self:flex-end}\n"], dependencies: [{ kind: "component", type: ButtonSquaredSecondaryComponent, selector: "ius-button-squared-secondary", inputs: ["disabled", "iconName"], outputs: ["buttonClicked"] }], animations: [
|
|
20
20
|
trigger('slideInOut', [
|
|
21
|
-
state('
|
|
22
|
-
width: '
|
|
23
|
-
opacity: 0,
|
|
24
|
-
overflow: 'hidden'
|
|
21
|
+
state('open', style({
|
|
22
|
+
width: '239px',
|
|
25
23
|
})),
|
|
26
|
-
state('
|
|
27
|
-
width: '
|
|
28
|
-
opacity: 1
|
|
24
|
+
state('closed', style({
|
|
25
|
+
width: '40px',
|
|
29
26
|
})),
|
|
30
|
-
transition('
|
|
31
|
-
animate('370ms ease-in')
|
|
27
|
+
transition('open <=> closed', [
|
|
28
|
+
animate('370ms ease-in-out')
|
|
32
29
|
]),
|
|
33
|
-
transition('* => void', [
|
|
34
|
-
animate('370ms ease-out')
|
|
35
|
-
])
|
|
36
30
|
])
|
|
37
31
|
] }); }
|
|
38
32
|
}
|
|
@@ -40,26 +34,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
40
34
|
type: Component,
|
|
41
35
|
args: [{ selector: 'ius-nav-rail', standalone: true, imports: [ButtonSquaredSecondaryComponent], animations: [
|
|
42
36
|
trigger('slideInOut', [
|
|
43
|
-
state('
|
|
44
|
-
width: '
|
|
45
|
-
opacity: 0,
|
|
46
|
-
overflow: 'hidden'
|
|
37
|
+
state('open', style({
|
|
38
|
+
width: '239px',
|
|
47
39
|
})),
|
|
48
|
-
state('
|
|
49
|
-
width: '
|
|
50
|
-
opacity: 1
|
|
40
|
+
state('closed', style({
|
|
41
|
+
width: '40px',
|
|
51
42
|
})),
|
|
52
|
-
transition('
|
|
53
|
-
animate('370ms ease-in')
|
|
43
|
+
transition('open <=> closed', [
|
|
44
|
+
animate('370ms ease-in-out')
|
|
54
45
|
]),
|
|
55
|
-
transition('* => void', [
|
|
56
|
-
animate('370ms ease-out')
|
|
57
|
-
])
|
|
58
46
|
])
|
|
59
|
-
], template: "<div class=\"container-general\">\r\n
|
|
47
|
+
], template: "<div class=\"container-general\">\r\n <div class=\"rail-container\" [class.collapsed]=\"!isOpen\" [@slideInOut]=\"isOpen ? 'open' : 'closed'\" (@slideInOut.done)=\"onAnimDone($event)\">\r\n <div class=\"rail-icon-container\">\r\n <ius-button-squared-secondary\r\n class=\"panel\"\r\n [iconName]=\"isOpen ? 'icon-left-panel-close' : 'icon-left-panel-open'\"\r\n (click)=\"toggle()\">\r\n </ius-button-squared-secondary>\r\n </div>\r\n <div class=\"rail-items-container\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</div>", styles: [".container-general{position:relative;height:100%}.panel{display:flex;align-items:center;gap:10px}.rail-container{display:inline-flex;height:calc(100% - 32px);width:239px;padding:16px 8px;flex-direction:column;align-items:flex-start;gap:24px;flex-shrink:0;border-right:1px solid #eaeaea;background-color:#fafafa;overflow:hidden}.rail-icon-container{display:flex;align-items:center;gap:10px;align-self:stretch}.rail-items-container{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;opacity:1;transition:opacity .2s ease}.collapsed .rail-items-container{opacity:0;pointer-events:none}.toggle-btn{border:none;background:none;cursor:pointer;padding:8px;align-self:flex-end}\n"] }]
|
|
60
48
|
}], propDecorators: { isOpen: [{
|
|
61
49
|
type: Input
|
|
62
50
|
}], onClose: [{
|
|
63
51
|
type: Output
|
|
64
52
|
}] } });
|
|
65
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2LXJhaWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOls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XG4gICAgdGhpcy5pc09wZW4gPSAhdGhpcy5pc09wZW47XHJcbiAgfVxyXG5cclxuICBvbkFuaW1Eb25lKGV2ZW50OiBhbnkpIHtcclxuICAgIGlmIChldmVudC50b1N0YXRlID09PSAnY2xvc2VkJykge1xyXG4gICAgICB0aGlzLm9uQ2xvc2UuZW1pdCgpO1xyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iLCI8ZGl2IGNsYXNzPVwiY29udGFpbmVyLWdlbmVyYWxcIj5cclxuICA8ZGl2IGNsYXNzPVwicmFpbC1jb250YWluZXJcIiBbY2xhc3MuY29sbGFwc2VkXT1cIiFpc09wZW5cIiBbQHNsaWRlSW5PdXRdPVwiaXNPcGVuID8gJ29wZW4nIDogJ2Nsb3NlZCdcIiAoQHNsaWRlSW5PdXQuZG9uZSk9XCJvbkFuaW1Eb25lKCRldmVudClcIj5cclxuICAgIDxkaXYgY2xhc3M9XCJyYWlsLWljb24tY29udGFpbmVyXCI+XHJcbiAgICAgIDxpdXMtYnV0dG9uLXNxdWFyZWQtc2Vjb25kYXJ5XHJcbiAgICAgICAgY2xhc3M9XCJwYW5lbFwiXHJcbiAgICAgICAgW2ljb25OYW1lXT1cImlzT3BlbiA/ICdpY29uLWxlZnQtcGFuZWwtY2xvc2UnIDogJ2ljb24tbGVmdC1wYW5lbC1vcGVuJ1wiXHJcbiAgICAgICAgKGNsaWNrKT1cInRvZ2dsZSgpXCI+XHJcbiAgICAgIDwvaXVzLWJ1dHRvbi1zcXVhcmVkLXNlY29uZGFyeT5cclxuICAgIDwvZGl2PlxyXG4gICAgPGRpdiBjbGFzcz1cInJhaWwtaXRlbXMtY29udGFpbmVyXCI+XHJcbiAgICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cclxuICAgIDwvZGl2PlxyXG4gIDwvZGl2PlxyXG48L2Rpdj4iXX0=
|
|
@@ -2423,28 +2423,22 @@ class NavRailComponent {
|
|
|
2423
2423
|
this.isOpen = !this.isOpen;
|
|
2424
2424
|
}
|
|
2425
2425
|
onAnimDone(event) {
|
|
2426
|
-
if (event.toState === '
|
|
2426
|
+
if (event.toState === 'closed') {
|
|
2427
2427
|
this.onClose.emit();
|
|
2428
2428
|
}
|
|
2429
2429
|
}
|
|
2430
2430
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NavRailComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2431
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2431
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: NavRailComponent, isStandalone: true, selector: "ius-nav-rail", inputs: { isOpen: "isOpen" }, outputs: { onClose: "onClose" }, ngImport: i0, template: "<div class=\"container-general\">\r\n <div class=\"rail-container\" [class.collapsed]=\"!isOpen\" [@slideInOut]=\"isOpen ? 'open' : 'closed'\" (@slideInOut.done)=\"onAnimDone($event)\">\r\n <div class=\"rail-icon-container\">\r\n <ius-button-squared-secondary\r\n class=\"panel\"\r\n [iconName]=\"isOpen ? 'icon-left-panel-close' : 'icon-left-panel-open'\"\r\n (click)=\"toggle()\">\r\n </ius-button-squared-secondary>\r\n </div>\r\n <div class=\"rail-items-container\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</div>", styles: [".container-general{position:relative;height:100%}.panel{display:flex;align-items:center;gap:10px}.rail-container{display:inline-flex;height:calc(100% - 32px);width:239px;padding:16px 8px;flex-direction:column;align-items:flex-start;gap:24px;flex-shrink:0;border-right:1px solid #eaeaea;background-color:#fafafa;overflow:hidden}.rail-icon-container{display:flex;align-items:center;gap:10px;align-self:stretch}.rail-items-container{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;opacity:1;transition:opacity .2s ease}.collapsed .rail-items-container{opacity:0;pointer-events:none}.toggle-btn{border:none;background:none;cursor:pointer;padding:8px;align-self:flex-end}\n"], dependencies: [{ kind: "component", type: ButtonSquaredSecondaryComponent, selector: "ius-button-squared-secondary", inputs: ["disabled", "iconName"], outputs: ["buttonClicked"] }], animations: [
|
|
2432
2432
|
trigger('slideInOut', [
|
|
2433
|
-
state('
|
|
2434
|
-
width: '
|
|
2435
|
-
opacity: 0,
|
|
2436
|
-
overflow: 'hidden'
|
|
2433
|
+
state('open', style({
|
|
2434
|
+
width: '239px',
|
|
2437
2435
|
})),
|
|
2438
|
-
state('
|
|
2439
|
-
width: '
|
|
2440
|
-
opacity: 1
|
|
2436
|
+
state('closed', style({
|
|
2437
|
+
width: '40px',
|
|
2441
2438
|
})),
|
|
2442
|
-
transition('
|
|
2443
|
-
animate('370ms ease-in')
|
|
2439
|
+
transition('open <=> closed', [
|
|
2440
|
+
animate('370ms ease-in-out')
|
|
2444
2441
|
]),
|
|
2445
|
-
transition('* => void', [
|
|
2446
|
-
animate('370ms ease-out')
|
|
2447
|
-
])
|
|
2448
2442
|
])
|
|
2449
2443
|
] }); }
|
|
2450
2444
|
}
|
|
@@ -2452,23 +2446,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
2452
2446
|
type: Component,
|
|
2453
2447
|
args: [{ selector: 'ius-nav-rail', standalone: true, imports: [ButtonSquaredSecondaryComponent], animations: [
|
|
2454
2448
|
trigger('slideInOut', [
|
|
2455
|
-
state('
|
|
2456
|
-
width: '
|
|
2457
|
-
opacity: 0,
|
|
2458
|
-
overflow: 'hidden'
|
|
2449
|
+
state('open', style({
|
|
2450
|
+
width: '239px',
|
|
2459
2451
|
})),
|
|
2460
|
-
state('
|
|
2461
|
-
width: '
|
|
2462
|
-
opacity: 1
|
|
2452
|
+
state('closed', style({
|
|
2453
|
+
width: '40px',
|
|
2463
2454
|
})),
|
|
2464
|
-
transition('
|
|
2465
|
-
animate('370ms ease-in')
|
|
2455
|
+
transition('open <=> closed', [
|
|
2456
|
+
animate('370ms ease-in-out')
|
|
2466
2457
|
]),
|
|
2467
|
-
transition('* => void', [
|
|
2468
|
-
animate('370ms ease-out')
|
|
2469
|
-
])
|
|
2470
2458
|
])
|
|
2471
|
-
], template: "<div class=\"container-general\">\r\n
|
|
2459
|
+
], template: "<div class=\"container-general\">\r\n <div class=\"rail-container\" [class.collapsed]=\"!isOpen\" [@slideInOut]=\"isOpen ? 'open' : 'closed'\" (@slideInOut.done)=\"onAnimDone($event)\">\r\n <div class=\"rail-icon-container\">\r\n <ius-button-squared-secondary\r\n class=\"panel\"\r\n [iconName]=\"isOpen ? 'icon-left-panel-close' : 'icon-left-panel-open'\"\r\n (click)=\"toggle()\">\r\n </ius-button-squared-secondary>\r\n </div>\r\n <div class=\"rail-items-container\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</div>", styles: [".container-general{position:relative;height:100%}.panel{display:flex;align-items:center;gap:10px}.rail-container{display:inline-flex;height:calc(100% - 32px);width:239px;padding:16px 8px;flex-direction:column;align-items:flex-start;gap:24px;flex-shrink:0;border-right:1px solid #eaeaea;background-color:#fafafa;overflow:hidden}.rail-icon-container{display:flex;align-items:center;gap:10px;align-self:stretch}.rail-items-container{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;opacity:1;transition:opacity .2s ease}.collapsed .rail-items-container{opacity:0;pointer-events:none}.toggle-btn{border:none;background:none;cursor:pointer;padding:8px;align-self:flex-end}\n"] }]
|
|
2472
2460
|
}], propDecorators: { isOpen: [{
|
|
2473
2461
|
type: Input
|
|
2474
2462
|
}], onClose: [{
|