raise-common-lib 0.0.236-beta → 0.0.238-beta
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/bundles/raise-common-lib.umd.js +146 -46
- package/bundles/raise-common-lib.umd.js.map +1 -1
- package/bundles/raise-common-lib.umd.min.js +1 -1
- package/bundles/raise-common-lib.umd.min.js.map +1 -1
- package/esm2015/lib/actions/toolbar-item/index.component.js +1 -1
- package/esm2015/lib/layout/drawer/index.component.js +67 -13
- package/esm2015/lib/layout/rs-footer/index.component.js +2 -2
- package/esm2015/lib/layout/rs-header/index.component.js +2 -2
- package/esm2015/lib/layout/rs-stepper/constants.js +1 -1
- package/esm2015/lib/layout/rs-stepper/index.component.js +39 -21
- package/esm2015/lib/service/drawer.service.js +27 -10
- package/esm5/lib/actions/toolbar-item/index.component.js +1 -1
- package/esm5/lib/layout/drawer/index.component.js +79 -14
- package/esm5/lib/layout/rs-footer/index.component.js +2 -2
- package/esm5/lib/layout/rs-header/index.component.js +2 -2
- package/esm5/lib/layout/rs-stepper/constants.js +1 -1
- package/esm5/lib/layout/rs-stepper/index.component.js +40 -22
- package/esm5/lib/service/drawer.service.js +28 -10
- package/fesm2015/raise-common-lib.js +133 -44
- package/fesm2015/raise-common-lib.js.map +1 -1
- package/fesm5/raise-common-lib.js +147 -47
- package/fesm5/raise-common-lib.js.map +1 -1
- package/lib/layout/drawer/index.component.d.ts +3 -1
- package/lib/layout/rs-stepper/constants.d.ts +2 -0
- package/lib/layout/rs-stepper/index.component.d.ts +4 -2
- package/package.json +1 -1
- package/raise-common-lib.metadata.json +1 -1
|
@@ -2780,9 +2780,7 @@ class DrawerService {
|
|
|
2780
2780
|
show(component, config, data = {}) {
|
|
2781
2781
|
/** @type {?} */
|
|
2782
2782
|
const drawer = this.uniqueDrawerComponent;
|
|
2783
|
-
if (!this.checkChange("show", { component, config, data }) ||
|
|
2784
|
-
!drawer ||
|
|
2785
|
-
drawer.isOpened) {
|
|
2783
|
+
if (!this.checkChange("show", { component, config, data }) || !drawer) {
|
|
2786
2784
|
return {
|
|
2787
2785
|
instance: null,
|
|
2788
2786
|
result: null,
|
|
@@ -2797,14 +2795,29 @@ class DrawerService {
|
|
|
2797
2795
|
(resolve) => {
|
|
2798
2796
|
/** @type {?} */
|
|
2799
2797
|
const cacheKey = this.cacheKey;
|
|
2800
|
-
|
|
2798
|
+
/** @type {?} */
|
|
2799
|
+
const resolves = this.resultPromiseResolveMap.get(cacheKey) || [];
|
|
2800
|
+
/** @type {?} */
|
|
2801
|
+
const resolveFn = (/**
|
|
2801
2802
|
* @param {?} value
|
|
2802
2803
|
* @return {?}
|
|
2803
2804
|
*/
|
|
2804
2805
|
(value) => {
|
|
2805
2806
|
resolve(value);
|
|
2806
|
-
|
|
2807
|
-
|
|
2807
|
+
/** @type {?} */
|
|
2808
|
+
const caches = this.resultPromiseResolveMap.get(cacheKey) || [];
|
|
2809
|
+
/** @type {?} */
|
|
2810
|
+
const index = caches.findIndex((/**
|
|
2811
|
+
* @param {?} cache
|
|
2812
|
+
* @return {?}
|
|
2813
|
+
*/
|
|
2814
|
+
(cache) => cache === resolveFn));
|
|
2815
|
+
caches.splice(index, 1);
|
|
2816
|
+
if (index === 0) {
|
|
2817
|
+
this.resultPromiseResolveMap.delete(cacheKey);
|
|
2818
|
+
}
|
|
2819
|
+
});
|
|
2820
|
+
this.resultPromiseResolveMap.set(cacheKey, [...resolves, resolveFn]);
|
|
2808
2821
|
})),
|
|
2809
2822
|
};
|
|
2810
2823
|
}
|
|
@@ -2815,7 +2828,9 @@ class DrawerService {
|
|
|
2815
2828
|
/** @type {?} */
|
|
2816
2829
|
const drawer = this.uniqueDrawerComponent;
|
|
2817
2830
|
/** @type {?} */
|
|
2818
|
-
const
|
|
2831
|
+
const resolves = this.resultPromiseResolveMap.get(this.cacheKey) || [];
|
|
2832
|
+
/** @type {?} */
|
|
2833
|
+
const resolve = resolves.slice(-1)[0];
|
|
2819
2834
|
if (resolve && this.checkChange("hide")) {
|
|
2820
2835
|
resolve({ type: "hide" });
|
|
2821
2836
|
drawer && drawer.back();
|
|
@@ -2829,7 +2844,9 @@ class DrawerService {
|
|
|
2829
2844
|
/** @type {?} */
|
|
2830
2845
|
const drawer = this.uniqueDrawerComponent;
|
|
2831
2846
|
/** @type {?} */
|
|
2832
|
-
const
|
|
2847
|
+
const resolves = this.resultPromiseResolveMap.get(this.cacheKey) || [];
|
|
2848
|
+
/** @type {?} */
|
|
2849
|
+
const resolve = resolves.slice(-1)[0];
|
|
2833
2850
|
if (resolve && this.checkChange("complete", { data })) {
|
|
2834
2851
|
resolve({ type: "complete", data });
|
|
2835
2852
|
drawer && drawer.back();
|
|
@@ -2851,7 +2868,7 @@ class DrawerService {
|
|
|
2851
2868
|
deleteCache(cacheKey) {
|
|
2852
2869
|
/** @type {?} */
|
|
2853
2870
|
const drawer = this.uniqueDrawerComponent;
|
|
2854
|
-
drawer && drawer.
|
|
2871
|
+
drawer && drawer.deleteAllCache(cacheKey);
|
|
2855
2872
|
this.resultPromiseResolveMap.delete(cacheKey);
|
|
2856
2873
|
}
|
|
2857
2874
|
/**
|
|
@@ -3594,7 +3611,9 @@ class DrawerComponent {
|
|
|
3594
3611
|
*/
|
|
3595
3612
|
setConfig(config) {
|
|
3596
3613
|
/** @type {?} */
|
|
3597
|
-
const
|
|
3614
|
+
const caches = this.componentRefMap.get(this.service.cacheKey) || [];
|
|
3615
|
+
/** @type {?} */
|
|
3616
|
+
const cache = caches.slice(-1)[0];
|
|
3598
3617
|
if (cache) {
|
|
3599
3618
|
cache.config = Object.assign({}, cache.config, config);
|
|
3600
3619
|
this.setCache(cache);
|
|
@@ -3626,10 +3645,15 @@ class DrawerComponent {
|
|
|
3626
3645
|
headerEl,
|
|
3627
3646
|
topEl,
|
|
3628
3647
|
};
|
|
3648
|
+
/** @type {?} */
|
|
3649
|
+
const caches = this.componentRefMap.get(this.service.cacheKey) || [];
|
|
3650
|
+
this.componentRefMap.set(this.service.cacheKey, [...caches, cache]);
|
|
3651
|
+
// 如果是第一个缓存,打开抽屉
|
|
3652
|
+
if (caches.length === 0) {
|
|
3653
|
+
this.toggleOpenStatus(true, true);
|
|
3654
|
+
}
|
|
3655
|
+
this.toggleCache(cache);
|
|
3629
3656
|
this.setComponentData(componentRef, data);
|
|
3630
|
-
this.componentRefMap.set(this.service.cacheKey, cache);
|
|
3631
|
-
this.setCache(cache);
|
|
3632
|
-
this.toggleOpenStatus(true, true);
|
|
3633
3657
|
return componentRef.instance;
|
|
3634
3658
|
}
|
|
3635
3659
|
/**
|
|
@@ -3643,36 +3667,83 @@ class DrawerComponent {
|
|
|
3643
3667
|
*/
|
|
3644
3668
|
back() {
|
|
3645
3669
|
this.deleteCache(this.service.cacheKey);
|
|
3646
|
-
|
|
3670
|
+
// 如果有上一个缓存,设置为当前缓存,否则关闭抽屉
|
|
3671
|
+
/** @type {?} */
|
|
3672
|
+
const caches = this.componentRefMap.get(this.service.cacheKey) || [];
|
|
3673
|
+
/** @type {?} */
|
|
3674
|
+
const cache = caches.slice(-1)[0];
|
|
3675
|
+
if (cache) {
|
|
3676
|
+
this.toggleCache(cache);
|
|
3677
|
+
}
|
|
3678
|
+
else {
|
|
3679
|
+
this.toggleOpenStatus(false, true);
|
|
3680
|
+
}
|
|
3647
3681
|
}
|
|
3648
3682
|
/**
|
|
3683
|
+
* @private
|
|
3649
3684
|
* @param {?} cacheKey
|
|
3650
3685
|
* @return {?}
|
|
3651
3686
|
*/
|
|
3652
3687
|
deleteCache(cacheKey) {
|
|
3653
3688
|
/** @type {?} */
|
|
3654
|
-
const
|
|
3689
|
+
const caches = this.componentRefMap.get(cacheKey) || [];
|
|
3690
|
+
/** @type {?} */
|
|
3691
|
+
const cache = caches.slice(-1)[0];
|
|
3655
3692
|
if (cache) {
|
|
3656
3693
|
this.destroyDynamicComponent(cache.ref);
|
|
3694
|
+
caches.pop();
|
|
3695
|
+
}
|
|
3696
|
+
if (caches.length === 0) {
|
|
3697
|
+
this.componentRefMap.delete(cacheKey);
|
|
3657
3698
|
}
|
|
3658
|
-
this.componentRefMap.delete(cacheKey);
|
|
3659
3699
|
}
|
|
3660
3700
|
/**
|
|
3701
|
+
* @private
|
|
3702
|
+
* @param {?} cache
|
|
3661
3703
|
* @return {?}
|
|
3662
3704
|
*/
|
|
3663
|
-
|
|
3705
|
+
toggleCache(cache) {
|
|
3664
3706
|
this.componentRefMap.forEach((/**
|
|
3707
|
+
* @param {?} caches
|
|
3708
|
+
* @return {?}
|
|
3709
|
+
*/
|
|
3710
|
+
(caches) => {
|
|
3711
|
+
caches.forEach((/**
|
|
3712
|
+
* @param {?} c
|
|
3713
|
+
* @return {?}
|
|
3714
|
+
*/
|
|
3715
|
+
(c) => {
|
|
3716
|
+
c.ref.location.nativeElement.style.display = c === cache ? "" : "none";
|
|
3717
|
+
}));
|
|
3718
|
+
}));
|
|
3719
|
+
this.setCache(cache);
|
|
3720
|
+
}
|
|
3721
|
+
/**
|
|
3722
|
+
* @param {?} cacheKey
|
|
3723
|
+
* @return {?}
|
|
3724
|
+
*/
|
|
3725
|
+
deleteAllCache(cacheKey) {
|
|
3726
|
+
/** @type {?} */
|
|
3727
|
+
const caches = this.componentRefMap.get(cacheKey) || [];
|
|
3728
|
+
caches.forEach((/**
|
|
3665
3729
|
* @param {?} cache
|
|
3666
3730
|
* @return {?}
|
|
3667
3731
|
*/
|
|
3668
3732
|
(cache) => {
|
|
3669
|
-
cache.ref
|
|
3733
|
+
this.destroyDynamicComponent(cache.ref);
|
|
3670
3734
|
}));
|
|
3735
|
+
this.componentRefMap.delete(cacheKey);
|
|
3736
|
+
}
|
|
3737
|
+
/**
|
|
3738
|
+
* @return {?}
|
|
3739
|
+
*/
|
|
3740
|
+
onRouteChange() {
|
|
3741
|
+
/** @type {?} */
|
|
3742
|
+
const caches = this.componentRefMap.get(this.service.cacheKey) || [];
|
|
3671
3743
|
/** @type {?} */
|
|
3672
|
-
const cache =
|
|
3744
|
+
const cache = caches.slice(-1)[0];
|
|
3673
3745
|
if (cache) {
|
|
3674
|
-
cache
|
|
3675
|
-
this.setCache(cache);
|
|
3746
|
+
this.toggleCache(cache);
|
|
3676
3747
|
this.toggleOpenStatus(true);
|
|
3677
3748
|
}
|
|
3678
3749
|
else {
|
|
@@ -4011,7 +4082,7 @@ ToolbarItemComponent.decorators = [
|
|
|
4011
4082
|
{ type: Component, args: [{
|
|
4012
4083
|
selector: "rs-toolbar-item",
|
|
4013
4084
|
template: "<button\r\n *ngIf=\"!children.length\"\r\n class=\"toolbar-action-item e-btn text\"\r\n #buttonElement\r\n [disabled]=\"!!disabled\"\r\n>\r\n <span class=\"toolbar-action-image\" *ngIf=\"image\" [attr.data-type]=\"image\">\r\n <img *ngIf=\"!ImageType.includes(image)\" [src]=\"image\" />\r\n </span>\r\n <span>{{ text }}</span>\r\n</button>\r\n\r\n<button\r\n *ngIf=\"children.length\"\r\n class=\"toolbar-action-item e-btn text\"\r\n #buttonElement\r\n mat-menu-item\r\n [matMenuTriggerFor]=\"menu\"\r\n [disabled]=\"!!disabled\"\r\n>\r\n <span class=\"toolbar-action-image\" *ngIf=\"image\" [attr.data-type]=\"image\">\r\n <img *ngIf=\"!ImageType.includes(image)\" [src]=\"image\" />\r\n </span>\r\n <span>{{ text }}</span>\r\n <span class=\"toolbar-action-arrow\" *ngIf=\"!hideArrow\">\r\n <img src=\"assets/img/down-arrow.svg\" />\r\n </span>\r\n</button>\r\n<mat-menu #menu=\"matMenu\" class=\"toolbar-action-menu-content\">\r\n <ng-container *ngFor=\"let button of children\">\r\n <button\r\n class=\"toolbar-action-item e-btn text\"\r\n [disabled]=\"(button.key && disabledOptions[button.key]) || false\"\r\n (click)=\"button.action()\"\r\n >\r\n <span\r\n class=\"toolbar-action-image\"\r\n *ngIf=\"button.image\"\r\n [attr.data-type]=\"button.image\"\r\n >\r\n <img *ngIf=\"!ImageType.includes(button.image)\" [src]=\"button.image\" />\r\n </span>\r\n <span>{{ button.text }}</span>\r\n </button>\r\n </ng-container>\r\n</mat-menu>\r\n",
|
|
4014
|
-
styles: ["rs-toolbar-item.disabled{pointer-events:none}.toolbar-action-item{padding:4px 8px;font-size:11px!important;line-height:24px!important
|
|
4085
|
+
styles: ["rs-toolbar-item.disabled{pointer-events:none}.toolbar-action-item{padding:4px 8px;font-size:11px!important;line-height:24px!important}.toolbar-action-item .toolbar-action-image{height:16px;display:flex;flex-flow:row nowrap;justify-content:center;align-items:center}.toolbar-action-item .toolbar-action-image::before{display:block;width:16px;height:16px}.toolbar-action-item .toolbar-action-image[data-type=Add]::before{content:url(/assets/img/toolbar-action-add.svg)}.toolbar-action-item .toolbar-action-image[data-type=Delete]::before{content:url(/assets/img/toolbar-action-delete.svg)}.toolbar-action-item .toolbar-action-image[data-type=Import]::before{content:url(/assets/img/toolbar-action-import.svg)}.toolbar-action-item .toolbar-action-image[data-type=Upload]::before{content:url(/assets/img/toolbar-action-upload.svg)}.toolbar-action-item .toolbar-action-image[data-type=Download]::before{content:url(/assets/img/toolbar-action-download.svg)}.toolbar-action-item .toolbar-action-image[data-type=Export]::before{content:url(/assets/img/toolbar-action-export.svg)}.toolbar-action-item .toolbar-action-image[data-type=Duplicate]::before{content:url(/assets/img/toolbar-action-duplicate.svg)}.toolbar-action-item .toolbar-action-image[data-type=Refresh]::before{content:url(/assets/img/toolbar-action-refresh.svg)}.toolbar-action-item .toolbar-action-image[data-type=AddFolder]::before{content:url(/assets/img/toolbar-action-addFolder.svg)}.toolbar-action-item .toolbar-action-image[data-type=Collapse]::before{content:url(/assets/img/toolbar-action-collapse.svg)}.toolbar-action-item .toolbar-action-image[data-type=Combine]::before{content:url(/assets/img/toolbar-action-combine.svg)}.toolbar-action-item .toolbar-action-image[data-type=Edit]::before{content:url(/assets/img/toolbar-action-edit.svg)}.toolbar-action-item .toolbar-action-image[data-type=Lock]::before{content:url(/assets/img/toolbar-action-lock.svg)}.toolbar-action-item .toolbar-action-image[data-type=Expand]::before{content:url(/assets/img/toolbar-action-expand.svg)}.toolbar-action-item .toolbar-action-image[data-type=MoveTo]::before{content:url(/assets/img/toolbar-action-folderMove.svg)}.toolbar-action-item .toolbar-action-image[data-type=Publish]::before{content:url(/assets/img/toolbar-action-publish.svg)}.toolbar-action-item .toolbar-action-image[data-type=Preview]::before{content:url(/assets/img/toolbar-action-preview.svg)}.toolbar-action-item .toolbar-action-image[data-type=ReCalculate]::before{content:url(/assets/img/toolbar-action-calculator.svg)}.toolbar-action-item .toolbar-action-image[data-type=Sync]::before{content:url(/assets/img/toolbar-action-sync.svg)}.toolbar-action-item .toolbar-action-image[data-type=Share]::before{content:url(/assets/img/toolbar-action-share.svg)}.toolbar-action-item .toolbar-action-image[data-type=Rename]::before{content:url(/assets/img/toolbar-action-rename.svg)}.toolbar-action-item .toolbar-action-image[data-type=SaveSequence]::before{content:url(/assets/img/toolbar-action-saveSequence.svg)}.toolbar-action-item .toolbar-action-image[data-type=SubmitForApproval]::before{content:url(/assets/img/toolbar-action-submitForApproval.svg)}.toolbar-action-item .toolbar-action-image[data-type=SendToControlPanel]::before{content:url(/assets/img/toolbar-action-send-file.svg)}.toolbar-action-item .toolbar-action-image[data-type=SetReminders]::before{content:url(/assets/img/toolbar-action-reminders.svg)}.toolbar-action-item .toolbar-action-image[data-type=Settle]::before{content:url(/assets/img/toolbar-action-settle.svg)}.toolbar-action-item .toolbar-action-image[data-type=Template]::before{content:url(/assets/img/toolbar-action-template.svg)}.toolbar-action-item .toolbar-action-image[data-type=Workflow]::before{content:url(/assets/img/toolbar-action-workflow.svg)}.toolbar-action-item .toolbar-action-image[data-type=Update]::before{content:url(/assets/img/toolbar-action-update.svg)}.toolbar-action-item .toolbar-action-image[data-type=FetchData]::before{content:url(/assets/img/toolbar-action-fetchData.svg)}.toolbar-action-item .toolbar-action-image img{height:16px;display:block}.toolbar-action-item.e-btn{width:100%;min-width:auto!important;height:24px!important;justify-content:flex-start}.toolbar-action-item.mat-menu-item::after{display:none}::ng-deep .toolbar-action-menu-content.mat-menu-panel{border-radius:8px;background-color:#fff;box-shadow:0 0 8px 0 rgba(0,0,0,.25)}::ng-deep .toolbar-action-menu-content.mat-menu-panel .mat-menu-content{padding:8px}"]
|
|
4015
4086
|
}] }
|
|
4016
4087
|
];
|
|
4017
4088
|
ToolbarItemComponent.propDecorators = {
|
|
@@ -20781,7 +20852,7 @@ class RSHeaderComponent {
|
|
|
20781
20852
|
RSHeaderComponent.decorators = [
|
|
20782
20853
|
{ type: Component, args: [{
|
|
20783
20854
|
selector: "rs-header",
|
|
20784
|
-
template: "<div class=\"rs-header\">\r\n <div class=\"logo-wrap\">\r\n <div class=\"toggle-menu-wrap\">\r\n <svg\r\n class=\"toggle-menu\"\r\n (click)=\"onToggleMenu()\"\r\n width=\"24\"\r\n height=\"31\"\r\n viewBox=\"0 0 24 31\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <line x1=\"4\" y1=\"9.5\" x2=\"20\" y2=\"9.5\" stroke=\"#6C7C90\" />\r\n <line x1=\"4\" y1=\"21.5\" x2=\"20\" y2=\"21.5\" stroke=\"#6C7C90\" />\r\n <line x1=\"4\" y1=\"15.5\" x2=\"20\" y2=\"15.5\" stroke=\"#6C7C90\" />\r\n </svg>\r\n </div>\r\n <svg\r\n width=\"87\"\r\n height=\"35\"\r\n viewBox=\"0 0 87 35\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <g clip-path=\"url(#clip0_13700_1713)\">\r\n <path\r\n d=\"M36.32 29.029L34.6405 24.7835H26.2706L24.6825 29.029H18.9998L28.0712 7.39929H33.1416L42.1238 29.0267H36.32V29.029ZM30.5161 13.1735L27.7673 20.5974H33.2055L30.5161 13.1735Z\"\r\n fill=\"#15477F\"\r\n />\r\n <path\r\n d=\"M43.9265 29.0289V10.5548H49.182V29.0289H43.9265Z\"\r\n fill=\"#15477F\"\r\n />\r\n <path\r\n d=\"M65.065 13.0203C64.6171 12.4514 64.0299 11.9966 63.3078 11.6608C62.5857 11.3249 61.8865 11.1558 61.2147 11.1558C60.8674 11.1558 60.5178 11.1855 60.1614 11.2472C59.8049 11.3089 59.485 11.4254 59.1994 11.5991C58.9138 11.7727 58.6738 11.9966 58.4819 12.2708C58.2877 12.545 58.1917 12.8969 58.1917 13.3242C58.1917 13.6898 58.2671 13.996 58.4202 14.2405C58.5733 14.485 58.7972 14.6998 59.092 14.8826C59.3868 15.0654 59.7386 15.2345 60.1454 15.3876C60.5521 15.5407 61.0114 15.6983 61.5209 15.8606C62.2544 16.1051 63.0176 16.3747 63.8128 16.6694C64.608 16.9642 65.33 17.3572 65.9812 17.8462C66.6325 18.3352 67.1717 18.9407 67.6013 19.6628C68.0286 20.3848 68.2434 21.2874 68.2434 22.3659C68.2434 23.609 68.0149 24.6829 67.5556 25.5878C67.0963 26.4949 66.4816 27.2421 65.707 27.8339C64.9324 28.4257 64.0481 28.8621 63.0496 29.1478C62.0511 29.4334 61.0228 29.5751 59.9649 29.5751C58.4179 29.5751 56.919 29.3054 55.4749 28.7662C54.0285 28.2269 52.8266 27.4569 51.8691 26.4606L55.2898 22.9783C55.8199 23.6295 56.5168 24.1756 57.3828 24.6121C58.2488 25.0508 59.108 25.2679 59.9649 25.2679C60.351 25.2679 60.728 25.2267 61.0959 25.1445C61.4615 25.0622 61.7837 24.9297 62.0579 24.7469C62.3321 24.5641 62.5515 24.3196 62.7137 24.0134C62.8759 23.7072 62.9582 23.3416 62.9582 22.9143C62.9582 22.487 62.8554 22.1603 62.652 21.8747C62.4486 21.589 62.1584 21.3308 61.7814 21.0955C61.4044 20.8624 60.936 20.6476 60.3762 20.4534C59.8163 20.2592 59.1788 20.0512 58.4659 19.8273C57.7736 19.6034 57.0949 19.3383 56.4345 19.0321C55.7719 18.7259 55.1824 18.3352 54.6637 17.8554C54.145 17.3778 53.7268 16.7974 53.4115 16.1142C53.0962 15.431 52.9385 14.6015 52.9385 13.6236C52.9385 12.4217 53.183 11.3934 53.672 10.5388C54.161 9.68424 54.8031 8.98046 55.596 8.43206C56.3911 7.88138 57.2869 7.47922 58.2831 7.22559C59.2816 6.97195 60.2893 6.84399 61.3084 6.84399C62.5309 6.84399 63.7785 7.06792 65.0512 7.51578C66.324 7.96364 67.4391 8.62629 68.3965 9.50144L65.0672 13.0135L65.065 13.0203Z\"\r\n fill=\"#15477F\"\r\n />\r\n <path\r\n d=\"M71.6938 29.029V7.39929H86.2355V11.7979H76.7345V15.8903H85.7168V20.0764H76.7345V24.5664H86.7862V29.0267H71.6961L71.6938 29.029Z\"\r\n fill=\"#15477F\"\r\n />\r\n <path\r\n d=\"M1.96738 29.0267H4.97671L8.19168 25.8117L11.4067 29.0267H18.9974L8.18483 18.2141L5.37658 21.0224V12.7759H12.6109C12.8645 12.7759 12.9673 12.9564 12.9993 13.0364C13.0313 13.114 13.0884 13.3151 12.9079 13.4934L10.2436 16.1577L14.0161 19.9302L16.0383 17.908L17.8183 16.1279C19.0294 14.597 19.3173 12.5862 18.5518 10.7354C17.6995 8.6766 15.787 7.39929 13.5591 7.39929H0V29.0267H1.96738Z\"\r\n fill=\"#15477F\"\r\n />\r\n <path d=\"M43.9265 9.36433H49.1797V5L43.9265 9.36433Z\" fill=\"#F68D1E\" />\r\n </g>\r\n <defs>\r\n <clipPath id=\"clip0_13700_1713\">\r\n <rect width=\"86.7839\" height=\"34.5751\" fill=\"white\" />\r\n </clipPath>\r\n </defs>\r\n </svg
|
|
20855
|
+
template: "<div class=\"rs-header\">\r\n <div class=\"logo-wrap\">\r\n <div class=\"toggle-menu-wrap\">\r\n <svg\r\n class=\"toggle-menu\"\r\n (click)=\"onToggleMenu()\"\r\n width=\"24\"\r\n height=\"31\"\r\n viewBox=\"0 0 24 31\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <line x1=\"4\" y1=\"9.5\" x2=\"20\" y2=\"9.5\" stroke=\"#6C7C90\" />\r\n <line x1=\"4\" y1=\"21.5\" x2=\"20\" y2=\"21.5\" stroke=\"#6C7C90\" />\r\n <line x1=\"4\" y1=\"15.5\" x2=\"20\" y2=\"15.5\" stroke=\"#6C7C90\" />\r\n </svg>\r\n </div>\r\n <img\r\n class=\"logo\"\r\n src=\"../../../assets/img/raise_logo_main.svg\"\r\n alt=\"logo\"\r\n />\r\n <!-- <svg\r\n width=\"87\"\r\n height=\"35\"\r\n viewBox=\"0 0 87 35\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <g clip-path=\"url(#clip0_13700_1713)\">\r\n <path\r\n d=\"M36.32 29.029L34.6405 24.7835H26.2706L24.6825 29.029H18.9998L28.0712 7.39929H33.1416L42.1238 29.0267H36.32V29.029ZM30.5161 13.1735L27.7673 20.5974H33.2055L30.5161 13.1735Z\"\r\n fill=\"#15477F\"\r\n />\r\n <path\r\n d=\"M43.9265 29.0289V10.5548H49.182V29.0289H43.9265Z\"\r\n fill=\"#15477F\"\r\n />\r\n <path\r\n d=\"M65.065 13.0203C64.6171 12.4514 64.0299 11.9966 63.3078 11.6608C62.5857 11.3249 61.8865 11.1558 61.2147 11.1558C60.8674 11.1558 60.5178 11.1855 60.1614 11.2472C59.8049 11.3089 59.485 11.4254 59.1994 11.5991C58.9138 11.7727 58.6738 11.9966 58.4819 12.2708C58.2877 12.545 58.1917 12.8969 58.1917 13.3242C58.1917 13.6898 58.2671 13.996 58.4202 14.2405C58.5733 14.485 58.7972 14.6998 59.092 14.8826C59.3868 15.0654 59.7386 15.2345 60.1454 15.3876C60.5521 15.5407 61.0114 15.6983 61.5209 15.8606C62.2544 16.1051 63.0176 16.3747 63.8128 16.6694C64.608 16.9642 65.33 17.3572 65.9812 17.8462C66.6325 18.3352 67.1717 18.9407 67.6013 19.6628C68.0286 20.3848 68.2434 21.2874 68.2434 22.3659C68.2434 23.609 68.0149 24.6829 67.5556 25.5878C67.0963 26.4949 66.4816 27.2421 65.707 27.8339C64.9324 28.4257 64.0481 28.8621 63.0496 29.1478C62.0511 29.4334 61.0228 29.5751 59.9649 29.5751C58.4179 29.5751 56.919 29.3054 55.4749 28.7662C54.0285 28.2269 52.8266 27.4569 51.8691 26.4606L55.2898 22.9783C55.8199 23.6295 56.5168 24.1756 57.3828 24.6121C58.2488 25.0508 59.108 25.2679 59.9649 25.2679C60.351 25.2679 60.728 25.2267 61.0959 25.1445C61.4615 25.0622 61.7837 24.9297 62.0579 24.7469C62.3321 24.5641 62.5515 24.3196 62.7137 24.0134C62.8759 23.7072 62.9582 23.3416 62.9582 22.9143C62.9582 22.487 62.8554 22.1603 62.652 21.8747C62.4486 21.589 62.1584 21.3308 61.7814 21.0955C61.4044 20.8624 60.936 20.6476 60.3762 20.4534C59.8163 20.2592 59.1788 20.0512 58.4659 19.8273C57.7736 19.6034 57.0949 19.3383 56.4345 19.0321C55.7719 18.7259 55.1824 18.3352 54.6637 17.8554C54.145 17.3778 53.7268 16.7974 53.4115 16.1142C53.0962 15.431 52.9385 14.6015 52.9385 13.6236C52.9385 12.4217 53.183 11.3934 53.672 10.5388C54.161 9.68424 54.8031 8.98046 55.596 8.43206C56.3911 7.88138 57.2869 7.47922 58.2831 7.22559C59.2816 6.97195 60.2893 6.84399 61.3084 6.84399C62.5309 6.84399 63.7785 7.06792 65.0512 7.51578C66.324 7.96364 67.4391 8.62629 68.3965 9.50144L65.0672 13.0135L65.065 13.0203Z\"\r\n fill=\"#15477F\"\r\n />\r\n <path\r\n d=\"M71.6938 29.029V7.39929H86.2355V11.7979H76.7345V15.8903H85.7168V20.0764H76.7345V24.5664H86.7862V29.0267H71.6961L71.6938 29.029Z\"\r\n fill=\"#15477F\"\r\n />\r\n <path\r\n d=\"M1.96738 29.0267H4.97671L8.19168 25.8117L11.4067 29.0267H18.9974L8.18483 18.2141L5.37658 21.0224V12.7759H12.6109C12.8645 12.7759 12.9673 12.9564 12.9993 13.0364C13.0313 13.114 13.0884 13.3151 12.9079 13.4934L10.2436 16.1577L14.0161 19.9302L16.0383 17.908L17.8183 16.1279C19.0294 14.597 19.3173 12.5862 18.5518 10.7354C17.6995 8.6766 15.787 7.39929 13.5591 7.39929H0V29.0267H1.96738Z\"\r\n fill=\"#15477F\"\r\n />\r\n <path d=\"M43.9265 9.36433H49.1797V5L43.9265 9.36433Z\" fill=\"#F68D1E\" />\r\n </g>\r\n <defs>\r\n <clipPath id=\"clip0_13700_1713\">\r\n <rect width=\"86.7839\" height=\"34.5751\" fill=\"white\" />\r\n </clipPath>\r\n </defs>\r\n </svg> -->\r\n\r\n <div *ngIf=\"appName\" class=\"header-app-name\">{{ appName }}</div>\r\n </div>\r\n <div class=\"content-header-wrap\">\r\n <div class=\"bread-crumbs-wrap\">\r\n <ng-content select=\"[breadCrumbs]\"></ng-content>\r\n </div>\r\n <div class=\"rs-header-toolbar-wrap\">\r\n <div class=\"quick-icon-group\">\r\n <ng-content select=\"[toolbar]\"></ng-content>\r\n </div>\r\n <div class=\"line\"></div>\r\n <div class=\"langulage-wrap\">\r\n <button\r\n class=\"e-btn text\"\r\n ejs-dropdownbutton\r\n [items]=\"langOptions\"\r\n (select)=\"selectLanguage($event)\"\r\n >\r\n {{ currentLang && currentLang.text }}\r\n </button>\r\n </div>\r\n <!-- <div class=\"line\"></div>\r\n <div class=\"last-login-wrap\">\r\n {{ translation?.LAST_LOGIN || \"Last Login\" }}:\r\n {{ lastLoginTime | date : \"dd MMM yy h:mm a\" }}\r\n </div> -->\r\n <div class=\"line\"></div>\r\n <div class=\"user-info-wrap\">\r\n <ng-content select=\"[userInfo]\"></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
20785
20856
|
styles: [".rs-header{height:50px;background-color:var(--rs-container-bg);display:flex;justify-content:space-between}.rs-header .logo-wrap{width:240px;display:flex;padding:12px 0 0 20px;align-items:center;gap:12px}.rs-header .logo-wrap .toggle-menu-wrap{cursor:pointer;display:flex;align-items:center}.rs-header .logo-wrap .toggle-menu-wrap:hover{background:#1364b30d;border-radius:6px}.rs-header .logo-wrap .logo{width:77px;height:32px}.rs-header .logo-wrap .header-app-name{font-size:24px;color:#15477f;margin-left:6px;margin-top:-8px}@media (max-width:1200px){.rs-header .logo-wrap{width:auto}}.rs-header .content-header-wrap{display:flex;justify-content:space-between;align-items:center;flex:1;max-width:1886px;margin:0 auto}.rs-header .bread-crumbs-wrap{padding-left:16px}.rs-header .rs-header-toolbar-wrap,.rs-header .rs-header-toolbar-wrap .quick-icon-group{display:flex;align-items:center}.rs-header .rs-header-toolbar-wrap .quick-icon-group ::ng-deep .header-icon{width:32px;height:32px;display:flex;justify-content:center;align-items:center;margin-right:8px;cursor:pointer}.rs-header .rs-header-toolbar-wrap .quick-icon-group ::ng-deep .header-icon:last-child{margin-right:16px}.rs-header .rs-header-toolbar-wrap .quick-icon-group ::ng-deep .header-icon svg{width:24px;height:24px;color:#6c7c90;stroke:#6c7c90}.rs-header .rs-header-toolbar-wrap .quick-icon-group ::ng-deep .header-icon:hover{border-radius:4px;background:rgba(31,123,255,.04)}.rs-header .rs-header-toolbar-wrap .quick-icon-group ::ng-deep .header-icon:hover svg{color:#1f7bff;stroke:#1f7bff}.rs-header .rs-header-toolbar-wrap .line{width:1px;height:24px;background-color:var(--rs-border-color)}.rs-header .rs-header-toolbar-wrap .langulage-wrap{padding:0 16px}.rs-header .rs-header-toolbar-wrap .last-login-wrap{padding:0 16px;color:var(--rs-labels-color);font-size:11px;font-weight:400;line-height:1}.rs-header .rs-header-toolbar-wrap .user-info-wrap{padding:0 20px 0 16px}"]
|
|
20786
20857
|
}] }
|
|
20787
20858
|
];
|
|
@@ -20985,7 +21056,7 @@ class RSFooterComponent {
|
|
|
20985
21056
|
RSFooterComponent.decorators = [
|
|
20986
21057
|
{ type: Component, args: [{
|
|
20987
21058
|
selector: 'rs-footer',
|
|
20988
|
-
template: "<div class=\"rs-footer\">\r\n <span>\r\n RAISE<sup>®</sup>\u00A0\u00A9\u00A0\r\n {{ today | date : \"yyyy\" }}\r\n
|
|
21059
|
+
template: "<div class=\"rs-footer\">\r\n <span>\r\n RAISE<sup>®</sup>\u00A0\u00A9\u00A0\r\n {{ today | date : \"yyyy\" }}\r\n </span>\r\n</div>\r\n",
|
|
20989
21060
|
styles: [".rs-footer{height:40px;padding:0 24px;display:flex;align-items:center;background-color:var(--rs-container-bg);color:var(--rs-labels-color);font-family:var(--rs-font-family);font-size:11px;max-width:1886px;margin:0 auto}@media (max-width:768px){.rs-footer{width:100%;position:fixed;bottom:0;left:0}}"]
|
|
20990
21061
|
}] }
|
|
20991
21062
|
];
|
|
@@ -21138,6 +21209,10 @@ class RSStepperComponent {
|
|
|
21138
21209
|
this.ref = ref;
|
|
21139
21210
|
this.steps = [];
|
|
21140
21211
|
this.currentStep = 0;
|
|
21212
|
+
/**
|
|
21213
|
+
* Layout direction: 'horizontal' (default) or 'vertical'
|
|
21214
|
+
*/
|
|
21215
|
+
this.orientation = "horizontal";
|
|
21141
21216
|
this.stepClick = new EventEmitter();
|
|
21142
21217
|
this.unlockedStep = 0; //已解锁的最大步骤
|
|
21143
21218
|
this.showBtn = false;
|
|
@@ -21161,10 +21236,12 @@ class RSStepperComponent {
|
|
|
21161
21236
|
* @return {?}
|
|
21162
21237
|
*/
|
|
21163
21238
|
ngAfterViewInit() {
|
|
21164
|
-
|
|
21165
|
-
|
|
21166
|
-
|
|
21167
|
-
|
|
21239
|
+
if (this.orientation === "horizontal") {
|
|
21240
|
+
setTimeout((/**
|
|
21241
|
+
* @return {?}
|
|
21242
|
+
*/
|
|
21243
|
+
() => this.checkBtnShow(true)));
|
|
21244
|
+
}
|
|
21168
21245
|
}
|
|
21169
21246
|
/**
|
|
21170
21247
|
* @param {?} changes
|
|
@@ -21173,14 +21250,16 @@ class RSStepperComponent {
|
|
|
21173
21250
|
ngOnChanges(changes) {
|
|
21174
21251
|
if (changes["currentStep"] && !changes["currentStep"].firstChange) {
|
|
21175
21252
|
this.syncUnlockedStep();
|
|
21176
|
-
|
|
21177
|
-
|
|
21178
|
-
|
|
21179
|
-
|
|
21180
|
-
|
|
21253
|
+
if (this.orientation === "horizontal") {
|
|
21254
|
+
setTimeout((/**
|
|
21255
|
+
* @return {?}
|
|
21256
|
+
*/
|
|
21257
|
+
() => this.scrollToStep()));
|
|
21258
|
+
}
|
|
21181
21259
|
}
|
|
21182
|
-
if (
|
|
21183
|
-
changes["
|
|
21260
|
+
if (this.orientation === "horizontal" &&
|
|
21261
|
+
((changes["steps"] && changes["steps"].currentValue) ||
|
|
21262
|
+
changes["currentStep"])) {
|
|
21184
21263
|
setTimeout((/**
|
|
21185
21264
|
* @return {?}
|
|
21186
21265
|
*/
|
|
@@ -21206,10 +21285,12 @@ class RSStepperComponent {
|
|
|
21206
21285
|
if (step.step <= this.unlockedStep) {
|
|
21207
21286
|
this.currentStep = step.step;
|
|
21208
21287
|
this.stepClick.emit(step);
|
|
21209
|
-
|
|
21210
|
-
|
|
21211
|
-
|
|
21212
|
-
|
|
21288
|
+
if (this.orientation === "horizontal") {
|
|
21289
|
+
setTimeout((/**
|
|
21290
|
+
* @return {?}
|
|
21291
|
+
*/
|
|
21292
|
+
() => this.scrollToStep(index)));
|
|
21293
|
+
}
|
|
21213
21294
|
}
|
|
21214
21295
|
}
|
|
21215
21296
|
/**
|
|
@@ -21263,11 +21344,13 @@ class RSStepperComponent {
|
|
|
21263
21344
|
this.onScroll();
|
|
21264
21345
|
}
|
|
21265
21346
|
/**
|
|
21266
|
-
* @param {?}
|
|
21347
|
+
* @param {?} _event
|
|
21267
21348
|
* @return {?}
|
|
21268
21349
|
*/
|
|
21269
|
-
onResize(
|
|
21270
|
-
this.
|
|
21350
|
+
onResize(_event) {
|
|
21351
|
+
if (this.orientation === "horizontal") {
|
|
21352
|
+
this.checkBtnShow();
|
|
21353
|
+
}
|
|
21271
21354
|
}
|
|
21272
21355
|
/**
|
|
21273
21356
|
* @param {?=} init
|
|
@@ -21333,8 +21416,8 @@ class RSStepperComponent {
|
|
|
21333
21416
|
RSStepperComponent.decorators = [
|
|
21334
21417
|
{ type: Component, args: [{
|
|
21335
21418
|
selector: "rs-stepper",
|
|
21336
|
-
template: "<div class=\"rs-stepper\">\r\n <div class=\"steps-wrap\">\r\n
|
|
21337
|
-
styles: [".rs-stepper{font-family:Arial;width:100
|
|
21419
|
+
template: "<div class=\"rs-stepper\" [ngClass]=\"{ 'rs-stepper--vertical': orientation === 'vertical' }\">\r\n <!-- Horizontal stepper -->\r\n <ng-container *ngIf=\"orientation === 'horizontal'\">\r\n <div class=\"steps-wrap\">\r\n <div\r\n class=\"row-btn\"\r\n [class.hidden]=\"isAtStart || !showBtn\"\r\n (click)=\"scrollLeft()\"\r\n >\r\n <div class=\"hover\">\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width=\"17\"\r\n height=\"16\"\r\n viewBox=\"0 0 17 16\"\r\n fill=\"none\"\r\n >\r\n <path\r\n d=\"M10.4995 3.99955L7.24219 8.24219L10.4995 12.4848\"\r\n stroke=\"#1F7BFF\"\r\n />\r\n </svg>\r\n </div>\r\n <div class=\"normal\">\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width=\"17\"\r\n height=\"16\"\r\n viewBox=\"0 0 17 16\"\r\n fill=\"none\"\r\n >\r\n <path\r\n d=\"M10.4995 3.99955L7.24219 8.24219L10.4995 12.4848\"\r\n stroke=\"#6B6B6B\"\r\n />\r\n </svg>\r\n </div>\r\n </div>\r\n <div\r\n class=\"steps-content\"\r\n [ngClass]=\"{\r\n leftMask: showBtn && !isAtStart,\r\n rightMask: showBtn && !isAtEnd,\r\n bothMask: showBtn && !isAtStart && showBtn && !isAtEnd\r\n }\"\r\n #menu\r\n (scroll)=\"onScroll()\"\r\n >\r\n <ng-container *ngFor=\"let item of steps; let i = index\">\r\n <div\r\n class=\"step\"\r\n [ngClass]=\"{\r\n done: item.step <= unlockedStep,\r\n active: item.step === currentStep\r\n }\"\r\n (click)=\"onStepClick(item, i)\"\r\n >\r\n <div\r\n class=\"step-label\"\r\n [matTooltip]=\"item.label !== item.displayTitle ? item.label : ''\"\r\n matTooltipPosition=\"above\"\r\n >\r\n {{ item.displayTitle }}\r\n </div>\r\n </div>\r\n <div class=\"step-arrow\" *ngIf=\"i < steps.length - 1\">\r\n <img src=\"/assets/img/step-arrow.svg\" />\r\n </div>\r\n </ng-container>\r\n </div>\r\n <div\r\n class=\"row-btn\"\r\n [class.hidden]=\"isAtEnd || !showBtn\"\r\n (click)=\"scrollRight()\"\r\n >\r\n <div class=\"hover\">\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width=\"17\"\r\n height=\"16\"\r\n viewBox=\"0 0 17 16\"\r\n fill=\"none\"\r\n >\r\n <path\r\n d=\"M7.50045 3.99955L10.7578 8.24219L7.50045 12.4848\"\r\n stroke=\"#1F7BFF\"\r\n />\r\n </svg>\r\n </div>\r\n <div class=\"normal\">\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width=\"17\"\r\n height=\"16\"\r\n viewBox=\"0 0 17 16\"\r\n fill=\"none\"\r\n >\r\n <path\r\n d=\"M7.50045 3.99955L10.7578 8.24219L7.50045 12.4848\"\r\n stroke=\"#6B6B6B\"\r\n />\r\n </svg>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <!-- Vertical stepper (Figma RAISE-UI-Kits: right border, \"Step N\" + title) -->\r\n <div class=\"steps-wrap steps-wrap--vertical\" *ngIf=\"orientation === 'vertical'\">\r\n <ol class=\"steps-vertical\" role=\"list\">\r\n <li\r\n *ngFor=\"let item of steps; let i = index\"\r\n class=\"step-vertical\"\r\n [ngClass]=\"{\r\n 'step-vertical--done': item.step <= unlockedStep,\r\n 'step-vertical--active': item.step === currentStep\r\n }\"\r\n (click)=\"onStepClick(item, i)\"\r\n >\r\n <span class=\"step-vertical__number\">Step {{ item.step + 1 }}</span>\r\n <span\r\n class=\"step-vertical__label\"\r\n [matTooltip]=\"item.label !== (item.displayTitle || item.label) ? item.label : ''\"\r\n matTooltipPosition=\"right\"\r\n >\r\n {{ item.displayTitle || item.label }}\r\n </span>\r\n </li>\r\n </ol>\r\n </div>\r\n</div>\r\n",
|
|
21420
|
+
styles: [".rs-stepper{font-family:var(--rs-font-family,Arial);width:100%}.rs-stepper:not(.rs-stepper--vertical){border-bottom:1px solid var(--rs-border-color)}.rs-stepper.rs-stepper--vertical{border-bottom:none}.rs-stepper .steps-wrap{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 auto}.rs-stepper .steps-wrap .steps-content{display:flex;align-items:center;flex-wrap:nowrap;min-width:0;overflow-x:auto;overflow-y:hidden;gap:8px}.rs-stepper .steps-wrap .steps-content.leftMask{-webkit-mask-image:linear-gradient(90deg,transparent,#fff 10%,#d8d3d3 100%);mask-image:linear-gradient(90deg,transparent,#fff 10%,#d8d3d3 100%)}.rs-stepper .steps-wrap .steps-content.rightMask{-webkit-mask-image:linear-gradient(90deg,#fff 0,#fff 90%,transparent);mask-image:linear-gradient(90deg,#fff 0,#fff 90%,transparent)}.rs-stepper .steps-wrap .steps-content.bothMask{-webkit-mask-image:linear-gradient(90deg,transparent,#fff 10%,#fff 90%,transparent)!important;mask-image:linear-gradient(90deg,transparent,#fff 10%,#fff 90%,transparent)!important}.rs-stepper .steps-wrap .steps-content::-webkit-scrollbar{width:0;height:0}.rs-stepper .steps-wrap .step{flex:0 0 auto}.rs-stepper .steps-wrap .step .step-label{color:var(--rs-labels-color);font-size:12px;font-weight:400;line-height:22px;text-align:center;white-space:nowrap;padding:0 12px 12px;display:flex;align-items:center}.rs-stepper .steps-wrap .step.done{cursor:pointer}.rs-stepper .steps-wrap .step.done .step-label{color:var(--rs-active-labels-color)}.rs-stepper .steps-wrap .step.active .step-label{color:var(--rs-active-labels-color);font-weight:700;border-bottom:1px solid var(--rs-active-labels-color)}.rs-stepper .steps-wrap .step-arrow{flex:0 0 auto;padding:0 12px 12px;display:flex;align-items:center}.rs-stepper .row-btn{margin-bottom:12px;display:flex;width:20px;height:20px;align-items:center;justify-content:center;border-radius:4px;border:1px solid #bdc4ca;flex-shrink:0;cursor:pointer;visibility:visible}.rs-stepper .row-btn .hover{display:none}.rs-stepper .row-btn .normal{display:flex}.rs-stepper .row-btn:hover{background-color:rgba(31,123,255,.04)}.rs-stepper .row-btn:hover .normal{display:none}.rs-stepper .row-btn:hover .hover{display:flex}.rs-stepper .row-btn.hidden{visibility:hidden}.rs-stepper .steps-wrap--vertical{display:block;padding:0}.rs-stepper .steps-vertical{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}.rs-stepper .step-vertical{display:flex;flex-direction:column;align-items:flex-end;gap:6px;padding:4px 12px 4px 0;border-right:2px solid var(--rs-border-color);cursor:default;text-align:right;font-family:var(--rs-font-family,Arial);font-size:11px;line-height:14px;color:var(--rs-labels-color);transition:background-color .15s,border-radius .15s}.rs-stepper .step-vertical.step-vertical--done{cursor:pointer;border-right-color:var(--rs-active-labels-color);color:var(--rs-active-labels-color)}.rs-stepper .step-vertical.step-vertical--done:hover{background-color:rgba(31,123,255,.04);border-top-left-radius:var(--rs-input-border-radius,4px);border-bottom-left-radius:var(--rs-input-border-radius,4px)}.rs-stepper .step-vertical.step-vertical--active{border-right-color:var(--rs-active-labels-color);color:var(--rs-active-labels-color)}.rs-stepper .step-vertical.step-vertical--active .step-vertical__label{font-weight:700}.rs-stepper .step-vertical__number{flex-shrink:0;font-weight:400}.rs-stepper .step-vertical__label{min-width:0;font-weight:400;word-break:break-word}.rs-stepper .step-vertical--active .step-vertical__label{font-weight:700}"]
|
|
21338
21421
|
}] }
|
|
21339
21422
|
];
|
|
21340
21423
|
/** @nocollapse */
|
|
@@ -21346,6 +21429,7 @@ RSStepperComponent.propDecorators = {
|
|
|
21346
21429
|
menu: [{ type: ViewChild, args: ["menu", { static: false },] }],
|
|
21347
21430
|
steps: [{ type: Input }],
|
|
21348
21431
|
currentStep: [{ type: Input }],
|
|
21432
|
+
orientation: [{ type: Input }],
|
|
21349
21433
|
stepClick: [{ type: Output }],
|
|
21350
21434
|
unlockedStep: [{ type: Input }],
|
|
21351
21435
|
containerRefId: [{ type: Input }],
|
|
@@ -21358,6 +21442,11 @@ if (false) {
|
|
|
21358
21442
|
RSStepperComponent.prototype.steps;
|
|
21359
21443
|
/** @type {?} */
|
|
21360
21444
|
RSStepperComponent.prototype.currentStep;
|
|
21445
|
+
/**
|
|
21446
|
+
* Layout direction: 'horizontal' (default) or 'vertical'
|
|
21447
|
+
* @type {?}
|
|
21448
|
+
*/
|
|
21449
|
+
RSStepperComponent.prototype.orientation;
|
|
21361
21450
|
/** @type {?} */
|
|
21362
21451
|
RSStepperComponent.prototype.stepClick;
|
|
21363
21452
|
/** @type {?} */
|