ngx-t-forms 2.0.36 → 3.0.0

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 (214) hide show
  1. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-ookGrpnN.mjs → ngx-t-forms-auto-complete-input-element.component-7g5cpVfB.mjs} +4 -4
  2. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-ookGrpnN.mjs.map → ngx-t-forms-auto-complete-input-element.component-7g5cpVfB.mjs.map} +1 -1
  3. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-VektEtrf.mjs → ngx-t-forms-auto-complete-input-element.component-DFApar1W.mjs} +4 -4
  4. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-VektEtrf.mjs.map → ngx-t-forms-auto-complete-input-element.component-DFApar1W.mjs.map} +1 -1
  5. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-CQVuW8z1.mjs → ngx-t-forms-basic-input-input-element.component-BhMw2vpl.mjs} +6 -6
  6. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-CQVuW8z1.mjs.map → ngx-t-forms-basic-input-input-element.component-BhMw2vpl.mjs.map} +1 -1
  7. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-C8D6DN41.mjs → ngx-t-forms-basic-input-input-element.component-ChCeve-w.mjs} +6 -6
  8. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-C8D6DN41.mjs.map → ngx-t-forms-basic-input-input-element.component-ChCeve-w.mjs.map} +1 -1
  9. package/fesm2022/{ngx-t-forms-calculated-field-rules.component-8EgwXTN1.mjs → ngx-t-forms-calculated-field-rules.component-BmWnrfWN.mjs} +4 -4
  10. package/fesm2022/{ngx-t-forms-calculated-field-rules.component-8EgwXTN1.mjs.map → ngx-t-forms-calculated-field-rules.component-BmWnrfWN.mjs.map} +1 -1
  11. package/fesm2022/{ngx-t-forms-calculated-field-rules.component-B_3IbQjp.mjs → ngx-t-forms-calculated-field-rules.component-CJMwqoHL.mjs} +4 -4
  12. package/fesm2022/{ngx-t-forms-calculated-field-rules.component-B_3IbQjp.mjs.map → ngx-t-forms-calculated-field-rules.component-CJMwqoHL.mjs.map} +1 -1
  13. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-B95VIBRi.mjs → ngx-t-forms-chip-options-creator-editor.component-ALkkDotT.mjs} +2 -2
  14. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-B95VIBRi.mjs.map → ngx-t-forms-chip-options-creator-editor.component-ALkkDotT.mjs.map} +1 -1
  15. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-uTCOa48g.mjs → ngx-t-forms-chip-options-creator-editor.component-B54kOArR.mjs} +2 -2
  16. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-uTCOa48g.mjs.map → ngx-t-forms-chip-options-creator-editor.component-B54kOArR.mjs.map} +1 -1
  17. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-BX3zJs-A.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-CAZv0_uR.mjs} +2 -2
  18. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-BX3zJs-A.mjs.map → ngx-t-forms-config-mscoa-additional-inputs.component-CAZv0_uR.mjs.map} +1 -1
  19. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-Dm16WA5Y.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-Dap7QkKD.mjs} +2 -2
  20. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-Dm16WA5Y.mjs.map → ngx-t-forms-config-mscoa-additional-inputs.component-Dap7QkKD.mjs.map} +1 -1
  21. package/fesm2022/{ngx-t-forms-data-source-picker.component-z0l9WEw7.mjs → ngx-t-forms-data-source-picker.component-8G28L1Cg.mjs} +8 -8
  22. package/fesm2022/{ngx-t-forms-data-source-picker.component-z0l9WEw7.mjs.map → ngx-t-forms-data-source-picker.component-8G28L1Cg.mjs.map} +1 -1
  23. package/fesm2022/{ngx-t-forms-data-source-picker.component-Dij1l4-7.mjs → ngx-t-forms-data-source-picker.component-CJ1C1Znp.mjs} +8 -8
  24. package/fesm2022/ngx-t-forms-data-source-picker.component-CJ1C1Znp.mjs.map +1 -0
  25. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-D9BOhV6g.mjs → ngx-t-forms-date-picker-input-element.component-DjYq63Iv.mjs} +4 -4
  26. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-D9BOhV6g.mjs.map → ngx-t-forms-date-picker-input-element.component-DjYq63Iv.mjs.map} +1 -1
  27. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-C9I8KX12.mjs → ngx-t-forms-date-picker-input-element.component-NM2cFs3P.mjs} +4 -4
  28. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-C9I8KX12.mjs.map → ngx-t-forms-date-picker-input-element.component-NM2cFs3P.mjs.map} +1 -1
  29. package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-B3Z47mrO.mjs → ngx-t-forms-date-range-picker-input-element.component-DhU_bhy3.mjs} +4 -4
  30. package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-B3Z47mrO.mjs.map → ngx-t-forms-date-range-picker-input-element.component-DhU_bhy3.mjs.map} +1 -1
  31. package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-BiXubnsN.mjs → ngx-t-forms-date-range-picker-input-element.component-g0wIRj9b.mjs} +4 -4
  32. package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-BiXubnsN.mjs.map → ngx-t-forms-date-range-picker-input-element.component-g0wIRj9b.mjs.map} +1 -1
  33. package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-PW2XiPiH.mjs → ngx-t-forms-document-list-label-config-editor.component-K-KFdCcS.mjs} +5 -5
  34. package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-PW2XiPiH.mjs.map → ngx-t-forms-document-list-label-config-editor.component-K-KFdCcS.mjs.map} +1 -1
  35. package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-C5T_DK6w.mjs → ngx-t-forms-document-list-label-config-editor.component-NuPXy_Ms.mjs} +5 -5
  36. package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-C5T_DK6w.mjs.map → ngx-t-forms-document-list-label-config-editor.component-NuPXy_Ms.mjs.map} +1 -1
  37. package/fesm2022/ngx-t-forms-document-picker.component-BSG7k3IN.mjs +1259 -0
  38. package/fesm2022/ngx-t-forms-document-picker.component-BSG7k3IN.mjs.map +1 -0
  39. package/fesm2022/ngx-t-forms-document-picker.component-ChGqXHcQ.mjs +1996 -0
  40. package/fesm2022/ngx-t-forms-document-picker.component-ChGqXHcQ.mjs.map +1 -0
  41. package/fesm2022/{ngx-t-forms-editor-input-element.component-DYytkGYD.mjs → ngx-t-forms-editor-input-element.component-B8Pk-EVY.mjs} +157 -23
  42. package/fesm2022/ngx-t-forms-editor-input-element.component-B8Pk-EVY.mjs.map +1 -0
  43. package/fesm2022/{ngx-t-forms-editor-input-element.component-C12fnCTM.mjs → ngx-t-forms-editor-input-element.component-Bb7w-vNw.mjs} +138 -15
  44. package/fesm2022/ngx-t-forms-editor-input-element.component-Bb7w-vNw.mjs.map +1 -0
  45. package/fesm2022/ngx-t-forms-editor-js-input.component-DlsLiHi1.mjs +539 -0
  46. package/fesm2022/ngx-t-forms-editor-js-input.component-DlsLiHi1.mjs.map +1 -0
  47. package/fesm2022/ngx-t-forms-editor-js-input.component-XX6kU8DW.mjs +585 -0
  48. package/fesm2022/ngx-t-forms-editor-js-input.component-XX6kU8DW.mjs.map +1 -0
  49. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-Bgi-chdw.mjs → ngx-t-forms-file-upload-input-element.component-Km-qgANx.mjs} +7 -7
  50. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-Bgi-chdw.mjs.map → ngx-t-forms-file-upload-input-element.component-Km-qgANx.mjs.map} +1 -1
  51. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-CI4onrtp.mjs → ngx-t-forms-file-upload-input-element.component-RCmUClXv.mjs} +7 -7
  52. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-CI4onrtp.mjs.map → ngx-t-forms-file-upload-input-element.component-RCmUClXv.mjs.map} +1 -1
  53. package/fesm2022/{ngx-t-forms-form-input-selector.component-BysF2WY-.mjs → ngx-t-forms-form-input-selector.component-0jfD5C0G.mjs} +2 -2
  54. package/fesm2022/{ngx-t-forms-form-input-selector.component-BysF2WY-.mjs.map → ngx-t-forms-form-input-selector.component-0jfD5C0G.mjs.map} +1 -1
  55. package/fesm2022/{ngx-t-forms-form-input-selector.component-xIalL_cs.mjs → ngx-t-forms-form-input-selector.component-D5KYWQ2R.mjs} +2 -2
  56. package/fesm2022/{ngx-t-forms-form-input-selector.component-xIalL_cs.mjs.map → ngx-t-forms-form-input-selector.component-D5KYWQ2R.mjs.map} +1 -1
  57. package/fesm2022/{ngx-t-forms-form-json-view.component-CU1d8rGd.mjs → ngx-t-forms-form-json-view.component-r64GKVhI.mjs} +2 -2
  58. package/fesm2022/{ngx-t-forms-form-json-view.component-CU1d8rGd.mjs.map → ngx-t-forms-form-json-view.component-r64GKVhI.mjs.map} +1 -1
  59. package/fesm2022/{ngx-t-forms-form-json-view.component-DpU3ZTiS.mjs → ngx-t-forms-form-json-view.component-z0nQxpqB.mjs} +2 -2
  60. package/fesm2022/{ngx-t-forms-form-json-view.component-DpU3ZTiS.mjs.map → ngx-t-forms-form-json-view.component-z0nQxpqB.mjs.map} +1 -1
  61. package/fesm2022/{ngx-t-forms-form-section-stepper.component-tGbPKHM6.mjs → ngx-t-forms-form-section-stepper.component-B3DRJ--U.mjs} +6 -6
  62. package/fesm2022/{ngx-t-forms-form-section-stepper.component-tGbPKHM6.mjs.map → ngx-t-forms-form-section-stepper.component-B3DRJ--U.mjs.map} +1 -1
  63. package/fesm2022/{ngx-t-forms-form-section-stepper.component-DqShhIBK.mjs → ngx-t-forms-form-section-stepper.component-UUTHYU-A.mjs} +10 -10
  64. package/fesm2022/ngx-t-forms-form-section-stepper.component-UUTHYU-A.mjs.map +1 -0
  65. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-hK9C4vAa.mjs → ngx-t-forms-forms-builder-menu.component-BYFynpTn.mjs} +11 -11
  66. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-hK9C4vAa.mjs.map → ngx-t-forms-forms-builder-menu.component-BYFynpTn.mjs.map} +1 -1
  67. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-BsgtMZFM.mjs → ngx-t-forms-forms-builder-menu.component-DTIAOxGV.mjs} +13 -13
  68. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-BsgtMZFM.mjs.map → ngx-t-forms-forms-builder-menu.component-DTIAOxGV.mjs.map} +1 -1
  69. package/fesm2022/{ngx-t-forms-geo-location.component-ChmvJCGu.mjs → ngx-t-forms-geo-location.component-D2fIbagr.mjs} +7 -7
  70. package/fesm2022/{ngx-t-forms-geo-location.component-ChmvJCGu.mjs.map → ngx-t-forms-geo-location.component-D2fIbagr.mjs.map} +1 -1
  71. package/fesm2022/{ngx-t-forms-geo-location.component-DfmFok8a.mjs → ngx-t-forms-geo-location.component-DW2b5Zli.mjs} +7 -7
  72. package/fesm2022/{ngx-t-forms-geo-location.component-DfmFok8a.mjs.map → ngx-t-forms-geo-location.component-DW2b5Zli.mjs.map} +1 -1
  73. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BpA_P017.mjs → ngx-t-forms-image-capture-input-element.component-BgnzErQt.mjs} +7 -7
  74. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BpA_P017.mjs.map → ngx-t-forms-image-capture-input-element.component-BgnzErQt.mjs.map} +1 -1
  75. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-DYjnaWYE.mjs → ngx-t-forms-image-capture-input-element.component-Us_NAQSl.mjs} +7 -7
  76. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-DYjnaWYE.mjs.map → ngx-t-forms-image-capture-input-element.component-Us_NAQSl.mjs.map} +1 -1
  77. package/fesm2022/{ngx-t-forms-index-D-7ZX0w7.mjs → ngx-t-forms-index-6YIhS6cm.mjs} +2 -2
  78. package/fesm2022/ngx-t-forms-index-6YIhS6cm.mjs.map +1 -0
  79. package/fesm2022/{ngx-t-forms-index-DHloq32-.mjs → ngx-t-forms-index-BPNBX_ve.mjs} +2 -2
  80. package/fesm2022/ngx-t-forms-index-BPNBX_ve.mjs.map +1 -0
  81. package/fesm2022/{ngx-t-forms-input-custom.component-Cv6jfrPf.mjs → ngx-t-forms-input-custom.component-DQOqy047.mjs} +2 -2
  82. package/fesm2022/{ngx-t-forms-input-custom.component-Cv6jfrPf.mjs.map → ngx-t-forms-input-custom.component-DQOqy047.mjs.map} +1 -1
  83. package/fesm2022/{ngx-t-forms-input-custom.component-pUshbxSM.mjs → ngx-t-forms-input-custom.component-Dcoze7U3.mjs} +2 -2
  84. package/fesm2022/{ngx-t-forms-input-custom.component-pUshbxSM.mjs.map → ngx-t-forms-input-custom.component-Dcoze7U3.mjs.map} +1 -1
  85. package/fesm2022/{ngx-t-forms-input-editor.component-BKV6ZJx9.mjs → ngx-t-forms-input-editor.component-3fRj5swF.mjs} +8 -8
  86. package/fesm2022/{ngx-t-forms-input-editor.component-BKV6ZJx9.mjs.map → ngx-t-forms-input-editor.component-3fRj5swF.mjs.map} +1 -1
  87. package/fesm2022/{ngx-t-forms-input-editor.component-CxXMETLl.mjs → ngx-t-forms-input-editor.component-B6UKwV4i.mjs} +7 -7
  88. package/fesm2022/{ngx-t-forms-input-editor.component-CxXMETLl.mjs.map → ngx-t-forms-input-editor.component-B6UKwV4i.mjs.map} +1 -1
  89. package/fesm2022/{ngx-t-forms-map-mat-options-keys-BbfC5vYI.mjs → ngx-t-forms-map-mat-options-keys-BsfvYiEU.mjs} +2 -2
  90. package/fesm2022/{ngx-t-forms-map-mat-options-keys-BbfC5vYI.mjs.map → ngx-t-forms-map-mat-options-keys-BsfvYiEU.mjs.map} +1 -1
  91. package/fesm2022/{ngx-t-forms-map-mat-options-keys-epWo0lEj.mjs → ngx-t-forms-map-mat-options-keys-eSc99wdA.mjs} +2 -2
  92. package/fesm2022/{ngx-t-forms-map-mat-options-keys-epWo0lEj.mjs.map → ngx-t-forms-map-mat-options-keys-eSc99wdA.mjs.map} +1 -1
  93. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CN17K5q6.mjs +268 -0
  94. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CN17K5q6.mjs.map +1 -0
  95. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CYtTBtyf.mjs +167 -0
  96. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CYtTBtyf.mjs.map +1 -0
  97. package/fesm2022/{ngx-t-forms-missing-form-configs.component-DRAVdGfc.mjs → ngx-t-forms-missing-form-configs.component-AaDfeALs.mjs} +4 -4
  98. package/fesm2022/{ngx-t-forms-missing-form-configs.component-DRAVdGfc.mjs.map → ngx-t-forms-missing-form-configs.component-AaDfeALs.mjs.map} +1 -1
  99. package/fesm2022/{ngx-t-forms-missing-form-configs.component-CDIajZxP.mjs → ngx-t-forms-missing-form-configs.component-CEa8ZNKA.mjs} +4 -4
  100. package/fesm2022/{ngx-t-forms-missing-form-configs.component-CDIajZxP.mjs.map → ngx-t-forms-missing-form-configs.component-CEa8ZNKA.mjs.map} +1 -1
  101. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-C9b-pNLr.mjs → ngx-t-forms-mscoa-chart-toolbar.component-D0igUV3W.mjs} +4 -4
  102. package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-D0igUV3W.mjs.map +1 -0
  103. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-D1ASX1mt.mjs → ngx-t-forms-mscoa-chart-toolbar.component-DklkxNgg.mjs} +4 -4
  104. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-D1ASX1mt.mjs.map → ngx-t-forms-mscoa-chart-toolbar.component-DklkxNgg.mjs.map} +1 -1
  105. package/fesm2022/{ngx-t-forms-mscoa-error-display.component-99DpVSy7.mjs → ngx-t-forms-mscoa-error-display.component-BDPi6w2E.mjs} +3 -3
  106. package/fesm2022/{ngx-t-forms-mscoa-error-display.component-99DpVSy7.mjs.map → ngx-t-forms-mscoa-error-display.component-BDPi6w2E.mjs.map} +1 -1
  107. package/fesm2022/{ngx-t-forms-mscoa-error-display.component-DzFibbuY.mjs → ngx-t-forms-mscoa-error-display.component-rzl-fMmd.mjs} +3 -3
  108. package/fesm2022/{ngx-t-forms-mscoa-error-display.component-DzFibbuY.mjs.map → ngx-t-forms-mscoa-error-display.component-rzl-fMmd.mjs.map} +1 -1
  109. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-CjuxTqfX.mjs → ngx-t-forms-mscoa-segment-config.component-2SspNWtF.mjs} +7 -7
  110. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-CjuxTqfX.mjs.map → ngx-t-forms-mscoa-segment-config.component-2SspNWtF.mjs.map} +1 -1
  111. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-D9KrXNS6.mjs → ngx-t-forms-mscoa-segment-config.component-CSGf4XeN.mjs} +7 -7
  112. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-D9KrXNS6.mjs.map → ngx-t-forms-mscoa-segment-config.component-CSGf4XeN.mjs.map} +1 -1
  113. package/fesm2022/{ngx-t-forms-mscoa-temporary-hint.component-DV93x0Rr.mjs → ngx-t-forms-mscoa-temporary-hint.component-CBuGHwnU.mjs} +3 -3
  114. package/fesm2022/{ngx-t-forms-mscoa-temporary-hint.component-DV93x0Rr.mjs.map → ngx-t-forms-mscoa-temporary-hint.component-CBuGHwnU.mjs.map} +1 -1
  115. package/fesm2022/{ngx-t-forms-mscoa-temporary-hint.component-B1Z-IXSL.mjs → ngx-t-forms-mscoa-temporary-hint.component-g7DosiVb.mjs} +3 -3
  116. package/fesm2022/{ngx-t-forms-mscoa-temporary-hint.component-B1Z-IXSL.mjs.map → ngx-t-forms-mscoa-temporary-hint.component-g7DosiVb.mjs.map} +1 -1
  117. package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-BxQYrUJL.mjs → ngx-t-forms-multiple-input-input-element.component-CbQdnVgw.mjs} +15 -15
  118. package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-BxQYrUJL.mjs.map → ngx-t-forms-multiple-input-input-element.component-CbQdnVgw.mjs.map} +1 -1
  119. package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-BA61uQ2q.mjs → ngx-t-forms-multiple-input-input-element.component-dmRIi9ph.mjs} +13 -13
  120. package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-BA61uQ2q.mjs.map → ngx-t-forms-multiple-input-input-element.component-dmRIi9ph.mjs.map} +1 -1
  121. package/fesm2022/{ngx-t-forms-ngx-t-forms-CJGAj18J.mjs → ngx-t-forms-ngx-t-forms-0gzvHzEK.mjs} +941 -155
  122. package/fesm2022/ngx-t-forms-ngx-t-forms-0gzvHzEK.mjs.map +1 -0
  123. package/fesm2022/{ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs → ngx-t-forms-ngx-t-forms-BefvSS-p.mjs} +1119 -234
  124. package/fesm2022/ngx-t-forms-ngx-t-forms-BefvSS-p.mjs.map +1 -0
  125. package/fesm2022/{ngx-t-forms-paginated-selection-table-DeY5vQti.mjs → ngx-t-forms-paginated-selection-table-BGNxI2yq.mjs} +8 -8
  126. package/fesm2022/ngx-t-forms-paginated-selection-table-BGNxI2yq.mjs.map +1 -0
  127. package/fesm2022/{ngx-t-forms-paginated-selection-table-yvhqQxPV.mjs → ngx-t-forms-paginated-selection-table-DrXB22iY.mjs} +8 -8
  128. package/fesm2022/{ngx-t-forms-paginated-selection-table-yvhqQxPV.mjs.map → ngx-t-forms-paginated-selection-table-DrXB22iY.mjs.map} +1 -1
  129. package/fesm2022/{ngx-t-forms-payload-template-editor.component-sqY3bYiZ.mjs → ngx-t-forms-payload-template-editor.component-DL4ZTTsH.mjs} +2 -2
  130. package/fesm2022/{ngx-t-forms-payload-template-editor.component-sqY3bYiZ.mjs.map → ngx-t-forms-payload-template-editor.component-DL4ZTTsH.mjs.map} +1 -1
  131. package/fesm2022/{ngx-t-forms-payload-template-editor.component-BzY-kX6W.mjs → ngx-t-forms-payload-template-editor.component-o3qwpvYu.mjs} +2 -2
  132. package/fesm2022/{ngx-t-forms-payload-template-editor.component-BzY-kX6W.mjs.map → ngx-t-forms-payload-template-editor.component-o3qwpvYu.mjs.map} +1 -1
  133. package/fesm2022/{ngx-t-forms-pipeline-generator.component-CcHgQ-MT.mjs → ngx-t-forms-pipeline-generator.component-BqtdKcN2.mjs} +11 -11
  134. package/fesm2022/{ngx-t-forms-pipeline-generator.component-CcHgQ-MT.mjs.map → ngx-t-forms-pipeline-generator.component-BqtdKcN2.mjs.map} +1 -1
  135. package/fesm2022/{ngx-t-forms-pipeline-generator.component-COvr1j_v.mjs → ngx-t-forms-pipeline-generator.component-DcZPv8-N.mjs} +11 -11
  136. package/fesm2022/{ngx-t-forms-pipeline-generator.component-COvr1j_v.mjs.map → ngx-t-forms-pipeline-generator.component-DcZPv8-N.mjs.map} +1 -1
  137. package/fesm2022/{ngx-t-forms-record-list-manager.component-DuE2OdC4.mjs → ngx-t-forms-record-list-manager.component-BcANl5Bq.mjs} +166 -72
  138. package/fesm2022/ngx-t-forms-record-list-manager.component-BcANl5Bq.mjs.map +1 -0
  139. package/fesm2022/ngx-t-forms-record-list-manager.component-l-2uDVmi.mjs +446 -0
  140. package/fesm2022/ngx-t-forms-record-list-manager.component-l-2uDVmi.mjs.map +1 -0
  141. package/fesm2022/{ngx-t-forms-required-inputs.component-ByBeNLXu.mjs → ngx-t-forms-required-inputs.component-BMmNxeE-.mjs} +6 -6
  142. package/fesm2022/{ngx-t-forms-required-inputs.component-ByBeNLXu.mjs.map → ngx-t-forms-required-inputs.component-BMmNxeE-.mjs.map} +1 -1
  143. package/fesm2022/{ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs → ngx-t-forms-required-inputs.component-Dr0P1gin.mjs} +6 -6
  144. package/fesm2022/{ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs.map → ngx-t-forms-required-inputs.component-Dr0P1gin.mjs.map} +1 -1
  145. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-BEqnJqZG.mjs → ngx-t-forms-rest-api-call-setup.component-BSv_KQIU.mjs} +5 -5
  146. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-BEqnJqZG.mjs.map → ngx-t-forms-rest-api-call-setup.component-BSv_KQIU.mjs.map} +1 -1
  147. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-CkLePXoO.mjs → ngx-t-forms-rest-api-call-setup.component-C3sNmq_H.mjs} +5 -5
  148. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-CkLePXoO.mjs.map → ngx-t-forms-rest-api-call-setup.component-C3sNmq_H.mjs.map} +1 -1
  149. package/fesm2022/{ngx-t-forms-section-report.component-mUpSxbaB.mjs → ngx-t-forms-section-report.component-BYMcaRE5.mjs} +4 -4
  150. package/fesm2022/{ngx-t-forms-section-report.component-mUpSxbaB.mjs.map → ngx-t-forms-section-report.component-BYMcaRE5.mjs.map} +1 -1
  151. package/fesm2022/{ngx-t-forms-section-report.component-CQR27H3a.mjs → ngx-t-forms-section-report.component-yGAjX7Gb.mjs} +4 -4
  152. package/fesm2022/{ngx-t-forms-section-report.component-CQR27H3a.mjs.map → ngx-t-forms-section-report.component-yGAjX7Gb.mjs.map} +1 -1
  153. package/fesm2022/{ngx-t-forms-select-input-element.component-CLs5UkmC.mjs → ngx-t-forms-select-input-element.component-BqtJi4ek.mjs} +8 -8
  154. package/fesm2022/{ngx-t-forms-select-input-element.component-CLs5UkmC.mjs.map → ngx-t-forms-select-input-element.component-BqtJi4ek.mjs.map} +1 -1
  155. package/fesm2022/{ngx-t-forms-select-input-element.component-c7IgHdXA.mjs → ngx-t-forms-select-input-element.component-Nsa3dpvV.mjs} +8 -8
  156. package/fesm2022/{ngx-t-forms-select-input-element.component-c7IgHdXA.mjs.map → ngx-t-forms-select-input-element.component-Nsa3dpvV.mjs.map} +1 -1
  157. package/fesm2022/{ngx-t-forms-selection-options-editor.component-WfuGdtvK.mjs → ngx-t-forms-selection-options-editor.component-BuXVzo7Z.mjs} +6 -6
  158. package/fesm2022/{ngx-t-forms-selection-options-editor.component-WfuGdtvK.mjs.map → ngx-t-forms-selection-options-editor.component-BuXVzo7Z.mjs.map} +1 -1
  159. package/fesm2022/{ngx-t-forms-selection-options-editor.component-DiegTjWX.mjs → ngx-t-forms-selection-options-editor.component-_glw1cqH.mjs} +6 -6
  160. package/fesm2022/{ngx-t-forms-selection-options-editor.component-DiegTjWX.mjs.map → ngx-t-forms-selection-options-editor.component-_glw1cqH.mjs.map} +1 -1
  161. package/fesm2022/ngx-t-forms-t-workflow-picker.component-CLgN3YM4.mjs +366 -0
  162. package/fesm2022/ngx-t-forms-t-workflow-picker.component-CLgN3YM4.mjs.map +1 -0
  163. package/fesm2022/ngx-t-forms-t-workflow-picker.component-DAwP-cWK.mjs +263 -0
  164. package/fesm2022/ngx-t-forms-t-workflow-picker.component-DAwP-cWK.mjs.map +1 -0
  165. package/fesm2022/{ngx-t-forms-textarea-input-element.component-C7H84RGw.mjs → ngx-t-forms-textarea-input-element.component-DPxUzkAu.mjs} +4 -4
  166. package/fesm2022/{ngx-t-forms-textarea-input-element.component-C7H84RGw.mjs.map → ngx-t-forms-textarea-input-element.component-DPxUzkAu.mjs.map} +1 -1
  167. package/fesm2022/{ngx-t-forms-textarea-input-element.component-Coxr1XD7.mjs → ngx-t-forms-textarea-input-element.component-SCEBLqJd.mjs} +4 -4
  168. package/fesm2022/{ngx-t-forms-textarea-input-element.component-Coxr1XD7.mjs.map → ngx-t-forms-textarea-input-element.component-SCEBLqJd.mjs.map} +1 -1
  169. package/fesm2022/{ngx-t-forms-toggle-input-element.component-BWnTeuHM.mjs → ngx-t-forms-toggle-input-element.component-CoyTMRMa.mjs} +4 -4
  170. package/fesm2022/{ngx-t-forms-toggle-input-element.component-BWnTeuHM.mjs.map → ngx-t-forms-toggle-input-element.component-CoyTMRMa.mjs.map} +1 -1
  171. package/fesm2022/{ngx-t-forms-toggle-input-element.component-Cgzg89Ug.mjs → ngx-t-forms-toggle-input-element.component-OZre5TJ7.mjs} +4 -4
  172. package/fesm2022/{ngx-t-forms-toggle-input-element.component-Cgzg89Ug.mjs.map → ngx-t-forms-toggle-input-element.component-OZre5TJ7.mjs.map} +1 -1
  173. package/fesm2022/{ngx-t-forms-validators-config.component-DjLB40z-.mjs → ngx-t-forms-validators-config.component-B1Lzs7o2.mjs} +5 -5
  174. package/fesm2022/{ngx-t-forms-validators-config.component-DjLB40z-.mjs.map → ngx-t-forms-validators-config.component-B1Lzs7o2.mjs.map} +1 -1
  175. package/fesm2022/{ngx-t-forms-validators-config.component-DgIVRSvF.mjs → ngx-t-forms-validators-config.component-CoGSFor3.mjs} +5 -5
  176. package/fesm2022/{ngx-t-forms-validators-config.component-DgIVRSvF.mjs.map → ngx-t-forms-validators-config.component-CoGSFor3.mjs.map} +1 -1
  177. package/fesm2022/{ngx-t-forms-workflow-adjudication.component-_A3v5MxN.mjs → ngx-t-forms-workflow-adjudication.component-Bz07jv-N.mjs} +18 -18
  178. package/fesm2022/ngx-t-forms-workflow-adjudication.component-Bz07jv-N.mjs.map +1 -0
  179. package/fesm2022/{ngx-t-forms-workflow-adjudication.component-CB6qBxgr.mjs → ngx-t-forms-workflow-adjudication.component-CrDZg3Nl.mjs} +17 -17
  180. package/fesm2022/ngx-t-forms-workflow-adjudication.component-CrDZg3Nl.mjs.map +1 -0
  181. package/fesm2022/ngx-t-forms.mjs +1 -1
  182. package/package.json +2 -2
  183. package/types/ngx-t-forms.d.ts +18 -12
  184. package/fesm2022/ngx-t-forms-data-source-picker.component-Dij1l4-7.mjs.map +0 -1
  185. package/fesm2022/ngx-t-forms-document-picker.component-B47pQxMF.mjs +0 -1217
  186. package/fesm2022/ngx-t-forms-document-picker.component-B47pQxMF.mjs.map +0 -1
  187. package/fesm2022/ngx-t-forms-document-picker.component-BNQ1a96s.mjs +0 -704
  188. package/fesm2022/ngx-t-forms-document-picker.component-BNQ1a96s.mjs.map +0 -1
  189. package/fesm2022/ngx-t-forms-editor-input-element.component-C12fnCTM.mjs.map +0 -1
  190. package/fesm2022/ngx-t-forms-editor-input-element.component-DYytkGYD.mjs.map +0 -1
  191. package/fesm2022/ngx-t-forms-editor-js-input.component-BQSF3142.mjs +0 -251
  192. package/fesm2022/ngx-t-forms-editor-js-input.component-BQSF3142.mjs.map +0 -1
  193. package/fesm2022/ngx-t-forms-editor-js-input.component-cxob42pE.mjs +0 -240
  194. package/fesm2022/ngx-t-forms-editor-js-input.component-cxob42pE.mjs.map +0 -1
  195. package/fesm2022/ngx-t-forms-form-section-stepper.component-DqShhIBK.mjs.map +0 -1
  196. package/fesm2022/ngx-t-forms-index-D-7ZX0w7.mjs.map +0 -1
  197. package/fesm2022/ngx-t-forms-index-DHloq32-.mjs.map +0 -1
  198. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Bqjjgtyf.mjs +0 -109
  199. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Bqjjgtyf.mjs.map +0 -1
  200. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CuOsHNXe.mjs +0 -66
  201. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CuOsHNXe.mjs.map +0 -1
  202. package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-C9b-pNLr.mjs.map +0 -1
  203. package/fesm2022/ngx-t-forms-ngx-t-forms-CJGAj18J.mjs.map +0 -1
  204. package/fesm2022/ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs.map +0 -1
  205. package/fesm2022/ngx-t-forms-paginated-selection-table-DeY5vQti.mjs.map +0 -1
  206. package/fesm2022/ngx-t-forms-record-list-manager.component-CY4GnAOb.mjs +0 -358
  207. package/fesm2022/ngx-t-forms-record-list-manager.component-CY4GnAOb.mjs.map +0 -1
  208. package/fesm2022/ngx-t-forms-record-list-manager.component-DuE2OdC4.mjs.map +0 -1
  209. package/fesm2022/ngx-t-forms-t-workflow-picker.component-CQPrr7Cz.mjs +0 -341
  210. package/fesm2022/ngx-t-forms-t-workflow-picker.component-CQPrr7Cz.mjs.map +0 -1
  211. package/fesm2022/ngx-t-forms-t-workflow-picker.component-DqFMP1rZ.mjs +0 -204
  212. package/fesm2022/ngx-t-forms-t-workflow-picker.component-DqFMP1rZ.mjs.map +0 -1
  213. package/fesm2022/ngx-t-forms-workflow-adjudication.component-CB6qBxgr.mjs.map +0 -1
  214. package/fesm2022/ngx-t-forms-workflow-adjudication.component-_A3v5MxN.mjs.map +0 -1
