ngx-rs-ant 1.3.7 → 1.3.9

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.
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
2
2
  import { Component, Input, HostBinding, EventEmitter, Output, HostListener, ViewContainerRef, ViewChild, Directive, ViewChildren, NgModule, Injectable, ContentChild } from '@angular/core';
3
3
  import { PluginFactory } from 'coast-plugin-register';
4
4
  import * as i1 from '@angular/common';
5
- import { CommonModule } from '@angular/common';
5
+ import { CommonModule, formatDate } from '@angular/common';
6
6
  import { Subject, ReplaySubject, Subscription, map, shareReplay, lastValueFrom, debounceTime, interval } from 'rxjs';
7
7
  import * as i2 from 'devextreme-angular/ui/number-box';
8
8
  import * as i2$1 from 'devextreme-angular/ui/draggable';
@@ -20,10 +20,10 @@ import CustomStore from 'devextreme/data/custom_store';
20
20
  import * as i3 from 'devextreme-angular/core';
21
21
  import * as i5$1 from 'devextreme-angular/ui/data-grid';
22
22
  import * as i5 from 'devextreme-angular/ui/tooltip';
23
- import * as i2$2 from '@angular/platform-browser';
24
- import * as i3$1 from 'devextreme-angular/ui/accordion';
25
23
  import { __awaiter } from 'tslib';
26
24
  import notify from 'devextreme/ui/notify';
25
+ import * as i2$2 from '@angular/platform-browser';
26
+ import * as i3$1 from 'devextreme-angular/ui/accordion';
27
27
  import * as i7 from 'devextreme-angular/ui/validation-group';
28
28
  import * as i4$1 from 'devextreme-angular/ui/text-box';
29
29
  import * as i4$2 from 'devextreme-angular/ui/popover';
@@ -783,7 +783,7 @@ class BoxContainerComponent {
783
783
  }
784
784
  }
785
785
  BoxContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: BoxContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
786
- BoxContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: BoxContainerComponent, selector: "rs-box-container", inputs: { config: "config", model: "model", params: "params", readonly: "readonly", tabViewContainerRef: "tabViewContainerRef" }, viewQueries: [{ propertyName: "boxContainerContent", first: true, predicate: ["boxContainerContent"], descendants: true, read: ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0, template: "<ng-container #boxContainerContent></ng-container>\n", styles: [":host{flex:1;position:relative;display:flex;flex-flow:row nowrap}\n"] });
786
+ BoxContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: BoxContainerComponent, selector: "rs-box-container", inputs: { config: "config", model: "model", opener: "opener", params: "params", readonly: "readonly", tabViewContainerRef: "tabViewContainerRef" }, viewQueries: [{ propertyName: "boxContainerContent", first: true, predicate: ["boxContainerContent"], descendants: true, read: ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0, template: "<ng-container #boxContainerContent></ng-container>\n", styles: [":host{flex:1;position:relative;display:flex;flex-flow:row nowrap}\n"] });
787
787
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: BoxContainerComponent, decorators: [{
788
788
  type: Component,
789
789
  args: [{ selector: 'rs-box-container', template: "<ng-container #boxContainerContent></ng-container>\n", styles: [":host{flex:1;position:relative;display:flex;flex-flow:row nowrap}\n"] }]
@@ -791,6 +791,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
791
791
  type: Input
792
792
  }], model: [{
793
793
  type: Input
794
+ }], opener: [{
795
+ type: Input
794
796
  }], params: [{
795
797
  type: Input
796
798
  }], readonly: [{
@@ -2331,6 +2333,7 @@ class DataGridFactory {
2331
2333
  cssClass: 'cell-vertical-middle',
2332
2334
  allowHeaderFiltering: false,
2333
2335
  allowFiltering: false,
2336
+ allowSorting: false,
2334
2337
  visible: field.visible,
2335
2338
  fixed: field.fixed
2336
2339
  };
@@ -2424,6 +2427,160 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
2424
2427
  }]
2425
2428
  }], ctorParameters: function () { return [{ type: i1$1.HttpClient }]; } });
2426
2429
 
