ngx-t-forms 2.0.37 → 3.1.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 (158) hide show
  1. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-D_l5sbNh.mjs → ngx-t-forms-auto-complete-input-element.component-FhUHTsUF.mjs} +4 -4
  2. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-D_l5sbNh.mjs.map → ngx-t-forms-auto-complete-input-element.component-FhUHTsUF.mjs.map} +1 -1
  3. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-fJIsRm0v.mjs → ngx-t-forms-basic-input-input-element.component-BJKe9wIA.mjs} +6 -6
  4. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-fJIsRm0v.mjs.map → ngx-t-forms-basic-input-input-element.component-BJKe9wIA.mjs.map} +1 -1
  5. package/fesm2022/ngx-t-forms-calculated-field-rules.component-FQLTI7CX.mjs +643 -0
  6. package/fesm2022/ngx-t-forms-calculated-field-rules.component-FQLTI7CX.mjs.map +1 -0
  7. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-L1kPy15K.mjs → ngx-t-forms-chip-options-creator-editor.component-CJtbprXS.mjs} +4 -4
  8. package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-CJtbprXS.mjs.map +1 -0
  9. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-CU6Cp-oK.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-CU6R5h-x.mjs} +4 -4
  10. package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-CU6R5h-x.mjs.map +1 -0
  11. package/fesm2022/ngx-t-forms-data-source-picker.component-C8MBbnfz.mjs +261 -0
  12. package/fesm2022/ngx-t-forms-data-source-picker.component-C8MBbnfz.mjs.map +1 -0
  13. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-DsjcLQ5A.mjs → ngx-t-forms-date-picker-input-element.component-Dux6uy66.mjs} +4 -4
  14. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-DsjcLQ5A.mjs.map → ngx-t-forms-date-picker-input-element.component-Dux6uy66.mjs.map} +1 -1
  15. package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-SMWrTm5X.mjs +157 -0
  16. package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-SMWrTm5X.mjs.map +1 -0
  17. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-uGM93dvc.mjs +373 -0
  18. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-uGM93dvc.mjs.map +1 -0
  19. package/fesm2022/ngx-t-forms-document-picker.component-DIqaaBSl.mjs +1259 -0
  20. package/fesm2022/ngx-t-forms-document-picker.component-DIqaaBSl.mjs.map +1 -0
  21. package/fesm2022/ngx-t-forms-editor-input-element.component-CIELjDty.mjs +417 -0
  22. package/fesm2022/ngx-t-forms-editor-input-element.component-CIELjDty.mjs.map +1 -0
  23. package/fesm2022/ngx-t-forms-editor-js-input.component-C1dI_7rU.mjs +553 -0
  24. package/fesm2022/ngx-t-forms-editor-js-input.component-C1dI_7rU.mjs.map +1 -0
  25. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-_RBYRgn9.mjs → ngx-t-forms-file-upload-input-element.component-CQsKz87N.mjs} +7 -7
  26. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-_RBYRgn9.mjs.map → ngx-t-forms-file-upload-input-element.component-CQsKz87N.mjs.map} +1 -1
  27. package/fesm2022/ngx-t-forms-form-input-selector.component-Dj0jvBdm.mjs +86 -0
  28. package/fesm2022/ngx-t-forms-form-input-selector.component-Dj0jvBdm.mjs.map +1 -0
  29. package/fesm2022/{ngx-t-forms-form-json-view.component-D9rU9vxT.mjs → ngx-t-forms-form-json-view.component-DzJKFl4c.mjs} +2 -2
  30. package/fesm2022/{ngx-t-forms-form-json-view.component-D9rU9vxT.mjs.map → ngx-t-forms-form-json-view.component-DzJKFl4c.mjs.map} +1 -1
  31. package/fesm2022/ngx-t-forms-form-payload-projection.component-y9PSIeP1.mjs +179 -0
  32. package/fesm2022/ngx-t-forms-form-payload-projection.component-y9PSIeP1.mjs.map +1 -0
  33. package/fesm2022/{ngx-t-forms-form-section-stepper.component-CqCL3Bnc.mjs → ngx-t-forms-form-section-stepper.component-DOvVtJGB.mjs} +6 -6
  34. package/fesm2022/{ngx-t-forms-form-section-stepper.component-CqCL3Bnc.mjs.map → ngx-t-forms-form-section-stepper.component-DOvVtJGB.mjs.map} +1 -1
  35. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-wmRDJU4P.mjs → ngx-t-forms-forms-builder-menu.component-CcqyQLf5.mjs} +12 -12
  36. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-wmRDJU4P.mjs.map → ngx-t-forms-forms-builder-menu.component-CcqyQLf5.mjs.map} +1 -1
  37. package/fesm2022/{ngx-t-forms-geo-location.component-CMbBSXe0.mjs → ngx-t-forms-geo-location.component-Bj_qIEqi.mjs} +7 -7
  38. package/fesm2022/{ngx-t-forms-geo-location.component-CMbBSXe0.mjs.map → ngx-t-forms-geo-location.component-Bj_qIEqi.mjs.map} +1 -1
  39. package/fesm2022/ngx-t-forms-header-template-editor.component-DLldVmcN.mjs +129 -0
  40. package/fesm2022/ngx-t-forms-header-template-editor.component-DLldVmcN.mjs.map +1 -0
  41. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-Cbq8OYk7.mjs → ngx-t-forms-image-capture-input-element.component-lwp3IcDt.mjs} +7 -7
  42. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-Cbq8OYk7.mjs.map → ngx-t-forms-image-capture-input-element.component-lwp3IcDt.mjs.map} +1 -1
  43. package/fesm2022/{ngx-t-forms-index-CPNvE4PP.mjs → ngx-t-forms-index-C8NtLE16.mjs} +2 -2
  44. package/fesm2022/ngx-t-forms-index-C8NtLE16.mjs.map +1 -0
  45. package/fesm2022/{ngx-t-forms-input-custom.component-uNVdF9aA.mjs → ngx-t-forms-input-custom.component-DiciFhSS.mjs} +2 -2
  46. package/fesm2022/{ngx-t-forms-input-custom.component-uNVdF9aA.mjs.map → ngx-t-forms-input-custom.component-DiciFhSS.mjs.map} +1 -1
  47. package/fesm2022/ngx-t-forms-input-editor.component-D12hrHOc.mjs +190 -0
  48. package/fesm2022/ngx-t-forms-input-editor.component-D12hrHOc.mjs.map +1 -0
  49. package/fesm2022/{ngx-t-forms-map-mat-options-keys-D0SGS9xQ.mjs → ngx-t-forms-map-mat-options-keys-C2JpMTEc.mjs} +2 -2
  50. package/fesm2022/{ngx-t-forms-map-mat-options-keys-D0SGS9xQ.mjs.map → ngx-t-forms-map-mat-options-keys-C2JpMTEc.mjs.map} +1 -1
  51. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-C1Qrze7K.mjs +167 -0
  52. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-C1Qrze7K.mjs.map +1 -0
  53. package/fesm2022/{ngx-t-forms-mat-slider-editor.component-CTSBrM-j.mjs → ngx-t-forms-mat-slider-editor.component-4buvmLkX.mjs} +3 -3
  54. package/fesm2022/ngx-t-forms-mat-slider-editor.component-4buvmLkX.mjs.map +1 -0
  55. package/fesm2022/{ngx-t-forms-mat-slider-toggle-editor.component-CcYiwx-8.mjs → ngx-t-forms-mat-slider-toggle-editor.component-DX8L0O1k.mjs} +3 -3
  56. package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-DX8L0O1k.mjs.map +1 -0
  57. package/fesm2022/{ngx-t-forms-missing-form-configs.component-CxF6Ljjf.mjs → ngx-t-forms-missing-form-configs.component-BaTR_jzc.mjs} +4 -4
  58. package/fesm2022/{ngx-t-forms-missing-form-configs.component-CxF6Ljjf.mjs.map → ngx-t-forms-missing-form-configs.component-BaTR_jzc.mjs.map} +1 -1
  59. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-BqT5Z8SM.mjs → ngx-t-forms-mscoa-chart-toolbar.component-Dni_bv_G.mjs} +4 -4
  60. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-BqT5Z8SM.mjs.map → ngx-t-forms-mscoa-chart-toolbar.component-Dni_bv_G.mjs.map} +1 -1
  61. package/fesm2022/{ngx-t-forms-mscoa-error-display.component-99DpVSy7.mjs → ngx-t-forms-mscoa-error-display.component-BDPi6w2E.mjs} +3 -3
  62. package/fesm2022/{ngx-t-forms-mscoa-error-display.component-99DpVSy7.mjs.map → ngx-t-forms-mscoa-error-display.component-BDPi6w2E.mjs.map} +1 -1
  63. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-BPQuzR5k.mjs +447 -0
  64. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-BPQuzR5k.mjs.map +1 -0
  65. package/fesm2022/{ngx-t-forms-mscoa-temporary-hint.component-B1Z-IXSL.mjs → ngx-t-forms-mscoa-temporary-hint.component-g7DosiVb.mjs} +3 -3
  66. 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
  67. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-hXWMRFjl.mjs +905 -0
  68. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-hXWMRFjl.mjs.map +1 -0
  69. package/fesm2022/{ngx-t-forms-ngx-t-forms-DQ_h-jPF.mjs → ngx-t-forms-ngx-t-forms-tQEbZK_e.mjs} +2188 -249
  70. package/fesm2022/ngx-t-forms-ngx-t-forms-tQEbZK_e.mjs.map +1 -0
  71. package/fesm2022/{ngx-t-forms-paginated-selection-table-DHwojPhn.mjs → ngx-t-forms-paginated-selection-table-pYY2sWAb.mjs} +8 -8
  72. package/fesm2022/{ngx-t-forms-paginated-selection-table-DHwojPhn.mjs.map → ngx-t-forms-paginated-selection-table-pYY2sWAb.mjs.map} +1 -1
  73. package/fesm2022/ngx-t-forms-payload-template-editor.component-DGCUsTYx.mjs +79 -0
  74. package/fesm2022/ngx-t-forms-payload-template-editor.component-DGCUsTYx.mjs.map +1 -0
  75. package/fesm2022/ngx-t-forms-pipeline-generator.component-D2stBXXC.mjs +748 -0
  76. package/fesm2022/ngx-t-forms-pipeline-generator.component-D2stBXXC.mjs.map +1 -0
  77. package/fesm2022/ngx-t-forms-record-list-manager.component-CtCOIpai.mjs +446 -0
  78. package/fesm2022/ngx-t-forms-record-list-manager.component-CtCOIpai.mjs.map +1 -0
  79. package/fesm2022/ngx-t-forms-required-inputs.component-D9wIdOhg.mjs +272 -0
  80. package/fesm2022/ngx-t-forms-required-inputs.component-D9wIdOhg.mjs.map +1 -0
  81. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-D3sa7sNg.mjs → ngx-t-forms-rest-api-call-setup.component-Gy7Rtmue.mjs} +39 -8
  82. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-Gy7Rtmue.mjs.map +1 -0
  83. package/fesm2022/ngx-t-forms-search-field.component-mR4Kk12C.mjs +38 -0
  84. package/fesm2022/ngx-t-forms-search-field.component-mR4Kk12C.mjs.map +1 -0
  85. package/fesm2022/{ngx-t-forms-section-report.component-D6jakGa5.mjs → ngx-t-forms-section-report.component-U9uQ_Ow9.mjs} +4 -4
  86. package/fesm2022/{ngx-t-forms-section-report.component-D6jakGa5.mjs.map → ngx-t-forms-section-report.component-U9uQ_Ow9.mjs.map} +1 -1
  87. package/fesm2022/{ngx-t-forms-select-input-element.component-CwqIck0h.mjs → ngx-t-forms-select-input-element.component-CxYTmuvV.mjs} +8 -8
  88. package/fesm2022/{ngx-t-forms-select-input-element.component-CwqIck0h.mjs.map → ngx-t-forms-select-input-element.component-CxYTmuvV.mjs.map} +1 -1
  89. package/fesm2022/ngx-t-forms-selection-options-editor.component-BLLejOLG.mjs +169 -0
  90. package/fesm2022/ngx-t-forms-selection-options-editor.component-BLLejOLG.mjs.map +1 -0
  91. package/fesm2022/ngx-t-forms-t-workflow-picker.component-D0ttyEex.mjs +263 -0
  92. package/fesm2022/ngx-t-forms-t-workflow-picker.component-D0ttyEex.mjs.map +1 -0
  93. package/fesm2022/{ngx-t-forms-textarea-input-element.component-D4dEi8Vs.mjs → ngx-t-forms-textarea-input-element.component-75VdPc6z.mjs} +4 -4
  94. package/fesm2022/{ngx-t-forms-textarea-input-element.component-D4dEi8Vs.mjs.map → ngx-t-forms-textarea-input-element.component-75VdPc6z.mjs.map} +1 -1
  95. package/fesm2022/{ngx-t-forms-toggle-input-element.component-BZiTFB0j.mjs → ngx-t-forms-toggle-input-element.component-DQGvEJN-.mjs} +4 -4
  96. package/fesm2022/{ngx-t-forms-toggle-input-element.component-BZiTFB0j.mjs.map → ngx-t-forms-toggle-input-element.component-DQGvEJN-.mjs.map} +1 -1
  97. package/fesm2022/ngx-t-forms-token-transform-D_wsFbNc.mjs +173 -0
  98. package/fesm2022/ngx-t-forms-token-transform-D_wsFbNc.mjs.map +1 -0
  99. package/fesm2022/ngx-t-forms-validators-config.component-EM7RSWIz.mjs +574 -0
  100. package/fesm2022/ngx-t-forms-validators-config.component-EM7RSWIz.mjs.map +1 -0
  101. package/fesm2022/{ngx-t-forms-workflow-adjudication.component-DD6Fhx06.mjs → ngx-t-forms-workflow-adjudication.component-C1Em-g9e.mjs} +17 -17
  102. package/fesm2022/ngx-t-forms-workflow-adjudication.component-C1Em-g9e.mjs.map +1 -0
  103. package/fesm2022/ngx-t-forms.mjs +1 -1
  104. package/package.json +2 -2
  105. package/styles/_editor-mixins.scss +117 -117
  106. package/styles/_signature-pad.scss +26 -26
  107. package/styles/_tokens.scss +148 -148
  108. package/types/ngx-t-forms.d.ts +14 -2
  109. package/fesm2022/ngx-t-forms-calculated-field-rules.component-B8Do3h4B.mjs +0 -643
  110. package/fesm2022/ngx-t-forms-calculated-field-rules.component-B8Do3h4B.mjs.map +0 -1
  111. package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-L1kPy15K.mjs.map +0 -1
  112. package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-CU6Cp-oK.mjs.map +0 -1
  113. package/fesm2022/ngx-t-forms-data-source-picker.component-r7OGAsxo.mjs +0 -261
  114. package/fesm2022/ngx-t-forms-data-source-picker.component-r7OGAsxo.mjs.map +0 -1
  115. package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-B8V7IpoK.mjs +0 -156
  116. package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-B8V7IpoK.mjs.map +0 -1
  117. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-hKJqVYUY.mjs +0 -373
  118. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-hKJqVYUY.mjs.map +0 -1
  119. package/fesm2022/ngx-t-forms-document-picker.component-f-hz6Vef.mjs +0 -704
  120. package/fesm2022/ngx-t-forms-document-picker.component-f-hz6Vef.mjs.map +0 -1
  121. package/fesm2022/ngx-t-forms-editor-input-element.component-D38U94oj.mjs +0 -294
  122. package/fesm2022/ngx-t-forms-editor-input-element.component-D38U94oj.mjs.map +0 -1
  123. package/fesm2022/ngx-t-forms-editor-js-input.component-D_Jq7sfY.mjs +0 -240
  124. package/fesm2022/ngx-t-forms-editor-js-input.component-D_Jq7sfY.mjs.map +0 -1
  125. package/fesm2022/ngx-t-forms-form-input-selector.component-CUwK3DqG.mjs +0 -86
  126. package/fesm2022/ngx-t-forms-form-input-selector.component-CUwK3DqG.mjs.map +0 -1
  127. package/fesm2022/ngx-t-forms-form-payload-projection.component-D46W1-4z.mjs +0 -179
  128. package/fesm2022/ngx-t-forms-form-payload-projection.component-D46W1-4z.mjs.map +0 -1
  129. package/fesm2022/ngx-t-forms-index-CPNvE4PP.mjs.map +0 -1
  130. package/fesm2022/ngx-t-forms-input-editor.component-BWoKhlI3.mjs +0 -190
  131. package/fesm2022/ngx-t-forms-input-editor.component-BWoKhlI3.mjs.map +0 -1
  132. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Cu-KiAeY.mjs +0 -66
  133. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Cu-KiAeY.mjs.map +0 -1
  134. package/fesm2022/ngx-t-forms-mat-slider-editor.component-CTSBrM-j.mjs.map +0 -1
  135. package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-CcYiwx-8.mjs.map +0 -1
  136. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-BT-dM_5C.mjs +0 -447
  137. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-BT-dM_5C.mjs.map +0 -1
  138. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-DXAh2Mbm.mjs +0 -905
  139. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-DXAh2Mbm.mjs.map +0 -1
  140. package/fesm2022/ngx-t-forms-ngx-t-forms-DQ_h-jPF.mjs.map +0 -1
  141. package/fesm2022/ngx-t-forms-payload-template-editor.component-CAXdFu4E.mjs +0 -203
  142. package/fesm2022/ngx-t-forms-payload-template-editor.component-CAXdFu4E.mjs.map +0 -1
  143. package/fesm2022/ngx-t-forms-pipeline-generator.component-BJQ-KnmU.mjs +0 -748
  144. package/fesm2022/ngx-t-forms-pipeline-generator.component-BJQ-KnmU.mjs.map +0 -1
  145. package/fesm2022/ngx-t-forms-record-list-manager.component-BoD3S_7u.mjs +0 -358
  146. package/fesm2022/ngx-t-forms-record-list-manager.component-BoD3S_7u.mjs.map +0 -1
  147. package/fesm2022/ngx-t-forms-required-inputs.component-C-E3fQu6.mjs +0 -272
  148. package/fesm2022/ngx-t-forms-required-inputs.component-C-E3fQu6.mjs.map +0 -1
  149. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-D3sa7sNg.mjs.map +0 -1
  150. package/fesm2022/ngx-t-forms-search-field.component-B2ZO7lqO.mjs +0 -38
  151. package/fesm2022/ngx-t-forms-search-field.component-B2ZO7lqO.mjs.map +0 -1
  152. package/fesm2022/ngx-t-forms-selection-options-editor.component-Coj9gnrq.mjs +0 -169
  153. package/fesm2022/ngx-t-forms-selection-options-editor.component-Coj9gnrq.mjs.map +0 -1
  154. package/fesm2022/ngx-t-forms-t-workflow-picker.component-DqFMP1rZ.mjs +0 -204
  155. package/fesm2022/ngx-t-forms-t-workflow-picker.component-DqFMP1rZ.mjs.map +0 -1
  156. package/fesm2022/ngx-t-forms-validators-config.component-B3K9nLxx.mjs +0 -574
  157. package/fesm2022/ngx-t-forms-validators-config.component-B3K9nLxx.mjs.map +0 -1
  158. package/fesm2022/ngx-t-forms-workflow-adjudication.component-DD6Fhx06.mjs.map +0 -1