@@ -6,11 +6,11 @@ import * as i2$1 from '@angular/material/form-field';
6
6
  import { MatFormFieldControl, MatFormFieldModule } from '@angular/material/form-field';
7
7
  import * as i3 from '@angular/material/icon';
8
8
  import { MatIconModule } from '@angular/material/icon';
9
- import * as i1$2 from '@angular/material/button';
9
+ import * as i2$2 from '@angular/material/button';
10
10
  import { MatButtonModule } from '@angular/material/button';
11
11
  import * as i5 from '@angular/material/tooltip';
12
12
  import { MatTooltipModule } from '@angular/material/tooltip';
13
- import { B as BaseCustomInput, q as getInputErrorMessage, u as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs';
13
+ import { B as BaseCustomInput, q as getInputErrorMessage, u as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-BefvSS-p.mjs';
14
14
  import * as i1 from '@angular/material/slide-toggle';
15
15
  import { MatSlideToggleModule } from '@angular/material/slide-toggle';
16
16
  import * as i2 from '@angular/cdk/overlay';
@@ -284,7 +284,7 @@ class ToggleInputElementComponent {
284
284
  i0.ɵɵproperty("formGroup", ctx.formGroup());
285
285
  i0.ɵɵadvance();
286
286
  i0.ɵɵconditional((tmp_1_0 = ctx.inputConfig()) ? 1 : -1, tmp_1_0);
287
- } }, dependencies: [ReactiveFormsModule, i1$1.ɵNgNoValidate, i1$1.NgControlStatus, i1$1.NgControlStatusGroup, i1$1.RequiredValidator, i1$1.FormGroupDirective, i1$1.FormControlName, MatFormFieldModule, i2$1.MatFormField, i2$1.MatLabel, i2$1.MatHint, i2$1.MatError, i2$1.MatPrefix, i2$1.MatSuffix, MatIconModule, i3.MatIcon, MatButtonModule, i1$2.MatIconButton, MatTooltipModule, i5.MatTooltip, TFormInputStatusComponent,
287
+ } }, dependencies: [ReactiveFormsModule, i1$1.ɵNgNoValidate, i1$1.NgControlStatus, i1$1.NgControlStatusGroup, i1$1.RequiredValidator, i1$1.FormGroupDirective, i1$1.FormControlName, MatFormFieldModule, i2$1.MatFormField, i2$1.MatLabel, i2$1.MatHint, i2$1.MatError, i2$1.MatPrefix, i2$1.MatSuffix, MatIconModule, i3.MatIcon, MatButtonModule, i2$2.MatIconButton, MatTooltipModule, i5.MatTooltip, TFormInputStatusComponent,
288
288
  ToggleComponent], styles: ["mat-form-field[_ngcontent-%COMP%]{width:100%!important}mat-form-field[_ngcontent-%COMP%] .input-sync-button[_ngcontent-%COMP%]{display:none}mat-form-field[_ngcontent-%COMP%]:hover .input-sync-button[_ngcontent-%COMP%]{display:inline-block}"], changeDetection: 0 }); }
