raise-common-lib 0.0.202 → 0.0.204

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.
@@ -2214,6 +2214,84 @@ if (false) {
2214
2214
  TruncatedTextToggleComponent.prototype.showCollapseBtn;
2215
2215
  }
2216
2216
 
2217
+ /**
2218
+ * @fileoverview added by tsickle
2219
+ * Generated from: lib/form/search-input/index.component.ts
2220
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2221
+ */
2222
+ class SearchInputComponent {
2223
+ constructor() {
2224
+ this.placeholder = "";
2225
+ this.hanleSearch = new EventEmitter();
2226
+ this.handleInput = new EventEmitter();
2227
+ this.searchValue = "";
2228
+ }
2229
+ /**
2230
+ * @return {?}
2231
+ */
2232
+ ngOnInit() {
2233
+ this.getInfo();
2234
+ this.debouncedInput = debounce((/**
2235
+ * @return {?}
2236
+ */
2237
+ () => {
2238
+ this.onSeach();
2239
+ }), 300);
2240
+ }
2241
+ /**
2242
+ * @return {?}
2243
+ */
2244
+ getInfo() {
2245
+ this.translation = JSON.parse(localStorage.getItem("translation"));
2246
+ this.placeholder = this.placeholder || this.translation.SEARCH;
2247
+ }
2248
+ /**
2249
+ * @param {?} e
2250
+ * @return {?}
2251
+ */
2252
+ onInput(e) {
2253
+ this.handleInput.emit(e.value);
2254
+ this.debouncedInput();
2255
+ }
2256
+ /**
2257
+ * @return {?}
2258
+ */
2259
+ onSeach() {
2260
+ this.hanleSearch.emit(this.searchValue);
2261
+ }
2262
+ }
2263
+ SearchInputComponent.decorators = [
2264
+ { type: Component, args: [{
2265
+ selector: "rs-search-input",
2266
+ template: "<div class=\"rs-search-input\">\r\n <ejs-textbox\r\n type=\"text\"\r\n class=\"e-input\"\r\n [(ngModel)]=\"searchValue\"\r\n (input)=\"onInput($event)\"\r\n [placeholder]=\"placeholder\"\r\n [showClearButton]=\"true\"\r\n autocomplete=\"off\"\r\n ></ejs-textbox>\r\n</div>\r\n",
2267
+ styles: [".rs-search-input{width:240px}.rs-search-input .e-textbox{display:block;box-shadow:none!important}.rs-search-input ::ng-deep .e-input-group{border-radius:14px!important}.rs-search-input ::ng-deep .e-input-group.e-input-focus,.rs-search-input ::ng-deep .e-input-group:hover{box-shadow:0 0 3px 0 rgba(31,123,255,.4)!important;border-color:var(--rs-input-hover-border-color)!important}.rs-search-input ::ng-deep .e-input-group.e-input-focus input.e-input,.rs-search-input ::ng-deep .e-input-group:hover input.e-input{box-shadow:none!important}.rs-search-input ::ng-deep .e-input-group input.e-input{width:calc(100% - 50px);height:24px!important;line-height:22px!important}.rs-search-input ::ng-deep .e-input-group input.e-input:hover{box-shadow:none!important}.rs-search-input ::ng-deep .e-input-group::before{content:\"\"!important;margin:5px 0 0 8px;display:block;width:16px;height:16px;background-image:url(/assets/img/search.svg);background-size:cover;background-position:center}"]
2268
+ }] }
2269
+ ];
2270
+ /** @nocollapse */
2271
+ SearchInputComponent.ctorParameters = () => [];
2272
+ SearchInputComponent.propDecorators = {
2273
+ placeholder: [{ type: Input }],
2274
+ hanleSearch: [{ type: Output }],
2275
+ handleInput: [{ type: Output }]
2276
+ };
2277
+ if (false) {
2278
+ /** @type {?} */
2279
+ SearchInputComponent.prototype.placeholder;
2280
+ /** @type {?} */
2281
+ SearchInputComponent.prototype.hanleSearch;
2282
+ /** @type {?} */
2283
+ SearchInputComponent.prototype.handleInput;
2284
+ /**
2285
+ * @type {?}
2286
+ * @private
2287
+ */
2288
+ SearchInputComponent.prototype.debouncedInput;
2289
+ /** @type {?} */
2290
+ SearchInputComponent.prototype.searchValue;
2291
+ /** @type {?} */
2292
+ SearchInputComponent.prototype.translation;
2293
+ }
2294
+
2217
2295
  /**
2218
2296
  * @fileoverview added by tsickle
2219
2297
  * Generated from: lib/layout/page-list/index.component.ts
@@ -2248,6 +2326,14 @@ class RsPageListComponent {
2248
2326
  this.hasWholeToolbarSlot = !!this.wholeToolbarSlot;
2249
2327
  this.hasLeftContentSlot = !!this.leftContentSlot;
2250
2328
  }
2329
+ /**
2330
+ * @param {?} value
2331
+ * @return {?}
2332
+ */
2333
+ setSearchValue(value) {
2334
+ this.searchInput.searchValue = value;
2335
+ this.onSeach(value);
2336
+ }
2251
2337
  /**
2252
2338
  * @param {?} value
2253
2339
  * @return {?}
@@ -2279,6 +2365,7 @@ RsPageListComponent.propDecorators = {
2279
2365
  orignGrid: [{ type: ContentChild, args: [GridComponent, { static: false },] }],
2280
2366
  treeGrid: [{ type: ContentChild, args: [TreeGridComponent, { static: false },] }],
2281
2367
  wholeToolbarSlot: [{ type: ContentChild, args: ["wholeToolbarSlot", { static: false },] }],
2368
+ searchInput: [{ type: ViewChild, args: ["searchInput", { static: false },] }],
2282
2369
  leftContentSlot: [{ type: ContentChild, args: ["leftContentSlot", { static: false },] }],
2283
2370
  pageTitle: [{ type: Input }],
2284
2371
  customPageTitle: [{ type: Input }],
@@ -2296,6 +2383,8 @@ if (false) {
2296
2383
  /** @type {?} */