@@ -1,117 +1,117 @@
1
- // ngx-t-forms — Shared editor mixins (TDDE editor redesign · Phase 0)
2
- // =====================================================================
3
- //
4
- // Internal SCSS helpers consumed by the t-dynamic-data-edit editor components
5
- // via `@use '..../styles/editor-mixins' as editor;`. They only reference
6
- // `var(--lib-forms-*)` tokens (defined globally on :root in _tokens.scss) so
7
- // they stay dark-mode-safe and never hardcode a hex literal (CLAUDE.md §3).
8
- //
9
- // These are the single source of truth for the recurring editor "look" so the
10
- // 21 editors stay consistent instead of re-inventing focus rings, cards and
11
- // chips 21 times.
12
-
13
- /// Material-style focus ring: primary border + soft primary halo.
14
- @mixin focus-ring {
15
- outline: none;
16
- border-color: var(--lib-forms-primary);
17
- box-shadow: 0 0 0 2px color-mix(in srgb, var(--lib-forms-primary) 25%, transparent);
18
- }
19
-
20
- /// Disabled affordance — dim + inert. Pair with `aria-disabled`/`[disabled]`.
21
- @mixin disabled {
22
- opacity: 0.55;
23
- pointer-events: none;
24
- }
25
-
26
- /// Section / group card (GDP §17 soft elevation, no divider lines).
27
- @mixin card {
28
- background: var(--lib-forms-surface);
29
- border: 1px solid color-mix(in srgb, var(--lib-forms-outline) 15%, transparent);
30
- border-radius: var(--lib-forms-radius-lg, 12px);
31
- box-shadow: var(--lib-forms-shadow-resting);
32
- }
33
-
34
- /// Token-styled text input matching the outline mat-form-field metrics.
35
- @mixin field-input {
36
- min-height: 2.25rem;
37
- padding: 0.5rem 0.75rem;
38
- border: 1px solid var(--lib-forms-outline);
39
- border-radius: var(--lib-forms-radius-sm, 8px);
40
- background: var(--lib-forms-surface);
41
- font-size: 0.875rem;
42
- color: var(--lib-forms-on-surface);
43
- transition:
44
- border-color var(--lib-forms-duration-hover, 300ms) var(--lib-forms-easing),
45
- box-shadow var(--lib-forms-duration-hover, 300ms) var(--lib-forms-easing);
46
-
47
- &:focus {
48
- @include focus-ring;
49
- }
50
- }
51
-
52
- /// Removable chip / tag (design-rule-book §14).
53
- @mixin chip {
54
- display: inline-flex;
55
- align-items: center;
56
- gap: 0.5rem;
57
- padding: 0.25rem 0.5rem 0.25rem 0.625rem;
58
- background: color-mix(in srgb, var(--lib-forms-primary) 10%, transparent);
59
- border-radius: var(--lib-forms-radius-pill, 6px);
60
- font-size: 0.8125rem;
61
- color: var(--lib-forms-on-surface);
62
- }
63
-
64
- /// Premium pill segmented control from a `mat-button-toggle-group`.
65
- /// Include on a WRAPPER element around the group (the group itself must be a
66
- /// descendant). Replaces Material's bordered toggle + single-select checkmark
67
- /// with a muted track and a lifted active pill — the single source of truth so
68
- /// every segmented control (value-access mode, validator All/Any, …) matches.
69
- @mixin segmented-control($label-padding: 0.375rem 1.125rem, $label-font: 0.8125rem) {
70
- ::ng-deep .mat-button-toggle-group {
71
- border: none;
72
- border-radius: var(--lib-forms-radius-pill, 999px);
73
- background: var(--lib-forms-surface-container-high);
74
- padding: 0.25rem;
75
- gap: 0.25rem;
76
- box-shadow: none;
77
- overflow: hidden;
78
- }
79
-
80
- ::ng-deep .mat-button-toggle {
81
- border: none;
82
- background: transparent;
83
- border-radius: var(--lib-forms-radius-pill, 999px);
84
- color: var(--lib-forms-on-surface-variant);
85
- transition:
86
- color var(--lib-forms-duration-hover, 300ms) var(--lib-forms-easing),
87
- background var(--lib-forms-duration-hover, 300ms) var(--lib-forms-easing);
88
- }
89
-
90
- // Material draws a divider between grouped toggles — remove it for the pill look.
91
- ::ng-deep .mat-button-toggle + .mat-button-toggle {
92
- border-left: none;
93
- }
94
-
95
- ::ng-deep .mat-button-toggle-button {
96
- height: auto;
97
- }
98
-
99
- ::ng-deep .mat-button-toggle-label-content {
100
- padding: $label-padding;
101
- line-height: 1.5;
102
- font-size: $label-font;
103
- font-weight: 600;
104
- }
105
-
106
- ::ng-deep .mat-button-toggle-checked {
107
- background: var(--lib-forms-surface);
108
- color: var(--lib-forms-primary);
109
- box-shadow: var(--lib-forms-shadow-edge);
110
- }
111
-
112
- // The active segment is signalled by the lifted surface + colour, so the
113
- // default single-select checkmark is redundant noise.
114
- ::ng-deep .mat-pseudo-checkbox {
115
- display: none;
116
- }
117
- }
1
+ // ngx-t-forms — Shared editor mixins (TDDE editor redesign · Phase 0)
2
+ // =====================================================================
3
+ //
4
+ // Internal SCSS helpers consumed by the t-dynamic-data-edit editor components
5
+ // via `@use '..../styles/editor-mixins' as editor;`. They only reference
6
+ // `var(--lib-forms-*)` tokens (defined globally on :root in _tokens.scss) so
7
+ // they stay dark-mode-safe and never hardcode a hex literal (CLAUDE.md §3).
8
+ //
9
+ // These are the single source of truth for the recurring editor "look" so the
10
+ // 21 editors stay consistent instead of re-inventing focus rings, cards and
11
+ // chips 21 times.
12
+
13
+ /// Material-style focus ring: primary border + soft primary halo.
14
+ @mixin focus-ring {
15
+ outline: none;
16
+ border-color: var(--lib-forms-primary);
17
+ box-shadow: 0 0 0 2px color-mix(in srgb, var(--lib-forms-primary) 25%, transparent);
18
+ }
19
+
20
+ /// Disabled affordance — dim + inert. Pair with `aria-disabled`/`[disabled]`.
21
+ @mixin disabled {
22
+ opacity: 0.55;
23
+ pointer-events: none;
24
+ }
25
+
26
+ /// Section / group card (GDP §17 soft elevation, no divider lines).
27
+ @mixin card {
28
+ background: var(--lib-forms-surface);
29
+ border: 1px solid color-mix(in srgb, var(--lib-forms-outline) 15%, transparent);
30
+ border-radius: var(--lib-forms-radius-lg, 12px);
31
+ box-shadow: var(--lib-forms-shadow-resting);
32
+ }
33
+
34
+ /// Token-styled text input matching the outline mat-form-field metrics.
35
+ @mixin field-input {
36
+ min-height: 2.25rem;
37
+ padding: 0.5rem 0.75rem;
38
+ border: 1px solid var(--lib-forms-outline);
39
+ border-radius: var(--lib-forms-radius-sm, 8px);
40
+ background: var(--lib-forms-surface);
41
+ font-size: 0.875rem;
42
+ color: var(--lib-forms-on-surface);
43
+ transition:
44
+ border-color var(--lib-forms-duration-hover, 300ms) var(--lib-forms-easing),
45
+ box-shadow var(--lib-forms-duration-hover, 300ms) var(--lib-forms-easing);
46
+
47
+ &:focus {
48
+ @include focus-ring;
49
+ }
50
+ }
51
+
52
+ /// Removable chip / tag (design-rule-book §14).
53
+ @mixin chip {
54
+ display: inline-flex;
55
+ align-items: center;
56
+ gap: 0.5rem;
57
+ padding: 0.25rem 0.5rem 0.25rem 0.625rem;
58
+ background: color-mix(in srgb, var(--lib-forms-primary) 10%, transparent);
59
+ border-radius: var(--lib-forms-radius-pill, 6px);
60
+ font-size: 0.8125rem;
61
+ color: var(--lib-forms-on-surface);
62
+ }
63
+
64
+ /// Premium pill segmented control from a `mat-button-toggle-group`.
65
+ /// Include on a WRAPPER element around the group (the group itself must be a
66
+ /// descendant). Replaces Material's bordered toggle + single-select checkmark
67
+ /// with a muted track and a lifted active pill — the single source of truth so
68
+ /// every segmented control (value-access mode, validator All/Any, …) matches.
69
+ @mixin segmented-control($label-padding: 0.375rem 1.125rem, $label-font: 0.8125rem) {
70
+ ::ng-deep .mat-button-toggle-group {
71
+ border: none;
72
+ border-radius: var(--lib-forms-radius-pill, 999px);
73
+ background: var(--lib-forms-surface-container-high);
74
+ padding: 0.25rem;
75
+ gap: 0.25rem;
76
+ box-shadow: none;
77
+ overflow: hidden;
78
+ }
79
+
80
+ ::ng-deep .mat-button-toggle {
81
+ border: none;
82
+ background: transparent;
83
+ border-radius: var(--lib-forms-radius-pill, 999px);
84
+ color: var(--lib-forms-on-surface-variant);
85
+ transition:
86
+ color var(--lib-forms-duration-hover, 300ms) var(--lib-forms-easing),
87
+ background var(--lib-forms-duration-hover, 300ms) var(--lib-forms-easing);
88
+ }
89
+
90
+ // Material draws a divider between grouped toggles — remove it for the pill look.
91
+ ::ng-deep .mat-button-toggle + .mat-button-toggle {
92
+ border-left: none;
93
+ }
94
+
95
+ ::ng-deep .mat-button-toggle-button {
96
+ height: auto;
97
+ }
98
+
99
+ ::ng-deep .mat-button-toggle-label-content {
100
+ padding: $label-padding;
101
+ line-height: 1.5;
102
+ font-size: $label-font;
103
+ font-weight: 600;
104
+ }
105
+
106
+ ::ng-deep .mat-button-toggle-checked {
107
+ background: var(--lib-forms-surface);
108
+ color: var(--lib-forms-primary);
109
+ box-shadow: var(--lib-forms-shadow-edge);
110
+ }
111
+
112
+ // The active segment is signalled by the lifted surface + colour, so the
113
+ // default single-select checkmark is redundant noise.
114
+ ::ng-deep .mat-pseudo-checkbox {
115
+ display: none;
116
+ }
117
+ }
@@ -1,26 +1,26 @@
1
- // ngx-t-forms — Signature Pad Canvas Sizing (consumer-opt-in)
2
- //
3
- // <lib-signature-pad-input> creates its drawing <canvas> imperatively
4
- // (document.createElement('canvas') + host.appendChild(canvas)) inside the
5
- // `.signature-container` host div. Because that element is injected at
6
- // runtime rather than rendered from the template, Angular's emulated view
7
- // encapsulation never stamps it with the component's `_ngcontent` attribute,
8
- // so a component-scoped `.signature-container canvas` rule would no longer
9
- // match the canvas after moving off ViewEncapsulation.None.
10
- //
11
- // To keep the component itself on `ViewEncapsulation.Emulated` (per
12
- // CLAUDE.md §3 and DECISIONS.md D-012, following the json-editor precedent),
13
- // the single canvas-sizing rule lives here as a global partial.
14
- //
15
- // Usage — from the consumer's GLOBAL SCSS entry (e.g. `styles.scss`):
16
- //
17
- // @use 'ngx-t-forms/styles/signature-pad';
18
- //
19
- // Without this import the signature pad still functions, but the imperatively
20
- // created canvas falls back to its intrinsic size (the component sets an
21
- // explicit pixel height in TS; width fills the host via this rule).
22
-
23
- .signature-container canvas {
24
- width: 100%;
25
- height: 200px;
26
- }
1
+ // ngx-t-forms — Signature Pad Canvas Sizing (consumer-opt-in)
2
+ //
3
+ // <lib-signature-pad-input> creates its drawing <canvas> imperatively
4
+ // (document.createElement('canvas') + host.appendChild(canvas)) inside the
5
+ // `.signature-container` host div. Because that element is injected at
6
+ // runtime rather than rendered from the template, Angular's emulated view
7
+ // encapsulation never stamps it with the component's `_ngcontent` attribute,
8
+ // so a component-scoped `.signature-container canvas` rule would no longer
9
+ // match the canvas after moving off ViewEncapsulation.None.
10
+ //
11
+ // To keep the component itself on `ViewEncapsulation.Emulated` (per
12
+ // CLAUDE.md §3 and DECISIONS.md D-012, following the json-editor precedent),
13
+ // the single canvas-sizing rule lives here as a global partial.
14
+ //
15
+ // Usage — from the consumer's GLOBAL SCSS entry (e.g. `styles.scss`):
16
+ //
17
+ // @use 'ngx-t-forms/styles/signature-pad';
18
+ //
19
+ // Without this import the signature pad still functions, but the imperatively
20
+ // created canvas falls back to its intrinsic size (the component sets an
21
+ // explicit pixel height in TS; width fills the host via this rule).
22
+
23
+ .signature-container canvas {
24
+ width: 100%;
25
+ height: 200px;
26
+ }
@@ -1,148 +1,148 @@
1
- // ngx-t-forms — Design Tokens (Phase 6 · Visual debt)
2
- // =====================================================
3
- //
4
- // THE single source of truth for every customizable visual value in the
5
- // library. Component SCSS references these via `var(--lib-forms-*)` /
6
- // `var(--sem-*)` and NEVER hardcodes a hex literal (CLAUDE.md §3 Visual;
7
- // MIGRATION_PLAN.md §12). Token files are the one place a hex is allowed —
8
- // here it is only ever a *fallback* behind a Material system variable.
9
- //
10
- // Source of truth for light/dark: Angular Material M3 system variables
11
- // (`--mat-sys-*`). When the consumer sets up `mat.theme()`, these tokens
12
- // inherit the active theme automatically. The hex fallbacks below match
13
- // Material's M3 baseline (purple) so rendering is unchanged when no theme
14
- // is loaded — preserving pre-migration parity (MIGRATION_PLAN.md §12.3).
15
- //
16
- // Re-theming (exit criterion, MIGRATION_PLAN.md §12.4): a consumer overrides
17
- // any `--lib-forms-*` / `--sem-*` on `:root` (or a `.dark` / `[data-theme]`
18
- // scope) in their GLOBAL styles and the whole library re-themes.
19
- //
20
- // USAGE — from the consumer's GLOBAL SCSS entry (e.g. `styles.scss`):
21
- //
22
- // @use 'ngx-t-forms/styles/tokens';
23
- //
24
- // This is a required integration step (additive, same convention as the
25
- // Material theme and `ngx-t-forms/styles/json-editor-syntax`, DECISIONS.md
26
- // D-012 / D-017).
27
-
28
- :root {
29
- // ---- Surface & text scale (Material M3 neutrals) -----------------------
30
- --lib-forms-surface: var(--mat-sys-surface, #fef7ff);
31
- --lib-forms-surface-container-lowest: var(--mat-sys-surface-container-lowest, #ffffff);
32
- --lib-forms-surface-container-low: var(--mat-sys-surface-container-low, #f7f2fa);
33
- --lib-forms-surface-container: var(--mat-sys-surface-container, #f3edf7);
34
- --lib-forms-surface-container-high: var(--mat-sys-surface-container-high, #ece6f0);
35
- --lib-forms-surface-container-highest: var(--mat-sys-surface-container-highest, #e6e0e9);
36
- --lib-forms-surface-dim: var(--mat-sys-surface-dim, #ded8e1);
37
-
38
- --lib-forms-on-surface: var(--mat-sys-on-surface, #1c1b1f);
39
- --lib-forms-on-surface-variant: var(--mat-sys-on-surface-variant, #49454f);
40
-
41
- --lib-forms-outline: var(--mat-sys-outline, #79747e);
42
- --lib-forms-outline-variant: var(--mat-sys-outline-variant, #cac4d0);
43
-
44
- // ---- Single accent (Material M3 primary) -------------------------------
45
- --lib-forms-primary: var(--mat-sys-primary, #6750a4);
46
- --lib-forms-on-primary: var(--mat-sys-on-primary, #ffffff);
47
- --lib-forms-primary-container: var(--mat-sys-primary-container, #eaddff);
48
- --lib-forms-on-primary-container: var(--mat-sys-on-primary-container, #21005d);
49
-
50
- // ---- Error (structural; mirrors --sem-error) ---------------------------
51
- --lib-forms-error: var(--mat-sys-error, #b3261e);
52
- --lib-forms-on-error: var(--mat-sys-on-error, #ffffff);
53
- --lib-forms-error-container: var(--mat-sys-error-container, #f9dedc);
54
- --lib-forms-on-error-container: var(--mat-sys-on-error-container, #410e0b);
55
-
56
- // ---- Shadow colour (so component shadows stay tokenised) ---------------
57
- --lib-forms-shadow-color: var(--mat-sys-shadow, #000000);
58
-
59
- // ---- Radius (preserves pre-migration values; not a Phase 6 gap) --------
60
- --lib-forms-radius-sm: 8px;
61
- --lib-forms-radius-md: 10px;
62
- --lib-forms-radius-lg: 12px;
63
- --lib-forms-radius-pill: 999px;
64
-
65
- // ---- Elevation (GDP §17 — wide, soft, monochromatic) -------------------
66
- --lib-forms-shadow-edge: 0 1px 2px color-mix(in srgb, var(--lib-forms-shadow-color) 4%, transparent);
67
- --lib-forms-shadow-resting: 0 4px 24px color-mix(in srgb, var(--lib-forms-shadow-color) 6%, transparent);
68
- --lib-forms-shadow-hover: 0 8px 40px color-mix(in srgb, var(--lib-forms-shadow-color) 10%, transparent);
69
- --lib-forms-shadow-floating: 0 16px 56px color-mix(in srgb, var(--lib-forms-shadow-color) 14%, transparent);
70
-
71
- // ---- Motion (GDP §16 / L-05) -------------------------------------------
72
- // The luxury easing: fast start, slow decelerate — never mechanical.
73
- --lib-forms-easing: cubic-bezier(0.16, 1, 0.3, 1);
74
- --lib-forms-duration-hover: 300ms; // hover / border / outline changes
75
- --lib-forms-duration: 400ms; // entrance / exit / toggle / expand
76
-
77
- // ---- Semantic palette (GDP §2c) — chips / badges / alerts / inline -----
78
- // Status hues. Never used as structural/decorative colour (SC-01..SC-07).
79
- --sem-error: var(--mat-sys-error, #b3261e);
80
- --sem-success: #1a6b3a;
81
- --sem-warning: #7c5800;
82
- --sem-info: #2c4393;
83
- --sem-premium: #8b3a00;
84
-
85
- --sem-error-surface: color-mix(in srgb, var(--sem-error) 10%, var(--lib-forms-surface));
86
- --sem-success-surface: color-mix(in srgb, var(--sem-success) 10%, var(--lib-forms-surface));
87
- --sem-warning-surface: color-mix(in srgb, #c87800 10%, var(--lib-forms-surface));
88
- --sem-info-surface: color-mix(in srgb, var(--sem-info) 10%, var(--lib-forms-surface));
89
- --sem-premium-surface: color-mix(in srgb, #c45000 10%, var(--lib-forms-surface));
90
-
91
- // ---- Workflow-state hues (GDP §2c hue map) -----------------------------
92
- // Amber=user action needed · Red=viewer accountable/blocking ·
93
- // Rust=someone else blocking · Blue=automated · Emerald=terminal success ·
94
- // Slate=archived · Charcoal=concurrency lock.
95
- --sem-amber: #b06f00;
96
- --sem-red: var(--mat-sys-error, #b3261e);
97
- --sem-rust: #8a3b1e;
98
- --sem-blue: #2c4393;
99
- --sem-emerald: #1a6b3a;
100
- --sem-slate: #4a5568;
101
- --sem-charcoal: #3a3a3a;
102
-
103
- --sem-amber-surface: color-mix(in srgb, var(--sem-amber) 12%, var(--lib-forms-surface));
104
- --sem-red-surface: color-mix(in srgb, var(--sem-red) 12%, var(--lib-forms-surface));
105
- --sem-rust-surface: color-mix(in srgb, var(--sem-rust) 12%, var(--lib-forms-surface));
106
- --sem-blue-surface: color-mix(in srgb, var(--sem-blue) 12%, var(--lib-forms-surface));
107
- --sem-emerald-surface: color-mix(in srgb, var(--sem-emerald) 12%, var(--lib-forms-surface));
108
- --sem-slate-surface: color-mix(in srgb, var(--sem-slate) 12%, var(--lib-forms-surface));
109
- --sem-charcoal-surface: color-mix(in srgb, var(--sem-charcoal) 12%, var(--lib-forms-surface));
110
-
111
- // ---- Code / syntax-highlight palette (json-editor; opt-in) -------------
112
- // VS Code Dark inspired. Consumed by `styles/json-editor-syntax`.
113
- --lib-forms-code-bg: #1e1e1e;
114
- --lib-forms-code-surface: #252526;
115
- --lib-forms-code-border: #3e3e42;
116
- --lib-forms-code-fg: #d4d4d4;
117
- --lib-forms-code-key: #9cdcfe; // light blue
118
- --lib-forms-code-string: #ce9178; // orange/red
119
- --lib-forms-code-number: #b5cea8; // light green
120
- --lib-forms-code-boolean: #569cd6; // dark blue
121
- --lib-forms-code-null: #569cd6; // dark blue
122
- --lib-forms-code-error: #f48771; // soft red
123
-
124
- // ---- HTTP method hues (REST / Postman editors) -------------------------
125
- // Reuse the semantic palette so they adapt in dark mode (SC-* compliant —
126
- // only ever used as a small method badge, never structural colour).
127
- --lib-forms-method-get: var(--sem-emerald, #1a6b3a);
128
- --lib-forms-method-post: var(--sem-blue, #2c4393);
129
- --lib-forms-method-put: var(--sem-amber, #b06f00);
130
- --lib-forms-method-patch: var(--sem-rust, #8a3b1e);
131
- --lib-forms-method-delete: var(--sem-error, #b3261e);
132
- }
133
-
134
- // Dark-mode text overrides (GDP §2c — surfaces adapt via color-mix; only
135
- // the semantic text hues need lightening). Library reacts to a consumer-set
136
- // `.dark` / `[data-theme="dark"]` scope — it never declares the switch itself.
137
- :root.dark,
138
- .dark,
139
- [data-theme='dark'] {
140
- --sem-success: #4caf82;
141
- --sem-warning: #e6a817;
142
- --sem-premium: #d4743a;
143
-
144
- --sem-amber: #e6a817;
145
- --sem-rust: #c5734f;
146
- --sem-emerald: #4caf82;
147
- --sem-slate: #94a3b8;
148
- }
1
+ // ngx-t-forms — Design Tokens (Phase 6 · Visual debt)
2
+ // =====================================================
3
+ //
4
+ // THE single source of truth for every customizable visual value in the
5
+ // library. Component SCSS references these via `var(--lib-forms-*)` /
6
+ // `var(--sem-*)` and NEVER hardcodes a hex literal (CLAUDE.md §3 Visual;
7
+ // MIGRATION_PLAN.md §12). Token files are the one place a hex is allowed —
8
+ // here it is only ever a *fallback* behind a Material system variable.
9
+ //
10
+ // Source of truth for light/dark: Angular Material M3 system variables
11
+ // (`--mat-sys-*`). When the consumer sets up `mat.theme()`, these tokens
12
+ // inherit the active theme automatically. The hex fallbacks below match
13
+ // Material's M3 baseline (purple) so rendering is unchanged when no theme
14
+ // is loaded — preserving pre-migration parity (MIGRATION_PLAN.md §12.3).
15
+ //
16
+ // Re-theming (exit criterion, MIGRATION_PLAN.md §12.4): a consumer overrides
17
+ // any `--lib-forms-*` / `--sem-*` on `:root` (or a `.dark` / `[data-theme]`
18
+ // scope) in their GLOBAL styles and the whole library re-themes.
19
+ //
20
+ // USAGE — from the consumer's GLOBAL SCSS entry (e.g. `styles.scss`):
21
+ //
22
+ // @use 'ngx-t-forms/styles/tokens';
23
+ //
24
+ // This is a required integration step (additive, same convention as the
25
+ // Material theme and `ngx-t-forms/styles/json-editor-syntax`, DECISIONS.md
26
+ // D-012 / D-017).
27
+
28
+ :root {
29
+ // ---- Surface & text scale (Material M3 neutrals) -----------------------
30
+ --lib-forms-surface: var(--mat-sys-surface, #fef7ff);
31
+ --lib-forms-surface-container-lowest: var(--mat-sys-surface-container-lowest, #ffffff);
32
+ --lib-forms-surface-container-low: var(--mat-sys-surface-container-low, #f7f2fa);
33
+ --lib-forms-surface-container: var(--mat-sys-surface-container, #f3edf7);
34
+ --lib-forms-surface-container-high: var(--mat-sys-surface-container-high, #ece6f0);
35
+ --lib-forms-surface-container-highest: var(--mat-sys-surface-container-highest, #e6e0e9);
36
+ --lib-forms-surface-dim: var(--mat-sys-surface-dim, #ded8e1);
37
+
38
+ --lib-forms-on-surface: var(--mat-sys-on-surface, #1c1b1f);
39
+ --lib-forms-on-surface-variant: var(--mat-sys-on-surface-variant, #49454f);
40
+
41
+ --lib-forms-outline: var(--mat-sys-outline, #79747e);
42
+ --lib-forms-outline-variant: var(--mat-sys-outline-variant, #cac4d0);
43
+
44
+ // ---- Single accent (Material M3 primary) -------------------------------
45
+ --lib-forms-primary: var(--mat-sys-primary, #6750a4);
46
+ --lib-forms-on-primary: var(--mat-sys-on-primary, #ffffff);
47
+ --lib-forms-primary-container: var(--mat-sys-primary-container, #eaddff);
48
+ --lib-forms-on-primary-container: var(--mat-sys-on-primary-container, #21005d);
49
+
50
+ // ---- Error (structural; mirrors --sem-error) ---------------------------
51
+ --lib-forms-error: var(--mat-sys-error, #b3261e);
52
+ --lib-forms-on-error: var(--mat-sys-on-error, #ffffff);
53
+ --lib-forms-error-container: var(--mat-sys-error-container, #f9dedc);
54
+ --lib-forms-on-error-container: var(--mat-sys-on-error-container, #410e0b);
55
+
56
+ // ---- Shadow colour (so component shadows stay tokenised) ---------------
57
+ --lib-forms-shadow-color: var(--mat-sys-shadow, #000000);
58
+
59
+ // ---- Radius (preserves pre-migration values; not a Phase 6 gap) --------
60
+ --lib-forms-radius-sm: 8px;
61
+ --lib-forms-radius-md: 10px;
62
+ --lib-forms-radius-lg: 12px;
63
+ --lib-forms-radius-pill: 999px;
64
+
65
+ // ---- Elevation (GDP §17 — wide, soft, monochromatic) -------------------
66
+ --lib-forms-shadow-edge: 0 1px 2px color-mix(in srgb, var(--lib-forms-shadow-color) 4%, transparent);
67
+ --lib-forms-shadow-resting: 0 4px 24px color-mix(in srgb, var(--lib-forms-shadow-color) 6%, transparent);
68
+ --lib-forms-shadow-hover: 0 8px 40px color-mix(in srgb, var(--lib-forms-shadow-color) 10%, transparent);
69
+ --lib-forms-shadow-floating: 0 16px 56px color-mix(in srgb, var(--lib-forms-shadow-color) 14%, transparent);
70
+
71
+ // ---- Motion (GDP §16 / L-05) -------------------------------------------
72
+ // The luxury easing: fast start, slow decelerate — never mechanical.
73
+ --lib-forms-easing: cubic-bezier(0.16, 1, 0.3, 1);
74
+ --lib-forms-duration-hover: 300ms; // hover / border / outline changes
75
+ --lib-forms-duration: 400ms; // entrance / exit / toggle / expand
76
+
77
+ // ---- Semantic palette (GDP §2c) — chips / badges / alerts / inline -----
78
+ // Status hues. Never used as structural/decorative colour (SC-01..SC-07).
79
+ --sem-error: var(--mat-sys-error, #b3261e);
80
+ --sem-success: #1a6b3a;
81
+ --sem-warning: #7c5800;
82
+ --sem-info: #2c4393;
83
+ --sem-premium: #8b3a00;
84
+
85
+ --sem-error-surface: color-mix(in srgb, var(--sem-error) 10%, var(--lib-forms-surface));
86
+ --sem-success-surface: color-mix(in srgb, var(--sem-success) 10%, var(--lib-forms-surface));
87
+ --sem-warning-surface: color-mix(in srgb, #c87800 10%, var(--lib-forms-surface));
88
+ --sem-info-surface: color-mix(in srgb, var(--sem-info) 10%, var(--lib-forms-surface));
89
+ --sem-premium-surface: color-mix(in srgb, #c45000 10%, var(--lib-forms-surface));
90
+
91
+ // ---- Workflow-state hues (GDP §2c hue map) -----------------------------
92
+ // Amber=user action needed · Red=viewer accountable/blocking ·
93
+ // Rust=someone else blocking · Blue=automated · Emerald=terminal success ·
94
+ // Slate=archived · Charcoal=concurrency lock.
95
+ --sem-amber: #b06f00;
96
+ --sem-red: var(--mat-sys-error, #b3261e);
97
+ --sem-rust: #8a3b1e;
98
+ --sem-blue: #2c4393;
99
+ --sem-emerald: #1a6b3a;
100
+ --sem-slate: #4a5568;
101
+ --sem-charcoal: #3a3a3a;
102
+
103
+ --sem-amber-surface: color-mix(in srgb, var(--sem-amber) 12%, var(--lib-forms-surface));
104
+ --sem-red-surface: color-mix(in srgb, var(--sem-red) 12%, var(--lib-forms-surface));
105
+ --sem-rust-surface: color-mix(in srgb, var(--sem-rust) 12%, var(--lib-forms-surface));
106
+ --sem-blue-surface: color-mix(in srgb, var(--sem-blue) 12%, var(--lib-forms-surface));
107
+ --sem-emerald-surface: color-mix(in srgb, var(--sem-emerald) 12%, var(--lib-forms-surface));
108
+ --sem-slate-surface: color-mix(in srgb, var(--sem-slate) 12%, var(--lib-forms-surface));
109
+ --sem-charcoal-surface: color-mix(in srgb, var(--sem-charcoal) 12%, var(--lib-forms-surface));
110
+
111
+ // ---- Code / syntax-highlight palette (json-editor; opt-in) -------------
112
+ // VS Code Dark inspired. Consumed by `styles/json-editor-syntax`.
113
+ --lib-forms-code-bg: #1e1e1e;
114
+ --lib-forms-code-surface: #252526;
115
+ --lib-forms-code-border: #3e3e42;
116
+ --lib-forms-code-fg: #d4d4d4;
117
+ --lib-forms-code-key: #9cdcfe; // light blue
118
+ --lib-forms-code-string: #ce9178; // orange/red
119
+ --lib-forms-code-number: #b5cea8; // light green
120
+ --lib-forms-code-boolean: #569cd6; // dark blue
121
+ --lib-forms-code-null: #569cd6; // dark blue
122
+ --lib-forms-code-error: #f48771; // soft red
123
+
124
+ // ---- HTTP method hues (REST / Postman editors) -------------------------
125
+ // Reuse the semantic palette so they adapt in dark mode (SC-* compliant —
126
+ // only ever used as a small method badge, never structural colour).
127
+ --lib-forms-method-get: var(--sem-emerald, #1a6b3a);
128
+ --lib-forms-method-post: var(--sem-blue, #2c4393);
129
+ --lib-forms-method-put: var(--sem-amber, #b06f00);
130
+ --lib-forms-method-patch: var(--sem-rust, #8a3b1e);
131
+ --lib-forms-method-delete: var(--sem-error, #b3261e);
132
+ }
133
+
134
+ // Dark-mode text overrides (GDP §2c — surfaces adapt via color-mix; only
135
+ // the semantic text hues need lightening). Library reacts to a consumer-set
136
+ // `.dark` / `[data-theme="dark"]` scope — it never declares the switch itself.
137
+ :root.dark,
138
+ .dark,
139
+ [data-theme='dark'] {
140
+ --sem-success: #4caf82;
141
+ --sem-warning: #e6a817;
142
+ --sem-premium: #d4743a;
143
+
144
+ --sem-amber: #e6a817;
145
+ --sem-rust: #c5734f;
146
+ --sem-emerald: #4caf82;
147
+ --sem-slate: #94a3b8;
148
+ }
@@ -1242,6 +1242,13 @@ declare abstract class FormTowerControllerService implements OnDestroy {
1242
1242
  * `linkedSignal.set(value)` (transient override; reset on next source change).
1243
1243
  * - **All other inputs** → writes `#model[inputId]`.
1244
1244
  *
1245
+ * A **MultipleInput** row array is passed through
1246
+ * {@link FormTowerControllerService.#withRowIds} first, so no row can enter the
1247
+ * tower without an id (see {@link ensureMultipleInputRowIds}). This is the
1248
+ * choke point for every non-derived ingress: prefill/import
1249
+ * ({@link FormTowerControllerService.initializeFormValues}), accepted
1250
+ * suggestions, row deletes from the table view, and direct consumer writes.
1251
+ *
1245
1252
  * Appends the change to history IMPERATIVELY (HAZARD 4). The projection effect
1246
1253
  * patches the FormControl from the signal graph — this does NOT touch the
1247
1254
  * FormGroup directly (no `valueChanges` feedback loop).
@@ -1737,7 +1744,7 @@ declare class TDynamicDataEditComponent {
1737
1744
  protected readonly dataValue$: Observable<Record<string, unknown> | undefined>;
1738
1745
  protected get getMscoaTree$(): Observable<IGetTreeResponse | undefined>;
1739
1746
  protected get getWorkflowOptions$(): Observable<IWorkflowOption[] | undefined>;
1740
- protected get value$(): Observable<{} | null>;
1747
+ protected get value$(): Observable<any>;
1741
1748
  protected get dataOptions$(): Observable<unknown>;
1742
1749
  protected get disabled$(): Observable<boolean | undefined>;
1743
1750
  inputChange(event: unknown): void;
@@ -1755,7 +1762,7 @@ declare class TDynamicDataEditComponent {
1755
1762
  protected vm$: Observable<{
1756
1763
  editorConfigValue: ElementEditorInnerSectionElementInterface | undefined;
1757
1764
  isFormFieldControl: boolean;
1758
- value: {} | null;
1765
+ value: any;
1759
1766
  dataOptions: any;
1760
1767
  disabled: boolean | undefined;
1761
1768
  inputHasBlurFunction: BlurHandleTypes | undefined;
@@ -2597,6 +2604,11 @@ declare class ValidationExpressioCreatorComponent {
2597
2604
  * Bridge the `expression` input into the FormControl and seed the guided
2598
2605
  * builder. Reparsing is `untracked` so this only re-runs when the `expression`
2599
2606
  * input changes — never when the user edits inside either mode.
2607
+ *
2608
+ * A host that echoes `expressionChange` back into `expression` (the intended
2609
+ * controlled-component usage) makes that input change on every keystroke. Those
2610
+ * echoes are this component's own output coming home, not a new expression to
2611
+ * seed from, so they are skipped entirely.
2600
2612
  */
2601
2613
  protected readonly expressionBridge: _angular_core.EffectRef;
2602
2614
  /** Mirror the `valueAccessRules` input into the local mutable copy. */