289
289
  }
290
290
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToggleInputElementComponent, [{
@@ -302,4 +302,4 @@ class ToggleInputElementComponent {
302
302
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ToggleInputElementComponent, { className: "ToggleInputElementComponent", filePath: "lib/components/t-form-input/elements/toggle-input-element/toggle-input-element.component.ts", lineNumber: 31 }); })();
303
303
 
304
304
  export { ToggleInputElementComponent };
305
- //# sourceMappingURL=ngx-t-forms-toggle-input-element.component-BWnTeuHM.mjs.map
305
+ //# sourceMappingURL=ngx-t-forms-toggle-input-element.component-CoyTMRMa.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-t-forms-toggle-input-element.component-BWnTeuHM.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/toggle-input-element/core/toggle/toggle.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/toggle-input-element/core/toggle/toggle.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/toggle-input-element/toggle-input-element.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/toggle-input-element/toggle-input-element.component.ts"],"sourcesContent":["<ng-template\r\n cdkConnectedOverlay\r\n [cdkConnectedOverlayOpen]=\"!!(inputConfig().disabled || inputConfig().readonly)\"\r\n>\r\n <div class=\"readonly-scrim\"></div>\r\n</ng-template>\r\n\r\n<mat-slide-toggle\r\n class=\"toggle-control\"\r\n [disabledInteractive]=\"inputConfig().disabled || inputConfig().readonly\"\r\n [required]=\"inputConfig().required\"\r\n [labelPosition]=\"inputConfig().labelPosition || 'after'\"\r\n (change)=\"changed($event)\"\r\n [checked]=\"isChecked\"\r\n [ariaReadOnly]=\"inputConfig().disabled || inputConfig().readonly\"\r\n [disabled]=\"inputConfig().disabled || inputConfig().readonly\"\r\n>\r\n @if (inputConfig().falseLabel || inputConfig().trueLabel) {\r\n @if (inputConfig().labelPosition !== 'after') {\r\n {{ inputConfig().label | titlecase }}\r\n <span class=\"spacer\"></span>\r\n @if (isChecked) {\r\n <span class=\"true-label\">{{ inputConfig().trueLabel || 'Yes' }}</span>\r\n } @else {\r\n <span class=\"false-label\">{{ inputConfig().falseLabel || 'No' }}</span>\r\n }\r\n } @else {\r\n @if (isChecked) {\r\n <span class=\"true-label\">{{ inputConfig().trueLabel || 'Yes' }}</span>\r\n } @else {\r\n <span class=\"false-label\">{{ inputConfig().falseLabel || 'No' }}</span>\r\n }\r\n <span class=\"spacer\"></span>\r\n {{ inputConfig().label | titlecase }}\r\n }\r\n }\r\n</mat-slide-toggle>\r\n","import { ChangeDetectionStrategy, Component, ElementRef, inject, input } from '@angular/core';\r\nimport { NgControl } from '@angular/forms';\r\nimport { MatFormFieldControl } from '@angular/material/form-field';\r\nimport { MatSlideToggleChange, MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { OverlayModule } from '@angular/cdk/overlay';\r\nimport { TitleCasePipe } from '@angular/common';\r\nimport { ITowerStepColumn } from 'ngx-t-forms-types';\r\n\r\nimport { BaseCustomInput, BaseCustomInputConfig } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';\r\n\r\nconst customInputConfig: BaseCustomInputConfig = {\r\n controlType: 'lib-toggle',\r\n nextId: 0\r\n};\r\n\r\n@Component({\r\n selector: 'lib-toggle',\r\n imports: [MatSlideToggleModule, OverlayModule, TitleCasePipe],\r\n templateUrl: './toggle.component.html',\r\n providers: [{ provide: MatFormFieldControl, useExisting: ToggleComponent }],\r\n styleUrl: './toggle.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class ToggleComponent extends BaseCustomInput<boolean> {\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n\r\n constructor() {\r\n super(\r\n inject(NgControl, { optional: true, self: true }) as NgControl,\r\n inject<ElementRef<HTMLElement>>(ElementRef),\r\n customInputConfig\r\n );\r\n\r\n // A toggle is binary — it must always hold a value. Seed `false` so an\r\n // unset toggle is never in a \"no value\" state (which would otherwise read\r\n // as required while the switch visibly looks off).\r\n this._value = false;\r\n }\r\n\r\n override get empty(): boolean {\r\n // A toggle always holds a boolean (see `writeValue` + the constructor\r\n // seed), so it is never empty. `false` is a provided value, not an absent\r\n // one — mirroring `toggleRequiredValidator`, which passes `true` and `false`.\r\n return false;\r\n }\r\n\r\n /** Coerce any incoming value to a boolean so the control is never null/undefined. */\r\n override writeValue(value: boolean | null | undefined): void {\r\n super.writeValue(Boolean(value));\r\n }\r\n\r\n override get shouldLabelFloat(): boolean {\r\n return this.focused || !this.empty;\r\n }\r\n\r\n protected changed(event: MatSlideToggleChange): void {\r\n this.value = event.checked;\r\n this.onChange(event.checked);\r\n this.stateChanges.next();\r\n }\r\n\r\n protected get isChecked(): boolean {\r\n return Boolean(this.value);\r\n }\r\n}\r\n","<form [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as inputConfig) {\r\n <mat-form-field\r\n [appearance]=\"inputConfig.appearance || 'fill'\"\r\n floatLabel=\"always\"\r\n subscriptSizing=\"dynamic\"\r\n >\r\n @if (!(inputConfig.disabled || errorMessage())) {\r\n <mat-label>\r\n toggle to select\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig\"></lib-t-form-input-status>\r\n </mat-label>\r\n }\r\n\r\n <lib-toggle\r\n [inputConfig]=\"inputConfig\"\r\n [required]=\"inputConfig.required\"\r\n [formControlName]=\"inputConfig.id\"\r\n ></lib-toggle>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\r\n }\r\n\r\n @if (!!errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\r\n }\r\n\r\n @if (inputConfig.canReload?.canReload) {\r\n <button\r\n mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig.canReload.emit()\"\r\n matSuffix\r\n >\r\n <mat-icon style=\"color: var(--mat-sys-primary)\">sync</mat-icon>\r\n </button>\r\n }\r\n\r\n @if (inputConfig.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.suffixIcon && inputConfig.id !== 'password') {\r\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig.prefixText }}</span>\r\n }\r\n @if (inputConfig.suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig.suffixText }}</span>\r\n }\r\n\r\n @if (inputConfig.maxLength && formGroup()) {\r\n <mat-hint align=\"end\">\r\n {{ (formGroup().controls[inputConfig.id]?.value?.length || 0) + '/' + inputConfig.maxLength }}\r\n </mat-hint>\r\n }\r\n </mat-form-field>\r\n }\r\n</form>\r\n","import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\r\nimport { FormGroup, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport type { ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { TFormInputStatusComponent } from '../../../t-form-input-status/t-form-input-status.component';\r\nimport { ToggleComponent } from './core/toggle/toggle.component';\r\nimport { getInputErrorMessage } from '../../../../services/core/t-input-controller/functions/inputErrorMessage';\r\n\r\n/**\r\n * Wraps `lib-toggle` in a `mat-form-field` and surfaces the configured\r\n * label / hint / error / suffix / prefix metadata for the column.\r\n */\r\n@Component({\r\n selector: 'lib-toggle-input-element',\r\n templateUrl: './toggle-input-element.component.html',\r\n styleUrl: './toggle-input-element.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [\r\n ReactiveFormsModule,\r\n MatFormFieldModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n MatTooltipModule,\r\n TFormInputStatusComponent,\r\n ToggleComponent,\r\n ],\r\n})\r\nexport class ToggleInputElementComponent {\r\n /** Form-input column definition. */\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n\r\n /** Reactive form group hosting the control identified by `inputConfig.id`. */\r\n readonly formGroup = input.required<FormGroup>();\r\n\r\n /** Emitted when the consumer requests a reload of this input. */\r\n readonly reload = output<void>();\r\n\r\n protected readonly errorMessage = computed(() =>\r\n getInputErrorMessage(this.inputConfig(), this.formGroup()),\r\n );\r\n}\r\n"],"names":["i1","i2","i4"],"mappings":";;;;;;;;;;;;;;;;;;;;IAIE,EAAA,CAAA,SAAA,CAAA,CA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A,iBAAA,EAAAA,IAAA,CAAA,kBAAA,EAAAA,IAAA,CAAA,eAAA,EACnB,kBAAkB,EAAAC,IAAA,CAAA,YAAA,EAAAA,IAAA,CAAA,QAAA,EAAAA,IAAA,CAAA,OAAA,EAAAA,IAAA,CAAA,QAAA,EAAAA,IAAA,CAAA,SAAA,EAAAA,IAAA,CAAA,SAAA,EAClB,aAAa,cACb,eAAe,EAAAC,IAAA,CAAA,aAAA,EACf,gBAAgB,EAAA,EAAA,CAAA,UAAA,EAChB,yBAAyB;YACzB,eAAe,CAAA,EAAA,MAAA,EAAA,CAAA,qPAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;iFAGN,2BAA2B,EAAA,CAAA;cAfvC,SAAS;AACE,QAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,0BAA0B,EAAA,eAAA,EAGnB,uBAAuB,CAAC,MAAM,EAAA,OAAA,EACtC;oBACP,mBAAmB;oBACnB,kBAAkB;oBAClB,aAAa;oBACb,eAAe;oBACf,gBAAgB;oBAChB,yBAAyB;oBACzB,eAAe;AAChB,iBAAA,EAAA,QAAA,EAAA,kyEAAA,EAAA,MAAA,EAAA,CAAA,oJAAA,CAAA,EAAA;;kFAEU,2BAA2B,EAAA,EAAA,SAAA,EAAA,6BAAA,EAAA,QAAA,EAAA,6FAAA,EAAA,UAAA,EAAA,EAAA,EAAA,CAAA,CAAA,CAAA,CAAA,GAAA;;;;"}
1
+ {"version":3,"file":"ngx-t-forms-toggle-input-element.component-CoyTMRMa.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/toggle-input-element/core/toggle/toggle.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/toggle-input-element/core/toggle/toggle.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/toggle-input-element/toggle-input-element.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/toggle-input-element/toggle-input-element.component.ts"],"sourcesContent":["<ng-template\r\n cdkConnectedOverlay\r\n [cdkConnectedOverlayOpen]=\"!!(inputConfig().disabled || inputConfig().readonly)\"\r\n>\r\n <div class=\"readonly-scrim\"></div>\r\n</ng-template>\r\n\r\n<mat-slide-toggle\r\n class=\"toggle-control\"\r\n [disabledInteractive]=\"inputConfig().disabled || inputConfig().readonly\"\r\n [required]=\"inputConfig().required\"\r\n [labelPosition]=\"inputConfig().labelPosition || 'after'\"\r\n (change)=\"changed($event)\"\r\n [checked]=\"isChecked\"\r\n [ariaReadOnly]=\"inputConfig().disabled || inputConfig().readonly\"\r\n [disabled]=\"inputConfig().disabled || inputConfig().readonly\"\r\n>\r\n @if (inputConfig().falseLabel || inputConfig().trueLabel) {\r\n @if (inputConfig().labelPosition !== 'after') {\r\n {{ inputConfig().label | titlecase }}\r\n <span class=\"spacer\"></span>\r\n @if (isChecked) {\r\n <span class=\"true-label\">{{ inputConfig().trueLabel || 'Yes' }}</span>\r\n } @else {\r\n <span class=\"false-label\">{{ inputConfig().falseLabel || 'No' }}</span>\r\n }\r\n } @else {\r\n @if (isChecked) {\r\n <span class=\"true-label\">{{ inputConfig().trueLabel || 'Yes' }}</span>\r\n } @else {\r\n <span class=\"false-label\">{{ inputConfig().falseLabel || 'No' }}</span>\r\n }\r\n <span class=\"spacer\"></span>\r\n {{ inputConfig().label | titlecase }}\r\n }\r\n }\r\n</mat-slide-toggle>\r\n","import { ChangeDetectionStrategy, Component, ElementRef, inject, input } from '@angular/core';\r\nimport { NgControl } from '@angular/forms';\r\nimport { MatFormFieldControl } from '@angular/material/form-field';\r\nimport { MatSlideToggleChange, MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { OverlayModule } from '@angular/cdk/overlay';\r\nimport { TitleCasePipe } from '@angular/common';\r\nimport { ITowerStepColumn } from 'ngx-t-forms-types';\r\n\r\nimport { BaseCustomInput, BaseCustomInputConfig } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';\r\n\r\nconst customInputConfig: BaseCustomInputConfig = {\r\n controlType: 'lib-toggle',\r\n nextId: 0\r\n};\r\n\r\n@Component({\r\n selector: 'lib-toggle',\r\n imports: [MatSlideToggleModule, OverlayModule, TitleCasePipe],\r\n templateUrl: './toggle.component.html',\r\n providers: [{ provide: MatFormFieldControl, useExisting: ToggleComponent }],\r\n styleUrl: './toggle.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class ToggleComponent extends BaseCustomInput<boolean> {\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n\r\n constructor() {\r\n super(\r\n inject(NgControl, { optional: true, self: true }) as NgControl,\r\n inject<ElementRef<HTMLElement>>(ElementRef),\r\n customInputConfig\r\n );\r\n\r\n // A toggle is binary — it must always hold a value. Seed `false` so an\r\n // unset toggle is never in a \"no value\" state (which would otherwise read\r\n // as required while the switch visibly looks off).\r\n this._value = false;\r\n }\r\n\r\n override get empty(): boolean {\r\n // A toggle always holds a boolean (see `writeValue` + the constructor\r\n // seed), so it is never empty. `false` is a provided value, not an absent\r\n // one — mirroring `toggleRequiredValidator`, which passes `true` and `false`.\r\n return false;\r\n }\r\n\r\n /** Coerce any incoming value to a boolean so the control is never null/undefined. */\r\n override writeValue(value: boolean | null | undefined): void {\r\n super.writeValue(Boolean(value));\r\n }\r\n\r\n override get shouldLabelFloat(): boolean {\r\n return this.focused || !this.empty;\r\n }\r\n\r\n protected changed(event: MatSlideToggleChange): void {\r\n this.value = event.checked;\r\n this.onChange(event.checked);\r\n this.stateChanges.next();\r\n }\r\n\r\n protected get isChecked(): boolean {\r\n return Boolean(this.value);\r\n }\r\n}\r\n","<form [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as inputConfig) {\r\n <mat-form-field\r\n [appearance]=\"inputConfig.appearance || 'fill'\"\r\n floatLabel=\"always\"\r\n subscriptSizing=\"dynamic\"\r\n >\r\n @if (!(inputConfig.disabled || errorMessage())) {\r\n <mat-label>\r\n toggle to select\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig\"></lib-t-form-input-status>\r\n </mat-label>\r\n }\r\n\r\n <lib-toggle\r\n [inputConfig]=\"inputConfig\"\r\n [required]=\"inputConfig.required\"\r\n [formControlName]=\"inputConfig.id\"\r\n ></lib-toggle>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\r\n }\r\n\r\n @if (!!errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\r\n }\r\n\r\n @if (inputConfig.canReload?.canReload) {\r\n <button\r\n mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig.canReload.emit()\"\r\n matSuffix\r\n >\r\n <mat-icon style=\"color: var(--mat-sys-primary)\">sync</mat-icon>\r\n </button>\r\n }\r\n\r\n @if (inputConfig.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.suffixIcon && inputConfig.id !== 'password') {\r\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig.prefixText }}</span>\r\n }\r\n @if (inputConfig.suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig.suffixText }}</span>\r\n }\r\n\r\n @if (inputConfig.maxLength && formGroup()) {\r\n <mat-hint align=\"end\">\r\n {{ (formGroup().controls[inputConfig.id]?.value?.length || 0) + '/' + inputConfig.maxLength }}\r\n </mat-hint>\r\n }\r\n </mat-form-field>\r\n }\r\n</form>\r\n","import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\r\nimport { FormGroup, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport type { ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { TFormInputStatusComponent } from '../../../t-form-input-status/t-form-input-status.component';\r\nimport { ToggleComponent } from './core/toggle/toggle.component';\r\nimport { getInputErrorMessage } from '../../../../services/core/t-input-controller/functions/inputErrorMessage';\r\n\r\n/**\r\n * Wraps `lib-toggle` in a `mat-form-field` and surfaces the configured\r\n * label / hint / error / suffix / prefix metadata for the column.\r\n */\r\n@Component({\r\n selector: 'lib-toggle-input-element',\r\n templateUrl: './toggle-input-element.component.html',\r\n styleUrl: './toggle-input-element.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [\r\n ReactiveFormsModule,\r\n MatFormFieldModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n MatTooltipModule,\r\n TFormInputStatusComponent,\r\n ToggleComponent,\r\n ],\r\n})\r\nexport class ToggleInputElementComponent {\r\n /** Form-input column definition. */\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n\r\n /** Reactive form group hosting the control identified by `inputConfig.id`. */\r\n readonly formGroup = input.required<FormGroup>();\r\n\r\n /** Emitted when the consumer requests a reload of this input. */\r\n readonly reload = output<void>();\r\n\r\n protected readonly errorMessage = computed(() =>\r\n getInputErrorMessage(this.inputConfig(), this.formGroup()),\r\n );\r\n}\r\n"],"names":["i1","i2","i4"],"mappings":";;;;;;;;;;;;;;;;;;;;IAIE,EAAA,CAAA,SAAA,CAAA,CAAA,EAAA,KAAA,EAAA,CAAA,CAAkC;;;IAkB5B,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,MAAA,EAAA,CAAA,CAAyB;IAAA,EAAA,CAAA,MAAA,CAAA,CAAA,CAAsC;IAAA,EAAA,CAAA,YAAA,EAAO;;;IAA7C,EAAA,CAAA,SAAA,EAAsC;IAAtC,EAAA,CAAA,iBAAA,CAAA,M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,EAAAC,IAAA,CAAA,aAAA,EACf,gBAAgB,EAAA,EAAA,CAAA,UAAA,EAChB,yBAAyB;YACzB,eAAe,CAAA,EAAA,MAAA,EAAA,CAAA,qPAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;iFAGN,2BAA2B,EAAA,CAAA;cAfvC,SAAS;AACE,QAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,0BAA0B,EAAA,eAAA,EAGnB,uBAAuB,CAAC,MAAM,EAAA,OAAA,EACtC;oBACP,mBAAmB;oBACnB,kBAAkB;oBAClB,aAAa;oBACb,eAAe;oBACf,gBAAgB;oBAChB,yBAAyB;oBACzB,eAAe;AAChB,iBAAA,EAAA,QAAA,EAAA,kyEAAA,EAAA,MAAA,EAAA,CAAA,oJAAA,CAAA,EAAA;;kFAEU,2BAA2B,EAAA,EAAA,SAAA,EAAA,6BAAA,EAAA,QAAA,EAAA,6FAAA,EAAA,UAAA,EAAA,EAAA,EAAA,CAAA,CAAA,CAAA,CAAA,GAAA;;;;"}
@@ -6,11 +6,11 @@ import * as i2$1 from '@angular/material/form-field';
6
6
  import { MatFormFieldControl, MatFormFieldModule } from '@angular/material/form-field';
