ngx-render-material-forms 2.5.11 → 2.5.13
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/esm2022/lib/FormioControl.mjs +36 -0
- package/esm2022/lib/components/Base.mjs +32 -0
- package/esm2022/lib/components/MaterialComponent.mjs +148 -0
- package/esm2022/lib/components/MaterialNestedComponent.mjs +38 -0
- package/esm2022/lib/components/Webform.mjs +18 -0
- package/{esm2020 → esm2022}/lib/components/add-on-products/add-on-products.component.mjs +841 -842
- package/esm2022/lib/components/button/button.component.mjs +101 -0
- package/esm2022/lib/components/calendar/calendar.component.mjs +127 -0
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +53 -0
- package/esm2022/lib/components/columns/columns.component.mjs +58 -0
- package/esm2022/lib/components/common.service.mjs +255 -0
- package/esm2022/lib/components/confirmation-dialog/confirmation-dialog.component.mjs +24 -0
- package/esm2022/lib/components/container/container.component.mjs +24 -0
- package/{esm2020 → esm2022}/lib/components/content/content.component.mjs +18 -18
- package/esm2022/lib/components/currency/currency.component.mjs +41 -0
- package/esm2022/lib/components/datagrid/datagrid.component.mjs +693 -0
- package/esm2022/lib/components/date/date.component.mjs +336 -0
- package/{esm2020 → esm2022}/lib/components/day/day.component.mjs +75 -75
- package/esm2022/lib/components/editgrid/editgrid.component.mjs +243 -0
- package/esm2022/lib/components/email/email.component.mjs +28 -0
- package/esm2022/lib/components/fieldset/fieldset.component.mjs +49 -0
- package/esm2022/lib/components/formio-form-field/formio-form-field.component.mjs +56 -0
- package/esm2022/lib/components/formio.wizard.mjs +88 -0
- package/{esm2020 → esm2022}/lib/components/hidden/hidden.component.mjs +20 -20
- package/esm2022/lib/components/html/html.component.mjs +29 -0
- package/esm2022/lib/components/index.mjs +125 -0
- package/{esm2020 → esm2022}/lib/components/label/label.component.mjs +17 -17
- package/esm2022/lib/components/number/number.component.mjs +65 -0
- package/esm2022/lib/components/panel/panel.component.mjs +56 -0
- package/esm2022/lib/components/password/password.component.mjs +28 -0
- package/esm2022/lib/components/phonenumber/phonenumber.component.mjs +28 -0
- package/esm2022/lib/components/radio/radio.component.mjs +93 -0
- package/esm2022/lib/components/select/select.component.mjs +592 -0
- package/esm2022/lib/components/selectboxes/selectboxes.component.mjs +99 -0
- package/esm2022/lib/components/signature/signature.component.mjs +99 -0
- package/esm2022/lib/components/survey/survey.component.mjs +166 -0
- package/esm2022/lib/components/table/table.component.mjs +96 -0
- package/esm2022/lib/components/tabs/tabs.component.mjs +42 -0
- package/esm2022/lib/components/tags/tags.component.mjs +114 -0
- package/esm2022/lib/components/textarea/textarea.component.mjs +94 -0
- package/esm2022/lib/components/textfield/textfield.component.mjs +122 -0
- package/esm2022/lib/components/time/time.component.mjs +205 -0
- package/esm2022/lib/components/url/url.component.mjs +28 -0
- package/esm2022/lib/components/well/well.component.mjs +41 -0
- package/{esm2020 → esm2022}/lib/const/ButtonsThemes.mjs +16 -16
- package/{esm2020 → esm2022}/lib/const/LabelPositions.mjs +9 -9
- package/esm2022/lib/directives/mask.directive.mjs +65 -0
- package/esm2022/lib/formio.component.mjs +77 -0
- package/{esm2020 → esm2022}/lib/ngx-render-material-forms.component.mjs +15 -15
- package/esm2022/lib/ngx-render-material-forms.module.mjs +324 -0
- package/{esm2020 → esm2022}/lib/ngx-render-material-forms.service.mjs +14 -14
- package/{esm2020 → esm2022}/lib/renderer.mjs +12 -12
- package/{esm2020 → esm2022}/ngx-render-material-forms.js +4 -4
- package/{esm2020 → esm2022}/public-api.mjs +6 -6
- package/{fesm2020 → fesm2022}/ngx-render-material-forms.js +4195 -4272
- package/fesm2022/ngx-render-material-forms.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/FormioControl.d.ts +7 -7
- package/lib/components/Base.d.ts +2 -2
- package/lib/components/MaterialComponent.d.ts +30 -30
- package/lib/components/MaterialNestedComponent.d.ts +13 -13
- package/lib/components/Webform.d.ts +1 -1
- package/lib/components/add-on-products/add-on-products.component.d.ts +142 -142
- package/lib/components/button/button.component.d.ts +30 -30
- package/lib/components/calendar/calendar.component.d.ts +34 -34
- package/lib/components/checkbox/checkbox.component.d.ts +9 -9
- package/lib/components/columns/columns.component.d.ts +12 -12
- package/lib/components/common.service.d.ts +86 -86
- package/lib/components/confirmation-dialog/confirmation-dialog.component.d.ts +11 -11
- package/lib/components/container/container.component.d.ts +8 -8
- package/lib/components/content/content.component.d.ts +8 -8
- package/lib/components/currency/currency.component.d.ts +10 -10
- package/lib/components/datagrid/datagrid.component.d.ts +81 -81
- package/lib/components/date/date.component.d.ts +40 -40
- package/lib/components/day/day.component.d.ts +16 -16
- package/lib/components/editgrid/editgrid.component.d.ts +50 -50
- package/lib/components/email/email.component.d.ts +9 -9
- package/lib/components/fieldset/fieldset.component.d.ts +8 -8
- package/lib/components/formio-form-field/formio-form-field.component.d.ts +18 -18
- package/lib/components/formio.wizard.d.ts +19 -19
- package/lib/components/hidden/hidden.component.d.ts +8 -8
- package/lib/components/html/html.component.d.ts +11 -11
- package/lib/components/index.d.ts +2 -2
- package/lib/components/label/label.component.d.ts +6 -6
- package/lib/components/number/number.component.d.ts +18 -18
- package/lib/components/panel/panel.component.d.ts +8 -8
- package/lib/components/password/password.component.d.ts +9 -9
- package/lib/components/phonenumber/phonenumber.component.d.ts +9 -9
- package/lib/components/radio/radio.component.d.ts +12 -12
- package/lib/components/select/select.component.d.ts +77 -77
- package/lib/components/selectboxes/selectboxes.component.d.ts +15 -15
- package/lib/components/signature/signature.component.d.ts +12 -12
- package/lib/components/survey/survey.component.d.ts +14 -14
- package/lib/components/table/table.component.d.ts +12 -12
- package/lib/components/tabs/tabs.component.d.ts +9 -9
- package/lib/components/tags/tags.component.d.ts +15 -15
- package/lib/components/textarea/textarea.component.d.ts +13 -13
- package/lib/components/textfield/textfield.component.d.ts +18 -18
- package/lib/components/time/time.component.d.ts +27 -27
- package/lib/components/url/url.component.d.ts +9 -9
- package/lib/components/well/well.component.d.ts +8 -8
- package/lib/const/ButtonsThemes.d.ts +14 -14
- package/lib/const/LabelPositions.d.ts +8 -8
- package/lib/directives/mask.directive.d.ts +17 -17
- package/lib/formio.component.d.ts +15 -15
- package/lib/ngx-render-material-forms.component.d.ts +8 -8
- package/lib/ngx-render-material-forms.module.d.ts +110 -112
- package/lib/ngx-render-material-forms.service.d.ts +6 -6
- package/lib/renderer.d.ts +8 -8
- package/package.json +5 -11
- package/public-api.d.ts +3 -3
- package/esm2020/lib/FormioControl.mjs +0 -36
- package/esm2020/lib/components/Base.mjs +0 -32
- package/esm2020/lib/components/MaterialComponent.mjs +0 -148
- package/esm2020/lib/components/MaterialNestedComponent.mjs +0 -38
- package/esm2020/lib/components/Webform.mjs +0 -18
- package/esm2020/lib/components/button/button.component.mjs +0 -102
- package/esm2020/lib/components/calendar/calendar.component.mjs +0 -129
- package/esm2020/lib/components/checkbox/checkbox.component.mjs +0 -54
- package/esm2020/lib/components/columns/columns.component.mjs +0 -69
- package/esm2020/lib/components/common.service.mjs +0 -256
- package/esm2020/lib/components/confirmation-dialog/confirmation-dialog.component.mjs +0 -25
- package/esm2020/lib/components/container/container.component.mjs +0 -25
- package/esm2020/lib/components/currency/currency.component.mjs +0 -43
- package/esm2020/lib/components/datagrid/datagrid.component.mjs +0 -694
- package/esm2020/lib/components/date/date.component.mjs +0 -337
- package/esm2020/lib/components/editgrid/editgrid.component.mjs +0 -243
- package/esm2020/lib/components/email/email.component.mjs +0 -30
- package/esm2020/lib/components/fieldset/fieldset.component.mjs +0 -50
- package/esm2020/lib/components/formio-form-field/formio-form-field.component.mjs +0 -57
- package/esm2020/lib/components/formio.wizard.mjs +0 -88
- package/esm2020/lib/components/html/html.component.mjs +0 -29
- package/esm2020/lib/components/index.mjs +0 -125
- package/esm2020/lib/components/number/number.component.mjs +0 -67
- package/esm2020/lib/components/panel/panel.component.mjs +0 -57
- package/esm2020/lib/components/password/password.component.mjs +0 -30
- package/esm2020/lib/components/phonenumber/phonenumber.component.mjs +0 -30
- package/esm2020/lib/components/radio/radio.component.mjs +0 -96
- package/esm2020/lib/components/select/select.component.mjs +0 -593
- package/esm2020/lib/components/selectboxes/selectboxes.component.mjs +0 -102
- package/esm2020/lib/components/signature/signature.component.mjs +0 -103
- package/esm2020/lib/components/survey/survey.component.mjs +0 -167
- package/esm2020/lib/components/table/table.component.mjs +0 -97
- package/esm2020/lib/components/tabs/tabs.component.mjs +0 -43
- package/esm2020/lib/components/tags/tags.component.mjs +0 -115
- package/esm2020/lib/components/textarea/textarea.component.mjs +0 -98
- package/esm2020/lib/components/textfield/textfield.component.mjs +0 -124
- package/esm2020/lib/components/time/time.component.mjs +0 -206
- package/esm2020/lib/components/url/url.component.mjs +0 -30
- package/esm2020/lib/components/well/well.component.mjs +0 -43
- package/esm2020/lib/directives/mask.directive.mjs +0 -65
- package/esm2020/lib/formio.component.mjs +0 -80
- package/esm2020/lib/ngx-render-material-forms.module.mjs +0 -378
- package/fesm2015/ngx-render-material-forms.js +0 -5850
- package/fesm2015/ngx-render-material-forms.mjs.map +0 -1
- package/fesm2020/ngx-render-material-forms.mjs.map +0 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { MaterialTextfieldComponent, TEXTFIELD_TEMPLATE } from '../textfield/textfield.component';
|
|
3
|
+
import UrlComponent from 'formiojs/components/url/Url.js';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i2 from "@angular/forms";
|
|
7
|
+
import * as i3 from "@angular/material/input";
|
|
8
|
+
import * as i4 from "@angular/material/form-field";
|
|
9
|
+
import * as i5 from "../formio-form-field/formio-form-field.component";
|
|
10
|
+
import * as i6 from "../label/label.component";
|
|
11
|
+
export class MaterialUrlComponent extends MaterialTextfieldComponent {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments);
|
|
14
|
+
this.inputType = 'url';
|
|
15
|
+
}
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MaterialUrlComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
17
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: MaterialUrlComponent, selector: "mat-formio-url", usesInheritance: true, ngImport: i0, template: "\n <mat-formio-form-field [instance]=\"instance\" [componentTemplate]=\"componentTemplate\"></mat-formio-form-field>\n <ng-template #componentTemplate let-hasLabel>\n <mat-form-field [appearance]=\"getFormFieldAppearance()\" fxFill>\n\n <mat-label *ngIf=\"hasLabel\">\n <span [instance]=\"instance\" matFormioLabel></span>\n </mat-label>\n\n <span *ngIf=\"instance.component.prefix && instance.type !== 'currency'\"\n matPrefix\n >\n {{ instance.component.prefix }} \n </span>\n <input matInput\n type=\"{{ inputType }}\"\n [formControl]=\"control\"\n [placeholder]=\"instance.component.placeholder\"\n (input)=\"onChange()\" #input\n [ngClass]=\"{ 'show-invalid': inputType=='email' }\"\n >\n <span *ngIf=\"instance.component.suffix\" matSuffix>{{ instance.component.suffix }}</span>\n\n <mat-hint *ngIf=\"instance.component.showWordCount || instance.component.showCharCount\">\n {{ getHint() }}\n </mat-hint>\n\n <br/>\n <mat-error *ngIf=\"isError()\" >{{ getErrorMessage() }}</mat-error>\n </mat-form-field>\n </ng-template>\n", isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i4.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i4.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "component", type: i5.FormioFormFieldComponent, selector: "mat-formio-form-field", inputs: ["labelTemplate", "renderTopLabel", "showDescription", "renderElementOnly", "instance", "componentTemplate"] }, { kind: "component", type: i6.LabelComponent, selector: "span[matFormioLabel]", inputs: ["instance"] }] }); }
|
|
18
|
+
}
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MaterialUrlComponent, decorators: [{
|
|
20
|
+
type: Component,
|
|
21
|
+
args: [{
|
|
22
|
+
selector: 'mat-formio-url',
|
|
23
|
+
template: TEXTFIELD_TEMPLATE
|
|
24
|
+
}]
|
|
25
|
+
}] });
|
|
26
|
+
UrlComponent.MaterialComponent = MaterialUrlComponent;
|
|
27
|
+
export { UrlComponent };
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXJsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4u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SUVMRF9URU1QTEFURVxyXG59KVxyXG5leHBvcnQgY2xhc3MgTWF0ZXJpYWxVcmxDb21wb25lbnQgZXh0ZW5kcyBNYXRlcmlhbFRleHRmaWVsZENvbXBvbmVudCB7XHJcbiAgcHVibGljIGlucHV0VHlwZSA9ICd1cmwnO1xyXG59XHJcblVybENvbXBvbmVudC5NYXRlcmlhbENvbXBvbmVudCA9IE1hdGVyaWFsVXJsQ29tcG9uZW50O1xyXG5leHBvcnQgeyBVcmxDb21wb25lbnQgfTtcclxuIl19
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import WellComponent from 'formiojs/components/well/Well.js';
|
|
3
|
+
import { MaterialNestedComponent } from '../MaterialNestedComponent';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i2 from "@angular/material/card";
|
|
7
|
+
export class MaterialWellComponent extends MaterialNestedComponent {
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MaterialWellComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
9
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: MaterialWellComponent, selector: "mat-formio-well", usesInheritance: true, ngImport: i0, template: `
|
|
10
|
+
<mat-card appearance="outlined">
|
|
11
|
+
<mat-card-content
|
|
12
|
+
style="display:flex; flex-direction:column; gap:1em;"
|
|
13
|
+
[ngStyle]="{
|
|
14
|
+
'background-color':'#f5f5f5',
|
|
15
|
+
'padding': '1.5em'
|
|
16
|
+
}"
|
|
17
|
+
>
|
|
18
|
+
<ng-template #components></ng-template>
|
|
19
|
+
</mat-card-content>
|
|
20
|
+
</mat-card>
|
|
21
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i2.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i2.MatCardContent, selector: "mat-card-content" }] }); }
|
|
22
|
+
}
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MaterialWellComponent, decorators: [{
|
|
24
|
+
type: Component,
|
|
25
|
+
args: [{ selector: 'mat-formio-well', template: `
|
|
26
|
+
<mat-card appearance="outlined">
|
|
27
|
+
<mat-card-content
|
|
28
|
+
style="display:flex; flex-direction:column; gap:1em;"
|
|
29
|
+
[ngStyle]="{
|
|
30
|
+
'background-color':'#f5f5f5',
|
|
31
|
+
'padding': '1.5em'
|
|
32
|
+
}"
|
|
33
|
+
>
|
|
34
|
+
<ng-template #components></ng-template>
|
|
35
|
+
</mat-card-content>
|
|
36
|
+
</mat-card>
|
|
37
|
+
` }]
|
|
38
|
+
}] });
|
|
39
|
+
WellComponent.MaterialComponent = MaterialWellComponent;
|
|
40
|
+
export { WellComponent };
|
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2VsbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtcmVuZGVyLW1hdGVyaWFsLWZvcm1zL3NyYy9saWIvY29tcG9uZW50cy93ZWxsL3dlbGwuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDMUMsT0FBTyxhQUFhLE1BQU0sa0NBQWtDLENBQUM7QUFDN0QsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sNEJBQTRCLENBQUM7Ozs7QUFrQnJFLE1BQU0sT0FBTyxxQkFBc0IsU0FBUSx1QkFBdUI7K0dBQXJELHFCQUFxQjttR0FBckIsc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4gIHN0eWxlczogW11cclxufSlcclxuZXhwb3J0IGNsYXNzIE1hdGVyaWFsV2VsbENvbXBvbmVudCBleHRlbmRzIE1hdGVyaWFsTmVzdGVkQ29tcG9uZW50IHt9XHJcbldlbGxDb21wb25lbnQuTWF0ZXJpYWxDb21wb25lbnQgPSBNYXRlcmlhbFdlbGxDb21wb25lbnQ7XHJcbmV4cG9ydCB7IFdlbGxDb21wb25lbnQgfTtcclxuIl19
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export var ButtonsThemes;
|
|
2
|
-
(function (ButtonsThemes) {
|
|
3
|
-
ButtonsThemes["PRIMARY"] = "primary";
|
|
4
|
-
ButtonsThemes["SECONDARY"] = "secondary";
|
|
5
|
-
ButtonsThemes["INFO"] = "info";
|
|
6
|
-
ButtonsThemes["WARNING"] = "warning";
|
|
7
|
-
ButtonsThemes["DANGER"] = "danger";
|
|
8
|
-
ButtonsThemes["SUCCESS"] = "success";
|
|
9
|
-
})(ButtonsThemes || (ButtonsThemes = {}));
|
|
10
|
-
export var AngularButtonsThemes;
|
|
11
|
-
(function (AngularButtonsThemes) {
|
|
12
|
-
AngularButtonsThemes["WARN"] = "warn";
|
|
13
|
-
AngularButtonsThemes["PRIMARY"] = "primary";
|
|
14
|
-
AngularButtonsThemes["BASIC"] = "basic";
|
|
15
|
-
AngularButtonsThemes["ACCENT"] = "accent";
|
|
16
|
-
})(AngularButtonsThemes || (AngularButtonsThemes = {}));
|
|
1
|
+
export var ButtonsThemes;
|
|
2
|
+
(function (ButtonsThemes) {
|
|
3
|
+
ButtonsThemes["PRIMARY"] = "primary";
|
|
4
|
+
ButtonsThemes["SECONDARY"] = "secondary";
|
|
5
|
+
ButtonsThemes["INFO"] = "info";
|
|
6
|
+
ButtonsThemes["WARNING"] = "warning";
|
|
7
|
+
ButtonsThemes["DANGER"] = "danger";
|
|
8
|
+
ButtonsThemes["SUCCESS"] = "success";
|
|
9
|
+
})(ButtonsThemes || (ButtonsThemes = {}));
|
|
10
|
+
export var AngularButtonsThemes;
|
|
11
|
+
(function (AngularButtonsThemes) {
|
|
12
|
+
AngularButtonsThemes["WARN"] = "warn";
|
|
13
|
+
AngularButtonsThemes["PRIMARY"] = "primary";
|
|
14
|
+
AngularButtonsThemes["BASIC"] = "basic";
|
|
15
|
+
AngularButtonsThemes["ACCENT"] = "accent";
|
|
16
|
+
})(AngularButtonsThemes || (AngularButtonsThemes = {}));
|
|
17
17
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQnV0dG9uc1RoZW1lcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1yZW5kZXItbWF0ZXJpYWwtZm9ybXMvc3JjL2xpYi9jb25zdC9CdXR0b25zVGhlbWVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLGFBT1g7QUFQRCxXQUFZLGFBQWE7SUFDdkIsb0NBQW1CLENBQUE7SUFDbkIsd0NBQXVCLENBQUE7SUFDdkIsOEJBQWEsQ0FBQTtJQUNiLG9DQUFtQixDQUFBO0lBQ25CLGtDQUFpQixDQUFBO0lBQ2pCLG9DQUFtQixDQUFBO0FBQ3JCLENBQUMsRUFQVyxhQUFhLEtBQWIsYUFBYSxRQU94QjtBQUVELE1BQU0sQ0FBTixJQUFZLG9CQUtYO0FBTEQsV0FBWSxvQkFBb0I7SUFDOUIscUNBQWEsQ0FBQTtJQUNiLDJDQUFtQixDQUFBO0lBQ25CLHVDQUFlLENBQUE7SUFDZix5Q0FBaUIsQ0FBQTtBQUNuQixDQUFDLEVBTFcsb0JBQW9CLEtBQXBCLG9CQUFvQixRQUsvQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIEJ1dHRvbnNUaGVtZXMge1xyXG4gIFBSSU1BUlkgPSAncHJpbWFyeScsXHJcbiAgU0VDT05EQVJZID0gJ3NlY29uZGFyeScsXHJcbiAgSU5GTyA9ICdpbmZvJyxcclxuICBXQVJOSU5HID0gJ3dhcm5pbmcnLFxyXG4gIERBTkdFUiA9ICdkYW5nZXInLFxyXG4gIFNVQ0NFU1MgPSAnc3VjY2VzcydcclxufVxyXG5cclxuZXhwb3J0IGVudW0gQW5ndWxhckJ1dHRvbnNUaGVtZXMge1xyXG4gIFdBUk4gPSAnd2FybicsXHJcbiAgUFJJTUFSWSA9ICdwcmltYXJ5JyxcclxuICBCQVNJQyA9ICdiYXNpYycsXHJcbiAgQUNDRU5UID0gJ2FjY2VudCdcclxufVxyXG4iXX0=
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export var LabelPositions;
|
|
2
|
-
(function (LabelPositions) {
|
|
3
|
-
LabelPositions["RIGHT_RIGHT"] = "right-right";
|
|
4
|
-
LabelPositions["RIGHT_LEFT"] = "right-left";
|
|
5
|
-
LabelPositions["LEFT_LEFT"] = "left-left";
|
|
6
|
-
LabelPositions["LEFT_RIGHT"] = "left-right";
|
|
7
|
-
LabelPositions["BOTTOM"] = "bottom";
|
|
8
|
-
LabelPositions["TOP"] = "top";
|
|
9
|
-
})(LabelPositions || (LabelPositions = {}));
|
|
1
|
+
export var LabelPositions;
|
|
2
|
+
(function (LabelPositions) {
|
|
3
|
+
LabelPositions["RIGHT_RIGHT"] = "right-right";
|
|
4
|
+
LabelPositions["RIGHT_LEFT"] = "right-left";
|
|
5
|
+
LabelPositions["LEFT_LEFT"] = "left-left";
|
|
6
|
+
LabelPositions["LEFT_RIGHT"] = "left-right";
|
|
7
|
+
LabelPositions["BOTTOM"] = "bottom";
|
|
8
|
+
LabelPositions["TOP"] = "top";
|
|
9
|
+
})(LabelPositions || (LabelPositions = {}));
|
|
10
10
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTGFiZWxQb3NpdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtcmVuZGVyLW1hdGVyaWFsLWZvcm1zL3NyYy9saWIvY29uc3QvTGFiZWxQb3NpdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksY0FPWDtBQVBELFdBQVksY0FBYztJQUN4Qiw2Q0FBMkIsQ0FBQTtJQUMzQiwyQ0FBeUIsQ0FBQTtJQUN6Qix5Q0FBdUIsQ0FBQTtJQUN2QiwyQ0FBeUIsQ0FBQTtJQUN6QixtQ0FBaUIsQ0FBQTtJQUNqQiw2QkFBVyxDQUFBO0FBQ2IsQ0FBQyxFQVBXLGNBQWMsS0FBZCxjQUFjLFFBT3pCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gTGFiZWxQb3NpdGlvbnMge1xyXG4gIFJJR0hUX1JJR0hUID0gJ3JpZ2h0LXJpZ2h0JyxcclxuICBSSUdIVF9MRUZUID0gJ3JpZ2h0LWxlZnQnLFxyXG4gIExFRlRfTEVGVCA9ICdsZWZ0LWxlZnQnLFxyXG4gIExFRlRfUklHSFQgPSAnbGVmdC1yaWdodCcsXHJcbiAgQk9UVE9NID0gJ2JvdHRvbScsXHJcbiAgVE9QID0gJ3RvcCcsXHJcbn1cclxuIl19
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { Directive, forwardRef, Input } from '@angular/core';
|
|
2
|
+
import { MAT_INPUT_VALUE_ACCESSOR } from '@angular/material/input';
|
|
3
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class MaskDirective {
|
|
6
|
+
constructor(elementRef) {
|
|
7
|
+
this.elementRef = elementRef;
|
|
8
|
+
}
|
|
9
|
+
get value() {
|
|
10
|
+
return this._value;
|
|
11
|
+
}
|
|
12
|
+
set value(value) {
|
|
13
|
+
this._value = value;
|
|
14
|
+
this.formatValue(value);
|
|
15
|
+
}
|
|
16
|
+
formatValue(value) {
|
|
17
|
+
if (value !== null) {
|
|
18
|
+
this.elementRef.nativeElement.value = this.format(value);
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
this.elementRef.nativeElement.value = '';
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
_onChange(value) {
|
|
25
|
+
}
|
|
26
|
+
writeValue(value) {
|
|
27
|
+
this._value = value;
|
|
28
|
+
this.formatValue(this._value); // format Value
|
|
29
|
+
}
|
|
30
|
+
registerOnChange(fn) {
|
|
31
|
+
this._onChange = fn;
|
|
32
|
+
}
|
|
33
|
+
registerOnTouched() {
|
|
34
|
+
}
|
|
35
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MaskDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
36
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: MaskDirective, selector: "input[matMask]", inputs: { format: ["matMask", "format"], value: "value" }, providers: [
|
|
37
|
+
{ provide: MAT_INPUT_VALUE_ACCESSOR, useExisting: MaskDirective },
|
|
38
|
+
{
|
|
39
|
+
provide: NG_VALUE_ACCESSOR,
|
|
40
|
+
useExisting: forwardRef(() => MaskDirective),
|
|
41
|
+
multi: true,
|
|
42
|
+
}
|
|
43
|
+
], ngImport: i0 }); }
|
|
44
|
+
}
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MaskDirective, decorators: [{
|
|
46
|
+
type: Directive,
|
|
47
|
+
args: [{
|
|
48
|
+
selector: 'input[matMask]',
|
|
49
|
+
providers: [
|
|
50
|
+
{ provide: MAT_INPUT_VALUE_ACCESSOR, useExisting: MaskDirective },
|
|
51
|
+
{
|
|
52
|
+
provide: NG_VALUE_ACCESSOR,
|
|
53
|
+
useExisting: forwardRef(() => MaskDirective),
|
|
54
|
+
multi: true,
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
}]
|
|
58
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { format: [{
|
|
59
|
+
type: Input,
|
|
60
|
+
args: ['matMask']
|
|
61
|
+
}], value: [{
|
|
62
|
+
type: Input,
|
|
63
|
+
args: ['value']
|
|
64
|
+
}] } });
|
|
65
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFzay5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtcmVuZGVyLW1hdGVyaWFsLWZvcm1zL3NyYy9saWIvZGlyZWN0aXZlcy9tYXNrLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFjLFVBQVUsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekUsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDbkUsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7O0FBYW5ELE1BQU0sT0FBTyxhQUFhO0lBSXhCLFlBQW9CLFVBQXdDO1FBQXhDLGVBQVUsR0FBVixVQUFVLENBQThCO0lBQUcsQ0FBQztJQUdoRSxJQUFJLEtBQUs7UUFDUCxPQUFPLElBQUksQ0FBQyxNQUFNLENBQUM7SUFDckIsQ0FBQztJQUVELElBQ0ksS0FBSyxDQUFDLEtBQW9CO1FBQzVCLElBQUksQ0FBQyxNQUFNLEdBQUcsS0FBSyxDQUFDO1FBQ3BCLElBQUksQ0FBQyxXQUFXLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDMUIsQ0FBQztJQUVPLFdBQVcsQ0FBQyxLQUFvQjtRQUN0QyxJQUFJL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2lzdGVyT25Ub3VjaGVkKCkge1xyXG4gIH1cclxufVxyXG4iXX0=
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { Component, ViewContainerRef, ViewChild, Input } from '@angular/core';
|
|
2
|
+
import { FormioBaseComponent } from '@formio/angular';
|
|
3
|
+
import { Form } from './renderer';
|
|
4
|
+
import { get } from 'lodash';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
import * as i2 from "@angular/material/progress-spinner";
|
|
8
|
+
export class FormioComponent extends FormioBaseComponent {
|
|
9
|
+
constructor(resolver, cd, ngZone) {
|
|
10
|
+
super(ngZone, null);
|
|
11
|
+
this.resolver = resolver;
|
|
12
|
+
this.cd = cd;
|
|
13
|
+
this.ngZone = ngZone;
|
|
14
|
+
}
|
|
15
|
+
getRendererOptions() {
|
|
16
|
+
const rendererOptions = super.getRendererOptions();
|
|
17
|
+
return { ...rendererOptions, validateOnInit: get(rendererOptions, 'validateOnInit', true) };
|
|
18
|
+
}
|
|
19
|
+
createRenderer() {
|
|
20
|
+
const options = this.getRendererOptions();
|
|
21
|
+
const flags = {
|
|
22
|
+
validateOnInit: options.validateOnInit
|
|
23
|
+
};
|
|
24
|
+
options.viewResolver = this.resolver;
|
|
25
|
+
const form = new Form();
|
|
26
|
+
form._form = this.form;
|
|
27
|
+
form.options = options;
|
|
28
|
+
form.options.events = form.events;
|
|
29
|
+
form.instance = form.create(this.form.display);
|
|
30
|
+
form.instance.viewContainer = () => this.formioViewContainer;
|
|
31
|
+
if (this.submission && this.submission.data) {
|
|
32
|
+
form.instance.data = this.submission.data;
|
|
33
|
+
}
|
|
34
|
+
this.ngZone.run(() => form.instance.setForm(this.form, flags)
|
|
35
|
+
.then(() => form.readyResolve(form.instance))
|
|
36
|
+
.catch(() => form.readyReject()));
|
|
37
|
+
return form.instance;
|
|
38
|
+
}
|
|
39
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormioComponent, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
40
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: FormioComponent, selector: "mat-formio", inputs: { form: "form" }, viewQueries: [{ propertyName: "formioViewContainer", first: true, predicate: ["formio"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
41
|
+
<mat-spinner *ngIf="isLoading"></mat-spinner>
|
|
42
|
+
<div *ngIf="!this.options?.disableAlerts">
|
|
43
|
+
<div *ngFor="let alert of alerts.alerts"
|
|
44
|
+
class="alert alert-{{ alert.type }}"
|
|
45
|
+
role="alert"
|
|
46
|
+
>
|
|
47
|
+
{{ alert.message }}
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
<div style="display:flex; flex-direction:column; gap:1em;">
|
|
51
|
+
<ng-template #formio></ng-template>
|
|
52
|
+
</div>
|
|
53
|
+
`, isInline: true, styles: [".alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert-success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:.5rem;border:1px solid transparent;border-radius:.25rem}::ng-deep mat-card{box-sizing:border-box;-moz-box-sizing:border-box}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }] }); }
|
|
54
|
+
}
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormioComponent, decorators: [{
|
|
56
|
+
type: Component,
|
|
57
|
+
args: [{ selector: 'mat-formio', template: `
|
|
58
|
+
<mat-spinner *ngIf="isLoading"></mat-spinner>
|
|
59
|
+
<div *ngIf="!this.options?.disableAlerts">
|
|
60
|
+
<div *ngFor="let alert of alerts.alerts"
|
|
61
|
+
class="alert alert-{{ alert.type }}"
|
|
62
|
+
role="alert"
|
|
63
|
+
>
|
|
64
|
+
{{ alert.message }}
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
<div style="display:flex; flex-direction:column; gap:1em;">
|
|
68
|
+
<ng-template #formio></ng-template>
|
|
69
|
+
</div>
|
|
70
|
+
`, styles: [".alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert-success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:.5rem;border:1px solid transparent;border-radius:.25rem}::ng-deep mat-card{box-sizing:border-box;-moz-box-sizing:border-box}\n"] }]
|
|
71
|
+
}], ctorParameters: () => [{ type: i0.ComponentFactoryResolver }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }], propDecorators: { form: [{
|
|
72
|
+
type: Input
|
|
73
|
+
}], formioViewContainer: [{
|
|
74
|
+
type: ViewChild,
|
|
75
|
+
args: ['formio', { static: true, read: ViewContainerRef }]
|
|
76
|
+
}] } });
|
|
77
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWlvLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1yZW5kZXItbWF0ZXJpYWwtZm9ybXMvc3JjL2xpYi9mb3JtaW8uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQXFCLGdC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JcbiAgICBmb3JtLl9mb3JtID0gdGhpcy5mb3JtO1xyXG4gICAgZm9ybS5vcHRpb25zID0gb3B0aW9ucztcclxuICAgIGZvcm0ub3B0aW9ucy5ldmVudHMgPSBmb3JtLmV2ZW50cztcclxuICAgIGZvcm0uaW5zdGFuY2UgPSBmb3JtLmNyZWF0ZSh0aGlzLmZvcm0uZGlzcGxheSk7XHJcbiAgICBmb3JtLmluc3RhbmNlLnZpZXdDb250YWluZXIgPSAoKSA9PiB0aGlzLmZvcm1pb1ZpZXdDb250YWluZXI7XHJcbiAgICBpZiAodGhpcy5zdWJtaXNzaW9uICYmIHRoaXMuc3VibWlzc2lvbi5kYXRhKSB7XHJcbiAgICAgIGZvcm0uaW5zdGFuY2UuZGF0YSA9IHRoaXMuc3VibWlzc2lvbi5kYXRhO1xyXG4gICAgfVxyXG4gICAgdGhpcy5uZ1pvbmUucnVuKCgpID0+IGZvcm0uaW5zdGFuY2Uuc2V0Rm9ybSh0aGlzLmZvcm0sIGZsYWdzKVxyXG4gICAgICAudGhlbigoKSA9PiBmb3JtLnJlYWR5UmVzb2x2ZShmb3JtLmluc3RhbmNlKSlcclxuICAgICAgLmNhdGNoKCgpID0+IGZvcm0ucmVhZHlSZWplY3QoKSlcclxuICAgICk7XHJcbiAgICByZXR1cm4gZm9ybS5pbnN0YW5jZTtcclxuICB9XHJcbn1cclxuIl19
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class NgxRenderMaterialFormsComponent {
|
|
4
|
-
constructor() { }
|
|
5
|
-
ngOnInit() {
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
NgxRenderMaterialFormsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NgxRenderMaterialFormsComponent, selector: "NgxMat-NgxRenderMaterialForms", ngImport: i0, template: `
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class NgxRenderMaterialFormsComponent {
|
|
4
|
+
constructor() { }
|
|
5
|
+
ngOnInit() {
|
|
6
|
+
}
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NgxRenderMaterialFormsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: NgxRenderMaterialFormsComponent, selector: "NgxMat-NgxRenderMaterialForms", ngImport: i0, template: `
|
|
10
9
|
<p>
|
|
11
10
|
ngx-render-material-forms works!
|
|
12
11
|
</p>
|
|
13
|
-
`, isInline: true });
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
`, isInline: true }); }
|
|
13
|
+
}
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NgxRenderMaterialFormsComponent, decorators: [{
|
|
15
|
+
type: Component,
|
|
16
16
|
args: [{ selector: 'NgxMat-NgxRenderMaterialForms', template: `
|
|
17
17
|
<p>
|
|
18
18
|
ngx-render-material-forms works!
|
|
19
19
|
</p>
|
|
20
|
-
` }]
|
|
21
|
-
}], ctorParameters:
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
20
|
+
` }]
|
|
21
|
+
}], ctorParameters: () => [] });
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXJlbmRlci1tYXRlcmlhbC1mb3Jtcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtcmVuZGVyLW1hdGVyaWFsLWZvcm1zL3NyYy9saWIvbmd4LXJlbmRlci1tYXRlcmlhbC1mb3Jtcy5jb21wb25lbnQudH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