@bizdoc/core 2.3.18 → 2.3.21

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 (237) hide show
  1. package/assets/themes/brown.min.css +4 -4
  2. package/assets/themes/dark.min.css +4 -4
  3. package/assets/themes/deep-purple-light-blue.min.css +4 -4
  4. package/assets/themes/deep-purple-teal.min.css +4 -4
  5. package/assets/themes/default.min.css +4 -4
  6. package/assets/themes/green.min.css +4 -4
  7. package/assets/themes/indigo.min.css +4 -4
  8. package/esm2022/lib/admin/admin-menu.component.mjs +9 -10
  9. package/esm2022/lib/admin/architecture/cube-axes-filter.component.mjs +11 -11
  10. package/esm2022/lib/admin/architecture/designer-element.component.mjs +4 -4
  11. package/esm2022/lib/admin/architecture/designer-privileges.component.mjs +15 -16
  12. package/esm2022/lib/admin/architecture/designer.component.mjs +16 -15
  13. package/esm2022/lib/admin/architecture/elements/analysis-view.component.mjs +13 -14
  14. package/esm2022/lib/admin/architecture/elements/analysis-widget.component.mjs +11 -12
  15. package/esm2022/lib/admin/architecture/elements/anomaly-rule.component.mjs +4 -5
  16. package/esm2022/lib/admin/architecture/elements/attribute.component.mjs +10 -11
  17. package/esm2022/lib/admin/architecture/elements/box-form.component.mjs +11 -12
  18. package/esm2022/lib/admin/architecture/elements/configuration-datasource.component.mjs +13 -14
  19. package/esm2022/lib/admin/architecture/elements/cube-index-utility.component.mjs +9 -10
  20. package/esm2022/lib/admin/architecture/elements/cube-view.component.mjs +11 -12
  21. package/esm2022/lib/admin/architecture/elements/cube.component.mjs +23 -24
  22. package/esm2022/lib/admin/architecture/elements/document-state-widget.component.mjs +11 -12
  23. package/esm2022/lib/admin/architecture/elements/documents-report.component.mjs +10 -11
  24. package/esm2022/lib/admin/architecture/elements/documents-widget.component.mjs +10 -11
  25. package/esm2022/lib/admin/architecture/elements/explore-view.component.mjs +10 -11
  26. package/esm2022/lib/admin/architecture/elements/folder.component.mjs +16 -17
  27. package/esm2022/lib/admin/architecture/elements/form-invite.dialog.mjs +17 -18
  28. package/esm2022/lib/admin/architecture/elements/form.component.mjs +22 -23
  29. package/esm2022/lib/admin/architecture/elements/guide.component.mjs +16 -17
  30. package/esm2022/lib/admin/architecture/elements/job.component.mjs +12 -13
  31. package/esm2022/lib/admin/architecture/elements/matrix-view.component.mjs +9 -10
  32. package/esm2022/lib/admin/architecture/elements/parallel-view.component.mjs +12 -13
  33. package/esm2022/lib/admin/architecture/elements/performance-report.component.mjs +10 -11
  34. package/esm2022/lib/admin/architecture/elements/performance-widget.component.mjs +10 -11
  35. package/esm2022/lib/admin/architecture/elements/pivot-view.component.mjs +10 -11
  36. package/esm2022/lib/admin/architecture/elements/report.component.mjs +10 -11
  37. package/esm2022/lib/admin/architecture/elements/return-to-role-action.component.mjs +8 -9
  38. package/esm2022/lib/admin/architecture/elements/role.component.mjs +13 -14
  39. package/esm2022/lib/admin/architecture/elements/sum-view.component.mjs +10 -11
  40. package/esm2022/lib/admin/architecture/elements/tasks-report.component.mjs +13 -13
  41. package/esm2022/lib/admin/architecture/elements/type.component.mjs +18 -19
  42. package/esm2022/lib/admin/architecture/elements/usage-report.component.mjs +11 -12
  43. package/esm2022/lib/admin/architecture/elements/widget.component.mjs +10 -11
  44. package/esm2022/lib/admin/architecture/icon-picker.component.mjs +7 -8
  45. package/esm2022/lib/admin/core/color-picker.input.mjs +5 -6
  46. package/esm2022/lib/admin/core/localized-string.component.mjs +10 -11
  47. package/esm2022/lib/admin/diff/configuration-diff.component.mjs +11 -11
  48. package/esm2022/lib/admin/document-trace/document-trace.component.mjs +18 -18
  49. package/esm2022/lib/admin/document-trace/reassign.dialog.mjs +12 -12
  50. package/esm2022/lib/admin/document-trace/trace-element.component.mjs +13 -12
  51. package/esm2022/lib/admin/form/designer/box-designer.component.mjs +24 -60
  52. package/esm2022/lib/admin/form/designer/declarations.mjs +1 -1
  53. package/esm2022/lib/admin/form/designer/design-control.component.mjs +41 -0
  54. package/esm2022/lib/admin/form/designer/properties.component.mjs +11 -12
  55. package/esm2022/lib/admin/form/designer/section.component.mjs +11 -12
  56. package/esm2022/lib/admin/form/workflow/node.component.mjs +9 -10
  57. package/esm2022/lib/admin/form/workflow/role-node.component.mjs +15 -16
  58. package/esm2022/lib/admin/form/workflow/workflow.component.mjs +3 -3
  59. package/esm2022/lib/admin/indices/manage-cube-index.component.mjs +13 -13
  60. package/esm2022/lib/admin/patterns/patterns.component.mjs +19 -19
  61. package/esm2022/lib/admin/permissions/permissions.component.mjs +14 -15
  62. package/esm2022/lib/admin/positions/positions-popup.component.mjs +11 -11
  63. package/esm2022/lib/admin/positions/positions.component.mjs +23 -24
  64. package/esm2022/lib/admin/profiler/outofoffice.component.mjs +13 -13
  65. package/esm2022/lib/admin/profiler/profiler.component.mjs +15 -15
  66. package/esm2022/lib/browse/browse-items.component.mjs +4 -4
  67. package/esm2022/lib/browse/browse.mobile.component.mjs +15 -16
  68. package/esm2022/lib/browse/browse.pane.component.mjs +14 -15
  69. package/esm2022/lib/browse/expanded-item/expanded-item.component.mjs +14 -15
  70. package/esm2022/lib/browse/filter/filter.component.mjs +13 -13
  71. package/esm2022/lib/browse/folders-menu.component.mjs +10 -11
  72. package/esm2022/lib/chat/chat.mobile.component.mjs +5 -6
  73. package/esm2022/lib/chat/contacts.component.mjs +16 -16
  74. package/esm2022/lib/chat/conversation.component.mjs +13 -14
  75. package/esm2022/lib/compose/action/action-picker.component.mjs +9 -10
  76. package/esm2022/lib/compose/action/action.dialog.mjs +8 -9
  77. package/esm2022/lib/compose/action/action.pane.dialog.exp.mjs +6 -7
  78. package/esm2022/lib/compose/action/assign-action.component.mjs +12 -12
  79. package/esm2022/lib/compose/action/moveto-action.component.mjs +11 -11
  80. package/esm2022/lib/compose/action/return-action.component.mjs +9 -9
  81. package/esm2022/lib/compose/attachments/attachments.component.mjs +11 -12
  82. package/esm2022/lib/compose/attachments/preview/attachment-preview.component.mjs +8 -9
  83. package/esm2022/lib/compose/box/box.component.mjs +7 -8
  84. package/esm2022/lib/compose/comments/comment.component.mjs +14 -15
  85. package/esm2022/lib/compose/comments/comments.component.mjs +8 -9
  86. package/esm2022/lib/compose/comments/edits.component.mjs +5 -5
  87. package/esm2022/lib/compose/comments/quick-comment.component.exp.mjs +5 -6
  88. package/esm2022/lib/compose/comments/votes.component.mjs +8 -8
  89. package/esm2022/lib/compose/compose.mobile.component.mjs +16 -17
  90. package/esm2022/lib/compose/compose.pane.component.mjs +30 -24
  91. package/esm2022/lib/compose/copy/copy.dialog.mjs +11 -11
  92. package/esm2022/lib/compose/events/events.component.mjs +7 -8
  93. package/esm2022/lib/compose/form-selector/form-selector.sheet.mjs +7 -8
  94. package/esm2022/lib/compose/form.component.mjs +5 -5
  95. package/esm2022/lib/compose/new-menu.component.mjs +8 -9
  96. package/esm2022/lib/compose/tag/tags.component.mjs +10 -10
  97. package/esm2022/lib/compose/trace/people.component.mjs +4 -5
  98. package/esm2022/lib/compose/version-compare/version.pane.component.mjs +10 -11
  99. package/esm2022/lib/core/animations.mjs +7 -1
  100. package/esm2022/lib/core/checkbox.mjs +20 -17
  101. package/esm2022/lib/core/fields/address.field.mjs +35 -26
  102. package/esm2022/lib/core/fields/autocomplete.field.mjs +68 -52
  103. package/esm2022/lib/core/fields/checkbox.field.mjs +9 -10
  104. package/esm2022/lib/core/fields/checklist.designer.mjs +66 -47
  105. package/esm2022/lib/core/fields/checklist.field.mjs +8 -9
  106. package/esm2022/lib/core/fields/date-range.field.mjs +6 -6
  107. package/esm2022/lib/core/fields/date.field.mjs +10 -11
  108. package/esm2022/lib/core/fields/expression.field.mjs +31 -23
  109. package/esm2022/lib/core/fields/file.field.mjs +8 -9
  110. package/esm2022/lib/core/fields/html.field.mjs +9 -10
  111. package/esm2022/lib/core/fields/input.field.mjs +8 -9
  112. package/esm2022/lib/core/fields/numeric.field.mjs +7 -7
  113. package/esm2022/lib/core/fields/options.component.mjs +11 -12
  114. package/esm2022/lib/core/fields/radio-button.designer.mjs +10 -11
  115. package/esm2022/lib/core/fields/radio-button.field.mjs +8 -9
  116. package/esm2022/lib/core/fields/select.designer.mjs +71 -52
  117. package/esm2022/lib/core/fields/select.field.mjs +9 -10
  118. package/esm2022/lib/core/fields/signature.field.mjs +10 -11
  119. package/esm2022/lib/core/fields/switch.field.mjs +8 -9
  120. package/esm2022/lib/core/fields/tags.field.mjs +9 -10
  121. package/esm2022/lib/core/fields/textarea.field.mjs +9 -10
  122. package/esm2022/lib/core/fields/time.field.mjs +9 -10
  123. package/esm2022/lib/core/fields/timespan.field.mjs +33 -26
  124. package/esm2022/lib/core/fields/yesno.designer.mjs +70 -55
  125. package/esm2022/lib/core/fields/yesno.field.mjs +8 -9
  126. package/esm2022/lib/core/guide/guide.component.mjs +7 -8
  127. package/esm2022/lib/core/guide/help-tip.component.mjs +21 -18
  128. package/esm2022/lib/core/identity/identity.component.mjs +5 -6
  129. package/esm2022/lib/core/inputs/address.input.mjs +24 -21
  130. package/esm2022/lib/core/inputs/auto-complete.input.mjs +42 -26
  131. package/esm2022/lib/core/inputs/combination-picker-body.mjs +12 -13
  132. package/esm2022/lib/core/inputs/combination-picker.mjs +8 -5
  133. package/esm2022/lib/core/inputs/combination-pool.mjs +7 -8
  134. package/esm2022/lib/core/inputs/file.input.mjs +11 -12
  135. package/esm2022/lib/core/inputs/select.input.mjs +39 -23
  136. package/esm2022/lib/core/inputs/time-picker.mjs +6 -7
  137. package/esm2022/lib/core/mailbox.service.mjs +1 -1
  138. package/esm2022/lib/core/models.mjs +1 -1
  139. package/esm2022/lib/core/none.component.mjs +19 -22
  140. package/esm2022/lib/core/slots/slots.component.mjs +13 -14
  141. package/esm2022/lib/core/tagging/documents.component.mjs +7 -7
  142. package/esm2022/lib/core/tagging/edit-input.component.mjs +12 -13
  143. package/esm2022/lib/core/tagging/users.component.mjs +7 -7
  144. package/esm2022/lib/core/translations.mjs +4 -2
  145. package/esm2022/lib/cube/cube-menu.component.mjs +8 -9
  146. package/esm2022/lib/cube/explore/explore-items.component.mjs +8 -8
  147. package/esm2022/lib/cube/filter/filter-tags.component.exp.mjs +6 -7
  148. package/esm2022/lib/cube/filter/filter.component.mjs +11 -11
  149. package/esm2022/lib/cube/grid/spreadsheet.component.mjs +1 -2
  150. package/esm2022/lib/cube/matrix/matrix.mobile.component.mjs +12 -12
  151. package/esm2022/lib/cube/matrix/matrix.pane.component.mjs +12 -12
  152. package/esm2022/lib/cube/matrix/popup.component.mjs +10 -10
  153. package/esm2022/lib/cube/matrix/table.component.mjs +3 -4
  154. package/esm2022/lib/cube/parallel/parallel.component.mjs +4 -5
  155. package/esm2022/lib/cube/sum/sum.component.mjs +10 -8
  156. package/esm2022/lib/cube/view.mobile.component.mjs +16 -17
  157. package/esm2022/lib/cube/view.pane.component.mjs +12 -13
  158. package/esm2022/lib/dashboard/dashboard.component.mjs +11 -12
  159. package/esm2022/lib/dashboard/recents/recents.widget.mjs +14 -13
  160. package/esm2022/lib/dashboard/score/activity.widget.mjs +4 -5
  161. package/esm2022/lib/dashboard/score/peers-performance.widget.mjs +5 -5
  162. package/esm2022/lib/dashboard/score/pending-results.widget.mjs +11 -12
  163. package/esm2022/lib/dashboard/score/personal-score.widget.mjs +3 -2
  164. package/esm2022/lib/designer.module.mjs +6 -5
  165. package/esm2022/lib/home/about/about.dialog.mjs +7 -8
  166. package/esm2022/lib/home/home.desktop.component.mjs +17 -18
  167. package/esm2022/lib/home/home.mobile.component.mjs +16 -17
  168. package/esm2022/lib/home/notifications/notifications.component.mjs +3 -3
  169. package/esm2022/lib/home/options/options.component.mjs +11 -11
  170. package/esm2022/lib/home/outofoffice/outofoffice.component.mjs +8 -9
  171. package/esm2022/lib/home/tools.component.mjs +13 -13
  172. package/esm2022/lib/impersonate/impersonate.component.mjs +10 -10
  173. package/esm2022/lib/modules/gantt.module.mjs +4 -2
  174. package/esm2022/lib/notifications/notifications-table.component.mjs +3 -3
  175. package/esm2022/lib/notifications/types/commented.notification.mjs +19 -12
  176. package/esm2022/lib/notifications/types/escalated.notification.mjs +6 -6
  177. package/esm2022/lib/notifications/types/liked.notification.mjs +19 -12
  178. package/esm2022/lib/notifications/types/tagged.notification.mjs +9 -9
  179. package/esm2022/lib/notifications/types/text.notification.mjs +6 -3
  180. package/esm2022/lib/options/options.component.mjs +52 -28
  181. package/esm2022/lib/options/options.service.mjs +26 -6
  182. package/esm2022/lib/reports/cube/table-documents.component.mjs +10 -10
  183. package/esm2022/lib/reports/report.mobile.component.mjs +12 -13
  184. package/esm2022/lib/reports/report.pane.component.mjs +10 -11
  185. package/esm2022/lib/reports/reports-menu.component.mjs +7 -8
  186. package/esm2022/lib/reports/substitution/substitution.component.mjs +10 -11
  187. package/esm2022/lib/reports/table/table-view.component.mjs +5 -6
  188. package/esm2022/lib/search/path.component.mjs +17 -18
  189. package/esm2022/lib/shared.module.mjs +4 -2
  190. package/esm2022/lib/system.module.mjs +6 -6
  191. package/esm2022/lib/views/cube/chart.component.mjs +6 -7
  192. package/esm2022/lib/views/cube/cube-base.mjs +11 -6
  193. package/esm2022/lib/views/cube/explore.component.mjs +10 -10
  194. package/esm2022/lib/views/cube/matrix.component.mjs +13 -11
  195. package/esm2022/lib/views/cube/parallel.component.mjs +4 -5
  196. package/esm2022/lib/views/cube/pivot.component.mjs +4 -5
  197. package/esm2022/lib/views/cube/sum.component.mjs +12 -10
  198. package/esm2022/lib/views/cube/view.component.mjs +11 -12
  199. package/esm2022/lib/views/timeline/timeline.component.exp.mjs +199 -200
  200. package/esm2022/lib/views/views.component.mjs +4 -5
  201. package/esm2022/lib/views/views.pane.component.mjs +2 -2
  202. package/esm2022/public-api.mjs +3 -1
  203. package/fesm2022/bizdoc-core.mjs +3552 -3319
  204. package/fesm2022/bizdoc-core.mjs.map +1 -1
  205. package/lib/admin/architecture/elements/analysis-view.component.d.ts +2 -2
  206. package/lib/admin/architecture/elements/cube-view.component.d.ts +2 -2
  207. package/lib/admin/architecture/elements/form.component.d.ts +5 -5
  208. package/lib/admin/architecture/elements/matrix-view.component.d.ts +17 -9
  209. package/lib/admin/architecture/elements/parallel-view.component.d.ts +5 -5
  210. package/lib/admin/architecture/elements/tasks-report.component.d.ts +3 -2
  211. package/lib/admin/form/designer/box-designer.component.d.ts +26 -23
  212. package/lib/admin/form/designer/declarations.d.ts +2 -2
  213. package/lib/admin/form/designer/design-control.component.d.ts +19 -0
  214. package/lib/admin/form/designer/section.component.d.ts +3 -3
  215. package/lib/browse/browse-items.component.d.ts +1 -1
  216. package/lib/compose/attachments/attachments.component.d.ts +2 -2
  217. package/lib/compose/compose.pane.component.d.ts +4 -2
  218. package/lib/core/animations.d.ts +1 -0
  219. package/lib/core/inputs/combination-picker.d.ts +1 -0
  220. package/lib/core/mailbox.service.d.ts +4 -3
  221. package/lib/core/models.d.ts +1 -1
  222. package/lib/core/translations.d.ts +2 -0
  223. package/lib/cube/matrix/table.component.d.ts +2 -2
  224. package/lib/dashboard/score/peers-performance.widget.d.ts +1 -1
  225. package/lib/designer.module.d.ts +27 -26
  226. package/lib/notifications/types/escalated.notification.d.ts +1 -1
  227. package/lib/notifications/types/tagged.notification.d.ts +1 -1
  228. package/lib/notifications/types/text.notification.d.ts +1 -1
  229. package/lib/options/options.component.d.ts +6 -4
  230. package/lib/options/options.service.d.ts +7 -2
  231. package/lib/shared.module.d.ts +1 -1
  232. package/lib/system.module.d.ts +25 -25
  233. package/lib/views/cube/cube-base.d.ts +1 -1
  234. package/lib/views/cube/sum.component.d.ts +1 -0
  235. package/lib/views/timeline/timeline.component.exp.d.ts +12 -4
  236. package/package.json +1 -1
  237. package/public-api.d.ts +2 -0