2430
+ function notify_error(message) {
2431
+ notify({
2432
+ displayTime: 12000,
2433
+ message,
2434
+ type: 'error',
2435
+ width: '300px'
2436
+ }, {
2437
+ direction: 'up-push',
2438
+ position: 'bottom right'
2439
+ });
2440
+ }
2441
+ function notify_warning(message) {
2442
+ notify({
2443
+ displayTime: 8000,
2444
+ message,
2445
+ type: 'warning',
2446
+ width: '300px'
2447
+ }, {
2448
+ direction: 'up-push',
2449
+ position: 'bottom right'
2450
+ });
2451
+ }
2452
+ function notify_success(message) {
2453
+ notify({
2454
+ displayTime: 4000,
2455
+ message,
2456
+ type: 'success',
2457
+ width: '300px'
2458
+ }, {
2459
+ direction: 'down-push',
2460
+ position: 'top right'
2461
+ });
2462
+ }
2463
+ function format_date(date, locale) {
2464
+ return formatDate(date, 'yyyy/MM/dd', locale, 'GMT+8');
2465
+ }
2466
+ function format_datetime(date, locale) {
2467
+ return formatDate(date, 'yyyy/MM/dd HH:mm:ss', locale, 'GMT+8');
2468
+ }
2469
+ function file_type_icon(name) {
2470
+ const type = name.substring(name.lastIndexOf('.') + 1).toLocaleLowerCase();
2471
+ switch (type) {
2472
+ case 'xls':
2473
+ case 'xlsx':
2474
+ return 'excel';
2475
+ case 'doc':
2476
+ case 'docx':
2477
+ return 'word';
2478
+ case 'ppt':
2479
+ case 'pptx':
2480
+ return 'ppt';
2481
+ case 'pdf':
2482
+ return 'pdf';
2483
+ case 'txt':
2484
+ case 'csv':
2485
+ case 'xml':
2486
+ case 'json':
2487
+ case 'js':
2488
+ return 'text';
2489
+ case 'jpg':
2490
+ case 'jpeg':
2491
+ case 'png':
2492
+ case 'gif':
2493
+ return 'image';
2494
+ case 'zip':
2495
+ case 'rar':
2496
+ case '7z':
2497
+ case 'jar':
2498
+ return 'zip';
2499
+ default:
2500
+ return 'unknown';
2501
+ }
2502
+ }
2503
+ function format_file_size(size) {
2504
+ const labels = ['b', 'Kb', 'Mb', 'Gb'];
2505
+ const count = labels.length - 1;
2506
+ let i = 0;
2507
+ while (i < count && size >= 1024) {
2508
+ size /= 1024;
2509
+ i++;
2510
+ }
2511
+ return Math.round(size * 100) / 100 + " " + labels[i];
2512
+ }
2513
+ function validate(validator) {
2514
+ return __awaiter(this, void 0, void 0, function* () {
2515
+ return new Promise(resolve => {
2516
+ var _a;
2517
+ const validateResult = validator.instance.validate();
2518
+ if (!validateResult.isValid) {
2519
+ resolve(false);
2520
+ }
2521
+ if (validateResult.status === 'pending') {
2522
+ (_a = validateResult.complete) === null || _a === void 0 ? void 0 : _a.then((result) => {
2523
+ if (result.isValid) {
2524
+ resolve(true);
2525
+ }
2526
+ else {
2527
+ resolve(false);
2528
+ }
2529
+ });
2530
+ }
2531
+ else {
2532
+ resolve(true);
2533
+ }
2534
+ });
2535
+ });
2536
+ }
2537
+ function validate_group(validationGroup) {
2538
+ return __awaiter(this, void 0, void 0, function* () {
2539
+ const top = validationGroup.element.nativeElement;
2540
+ let sourceNode;
2541
+ const targetClassName = 'dx-field';
2542
+ const findTargetNode = (node) => {
2543
+ sourceNode = node;
2544
+ while (true) {
2545
+ if (node.classList.contains(targetClassName)) {
2546
+ return node;
2547
+ }
2548
+ else {
2549
+ node = node.parentElement;
2550
+ if (node === top) {
2551
+ return sourceNode;
2552
+ }
2553
+ }
2554
+ }
2555
+ };
2556
+ return new Promise(resolve => {
2557
+ var _a, _b;
2558
+ const validateResult = validationGroup.instance.validate();
2559
+ if (!validateResult.isValid) {
2560
+ const brokenElement = ((_a = validateResult.brokenRules) === null || _a === void 0 ? void 0 : _a[0]).validator.element();
2561
+ findTargetNode(brokenElement).scrollIntoView();
2562
+ resolve(false);
2563
+ }
2564
+ if (validateResult.status === 'pending') {
2565
+ (_b = validateResult.complete) === null || _b === void 0 ? void 0 : _b.then((result) => {
2566
+ var _a;
2567
+ if (result.isValid) {
2568
+ resolve(true);
2569
+ }
2570
+ else {
2571
+ const brokenElement = ((_a = result.brokenRules) === null || _a === void 0 ? void 0 : _a[0]).validator.element();
2572
+ findTargetNode(brokenElement).scrollIntoView();
2573
+ resolve(false);
2574
+ }
2575
+ });
2576
+ }
2577
+ else {
2578
+ resolve(true);
2579
+ }
2580
+ });
2581
+ });
2582
+ }
2583
+
2427
2584
  class FileCellTemplateComponent {
2428
2585
  constructor(service, domSanitizer) {
2429
2586
  this.service = service;
@@ -2438,11 +2595,11 @@ class FileCellTemplateComponent {
2438
2595
  <table>
2439
2596
  <tr>
2440
2597
  <td style="text-align: right;">名称:</td>
2441
- <td style="text-align: left;">${this.file.fileName}</td>
2598
+ <td style="text-align: left;">${this.filename}</td>
2442
2599
  </tr>
2443
2600
  <tr>
2444
2601
  <td style="text-align: right;">大小:</td>
2445
- <td style="text-align: left;">${this.getFileSize(this.file.fileSize)}</td>
2602
+ <td style="text-align: left;">${format_file_size(this.file.fileSize)}</td>
2446
2603
  </tr>
2447
2604
  <tr>
2448
2605
  <td style="text-align: right;">时间:</td>
@@ -2450,46 +2607,7 @@ class FileCellTemplateComponent {
2450
2607
  </tr>
2451
2608
  </table>
2452
2609
  `);
2453
- const type = this.file.fileName.substring(this.file.fileName.lastIndexOf('.') + 1).toLocaleLowerCase();
2454
- switch (type) {
2455
- case 'xls':
2456
- case 'xlsx':
2457
- this.icon = 'excel';
2458
- break;
2459
- case 'doc':
2460
- case 'docx':
2461
- this.icon = 'word';
2462
- break;
2463
- case 'ppt':
2464
- case 'pptx':
2465
- this.icon = 'ppt';
2466
- break;
2467
- case 'pdf':
2468
- this.icon = 'pdf';
2469
- break;
2470
- case 'txt':
2471
- case 'csv':
2472
- case 'xml':
2473
- case 'json':
2474
- case 'js':
2475
- this.icon = 'text';
2476
- break;
2477
- case 'jpg':
2478
- case 'jpeg':
2479
- case 'png':
2480
- case 'gif':
2481
- this.icon = 'image';
2482
- break;
2483
- case 'zip':
2484
- case 'rar':
2485
- case '7z':
2486
- case 'jar':
2487
- this.icon = 'zip';
2488
- break;
2489
- default:
2490
- this.icon = 'unknown';
2491
- break;
2492
- }
2610
+ this.icon = file_type_icon(this.filename);
2493
2611
  // 重绘表格宽高
2494
2612
  setTimeout(() => {
2495
2613
  //this.table.resize();
@@ -2503,16 +2621,6 @@ class FileCellTemplateComponent {
2503
2621
  this.loading = false;
2504
2622
  });
2505
2623
  }
2506
- getFileSize(size) {
2507
- const labels = ['b', 'Kb', 'Mb', 'Gb'];
2508
- const count = labels.length - 1;
2509
- let i = 0;
2510
- while (i < count && size >= 1024) {
2511
- size /= 1024;
2512
- i++;
2513
- }
2514
- return Math.round(size * 100) / 100 + " " + labels[i];
2515
- }
2516
2624
  }
2517
2625
  FileCellTemplateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: FileCellTemplateComponent, deps: [{ token: DataGridService }, { token: i2$2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
2518
2626
  FileCellTemplateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: FileCellTemplateComponent, selector: "rs-file-cell-template", inputs: { table: "table", oid: "oid" }, ngImport: i0, template: "<dx-button #fileBtn type=\"default\" stylingMode=\"text\">\n <i class=\"coast-icon-file-{{icon}}\" style=\"padding-right: 4px;\"></i>\n {{filename}}\n <dx-tooltip [target]=\"fileBtn.instance.element()\"\n [position]=\"'top'\"\n [visible]=\"false\"\n [showEvent]=\"'click'\">\n <div *dxTemplate=\"let data of 'content'\">\n <div [innerHTML]=\"content\"></div>\n <dx-button type=\"default\" stylingMode=\"text\" icon=\"coast-icon coast-icon-download\" text=\"\u4E0B\u8F7D\"\n (onClick)=\"download()\" [disabled]=\"loading\"></dx-button>\n </div>\n </dx-tooltip>\n</dx-button><br/>\n", styles: [""], dependencies: [{ kind: "directive", type: i3.DxTemplateDirective, selector: "[dxTemplate]", inputs: ["dxTemplateOf"] }, { kind: "component", type: i4.DxButtonComponent, selector: "dx-button", inputs: ["accessKey", "activeStateEnabled", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "icon", "rtlEnabled", "stylingMode", "tabIndex", "template", "text", "type", "useSubmitBehavior", "validationGroup", "visible", "width"], outputs: ["onClick", "onContentReady", "onDisposing", "onInitialized", "onOptionChanged", "accessKeyChange", "activeStateEnabledChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "iconChange", "rtlEnabledChange", "stylingModeChange", "tabIndexChange", "templateChange", "textChange", "typeChange", "useSubmitBehaviorChange", "validationGroupChange", "visibleChange", "widthChange"] }, { kind: "component", type: i5.DxTooltipComponent, selector: "dx-tooltip", inputs: ["animation", "closeOnOutsideClick", "container", "contentTemplate", "copyRootClassesToWrapper", "deferRendering", "disabled", "elementAttr", "height", "hideEvent", "hideOnOutsideClick", "hideOnParentScroll", "hint", "hoverStateEnabled", "maxHeight", "maxWidth", "minHeight", "minWidth", "position", "rtlEnabled", "shading", "shadingColor", "showEvent", "target", "visible", "width", "wrapperAttr"], outputs: ["onContentReady", "onDisposing", "onHidden", "onHiding", "onInitialized", "onOptionChanged", "onShowing", "onShown", "animationChange", "closeOnOutsideClickChange", "containerChange", "contentTemplateChange", "copyRootClassesToWrapperChange", "deferRenderingChange", "disabledChange", "elementAttrChange", "heightChange", "hideEventChange", "hideOnOutsideClickChange", "hideOnParentScrollChange", "hintChange", "hoverStateEnabledChange", "maxHeightChange", "maxWidthChange", "minHeightChange", "minWidthChange", "positionChange", "rtlEnabledChange", "shadingChange", "shadingColorChange", "showEventChange", "targetChange", "visibleChange", "widthChange", "wrapperAttrChange"] }] });
@@ -2842,110 +2950,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
2842
2950
  type: Injectable
2843
2951
  }], ctorParameters: function () { return [{ type: i1$1.HttpClient }]; } });
2844
2952
 
2845
- function notify_error(message) {
2846
- notify({
2847
- displayTime: 12000,
2848
- message,
2849
- type: 'error',
2850
- width: '300px'
2851
- }, {
2852
- direction: 'up-push',
2853
- position: 'bottom right'
2854
- });
2855
- }
2856
- function notify_warning(message) {
2857
- notify({
2858
- displayTime: 8000,
2859
- message,
2860
- type: 'warning',
2861
- width: '300px'
2862
- }, {
2863
- direction: 'up-push',
2864
- position: 'bottom right'
2865
- });
2866
- }
2867
- function notify_success(message) {
2868
- notify({
2869
- displayTime: 4000,
2870
- message,
2871
- type: 'success',
2872
- width: '300px'
2873
- }, {
2874
- direction: 'down-push',
2875
- position: 'top right'
2876
- });
2877
- }
2878
- function validate(validator) {
2879
- return __awaiter(this, void 0, void 0, function* () {
2880
- return new Promise(resolve => {
2881
- var _a;
2882
- const validateResult = validator.instance.validate();
2883
- if (!validateResult.isValid) {
2884
- resolve(false);
2885
- }
2886
- if (validateResult.status === 'pending') {
2887
- (_a = validateResult.complete) === null || _a === void 0 ? void 0 : _a.then((result) => {
2888
- if (result.isValid) {
2889
- resolve(true);
2890
- }
2891
- else {
2892
- resolve(false);
2893
- }
2894
- });
2895
- }
2896
- else {
2897
- resolve(true);
2898
- }
2899
- });
2900
- });
2901
- }
2902
- function validate_group(validationGroup) {
2903
- return __awaiter(this, void 0, void 0, function* () {
2904
- const top = validationGroup.element.nativeElement;
2905
- let sourceNode;
2906
- const targetClassName = 'dx-field';
2907
- const findTargetNode = (node) => {
2908
- sourceNode = node;
2909
- while (true) {
2910
- if (node.classList.contains(targetClassName)) {
2911
- return node;
2912
- }
2913
- else {
2914
- node = node.parentElement;
2915
- if (node === top) {
2916
- return sourceNode;
2917
- }
2918
- }
2919
- }
2920
- };
2921
- return new Promise(resolve => {
2922
- var _a, _b;
2923
- const validateResult = validationGroup.instance.validate();
2924
- if (!validateResult.isValid) {
2925
- const brokenElement = ((_a = validateResult.brokenRules) === null || _a === void 0 ? void 0 : _a[0]).validator.element();
2926
- findTargetNode(brokenElement).scrollIntoView();
2927
- resolve(false);
2928
- }
2929
- if (validateResult.status === 'pending') {
2930
- (_b = validateResult.complete) === null || _b === void 0 ? void 0 : _b.then((result) => {
2931
- var _a;
2932
- if (result.isValid) {
2933
- resolve(true);
2934
- }
2935
- else {
2936
- const brokenElement = ((_a = result.brokenRules) === null || _a === void 0 ? void 0 : _a[0]).validator.element();
2937
- findTargetNode(brokenElement).scrollIntoView();
2938
- resolve(false);
2939
- }
2940
- });
2941
- }
2942
- else {
2943
- resolve(true);
2944
- }
2945
- });
2946
- });
2947
- }
2948
-
2949
2953
  class FormComponent {
2950
2954
  constructor(viewContainerRef, service, elementRef) {
2951
2955
  this.viewContainerRef = viewContainerRef;
@@ -3032,7 +3036,7 @@ class FormComponent {
3032
3036
  }
3033
3037
  }
3034
3038
  FormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: FormComponent, deps: [{ token: i0.ViewContainerRef }, { token: FormService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
3035
- FormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: FormComponent, selector: "rs-form", inputs: { tenant: "tenant", className: "className", oid: "oid", copyOid: "copyOid", template: "template", extraAttrMap: "extraAttrMap", params: "params", tabViewContainerRef: "tabViewContainerRef", onlyFrontEnd: "onlyFrontEnd", model: "model", readonly: "readonly" }, outputs: { submitCallback: "submitCallback" }, providers: [FormService], viewQueries: [{ propertyName: "validator", first: true, predicate: DxValidationGroupComponent, descendants: true }, { propertyName: "formSubmitter", first: true, predicate: ["formSubmitter"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<dx-load-panel [container]=\"viewContainerRef.element.nativeElement\" [showPane]=\"false\"\r\n [visible]=\"loading\">\r\n <dxo-position [of]=\"viewContainerRef.element.nativeElement\"></dxo-position>\r\n</dx-load-panel>\r\n<dx-validation-group *ngIf=\"!loading\">\r\n <rs-box-container [config]=\"config\"\r\n [model]=\"model\"\r\n [params]=\"params\"\r\n [tabViewContainerRef]=\"tabViewContainerRef\"\r\n [readonly]=\"readonly\"></rs-box-container>\r\n <dx-button #formSubmitter [visible]=\"false\" (onClick)=\"submitForm()\"></dx-button>\r\n</dx-validation-group>\r\n", styles: [":host{padding:12px 24px 20px}:host dx-validation-group{display:flex;flex-flow:row nowrap}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: BoxContainerComponent, selector: "rs-box-container", inputs: ["config", "model", "params", "readonly", "tabViewContainerRef"] }, { kind: "component", type: i6$1.DxoPositionComponent, selector: "dxo-position", inputs: ["at", "boundary", "boundaryOffset", "collision", "my", "of", "offset"] }, { kind: "component", type: i4.DxButtonComponent, selector: "dx-button", inputs: ["accessKey", "activeStateEnabled", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "icon", "rtlEnabled", "stylingMode", "tabIndex", "template", "text", "type", "useSubmitBehavior", "validationGroup", "visible", "width"], outputs: ["onClick", "onContentReady", "onDisposing", "onInitialized", "onOptionChanged", "accessKeyChange", "activeStateEnabledChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "iconChange", "rtlEnabledChange", "stylingModeChange", "tabIndexChange", "templateChange", "textChange", "typeChange", "useSubmitBehaviorChange", "validationGroupChange", "visibleChange", "widthChange"] }, { kind: "component", type: i6.DxLoadPanelComponent, selector: "dx-load-panel", inputs: ["animation", "closeOnOutsideClick", "container", "copyRootClassesToWrapper", "deferRendering", "delay", "elementAttr", "focusStateEnabled", "height", "hideOnOutsideClick", "hideOnParentScroll", "hint", "hoverStateEnabled", "indicatorSrc", "maxHeight", "maxWidth", "message", "minHeight", "minWidth", "position", "rtlEnabled", "shading", "shadingColor", "showIndicator", "showPane", "visible", "width", "wrapperAttr"], outputs: ["onContentReady", "onDisposing", "onHidden", "onHiding", "onInitialized", "onOptionChanged", "onShowing", "onShown", "animationChange", "closeOnOutsideClickChange", "containerChange", "copyRootClassesToWrapperChange", "deferRenderingChange", "delayChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hideOnOutsideClickChange", "hideOnParentScrollChange", "hintChange", "hoverStateEnabledChange", "indicatorSrcChange", "maxHeightChange", "maxWidthChange", "messageChange", "minHeightChange", "minWidthChange", "positionChange", "rtlEnabledChange", "shadingChange", "shadingColorChange", "showIndicatorChange", "showPaneChange", "visibleChange", "widthChange", "wrapperAttrChange"] }, { kind: "component", type: i7.DxValidationGroupComponent, selector: "dx-validation-group", inputs: ["elementAttr", "height", "width"], outputs: ["onDisposing", "onInitialized", "onOptionChanged", "elementAttrChange", "heightChange", "widthChange"] }] });
3039
+ FormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: FormComponent, selector: "rs-form", inputs: { tenant: "tenant", className: "className", oid: "oid", copyOid: "copyOid", template: "template", extraAttrMap: "extraAttrMap", params: "params", tabViewContainerRef: "tabViewContainerRef", onlyFrontEnd: "onlyFrontEnd", model: "model", readonly: "readonly" }, outputs: { submitCallback: "submitCallback" }, providers: [FormService], viewQueries: [{ propertyName: "validator", first: true, predicate: DxValidationGroupComponent, descendants: true }, { propertyName: "formSubmitter", first: true, predicate: ["formSubmitter"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<dx-load-panel [container]=\"viewContainerRef.element.nativeElement\" [showPane]=\"false\"\r\n [visible]=\"loading\">\r\n <dxo-position [of]=\"viewContainerRef.element.nativeElement\"></dxo-position>\r\n</dx-load-panel>\r\n<dx-validation-group *ngIf=\"!loading\">\r\n <rs-box-container [config]=\"config\"\r\n [model]=\"model\"\r\n [params]=\"params\"\r\n [tabViewContainerRef]=\"tabViewContainerRef\"\r\n [readonly]=\"readonly\"></rs-box-container>\r\n <dx-button #formSubmitter [visible]=\"false\" (onClick)=\"submitForm()\"></dx-button>\r\n</dx-validation-group>\r\n", styles: [":host{padding:12px 24px 20px}:host dx-validation-group{display:flex;flex-flow:row nowrap}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: BoxContainerComponent, selector: "rs-box-container", inputs: ["config", "model", "opener", "params", "readonly", "tabViewContainerRef"] }, { kind: "component", type: i6$1.DxoPositionComponent, selector: "dxo-position", inputs: ["at", "boundary", "boundaryOffset", "collision", "my", "of", "offset"] }, { kind: "component", type: i4.DxButtonComponent, selector: "dx-button", inputs: ["accessKey", "activeStateEnabled", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "icon", "rtlEnabled", "stylingMode", "tabIndex", "template", "text", "type", "useSubmitBehavior", "validationGroup", "visible", "width"], outputs: ["onClick", "onContentReady", "onDisposing", "onInitialized", "onOptionChanged", "accessKeyChange", "activeStateEnabledChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "iconChange", "rtlEnabledChange", "stylingModeChange", "tabIndexChange", "templateChange", "textChange", "typeChange", "useSubmitBehaviorChange", "validationGroupChange", "visibleChange", "widthChange"] }, { kind: "component", type: i6.DxLoadPanelComponent, selector: "dx-load-panel", inputs: ["animation", "closeOnOutsideClick", "container", "copyRootClassesToWrapper", "deferRendering", "delay", "elementAttr", "focusStateEnabled", "height", "hideOnOutsideClick", "hideOnParentScroll", "hint", "hoverStateEnabled", "indicatorSrc", "maxHeight", "maxWidth", "message", "minHeight", "minWidth", "position", "rtlEnabled", "shading", "shadingColor", "showIndicator", "showPane", "visible", "width", "wrapperAttr"], outputs: ["onContentReady", "onDisposing", "onHidden", "onHiding", "onInitialized", "onOptionChanged", "onShowing", "onShown", "animationChange", "closeOnOutsideClickChange", "containerChange", "copyRootClassesToWrapperChange", "deferRenderingChange", "delayChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hideOnOutsideClickChange", "hideOnParentScrollChange", "hintChange", "hoverStateEnabledChange", "indicatorSrcChange", "maxHeightChange", "maxWidthChange", "messageChange", "minHeightChange", "minWidthChange", "positionChange", "rtlEnabledChange", "shadingChange", "shadingColorChange", "showIndicatorChange", "showPaneChange", "visibleChange", "widthChange", "wrapperAttrChange"] }, { kind: "component", type: i7.DxValidationGroupComponent, selector: "dx-validation-group", inputs: ["elementAttr", "height", "width"], outputs: ["onDisposing", "onInitialized", "onOptionChanged", "elementAttrChange", "heightChange", "widthChange"] }] });
3036
3040
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: FormComponent, decorators: [{
3037
3041
  type: Component,
3038
3042
  args: [{ selector: 'rs-form', providers: [FormService], template: "<dx-load-panel [container]=\"viewContainerRef.element.nativeElement\" [showPane]=\"false\"\r\n [visible]=\"loading\">\r\n <dxo-position [of]=\"viewContainerRef.element.nativeElement\"></dxo-position>\r\n</dx-load-panel>\r\n<dx-validation-group *ngIf=\"!loading\">\r\n <rs-box-container [config]=\"config\"\r\n [model]=\"model\"\r\n [params]=\"params\"\r\n [tabViewContainerRef]=\"tabViewContainerRef\"\r\n [readonly]=\"readonly\"></rs-box-container>\r\n <dx-button #formSubmitter [visible]=\"false\" (onClick)=\"submitForm()\"></dx-button>\r\n</dx-validation-group>\r\n", styles: [":host{padding:12px 24px 20px}:host dx-validation-group{display:flex;flex-flow:row nowrap}\n"] }]
@@ -3729,5 +3733,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
3729
3733
  * Generated bundle index. Do not edit.
3730
3734
  */
3731
3735
 
3732
- export { BoxContainerComponent, BoxContainerModule, CamundaBpmnEditorComponent, CamundaBpmnEditorModule, ChangeFilter, CodeEditorComponent, CodeEditorModule, DataDetailComponent, DataDetailModule, DataGridComponent, DataGridFactory, DataGridModule, DataGridService, DrawerComponent, DrawerModule, DrawerService, DynamicParamsComponent, DynamicParamsModule, FormComponent, FormModule, FormService, IconSelectorComponent, IconSelectorModule, InstanceLinkTemplateDirective, ItemConfigComponent, ItemStyleComponent, MasterDetailTemplateDirective, ModalComponent, ModalModule, ModalService, PluginManager, RowButtonsTemplateDirective, TooltipContentTemplateDirective, WebsocketModule, WebsocketService, notify_error, notify_success, notify_warning, validate, validate_group };
3736
+ export { BoxContainerComponent, BoxContainerModule, CamundaBpmnEditorComponent, CamundaBpmnEditorModule, ChangeFilter, CodeEditorComponent, CodeEditorModule, DataDetailComponent, DataDetailModule, DataGridComponent, DataGridFactory, DataGridModule, DataGridService, DrawerComponent, DrawerModule, DrawerService, DynamicParamsComponent, DynamicParamsModule, FormComponent, FormModule, FormService, IconSelectorComponent, IconSelectorModule, InstanceLinkTemplateDirective, ItemConfigComponent, ItemStyleComponent, MasterDetailTemplateDirective, ModalComponent, ModalModule, ModalService, PluginManager, RowButtonsTemplateDirective, TooltipContentTemplateDirective, WebsocketModule, WebsocketService, file_type_icon, format_date, format_datetime, format_file_size, notify_error, notify_success, notify_warning, validate, validate_group };
3733
3737
  //# sourceMappingURL=ngx-rs-ant.mjs.map