2297
2384
  RsPageListComponent.prototype.wholeToolbarSlot;
2298
2385
  /** @type {?} */
2386
+ RsPageListComponent.prototype.searchInput;
2387
+ /** @type {?} */
2299
2388
  RsPageListComponent.prototype.leftContentSlot;
2300
2389
  /** @type {?} */
2301
2390
  RsPageListComponent.prototype.pageTitle;
@@ -2410,84 +2499,6 @@ if (false) {
2410
2499
  RsPageTabComponent.prototype.animation;
2411
2500
  }
2412
2501
 
2413
- /**
2414
- * @fileoverview added by tsickle
2415
- * Generated from: lib/form/search-input/index.component.ts
2416
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2417
- */
2418
- class SearchInputComponent {
2419
- constructor() {
2420
- this.placeholder = "";
2421
- this.hanleSearch = new EventEmitter();
2422
- this.handleInput = new EventEmitter();
2423
- this.searchValue = "";
2424
- }
2425
- /**
2426
- * @return {?}
2427
- */
2428
- ngOnInit() {
2429
- this.getInfo();
2430
- this.debouncedInput = debounce((/**
2431
- * @return {?}
2432
- */
2433
- () => {
2434
- this.onSeach();
2435
- }), 300);
2436
- }
2437
- /**
2438
- * @return {?}
2439
- */
2440
- getInfo() {
2441
- this.translation = JSON.parse(localStorage.getItem("translation"));
2442
- this.placeholder = this.placeholder || this.translation.SEARCH;
2443
- }
2444
- /**
2445
- * @param {?} e
2446
- * @return {?}
2447
- */
2448
- onInput(e) {
2449
- this.handleInput.emit(e.value);
2450
- this.debouncedInput();
2451
- }
2452
- /**
2453
- * @return {?}
2454
- */
2455
- onSeach() {
2456
- this.hanleSearch.emit(this.searchValue);
2457
- }
2458
- }
2459
- SearchInputComponent.decorators = [
2460
- { type: Component, args: [{
2461
- selector: "rs-search-input",
2462
- template: "<div class=\"rs-search-input\">\r\n <ejs-textbox\r\n type=\"text\"\r\n class=\"e-input\"\r\n [(ngModel)]=\"searchValue\"\r\n (input)=\"onInput($event)\"\r\n [placeholder]=\"placeholder\"\r\n [showClearButton]=\"true\"\r\n autocomplete=\"off\"\r\n ></ejs-textbox>\r\n</div>\r\n",
2463
- styles: [".rs-search-input{width:240px}.rs-search-input .e-textbox{display:block;box-shadow:none!important}.rs-search-input ::ng-deep .e-input-group{border-radius:14px!important}.rs-search-input ::ng-deep .e-input-group.e-input-focus,.rs-search-input ::ng-deep .e-input-group:hover{box-shadow:0 0 3px 0 rgba(31,123,255,.4)!important;border-color:var(--rs-input-hover-border-color)!important}.rs-search-input ::ng-deep .e-input-group.e-input-focus input.e-input,.rs-search-input ::ng-deep .e-input-group:hover input.e-input{box-shadow:none!important}.rs-search-input ::ng-deep .e-input-group input.e-input{width:calc(100% - 50px);height:24px!important;line-height:22px!important}.rs-search-input ::ng-deep .e-input-group input.e-input:hover{box-shadow:none!important}.rs-search-input ::ng-deep .e-input-group::before{content:\"\"!important;margin:5px 0 0 8px;display:block;width:16px;height:16px;background-image:url(/assets/img/search.svg);background-size:cover;background-position:center}"]
2464
- }] }
2465
- ];
2466
- /** @nocollapse */
2467
- SearchInputComponent.ctorParameters = () => [];
2468
- SearchInputComponent.propDecorators = {
2469
- placeholder: [{ type: Input }],
2470
- hanleSearch: [{ type: Output }],
2471
- handleInput: [{ type: Output }]
2472
- };
2473
- if (false) {
2474
- /** @type {?} */
2475
- SearchInputComponent.prototype.placeholder;
2476
- /** @type {?} */
2477
- SearchInputComponent.prototype.hanleSearch;
2478
- /** @type {?} */
2479
- SearchInputComponent.prototype.handleInput;
2480
- /**
2481
- * @type {?}
2482
- * @private
2483
- */
2484
- SearchInputComponent.prototype.debouncedInput;
2485
- /** @type {?} */
2486
- SearchInputComponent.prototype.searchValue;
2487
- /** @type {?} */
2488
- SearchInputComponent.prototype.translation;
2489
- }
2490
-
2491
2502
  /**
2492
2503
  * @fileoverview added by tsickle
2493
2504
  * Generated from: lib/layout/grid-box/index.component.ts
@@ -21022,7 +21033,9 @@ class RSStepperComponent {
21022
21033
  this.steps = [];
21023
21034
  this.currentStep = 0;
21024
21035
  this.stepClick = new EventEmitter();
21036
+ this.unlockedStep = 0; //已解锁的最大步骤
21025
21037
  }
21038
+ //已解锁的最大步骤
21026
21039
  /**
21027
21040
  * @return {?}
21028
21041
  */