@@ -5,12 +5,11 @@ import { MatInput } from '@angular/material/input';
5
5
  import { BizDoc } from '../decorators';
6
6
  import { FieldKind } from '../models';
7
7
  import * as i0 from "@angular/core";
8
- import * as i1 from "@angular/common";
9
- import * as i2 from "@angular/forms";
10
- import * as i3 from "@angular/material/form-field";
11
- import * as i4 from "@angular/material/input";
12
- import * as i5 from "../pipes/localized-string.pipe";
13
- import * as i6 from "../pipes/translate.pipe";
8
+ import * as i1 from "@angular/forms";
9
+ import * as i2 from "@angular/material/form-field";
10
+ import * as i3 from "@angular/material/input";
11
+ import * as i4 from "../pipes/localized-string.pipe";
12
+ import * as i5 from "../pipes/translate.pipe";
14
13
  let InputField = class InputField {
15
14
  constructor() {
16
15
  this.control = new FormControl();
@@ -39,7 +38,7 @@ let InputField = class InputField {
39
38
  }
40
39
  focus() { this.input.focus(); }
41
40
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: InputField, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
42
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: InputField, selector: "ng-component", host: { classAttribute: "field" }, viewQueries: [{ propertyName: "input", first: true, predicate: MatInput, descendants: true }], ngImport: i0, template: "<mat-form-field [appearance]=appearance *ngIf=\"mode==='compose';else view\">\r\n <mat-label>{{label |localizedString}}</mat-label>\r\n <input matInput [formControl]=control [placeholder]=\"placeholder|localizedString\"\r\n [required]=\"required\" [minlength]=\"minLength\" [maxlength]=\"maxLength\" [pattern]=\"pattern\" />\r\n <mat-hint *ngIf=\"hint\"> {{ hint |localizedString}}</mat-hint>\r\n <mat-error *ngIf=\"control.hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:(label|localizedString)\"></mat-error>\r\n <mat-error *ngIf=\"control.hasError('minLength')\" [innerHTML]=\"'MinLengthErr'|translate:(label|localizedString):minLength\"></mat-error>\r\n <mat-error *ngIf=\"control.hasError('maxLength')\" [innerHTML]=\"'MaxLengthErr'|translate:(label|localizedString):maxLength\"></mat-error>\r\n <mat-error *ngIf=\"control.hasError('email')\" [innerHTML]=\"'EmailErr'|translate:(label|localizedString)\"></mat-error>\r\n <mat-error *ngIf=\"control.hasError('pattern')\" [innerHTML]=\"'PatternErr'|translate:(label|localizedString)\"></mat-error>\r\n</mat-form-field>\r\n<ng-template #view>\r\n <ng-container [ngSwitch]=\"kind\">\r\n <a *ngSwitchCase=\"'PhoneNumber'\" [href]=\"'tel:'+control.value\">{{control.value}}</a>\r\n <a *ngSwitchCase=\"'EmailAddress'\" [href]=\"control.value\">{{control.value}}</a>\r\n <a *ngSwitchCase=\"'Url'\" [href]=\"control.value\">{{control.value}}</a>\r\n <span *ngSwitchCase=\"'Password'\">\r\n </span>\r\n <span *ngSwitchDefault>{{control.value}}</span>\r\n </ng-container>\r\n</ng-template>\r\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { 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.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.MinLengthValidator, selector: "[minlength][formControlName],[minlength][formControl],[minlength][ngModel]", inputs: ["minlength"] }, { kind: "directive", type: i2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i2.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i4.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: "pipe", type: i5.LocalizedStringPipe, name: "localizedString" }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] }); }
41
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.1", type: InputField, selector: "ng-component", host: { classAttribute: "field" }, viewQueries: [{ propertyName: "input", first: true, predicate: MatInput, descendants: true }], ngImport: i0, template: "@if (mode==='compose') {\n <mat-form-field [appearance]=appearance>\n <mat-label>{{label |localizedString}}</mat-label>\n <input matInput [formControl]=control [placeholder]=\"placeholder|localizedString\"\n [required]=\"required\" [minlength]=\"minLength\" [maxlength]=\"maxLength\" [pattern]=\"pattern\" />\n @if (hint) {\n <mat-hint> {{ hint |localizedString}}</mat-hint>\n }\n @if (control.hasError('required')) {\n <mat-error [innerHTML]=\"'RequiredErr'|translate:(label|localizedString)\"></mat-error>\n }\n @if (control.hasError('minLength')) {\n <mat-error [innerHTML]=\"'MinLengthErr'|translate:(label|localizedString):minLength\"></mat-error>\n }\n @if (control.hasError('maxLength')) {\n <mat-error [innerHTML]=\"'MaxLengthErr'|translate:(label|localizedString):maxLength\"></mat-error>\n }\n @if (control.hasError('email')) {\n <mat-error [innerHTML]=\"'EmailErr'|translate:(label|localizedString)\"></mat-error>\n }\n @if (control.hasError('pattern')) {\n <mat-error [innerHTML]=\"'PatternErr'|translate:(label|localizedString)\"></mat-error>\n }\n </mat-form-field>\n } @else {\n @switch (kind) {\n @case ('PhoneNumber') {\n <a [href]=\"'tel:'+control.value\">{{control.value}}</a>\n }\n @case ('EmailAddress') {\n <a [href]=\"control.value\">{{control.value}}</a>\n }\n @case ('Url') {\n <a [href]=\"control.value\">{{control.value}}</a>\n }\n @case ('Password') {\n <span>\n </span>\n }\n @default {\n <span>{{control.value}}</span>\n }\n }\n }\n", dependencies: [{ kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.MinLengthValidator, selector: "[minlength][formControlName],[minlength][formControl],[minlength][ngModel]", inputs: ["minlength"] }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { 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: "pipe", type: i4.LocalizedStringPipe, name: "localizedString" }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }] }); }
43
42
  };
