@ngx-formly/bootstrap 6.3.12 → 7.0.0-alpha.1

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.
Files changed (167) hide show
  1. package/README.md +1 -0
  2. package/addons/addons.component.d.ts +1 -1
  3. package/addons/addons.config.d.ts +2 -0
  4. package/addons/public_api.d.ts +1 -0
  5. package/checkbox/checkbox.config.d.ts +2 -0
  6. package/checkbox/checkbox.type.d.ts +1 -1
  7. package/checkbox/public_api.d.ts +1 -0
  8. package/esm2022/addons/addon.extension.mjs +9 -0
  9. package/esm2022/addons/addons.component.mjs +31 -0
  10. package/esm2022/addons/addons.config.mjs +9 -0
  11. package/esm2022/addons/addons.module.mjs +21 -0
  12. package/esm2022/addons/public_api.mjs +3 -0
  13. package/esm2022/checkbox/checkbox.config.mjs +17 -0
  14. package/esm2022/checkbox/checkbox.module.mjs +32 -0
  15. package/{esm2020 → esm2022}/checkbox/checkbox.type.mjs +8 -8
  16. package/esm2022/checkbox/public_api.mjs +4 -0
  17. package/esm2022/form-field/field.type.mjs +25 -0
  18. package/esm2022/form-field/form-field.config.mjs +12 -0
  19. package/esm2022/form-field/form-field.module.mjs +21 -0
  20. package/{esm2020 → esm2022}/form-field/form-field.wrapper.mjs +12 -15
  21. package/esm2022/form-field/public_api.mjs +4 -0
  22. package/esm2022/input/input.config.mjs +32 -0
  23. package/esm2022/input/input.module.mjs +32 -0
  24. package/{esm2020 → esm2022}/input/input.type.mjs +6 -6
  25. package/esm2022/input/public_api.mjs +4 -0
  26. package/esm2022/lib/bootstrap.config.mjs +21 -0
  27. package/esm2022/lib/bootstrap.mjs +3 -0
  28. package/esm2022/lib/bootstrap.module.mjs +45 -0
  29. package/esm2022/multicheckbox/multicheckbox.config.mjs +13 -0
  30. package/esm2022/multicheckbox/multicheckbox.module.mjs +36 -0
  31. package/esm2022/multicheckbox/multicheckbox.type.mjs +99 -0
  32. package/esm2022/multicheckbox/public_api.mjs +4 -0
  33. package/esm2022/radio/public_api.mjs +4 -0
  34. package/esm2022/radio/radio.config.mjs +13 -0
  35. package/esm2022/radio/radio.module.mjs +36 -0
  36. package/esm2022/radio/radio.type.mjs +82 -0
  37. package/esm2022/select/public_api.mjs +4 -0
  38. package/esm2022/select/select.config.mjs +14 -0
  39. package/esm2022/select/select.module.mjs +36 -0
  40. package/esm2022/select/select.type.mjs +144 -0
  41. package/esm2022/textarea/public_api.mjs +4 -0
  42. package/esm2022/textarea/textarea.config.mjs +13 -0
  43. package/esm2022/textarea/textarea.module.mjs +32 -0
  44. package/{esm2020 → esm2022}/textarea/textarea.type.mjs +6 -6
  45. package/fesm2022/ngx-formly-bootstrap-addons.mjs +70 -0
  46. package/fesm2022/ngx-formly-bootstrap-addons.mjs.map +1 -0
  47. package/{fesm2015 → fesm2022}/ngx-formly-bootstrap-checkbox.mjs +37 -47
  48. package/fesm2022/ngx-formly-bootstrap-checkbox.mjs.map +1 -0
  49. package/fesm2022/ngx-formly-bootstrap-form-field.mjs +127 -0
  50. package/fesm2022/ngx-formly-bootstrap-form-field.mjs.map +1 -0
  51. package/fesm2022/ngx-formly-bootstrap-input.mjs +134 -0
  52. package/fesm2022/ngx-formly-bootstrap-input.mjs.map +1 -0
  53. package/{fesm2020 → fesm2022}/ngx-formly-bootstrap-multicheckbox.mjs +35 -41
  54. package/fesm2022/ngx-formly-bootstrap-multicheckbox.mjs.map +1 -0
  55. package/{fesm2020 → fesm2022}/ngx-formly-bootstrap-radio.mjs +35 -41
  56. package/fesm2022/ngx-formly-bootstrap-radio.mjs.map +1 -0
  57. package/{fesm2020 → fesm2022}/ngx-formly-bootstrap-select.mjs +39 -80
  58. package/fesm2022/ngx-formly-bootstrap-select.mjs.map +1 -0
  59. package/fesm2022/ngx-formly-bootstrap-textarea.mjs +98 -0
  60. package/fesm2022/ngx-formly-bootstrap-textarea.mjs.map +1 -0
  61. package/fesm2022/ngx-formly-bootstrap.mjs +69 -0
  62. package/fesm2022/ngx-formly-bootstrap.mjs.map +1 -0
  63. package/form-field/field.type.d.ts +1 -1
  64. package/form-field/form-field.config.d.ts +2 -0
  65. package/form-field/form-field.wrapper.d.ts +1 -1
  66. package/form-field/public_api.d.ts +1 -0
  67. package/input/input.config.d.ts +2 -0
  68. package/input/input.type.d.ts +1 -1
  69. package/input/public_api.d.ts +1 -0
  70. package/lib/bootstrap.config.d.ts +1 -0
  71. package/lib/bootstrap.d.ts +1 -0
  72. package/multicheckbox/multicheckbox.config.d.ts +2 -0
  73. package/multicheckbox/multicheckbox.type.d.ts +1 -1
  74. package/multicheckbox/public_api.d.ts +1 -0
  75. package/package.json +40 -62
  76. package/radio/public_api.d.ts +1 -0
  77. package/radio/radio.config.d.ts +2 -0
  78. package/radio/radio.type.d.ts +3 -3
  79. package/select/public_api.d.ts +1 -0
  80. package/select/select.config.d.ts +2 -0
  81. package/select/select.type.d.ts +2 -8
  82. package/textarea/public_api.d.ts +1 -0
  83. package/textarea/textarea.config.d.ts +2 -0
  84. package/textarea/textarea.type.d.ts +1 -1
  85. package/addons/package.json +0 -10
  86. package/checkbox/package.json +0 -10
  87. package/esm2020/addons/addon.extension.mjs +0 -9
  88. package/esm2020/addons/addons.component.mjs +0 -31
  89. package/esm2020/addons/addons.module.mjs +0 -36
  90. package/esm2020/addons/public_api.mjs +0 -2
  91. package/esm2020/checkbox/checkbox.module.mjs +0 -57
  92. package/esm2020/checkbox/public_api.mjs +0 -3
  93. package/esm2020/form-field/field.type.mjs +0 -25
  94. package/esm2020/form-field/form-field.module.mjs +0 -43
  95. package/esm2020/form-field/public_api.mjs +0 -3
  96. package/esm2020/input/input.module.mjs +0 -87
  97. package/esm2020/input/public_api.mjs +0 -3
  98. package/esm2020/lib/bootstrap.mjs +0 -2
  99. package/esm2020/lib/bootstrap.module.mjs +0 -47
  100. package/esm2020/multicheckbox/multicheckbox.module.mjs +0 -53
  101. package/esm2020/multicheckbox/multicheckbox.type.mjs +0 -99
  102. package/esm2020/multicheckbox/public_api.mjs +0 -3
  103. package/esm2020/radio/public_api.mjs +0 -3
  104. package/esm2020/radio/radio.module.mjs +0 -53
  105. package/esm2020/radio/radio.type.mjs +0 -82
  106. package/esm2020/select/public_api.mjs +0 -3
  107. package/esm2020/select/select.module.mjs +0 -55
  108. package/esm2020/select/select.type.mjs +0 -179
  109. package/esm2020/textarea/public_api.mjs +0 -3
  110. package/esm2020/textarea/textarea.module.mjs +0 -49
  111. package/fesm2015/ngx-formly-bootstrap-addons.mjs +0 -80
  112. package/fesm2015/ngx-formly-bootstrap-addons.mjs.map +0 -1
  113. package/fesm2015/ngx-formly-bootstrap-checkbox.mjs.map +0 -1
  114. package/fesm2015/ngx-formly-bootstrap-form-field.mjs +0 -144
  115. package/fesm2015/ngx-formly-bootstrap-form-field.mjs.map +0 -1
  116. package/fesm2015/ngx-formly-bootstrap-input.mjs +0 -159
  117. package/fesm2015/ngx-formly-bootstrap-input.mjs.map +0 -1
  118. package/fesm2015/ngx-formly-bootstrap-multicheckbox.mjs +0 -154
  119. package/fesm2015/ngx-formly-bootstrap-multicheckbox.mjs.map +0 -1
  120. package/fesm2015/ngx-formly-bootstrap-radio.mjs +0 -136
  121. package/fesm2015/ngx-formly-bootstrap-radio.mjs.map +0 -1
  122. package/fesm2015/ngx-formly-bootstrap-select.mjs +0 -235
  123. package/fesm2015/ngx-formly-bootstrap-select.mjs.map +0 -1
  124. package/fesm2015/ngx-formly-bootstrap-textarea.mjs +0 -104
  125. package/fesm2015/ngx-formly-bootstrap-textarea.mjs.map +0 -1
  126. package/fesm2015/ngx-formly-bootstrap.mjs +0 -58
  127. package/fesm2015/ngx-formly-bootstrap.mjs.map +0 -1
  128. package/fesm2020/ngx-formly-bootstrap-addons.mjs +0 -78
  129. package/fesm2020/ngx-formly-bootstrap-addons.mjs.map +0 -1
  130. package/fesm2020/ngx-formly-bootstrap-checkbox.mjs +0 -140
  131. package/fesm2020/ngx-formly-bootstrap-checkbox.mjs.map +0 -1
  132. package/fesm2020/ngx-formly-bootstrap-form-field.mjs +0 -142
  133. package/fesm2020/ngx-formly-bootstrap-form-field.mjs.map +0 -1
  134. package/fesm2020/ngx-formly-bootstrap-input.mjs +0 -159
  135. package/fesm2020/ngx-formly-bootstrap-input.mjs.map +0 -1
  136. package/fesm2020/ngx-formly-bootstrap-multicheckbox.mjs.map +0 -1
  137. package/fesm2020/ngx-formly-bootstrap-radio.mjs.map +0 -1
  138. package/fesm2020/ngx-formly-bootstrap-select.mjs.map +0 -1
  139. package/fesm2020/ngx-formly-bootstrap-textarea.mjs +0 -104
  140. package/fesm2020/ngx-formly-bootstrap-textarea.mjs.map +0 -1
  141. package/fesm2020/ngx-formly-bootstrap.mjs +0 -58
  142. package/fesm2020/ngx-formly-bootstrap.mjs.map +0 -1
  143. package/form-field/package.json +0 -10
  144. package/input/package.json +0 -10
  145. package/multicheckbox/package.json +0 -10
  146. package/radio/package.json +0 -10
  147. package/select/package.json +0 -10
  148. package/textarea/package.json +0 -10
  149. /package/addons/{ngx-formly-bootstrap-addons.d.ts → index.d.ts} +0 -0
  150. /package/checkbox/{ngx-formly-bootstrap-checkbox.d.ts → index.d.ts} +0 -0
  151. /package/{esm2020 → esm2022}/addons/ngx-formly-bootstrap-addons.mjs +0 -0
  152. /package/{esm2020 → esm2022}/checkbox/ngx-formly-bootstrap-checkbox.mjs +0 -0
  153. /package/{esm2020 → esm2022}/form-field/ngx-formly-bootstrap-form-field.mjs +0 -0
  154. /package/{esm2020 → esm2022}/input/ngx-formly-bootstrap-input.mjs +0 -0
  155. /package/{esm2020 → esm2022}/multicheckbox/ngx-formly-bootstrap-multicheckbox.mjs +0 -0
  156. /package/{esm2020 → esm2022}/ngx-formly-bootstrap.mjs +0 -0
  157. /package/{esm2020 → esm2022}/public_api.mjs +0 -0
  158. /package/{esm2020 → esm2022}/radio/ngx-formly-bootstrap-radio.mjs +0 -0
  159. /package/{esm2020 → esm2022}/select/ngx-formly-bootstrap-select.mjs +0 -0
  160. /package/{esm2020 → esm2022}/textarea/ngx-formly-bootstrap-textarea.mjs +0 -0
  161. /package/form-field/{ngx-formly-bootstrap-form-field.d.ts → index.d.ts} +0 -0
  162. /package/{ngx-formly-bootstrap.d.ts → index.d.ts} +0 -0
  163. /package/input/{ngx-formly-bootstrap-input.d.ts → index.d.ts} +0 -0
  164. /package/multicheckbox/{ngx-formly-bootstrap-multicheckbox.d.ts → index.d.ts} +0 -0
  165. /package/radio/{ngx-formly-bootstrap-radio.d.ts → index.d.ts} +0 -0
  166. /package/select/{ngx-formly-bootstrap-select.d.ts → index.d.ts} +0 -0
  167. /package/textarea/{ngx-formly-bootstrap-textarea.d.ts → index.d.ts} +0 -0