@@ -21031,16 +21044,36 @@ class RSStepperComponent {
21031
21044
  * @param {?} step
21032
21045
  * @return {?}
21033
21046
  */
21034
- step => {
21047
+ (step) => {
21035
21048
  step.displayTitle = this.cf.setMiddleEllipsis(step.label, 132, 12);
21036
21049
  }));
21050
+ this.syncUnlockedStep();
21051
+ }
21052
+ /**
21053
+ * @param {?} changes
21054
+ * @return {?}
21055
+ */
21056
+ ngOnChanges(changes) {
21057
+ if (changes["currentStep"] && !changes["currentStep"].firstChange) {
21058
+ this.syncUnlockedStep();
21059
+ }
21060
+ }
21061
+ // 同步unlockedStep的最大值
21062
+ /**
21063
+ * @private
21064
+ * @return {?}
21065
+ */
21066
+ syncUnlockedStep() {
21067
+ if (this.currentStep > this.unlockedStep) {
21068
+ this.unlockedStep = this.currentStep;
21069
+ }
21037
21070
  }
21038
21071
  /**
21039
21072
  * @param {?} step
21040
21073
  * @return {?}
21041
21074
  */
21042
21075
  onStepClick(step) {
21043
- if (step.step < this.currentStep) {
21076
+ if (step.step <= this.unlockedStep) {
21044
21077
  this.currentStep = step.step;
21045
21078
  this.stepClick.emit(step);
21046
21079
  }
@@ -21048,9 +21081,9 @@ class RSStepperComponent {
21048
21081
  }
21049
21082
  RSStepperComponent.decorators = [
21050
21083
  { type: Component, args: [{
21051
- selector: 'rs-stepper',
21052
- template: "<div class=\"rs-stepper\">\r\n <div class=\"steps-wrap\">\r\n <ng-container *ngFor=\"let item of steps\">\r\n <div\r\n class=\"step\"\r\n [ngClass]=\"{\r\n done: item.step < currentStep,\r\n active: item.step === currentStep\r\n }\"\r\n (click)=\"onStepClick(item)\"\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=\"item.step !== 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",
21053
- styles: [".rs-stepper{font-family:Arial;width:100%;border-bottom:1px solid var(--rs-border-color)}.rs-stepper .steps-wrap{display:flex;align-items:center;justify-content:space-between;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:0 auto;gap:8px}.rs-stepper .steps-wrap .step{flex:1;padding:0 12px 12px}.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;max-width:132px}.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}.rs-stepper .steps-wrap .step-arrow{padding:4px;align-self:flex-start}"]
21084
+ selector: "rs-stepper",
21085
+ template: "<div class=\"rs-stepper\">\r\n <div class=\"steps-wrap\">\r\n <ng-container *ngFor=\"let item of steps\">\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)\"\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=\"item.step !== 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",
21086
+ styles: [".rs-stepper{font-family:Arial;width:100%;border-bottom:1px solid var(--rs-border-color)}.rs-stepper .steps-wrap{display:flex;align-items:center;justify-content:space-between;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:0 auto;gap:8px}.rs-stepper .steps-wrap .step{flex:1}.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}.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{padding:4px;align-self:flex-start}"]
21054
21087
  }] }
21055
21088
  ];
21056
21089
  /** @nocollapse */
@@ -21060,7 +21093,8 @@ RSStepperComponent.ctorParameters = () => [
21060
21093
  RSStepperComponent.propDecorators = {
21061
21094
  steps: [{ type: Input }],
21062
21095
  currentStep: [{ type: Input }],
21063
- stepClick: [{ type: Output }]
21096
+ stepClick: [{ type: Output }],
21097
+ unlockedStep: [{ type: Input }]
21064
21098
  };
21065
21099
  if (false) {
21066
21100
  /** @type {?} */
@@ -21070,6 +21104,8 @@ if (false) {
21070
21104
  /** @type {?} */
21071
21105
  RSStepperComponent.prototype.stepClick;
21072
21106
  /** @type {?} */
21107
+ RSStepperComponent.prototype.unlockedStep;
21108
+ /** @type {?} */
21073
21109
  RSStepperComponent.prototype.cf;
21074
21110
  }
21075
21111
 
@@ -22166,7 +22202,7 @@ DrawerFormComponent.decorators = [
22166
22202
  { type: Component, args: [{
22167
22203
  selector: "rs-drawer-form",
22168
22204
  template: "<div #drawerFormEl class=\"rs-drawer-form-container\">\r\n <div class=\"section-container\">\r\n <div #sectionEl class=\"section-item\" *ngFor=\"let section of sections\">\r\n <input\r\n type=\"checkbox\"\r\n class=\"section-expand-checkbox\"\r\n *ngIf=\"section.title\"\r\n />\r\n <div class=\"section-title\" *ngIf=\"section.title\">\r\n <span>{{ section.title }}</span>\r\n </div>\r\n <div class=\"section-form\" *ngIf=\"!section.customKey\">\r\n <div\r\n class=\"form-item\"\r\n *ngFor=\"let field of section.fields\"\r\n [attr.data-required]=\"field.required ? 'yes' : 'no'\"\r\n [attr.data-disabled]=\"field.disabled || formDisabled ? 'yes' : 'no'\"\r\n [attr.data-error]=\"\r\n fieldValidMap[field.formKey] === false ? 'yes' : 'no'\r\n \"\r\n >\r\n <div class=\"form-label\">\r\n <span>{{ field.label }}</span>\r\n <ejs-tooltip\r\n class=\"form-tooltip\"\r\n cssClass=\"rs-drawer-tooltip\"\r\n *ngIf=\"field.tooltip\"\r\n position=\"RightCenter\"\r\n [content]=\"field.tooltip\"\r\n >\r\n <span class=\"tooltip-icon\"></span>\r\n </ejs-tooltip>\r\n </div>\r\n <div class=\"form-content\">\r\n <!-- Radio -->\r\n <rs-radio-group\r\n *ngIf=\"field.fieldFormType === 'Radio'\"\r\n [value]=\"form[field.formKey]\"\r\n [dataSource]=\"getOptions(field)\"\r\n [fields]=\"getOptionFields(field)\"\r\n [disabled]=\"getDisabled(field)\"\r\n [error]=\"fieldValidMap[field.formKey] === false\"\r\n (valueChange)=\"onChange($event, field)\"\r\n ></rs-radio-group>\r\n <!-- Checkbox -->\r\n <rs-checkbox-group\r\n *ngIf=\"field.fieldFormType === 'Checkbox'\"\r\n [value]=\"form[field.formKey]\"\r\n [dataSource]=\"getOptions(field)\"\r\n [fields]=\"getOptionFields(field)\"\r\n [disabled]=\"getDisabled(field)\"\r\n [error]=\"fieldValidMap[field.formKey] === false\"\r\n (valueChange)=\"onChange($event, field)\"\r\n ></rs-checkbox-group>\r\n <!-- Switch -->\r\n <rs-switch-input\r\n *ngIf=\"field.fieldFormType === 'Switch'\"\r\n [value]=\"form[field.formKey]\"\r\n [disabled]=\"getDisabled(field)\"\r\n (valueChange)=\"onChange($event, field)\"\r\n ></rs-switch-input>\r\n <!-- Input -->\r\n <input\r\n class=\"e-input\"\r\n *ngIf=\"\r\n field.fieldFormType === 'Text' ||\r\n field.fieldFormType === 'Email'\r\n \"\r\n [value]=\"form[field.formKey]\"\r\n [disabled]=\"getDisabled(field)\"\r\n [required]=\"field.required\"\r\n [attr.maxlength]=\"field.maxlength\"\r\n [attr.minlength]=\"field.minlength\"\r\n [class.error]=\"fieldValidMap[field.formKey] === false\"\r\n (input)=\"onInput($event.target.value, field)\"\r\n (change)=\"onChange($event.target.value, field)\"\r\n (focus)=\"onFocus(field)\"\r\n (blur)=\"onBlur(field)\"\r\n autocomplete=\"off\"\r\n />\r\n <!-- Textarea -->\r\n <textarea\r\n class=\"e-input\"\r\n *ngIf=\"field.fieldFormType === 'Textarea'\"\r\n [value]=\"form[field.formKey]\"\r\n [disabled]=\"getDisabled(field)\"\r\n [required]=\"field.required\"\r\n [attr.maxlength]=\"field.maxlength\"\r\n [attr.minlength]=\"field.minlength\"\r\n [class.error]=\"fieldValidMap[field.formKey] === false\"\r\n (input)=\"onInput($event.target.value, field)\"\r\n (change)=\"onChange($event.target.value, field)\"\r\n (focus)=\"onFocus(field)\"\r\n (blur)=\"onBlur(field)\"\r\n autocomplete=\"off\"\r\n rows=\"3\"\r\n ></textarea>\r\n <!-- Number Input -->\r\n <ejs-numerictextbox\r\n *ngIf=\"field.fieldFormType === 'Number'\"\r\n [value]=\"form[field.formKey]\"\r\n [max]=\"field.max\"\r\n [min]=\"field.min\"\r\n [step]=\"field.step\"\r\n [decimals]=\"field.decimals\"\r\n [format]=\"field.format || numberFormat\"\r\n [enabled]=\"!getDisabled(field)\"\r\n [class.error]=\"fieldValidMap[field.formKey] === false\"\r\n (change)=\"onComponentChange($event, field)\"\r\n (focus)=\"onFocus(field)\"\r\n (blur)=\"onBlur(field)\"\r\n ></ejs-numerictextbox>\r\n <!-- Tags Input -->\r\n <rs-tag-input\r\n *ngIf=\"field.fieldFormType === 'Tags'\"\r\n [value]=\"form[field.formKey]\"\r\n [fields]=\"getOptionFields(field)\"\r\n [inputMaxlength]=\"field.maxlength\"\r\n [inputMinlength]=\"field.minlength\"\r\n [disabled]=\"getDisabled(field)\"\r\n [error]=\"fieldValidMap[field.formKey] === false\"\r\n (valueChange)=\"onChange($event, field)\"\r\n (focus)=\"onFocus(field)\"\r\n (blur)=\"onBlur(field)\"\r\n ></rs-tag-input>\r\n <!-- AutoComplete -->\r\n <ejs-autocomplete\r\n *ngIf=\"field.fieldFormType === 'AutoComplete'\"\r\n [value]=\"form[field.formKey]\"\r\n [dataSource]=\"getOptions(field)\"\r\n [fields]=\"getOptionFields(field)\"\r\n [enabled]=\"!getDisabled(field)\"\r\n [class.error]=\"fieldValidMap[field.formKey] === false\"\r\n (filtering)=\"onFiltering($event, field)\"\r\n (change)=\"onComponentChange($event, field)\"\r\n (focus)=\"onFocus(field)\"\r\n (blur)=\"onBlur(field)\"\r\n ></ejs-autocomplete>\r\n <!-- Dropdown -->\r\n <ejs-dropdownlist\r\n #dropdown\r\n *ngIf=\"field.fieldFormType === 'Dropdown'\"\r\n [value]=\"form[field.formKey]\"\r\n [dataSource]=\"getOptions(field)\"\r\n [fields]=\"getOptionFields(field)\"\r\n [allowFiltering]=\"true\"\r\n [showClearButton]=\"true\"\r\n [enabled]=\"!getDisabled(field)\"\r\n [class.error]=\"fieldValidMap[field.formKey] === false\"\r\n (filtering)=\"onFiltering($event, field)\"\r\n (dataBound)=\"onDropdownDataBound($event, field)\"\r\n (change)=\"onComponentChange($event, field)\"\r\n (focus)=\"onFocus(field)\"\r\n (blur)=\"onBlur(field)\"\r\n ></ejs-dropdownlist>\r\n <!-- MultiSelect -->\r\n <ejs-multiselect\r\n *ngIf=\"field.fieldFormType === 'MultiSelect'\"\r\n mode=\"CheckBox\"\r\n [ngModel]=\"form[field.formKey]\"\r\n [dataSource]=\"getOptions(field)\"\r\n [fields]=\"getOptionFields(field)\"\r\n [allowFiltering]=\"true\"\r\n [showDropDownIcon]=\"true\"\r\n [enabled]=\"!getDisabled(field)\"\r\n [class.error]=\"fieldValidMap[field.formKey] === false\"\r\n (filtering)=\"onFiltering($event, field)\"\r\n (change)=\"onComponentChange($event, field)\"\r\n (focus)=\"onFocus(field)\"\r\n (blur)=\"onBlur(field)\"\r\n >\r\n </ejs-multiselect>\r\n <!-- Datepicker -->\r\n <ejs-datepicker\r\n *ngIf=\"field.fieldFormType === 'Datepicker'\"\r\n [(value)]=\"dateForm[field.formKey]\"\r\n [format]=\"field.format || dateFormat\"\r\n [enabled]=\"!getDisabled(field)\"\r\n [class.error]=\"\r\n fieldValidMap[field.formKey] === false ||\r\n dateValidMap[field.formKey] === false\r\n \"\r\n (change)=\"onComponentChange($event, field)\"\r\n (focus)=\"onFocus(field)\"\r\n (blur)=\"onDatePickerBlur($event, field)\"\r\n ></ejs-datepicker>\r\n <ng-template\r\n #customTemplateContainer\r\n *ngIf=\"field.fieldFormType === 'Custom'\"\r\n ></ng-template>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"section-form\" *ngIf=\"section.customKey\">\r\n <ng-template #customSectionContainer></ng-template>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"sections.length > 1 && showAnchor\" class=\"anchor-container\">\r\n <div\r\n class=\"anchor-item\"\r\n *ngFor=\"let section of sections; let index = index\"\r\n [style.display]=\"section.title ? 'block' : 'none'\"\r\n [attr.data-active]=\"scrollIndex === index ? 'yes' : 'no'\"\r\n [attr.data-content]=\"section.title\"\r\n (click)=\"onClickAnchor(index)\"\r\n ></div>\r\n </div>\r\n</div>\r\n",
22169
- styles: [":host{display:block;margin-top:16px}.rs-drawer-form-container{display:flex;flex-flow:row nowrap;align-items:flex-start;gap:32px}.rs-drawer-form-container .section-container{flex:auto;display:flex;flex-flow:column nowrap;max-width:1576px}.rs-drawer-form-container .section-item{position:relative}.rs-drawer-form-container .section-item:not(:first-child){border-top:1px solid #eaedf0}.rs-drawer-form-container .section-expand-checkbox{display:block;width:100%;height:28px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;position:absolute;top:0;left:0}.rs-drawer-form-container .section-expand-checkbox:checked+.section-title::before{transform:rotate(-90deg)}.rs-drawer-form-container .section-expand-checkbox:checked+.section-title+.section-form{max-height:0;overflow:hidden}.rs-drawer-form-container .section-title{padding:6px 0;margin-bottom:12px;color:#44566c;font-family:Arial;font-size:13px;font-style:normal;font-weight:700;line-height:16px;display:flex;flex-flow:row nowrap;align-items:center;pointer-events:none}.rs-drawer-form-container .section-title::before{content:url(../../assets/img/down-arrow.svg);display:block;height:16px;width:16px;margin-right:8px}.rs-drawer-form-container .section-form{display:flex;flex-flow:row wrap;justify-content:space-between;gap:12px 56px;max-width:1576px;padding:0 24px;margin-bottom:20px}.rs-drawer-form-container .section-form .form-item{min-height:28px;min-width:400px;max-width:700px;width:calc((100% - 56px)/ 2);display:flex;flex-flow:row nowrap;justify-content:flex-start;align-items:flex-start}.rs-drawer-form-container .section-form .form-item[data-required=yes] .form-label>span:first-child::after{content:\"*\";color:var(--rs-input-require-label-color)}.rs-drawer-form-container .section-form .form-item .form-label{flex:none;width:144px;height:28px;margin-right:16px;color:#43566c;font-family:Arial;font-size:12px;font-style:normal;font-weight:400;line-height:14px;display:flex;flex-flow:row nowrap;align-items:center}.rs-drawer-form-container .section-form .form-item .form-label .form-tooltip{margin-left:4px}.rs-drawer-form-container .section-form .form-item .form-label .form-tooltip .tooltip-icon::before{content:\" \";display:block;width:14px;height:14px;background-image:url(../../assets/img/tooltip-icon.svg);background-size:contain;cursor:pointer}.rs-drawer-form-container .section-form .form-item .form-content{flex:auto}@media (max-width:1420px){.rs-drawer-form-container .section-form .form-item{width:100%}}.rs-drawer-form-container .anchor-container{flex:none;display:flex;flex-flow:column nowrap;gap:4px;min-width:120px;height:auto;position:-webkit-sticky;position:sticky;top:56px}.rs-drawer-form-container .anchor-item{min-width:120px;padding:4px 12px;border-left:1px solid #eaedf0;cursor:pointer;color:#44566c;font-family:Arial;font-size:11px;font-style:normal;font-weight:400;line-height:16px;position:relative}.rs-drawer-form-container .anchor-item::before{content:attr(data-content);color:#44566c;font-weight:400;position:absolute;left:12px}.rs-drawer-form-container .anchor-item::after{content:attr(data-content);visibility:hidden;color:#1364b3;font-weight:700}.rs-drawer-form-container .anchor-item[data-active=yes]{border-color:#1f7bff}.rs-drawer-form-container .anchor-item[data-active=yes]::before{visibility:hidden}.rs-drawer-form-container .anchor-item[data-active=yes]::after{visibility:visible}.rs-drawer-tooltip.e-tooltip-wrap{border:none;background-color:#44566c}.rs-drawer-tooltip.e-tooltip-wrap .e-arrow-tip{height:4px;visibility:hidden}"]
22205
+ styles: [":host{display:block;margin-top:16px}.rs-drawer-form-container{display:flex;flex-flow:row nowrap;align-items:flex-start;gap:32px}.rs-drawer-form-container .section-container{display:flex;flex-flow:column nowrap;max-width:1576px;flex:1;width:0}.rs-drawer-form-container .section-item{position:relative}.rs-drawer-form-container .section-item:not(:first-child){border-top:1px solid #eaedf0}.rs-drawer-form-container .section-expand-checkbox{display:block;width:100%;height:28px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;position:absolute;top:0;left:0}.rs-drawer-form-container .section-expand-checkbox:checked+.section-title::before{transform:rotate(-90deg)}.rs-drawer-form-container .section-expand-checkbox:checked+.section-title+.section-form{max-height:0;overflow:hidden}.rs-drawer-form-container .section-title{padding:6px 0;margin-bottom:12px;color:#44566c;font-family:Arial;font-size:13px;font-style:normal;font-weight:700;line-height:16px;display:flex;flex-flow:row nowrap;align-items:center;pointer-events:none}.rs-drawer-form-container .section-title::before{content:url(../../assets/img/down-arrow.svg);display:block;height:16px;width:16px;margin-right:8px}.rs-drawer-form-container .section-form{display:flex;flex-flow:row wrap;justify-content:space-between;gap:12px 56px;max-width:1576px;padding:0 24px;margin-bottom:20px}.rs-drawer-form-container .section-form .form-item{min-height:28px;min-width:400px;max-width:700px;width:calc((100% - 56px)/ 2);display:flex;flex-flow:row nowrap;justify-content:flex-start;align-items:flex-start}.rs-drawer-form-container .section-form .form-item[data-required=yes] .form-label>span:first-child::after{content:\"*\";color:var(--rs-input-require-label-color)}.rs-drawer-form-container .section-form .form-item .form-label{flex:none;width:144px;height:28px;margin-right:16px;color:#43566c;font-family:Arial;font-size:12px;font-style:normal;font-weight:400;line-height:14px;display:flex;flex-flow:row nowrap;align-items:center}.rs-drawer-form-container .section-form .form-item .form-label .form-tooltip{margin-left:4px}.rs-drawer-form-container .section-form .form-item .form-label .form-tooltip .tooltip-icon::before{content:\" \";display:block;width:14px;height:14px;background-image:url(../../assets/img/tooltip-icon.svg);background-size:contain;cursor:pointer}.rs-drawer-form-container .section-form .form-item .form-content{flex:auto}@media (max-width:1420px){.rs-drawer-form-container .section-form .form-item{width:100%}}.rs-drawer-form-container .anchor-container{flex:none;display:flex;flex-flow:column nowrap;gap:4px;min-width:120px;height:auto;position:-webkit-sticky;position:sticky;top:56px}.rs-drawer-form-container .anchor-item{min-width:120px;padding:4px 12px;border-left:1px solid #eaedf0;cursor:pointer;color:#44566c;font-family:Arial;font-size:11px;font-style:normal;font-weight:400;line-height:16px;position:relative}.rs-drawer-form-container .anchor-item::before{content:attr(data-content);color:#44566c;font-weight:400;position:absolute;left:12px}.rs-drawer-form-container .anchor-item::after{content:attr(data-content);visibility:hidden;color:#1364b3;font-weight:700}.rs-drawer-form-container .anchor-item[data-active=yes]{border-color:#1f7bff}.rs-drawer-form-container .anchor-item[data-active=yes]::before{visibility:hidden}.rs-drawer-form-container .anchor-item[data-active=yes]::after{visibility:visible}.rs-drawer-tooltip.e-tooltip-wrap{border:none;background-color:#44566c}.rs-drawer-tooltip.e-tooltip-wrap .e-arrow-tip{height:4px;visibility:hidden}"]
22170
22206
  }] }
22171
22207
  ];
22172
22208
  /** @nocollapse */