44
43
  InputField = __decorate([
45
44
  BizDoc({ selector: 'text-control' })
@@ -47,9 +46,9 @@ InputField = __decorate([
47
46
  export { InputField };
48
47
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: InputField, decorators: [{
49
48
  type: Component,
50
- args: [{ host: { class: 'field' }, template: "<mat-form-field [appearance]=appearance *ngIf=\"mode==='compose';else view\">\r\n <mat-label>{{label |localizedString}}</mat-label>\r\n <input matInput [formControl]=control [placeholder]=\"placeholder|localizedString\"\r\n [required]=\"required\" [minlength]=\"minLength\" [maxlength]=\"maxLength\" [pattern]=\"pattern\" />\r\n <mat-hint *ngIf=\"hint\"> {{ hint |localizedString}}</mat-hint>\r\n <mat-error *ngIf=\"control.hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:(label|localizedString)\"></mat-error>\r\n <mat-error *ngIf=\"control.hasError('minLength')\" [innerHTML]=\"'MinLengthErr'|translate:(label|localizedString):minLength\"></mat-error>\r\n <mat-error *ngIf=\"control.hasError('maxLength')\" [innerHTML]=\"'MaxLengthErr'|translate:(label|localizedString):maxLength\"></mat-error>\r\n <mat-error *ngIf=\"control.hasError('email')\" [innerHTML]=\"'EmailErr'|translate:(label|localizedString)\"></mat-error>\r\n <mat-error *ngIf=\"control.hasError('pattern')\" [innerHTML]=\"'PatternErr'|translate:(label|localizedString)\"></mat-error>\r\n</mat-form-field>\r\n<ng-template #view>\r\n <ng-container [ngSwitch]=\"kind\">\r\n <a *ngSwitchCase=\"'PhoneNumber'\" [href]=\"'tel:'+control.value\">{{control.value}}</a>\r\n <a *ngSwitchCase=\"'EmailAddress'\" [href]=\"control.value\">{{control.value}}</a>\r\n <a *ngSwitchCase=\"'Url'\" [href]=\"control.value\">{{control.value}}</a>\r\n <span *ngSwitchCase=\"'Password'\">\r\n </span>\r\n <span *ngSwitchDefault>{{control.value}}</span>\r\n </ng-container>\r\n</ng-template>\r\n" }]
49
+ args: [{ host: { class: 'field' }, template: "@if (mode==='compose') {\n <mat-form-field [appearance]=appearance>\n <mat-label>{{label |localizedString}}</mat-label>\n <input matInput [formControl]=control [placeholder]=\"placeholder|localizedString\"\n [required]=\"required\" [minlength]=\"minLength\" [maxlength]=\"maxLength\" [pattern]=\"pattern\" />\n @if (hint) {\n <mat-hint> {{ hint |localizedString}}</mat-hint>\n }\n @if (control.hasError('required')) {\n <mat-error [innerHTML]=\"'RequiredErr'|translate:(label|localizedString)\"></mat-error>\n }\n @if (control.hasError('minLength')) {\n <mat-error [innerHTML]=\"'MinLengthErr'|translate:(label|localizedString):minLength\"></mat-error>\n }\n @if (control.hasError('maxLength')) {\n <mat-error [innerHTML]=\"'MaxLengthErr'|translate:(label|localizedString):maxLength\"></mat-error>\n }\n @if (control.hasError('email')) {\n <mat-error [innerHTML]=\"'EmailErr'|translate:(label|localizedString)\"></mat-error>\n }\n @if (control.hasError('pattern')) {\n <mat-error [innerHTML]=\"'PatternErr'|translate:(label|localizedString)\"></mat-error>\n }\n </mat-form-field>\n } @else {\n @switch (kind) {\n @case ('PhoneNumber') {\n <a [href]=\"'tel:'+control.value\">{{control.value}}</a>\n }\n @case ('EmailAddress') {\n <a [href]=\"control.value\">{{control.value}}</a>\n }\n @case ('Url') {\n <a [href]=\"control.value\">{{control.value}}</a>\n }\n @case ('Password') {\n <span>\n </span>\n }\n @default {\n <span>{{control.value}}</span>\n }\n }\n }\n" }]
51
50
  }], propDecorators: { input: [{
52
51
  type: ViewChild,
53
52
  args: [MatInput]
54
53
  }] } });
55
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQuZmllbGQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8u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b24/OiBzdHJpbmc7XHJcbiAgbWF4TGVuZ3RoPzogbnVtYmVyO1xyXG4gIG1pbkxlbmd0aD86IG51bWJlcjtcclxuICByZXF1aXJlZD86IGJvb2xlYW47XHJcbiAgcGF0dGVybj86IHN0cmluZztcclxuICBwbGFjZWhvbGRlcj86IHN0cmluZztcclxuICBsYWJlbD86IHN0cmluZztcclxuICByZWFkb25seSBjb250cm9sID0gbmV3IEZvcm1Db250cm9sKCk7XHJcbiAgQFZpZXdDaGlsZChNYXRJbnB1dCkgaW5wdXQ6IE1hdElucHV0O1xyXG4gIHR5cGU6IHN0cmluZztcclxuICBuZ09uSW5pdCgpOiB2b2lkIHtcclxuICAgIHN3aXRjaCAodGhpcy50eXBlKSB7XHJcbiAgICAgIGNhc2UgRmllbGRLaW5kLkVtYWlsQWRkcmVzczpcclxuICAgICAgICB0aGlzLnR5cGUgPSAnZW1haWwnO1xyXG4gICAgICAgIHRoaXMuY29udHJvbC5hZGRWYWxpZGF0b3JzKFZhbGlkYXRvcnMuZW1haWwpO1xyXG4gICAgICAgIGJyZWFrO1xyXG4gICAgICBjYXNlIEZpZWxkS2luZC5QaG9uZU51bWJlcjpcclxuICAgICAgICB0aGlzLnR5cGUgPSAndGVsJztcclxuICAgICAgICBicmVhaztcclxuICAgICAgY2FzZSBGaWVsZEtpbmQuVXJsOlxyXG4gICAgICAgIHRoaXMudHlwZSA9ICd1cmwnO1xyXG4gICAgICAgIGJyZWFrO1xyXG4gICAgICBjYXNlIEZpZWxkS2luZC5QYXNzd29yZDpcclxuICAgICAgICB0aGlzLnR5cGUgPSAncGFzc3dvcmQnO1xyXG4gICAgICAgIGJyZWFrO1xyXG4gICAgICBkZWZhdWx0OlxyXG4gICAgfVxyXG4gICAgdGhpcy5taW5MZW5ndGggJiYgdGhpcy5jb250cm9sLmFkZFZhbGlkYXRvcnMoVmFsaWRhdG9ycy5taW5MZW5ndGgodGhpcy5taW5MZW5ndGgpKTtcclxuICAgIHRoaXMubWF4TGVuZ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Wx8bG9jYWxpemVkU3RyaW5nKVwiPjwvbWF0LWVycm9yPlxuICAgICAgfVxuICAgICAgQGlmIChjb250cm9sLmhhc0Vycm9yKCdwYXR0ZXJuJykpIHtcbiAgICAgICAgPG1hdC1lcnJvciBbaW5uZXJIVE1MXT1cIidQYXR0ZXJuRXJyJ3x0cmFuc2xhdGU6KGxhYmVsfGxvY2FsaXplZFN0cmluZylcIj48L21hdC1lcnJvcj5cbiAgICAgIH1cbiAgICA8L21hdC1mb3JtLWZpZWxkPlxuICB9IEBlbHNlIHtcbiAgICBAc3dpdGNoIChraW5kKSB7XG4gICAgICBAY2FzZSAoJ1Bob25lTnVtYmVyJykge1xuICAgICAgICA8YSBbaHJlZl09XCIndGVsOicrY29udHJvbC52YWx1ZVwiPnt7Y29udHJvbC52YWx1ZX19PC9hPlxuICAgICAgfVxuICAgICAgQGNhc2UgKCdFbWFpbEFkZHJlc3MnKSB7XG4gICAgICAgIDxhIFtocmVmXT1cImNvbnRyb2wudmFsdWVcIj57e2NvbnRyb2wudmFsdWV9fTwvYT5cbiAgICAgIH1cbiAgICAgIEBjYXNlICgnVXJsJykge1xuICAgICAgICA8YSBbaHJlZl09XCJjb250cm9sLnZhbHVlXCI+e3tjb250cm9sLnZhbHVlfX08L2E+XG4gICAgICB9XG4gICAgICBAY2FzZSAoJ1Bhc3N3b3JkJykge1xuICAgICAgICA8c3Bhbj5cbiAgICAgICAgPC9zcGFuPlxuICAgICAgfVxuICAgICAgQGRlZmF1bHQge1xuICAgICAgICA8c3Bhbj57e2NvbnRyb2wudmFsdWV9fTwvc3Bhbj5cbiAgICAgIH1cbiAgICB9XG4gIH1cbiJdfQ==
@@ -4,10 +4,10 @@ import { FormControl, Validators } from '@angular/forms';
4
4
  import { MatInput } from '@angular/material/input';
5
5
  import { BizDoc } from '../decorators';
6
6
  import * as i0 from "@angular/core";
7
- import * as i1 from "@angular/common";
8
- import * as i2 from "@angular/forms";
9
- import * as i3 from "@angular/material/form-field";
10
- import * as i4 from "@angular/material/input";
7
+ import * as i1 from "@angular/forms";
8
+ import * as i2 from "@angular/material/form-field";
9
+ import * as i3 from "@angular/material/input";
10
+ import * as i4 from "@angular/common";
11
11
  import * as i5 from "../pipes/localized-string.pipe";
12
12
  import * as i6 from "../pipes/translate.pipe";
13
13
  let NumericField = class NumericField {
@@ -21,7 +21,7 @@ let NumericField = class NumericField {
21
21
  this.max && this.control.addValidators(Validators.maxLength(this.max));
22
22
  }
23
23
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: NumericField, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
24
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: NumericField, selector: "ng-component", host: { classAttribute: "field" }, viewQueries: [{ propertyName: "input", first: true, predicate: MatInput, descendants: true }], ngImport: i0, template: "<mat-form-field [appearance]=appearance *ngIf=\"mode==='compose';else view\">\r\n <mat-label>{{label|localizedString}}</mat-label>\r\n <input matInput type=\"number\" [formControl]=control [placeholder]=\"placeholder|localizedString\"\r\n [required]=\"required\" [min]=\"min\" [max]=\"max\" [pattern]=\"pattern\" />\r\n <mat-hint *ngIf=\"hint\"> {{ hint |localizedString}}</mat-hint>\r\n <mat-error *ngIf=\"control.hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:(label|localizedString)\"></mat-error>\r\n</mat-form-field>\r\n<ng-template #view>\r\n {{control.value|number}}\r\n</ng-template>\r\n", dependencies: [{ 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.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i2.MinValidator, selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", inputs: ["min"] }, { kind: "directive", type: i2.MaxValidator, selector: "input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]", inputs: ["max"] }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i4.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: "pipe", type: i1.DecimalPipe, name: "number" }, { kind: "pipe", type: i5.LocalizedStringPipe, name: "localizedString" }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] }); }
24
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.1", type: NumericField, selector: "ng-component", host: { classAttribute: "field" }, viewQueries: [{ propertyName: "input", first: true, predicate: MatInput, descendants: true }], ngImport: i0, template: "@if (mode==='compose') {\n <mat-form-field [appearance]=appearance>\n <mat-label>{{label|localizedString}}</mat-label>\n <input matInput type=\"number\" [formControl]=control [placeholder]=\"placeholder|localizedString\"\n [required]=\"required\" [min]=\"min\" [max]=\"max\" [pattern]=\"pattern\" />\n @if (hint) {\n <mat-hint> {{ hint |localizedString}}</mat-hint>\n }\n @if (control.hasError('required')) {\n <mat-error [innerHTML]=\"'RequiredErr'|translate:(label|localizedString)\"></mat-error>\n }\n </mat-form-field>\n } @else {\n {{control.value|number}}\n }\n", dependencies: [{ kind: "directive", type: i1.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: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i1.MinValidator, selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", inputs: ["min"] }, { kind: "directive", type: i1.MaxValidator, selector: "input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]", inputs: ["max"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { 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: "pipe", type: i4.DecimalPipe, name: "number" }, { kind: "pipe", type: i5.LocalizedStringPipe, name: "localizedString" }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] }); }
25
25
  };
26
26
  NumericField = __decorate([
27
27
  BizDoc({ selector: 'number-control' })
@@ -29,9 +29,9 @@ NumericField = __decorate([
29
29
  export { NumericField };
30
30
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: NumericField, decorators: [{
31
31
  type: Component,
32
- args: [{ host: { class: 'field' }, template: "<mat-form-field [appearance]=appearance *ngIf=\"mode==='compose';else view\">\r\n <mat-label>{{label|localizedString}}</mat-label>\r\n <input matInput type=\"number\" [formControl]=control [placeholder]=\"placeholder|localizedString\"\r\n [required]=\"required\" [min]=\"min\" [max]=\"max\" [pattern]=\"pattern\" />\r\n <mat-hint *ngIf=\"hint\"> {{ hint |localizedString}}</mat-hint>\r\n <mat-error *ngIf=\"control.hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:(label|localizedString)\"></mat-error>\r\n</mat-form-field>\r\n<ng-template #view>\r\n {{control.value|number}}\r\n</ng-template>\r\n" }]
32
+ args: [{ host: { class: 'field' }, template: "@if (mode==='compose') {\n <mat-form-field [appearance]=appearance>\n <mat-label>{{label|localizedString}}</mat-label>\n <input matInput type=\"number\" [formControl]=control [placeholder]=\"placeholder|localizedString\"\n [required]=\"required\" [min]=\"min\" [max]=\"max\" [pattern]=\"pattern\" />\n @if (hint) {\n <mat-hint> {{ hint |localizedString}}</mat-hint>\n }\n @if (control.hasError('required')) {\n <mat-error [innerHTML]=\"'RequiredErr'|translate:(label|localizedString)\"></mat-error>\n }\n </mat-form-field>\n } @else {\n {{control.value|number}}\n }\n" }]
33
33
  }], propDecorators: { input: [{
34
34
  type: ViewChild,
35
35
  args: [MatInput]
36
36
  }] } });
37
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtZXJpYy5maWVsZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvY29yZS9maWVsZHMvbnVtZXJpYy5maWVsZC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvY29yZS9maWVsZHMvbnVtZXJpYy5maWVsZC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM3RCxPQUFPLEVBQUUsV0FBVyxFQUFFLFVBQVUsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRXpELE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUVuRCxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7Ozs7OztBQU9oQyxJQUFNLFlBQVksR0FBbEIsTUFBTSxZQUFZO0lBQWxCO1FBYUksWUFBTyxHQUFHLElBQUksV0FBVyxFQUFFLENBQUM7S0FPdEM7SUFOQyxLQUFLLEtBQUssSUFBSSxDQUFDLEtBQUssQ0FBQyxLQUFLLEVBQUUsQ0FBQyxDQUFDLENBQUM7SUFDL0IsUUFBUTtRQUNOLElBQUksQ0FBQyxRQUFRLElBQUksSUFBSSxDQUFDLE9BQU8sQ0FBQyxhQUFhLENBQUMsVUFBVSxDQUFDLFFBQVEsQ0FBQyxDQUFDO1FBQ2pFLElBQUksQ0FBQyxHQUFHLElBQUksSUF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3BsYWNlaG9sZGVyXT1cInBsYWNlaG9sZGVyfGxvY2FsaXplZFN0cmluZ1wiXG4gICAgICBbcmVxdWlyZWRdPVwicmVxdWlyZWRcIiBbbWluXT1cIm1pblwiIFttYXhdPVwibWF4XCIgW3BhdHRlcm5dPVwicGF0dGVyblwiIC8+XG4gICAgICBAaWYgKGhpbnQpIHtcbiAgICAgICAgPG1hdC1oaW50PiB7eyBoaW50IHxsb2NhbGl6ZWRTdHJpbmd9fTwvbWF0LWhpbnQ+XG4gICAgICB9XG4gICAgICBAaWYgKGNvbnRyb2wuaGFzRXJyb3IoJ3JlcXVpcmVkJykpIHtcbiAgICAgICAgPG1hdC1lcnJvciBbaW5uZXJIVE1MXT1cIidSZXF1aXJlZEVycid8dHJhbnNsYXRlOihsYWJlbHxsb2NhbGl6ZWRTdHJpbmcpXCI+PC9tYXQtZXJyb3I+XG4gICAgICB9XG4gICAgPC9tYXQtZm9ybS1maWVsZD5cbiAgfSBAZWxzZSB7XG4gICAge3tjb250cm9sLnZhbHVlfG51bWJlcn19XG4gIH1cbiJdfQ==
@@ -3,15 +3,14 @@ import { Validators } from '@angular/forms';
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "../translate.service";
5
5
  import * as i2 from "@angular/forms";
6
- import * as i3 from "@angular/common";
7
- import * as i4 from "@angular/cdk/drag-drop";
8
- import * as i5 from "@angular/material/form-field";
9
- import * as i6 from "@angular/material/button";
10
- import * as i7 from "@angular/material/input";
11
- import * as i8 from "@angular/material/icon";
12
- import * as i9 from "../popup/tooltip.directive";
13
- import * as i10 from "../../admin/core/localized-string.component";
14
- import * as i11 from "../pipes/translate.pipe";
6
+ import * as i3 from "@angular/cdk/drag-drop";
7
+ import * as i4 from "@angular/material/form-field";
8
+ import * as i5 from "@angular/material/button";
9
+ import * as i6 from "@angular/material/input";
10
+ import * as i7 from "@angular/material/icon";
11
+ import * as i8 from "../popup/tooltip.directive";
12
+ import * as i9 from "../../admin/core/localized-string.component";
13
+ import * as i10 from "../pipes/translate.pipe";
15
14
  export class ControlOptionsComponent {
16
15
  ngOnInit() {
17
16
  this.model.options && this.model.options.forEach(o => this.options.push(this._fb.group({
@@ -46,14 +45,14 @@ export class ControlOptionsComponent {
46
45
  //moveItemInArray(event.container.data, event.previousIndex, event.currentIndex);
47
46
  }
48
47
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: ControlOptionsComponent, deps: [{ token: i1.TranslateService }, { token: i2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
49
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: ControlOptionsComponent, selector: "bizdoc-design-options", inputs: { form: "form", model: "model" }, ngImport: i0, template: "<h2 class=\"mat-h2 row\">\r\n {{'Options'|translate}}\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"add()\" [bizdocTooltip]=\"'Add'|translate\"><mat-icon>add_circle_outline</mat-icon></button>\r\n</h2>\r\n<div class=\"column\" cdkDropList (cdkDropListDropped)=\"drop($event)\">\r\n <div *ngFor=\"let c of options.controls; index as index\" class=\"row\" [formGroup]=\"c\" cdkDrag>\r\n <mat-icon cdkDragHandle>drag_indicator</mat-icon>\r\n <mat-form-field class=\"flex\" floatLabel=\"never\">\r\n <input matInput [placeholder]=\"'Key'|l18n\" formControlName=\"key\" required />\r\n </mat-form-field>\r\n &nbsp;\r\n <bizdoc-localized-string formControlName=\"value\" required class=\"row flex\" [placeholder]=\"'Label'|l18n\"></bizdoc-localized-string>\r\n <button mat-icon-button (click)=\"options.removeAt(index)\" [bizdocTooltip]=\"'Remove'|translate\"><mat-icon>delete</mat-icon></button>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i4.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i4.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i4.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "component", type: i6.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "directive", type: i7.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: i8.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i9.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "component", type: i10.LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "floatLabel", "value", "placeholder", "required", "disabled", "maxlength"] }, { kind: "pipe", type: i11.L18nPipe, name: "l18n" }, { kind: "pipe", type: i11.TranslatePipe, name: "translate" }] }); }
48
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.1", type: ControlOptionsComponent, selector: "bizdoc-design-options", inputs: { form: "form", model: "model" }, ngImport: i0, template: "<h2 class=\"mat-h2 row\">\n {{'Options'|translate}}\n <span class=\"divider\"></span>\n <button mat-icon-button (click)=\"add()\" [bizdocTooltip]=\"'Add'|translate\"><mat-icon>add_circle_outline</mat-icon></button>\n</h2>\n<div class=\"column\" cdkDropList (cdkDropListDropped)=\"drop($event)\">\n @for (c of options.controls; track c; let index = $index) {\n <div class=\"row\" [formGroup]=\"c\" cdkDrag>\n <mat-icon cdkDragHandle>drag_indicator</mat-icon>\n <mat-form-field class=\"flex\" floatLabel=\"never\">\n <input matInput [placeholder]=\"'Key'|l18n\" formControlName=\"key\" required />\n </mat-form-field>\n &nbsp;\n <bizdoc-localized-string formControlName=\"value\" required class=\"row flex\" [placeholder]=\"'Label'|l18n\"></bizdoc-localized-string>\n <button mat-icon-button (click)=\"options.removeAt(index)\" [bizdocTooltip]=\"'Remove'|translate\"><mat-icon>delete</mat-icon></button>\n </div>\n }\n</div>\n", dependencies: [{ 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.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i3.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i3.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i3.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "component", type: i5.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "directive", type: i6.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: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i8.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "component", type: i9.LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "floatLabel", "value", "placeholder", "required", "disabled", "maxlength"] }, { kind: "pipe", type: i10.L18nPipe, name: "l18n" }, { kind: "pipe", type: i10.TranslatePipe, name: "translate" }] }); }
50
49
  }
51
50
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: ControlOptionsComponent, decorators: [{
52
51
  type: Component,
53
- args: [{ selector: 'bizdoc-design-options', template: "<h2 class=\"mat-h2 row\">\r\n {{'Options'|translate}}\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"add()\" [bizdocTooltip]=\"'Add'|translate\"><mat-icon>add_circle_outline</mat-icon></button>\r\n</h2>\r\n<div class=\"column\" cdkDropList (cdkDropListDropped)=\"drop($event)\">\r\n <div *ngFor=\"let c of options.controls; index as index\" class=\"row\" [formGroup]=\"c\" cdkDrag>\r\n <mat-icon cdkDragHandle>drag_indicator</mat-icon>\r\n <mat-form-field class=\"flex\" floatLabel=\"never\">\r\n <input matInput [placeholder]=\"'Key'|l18n\" formControlName=\"key\" required />\r\n </mat-form-field>\r\n &nbsp;\r\n <bizdoc-localized-string formControlName=\"value\" required class=\"row flex\" [placeholder]=\"'Label'|l18n\"></bizdoc-localized-string>\r\n <button mat-icon-button (click)=\"options.removeAt(index)\" [bizdocTooltip]=\"'Remove'|translate\"><mat-icon>delete</mat-icon></button>\r\n </div>\r\n</div>\r\n" }]
52
+ args: [{ selector: 'bizdoc-design-options', template: "<h2 class=\"mat-h2 row\">\n {{'Options'|translate}}\n <span class=\"divider\"></span>\n <button mat-icon-button (click)=\"add()\" [bizdocTooltip]=\"'Add'|translate\"><mat-icon>add_circle_outline</mat-icon></button>\n</h2>\n<div class=\"column\" cdkDropList (cdkDropListDropped)=\"drop($event)\">\n @for (c of options.controls; track c; let index = $index) {\n <div class=\"row\" [formGroup]=\"c\" cdkDrag>\n <mat-icon cdkDragHandle>drag_indicator</mat-icon>\n <mat-form-field class=\"flex\" floatLabel=\"never\">\n <input matInput [placeholder]=\"'Key'|l18n\" formControlName=\"key\" required />\n </mat-form-field>\n &nbsp;\n <bizdoc-localized-string formControlName=\"value\" required class=\"row flex\" [placeholder]=\"'Label'|l18n\"></bizdoc-localized-string>\n <button mat-icon-button (click)=\"options.removeAt(index)\" [bizdocTooltip]=\"'Remove'|translate\"><mat-icon>delete</mat-icon></button>\n </div>\n }\n</div>\n" }]
54
53
  }], ctorParameters: () => [{ type: i1.TranslateService }, { type: i2.FormBuilder }], propDecorators: { form: [{
55
54
  type: Input
56
55
  }], model: [{
57
56
  type: Input
58
57
  }] } });
59
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9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+PG1hdC1pY29uPmRlbGV0ZTwvbWF0LWljb24+PC9idXR0b24+XG4gICAgPC9kaXY+XG4gIH1cbjwvZGl2PlxuIl19
@@ -5,14 +5,13 @@ import { OptionsControlDesigner } from "./options.base";
5
5
  import * as i0 from "@angular/core";
6
6
  import * as i1 from "../../admin/system.service";
7
7
  import * as i2 from "@angular/forms";
8
- import * as i3 from "@angular/common";
9
- import * as i4 from "@angular/material/core";
10
- import * as i5 from "@angular/material/form-field";
11
- import * as i6 from "@angular/material/select";
12
- import * as i7 from "../../admin/core/localized-string.component";
13
- import * as i8 from "./options.component";
14
- import * as i9 from "../pipes/sort.pipe";
15
- import * as i10 from "../pipes/translate.pipe";
8
+ import * as i3 from "@angular/material/core";
9
+ import * as i4 from "@angular/material/form-field";
10
+ import * as i5 from "@angular/material/select";
11
+ import * as i6 from "../../admin/core/localized-string.component";
12
+ import * as i7 from "./options.component";
13
+ import * as i8 from "../pipes/sort.pipe";
14
+ import * as i9 from "../pipes/translate.pipe";
16
15
  let RadioButtonControlDesigner = class RadioButtonControlDesigner extends OptionsControlDesigner {
17
16
  constructor(service, _fb) {
18
17
  super(service);
@@ -27,7 +26,7 @@ let RadioButtonControlDesigner = class RadioButtonControlDesigner extends Option
27
26
  this.model = model;
28
27
  }
29
28
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: RadioButtonControlDesigner, deps: [{ token: i1.SystemService }, { token: i2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
30
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: RadioButtonControlDesigner, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <bizdoc-localized-string [placeholder]=\"'Label'|translate\" formControlName=\"label\"></bizdoc-localized-string>\r\n <mat-form-field *ngIf=\"datatypes\">\r\n <mat-label>{{'DataType'|translate}}</mat-label>\r\n <mat-select formControlName=\"dataType\">\r\n <mat-option *ngFor=\"let t of datatypes['_'].elements|sort: 'title'\" [value]=\"t.name\">\r\n {{t.title}}\r\n </mat-option>\r\n <mat-optgroup *ngFor=\"let g of datatypes|sort: 'title'\" [label]=\"g.title\">\r\n <mat-option *ngFor=\"let t of g.elements|sort: 'title'\" [value]=\"t.name\">\r\n {{t.title}}\r\n </mat-option>\r\n </mat-optgroup>\r\n </mat-select>\r\n <mat-error *ngIf=\"form.get('dataType').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('DataType'|translate)\"></mat-error>\r\n </mat-form-field>\r\n <bizdoc-design-options [form]=\"form\" [model]=\"model\"></bizdoc-design-options>\r\n</form>\r\n", dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i4.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: i4.MatOptgroup, selector: "mat-optgroup", inputs: ["label", "disabled"], exportAs: ["matOptgroup"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatLabel, selector: "mat-label" }, { kind: "directive", type: i5.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: i6.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i7.LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "floatLabel", "value", "placeholder", "required", "disabled", "maxlength"] }, { kind: "component", type: i8.ControlOptionsComponent, selector: "bizdoc-design-options", inputs: ["form", "model"] }, { kind: "pipe", type: i9.ArraySortPipe, name: "sort" }, { kind: "pipe", type: i10.TranslatePipe, name: "translate" }] }); }
29
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.1", type: RadioButtonControlDesigner, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\n <bizdoc-localized-string [placeholder]=\"'Label'|translate\" formControlName=\"label\"></bizdoc-localized-string>\n @if (datatypes) {\n <mat-form-field>\n <mat-label>{{'DataType'|translate}}</mat-label>\n <mat-select formControlName=\"dataType\">\n @for (t of datatypes['_'].elements|sort: 'title'; track t) {\n <mat-option [value]=\"t.name\">\n {{t.title}}\n </mat-option>\n }\n @for (g of datatypes|sort: 'title'; track g) {\n <mat-optgroup [label]=\"g.title\">\n @for (t of g.elements|sort: 'title'; track t) {\n <mat-option [value]=\"t.name\">\n {{t.title}}\n </mat-option>\n }\n </mat-optgroup>\n }\n </mat-select>\n @if (form.controls.dataType.hasError('required')) {\n <mat-error [innerHTML]=\"'RequiredErr'|translate:('DataType'|translate)\"></mat-error>\n }\n </mat-form-field>\n }\n <bizdoc-design-options [form]=\"form\" [model]=\"model\"></bizdoc-design-options>\n</form>\n", dependencies: [{ kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: i3.MatOptgroup, selector: "mat-optgroup", inputs: ["label", "disabled"], exportAs: ["matOptgroup"] }, { 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.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: i5.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i6.LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "floatLabel", "value", "placeholder", "required", "disabled", "maxlength"] }, { kind: "component", type: i7.ControlOptionsComponent, selector: "bizdoc-design-options", inputs: ["form", "model"] }, { kind: "pipe", type: i8.ArraySortPipe, name: "sort" }, { kind: "pipe", type: i9.TranslatePipe, name: "translate" }] }); }
31
30
  };
32
31
  RadioButtonControlDesigner = __decorate([
33
32
  BizDoc({ selector: 'radio-button-control-designer' })
@@ -35,6 +34,6 @@ RadioButtonControlDesigner = __decorate([
35
34
  export { RadioButtonControlDesigner };
36
35
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: RadioButtonControlDesigner, decorators: [{
37
36
  type: Component,
38
- args: [{ template: "<form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <bizdoc-localized-string [placeholder]=\"'Label'|translate\" formControlName=\"label\"></bizdoc-localized-string>\r\n <mat-form-field *ngIf=\"datatypes\">\r\n <mat-label>{{'DataType'|translate}}</mat-label>\r\n <mat-select formControlName=\"dataType\">\r\n <mat-option *ngFor=\"let t of datatypes['_'].elements|sort: 'title'\" [value]=\"t.name\">\r\n {{t.title}}\r\n </mat-option>\r\n <mat-optgroup *ngFor=\"let g of datatypes|sort: 'title'\" [label]=\"g.title\">\r\n <mat-option *ngFor=\"let t of g.elements|sort: 'title'\" [value]=\"t.name\">\r\n {{t.title}}\r\n </mat-option>\r\n </mat-optgroup>\r\n </mat-select>\r\n <mat-error *ngIf=\"form.get('dataType').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('DataType'|translate)\"></mat-error>\r\n </mat-form-field>\r\n <bizdoc-design-options [form]=\"form\" [model]=\"model\"></bizdoc-design-options>\r\n</form>\r\n" }]
37
+ args: [{ template: "<form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\n <bizdoc-localized-string [placeholder]=\"'Label'|translate\" formControlName=\"label\"></bizdoc-localized-string>\n @if (datatypes) {\n <mat-form-field>\n <mat-label>{{'DataType'|translate}}</mat-label>\n <mat-select formControlName=\"dataType\">\n @for (t of datatypes['_'].elements|sort: 'title'; track t) {\n <mat-option [value]=\"t.name\">\n {{t.title}}\n </mat-option>\n }\n @for (g of datatypes|sort: 'title'; track g) {\n <mat-optgroup [label]=\"g.title\">\n @for (t of g.elements|sort: 'title'; track t) {\n <mat-option [value]=\"t.name\">\n {{t.title}}\n </mat-option>\n }\n </mat-optgroup>\n }\n </mat-select>\n @if (form.controls.dataType.hasError('required')) {\n <mat-error [innerHTML]=\"'RequiredErr'|translate:('DataType'|translate)\"></mat-error>\n }\n </mat-form-field>\n }\n <bizdoc-design-options [form]=\"form\" [model]=\"model\"></bizdoc-design-options>\n</form>\n" }]
39
38
  }], ctorParameters: () => [{ type: i1.SystemService }, { type: i2.FormBuilder }] });
40
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8tYnV0dG9uLmRlc2lnbmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9jb3JlL2ZpZWxkcy9yYWRpby1idXR0b24uZGVzaWduZXIudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2NvcmUvZmllbGRzL3JhZGlvLWJ1dHRvbi5kZXNpZ25lci5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBSTFDLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFdkMsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7Ozs7Ozs7Ozs7OztBQU1qRCxJQUFNLDBCQUEwQixHQUFoQyxNQUFNLDBCQUEyQixTQUFRLHNCQUFzQjtJQU9wRSxZQUNFLE9BQXNCLEVBQ2QsR0FBZ0I7UUFDeEIsS0FBSyxDQUFDLE9BQU8sQ0FBQyxDQUFDO1FBRFAsUUFBRy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FzRXJyb3IoJ3JlcXVpcmVkJykpIHtcbiAgICA8bWF0LWVycm9yIFtpbm5lckhUTUxdPVwiJ1JlcXVpcmVkRXJyJ3x0cmFuc2xhdGU6KCdEYXRhVHlwZSd8dHJhbnNsYXRlKVwiPjwvbWF0LWVycm9yPlxuICAgIH1cbiAgPC9tYXQtZm9ybS1maWVsZD5cbiAgfVxuICA8Yml6ZG9jLWRlc2lnbi1vcHRpb25zIFtmb3JtXT1cImZvcm1cIiBbbW9kZWxdPVwibW9kZWxcIj48L2JpemRvYy1kZXNpZ24tb3B0aW9ucz5cbjwvZm9ybT5cbiJdfQ==
@@ -5,12 +5,11 @@ import { MatRadioButton } from '@angular/material/radio';
5
5
  import { BizDoc } from '../decorators';
6
6
  import { OptionsControlField } from './options.base';
7
7
  import * as i0 from "@angular/core";
8
- import * as i1 from "@angular/common";
9
- import * as i2 from "@angular/forms";
10
- import * as i3 from "@angular/material/radio";
11
- import * as i4 from "@angular/material/form-field";
12
- import * as i5 from "../pipes/localized-string.pipe";
13
- import * as i6 from "../pipes/translate.pipe";
8
+ import * as i1 from "@angular/forms";
9
+ import * as i2 from "@angular/material/radio";
10
+ import * as i3 from "@angular/material/form-field";
11
+ import * as i4 from "../pipes/localized-string.pipe";
12
+ import * as i5 from "../pipes/translate.pipe";
14
13
  let RadioButtonField = class RadioButtonField extends OptionsControlField {
15
14
  constructor() {
16
15
  super(...arguments);
@@ -18,7 +17,7 @@ let RadioButtonField = class RadioButtonField extends OptionsControlField {
18
17
  }
19
18
  focus() { this.input.focus(); }
20
19
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: RadioButtonField, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
21
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: RadioButtonField, selector: "ng-component", host: { classAttribute: "field" }, viewQueries: [{ propertyName: "input", first: true, predicate: MatRadioButton, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"mode === 'compose'; else view\">\r\n <mat-hint *ngIf=\"hint\"> {{ hint|localizedString }}</mat-hint>\r\n <mat-label>{{label|localizedString}}</mat-label>\r\n <mat-radio-group [formControl]=\"control\">\r\n <mat-radio-button *ngFor=\"let o of options\" [value]=\"o.key\">\r\n {{o.value|localizedString}}\r\n </mat-radio-button>\r\n </mat-radio-group>\r\n <mat-error *ngIf=\"control.hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:(label||name)\"></mat-error>\r\n</div>\r\n<ng-template #view>\r\n <span *ngIf=\"control.value\">\r\n {{optionOf(control.value)|localizedString}}\r\n </span>\r\n</ng-template>\r\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: "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.MatRadioGroup, selector: "mat-radio-group", inputs: ["color", "name", "labelPosition", "value", "selected", "disabled", "required"], outputs: ["change"], exportAs: ["matRadioGroup"] }, { kind: "component", type: i3.MatRadioButton, selector: "mat-radio-button", inputs: ["id", "name", "aria-label", "aria-labelledby", "aria-describedby", "disableRipple", "tabIndex", "checked", "value", "labelPosition", "disabled", "required", "color"], outputs: ["change"], exportAs: ["matRadioButton"] }, { 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: "pipe", type: i5.LocalizedStringPipe, name: "localizedString" }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] }); }
20
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.1", type: RadioButtonField, selector: "ng-component", host: { classAttribute: "field" }, viewQueries: [{ propertyName: "input", first: true, predicate: MatRadioButton, descendants: true }], usesInheritance: true, ngImport: i0, template: "@if (mode === 'compose') {\n <div>\n @if (hint) {\n <mat-hint> {{ hint|localizedString }}</mat-hint>\n }\n <mat-label>{{label|localizedString}}</mat-label>\n <mat-radio-group [formControl]=\"control\">\n @for (o of options; track o) {\n <mat-radio-button [value]=\"o.key\">\n {{o.value|localizedString}}\n </mat-radio-button>\n }\n </mat-radio-group>\n @if (control.hasError('required')) {\n <mat-error [innerHTML]=\"'RequiredErr'|translate:(label|localizedString)\"></mat-error>\n }\n </div>\n} @else {\n @if (control.value) {\n <span>\n {{optionOf(control.value)|localizedString}}\n </span>\n }\n}\n", dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.MatRadioGroup, selector: "mat-radio-group", inputs: ["color", "name", "labelPosition", "value", "selected", "disabled", "required"], outputs: ["change"], exportAs: ["matRadioGroup"] }, { kind: "component", type: i2.MatRadioButton, selector: "mat-radio-button", inputs: ["id", "name", "aria-label", "aria-labelledby", "aria-describedby", "disableRipple", "tabIndex", "checked", "value", "labelPosition", "disabled", "required", "color"], outputs: ["change"], exportAs: ["matRadioButton"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "pipe", type: i4.LocalizedStringPipe, name: "localizedString" }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }] }); }
22
21
  };