@@ -1,144 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, NgModule, Directive, Optional, ViewChild } from '@angular/core';
3
- import * as i2 from '@angular/common';
4
- import { CommonModule } from '@angular/common';
5
- import * as i1 from '@ngx-formly/core';
6
- import { FieldWrapper, FormlyModule, FieldType as FieldType$1 } from '@ngx-formly/core';
7
- import { ReactiveFormsModule } from '@angular/forms';
8
-
9
- class FormlyWrapperFormField extends FieldWrapper {
10
- }
11
- FormlyWrapperFormField.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyWrapperFormField, deps: null, target: i0.ɵɵFactoryTarget.Component });
12
- FormlyWrapperFormField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FormlyWrapperFormField, selector: "formly-wrapper-form-field", usesInheritance: true, ngImport: i0, template: `
13
- <ng-template #labelTemplate>
14
- <label *ngIf="props.label && props.hideLabel !== true" [attr.for]="id" class="form-label">
15
- {{ props.label }}
16
- <span *ngIf="props.required && props.hideRequiredMarker !== true" aria-hidden="true">*</span>
17
- </label>
18
- </ng-template>
19
-
20
- <div class="mb-3" [class.form-floating]="props.labelPosition === 'floating'" [class.has-error]="showError">
21
- <ng-container *ngIf="props.labelPosition !== 'floating'">
22
- <ng-container [ngTemplateOutlet]="labelTemplate"></ng-container>
23
- </ng-container>
24
-
25
- <ng-template #fieldComponent></ng-template>
26
-
27
- <ng-container *ngIf="props.labelPosition === 'floating'">
28
- <ng-container [ngTemplateOutlet]="labelTemplate"></ng-container>
29
- </ng-container>
30
-
31
- <div *ngIf="showError" class="invalid-feedback" [style.display]="'block'">
32
- <formly-validation-message
33
- id="{{ id }}-formly-validation-error"
34
- [field]="field"
35
- role="alert"
36
- ></formly-validation-message>
37
- </div>
38
-
39
- <small *ngIf="props.description" class="form-text text-muted">{{ props.description }}</small>
40
- </div>
41
- `, isInline: true, components: [{ type: i1.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyWrapperFormField, decorators: [{
43
- type: Component,
44
- args: [{
45
- selector: 'formly-wrapper-form-field',
46
- template: `
47
- <ng-template #labelTemplate>
48
- <label *ngIf="props.label && props.hideLabel !== true" [attr.for]="id" class="form-label">
49
- {{ props.label }}
50
- <span *ngIf="props.required && props.hideRequiredMarker !== true" aria-hidden="true">*</span>
51
- </label>
52
- </ng-template>
53
-
54
- <div class="mb-3" [class.form-floating]="props.labelPosition === 'floating'" [class.has-error]="showError">
55
- <ng-container *ngIf="props.labelPosition !== 'floating'">
56
- <ng-container [ngTemplateOutlet]="labelTemplate"></ng-container>
57
- </ng-container>
58
-
59
- <ng-template #fieldComponent></ng-template>
60
-
61
- <ng-container *ngIf="props.labelPosition === 'floating'">
62
- <ng-container [ngTemplateOutlet]="labelTemplate"></ng-container>
63
- </ng-container>
64
-
65
- <div *ngIf="showError" class="invalid-feedback" [style.display]="'block'">
66
- <formly-validation-message
67
- id="{{ id }}-formly-validation-error"
68
- [field]="field"
69
- role="alert"
70
- ></formly-validation-message>
71
- </div>
72
-
73
- <small *ngIf="props.description" class="form-text text-muted">{{ props.description }}</small>
74
- </div>
75
- `,
76
- }]
77
- }] });
78
-
79
- class FormlyBootstrapFormFieldModule {
80
- }
81
- FormlyBootstrapFormFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyBootstrapFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
82
- FormlyBootstrapFormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyBootstrapFormFieldModule, declarations: [FormlyWrapperFormField], imports: [CommonModule,
83
- ReactiveFormsModule, i1.FormlyModule] });
84
- FormlyBootstrapFormFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyBootstrapFormFieldModule, imports: [[
85
- CommonModule,
86
- ReactiveFormsModule,
87
- FormlyModule.forChild({
88
- wrappers: [
89
- {
90
- name: 'form-field',
91
- component: FormlyWrapperFormField,
92
- },
93
- ],
94
- }),
95
- ]] });
96
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyBootstrapFormFieldModule, decorators: [{
97
- type: NgModule,
98
- args: [{
99
- declarations: [FormlyWrapperFormField],
100
- imports: [
101
- CommonModule,
102
- ReactiveFormsModule,
103
- FormlyModule.forChild({
104
- wrappers: [
105
- {
106
- name: 'form-field',
107
- component: FormlyWrapperFormField,
108
- },
109
- ],
110
- }),
111
- ],
112
- }]
113
- }] });
114
-
115
- class FieldType extends FieldType$1 {
116
- constructor(hostContainerRef) {
117
- super();
118
- this.hostContainerRef = hostContainerRef;
119
- }
120
- set content(templateRef) {
121
- if (templateRef && this.hostContainerRef) {
122
- this.hostContainerRef.createEmbeddedView(templateRef);
123
- }
124
- }
125
- }
126
- FieldType.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FieldType, deps: [{ token: i0.ViewContainerRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
127
- FieldType.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: FieldType, viewQueries: [{ propertyName: "content", first: true, predicate: ["fieldTypeTemplate"], descendants: true, static: true }], usesInheritance: true, ngImport: i0 });
128
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FieldType, decorators: [{
129
- type: Directive
130
- }], ctorParameters: function () {
131
- return [{ type: i0.ViewContainerRef, decorators: [{
132
- type: Optional
133
- }] }];
134
- }, propDecorators: { content: [{
135
- type: ViewChild,
136
- args: ['fieldTypeTemplate', { static: true }]
137
- }] } });
138
-
139
- /**
140
- * Generated bundle index. Do not edit.
141
- */
142
-
143
- export { FieldType, FormlyBootstrapFormFieldModule };
144
- //# sourceMappingURL=ngx-formly-bootstrap-form-field.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ngx-formly-bootstrap-form-field.mjs","sources":["../../../../src/ui/bootstrap/form-field/src/form-field.wrapper.ts","../../../../src/ui/bootstrap/form-field/src/form-field.module.ts","../../../../src/ui/bootstrap/form-field/src/field.type.ts","../../../../src/ui/bootstrap/form-field/src/ngx-formly-bootstrap-form-field.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { FieldWrapper, FormlyFieldConfig, FormlyFieldProps as CoreFormlyFieldProps } from '@ngx-formly/core';\n\nexport interface FormlyFieldProps extends CoreFormlyFieldProps {\n hideLabel?: boolean;\n hideRequiredMarker?: boolean;\n labelPosition?: 'floating';\n}\n\n@Component({\n selector: 'formly-wrapper-form-field',\n template: `\n <ng-template #labelTemplate>\n <label *ngIf=\"props.label && props.hideLabel !== true\" [attr.for]=\"id\" class=\"form-label\">\n {{ props.label }}\n <span *ngIf=\"props.required && props.hideRequiredMarker !== true\" aria-hidden=\"true\">*</span>\n </label>\n </ng-template>\n\n <div class=\"mb-3\" [class.form-floating]=\"props.labelPosition === 'floating'\" [class.has-error]=\"showError\">\n <ng-container *ngIf=\"props.labelPosition !== 'floating'\">\n <ng-container [ngTemplateOutlet]=\"labelTemplate\"></ng-container>\n </ng-container>\n\n <ng-template #fieldComponent></ng-template>\n\n <ng-container *ngIf=\"props.labelPosition === 'floating'\">\n <ng-container [ngTemplateOutlet]=\"labelTemplate\"></ng-container>\n </ng-container>\n\n <div *ngIf=\"showError\" class=\"invalid-feedback\" [style.display]=\"'block'\">\n <formly-validation-message\n id=\"{{ id }}-formly-validation-error\"\n [field]=\"field\"\n role=\"alert\"\n ></formly-validation-message>\n </div>\n\n <small *ngIf=\"props.description\" class=\"form-text text-muted\">{{ props.description }}</small>\n </div>\n `,\n})\nexport class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyWrapperFormField } from './form-field.wrapper';\n\n@NgModule({\n declarations: [FormlyWrapperFormField],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n\n FormlyModule.forChild({\n wrappers: [\n {\n name: 'form-field',\n component: FormlyWrapperFormField,\n },\n ],\n }),\n ],\n})\nexport class FormlyBootstrapFormFieldModule {}\n","import { Directive, Optional, TemplateRef, ViewChild, ViewContainerRef } from '@angular/core';\nimport { FieldType as CoreFieldType, FormlyFieldConfig } from '@ngx-formly/core';\n\n@Directive()\nexport abstract class FieldType<F extends FormlyFieldConfig = FormlyFieldConfig> extends CoreFieldType<F> {\n @ViewChild('fieldTypeTemplate', { static: true }) set content(templateRef: TemplateRef<any>) {\n if (templateRef && this.hostContainerRef) {\n this.hostContainerRef.createEmbeddedView(templateRef);\n }\n }\n\n constructor(@Optional() private hostContainerRef?: ViewContainerRef) {\n super();\n }\n}\n","/**\n * Gener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ACzF,QAAA,IAAI,WAAW,IAAI,IAAI,CAAC,gBAAgB,EAAE;AACxC,YAAA,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,WAAW,CAAC,CAAC;AACvD,SAAA;KACF;;uGALmB,SAAS,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;2FAAT,SAAS,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,SAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,WAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,CAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;4FAAT,SAAS,EAAA,UAAA,EAAA,CAAA;kBAD9B,SAAS;;;8BAQK,QAAQ;;yBANiC,OAAO,EAAA,CAAA;sBAA5D,SAAS;gBAAC,IAAA,EAAA,CAAA,mBAAmB,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAA;;;ACLlD;;AAEG;;;;"}
@@ -1,159 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i1 from '@angular/common';
4
- import { CommonModule } from '@angular/common';
5
- import * as i3 from '@ngx-formly/core';
6
- import { FormlyModule } from '@ngx-formly/core';
7
- import * as i2 from '@angular/forms';
8
- import { ReactiveFormsModule } from '@angular/forms';
9
- import { FieldType, FormlyBootstrapFormFieldModule } from '@ngx-formly/bootstrap/form-field';
10
-
11
- class FormlyFieldInput extends FieldType {
12
- get type() {
13
- return this.props.type || 'text';
14
- }
15
- }
16
- FormlyFieldInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyFieldInput, deps: null, target: i0.ɵɵFactoryTarget.Component });
17
- FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FormlyFieldInput, selector: "formly-field-input", usesInheritance: true, ngImport: i0, template: `
18
- <ng-template #fieldTypeTemplate>
19
- <input
20
- *ngIf="type !== 'number'; else numberTmp"
21
- [type]="type"
22
- [formControl]="formControl"
23
- class="form-control"
24
- [formlyAttributes]="field"
25
- [class.is-invalid]="showError"
26
- [attr.aria-describedby]="id + '-formly-validation-error'"
27
- [attr.aria-invalid]="showError"
28
- />
29
- <ng-template #numberTmp>
30
- <input
31
- type="number"
32
- [formControl]="formControl"
33
- class="form-control"
34
- [formlyAttributes]="field"
35
- [class.is-invalid]="showError"
36
- [attr.aria-describedby]="id + '-formly-validation-error'"
37
- [attr.aria-invalid]="showError"
38
- />
39
- </ng-template>
40
- </ng-template>
41
- `, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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]" }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i2.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyFieldInput, decorators: [{
43
- type: Component,
44
- args: [{
45
- selector: 'formly-field-input',
46
- template: `
47
- <ng-template #fieldTypeTemplate>
48
- <input
49
- *ngIf="type !== 'number'; else numberTmp"
50
- [type]="type"
51
- [formControl]="formControl"
52
- class="form-control"
53
- [formlyAttributes]="field"
54
- [class.is-invalid]="showError"
55
- [attr.aria-describedby]="id + '-formly-validation-error'"
56
- [attr.aria-invalid]="showError"
57
- />
58
- <ng-template #numberTmp>
59
- <input
60
- type="number"
61
- [formControl]="formControl"
62
- class="form-control"
63
- [formlyAttributes]="field"
64
- [class.is-invalid]="showError"
65
- [attr.aria-describedby]="id + '-formly-validation-error'"
66
- [attr.aria-invalid]="showError"
67
- />
68
- </ng-template>
69
- </ng-template>
70
- `,
71
- changeDetection: ChangeDetectionStrategy.OnPush,
72
- }]
73
- }] });
74
-
75
- class FormlyBootstrapInputModule {
76
- }
77
- FormlyBootstrapInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyBootstrapInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
78
- FormlyBootstrapInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyBootstrapInputModule, declarations: [FormlyFieldInput], imports: [CommonModule,
79
- ReactiveFormsModule,
80
- FormlyBootstrapFormFieldModule, i3.FormlyModule] });
81
- FormlyBootstrapInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyBootstrapInputModule, imports: [[
82
- CommonModule,
83
- ReactiveFormsModule,
84
- FormlyBootstrapFormFieldModule,
85
- FormlyModule.forChild({
86
- types: [
87
- {
88
- name: 'input',
89
- component: FormlyFieldInput,
90
- wrappers: ['form-field'],
91
- },
92
- { name: 'string', extends: 'input' },
93
- {
94
- name: 'number',
95
- extends: 'input',
96
- defaultOptions: {
97
- props: {
98
- type: 'number',
99
- },
100
- },
101
- },
102
- {
103
- name: 'integer',
104
- extends: 'input',
105
- defaultOptions: {
106
- props: {
107
- type: 'number',
108
- },
109
- },
110
- },
111
- ],
112
- }),
113
- ]] });
114
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyBootstrapInputModule, decorators: [{
115
- type: NgModule,
116
- args: [{
117
- declarations: [FormlyFieldInput],
118
- imports: [
119
- CommonModule,
120
- ReactiveFormsModule,
121
- FormlyBootstrapFormFieldModule,
122
- FormlyModule.forChild({
123
- types: [
124
- {
125
- name: 'input',
126
- component: FormlyFieldInput,
127
- wrappers: ['form-field'],
128
- },
129
- { name: 'string', extends: 'input' },
130
- {
131
- name: 'number',
132
- extends: 'input',
133
- defaultOptions: {
134
- props: {
135
- type: 'number',
136
- },
137
- },
138
- },
139
- {
140
- name: 'integer',
141
- extends: 'input',
142
- defaultOptions: {
143
- props: {
144
- type: 'number',
145
- },
146
- },
147
- },
148
- ],
149
- }),
150
- ],
151
- }]
152
- }] });
153
-
154
- /**
155
- * Generated bundle index. Do not edit.
156
- */
157
-
158
- export { FormlyBootstrapInputModule, FormlyFieldInput };
159
- //# sourceMappingURL=ngx-formly-bootstrap-input.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ngx-formly-bootstrap-input.mjs","sources":["../../../../src/ui/bootstrap/input/src/input.type.ts","../../../../src/ui/bootstrap/input/src/input.module.ts","../../../../src/ui/bootstrap/input/src/ngx-formly-bootstrap-input.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FieldType, FormlyFieldProps } from '@ngx-formly/bootstrap/form-field';\n\ninterface InputProps extends FormlyFieldProps {}\n\nexport interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {\n type: 'input' | Type<FormlyFieldInput>;\n}\n\n@Component({\n selector: 'formly-field-input',\n template: `\n <ng-template #fieldTypeTemplate>\n <input\n *ngIf=\"type !== 'number'; else numberTmp\"\n [type]=\"type\"\n [formControl]=\"formControl\"\n class=\"form-control\"\n [formlyAttributes]=\"field\"\n [class.is-invalid]=\"showError\"\n [attr.aria-describedby]=\"id + '-formly-validation-error'\"\n [attr.aria-invalid]=\"showError\"\n />\n <ng-template #numberTmp>\n <input\n type=\"number\"\n [formControl]=\"formControl\"\n class=\"form-control\"\n [formlyAttributes]=\"field\"\n [class.is-invalid]=\"showError\"\n [attr.aria-describedby]=\"id + '-formly-validation-error'\"\n [attr.aria-invalid]=\"showError\"\n />\n </ng-template>\n </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldInput extends FieldType<FieldTypeConfig<InputProps>> {\n get type() {\n return this.props.type || 'text';\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { FormlyBootstrapFormFieldModule } from '@ngx-formly/bootstrap/form-field';\n\nimport { FormlyFieldInput } from './input.type';\n\n@NgModule({\n declarations: [FormlyFieldInput],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n\n FormlyBootstrapFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'input',\n component: FormlyFieldInput,\n wrappers: ['form-field'],\n },\n { name: 'string', extends: 'input' },\n {\n name: 'number',\n extends: 'input',\n defaultOptions: {\n props: {\n type: 'number',\n },\n },\n },\n {\n name: 'integer',\n extends: 'input',\n defaultOptions: {\n props: {\n type: 'number',\n },\n },\n },\n ],\n }),\n ],\n})\nexport class FormlyBootstrapInputModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;AAuCM,MAAO,gBAAiB,SAAQ,SAAsC,CAAA;AAC1E,IAAA,IAAI,IAAI,GAAA;AACN,QAAA,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,MAAM,CAAC;KAClC;;8GAHU,gBAAgB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,E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K,EAAE;AACL,gCAAA,IAAI,EAAE,QAAQ;AACf,6BAAA;AACF,yBAAA;AACF,qBAAA;AACF,iBAAA;aACF,CAAC;SACH,CAAA,EAAA,CAAA,CAAA;4FAEU,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBArCtC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;AAChC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBAEnB,8BAA8B;wBAC9B,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,OAAO;AACb,oCAAA,SAAS,EAAE,gBAAgB;oCAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACD,gCAAA,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE;AACpC,gCAAA;AACE,oCAAA,IAAI,EAAE,QAAQ;AACd,oCAAA,OAAO,EAAE,OAAO;AAChB,oCAAA,cAAc,EAAE;AACd,wCAAA,KAAK,EAAE;AACL,4CAAA,IAAI,EAAE,QAAQ;AACf,yCAAA;AACF,qCAAA;AACF,iCAAA;AACD,gCAAA;AACE,oCAAA,IAAI,EAAE,SAAS;AACf,oCAAA,OAAO,EAAE,OAAO;AAChB,oCAAA,cAAc,EAAE;AACd,wCAAA,KAAK,EAAE;AACL,4CAAA,IAAI,EAAE,QAAQ;AACf,yCAAA;AACF,qCAAA;AACF,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;AC7CD;;AAEG;;;;"}
@@ -1,154 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i1 from '@angular/common';
4
- import { CommonModule } from '@angular/common';
5
- import { ReactiveFormsModule } from '@angular/forms';
6
- import * as i2 from '@ngx-formly/core';
7
- import { FormlyModule } from '@ngx-formly/core';
8
- import * as i3 from '@ngx-formly/core/select';
9
- import { FormlySelectModule } from '@ngx-formly/core/select';
10
- import { FieldType, FormlyBootstrapFormFieldModule } from '@ngx-formly/bootstrap/form-field';
11
-
12
- class FormlyFieldMultiCheckbox extends FieldType {
13
- constructor() {
14
- super(...arguments);
15
- this.defaultOptions = {
16
- props: {
17
- formCheck: 'default', // 'default' | 'inline' | 'switch' | 'inline-switch'
18
- },
19
- };
20
- }
21
- onChange(value, checked) {
22
- this.formControl.markAsDirty();
23
- if (this.props.type === 'array') {
24
- this.formControl.patchValue(checked
25
- ? [...(this.formControl.value || []), value]
26
- : [...(this.formControl.value || [])].filter((o) => o !== value));
27
- }
28
- else {
29
- this.formControl.patchValue(Object.assign(Object.assign({}, this.formControl.value), { [value]: checked }));
30
- }
31
- this.formControl.markAsTouched();
32
- }
33
- isChecked(option) {
34
- const value = this.formControl.value;
35
- return value && (this.props.type === 'array' ? value.indexOf(option.value) !== -1 : value[option.value]);
36
- }
37
- }
38
- FormlyFieldMultiCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyFieldMultiCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Component });
39
- FormlyFieldMultiCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FormlyFieldMultiCheckbox, selector: "formly-field-multicheckbox", usesInheritance: true, ngImport: i0, template: `
40
- <ng-template #fieldTypeTemplate>
41
- <div
42
- *ngFor="let option of props.options | formlySelectOptions : field | async; let i = index"
43
- class="form-check"
44
- [ngClass]="{
45
- 'form-check-inline': props.formCheck === 'inline' || props.formCheck === 'inline-switch',
46
- 'form-switch': props.formCheck === 'switch' || props.formCheck === 'inline-switch'
47
- }"
48
- >
49
- <input
50
- type="checkbox"
51
- [id]="id + '_' + i"
52
- class="form-check-input"
53
- [class.is-invalid]="showError"
54
- [value]="option.value"
55
- [checked]="isChecked(option)"
56
- [formlyAttributes]="field"
57
- [disabled]="formControl.disabled || option.disabled"
58
- [attr.aria-describedby]="id + '-formly-validation-error'"
59
- [attr.aria-invalid]="showError"
60
- (change)="onChange(option.value, $any($event.target).checked)"
61
- />
62
- <label class="form-check-label" [for]="id + '_' + i">
63
- {{ option.label }}
64
- </label>
65
- </div>
66
- </ng-template>
67
- `, isInline: true, directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], pipes: { "async": i1.AsyncPipe, "formlySelectOptions": i3.FormlySelectOptionsPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyFieldMultiCheckbox, decorators: [{
69
- type: Component,
70
- args: [{
71
- selector: 'formly-field-multicheckbox',
72
- template: `
73
- <ng-template #fieldTypeTemplate>
74
- <div
75
- *ngFor="let option of props.options | formlySelectOptions : field | async; let i = index"
76
- class="form-check"
77
- [ngClass]="{
78
- 'form-check-inline': props.formCheck === 'inline' || props.formCheck === 'inline-switch',
79
- 'form-switch': props.formCheck === 'switch' || props.formCheck === 'inline-switch'
80
- }"
81
- >
82
- <input
83
- type="checkbox"
84
- [id]="id + '_' + i"
85
- class="form-check-input"
86
- [class.is-invalid]="showError"
87
- [value]="option.value"
88
- [checked]="isChecked(option)"
89
- [formlyAttributes]="field"
90
- [disabled]="formControl.disabled || option.disabled"
91
- [attr.aria-describedby]="id + '-formly-validation-error'"
92
- [attr.aria-invalid]="showError"
93
- (change)="onChange(option.value, $any($event.target).checked)"
94
- />
95
- <label class="form-check-label" [for]="id + '_' + i">
96
- {{ option.label }}
97
- </label>
98
- </div>
99
- </ng-template>
100
- `,
101
- changeDetection: ChangeDetectionStrategy.OnPush,
102
- }]
103
- }] });
104
-
105
- class FormlyBootstrapMultiCheckboxModule {
106
- }
107
- FormlyBootstrapMultiCheckboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyBootstrapMultiCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
108
- FormlyBootstrapMultiCheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyBootstrapMultiCheckboxModule, declarations: [FormlyFieldMultiCheckbox], imports: [CommonModule,
109
- ReactiveFormsModule,
110
- FormlyBootstrapFormFieldModule,
111
- FormlySelectModule, i2.FormlyModule] });
112
- FormlyBootstrapMultiCheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyBootstrapMultiCheckboxModule, imports: [[
113
- CommonModule,
114
- ReactiveFormsModule,
115
- FormlyBootstrapFormFieldModule,
116
- FormlySelectModule,
117
- FormlyModule.forChild({
118
- types: [
119
- {
120
- name: 'multicheckbox',
121
- component: FormlyFieldMultiCheckbox,
122
- wrappers: ['form-field'],
123
- },
124
- ],
125
- }),
126
- ]] });
127
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyBootstrapMultiCheckboxModule, decorators: [{
128
- type: NgModule,
129
- args: [{
130
- declarations: [FormlyFieldMultiCheckbox],
131
- imports: [
132
- CommonModule,
133
- ReactiveFormsModule,
134
- FormlyBootstrapFormFieldModule,
135
- FormlySelectModule,
136
- FormlyModule.forChild({
137
- types: [
138
- {
139
- name: 'multicheckbox',
140
- component: FormlyFieldMultiCheckbox,
141
- wrappers: ['form-field'],
142
- },
143
- ],
144
- }),
145
- ],
146
- }]
147
- }] });
148
-
149
- /**
150
- * Generated bundle index. Do not edit.
151
- */
152
-
153
- export { FormlyBootstrapMultiCheckboxModule, FormlyFieldMultiCheckbox };
154
- //# sourceMappingURL=ngx-formly-bootstrap-multicheckbox.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ngx-formly-bootstrap-multicheckbox.mjs","sources":["../../../../src/ui/bootstrap/multicheckbox/src/multicheckbox.type.ts","../../../../src/ui/bootstrap/multicheckbox/src/multicheckbox.module.ts","../../../../src/ui/bootstrap/multicheckbox/src/ngx-formly-bootstrap-multicheckbox.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FieldType, FormlyFieldProps } from '@ngx-formly/bootstrap/form-field';\n\ninterface MultiCheckboxProps extends FormlyFieldProps {\n formCheck?: 'default' | 'inline' | 'switch' | 'inline-switch';\n}\n\nexport interface FormlyMultiCheckboxFieldConfig extends FormlyFieldConfig<MultiCheckboxProps> {\n type: 'multicheckbox' | Type<FormlyFieldMultiCheckbox>;\n}\n\n@Component({\n selector: 'formly-field-multicheckbox',\n template: `\n <ng-template #fieldTypeTemplate>\n <div\n *ngFor=\"let option of props.options | formlySelectOptions : field | async; let i = index\"\n class=\"form-check\"\n [ngClass]=\"{\n 'form-check-inline': props.formCheck === 'inline' || props.formCheck === 'inline-switch',\n 'form-switch': props.formCheck === 'switch' || props.formCheck === 'inline-switch'\n }\"\n >\n <input\n type=\"checkbox\"\n [id]=\"id + '_' + i\"\n class=\"form-check-input\"\n [class.is-invalid]=\"showError\"\n [value]=\"option.value\"\n [checked]=\"isChecked(option)\"\n [formlyAttributes]=\"field\"\n [disabled]=\"formControl.disabled || option.disabled\"\n [attr.aria-describedby]=\"id + '-formly-validation-error'\"\n [attr.aria-invalid]=\"showError\"\n (change)=\"onChange(option.value, $any($event.target).checked)\"\n />\n <label class=\"form-check-label\" [for]=\"id + '_' + i\">\n {{ option.label }}\n </label>\n </div>\n </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldMultiCheckbox extends FieldType<FieldTypeConfig<MultiCheckboxProps>> {\n override defaultOptions = {\n props: {\n formCheck: 'default' as const, // 'default' | 'inline' | 'switch' | 'inline-switch'\n },\n };\n\n onChange(value: any, checked: boolean) {\n this.formControl.markAsDirty();\n if (this.props.type === 'array') {\n this.formControl.patchValue(\n checked\n ? [...(this.formControl.value || []), value]\n : [...(this.formControl.value || [])].filter((o) => o !== value),\n );\n } else {\n this.formControl.patchValue({ ...this.formControl.value, [value]: checked });\n }\n this.formControl.markAsTouched();\n }\n\n isChecked(option: any) {\n const value = this.formControl.value;\n\n return value && (this.props.type === 'array' ? value.indexOf(option.value) !== -1 : value[option.value]);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { FormlySelectModule } from '@ngx-formly/core/select';\nimport { FormlyBootstrapFormFieldModule } from '@ngx-formly/bootstrap/form-field';\n\nimport { FormlyFieldMultiCheckbox } from './multicheckbox.type';\n\n@NgModule({\n declarations: [FormlyFieldMultiCheckbox],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n\n FormlyBootstrapFormFieldModule,\n FormlySelectModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'multicheckbox',\n component: FormlyFieldMultiCheckbox,\n wrappers: ['form-field'],\n },\n ],\n }),\n ],\n})\nexport class FormlyBootstrapMultiCheckboxModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AA6CM,MAAO,wBAAyB,SAAQ,SAA8C,CAAA;AAjC5F,IAAA,WAAA,GAAA;;QAkCW,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;gBACL,SAAS,EAAE,SAAkB;AAC9B,aAAA;SACF,CAAC;KAqBH;IAnBC,QAAQ,CAAC,KAAU,EAAE,OAAgB,EAAA;AACnC,QAAA,IAAI,CAAC,WAAW,CAAC,WAAW,EAAE,CA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AA,CAAA,EAAA,CAAA,CAAA;AAYT,kCAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kCAAkC,EAjBpC,OAAA,EAAA,CAAA;YACP,YAAY;YACZ,mBAAmB;YAEnB,8BAA8B;YAC9B,kBAAkB;YAClB,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,eAAe;AACrB,wBAAA,SAAS,EAAE,wBAAwB;wBACnC,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,qBAAA;AACF,iBAAA;aACF,CAAC;SACH,CAAA,EAAA,CAAA,CAAA;4FAEU,kCAAkC,EAAA,UAAA,EAAA,CAAA;kBAnB9C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,wBAAwB,CAAC;AACxC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBAEnB,8BAA8B;wBAC9B,kBAAkB;wBAClB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,eAAe;AACrB,oCAAA,SAAS,EAAE,wBAAwB;oCACnC,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;AC3BD;;AAEG;;;;"}
@@ -1,136 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i1 from '@angular/common';
4
- import { CommonModule } from '@angular/common';
5
- import * as i3 from '@ngx-formly/core';
6
- import { FormlyModule } from '@ngx-formly/core';
7
- import * as i2 from '@angular/forms';
8
- import { FormControl, ReactiveFormsModule } from '@angular/forms';
9
- import * as i4 from '@ngx-formly/core/select';
10
- import { FormlySelectModule } from '@ngx-formly/core/select';
11
- import { FieldType, FormlyBootstrapFormFieldModule } from '@ngx-formly/bootstrap/form-field';
12
-
13
- class FormlyFieldRadio extends FieldType {
14
- constructor() {
15
- super(...arguments);
16
- this.defaultOptions = {
17
- props: {
18
- formCheck: 'default',
19
- },
20
- };
21
- }
22
- get disabledControl() {
23
- return new FormControl({ value: this.formControl.value, disabled: true });
24
- }
25
- }
26
- FormlyFieldRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyFieldRadio, deps: null, target: i0.ɵɵFactoryTarget.Component });
27
- FormlyFieldRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FormlyFieldRadio, selector: "formly-field-radio", usesInheritance: true, ngImport: i0, template: `
28
- <ng-template #fieldTypeTemplate>
29
- <div
30
- *ngFor="let option of props.options | formlySelectOptions : field | async; let i = index"
31
- class="form-check"
32
- [class.form-check-inline]="props.formCheck === 'inline'"
33
- >
34
- <input
35
- type="radio"
36
- [id]="id + '_' + i"
37
- class="form-check-input"
38
- [name]="field.name || id"
39
- [class.is-invalid]="showError"
40
- [attr.value]="option.value"
41
- [value]="option.value"
42
- [formControl]="option.disabled ? disabledControl : formControl"
43
- [formlyAttributes]="field"
44
- [attr.aria-describedby]="id + '-formly-validation-error'"
45
- [attr.aria-invalid]="showError"
46
- />
47
- <label class="form-check-label" [for]="id + '_' + i">
48
- {{ option.label }}
49
- </label>
50
- </div>
51
- </ng-template>
52
- `, isInline: true, directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { 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]" }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], pipes: { "async": i1.AsyncPipe, "formlySelectOptions": i4.FormlySelectOptionsPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyFieldRadio, decorators: [{
54
- type: Component,
55
- args: [{
56
- selector: 'formly-field-radio',
57
- template: `
58
- <ng-template #fieldTypeTemplate>
59
- <div
60
- *ngFor="let option of props.options | formlySelectOptions : field | async; let i = index"
61
- class="form-check"
62
- [class.form-check-inline]="props.formCheck === 'inline'"
63
- >
64
- <input
65
- type="radio"
66
- [id]="id + '_' + i"
67
- class="form-check-input"
68
- [name]="field.name || id"
69
- [class.is-invalid]="showError"
70
- [attr.value]="option.value"
71
- [value]="option.value"
72
- [formControl]="option.disabled ? disabledControl : formControl"
73
- [formlyAttributes]="field"
74
- [attr.aria-describedby]="id + '-formly-validation-error'"
75
- [attr.aria-invalid]="showError"
76
- />
77
- <label class="form-check-label" [for]="id + '_' + i">
78
- {{ option.label }}
79
- </label>
80
- </div>
81
- </ng-template>
82
- `,
83
- changeDetection: ChangeDetectionStrategy.OnPush,
84
- }]
85
- }] });
86
-
87
- class FormlyBootstrapRadioModule {
88
- }
89
- FormlyBootstrapRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyBootstrapRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
90
- FormlyBootstrapRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyBootstrapRadioModule, declarations: [FormlyFieldRadio], imports: [CommonModule,
91
- ReactiveFormsModule,
92
- FormlyBootstrapFormFieldModule,
93
- FormlySelectModule, i3.FormlyModule] });
94
- FormlyBootstrapRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyBootstrapRadioModule, imports: [[
95
- CommonModule,
96
- ReactiveFormsModule,
97
- FormlyBootstrapFormFieldModule,
98
- FormlySelectModule,
99
- FormlyModule.forChild({
100
- types: [
101
- {
102
- name: 'radio',
103
- component: FormlyFieldRadio,
104
- wrappers: ['form-field'],
105
- },
106
- ],
107
- }),
108
- ]] });
109
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyBootstrapRadioModule, decorators: [{
110
- type: NgModule,
111
- args: [{
112
- declarations: [FormlyFieldRadio],
113
- imports: [
114
- CommonModule,
115
- ReactiveFormsModule,
116
- FormlyBootstrapFormFieldModule,
117
- FormlySelectModule,
118
- FormlyModule.forChild({
119
- types: [
120
- {
121
- name: 'radio',
122
- component: FormlyFieldRadio,
123
- wrappers: ['form-field'],
124
- },
125
- ],
126
- }),
127
- ],
128
- }]
129
- }] });
130
-
131
- /**
132
- * Generated bundle index. Do not edit.
133
- */
134
-
135
- export { FormlyBootstrapRadioModule, FormlyFieldRadio };
136
- //# sourceMappingURL=ngx-formly-bootstrap-radio.mjs.map