7
7
  import * as i3 from '@angular/material/icon';
8
8
  import { MatIconModule } from '@angular/material/icon';
9
- import * as i1$2 from '@angular/material/button';
9
+ import * as i2$2 from '@angular/material/button';
10
10
  import { MatButtonModule } from '@angular/material/button';
11
11
  import * as i5 from '@angular/material/tooltip';
12
12
  import { MatTooltipModule } from '@angular/material/tooltip';
13
- import { B as BaseCustomInput, q as getInputErrorMessage, u as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-CJGAj18J.mjs';
13
+ import { B as BaseCustomInput, q as getInputErrorMessage, u as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-0gzvHzEK.mjs';
14
14
  import * as i1 from '@angular/material/slide-toggle';
15
15
  import { MatSlideToggleModule } from '@angular/material/slide-toggle';
16
16
  import * as i2 from '@angular/cdk/overlay';
@@ -74,7 +74,7 @@ class ToggleInputElementComponent {
74
74
  this.errorMessage = computed(() => getInputErrorMessage(this.inputConfig(), this.formGroup()), ...(ngDevMode ? [{ debugName: "errorMessage" }] : /* istanbul ignore next */ []));
75
75
  }
76
76
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: ToggleInputElementComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
77
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: ToggleInputElementComponent, isStandalone: true, selector: "lib-toggle-input-element", inputs: { inputConfig: { classPropertyName: "inputConfig", publicName: "inputConfig", isSignal: true, isRequired: true, transformFunction: null }, formGroup: { classPropertyName: "formGroup", publicName: "formGroup", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { reload: "reload" }, ngImport: i0, template: "<form [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as inputConfig) {\r\n <mat-form-field\r\n [appearance]=\"inputConfig.appearance || 'fill'\"\r\n floatLabel=\"always\"\r\n subscriptSizing=\"dynamic\"\r\n >\r\n @if (!(inputConfig.disabled || errorMessage())) {\r\n <mat-label>\r\n toggle to select\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig\"></lib-t-form-input-status>\r\n </mat-label>\r\n }\r\n\r\n <lib-toggle\r\n [inputConfig]=\"inputConfig\"\r\n [required]=\"inputConfig.required\"\r\n [formControlName]=\"inputConfig.id\"\r\n ></lib-toggle>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\r\n }\r\n\r\n @if (!!errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\r\n }\r\n\r\n @if (inputConfig.canReload?.canReload) {\r\n <button\r\n mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig.canReload.emit()\"\r\n matSuffix\r\n >\r\n <mat-icon style=\"color: var(--mat-sys-primary)\">sync</mat-icon>\r\n </button>\r\n }\r\n\r\n @if (inputConfig.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.suffixIcon && inputConfig.id !== 'password') {\r\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig.prefixText }}</span>\r\n }\r\n @if (inputConfig.suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig.suffixText }}</span>\r\n }\r\n\r\n @if (inputConfig.maxLength && formGroup()) {\r\n <mat-hint align=\"end\">\r\n {{ (formGroup().controls[inputConfig.id]?.value?.length || 0) + '/' + inputConfig.maxLength }}\r\n </mat-hint>\r\n }\r\n </mat-form-field>\r\n }\r\n</form>\r\n", styles: ["mat-form-field{width:100%!important}mat-form-field .input-sync-button{display:none}mat-form-field:hover .input-sync-button{display:inline-block}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i2$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2$1.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2$1.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i2$1.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i2$1.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i2$1.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: TFormInputStatusComponent, selector: "lib-t-form-input-status", inputs: ["inputConfig"] }, { kind: "component", type: ToggleComponent, selector: "lib-toggle", inputs: ["inputConfig"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
77
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: ToggleInputElementComponent, isStandalone: true, selector: "lib-toggle-input-element", inputs: { inputConfig: { classPropertyName: "inputConfig", publicName: "inputConfig", isSignal: true, isRequired: true, transformFunction: null }, formGroup: { classPropertyName: "formGroup", publicName: "formGroup", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { reload: "reload" }, ngImport: i0, template: "<form [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as inputConfig) {\r\n <mat-form-field\r\n [appearance]=\"inputConfig.appearance || 'fill'\"\r\n floatLabel=\"always\"\r\n subscriptSizing=\"dynamic\"\r\n >\r\n @if (!(inputConfig.disabled || errorMessage())) {\r\n <mat-label>\r\n toggle to select\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig\"></lib-t-form-input-status>\r\n </mat-label>\r\n }\r\n\r\n <lib-toggle\r\n [inputConfig]=\"inputConfig\"\r\n [required]=\"inputConfig.required\"\r\n [formControlName]=\"inputConfig.id\"\r\n ></lib-toggle>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\r\n }\r\n\r\n @if (!!errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\r\n }\r\n\r\n @if (inputConfig.canReload?.canReload) {\r\n <button\r\n mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig.canReload.emit()\"\r\n matSuffix\r\n >\r\n <mat-icon style=\"color: var(--mat-sys-primary)\">sync</mat-icon>\r\n </button>\r\n }\r\n\r\n @if (inputConfig.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.suffixIcon && inputConfig.id !== 'password') {\r\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig.prefixText }}</span>\r\n }\r\n @if (inputConfig.suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig.suffixText }}</span>\r\n }\r\n\r\n @if (inputConfig.maxLength && formGroup()) {\r\n <mat-hint align=\"end\">\r\n {{ (formGroup().controls[inputConfig.id]?.value?.length || 0) + '/' + inputConfig.maxLength }}\r\n </mat-hint>\r\n }\r\n </mat-form-field>\r\n }\r\n</form>\r\n", styles: ["mat-form-field{width:100%!important}mat-form-field .input-sync-button{display:none}mat-form-field:hover .input-sync-button{display:inline-block}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i2$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2$1.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2$1.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i2$1.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i2$1.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i2$1.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: TFormInputStatusComponent, selector: "lib-t-form-input-status", inputs: ["inputConfig"] }, { kind: "component", type: ToggleComponent, selector: "lib-toggle", inputs: ["inputConfig"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
78
78
  }
79
79
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: ToggleInputElementComponent, decorators: [{
80
80
  type: Component,
@@ -90,4 +90,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImpo
90
90
  }], propDecorators: { inputConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputConfig", required: true }] }], formGroup: [{ type: i0.Input, args: [{ isSignal: true, alias: "formGroup", required: true }] }], reload: [{ type: i0.Output, args: ["reload"] }] } });
91
91
 
92
92
  export { ToggleInputElementComponent };
93
- //# sourceMappingURL=ngx-t-forms-toggle-input-element.component-Cgzg89Ug.mjs.map
93
+ //# sourceMappingURL=ngx-t-forms-toggle-input-element.component-OZre5TJ7.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-t-forms-toggle-input-element.component-Cgzg89Ug.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/toggle-input-element/core/toggle/toggle.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/toggle-input-element/core/toggle/toggle.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/toggle-input-element/toggle-input-element.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/toggle-input-element/toggle-input-element.component.html"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, inject, input } from '@angular/core';\r\nimport { NgControl } from '@angular/forms';\r\nimport { MatFormFieldControl } from '@angular/material/form-field';\r\nimport { MatSlideToggleChange, MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { OverlayModule } from '@angular/cdk/overlay';\r\nimport { TitleCasePipe } from '@angular/common';\r\nimport { ITowerStepColumn } from 'ngx-t-forms-types';\r\n\r\nimport { BaseCustomInput, BaseCustomInputConfig } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';\r\n\r\nconst customInputConfig: BaseCustomInputConfig = {\r\n controlType: 'lib-toggle',\r\n nextId: 0\r\n};\r\n\r\n@Component({\r\n selector: 'lib-toggle',\r\n imports: [MatSlideToggleModule, OverlayModule, TitleCasePipe],\r\n templateUrl: './toggle.component.html',\r\n providers: [{ provide: MatFormFieldControl, useExisting: ToggleComponent }],\r\n styleUrl: './toggle.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class ToggleComponent extends BaseCustomInput<boolean> {\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n\r\n constructor() {\r\n super(\r\n inject(NgControl, { optional: true, self: true }) as NgControl,\r\n inject<ElementRef<HTMLElement>>(ElementRef),\r\n customInputConfig\r\n );\r\n\r\n // A toggle is binary — it must always hold a value. Seed `false` so an\r\n // unset toggle is never in a \"no value\" state (which would otherwise read\r\n // as required while the switch visibly looks off).\r\n this._value = false;\r\n }\r\n\r\n override get empty(): boolean {\r\n // A toggle always holds a boolean (see `writeValue` + the constructor\r\n // seed), so it is never empty. `false` is a provided value, not an absent\r\n // one — mirroring `toggleRequiredValidator`, which passes `true` and `false`.\r\n return false;\r\n }\r\n\r\n /** Coerce any incoming value to a boolean so the control is never null/undefined. */\r\n override writeValue(value: boolean | null | undefined): void {\r\n super.writeValue(Boolean(value));\r\n }\r\n\r\n override get shouldLabelFloat(): boolean {\r\n return this.focused || !this.empty;\r\n }\r\n\r\n protected changed(event: MatSlideToggleChange): void {\r\n this.value = event.checked;\r\n this.onChange(event.checked);\r\n this.stateChanges.next();\r\n }\r\n\r\n protected get isChecked(): boolean {\r\n return Boolean(this.value);\r\n }\r\n}\r\n","<ng-template\r\n cdkConnectedOverlay\r\n [cdkConnectedOverlayOpen]=\"!!(inputConfig().disabled || inputConfig().readonly)\"\r\n>\r\n <div class=\"readonly-scrim\"></div>\r\n</ng-template>\r\n\r\n<mat-slide-toggle\r\n class=\"toggle-control\"\r\n [disabledInteractive]=\"inputConfig().disabled || inputConfig().readonly\"\r\n [required]=\"inputConfig().required\"\r\n [labelPosition]=\"inputConfig().labelPosition || 'after'\"\r\n (change)=\"changed($event)\"\r\n [checked]=\"isChecked\"\r\n [ariaReadOnly]=\"inputConfig().disabled || inputConfig().readonly\"\r\n [disabled]=\"inputConfig().disabled || inputConfig().readonly\"\r\n>\r\n @if (inputConfig().falseLabel || inputConfig().trueLabel) {\r\n @if (inputConfig().labelPosition !== 'after') {\r\n {{ inputConfig().label | titlecase }}\r\n <span class=\"spacer\"></span>\r\n @if (isChecked) {\r\n <span class=\"true-label\">{{ inputConfig().trueLabel || 'Yes' }}</span>\r\n } @else {\r\n <span class=\"false-label\">{{ inputConfig().falseLabel || 'No' }}</span>\r\n }\r\n } @else {\r\n @if (isChecked) {\r\n <span class=\"true-label\">{{ inputConfig().trueLabel || 'Yes' }}</span>\r\n } @else {\r\n <span class=\"false-label\">{{ inputConfig().falseLabel || 'No' }}</span>\r\n }\r\n <span class=\"spacer\"></span>\r\n {{ inputConfig().label | titlecase }}\r\n }\r\n }\r\n</mat-slide-toggle>\r\n","import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\r\nimport { FormGroup, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport type { ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { TFormInputStatusComponent } from '../../../t-form-input-status/t-form-input-status.component';\r\nimport { ToggleComponent } from './core/toggle/toggle.component';\r\nimport { getInputErrorMessage } from '../../../../services/core/t-input-controller/functions/inputErrorMessage';\r\n\r\n/**\r\n * Wraps `lib-toggle` in a `mat-form-field` and surfaces the configured\r\n * label / hint / error / suffix / prefix metadata for the column.\r\n */\r\n@Component({\r\n selector: 'lib-toggle-input-element',\r\n templateUrl: './toggle-input-element.component.html',\r\n styleUrl: './toggle-input-element.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [\r\n ReactiveFormsModule,\r\n MatFormFieldModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n MatTooltipModule,\r\n TFormInputStatusComponent,\r\n ToggleComponent,\r\n ],\r\n})\r\nexport class ToggleInputElementComponent {\r\n /** Form-input column definition. */\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n\r\n /** Reactive form group hosting the control identified by `inputConfig.id`. */\r\n readonly formGroup = input.required<FormGroup>();\r\n\r\n /** Emitted when the consumer requests a reload of this input. */\r\n readonly reload = output<void>();\r\n\r\n protected readonly errorMessage = computed(() =>\r\n getInputErrorMessage(this.inputConfig(), this.formGroup()),\r\n );\r\n}\r\n","<form [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as inputConfig) {\r\n <mat-form-field\r\n [appearance]=\"inputConfig.appearance || 'fill'\"\r\n floatLabel=\"always\"\r\n subscriptSizing=\"dynamic\"\r\n >\r\n @if (!(inputConfig.disabled || errorMessage())) {\r\n <mat-label>\r\n toggle to select\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig\"></lib-t-form-input-status>\r\n </mat-label>\r\n }\r\n\r\n <lib-toggle\r\n [inputConfig]=\"inputConfig\"\r\n [required]=\"inputConfig.required\"\r\n [formControlName]=\"inputConfig.id\"\r\n ></lib-toggle>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\r\n }\r\n\r\n @if (!!errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\r\n }\r\n\r\n @if (inputConfig.canReload?.canReload) {\r\n <button\r\n mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig.canReload.emit()\"\r\n matSuffix\r\n >\r\n <mat-icon style=\"color: var(--mat-sys-primary)\">sync</mat-icon>\r\n </button>\r\n }\r\n\r\n @if (inputConfig.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.suffixIcon && inputConfig.id !== 'password') {\r\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig.prefixText }}</span>\r\n }\r\n @if (inputConfig.suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig.suffixText }}</span>\r\n }\r\n\r\n @if (inputConfig.maxLength && formGroup()) {\r\n <mat-hint align=\"end\">\r\n {{ (formGroup().controls[inputConfig.id]?.value?.length || 0) + '/' + inputConfig.maxLength }}\r\n </mat-hint>\r\n }\r\n </mat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AAA,QAAA,EAAA,sFAAA,EAAA,QAAA,EAAA,CAAA,WAAA,EAAA,WAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EACf,gBAAgB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,UAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,CAAA,oBAAA,EAAA,4BAAA,EAAA,oBAAA,EAAA,qBAAA,EAAA,qBAAA,EAAA,yBAAA,EAAA,YAAA,EAAA,iBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,YAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAChB,yBAAyB,6FACzB,eAAe,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAGN,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAfvC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,0BAA0B,EAAA,eAAA,EAGnB,uBAAuB,CAAC,MAAM,EAAA,OAAA,EACtC;wBACP,mBAAmB;wBACnB,kBAAkB;wBAClB,aAAa;wBACb,eAAe;wBACf,gBAAgB;wBAChB,yBAAyB;wBACzB,eAAe;AAChB,qBAAA,EAAA,QAAA,EAAA,kyEAAA,EAAA,MAAA,EAAA,CAAA,oJAAA,CAAA,EAAA;;;;;"}
1
+ {"version":3,"file":"ngx-t-forms-toggle-input-element.component-OZre5TJ7.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/toggle-input-element/core/toggle/toggle.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/toggle-input-element/core/toggle/toggle.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/toggle-input-element/toggle-input-element.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/toggle-input-element/toggle-input-element.component.html"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, inject, input } from '@angular/core';\r\nimport { NgControl } from '@angular/forms';\r\nimport { MatFormFieldControl } from '@angular/material/form-field';\r\nimport { MatSlideToggleChange, MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { OverlayModule } from '@angular/cdk/overlay';\r\nimport { TitleCasePipe } from '@angular/common';\r\nimport { ITowerStepColumn } from 'ngx-t-forms-types';\r\n\r\nimport { BaseCustomInput, BaseCustomInputConfig } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';\r\n\r\nconst customInputConfig: BaseCustomInputConfig = {\r\n controlType: 'lib-toggle',\r\n nextId: 0\r\n};\r\n\r\n@Component({\r\n selector: 'lib-toggle',\r\n imports: [MatSlideToggleModule, OverlayModule, TitleCasePipe],\r\n templateUrl: './toggle.component.html',\r\n providers: [{ provide: MatFormFieldControl, useExisting: ToggleComponent }],\r\n styleUrl: './toggle.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class ToggleComponent extends BaseCustomInput<boolean> {\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n\r\n constructor() {\r\n super(\r\n inject(NgControl, { optional: true, self: true }) as NgControl,\r\n inject<ElementRef<HTMLElement>>(ElementRef),\r\n customInputConfig\r\n );\r\n\r\n // A toggle is binary — it must always hold a value. Seed `false` so an\r\n // unset toggle is never in a \"no value\" state (which would otherwise read\r\n // as required while the switch visibly looks off).\r\n this._value = false;\r\n }\r\n\r\n override get empty(): boolean {\r\n // A toggle always holds a boolean (see `writeValue` + the constructor\r\n // seed), so it is never empty. `false` is a provided value, not an absent\r\n // one — mirroring `toggleRequiredValidator`, which passes `true` and `false`.\r\n return false;\r\n }\r\n\r\n /** Coerce any incoming value to a boolean so the control is never null/undefined. */\r\n override writeValue(value: boolean | null | undefined): void {\r\n super.writeValue(Boolean(value));\r\n }\r\n\r\n override get shouldLabelFloat(): boolean {\r\n return this.focused || !this.empty;\r\n }\r\n\r\n protected changed(event: MatSlideToggleChange): void {\r\n this.value = event.checked;\r\n this.onChange(event.checked);\r\n this.stateChanges.next();\r\n }\r\n\r\n protected get isChecked(): boolean {\r\n return Boolean(this.value);\r\n }\r\n}\r\n","<ng-template\r\n cdkConnectedOverlay\r\n [cdkConnectedOverlayOpen]=\"!!(inputConfig().disabled || inputConfig().readonly)\"\r\n>\r\n <div class=\"readonly-scrim\"></div>\r\n</ng-template>\r\n\r\n<mat-slide-toggle\r\n class=\"toggle-control\"\r\n [disabledInteractive]=\"inputConfig().disabled || inputConfig().readonly\"\r\n [required]=\"inputConfig().required\"\r\n [labelPosition]=\"inputConfig().labelPosition || 'after'\"\r\n (change)=\"changed($event)\"\r\n [checked]=\"isChecked\"\r\n [ariaReadOnly]=\"inputConfig().disabled || inputConfig().readonly\"\r\n [disabled]=\"inputConfig().disabled || inputConfig().readonly\"\r\n>\r\n @if (inputConfig().falseLabel || inputConfig().trueLabel) {\r\n @if (inputConfig().labelPosition !== 'after') {\r\n {{ inputConfig().label | titlecase }}\r\n <span class=\"spacer\"></span>\r\n @if (isChecked) {\r\n <span class=\"true-label\">{{ inputConfig().trueLabel || 'Yes' }}</span>\r\n } @else {\r\n <span class=\"false-label\">{{ inputConfig().falseLabel || 'No' }}</span>\r\n }\r\n } @else {\r\n @if (isChecked) {\r\n <span class=\"true-label\">{{ inputConfig().trueLabel || 'Yes' }}</span>\r\n } @else {\r\n <span class=\"false-label\">{{ inputConfig().falseLabel || 'No' }}</span>\r\n }\r\n <span class=\"spacer\"></span>\r\n {{ inputConfig().label | titlecase }}\r\n }\r\n }\r\n</mat-slide-toggle>\r\n","import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\r\nimport { FormGroup, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport type { ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { TFormInputStatusComponent } from '../../../t-form-input-status/t-form-input-status.component';\r\nimport { ToggleComponent } from './core/toggle/toggle.component';\r\nimport { getInputErrorMessage } from '../../../../services/core/t-input-controller/functions/inputErrorMessage';\r\n\r\n/**\r\n * Wraps `lib-toggle` in a `mat-form-field` and surfaces the configured\r\n * label / hint / error / suffix / prefix metadata for the column.\r\n */\r\n@Component({\r\n selector: 'lib-toggle-input-element',\r\n templateUrl: './toggle-input-element.component.html',\r\n styleUrl: './toggle-input-element.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [\r\n ReactiveFormsModule,\r\n MatFormFieldModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n MatTooltipModule,\r\n TFormInputStatusComponent,\r\n ToggleComponent,\r\n ],\r\n})\r\nexport class ToggleInputElementComponent {\r\n /** Form-input column definition. */\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n\r\n /** Reactive form group hosting the control identified by `inputConfig.id`. */\r\n readonly formGroup = input.required<FormGroup>();\r\n\r\n /** Emitted when the consumer requests a reload of this input. */\r\n readonly reload = output<void>();\r\n\r\n protected readonly errorMessage = computed(() =>\r\n getInputErrorMessage(this.inputConfig(), this.formGroup()),\r\n );\r\n}\r\n","<form [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as inputConfig) {\r\n <mat-form-field\r\n [appearance]=\"inputConfig.appearance || 'fill'\"\r\n floatLabel=\"always\"\r\n subscriptSizing=\"dynamic\"\r\n >\r\n @if (!(inputConfig.disabled || errorMessage())) {\r\n <mat-label>\r\n toggle to select\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig\"></lib-t-form-input-status>\r\n </mat-label>\r\n }\r\n\r\n <lib-toggle\r\n [inputConfig]=\"inputConfig\"\r\n [required]=\"inputConfig.required\"\r\n [formControlName]=\"inputConfig.id\"\r\n ></lib-toggle>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\r\n }\r\n\r\n @if (!!errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\r\n }\r\n\r\n @if (inputConfig.canReload?.canReload) {\r\n <button\r\n mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig.canReload.emit()\"\r\n matSuffix\r\n >\r\n <mat-icon style=\"color: var(--mat-sys-primary)\">sync</mat-icon>\r\n </button>\r\n }\r\n\r\n @if (inputConfig.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.suffixIcon && inputConfig.id !== 'password') {\r\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig.prefixText }}</span>\r\n }\r\n @if (inputConfig.suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig.suffixText }}</span>\r\n }\r\n\r\n @if (inputConfig.maxLength && formGroup()) {\r\n <mat-hint align=\"end\">\r\n {{ (formGroup().controls[inputConfig.id]?.value?.length || 0) + '/' + inputConfig.maxLength }}\r\n </mat-hint>\r\n }\r\n </mat-form-field>\r\n }\r\n</form>\r\n"],"names":["i2","i4"],"mappings":";;;;;;;;;;;;;;;;;;;AAUA,MAAM,iBAAiB,GAA0B;AAC/C,IAAA,WAAW,EAAE,YAAY;AACzB,IAAA,MAAM,EAAE;CACT;AAUK,MAAO,eAAgB,SAAQ,eAAwB,CAAA;AAG3D,IAAA,WAAA,GAAA;QACE,KAAK,CACH,MAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EA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AA,qBAAA,EAAA,qBAAA,EAAA,yBAAA,EAAA,YAAA,EAAA,iBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,YAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAChB,yBAAyB,6FACzB,eAAe,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAGN,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAfvC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,0BAA0B,EAAA,eAAA,EAGnB,uBAAuB,CAAC,MAAM,EAAA,OAAA,EACtC;wBACP,mBAAmB;wBACnB,kBAAkB;wBAClB,aAAa;wBACb,eAAe;wBACf,gBAAgB;wBAChB,yBAAyB;wBACzB,eAAe;AAChB,qBAAA,EAAA,QAAA,EAAA,kyEAAA,EAAA,MAAA,EAAA,CAAA,oJAAA,CAAA,EAAA;;;;;"}
@@ -14,16 +14,16 @@ import * as i3$1 from '@angular/material/card';
14
14
  import { MatCardModule } from '@angular/material/card';
15
15
  import * as i8 from '@angular/material/toolbar';
16
16
  import { MatToolbarModule } from '@angular/material/toolbar';
17
- import * as i1 from '@angular/material/button';
17
+ import * as i2 from '@angular/material/button';
18
18
  import { MatButtonModule } from '@angular/material/button';
19
19
  import * as i3$2 from '@angular/material/button-toggle';
20
20
  import { MatButtonToggleModule } from '@angular/material/button-toggle';
21
- import * as i1$1 from '@angular/material/slide-toggle';
21
+ import * as i1 from '@angular/material/slide-toggle';
22
22
  import { MatSlideToggleModule } from '@angular/material/slide-toggle';
23
23
  import * as i5 from '@angular/material/tooltip';
24
24
  import { MatTooltipModule } from '@angular/material/tooltip';
25
25
  import { Subject } from 'rxjs';
26
- import { P as PREDICATE_OPERATORS, r as referencedTokens, p as parseConditions, f as evaluatePredicate, h as emptyCondition, s as serializeConditions, i as deriveObservedInputs } from './ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs';
26
+ import { P as PREDICATE_OPERATORS, r as referencedTokens, p as parseConditions, f as evaluatePredicate, h as emptyCondition, s as serializeConditions, i as deriveObservedInputs } from './ngx-t-forms-ngx-t-forms-BefvSS-p.mjs';
27
27
 
28
28
  function _forTrack0($index, $item) { return this.trackValidator($item); }
29
29
  const _forTrack1 = ($index, $item) => $item.value;
@@ -1074,7 +1074,7 @@ class ValidatorsConfigComponent {
1074
1074
  i0.ɵɵadvance();
1075
1075
  i0.ɵɵconditional((tmp_3_0 = ctx.edit()) ? 15 : -1, tmp_3_0);
1076
1076
  } }, dependencies: [CommonModule,
1077
- MatIconModule, i3.MatIcon, MatChipsModule, i4.MatChipListbox, i4.MatChipOption, i4.MatChipRemove, i4.MatChipTrailingIcon, MatCardModule, i3$1.MatCard, MatToolbarModule, i8.MatToolbar, MatButtonModule, i1.MatButton, i1.MatIconButton, MatButtonToggleModule, i3$2.MatButtonToggleGroup, i3$2.MatButtonToggle, MatSlideToggleModule, i1$1.MatSlideToggle, MatTooltipModule, i5.MatTooltip, i3$3.TitleCasePipe], styles: ["@charset \"UTF-8\";[_nghost-%COMP%]{display:block}.lib-validators-config__title[_ngcontent-%COMP%]{margin:0 0 .5rem;font-size:.9375rem;font-weight:500;letter-spacing:-.01em;color:var(--lib-forms-on-surface)}.lib-validators-config__hint[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.5rem;margin:0 0 1.25rem;font-size:.8125rem;line-height:1.5;color:var(--lib-forms-on-surface-variant)}.lib-validators-config__hint-icon[_ngcontent-%COMP%]{flex:none;font-size:1.125rem;width:1.125rem;height:1.125rem;color:var(--sem-info, var(--lib-forms-primary))}.lib-validators-config__chip[_ngcontent-%COMP%]{height:fit-content;padding:.5rem;cursor:pointer}.lib-validators-config__chip-label[_ngcontent-%COMP%]{white-space:normal}.lib-validators-config__add[_ngcontent-%COMP%]{cursor:pointer}.lib-validators-config__editor[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.25rem;margin-top:1.25rem;padding:1.5rem;background:var(--lib-forms-surface-container-low);border-radius:var(--lib-forms-radius-lg, 16px);box-shadow:var(--lib-forms-shadow-edge)}.lib-validators-config__field[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;min-width:0}.lib-validators-config__f-label[_ngcontent-%COMP%]{font-size:.625rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--lib-forms-on-surface-variant)}.lib-validators-config__control[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;min-width:0;height:2.125rem;padding:.375rem .5rem;font-family:inherit;font-size:.8125rem;line-height:1.25;color:var(--lib-forms-on-surface);background:var(--lib-forms-surface-container-lowest);border:1px solid var(--lib-forms-outline-variant);border-radius:var(--lib-forms-radius-sm);transition:border-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1))}select.lib-validators-config__control[_ngcontent-%COMP%]{cursor:pointer}.lib-validators-config__textarea[_ngcontent-%COMP%]{height:auto;min-height:2.75rem;line-height:1.45;resize:vertical}.lib-validators-config__mono[_ngcontent-%COMP%]{font-family:var(--lib-forms-font-mono, monospace)}.lib-validators-config__control[_ngcontent-%COMP%]:hover{border-color:var(--lib-forms-outline)}.lib-validators-config__control[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--lib-forms-primary);box-shadow:0 0 0 1px var(--lib-forms-primary)}.lib-validators-config__control--invalid[_ngcontent-%COMP%]:not(:focus){border-color:var(--sem-warning, var(--lib-forms-outline));background:var(--sem-warning-surface, var(--lib-forms-surface-container-lowest))}.lib-validators-config__condition-head[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.625rem}.lib-validators-config__match[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.625rem;flex-wrap:wrap}.lib-validators-config__match[_ngcontent-%COMP%] .mat-button-toggle-group{border:none;border-radius:var(--lib-forms-radius-pill, 999px);background:var(--lib-forms-surface-container-high);padding:.25rem;gap:.25rem;box-shadow:none;overflow:hidden}.lib-validators-config__match[_ngcontent-%COMP%] .mat-button-toggle{border:none;background:transparent;border-radius:var(--lib-forms-radius-pill, 999px);color:var(--lib-forms-on-surface-variant);transition:color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing),background var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing)}.lib-validators-config__match[_ngcontent-%COMP%] .mat-button-toggle+.mat-button-toggle{border-left:none}.lib-validators-config__match[_ngcontent-%COMP%] .mat-button-toggle-button{height:auto}.lib-validators-config__match[_ngcontent-%COMP%] .mat-button-toggle-label-content{padding:.25rem .75rem;line-height:1.5;font-size:.75rem;font-weight:600}.lib-validators-config__match[_ngcontent-%COMP%] .mat-button-toggle-checked{background:var(--lib-forms-surface);color:var(--lib-forms-primary);box-shadow:var(--lib-forms-shadow-edge)}.lib-validators-config__match[_ngcontent-%COMP%] .mat-pseudo-checkbox{display:none}.lib-validators-config__muted[_ngcontent-%COMP%]{font-size:.8125rem;color:var(--lib-forms-on-surface-variant)}.lib-validators-config__connector[_ngcontent-%COMP%]{display:flex;justify-content:center;margin:-.375rem 0}.lib-validators-config__connector[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding:.0625rem .5rem;font-size:.625rem;font-weight:600;letter-spacing:.1em;color:var(--lib-forms-on-surface-variant);background:var(--lib-forms-surface-container-high);border-radius:var(--lib-forms-radius-pill, 999px)}.lib-validators-config__cond[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto;align-items:start;gap:.375rem;padding:.75rem;background:var(--lib-forms-surface-container-lowest);border:1px solid var(--lib-forms-outline-variant);border-radius:var(--lib-forms-radius-md)}.lib-validators-config__cond-body[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.625rem;min-width:0}.lib-validators-config__cond-pair[_ngcontent-%COMP%]{display:grid;grid-template-columns:8.5rem 1fr;gap:.5rem;min-width:0}.lib-validators-config__value[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem;min-width:0}.lib-validators-config__value-toggle[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;flex:none;width:2.125rem;height:2.125rem;padding:0;color:var(--lib-forms-on-surface-variant);background:transparent;border:1px solid var(--lib-forms-outline-variant);border-radius:var(--lib-forms-radius-sm);cursor:pointer;transition:border-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1)),color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1))}.lib-validators-config__value-toggle[_ngcontent-%COMP%]:hover{color:var(--lib-forms-primary);border-color:var(--lib-forms-primary)}.lib-validators-config__value-toggle[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:1.0625rem;width:1.0625rem;height:1.0625rem}.lib-validators-config__cond-remove[_ngcontent-%COMP%]{width:2rem;height:2rem;color:var(--lib-forms-on-surface-variant)}.lib-validators-config__link[_ngcontent-%COMP%]{display:inline-flex;align-items:center;align-self:flex-start;gap:.25rem;height:1.875rem;padding:0 .5rem;font:inherit;font-size:.8125rem;font-weight:500;color:var(--lib-forms-primary);background:transparent;border:0;border-radius:var(--lib-forms-radius-sm);cursor:pointer;transition:background-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1))}.lib-validators-config__link[_ngcontent-%COMP%]:hover:not(:disabled){background:var(--lib-forms-primary-container)}.lib-validators-config__link[_ngcontent-%COMP%]:disabled{color:var(--lib-forms-on-surface-variant);cursor:default;opacity:.6}.lib-validators-config__link[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex:none;font-size:1.0625rem;width:1.0625rem;height:1.0625rem}.lib-validators-config__lists[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem;padding:.75rem;background:var(--lib-forms-surface-container-lowest);border:1px solid var(--lib-forms-outline-variant);border-radius:var(--lib-forms-radius-md)}.lib-validators-config__list-row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.lib-validators-config__list-name[_ngcontent-%COMP%]{font-size:.8125rem;font-weight:500;color:var(--lib-forms-on-surface)}.lib-validators-config__list-row--unset[_ngcontent-%COMP%] .lib-validators-config__list-name[_ngcontent-%COMP%]:after{content:\" \\2014 pick one\";font-weight:400;color:var(--sem-warning, var(--lib-forms-on-surface-variant))}.lib-validators-config__list-optional[_ngcontent-%COMP%]{margin-left:.375rem;font-size:.625rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--lib-forms-on-surface-variant)}.lib-validators-config__agg[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:wrap;gap:.25rem}.lib-validators-config__agg-chip[_ngcontent-%COMP%]{padding:.1875rem .5rem;font:inherit;font-size:.75rem;font-weight:500;color:var(--lib-forms-on-surface-variant);background:var(--lib-forms-surface-container);border:1px solid var(--lib-forms-outline-variant);border-radius:var(--lib-forms-radius-pill, 999px);cursor:pointer;transition:background-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1)),color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1)),border-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1))}.lib-validators-config__agg-chip[_ngcontent-%COMP%]:hover{border-color:var(--lib-forms-primary);color:var(--lib-forms-primary)}.lib-validators-config__agg-chip--on[_ngcontent-%COMP%]{color:var(--lib-forms-on-primary, var(--mat-sys-on-primary));background:var(--lib-forms-primary);border-color:var(--lib-forms-primary)}.lib-validators-config__preview[_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:.5rem;padding:.5rem .625rem;background:var(--lib-forms-surface-container-lowest);border:1px dashed var(--lib-forms-outline-variant);border-radius:var(--lib-forms-radius-sm)}.lib-validators-config__preview[_ngcontent-%COMP%] .lib-validators-config__f-label[_ngcontent-%COMP%]{flex:none}.lib-validators-config__preview[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-family:var(--lib-forms-font-mono, monospace);font-size:.75rem;color:var(--lib-forms-on-surface-variant);word-break:break-word}.lib-validators-config__sub-hint[_ngcontent-%COMP%]{margin:0;font-size:.75rem;line-height:1.45;color:var(--lib-forms-on-surface-variant)}.lib-validators-config__sub-hint[_ngcontent-%COMP%] code[_ngcontent-%COMP%], .lib-validators-config__error[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-family:var(--lib-forms-font-mono, monospace);padding:.0625rem .25rem;background:var(--lib-forms-surface-container-high);border-radius:var(--lib-forms-radius-sm)}.lib-validators-config__error[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.375rem;margin:0;font-size:.75rem;line-height:1.45;color:var(--sem-error, var(--mat-sys-error))}.lib-validators-config__error-icon[_ngcontent-%COMP%]{flex:none;font-size:1rem;width:1rem;height:1rem}.lib-validators-config__override[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.lib-validators-config__toggle-label[_ngcontent-%COMP%]{margin-left:.5rem;font-size:.8125rem}.lib-validators-config__foot[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;margin-top:-.5rem}.lib-validators-config__save-hint[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.375rem;margin:0;font-size:.75rem;line-height:1.45;color:var(--lib-forms-on-surface-variant)}.lib-validators-config__save-hint-icon[_ngcontent-%COMP%]{flex:none;font-size:1rem;width:1rem;height:1rem;color:var(--sem-info, var(--lib-forms-primary))}.lib-validators-config__toolbar[_ngcontent-%COMP%]{background:transparent;padding:0}.lib-validators-config__spacer[_ngcontent-%COMP%]{flex:1 1 auto}"], changeDetection: 0 }); }
1077
+ MatIconModule, i3.MatIcon, MatChipsModule, i4.MatChipListbox, i4.MatChipOption, i4.MatChipRemove, i4.MatChipTrailingIcon, MatCardModule, i3$1.MatCard, MatToolbarModule, i8.MatToolbar, MatButtonModule, i2.MatButton, i2.MatIconButton, MatButtonToggleModule, i3$2.MatButtonToggleGroup, i3$2.MatButtonToggle, MatSlideToggleModule, i1.MatSlideToggle, MatTooltipModule, i5.MatTooltip, i3$3.TitleCasePipe], styles: ["@charset \"UTF-8\";[_nghost-%COMP%]{display:block}.lib-validators-config__title[_ngcontent-%COMP%]{margin:0 0 .5rem;font-size:.9375rem;font-weight:500;letter-spacing:-.01em;color:var(--lib-forms-on-surface)}.lib-validators-config__hint[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.5rem;margin:0 0 1.25rem;font-size:.8125rem;line-height:1.5;color:var(--lib-forms-on-surface-variant)}.lib-validators-config__hint-icon[_ngcontent-%COMP%]{flex:none;font-size:1.125rem;width:1.125rem;height:1.125rem;color:var(--sem-info, var(--lib-forms-primary))}.lib-validators-config__chip[_ngcontent-%COMP%]{height:fit-content;padding:.5rem;cursor:pointer}.lib-validators-config__chip-label[_ngcontent-%COMP%]{white-space:normal}.lib-validators-config__add[_ngcontent-%COMP%]{cursor:pointer}.lib-validators-config__editor[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.25rem;margin-top:1.25rem;padding:1.5rem;background:var(--lib-forms-surface-container-low);border-radius:var(--lib-forms-radius-lg, 16px);box-shadow:var(--lib-forms-shadow-edge)}.lib-validators-config__field[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;min-width:0}.lib-validators-config__f-label[_ngcontent-%COMP%]{font-size:.625rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--lib-forms-on-surface-variant)}.lib-validators-config__control[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;min-width:0;height:2.125rem;padding:.375rem .5rem;font-family:inherit;font-size:.8125rem;line-height:1.25;color:var(--lib-forms-on-surface);background:var(--lib-forms-surface-container-lowest);border:1px solid var(--lib-forms-outline-variant);border-radius:var(--lib-forms-radius-sm);transition:border-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1))}select.lib-validators-config__control[_ngcontent-%COMP%]{cursor:pointer}.lib-validators-config__textarea[_ngcontent-%COMP%]{height:auto;min-height:2.75rem;line-height:1.45;resize:vertical}.lib-validators-config__mono[_ngcontent-%COMP%]{font-family:var(--lib-forms-font-mono, monospace)}.lib-validators-config__control[_ngcontent-%COMP%]:hover{border-color:var(--lib-forms-outline)}.lib-validators-config__control[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--lib-forms-primary);box-shadow:0 0 0 1px var(--lib-forms-primary)}.lib-validators-config__control--invalid[_ngcontent-%COMP%]:not(:focus){border-color:var(--sem-warning, var(--lib-forms-outline));background:var(--sem-warning-surface, var(--lib-forms-surface-container-lowest))}.lib-validators-config__condition-head[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.625rem}.lib-validators-config__match[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.625rem;flex-wrap:wrap}.lib-validators-config__match[_ngcontent-%COMP%] .mat-button-toggle-group{border:none;border-radius:var(--lib-forms-radius-pill, 999px);background:var(--lib-forms-surface-container-high);padding:.25rem;gap:.25rem;box-shadow:none;overflow:hidden}.lib-validators-config__match[_ngcontent-%COMP%] .mat-button-toggle{border:none;background:transparent;border-radius:var(--lib-forms-radius-pill, 999px);color:var(--lib-forms-on-surface-variant);transition:color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing),background var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing)}.lib-validators-config__match[_ngcontent-%COMP%] .mat-button-toggle+.mat-button-toggle{border-left:none}.lib-validators-config__match[_ngcontent-%COMP%] .mat-button-toggle-button{height:auto}.lib-validators-config__match[_ngcontent-%COMP%] .mat-button-toggle-label-content{padding:.25rem .75rem;line-height:1.5;font-size:.75rem;font-weight:600}.lib-validators-config__match[_ngcontent-%COMP%] .mat-button-toggle-checked{background:var(--lib-forms-surface);color:var(--lib-forms-primary);box-shadow:var(--lib-forms-shadow-edge)}.lib-validators-config__match[_ngcontent-%COMP%] .mat-pseudo-checkbox{display:none}.lib-validators-config__muted[_ngcontent-%COMP%]{font-size:.8125rem;color:var(--lib-forms-on-surface-variant)}.lib-validators-config__connector[_ngcontent-%COMP%]{display:flex;justify-content:center;margin:-.375rem 0}.lib-validators-config__connector[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding:.0625rem .5rem;font-size:.625rem;font-weight:600;letter-spacing:.1em;color:var(--lib-forms-on-surface-variant);background:var(--lib-forms-surface-container-high);border-radius:var(--lib-forms-radius-pill, 999px)}.lib-validators-config__cond[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto;align-items:start;gap:.375rem;padding:.75rem;background:var(--lib-forms-surface-container-lowest);border:1px solid var(--lib-forms-outline-variant);border-radius:var(--lib-forms-radius-md)}.lib-validators-config__cond-body[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.625rem;min-width:0}.lib-validators-config__cond-pair[_ngcontent-%COMP%]{display:grid;grid-template-columns:8.5rem 1fr;gap:.5rem;min-width:0}.lib-validators-config__value[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem;min-width:0}.lib-validators-config__value-toggle[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;flex:none;width:2.125rem;height:2.125rem;padding:0;color:var(--lib-forms-on-surface-variant);background:transparent;border:1px solid var(--lib-forms-outline-variant);border-radius:var(--lib-forms-radius-sm);cursor:pointer;transition:border-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1)),color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1))}.lib-validators-config__value-toggle[_ngcontent-%COMP%]:hover{color:var(--lib-forms-primary);border-color:var(--lib-forms-primary)}.lib-validators-config__value-toggle[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:1.0625rem;width:1.0625rem;height:1.0625rem}.lib-validators-config__cond-remove[_ngcontent-%COMP%]{width:2rem;height:2rem;color:var(--lib-forms-on-surface-variant)}.lib-validators-config__link[_ngcontent-%COMP%]{display:inline-flex;align-items:center;align-self:flex-start;gap:.25rem;height:1.875rem;padding:0 .5rem;font:inherit;font-size:.8125rem;font-weight:500;color:var(--lib-forms-primary);background:transparent;border:0;border-radius:var(--lib-forms-radius-sm);cursor:pointer;transition:background-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1))}.lib-validators-config__link[_ngcontent-%COMP%]:hover:not(:disabled){background:var(--lib-forms-primary-container)}.lib-validators-config__link[_ngcontent-%COMP%]:disabled{color:var(--lib-forms-on-surface-variant);cursor:default;opacity:.6}.lib-validators-config__link[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex:none;font-size:1.0625rem;width:1.0625rem;height:1.0625rem}.lib-validators-config__lists[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem;padding:.75rem;background:var(--lib-forms-surface-container-lowest);border:1px solid var(--lib-forms-outline-variant);border-radius:var(--lib-forms-radius-md)}.lib-validators-config__list-row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.lib-validators-config__list-name[_ngcontent-%COMP%]{font-size:.8125rem;font-weight:500;color:var(--lib-forms-on-surface)}.lib-validators-config__list-row--unset[_ngcontent-%COMP%] .lib-validators-config__list-name[_ngcontent-%COMP%]:after{content:\" \\2014 pick one\";font-weight:400;color:var(--sem-warning, var(--lib-forms-on-surface-variant))}.lib-validators-config__list-optional[_ngcontent-%COMP%]{margin-left:.375rem;font-size:.625rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--lib-forms-on-surface-variant)}.lib-validators-config__agg[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:wrap;gap:.25rem}.lib-validators-config__agg-chip[_ngcontent-%COMP%]{padding:.1875rem .5rem;font:inherit;font-size:.75rem;font-weight:500;color:var(--lib-forms-on-surface-variant);background:var(--lib-forms-surface-container);border:1px solid var(--lib-forms-outline-variant);border-radius:var(--lib-forms-radius-pill, 999px);cursor:pointer;transition:background-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1)),color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1)),border-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing, cubic-bezier(.16, 1, .3, 1))}.lib-validators-config__agg-chip[_ngcontent-%COMP%]:hover{border-color:var(--lib-forms-primary);color:var(--lib-forms-primary)}.lib-validators-config__agg-chip--on[_ngcontent-%COMP%]{color:var(--lib-forms-on-primary, var(--mat-sys-on-primary));background:var(--lib-forms-primary);border-color:var(--lib-forms-primary)}.lib-validators-config__preview[_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:.5rem;padding:.5rem .625rem;background:var(--lib-forms-surface-container-lowest);border:1px dashed var(--lib-forms-outline-variant);border-radius:var(--lib-forms-radius-sm)}.lib-validators-config__preview[_ngcontent-%COMP%] .lib-validators-config__f-label[_ngcontent-%COMP%]{flex:none}.lib-validators-config__preview[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-family:var(--lib-forms-font-mono, monospace);font-size:.75rem;color:var(--lib-forms-on-surface-variant);word-break:break-word}.lib-validators-config__sub-hint[_ngcontent-%COMP%]{margin:0;font-size:.75rem;line-height:1.45;color:var(--lib-forms-on-surface-variant)}.lib-validators-config__sub-hint[_ngcontent-%COMP%] code[_ngcontent-%COMP%], .lib-validators-config__error[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-family:var(--lib-forms-font-mono, monospace);padding:.0625rem .25rem;background:var(--lib-forms-surface-container-high);border-radius:var(--lib-forms-radius-sm)}.lib-validators-config__error[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.375rem;margin:0;font-size:.75rem;line-height:1.45;color:var(--sem-error, var(--mat-sys-error))}.lib-validators-config__error-icon[_ngcontent-%COMP%]{flex:none;font-size:1rem;width:1rem;height:1rem}.lib-validators-config__override[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.lib-validators-config__toggle-label[_ngcontent-%COMP%]{margin-left:.5rem;font-size:.8125rem}.lib-validators-config__foot[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;margin-top:-.5rem}.lib-validators-config__save-hint[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.375rem;margin:0;font-size:.75rem;line-height:1.45;color:var(--lib-forms-on-surface-variant)}.lib-validators-config__save-hint-icon[_ngcontent-%COMP%]{flex:none;font-size:1rem;width:1rem;height:1rem;color:var(--sem-info, var(--lib-forms-primary))}.lib-validators-config__toolbar[_ngcontent-%COMP%]{background:transparent;padding:0}.lib-validators-config__spacer[_ngcontent-%COMP%]{flex:1 1 auto}"], changeDetection: 0 }); }
1078
1078
  }
1079
1079
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ValidatorsConfigComponent, [{
1080
1080
  type: Component,
@@ -1102,4 +1102,4 @@ class ValidatorsConfigComponent {
1102
1102
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ValidatorsConfigComponent, { className: "ValidatorsConfigComponent", filePath: "lib/components/t-dynamic-data-edit/elements/validators-config/validators-config.component.ts", lineNumber: 123 }); })();
1103
1103
 
1104
1104
  export { ValidatorsConfigComponent };
1105
- //# sourceMappingURL=ngx-t-forms-validators-config.component-DjLB40z-.mjs.map
1105
+ //# sourceMappingURL=ngx-t-forms-validators-config.component-B1Lzs7o2.mjs.map