23
22
  RadioButtonField = __decorate([
24
23
  BizDoc({ selector: 'radio-button-control' })
@@ -26,9 +25,9 @@ RadioButtonField = __decorate([
26
25
  export { RadioButtonField };
27
26
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: RadioButtonField, decorators: [{
28
27
  type: Component,
29
- args: [{ host: { class: 'field' }, template: "<div *ngIf=\"mode === 'compose'; else view\">\r\n <mat-hint *ngIf=\"hint\"> {{ hint|localizedString }}</mat-hint>\r\n <mat-label>{{label|localizedString}}</mat-label>\r\n <mat-radio-group [formControl]=\"control\">\r\n <mat-radio-button *ngFor=\"let o of options\" [value]=\"o.key\">\r\n {{o.value|localizedString}}\r\n </mat-radio-button>\r\n </mat-radio-group>\r\n <mat-error *ngIf=\"control.hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:(label||name)\"></mat-error>\r\n</div>\r\n<ng-template #view>\r\n <span *ngIf=\"control.value\">\r\n {{optionOf(control.value)|localizedString}}\r\n </span>\r\n</ng-template>\r\n" }]
28
+ args: [{ host: { class: 'field' }, template: "@if (mode === 'compose') {\n <div>\n @if (hint) {\n <mat-hint> {{ hint|localizedString }}</mat-hint>\n }\n <mat-label>{{label|localizedString}}</mat-label>\n <mat-radio-group [formControl]=\"control\">\n @for (o of options; track o) {\n <mat-radio-button [value]=\"o.key\">\n {{o.value|localizedString}}\n </mat-radio-button>\n }\n </mat-radio-group>\n @if (control.hasError('required')) {\n <mat-error [innerHTML]=\"'RequiredErr'|translate:(label|localizedString)\"></mat-error>\n }\n </div>\n} @else {\n @if (control.value) {\n <span>\n {{optionOf(control.value)|localizedString}}\n </span>\n }\n}\n" }]
30
29
  }], propDecorators: { input: [{
31
30
  type: ViewChild,
32
31
  args: [MatRadioButton]
33
32
  }] } });
34
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8tYnV0dG9uLmZpZWxkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4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