ui-soxo-bootstrap-core 2.6.40-dev.1 → 2.6.40-dev.11

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 (419) hide show
  1. package/.babelrc +8 -8
  2. package/.github/workflows/npm-publish.yml +5 -4
  3. package/.husky/pre-commit +11 -11
  4. package/.prettierrc.json +10 -10
  5. package/DEVELOPER_GUIDE.md +323 -323
  6. package/babel.config.js +2 -2
  7. package/core/components/component-loader/component-loader.js +125 -125
  8. package/core/components/component-wrapper/component-wrapper.js +121 -121
  9. package/core/components/external-window/DEVELOPER_GUIDE.md +705 -705
  10. package/core/components/external-window/external-window.js +236 -236
  11. package/core/components/external-window/external-window.test.js +80 -80
  12. package/core/components/extra-info/extra-info-details.js +155 -155
  13. package/core/components/extra-info/extra-info-details.scss +26 -26
  14. package/core/components/extra-info/extra-info.js +134 -134
  15. package/core/components/index.js +12 -12
  16. package/core/components/landing-api/landing-api.js +707 -707
  17. package/core/components/landing-api/landing-api.scss +41 -41
  18. package/core/components/license-management/license-alert.js +97 -97
  19. package/core/components/menu-template-api/menu-template-api.js +321 -321
  20. package/core/components/root-application-api/root-application-api.js +174 -174
  21. package/core/index.js +13 -13
  22. package/core/lib/Store.js +369 -369
  23. package/core/lib/components/application-bootstrap/application-bootstrap.js +115 -115
  24. package/core/lib/components/approval-form/approval-form.js +280 -280
  25. package/core/lib/components/approval-form/approval-form.scss +183 -183
  26. package/core/lib/components/approval-list/approval-list.js +143 -143
  27. package/core/lib/components/approval-list/approval-list.scss +2 -2
  28. package/core/lib/components/approval-list/components/request-card/request-card.js +42 -42
  29. package/core/lib/components/approval-list/components/request-card/request-card.scss +30 -30
  30. package/core/lib/components/camera/camera.js +230 -230
  31. package/core/lib/components/camera/camera.scss +86 -86
  32. package/core/lib/components/comment-block/comment-block.js +138 -138
  33. package/core/lib/components/comment-block/comment-block.scss +3 -3
  34. package/core/lib/components/confirm-modal/confirm-modal.js +82 -82
  35. package/core/lib/components/confirm-modal/confirm-modal.scss +2 -2
  36. package/core/lib/components/consent/consent.js +67 -67
  37. package/core/lib/components/consent/pdf-signature.js +299 -299
  38. package/core/lib/components/consent/signature-pad.js +90 -90
  39. package/core/lib/components/consent/signature-pad.scss +14 -14
  40. package/core/lib/components/file-upload/file-upload.js +133 -133
  41. package/core/lib/components/finger-print-reader/finger-print-reader.js +295 -295
  42. package/core/lib/components/finger-print-reader/finger-print-reader.scss +47 -47
  43. package/core/lib/components/finger-print-search/finger-print-search.js +200 -200
  44. package/core/lib/components/finger-print-search/finger-print-search.scss +47 -47
  45. package/core/lib/components/global-header/animations.js +18 -18
  46. package/core/lib/components/global-header/global-header.js +286 -286
  47. package/core/lib/components/global-header/global-header.scss +397 -397
  48. package/core/lib/components/header/generic-header.js +76 -76
  49. package/core/lib/components/header/generic-header.scss +99 -99
  50. package/core/lib/components/image-preview/image-preview.js +33 -33
  51. package/core/lib/components/image-wrapper/image-wrapper.js +108 -108
  52. package/core/lib/components/image-wrapper/image-wrapper.scss +12 -12
  53. package/core/lib/components/index.js +206 -206
  54. package/core/lib/components/landing/landing.js +403 -403
  55. package/core/lib/components/language-switcher/language-switcher.js +49 -49
  56. package/core/lib/components/menu-context/menu-context.js +69 -69
  57. package/core/lib/components/menu-template/menu-template.js +249 -249
  58. package/core/lib/components/menu-template/menu-template.scss +9 -9
  59. package/core/lib/components/modal-search/modal-search.js +153 -153
  60. package/core/lib/components/modal-search/modal-search.scss +78 -78
  61. package/core/lib/components/modal-wrapper/modal-manager.js +15 -15
  62. package/core/lib/components/modal-wrapper/modal-wrapper.js +108 -108
  63. package/core/lib/components/modal-wrapper/modal-wrapper.scss +13 -13
  64. package/core/lib/components/notice-board/notice-board.js +132 -132
  65. package/core/lib/components/notice-board/notice-board.scss +65 -65
  66. package/core/lib/components/page-container/page-container.js +55 -55
  67. package/core/lib/components/page-container/page-container.scss +8 -8
  68. package/core/lib/components/page-header/page-header.js +23 -23
  69. package/core/lib/components/page-header/page-header.scss +17 -17
  70. package/core/lib/components/pdf-viewer/pdf-viewer.js +56 -56
  71. package/core/lib/components/portlet-table/components/table-actions/table-actions.js +58 -58
  72. package/core/lib/components/portlet-table/components/table-actions/table-actions.scss +1 -1
  73. package/core/lib/components/portlet-table/components/table-data/table-data.js +106 -106
  74. package/core/lib/components/portlet-table/portlet-table.js +63 -63
  75. package/core/lib/components/portlet-table/portlet-table.scss +90 -90
  76. package/core/lib/components/progress-bar/progress-bar.js +58 -58
  77. package/core/lib/components/progress-bar/progress-bar.scss +15 -15
  78. package/core/lib/components/request-form/request-form.js +110 -110
  79. package/core/lib/components/root-application/root-application.js +70 -70
  80. package/core/lib/components/rupee/rupee.js +14 -14
  81. package/core/lib/components/script-input/script-input.js +169 -169
  82. package/core/lib/components/script-input/script-input.scss +8 -8
  83. package/core/lib/components/sidemenu/animations.js +51 -51
  84. package/core/lib/components/sidemenu/sidemenu.js +713 -713
  85. package/core/lib/components/sidemenu/sidemenu.scss +314 -314
  86. package/core/lib/components/spotlight-search/spotlight-search.component.js +635 -635
  87. package/core/lib/components/spotlight-search/spotlight-search.component.scss +78 -78
  88. package/core/lib/components/table-wrapper/table-wrapper.js +135 -135
  89. package/core/lib/components/table-wrapper/table-wrapper.scss +72 -72
  90. package/core/lib/components/ui_elements/Loader.js +12 -12
  91. package/core/lib/components/ui_elements/Notify.js +12 -12
  92. package/core/lib/components/ui_elements/PlaceHolder.js +33 -33
  93. package/core/lib/components/web-camera/web-camera.js +161 -161
  94. package/core/lib/components/web-camera/web-camera.scss +28 -28
  95. package/core/lib/core.md +9 -9
  96. package/core/lib/elements/Elements.md +2 -2
  97. package/core/lib/elements/basic/LoggedUserRedirect.js +21 -21
  98. package/core/lib/elements/basic/PrivateRoute.js +16 -16
  99. package/core/lib/elements/basic/button/Button.md +43 -43
  100. package/core/lib/elements/basic/button/button.js +170 -170
  101. package/core/lib/elements/basic/card/Card.md +15 -15
  102. package/core/lib/elements/basic/card/card.js +40 -40
  103. package/core/lib/elements/basic/card/card.scss +13 -13
  104. package/core/lib/elements/basic/checkbox/checkbox.js +23 -23
  105. package/core/lib/elements/basic/col/col.js +15 -15
  106. package/core/lib/elements/basic/copy-to-clipboard/Readme.md +40 -40
  107. package/core/lib/elements/basic/copy-to-clipboard/copy-to-clipboard.js +61 -61
  108. package/core/lib/elements/basic/country-phone-input/Readme.md +98 -98
  109. package/core/lib/elements/basic/country-phone-input/country-phone-input.js +81 -81
  110. package/core/lib/elements/basic/country-phone-input/phone-input.scss +75 -75
  111. package/core/lib/elements/basic/datepicker/datepicker.js +33 -33
  112. package/core/lib/elements/basic/dragabble-wrapper/draggable-wrapper.js +203 -203
  113. package/core/lib/elements/basic/empty/empty.js +14 -14
  114. package/core/lib/elements/basic/fingerprint-protrected/fingerprint-protected.js +118 -118
  115. package/core/lib/elements/basic/fingerprint-protrected/fingerprint-protected.scss +10 -10
  116. package/core/lib/elements/basic/form/form.js +70 -70
  117. package/core/lib/elements/basic/form/form.scss +3 -3
  118. package/core/lib/elements/basic/image/image.js +45 -45
  119. package/core/lib/elements/basic/image/image.scss +17 -17
  120. package/core/lib/elements/basic/image/readme.md +26 -26
  121. package/core/lib/elements/basic/image-viewer/image-viewer.js +108 -108
  122. package/core/lib/elements/basic/image-viewer/image-viewer.scss +7 -7
  123. package/core/lib/elements/basic/input/input.js +81 -81
  124. package/core/lib/elements/basic/input/readme.md +77 -77
  125. package/core/lib/elements/basic/json-input/json-input.js +51 -51
  126. package/core/lib/elements/basic/menu-dashboard/menu-dashboard.js +216 -216
  127. package/core/lib/elements/basic/menu-dashboard/menu-dashboard.scss +28 -28
  128. package/core/lib/elements/basic/menu-tree/menu-tree.js +127 -127
  129. package/core/lib/elements/basic/modal/modal.js +64 -64
  130. package/core/lib/elements/basic/modal/readme.md +62 -62
  131. package/core/lib/elements/basic/popconfirm/popconfirm.js +17 -17
  132. package/core/lib/elements/basic/popover/popover.js +12 -12
  133. package/core/lib/elements/basic/radio/radio.js +18 -18
  134. package/core/lib/elements/basic/rangepicker/rangepicker.js +141 -141
  135. package/core/lib/elements/basic/rangepicker/rangepicker.scss +24 -24
  136. package/core/lib/elements/basic/rangepicker/readme.md +81 -81
  137. package/core/lib/elements/basic/reference-select/readme.md +18 -18
  138. package/core/lib/elements/basic/reference-select/reference-select.js +337 -337
  139. package/core/lib/elements/basic/row/row.js +15 -15
  140. package/core/lib/elements/basic/select/select.js +46 -46
  141. package/core/lib/elements/basic/select-box/readme.md +52 -52
  142. package/core/lib/elements/basic/select-box/select-box.js +63 -63
  143. package/core/lib/elements/basic/skeleton/readme.md +35 -35
  144. package/core/lib/elements/basic/skeleton/skeleton.js +35 -35
  145. package/core/lib/elements/basic/skeleton/skeleton.scss +53 -53
  146. package/core/lib/elements/basic/space/space.js +12 -12
  147. package/core/lib/elements/basic/switch/readme.md +29 -29
  148. package/core/lib/elements/basic/switch/switch.js +67 -67
  149. package/core/lib/elements/basic/tab/tab.js +14 -14
  150. package/core/lib/elements/basic/table/readme.md +8 -8
  151. package/core/lib/elements/basic/table/table.js +95 -95
  152. package/core/lib/elements/basic/tag/tag.js +63 -63
  153. package/core/lib/elements/basic/tag/tag.scss +2 -2
  154. package/core/lib/elements/basic/timeline/timeline.js +13 -13
  155. package/core/lib/elements/basic/title/readme.md +20 -20
  156. package/core/lib/elements/basic/title/title.js +37 -37
  157. package/core/lib/elements/basic/user-search/user-search.js +192 -192
  158. package/core/lib/elements/complex/barcode/barcode.js +27 -27
  159. package/core/lib/elements/complex/bargraph/bar-graph.js +262 -262
  160. package/core/lib/elements/complex/basic-table/basic-table.js +110 -110
  161. package/core/lib/elements/complex/basic-table/basic-table.scss +4 -4
  162. package/core/lib/elements/complex/date-display/date-display.js +37 -37
  163. package/core/lib/elements/complex/error-boundary/error-boundary.js +29 -29
  164. package/core/lib/elements/complex/google-location-input/map-container-library-load.js +92 -92
  165. package/core/lib/elements/complex/google-map/google-map.js +230 -230
  166. package/core/lib/elements/complex/google-map/google-map.scss +13 -13
  167. package/core/lib/elements/complex/line-graph/line-graph.js +108 -108
  168. package/core/lib/elements/complex/location-search-input/location-search-input.js +100 -100
  169. package/core/lib/elements/complex/pie-chart/pie-chart.js +202 -202
  170. package/core/lib/elements/complex/qr-code/qr-code.js +27 -27
  171. package/core/lib/elements/complex/qrscanner/qrscanner.js +57 -57
  172. package/core/lib/elements/complex/search-debounce/search-debounce.js +37 -37
  173. package/core/lib/elements/complex/statistic-card/dashboard-statistic-card.js +75 -75
  174. package/core/lib/elements/complex/statistic-card/statistic-card.js +28 -28
  175. package/core/lib/elements/index.js +226 -226
  176. package/core/lib/hooks/device-detect.js +25 -25
  177. package/core/lib/hooks/index.js +9 -9
  178. package/core/lib/hooks/use-location.js +33 -33
  179. package/core/lib/hooks/use-otp-timer.js +80 -80
  180. package/core/lib/hooks/use-window-size.js +34 -34
  181. package/core/lib/i18n.js +69 -69
  182. package/core/lib/index.js +106 -106
  183. package/core/lib/introduction.md +73 -73
  184. package/core/lib/js-styleguide.md +4112 -4112
  185. package/core/lib/models/actions/actions.js +127 -127
  186. package/core/lib/models/actions/components/action-detail/action-detail.js +190 -190
  187. package/core/lib/models/actions/components/custom-actions/custom-actions.js +185 -185
  188. package/core/lib/models/attachments/attachments.js +231 -231
  189. package/core/lib/models/base-loader.js +99 -99
  190. package/core/lib/models/base.js +716 -716
  191. package/core/lib/models/branches/branches.js +125 -125
  192. package/core/lib/models/checklists/checklists.js +114 -114
  193. package/core/lib/models/columns/columns.js +169 -169
  194. package/core/lib/models/columns/components/columns-add/columns-add.js +171 -171
  195. package/core/lib/models/comments/comments.js +213 -213
  196. package/core/lib/models/departments/departments.js +107 -107
  197. package/core/lib/models/financial-years/financial_years.js +127 -127
  198. package/core/lib/models/forms/components/form-creator/form-creator.js +665 -665
  199. package/core/lib/models/forms/components/form-creator/form-creator.scss +39 -39
  200. package/core/lib/models/forms/components/form-detail/form-detail.js +224 -224
  201. package/core/lib/models/forms/forms.js +121 -121
  202. package/core/lib/models/index.js +203 -203
  203. package/core/lib/models/invoice-numbers/invoice_numbers.js +204 -204
  204. package/core/lib/models/lookup-types/components/lookup-detail/lookup-detail.js +145 -145
  205. package/core/lib/models/lookup-types/lookup-types.js +113 -113
  206. package/core/lib/models/lookup-values/components/lookup-values-add/lookup-values-add.js +126 -126
  207. package/core/lib/models/lookup-values/lookup-values.js +107 -107
  208. package/core/lib/models/menu-roles/menu-roles.js +127 -127
  209. package/core/lib/models/menus/components/menu-add/menu-add.js +228 -228
  210. package/core/lib/models/menus/components/menu-detail/menu-detail.js +170 -170
  211. package/core/lib/models/menus/components/menu-list/menu-list.js +550 -550
  212. package/core/lib/models/menus/components/menu-list/menu-list.scss +5 -5
  213. package/core/lib/models/menus/components/menu-roles-add/menu-roles-add.js +183 -183
  214. package/core/lib/models/menus/menus.js +499 -499
  215. package/core/lib/models/models/components/model-detail/model-detail.js +137 -137
  216. package/core/lib/models/models/components/models.js +128 -128
  217. package/core/lib/models/modules/modules.js +204 -204
  218. package/core/lib/models/outbox/outbox.js +73 -73
  219. package/core/lib/models/pages/pages.js +107 -107
  220. package/core/lib/models/permissions/permissions.js +71 -71
  221. package/core/lib/models/process/components/process-add/process-add.js +181 -181
  222. package/core/lib/models/process/components/process-dashboard/process-dashboard.js +1068 -1068
  223. package/core/lib/models/process/components/process-dashboard/process-dashboard.scss +66 -66
  224. package/core/lib/models/process/components/process-detail/process-detail.js +140 -140
  225. package/core/lib/models/process/components/process-timeline/process-timeline.js +139 -139
  226. package/core/lib/models/process/components/task-detail/task-detail.js +240 -240
  227. package/core/lib/models/process/components/task-detail/task-detail.scss +27 -27
  228. package/core/lib/models/process/components/task-form/task-form.js +528 -528
  229. package/core/lib/models/process/components/task-form/task-form.scss +7 -7
  230. package/core/lib/models/process/components/task-list/task-list.js +221 -221
  231. package/core/lib/models/process/components/task-list/task-list.scss +14 -14
  232. package/core/lib/models/process/components/task-overview/task-overview.js +299 -299
  233. package/core/lib/models/process/components/task-overview-legacy/task-overview-legacy.js +192 -192
  234. package/core/lib/models/process/components/task-routes/task-routes.js +45 -45
  235. package/core/lib/models/process/components/task-status/task-status.js +175 -175
  236. package/core/lib/models/process/components/task-status/task-status.scss +11 -11
  237. package/core/lib/models/process/process.js +780 -780
  238. package/core/lib/models/process-transactions/process-transactions.js +123 -123
  239. package/core/lib/models/roles/roles.js +106 -106
  240. package/core/lib/models/scripts/scripts.js +111 -111
  241. package/core/lib/models/step-transactions/step-transcations.js +147 -147
  242. package/core/lib/models/steps/components/step-add/step-add.js +261 -261
  243. package/core/lib/models/steps/components/step-detail/step-detail.js +157 -157
  244. package/core/lib/models/steps/steps.js +356 -356
  245. package/core/lib/models/user-preferences/user-preferences.js +83 -83
  246. package/core/lib/models/users/components/user-add/user-add.js +226 -226
  247. package/core/lib/models/users/users.js +119 -119
  248. package/core/lib/modules/business/launch-page/launch-page.js +29 -29
  249. package/core/lib/modules/business/launch-page/launch-page.scss +5 -5
  250. package/core/lib/modules/business/slots/slots.js +231 -231
  251. package/core/lib/modules/business/slots/slots.scss +108 -108
  252. package/core/lib/modules/forms/components/field-customizer/field-customizer.js +138 -138
  253. package/core/lib/modules/forms/components/field-selector/field-selector.js +157 -157
  254. package/core/lib/modules/forms/components/field-selector/field-selector.scss +25 -25
  255. package/core/lib/modules/forms/components/form-display/form-display.js +203 -203
  256. package/core/lib/modules/forms/components/form-display/form-display.scss +9 -9
  257. package/core/lib/modules/forms/components/tab-customizer/tab-customizer.js +124 -124
  258. package/core/lib/modules/generic/generic-add/generic-add.js +213 -213
  259. package/core/lib/modules/generic/generic-detail/generic-detail.js +199 -199
  260. package/core/lib/modules/generic/generic-edit/generic-edit.js +120 -120
  261. package/core/lib/modules/generic/generic-list/ExportReactCSV.js +414 -414
  262. package/core/lib/modules/generic/generic-list/generic-list.js +705 -705
  263. package/core/lib/modules/generic/generic-list/generic-list.scss +68 -68
  264. package/core/lib/modules/generic/generic-upload/generic-upload.js +483 -483
  265. package/core/lib/modules/generic/table-settings/table-settings.js +226 -226
  266. package/core/lib/modules/generic/table-settings/table-settings.scss +37 -37
  267. package/core/lib/modules/index.js +52 -52
  268. package/core/lib/modules/modules-routes/module-routes.js +35 -35
  269. package/core/lib/pages/change-password/change-password.js +204 -204
  270. package/core/lib/pages/change-password/change-password.scss +73 -73
  271. package/core/lib/pages/homepage/homepage.js +53 -53
  272. package/core/lib/pages/index.js +19 -19
  273. package/core/lib/pages/login/commnication-mode-selection.js +46 -46
  274. package/core/lib/pages/login/communication-mode-selection.scss +60 -60
  275. package/core/lib/pages/login/login.js +872 -872
  276. package/core/lib/pages/login/login.scss +353 -353
  277. package/core/lib/pages/login/reset-password.js +124 -124
  278. package/core/lib/pages/login/reset-password.scss +31 -31
  279. package/core/lib/pages/manage-users/manage-users.js +429 -429
  280. package/core/lib/pages/manage-users/manage-users.scss +25 -25
  281. package/core/lib/pages/profile/profile.js +247 -247
  282. package/core/lib/pages/profile/profile.scss +107 -107
  283. package/core/lib/pages/profile/theme-config.js +18 -18
  284. package/core/lib/pages/profile/themes-backup.json +310 -310
  285. package/core/lib/pages/profile/themes.json +254 -254
  286. package/core/lib/pages/register/register.js +176 -176
  287. package/core/lib/pages/register/register.scss +128 -128
  288. package/core/lib/react-styleguide.md +756 -756
  289. package/core/lib/utils/api/api.utils.js +207 -207
  290. package/core/lib/utils/api/readme.md +426 -426
  291. package/core/lib/utils/async.js +35 -35
  292. package/core/lib/utils/common/common.utils.js +237 -237
  293. package/core/lib/utils/common/readme.md +30 -30
  294. package/core/lib/utils/date/date.utils.js +295 -295
  295. package/core/lib/utils/date/readme.md +2 -2
  296. package/core/lib/utils/firebase.support.utils.js +98 -98
  297. package/core/lib/utils/firebase.utils.js +808 -808
  298. package/core/lib/utils/font-awesome.utils.js +168 -168
  299. package/core/lib/utils/form/form.utils.js +255 -255
  300. package/core/lib/utils/generic/generic.utils.js +70 -70
  301. package/core/lib/utils/http/auth.helper.js +95 -95
  302. package/core/lib/utils/http/http.utils.js +186 -186
  303. package/core/lib/utils/http/readme.md +14 -14
  304. package/core/lib/utils/index.js +43 -43
  305. package/core/lib/utils/location/location.utils.js +137 -137
  306. package/core/lib/utils/location/readme.md +18 -18
  307. package/core/lib/utils/modal.utils.js +15 -15
  308. package/core/lib/utils/notification.utils.js +34 -34
  309. package/core/lib/utils/pwa/pwa.utils.js +88 -88
  310. package/core/lib/utils/script.utils.js +235 -235
  311. package/core/lib/utils/setting.utils.js +68 -68
  312. package/core/lib/utils/upload.utils.js +29 -29
  313. package/core/models/Preference/Preferences.js +46 -46
  314. package/core/models/base/base.js +403 -403
  315. package/core/models/base-clone-loader.js +107 -107
  316. package/core/models/base-clone.js +187 -187
  317. package/core/models/base-loader.js +97 -97
  318. package/core/models/core-scripts/core-scripts.js +179 -179
  319. package/core/models/dashboard/dashboard.js +201 -201
  320. package/core/models/detail-loader.js +88 -88
  321. package/core/models/doctor/components/doctor-add/doctor-add.js +432 -432
  322. package/core/models/doctor/components/doctor-add/doctor-add.scss +32 -32
  323. package/core/models/groups.js +82 -82
  324. package/core/models/index.js +100 -100
  325. package/core/models/lookup-types/components/lookup-detail/lookup-detail.js +129 -129
  326. package/core/models/lookup-types/lookup-types.js +96 -96
  327. package/core/models/lookup-values/components/lookup-values-modal/lookup-values-modal.js +95 -95
  328. package/core/models/lookup-values/lookup-values.js +92 -92
  329. package/core/models/menu-roles/components/menu-roles-add/menu-roles-add.js +153 -153
  330. package/core/models/menu-roles/menu-roles.js +158 -158
  331. package/core/models/menus/components/menu-add/menu-add.js +288 -288
  332. package/core/models/menus/components/menu-add/menu-add.scss +31 -31
  333. package/core/models/menus/components/menu-detail/menu-detail.js +263 -263
  334. package/core/models/menus/components/menu-list/menu-list.js +392 -392
  335. package/core/models/menus/components/menu-lists/menu-lists.js +584 -584
  336. package/core/models/menus/components/menu-lists/menu-lists.scss +46 -46
  337. package/core/models/menus/menus.js +338 -338
  338. package/core/models/model-columns.js +121 -121
  339. package/core/models/models/components/model-detail/model-add.js +120 -120
  340. package/core/models/models/components/model-detail/model-detail.js +133 -133
  341. package/core/models/models/models.js +154 -154
  342. package/core/models/pages/components/page-add/page-add.js +163 -163
  343. package/core/models/pages/components/page-add/page-add.scss +30 -30
  344. package/core/models/pages/components/page-details/page-details.js +209 -209
  345. package/core/models/pages/components/page-list/page-list.js +248 -248
  346. package/core/models/pages/pages.js +142 -142
  347. package/core/models/pages.js +142 -142
  348. package/core/models/roles/components/role-add/menu-label.js +14 -14
  349. package/core/models/roles/components/role-add/menu-tree.js +127 -127
  350. package/core/models/roles/components/role-add/role-add.js +222 -222
  351. package/core/models/roles/components/role-add/role-add.scss +4 -4
  352. package/core/models/roles/components/role-list/role-list.js +406 -406
  353. package/core/models/roles/roles.js +196 -196
  354. package/core/models/staff/components/staff-add/staff-add.js +455 -455
  355. package/core/models/user-roles/components/user-roles-add/user-roles-add.js +149 -149
  356. package/core/models/user-roles/user-roles.js +113 -113
  357. package/core/models/users/components/assign-role/assign-role.js +428 -428
  358. package/core/models/users/components/assign-role/assign-role.scss +281 -281
  359. package/core/models/users/components/assign-role/avatar-props.js +45 -45
  360. package/core/models/users/components/user-add/user-add.js +847 -847
  361. package/core/models/users/components/user-add/user-edit.js +110 -110
  362. package/core/models/users/components/user-detail/user-detail.js +236 -236
  363. package/core/models/users/components/user-list/user-list.js +397 -397
  364. package/core/models/users/users.js +379 -379
  365. package/core/modules/Informations/change-info/change-info.js +618 -618
  366. package/core/modules/Informations/change-info/change-info.scss +134 -134
  367. package/core/modules/dashboard/components/dashboard-card/animations.js +64 -64
  368. package/core/modules/dashboard/components/dashboard-card/dashboard-card.js +197 -197
  369. package/core/modules/dashboard/components/dashboard-card/menu-dashboard-card.js +430 -430
  370. package/core/modules/dashboard/components/dashboard-card/menu-dashboard-card.scss +59 -59
  371. package/core/modules/dashboard/components/pop-query-dashboard/pop-query-dashboard.js +66 -66
  372. package/core/modules/generic/components/generic-add/generic-add.js +121 -121
  373. package/core/modules/generic/components/generic-add/generic-add.scss +13 -13
  374. package/core/modules/generic/components/generic-add-modal/generic-add-modal.js +125 -125
  375. package/core/modules/generic/components/generic-add-modal/generic-add-modal.scss +13 -13
  376. package/core/modules/generic/components/generic-detail/generic-detail.js +184 -184
  377. package/core/modules/generic/components/generic-detail/generic-detail.scss +25 -25
  378. package/core/modules/generic/components/generic-edit/generic-edit.js +123 -123
  379. package/core/modules/generic/components/generic-list/generic-list.js +335 -335
  380. package/core/modules/generic/components/generic-list/generic-list.scss +35 -35
  381. package/core/modules/index.js +42 -42
  382. package/core/modules/module-routes/module-routes.js +37 -37
  383. package/core/modules/reporting/components/index.js +6 -6
  384. package/core/modules/reporting/components/reporting-dashboard/README.md +316 -316
  385. package/core/modules/reporting/components/reporting-dashboard/adavance-search/advance-search.js +271 -271
  386. package/core/modules/reporting/components/reporting-dashboard/adavance-search/advance-search.scss +76 -76
  387. package/core/modules/reporting/components/reporting-dashboard/display-columns/build-display-columns.js +90 -90
  388. package/core/modules/reporting/components/reporting-dashboard/display-columns/build-display-columns.test.js +74 -74
  389. package/core/modules/reporting/components/reporting-dashboard/display-columns/display-cell-renderer.js +449 -449
  390. package/core/modules/reporting/components/reporting-dashboard/display-columns/display-cell-renderer.test.js +199 -199
  391. package/core/modules/reporting/components/reporting-dashboard/reporting-dashboard.js +1116 -1116
  392. package/core/modules/reporting/components/reporting-dashboard/reporting-dashboard.scss +215 -215
  393. package/core/modules/reporting/components/reporting-dashboard/reporting-table.js +519 -519
  394. package/core/modules/steps/action-buttons.js +92 -92
  395. package/core/modules/steps/action-buttons.scss +62 -62
  396. package/core/modules/steps/chat-assistant.js +141 -141
  397. package/core/modules/steps/narration.js +192 -192
  398. package/core/modules/steps/openai-realtime.js +275 -275
  399. package/core/modules/steps/progress-storage.js +140 -140
  400. package/core/modules/steps/readme.md +167 -167
  401. package/core/modules/steps/steps.js +1567 -1567
  402. package/core/modules/steps/steps.scss +907 -907
  403. package/core/modules/steps/timeline.js +56 -56
  404. package/core/modules/steps/voice-navigation.js +709 -709
  405. package/core/pages/homepage-api/homepage-api.js +106 -106
  406. package/core/pages/homepage-api/homepage-api.scss +233 -233
  407. package/core/pages/homepage-api/menu-dashboard.js +169 -169
  408. package/core/pages/homepage-api/menu-dashboard.scss +11 -11
  409. package/core/translation.json +53 -53
  410. package/core/translations.json +19 -19
  411. package/core/utils/script.utils.js +129 -129
  412. package/core/utils/settings.utils.js +25 -25
  413. package/eslint.config.mjs +79 -79
  414. package/index.js +35 -35
  415. package/jest.config.js +7 -7
  416. package/jest.setup.js +1 -1
  417. package/package.json +124 -124
  418. package/tsconfig.json +26 -26
  419. package/webpack.config.js +173 -173
@@ -1,907 +1,907 @@
1
- /* ── Page shell ─────────────────────────────────────────── */
2
-
3
- .process-steps-page {
4
- display: flex;
5
- flex-direction: column;
6
- height: 100%;
7
- min-height: 0;
8
- width: 100%;
9
- max-width: 100%;
10
- overflow: hidden;
11
- box-sizing: border-box;
12
- }
13
-
14
- .steps-viewport {
15
- display: flex;
16
- flex-direction: column;
17
- flex: 1 1 auto;
18
- width: 100%;
19
- max-width: 100%;
20
- height: 100%;
21
- min-height: 0;
22
- min-width: 0;
23
- overflow: hidden;
24
- box-sizing: border-box;
25
- }
26
-
27
- .steps-main-card {
28
- display: flex;
29
- flex: 1 1 auto;
30
- width: 100%;
31
- max-width: 100%;
32
- height: 100%;
33
- min-height: 0;
34
- min-width: 0;
35
- overflow: hidden;
36
- box-sizing: border-box;
37
-
38
- .ant-card-body {
39
- display: flex;
40
- flex-direction: column;
41
- flex: 1 1 auto;
42
- min-height: 0;
43
- min-width: 0;
44
- width: 100%;
45
- padding: 0;
46
- background: #ffffff;
47
- overflow: hidden;
48
- }
49
- }
50
-
51
- /* ── Patient info bar ───────────────────────────────────── */
52
-
53
- .steps-patient-bar {
54
- flex: 0 0 auto;
55
- padding: 0;
56
- background: #f8fbff;
57
- border-bottom: 1px solid #e8eef8;
58
- overflow-x: auto;
59
- overflow-y: hidden;
60
- scrollbar-width: none;
61
- }
62
-
63
- .steps-patient-bar::-webkit-scrollbar {
64
- display: none;
65
- }
66
-
67
- /* Transform GuestInfoComponent into a single-row horizontal strip */
68
-
69
- .steps-patient-bar .guest-info {
70
- margin: 0 !important;
71
- border: none !important;
72
- box-shadow: none !important;
73
- background: transparent !important;
74
- border-radius: 0 !important;
75
- width: 100%;
76
- }
77
-
78
- .steps-patient-bar .guest-info > .ant-card-body,
79
- .steps-patient-bar .guest-info > div > .ant-card-body,
80
- .steps-patient-bar .guest-info > div {
81
- padding: 0 !important;
82
- }
83
-
84
- .steps-patient-bar .guest-info .ant-row {
85
- display: flex !important;
86
- flex-direction: row !important;
87
- flex-wrap: nowrap !important;
88
- margin: 0 !important;
89
- gap: 0 !important;
90
- row-gap: 0 !important;
91
- align-items: stretch !important;
92
- width: max-content !important;
93
- min-width: 100% !important;
94
- }
95
-
96
- .steps-patient-bar .guest-info .ant-row > [class*='ant-col'] {
97
- flex: 0 0 auto !important;
98
- max-width: none !important;
99
- width: auto !important;
100
- padding: 0 !important;
101
- }
102
-
103
- .steps-patient-bar .guest-info .information {
104
- display: flex !important;
105
- flex-direction: column !important;
106
- justify-content: center !important;
107
- padding: 6px 16px !important;
108
- border: none !important;
109
- border-radius: 0 !important;
110
- background: transparent !important;
111
- height: 100% !important;
112
- min-height: 40px !important;
113
- box-shadow: none !important;
114
- border-right: 1px solid #dde5f0 !important;
115
- white-space: nowrap !important;
116
- }
117
-
118
- .steps-patient-bar .guest-info .ant-row > [class*='ant-col']:first-child .information {
119
- padding-left: 16px !important;
120
- }
121
-
122
- .steps-patient-bar .guest-info .ant-row > [class*='ant-col']:last-child .information {
123
- border-right: none !important;
124
- }
125
-
126
- /* Label */
127
- .steps-patient-bar .guest-info .information label,
128
- .steps-patient-bar .guest-info .information .label,
129
- .steps-patient-bar .guest-info .information small,
130
- .steps-patient-bar .guest-info .information > span:first-child {
131
- font-size: 10px !important;
132
- font-weight: 600 !important;
133
- text-transform: uppercase !important;
134
- letter-spacing: 0.07em !important;
135
- color: #9eafc2 !important;
136
- line-height: 1 !important;
137
- margin: 0 0 3px !important;
138
- display: block !important;
139
- }
140
-
141
- /* Value */
142
- .steps-patient-bar .guest-info .information strong,
143
- .steps-patient-bar .guest-info .information h4,
144
- .steps-patient-bar .guest-info .information h5,
145
- .steps-patient-bar .guest-info .information .value,
146
- .steps-patient-bar .guest-info .information > span:last-child,
147
- .steps-patient-bar .guest-info .information p {
148
- font-size: 13px !important;
149
- font-weight: 700 !important;
150
- color: #1e293b !important;
151
- margin: 0 !important;
152
- line-height: 1.3 !important;
153
- white-space: nowrap !important;
154
- }
155
-
156
- /* ── Top bar (breadcrumbs + nav actions) ────────────────── */
157
-
158
- .steps-top-bar {
159
- flex: 0 0 auto;
160
- display: flex;
161
- align-items: center;
162
- gap: 8px;
163
- padding: 6px 12px;
164
- border-bottom: 1px solid #e8eef8;
165
- background: #f8fbff;
166
- min-height: 50px;
167
- width: 100%;
168
- max-width: 100%;
169
- min-width: 0;
170
- box-sizing: border-box;
171
- overflow: hidden;
172
- }
173
-
174
- .steps-breadcrumb-strip {
175
- flex: 1 1 auto;
176
- min-width: 0;
177
- display: flex;
178
- align-items: center;
179
- gap: 6px;
180
- overflow-x: auto;
181
- overflow-y: hidden;
182
- white-space: nowrap;
183
- scrollbar-width: thin;
184
- scrollbar-color: #d0dff5 transparent;
185
- padding-bottom: 2px;
186
- }
187
-
188
- .steps-nav-actions {
189
- flex: 0 0 auto;
190
- display: flex;
191
- align-items: center;
192
- gap: 6px;
193
- }
194
-
195
- .steps-nav-actions .ant-btn {
196
- min-height: 34px;
197
- border-radius: 8px;
198
- padding: 0 14px;
199
- font-size: 13px;
200
- font-weight: 600;
201
- touch-action: manipulation;
202
- -webkit-tap-highlight-color: transparent;
203
- transition: all 0.15s ease;
204
- white-space: nowrap;
205
- }
206
-
207
- .steps-nav-actions .ant-btn:active {
208
- transform: scale(0.97);
209
- }
210
-
211
- .steps-breadcrumb-strip::-webkit-scrollbar {
212
- height: 3px;
213
- }
214
-
215
- /* ── Resume banner ──────────────────────────────────────── */
216
-
217
- .steps-resume-banner {
218
- flex: 0 0 auto;
219
- display: flex;
220
- align-items: center;
221
- justify-content: space-between;
222
- gap: 12px;
223
- padding: 8px 14px;
224
- background: #fff8e1;
225
- border-bottom: 1px solid #f5e3a3;
226
- color: #5b4400;
227
- font-size: 13px;
228
- font-weight: 500;
229
- }
230
-
231
- .steps-resume-banner-text {
232
- flex: 1 1 auto;
233
- min-width: 0;
234
- overflow: hidden;
235
- text-overflow: ellipsis;
236
- white-space: nowrap;
237
- }
238
-
239
- .steps-resume-banner-actions {
240
- flex: 0 0 auto;
241
- display: flex;
242
- align-items: center;
243
- gap: 6px;
244
- }
245
-
246
- .steps-breadcrumb-strip::-webkit-scrollbar-track {
247
- background: transparent;
248
- }
249
-
250
- .steps-breadcrumb-strip::-webkit-scrollbar-thumb {
251
- background: #d0dff5;
252
- border-radius: 4px;
253
- }
254
-
255
- .steps-breadcrumb-item {
256
- display: inline-flex;
257
- align-items: center;
258
- gap: 7px;
259
- border: 1.5px solid #dce6f5;
260
- background: #f8fbff;
261
- border-radius: 999px;
262
- padding: 6px 14px;
263
- cursor: pointer;
264
- transition: all 0.18s ease;
265
- color: #475569;
266
- font-size: 12px;
267
- font-weight: 500;
268
- white-space: nowrap;
269
- min-height: 34px;
270
- touch-action: manipulation;
271
- -webkit-tap-highlight-color: transparent;
272
- }
273
-
274
- .steps-breadcrumb-item:hover {
275
- background: #eef5ff;
276
- border-color: #c8d9f6;
277
- color: #1d4ed8;
278
- }
279
-
280
- .steps-breadcrumb-item:active {
281
- transform: scale(0.96);
282
- }
283
-
284
- .steps-breadcrumb-item.active {
285
- background: #1e3a8a;
286
- border-color: #1e3a8a;
287
- color: #ffffff;
288
- font-weight: 600;
289
- }
290
-
291
- .steps-breadcrumb-item.completed {
292
- border-color: #86efac;
293
- background: #f0fdf4;
294
- color: #15803d;
295
- }
296
-
297
- .steps-breadcrumb-item.completed .steps-breadcrumb-index {
298
- background: #16a34a;
299
- color: #ffffff;
300
- }
301
-
302
- .steps-breadcrumb-item.active .steps-breadcrumb-index {
303
- background: rgba(255, 255, 255, 0.22);
304
- color: #ffffff;
305
- }
306
-
307
- .steps-breadcrumb-index {
308
- width: 20px;
309
- height: 20px;
310
- border-radius: 50%;
311
- display: inline-flex;
312
- align-items: center;
313
- justify-content: center;
314
- font-size: 11px;
315
- font-weight: 700;
316
- background: #e2e8f4;
317
- color: #1e293b;
318
- flex: 0 0 auto;
319
- }
320
-
321
- .steps-breadcrumb-label {
322
- font-size: 12px;
323
- font-weight: 600;
324
- }
325
-
326
- .steps-breadcrumb-empty {
327
- color: #64748b;
328
- font-size: 12px;
329
- }
330
-
331
- /* ── Content area ───────────────────────────────────────── */
332
-
333
- .steps-content-panel {
334
- flex: 1 1 auto;
335
- min-height: 0;
336
- display: flex;
337
- flex-direction: column;
338
- overflow: hidden;
339
- }
340
-
341
- .steps-stage-body {
342
- flex: 1 1 auto;
343
- min-height: 0;
344
- display: flex;
345
- flex-direction: column;
346
- overflow: hidden;
347
- padding: 10px 14px;
348
- box-sizing: border-box;
349
- position: relative;
350
- }
351
-
352
- .steps-stage-body.is-swipe-enabled {
353
- touch-action: pan-y;
354
- }
355
-
356
- /* ── Touch-device floating nav arrows ───────────────────── */
357
-
358
- .steps-touch-nav {
359
- position: absolute;
360
- top: 50%;
361
- z-index: 6;
362
- width: 52px;
363
- height: 52px;
364
- display: inline-flex;
365
- align-items: center;
366
- justify-content: center;
367
- padding: 0;
368
- border: none;
369
- border-radius: 50%;
370
- background: rgba(30, 58, 138, 0.55);
371
- backdrop-filter: blur(8px) saturate(140%);
372
- -webkit-backdrop-filter: blur(8px) saturate(140%);
373
- color: #ffffff;
374
- font-size: 18px;
375
- cursor: pointer;
376
- box-shadow:
377
- 0 10px 24px rgba(15, 23, 42, 0.22),
378
- inset 0 0 0 1px rgba(255, 255, 255, 0.18);
379
- opacity: 0;
380
- visibility: hidden;
381
- transform: translateY(-50%) scale(0.82);
382
- transition:
383
- opacity 260ms ease,
384
- transform 260ms cubic-bezier(0.2, 0.8, 0.25, 1),
385
- visibility 0s linear 260ms,
386
- background-color 200ms ease,
387
- box-shadow 200ms ease;
388
- -webkit-tap-highlight-color: transparent;
389
- touch-action: manipulation;
390
- }
391
-
392
- /*
393
- Decorative pulsing ring around the button.
394
- - Drawn via ::before so it does not interfere with click targets.
395
- - Only animates while the button is visible and enabled, to keep the
396
- idle state calm instead of visually noisy.
397
- */
398
- .steps-touch-nav::before {
399
- content: '';
400
- position: absolute;
401
- inset: 0;
402
- border-radius: 50%;
403
- border: 2px solid rgba(255, 255, 255, 0.45);
404
- opacity: 0;
405
- pointer-events: none;
406
- }
407
-
408
- .steps-touch-nav.is-visible:not(:disabled)::before {
409
- animation: steps-touch-nav-ring 2.4s ease-out infinite;
410
- }
411
-
412
- /*
413
- Radial wash behind the icon for depth.
414
- - Keeps the icon glyph crisp against varied content backgrounds.
415
- */
416
- .steps-touch-nav::after {
417
- content: '';
418
- position: absolute;
419
- inset: 4px;
420
- border-radius: 50%;
421
- background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 65%);
422
- pointer-events: none;
423
- }
424
-
425
- .steps-touch-nav .anticon {
426
- position: relative;
427
- z-index: 1;
428
- filter: drop-shadow(0 1px 1px rgba(15, 23, 42, 0.25));
429
- }
430
-
431
- .steps-touch-nav:hover:not(:disabled),
432
- .steps-touch-nav:focus-visible:not(:disabled) {
433
- background: rgba(30, 58, 138, 0.92);
434
- box-shadow:
435
- 0 14px 30px rgba(15, 23, 42, 0.32),
436
- inset 0 0 0 1px rgba(255, 255, 255, 0.28);
437
- outline: none;
438
- }
439
-
440
- .steps-touch-nav:hover:not(:disabled),
441
- .steps-touch-nav:focus-visible:not(:disabled),
442
- .steps-touch-nav.is-visible:hover:not(:disabled),
443
- .steps-touch-nav.is-visible:focus-visible:not(:disabled) {
444
- opacity: 1;
445
- }
446
-
447
- .steps-touch-nav:active:not(:disabled) {
448
- transform: translateY(-50%) scale(0.94);
449
- transition:
450
- transform 120ms ease,
451
- opacity 120ms ease,
452
- background-color 120ms ease,
453
- box-shadow 120ms ease;
454
- }
455
-
456
- .steps-touch-nav:disabled {
457
- background: rgba(148, 163, 184, 0.38);
458
- color: rgba(255, 255, 255, 0.7);
459
- cursor: not-allowed;
460
- box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
461
- backdrop-filter: none;
462
- -webkit-backdrop-filter: none;
463
- }
464
-
465
- .steps-touch-nav:disabled::after {
466
- display: none;
467
- }
468
-
469
- .steps-touch-nav-left {
470
- left: 14px;
471
- }
472
-
473
- .steps-touch-nav-right {
474
- right: 14px;
475
- }
476
-
477
- .steps-touch-nav.is-visible {
478
- opacity: 0.68;
479
- visibility: visible;
480
- transform: translateY(-50%) scale(1);
481
- transition:
482
- opacity 260ms ease,
483
- transform 260ms cubic-bezier(0.2, 0.8, 0.25, 1),
484
- visibility 0s linear 0s,
485
- background-color 200ms ease,
486
- box-shadow 200ms ease;
487
- }
488
-
489
- @keyframes steps-touch-nav-ring {
490
- 0% {
491
- opacity: 0.55;
492
- transform: scale(1);
493
- }
494
-
495
- 65% {
496
- opacity: 0;
497
- transform: scale(1.45);
498
- }
499
-
500
- 100% {
501
- opacity: 0;
502
- transform: scale(1.45);
503
- }
504
- }
505
-
506
- @media (prefers-reduced-motion: reduce) {
507
- .steps-touch-nav {
508
- transition:
509
- opacity 120ms linear,
510
- visibility 0s linear 120ms;
511
- transform: translateY(-50%);
512
- }
513
-
514
- .steps-touch-nav.is-visible {
515
- transform: translateY(-50%);
516
- transition:
517
- opacity 120ms linear,
518
- visibility 0s linear 0s;
519
- }
520
-
521
- .steps-touch-nav.is-visible:not(:disabled)::before {
522
- animation: none;
523
- }
524
- }
525
-
526
- .steps-stage-body::-webkit-scrollbar {
527
- width: 5px;
528
- }
529
-
530
- .steps-stage-body::-webkit-scrollbar-track {
531
- background: #f4f8ff;
532
- border-radius: 4px;
533
- }
534
-
535
- .steps-stage-body::-webkit-scrollbar-thumb {
536
- background: #c5d5ee;
537
- border-radius: 4px;
538
- }
539
-
540
- .steps-stage-body::-webkit-scrollbar-thumb:hover {
541
- background: #93b4e0;
542
- }
543
-
544
- .steps-chat-step-card {
545
- width: 100%;
546
- max-width: 100%;
547
- min-width: 0;
548
- flex: 1 1 auto;
549
- min-height: 0;
550
- display: flex;
551
- flex-direction: column;
552
- border: 1px solid #e8eef8;
553
- border-radius: 10px;
554
- padding: 14px 16px;
555
- background: #ffffff;
556
- box-shadow: 0 1px 6px rgba(15, 23, 42, 0.04);
557
- box-sizing: border-box;
558
- overflow: hidden;
559
- }
560
-
561
- /* Step card animations */
562
-
563
- .steps-chat-step-card.slide-forward {
564
- animation: step-slide-forward 300ms ease;
565
- }
566
-
567
- .steps-chat-step-card.slide-backward {
568
- animation: step-slide-backward 300ms ease;
569
- }
570
-
571
- .steps-chat-step-card.slide-forward .steps-index-pill,
572
- .steps-chat-step-card.slide-backward .steps-index-pill,
573
- .steps-chat-step-card.slide-forward .steps-title,
574
- .steps-chat-step-card.slide-backward .steps-title,
575
- .steps-chat-step-card.slide-forward .steps-description,
576
- .steps-chat-step-card.slide-backward .steps-description,
577
- .steps-chat-step-card.slide-forward .steps-chat-step-component,
578
- .steps-chat-step-card.slide-backward .steps-chat-step-component {
579
- opacity: 0;
580
- animation: step-text-reveal 460ms ease forwards;
581
- }
582
-
583
- .steps-chat-step-card.slide-forward .steps-index-pill,
584
- .steps-chat-step-card.slide-backward .steps-index-pill {
585
- animation-delay: 40ms;
586
- }
587
-
588
- .steps-chat-step-card.slide-forward .steps-title,
589
- .steps-chat-step-card.slide-backward .steps-title {
590
- animation-delay: 100ms;
591
- }
592
-
593
- .steps-chat-step-card.slide-forward .steps-description,
594
- .steps-chat-step-card.slide-backward .steps-description {
595
- animation-delay: 160ms;
596
- }
597
-
598
- .steps-chat-step-card.slide-forward .steps-chat-step-component,
599
- .steps-chat-step-card.slide-backward .steps-chat-step-component {
600
- animation-delay: 220ms;
601
- }
602
-
603
- @keyframes step-slide-forward {
604
- from {
605
- opacity: 0;
606
- transform: translateX(24px);
607
- }
608
-
609
- to {
610
- opacity: 1;
611
- transform: translateX(0);
612
- }
613
- }
614
-
615
- @keyframes step-slide-backward {
616
- from {
617
- opacity: 0;
618
- transform: translateX(-24px);
619
- }
620
-
621
- to {
622
- opacity: 1;
623
- transform: translateX(0);
624
- }
625
- }
626
-
627
- @keyframes step-text-reveal {
628
- from {
629
- opacity: 0;
630
- transform: translateY(-8px);
631
- }
632
-
633
- to {
634
- opacity: 1;
635
- transform: translateY(0);
636
- }
637
- }
638
-
639
- .steps-chat-step-top {
640
- flex: 0 0 auto;
641
- padding-bottom: 10px;
642
- border-bottom: 1px solid #f1f5fb;
643
- }
644
-
645
- .steps-index-pill {
646
- display: inline-flex;
647
- align-items: center;
648
- padding: 2px 8px;
649
- border-radius: 999px;
650
- background: #eaf2ff;
651
- color: #1d4ed8;
652
- font-size: 10px;
653
- font-weight: 600;
654
- margin-bottom: 6px;
655
- }
656
-
657
- .steps-title {
658
- margin: 0;
659
- font-size: 16px;
660
- font-weight: 700;
661
- color: #111827;
662
- line-height: 1.3;
663
- }
664
-
665
- .steps-description {
666
- margin: 4px 0 0;
667
- color: #4b5563;
668
- line-height: 1.5;
669
- font-size: 13px;
670
- }
671
-
672
- .steps-chat-step-component {
673
- // margin-top: 10px;
674
- display: flex;
675
- flex: 1 1 auto;
676
- flex-direction: column;
677
- min-height: 0;
678
- min-width: 0;
679
- width: 100%;
680
- max-width: 100%;
681
- overflow-y: auto;
682
- overflow-x: hidden;
683
- scroll-behavior: smooth;
684
- scrollbar-width: thin;
685
- scrollbar-color: #c5d5ee #f4f8ff;
686
- }
687
-
688
- .steps-chat-step-component::-webkit-scrollbar {
689
- width: 6px;
690
- }
691
-
692
- .steps-chat-step-component::-webkit-scrollbar-track {
693
- background: #f4f8ff;
694
- border-radius: 4px;
695
- }
696
-
697
- .steps-chat-step-component::-webkit-scrollbar-thumb {
698
- background: #c5d5ee;
699
- border-radius: 4px;
700
- }
701
-
702
- .steps-chat-step-component::-webkit-scrollbar-thumb:hover {
703
- background: #93b4e0;
704
- }
705
-
706
- .steps-chat-step-component > * {
707
- flex: 0 0 auto;
708
- min-width: 0;
709
- width: 100%;
710
- max-width: 100%;
711
- box-sizing: border-box;
712
- }
713
-
714
- .steps-chat-loading {
715
- min-height: 120px;
716
- display: flex;
717
- align-items: center;
718
- justify-content: center;
719
- }
720
-
721
- /* ── Narration bar (hidden by default via NARRATION_CONTROLS_ENABLED) ── */
722
-
723
- .steps-narration-bar {
724
- flex: 0 0 auto;
725
- display: flex;
726
- align-items: center;
727
- flex-wrap: wrap;
728
- gap: 8px;
729
- padding: 8px 16px;
730
- border-top: 1px solid #e8eef8;
731
- background: #ffffff;
732
- }
733
-
734
- .steps-narration-bar .ant-btn {
735
- min-height: 34px;
736
- border-radius: 8px;
737
- padding: 0 14px;
738
- font-size: 13px;
739
- font-weight: 600;
740
- touch-action: manipulation;
741
- -webkit-tap-highlight-color: transparent;
742
- }
743
-
744
- .steps-voice-provider-select {
745
- min-width: 140px !important;
746
- }
747
-
748
- .steps-voice-select {
749
- min-width: 180px !important;
750
- }
751
-
752
- /* ── Fullscreen ─────────────────────────────────────────── */
753
-
754
- .steps-viewport:fullscreen,
755
- .steps-viewport:-webkit-full-screen {
756
- background: #f7fbff;
757
- }
758
-
759
- .steps-viewport:fullscreen .steps-main-card,
760
- .steps-viewport:-webkit-full-screen .steps-main-card {
761
- height: 100%;
762
- border-radius: 0;
763
- box-shadow: none;
764
- }
765
-
766
- .steps-viewport:fullscreen .steps-stage-body,
767
- .steps-viewport:-webkit-full-screen .steps-stage-body {
768
- padding: 3px;
769
- }
770
-
771
- /* ── Small laptops (13" / 1366px and below) ─────────────── */
772
-
773
- @media (max-width: 1366px) {
774
- .steps-top-bar {
775
- // padding: 6px 10px;
776
- gap: 6px;
777
- }
778
-
779
- .steps-nav-actions {
780
- gap: 4px;
781
- }
782
-
783
- .steps-nav-actions .ant-btn {
784
- min-height: 32px;
785
- padding: 0 10px;
786
- font-size: 12px;
787
- }
788
-
789
- .steps-breadcrumb-item {
790
- padding: 5px 10px;
791
- font-size: 11px;
792
- min-height: 30px;
793
- }
794
-
795
- .steps-breadcrumb-index {
796
- width: 18px;
797
- height: 18px;
798
- font-size: 10px;
799
- }
800
-
801
- .steps-stage-body {
802
- padding: 8px 12px;
803
- }
804
-
805
- .steps-chat-step-card {
806
- padding: 9px;
807
- }
808
-
809
- .steps-title {
810
- font-size: 15px;
811
- }
812
-
813
- .steps-description {
814
- font-size: 12px;
815
- }
816
- }
817
-
818
- /* ── Mobile ─────────────────────────────────────────────── */
819
-
820
- @media (max-width: 768px) {
821
- .steps-patient-bar {
822
- padding: 8px 12px;
823
- }
824
-
825
- .steps-patient-bar-sep {
826
- margin: 0 10px;
827
- }
828
-
829
- .steps-patient-field-label {
830
- font-size: 9px;
831
- }
832
-
833
- .steps-patient-field-value {
834
- font-size: 12px;
835
- }
836
-
837
- .steps-top-bar {
838
- padding: 6px 12px;
839
- gap: 6px;
840
- }
841
-
842
- .steps-nav-actions .ant-btn {
843
- min-height: 36px;
844
- padding: 0 10px;
845
- font-size: 12px;
846
- }
847
-
848
- .steps-breadcrumb-item {
849
- padding: 5px 10px;
850
- font-size: 11px;
851
- min-height: 30px;
852
- }
853
-
854
- .steps-stage-body {
855
- padding: 12px;
856
- }
857
-
858
- .steps-chat-step-card {
859
- padding: 14px 16px;
860
- border-radius: 10px;
861
- }
862
-
863
- .steps-title {
864
- font-size: 16px;
865
- }
866
-
867
- .steps-description {
868
- font-size: 13px;
869
- }
870
-
871
- .steps-narration-bar {
872
- padding: 8px 12px;
873
- }
874
-
875
- .steps-touch-nav {
876
- width: 44px;
877
- height: 44px;
878
- font-size: 16px;
879
- }
880
-
881
- .steps-touch-nav-left {
882
- left: 8px;
883
- }
884
-
885
- .steps-touch-nav-right {
886
- right: 8px;
887
- }
888
- }
889
-
890
- /* ── Reduced motion ─────────────────────────────────────── */
891
-
892
- @media (prefers-reduced-motion: reduce) {
893
- .steps-chat-step-card.slide-forward,
894
- .steps-chat-step-card.slide-backward,
895
- .steps-chat-step-card.slide-forward .steps-index-pill,
896
- .steps-chat-step-card.slide-backward .steps-index-pill,
897
- .steps-chat-step-card.slide-forward .steps-title,
898
- .steps-chat-step-card.slide-backward .steps-title,
899
- .steps-chat-step-card.slide-forward .steps-description,
900
- .steps-chat-step-card.slide-backward .steps-description,
901
- .steps-chat-step-card.slide-forward .steps-chat-step-component,
902
- .steps-chat-step-card.slide-backward .steps-chat-step-component {
903
- animation: none !important;
904
- opacity: 1 !important;
905
- transform: none !important;
906
- }
907
- }
1
+ /* ── Page shell ─────────────────────────────────────────── */
2
+
3
+ .process-steps-page {
4
+ display: flex;
5
+ flex-direction: column;
6
+ height: 100%;
7
+ min-height: 0;
8
+ width: 100%;
9
+ max-width: 100%;
10
+ overflow: hidden;
11
+ box-sizing: border-box;
12
+ }
13
+
14
+ .steps-viewport {
15
+ display: flex;
16
+ flex-direction: column;
17
+ flex: 1 1 auto;
18
+ width: 100%;
19
+ max-width: 100%;
20
+ height: 100%;
21
+ min-height: 0;
22
+ min-width: 0;
23
+ overflow: hidden;
24
+ box-sizing: border-box;
25
+ }
26
+
27
+ .steps-main-card {
28
+ display: flex;
29
+ flex: 1 1 auto;
30
+ width: 100%;
31
+ max-width: 100%;
32
+ height: 100%;
33
+ min-height: 0;
34
+ min-width: 0;
35
+ overflow: hidden;
36
+ box-sizing: border-box;
37
+
38
+ .ant-card-body {
39
+ display: flex;
40
+ flex-direction: column;
41
+ flex: 1 1 auto;
42
+ min-height: 0;
43
+ min-width: 0;
44
+ width: 100%;
45
+ padding: 0;
46
+ background: #ffffff;
47
+ overflow: hidden;
48
+ }
49
+ }
50
+
51
+ /* ── Patient info bar ───────────────────────────────────── */
52
+
53
+ .steps-patient-bar {
54
+ flex: 0 0 auto;
55
+ padding: 0;
56
+ background: #f8fbff;
57
+ border-bottom: 1px solid #e8eef8;
58
+ overflow-x: auto;
59
+ overflow-y: hidden;
60
+ scrollbar-width: none;
61
+ }
62
+
63
+ .steps-patient-bar::-webkit-scrollbar {
64
+ display: none;
65
+ }
66
+
67
+ /* Transform GuestInfoComponent into a single-row horizontal strip */
68
+
69
+ .steps-patient-bar .guest-info {
70
+ margin: 0 !important;
71
+ border: none !important;
72
+ box-shadow: none !important;
73
+ background: transparent !important;
74
+ border-radius: 0 !important;
75
+ width: 100%;
76
+ }
77
+
78
+ .steps-patient-bar .guest-info > .ant-card-body,
79
+ .steps-patient-bar .guest-info > div > .ant-card-body,
80
+ .steps-patient-bar .guest-info > div {
81
+ padding: 0 !important;
82
+ }
83
+
84
+ .steps-patient-bar .guest-info .ant-row {
85
+ display: flex !important;
86
+ flex-direction: row !important;
87
+ flex-wrap: nowrap !important;
88
+ margin: 0 !important;
89
+ gap: 0 !important;
90
+ row-gap: 0 !important;
91
+ align-items: stretch !important;
92
+ width: max-content !important;
93
+ min-width: 100% !important;
94
+ }
95
+
96
+ .steps-patient-bar .guest-info .ant-row > [class*='ant-col'] {
97
+ flex: 0 0 auto !important;
98
+ max-width: none !important;
99
+ width: auto !important;
100
+ padding: 0 !important;
101
+ }
102
+
103
+ .steps-patient-bar .guest-info .information {
104
+ display: flex !important;
105
+ flex-direction: column !important;
106
+ justify-content: center !important;
107
+ padding: 6px 16px !important;
108
+ border: none !important;
109
+ border-radius: 0 !important;
110
+ background: transparent !important;
111
+ height: 100% !important;
112
+ min-height: 40px !important;
113
+ box-shadow: none !important;
114
+ border-right: 1px solid #dde5f0 !important;
115
+ white-space: nowrap !important;
116
+ }
117
+
118
+ .steps-patient-bar .guest-info .ant-row > [class*='ant-col']:first-child .information {
119
+ padding-left: 16px !important;
120
+ }
121
+
122
+ .steps-patient-bar .guest-info .ant-row > [class*='ant-col']:last-child .information {
123
+ border-right: none !important;
124
+ }
125
+
126
+ /* Label */
127
+ .steps-patient-bar .guest-info .information label,
128
+ .steps-patient-bar .guest-info .information .label,
129
+ .steps-patient-bar .guest-info .information small,
130
+ .steps-patient-bar .guest-info .information > span:first-child {
131
+ font-size: 10px !important;
132
+ font-weight: 600 !important;
133
+ text-transform: uppercase !important;
134
+ letter-spacing: 0.07em !important;
135
+ color: #9eafc2 !important;
136
+ line-height: 1 !important;
137
+ margin: 0 0 3px !important;
138
+ display: block !important;
139
+ }
140
+
141
+ /* Value */
142
+ .steps-patient-bar .guest-info .information strong,
143
+ .steps-patient-bar .guest-info .information h4,
144
+ .steps-patient-bar .guest-info .information h5,
145
+ .steps-patient-bar .guest-info .information .value,
146
+ .steps-patient-bar .guest-info .information > span:last-child,
147
+ .steps-patient-bar .guest-info .information p {
148
+ font-size: 13px !important;
149
+ font-weight: 700 !important;
150
+ color: #1e293b !important;
151
+ margin: 0 !important;
152
+ line-height: 1.3 !important;
153
+ white-space: nowrap !important;
154
+ }
155
+
156
+ /* ── Top bar (breadcrumbs + nav actions) ────────────────── */
157
+
158
+ .steps-top-bar {
159
+ flex: 0 0 auto;
160
+ display: flex;
161
+ align-items: center;
162
+ gap: 8px;
163
+ padding: 6px 12px;
164
+ border-bottom: 1px solid #e8eef8;
165
+ background: #f8fbff;
166
+ min-height: 50px;
167
+ width: 100%;
168
+ max-width: 100%;
169
+ min-width: 0;
170
+ box-sizing: border-box;
171
+ overflow: hidden;
172
+ }
173
+
174
+ .steps-breadcrumb-strip {
175
+ flex: 1 1 auto;
176
+ min-width: 0;
177
+ display: flex;
178
+ align-items: center;
179
+ gap: 6px;
180
+ overflow-x: auto;
181
+ overflow-y: hidden;
182
+ white-space: nowrap;
183
+ scrollbar-width: thin;
184
+ scrollbar-color: #d0dff5 transparent;
185
+ padding-bottom: 2px;
186
+ }
187
+
188
+ .steps-nav-actions {
189
+ flex: 0 0 auto;
190
+ display: flex;
191
+ align-items: center;
192
+ gap: 6px;
193
+ }
194
+
195
+ .steps-nav-actions .ant-btn {
196
+ min-height: 34px;
197
+ border-radius: 8px;
198
+ padding: 0 14px;
199
+ font-size: 13px;
200
+ font-weight: 600;
201
+ touch-action: manipulation;
202
+ -webkit-tap-highlight-color: transparent;
203
+ transition: all 0.15s ease;
204
+ white-space: nowrap;
205
+ }
206
+
207
+ .steps-nav-actions .ant-btn:active {
208
+ transform: scale(0.97);
209
+ }
210
+
211
+ .steps-breadcrumb-strip::-webkit-scrollbar {
212
+ height: 3px;
213
+ }
214
+
215
+ /* ── Resume banner ──────────────────────────────────────── */
216
+
217
+ .steps-resume-banner {
218
+ flex: 0 0 auto;
219
+ display: flex;
220
+ align-items: center;
221
+ justify-content: space-between;
222
+ gap: 12px;
223
+ padding: 8px 14px;
224
+ background: #fff8e1;
225
+ border-bottom: 1px solid #f5e3a3;
226
+ color: #5b4400;
227
+ font-size: 13px;
228
+ font-weight: 500;
229
+ }
230
+
231
+ .steps-resume-banner-text {
232
+ flex: 1 1 auto;
233
+ min-width: 0;
234
+ overflow: hidden;
235
+ text-overflow: ellipsis;
236
+ white-space: nowrap;
237
+ }
238
+
239
+ .steps-resume-banner-actions {
240
+ flex: 0 0 auto;
241
+ display: flex;
242
+ align-items: center;
243
+ gap: 6px;
244
+ }
245
+
246
+ .steps-breadcrumb-strip::-webkit-scrollbar-track {
247
+ background: transparent;
248
+ }
249
+
250
+ .steps-breadcrumb-strip::-webkit-scrollbar-thumb {
251
+ background: #d0dff5;
252
+ border-radius: 4px;
253
+ }
254
+
255
+ .steps-breadcrumb-item {
256
+ display: inline-flex;
257
+ align-items: center;
258
+ gap: 7px;
259
+ border: 1.5px solid #dce6f5;
260
+ background: #f8fbff;
261
+ border-radius: 999px;
262
+ padding: 6px 14px;
263
+ cursor: pointer;
264
+ transition: all 0.18s ease;
265
+ color: #475569;
266
+ font-size: 12px;
267
+ font-weight: 500;
268
+ white-space: nowrap;
269
+ min-height: 34px;
270
+ touch-action: manipulation;
271
+ -webkit-tap-highlight-color: transparent;
272
+ }
273
+
274
+ .steps-breadcrumb-item:hover {
275
+ background: #eef5ff;
276
+ border-color: #c8d9f6;
277
+ color: #1d4ed8;
278
+ }
279
+
280
+ .steps-breadcrumb-item:active {
281
+ transform: scale(0.96);
282
+ }
283
+
284
+ .steps-breadcrumb-item.active {
285
+ background: #1e3a8a;
286
+ border-color: #1e3a8a;
287
+ color: #ffffff;
288
+ font-weight: 600;
289
+ }
290
+
291
+ .steps-breadcrumb-item.completed {
292
+ border-color: #86efac;
293
+ background: #f0fdf4;
294
+ color: #15803d;
295
+ }
296
+
297
+ .steps-breadcrumb-item.completed .steps-breadcrumb-index {
298
+ background: #16a34a;
299
+ color: #ffffff;
300
+ }
301
+
302
+ .steps-breadcrumb-item.active .steps-breadcrumb-index {
303
+ background: rgba(255, 255, 255, 0.22);
304
+ color: #ffffff;
305
+ }
306
+
307
+ .steps-breadcrumb-index {
308
+ width: 20px;
309
+ height: 20px;
310
+ border-radius: 50%;
311
+ display: inline-flex;
312
+ align-items: center;
313
+ justify-content: center;
314
+ font-size: 11px;
315
+ font-weight: 700;
316
+ background: #e2e8f4;
317
+ color: #1e293b;
318
+ flex: 0 0 auto;
319
+ }
320
+
321
+ .steps-breadcrumb-label {
322
+ font-size: 12px;
323
+ font-weight: 600;
324
+ }
325
+
326
+ .steps-breadcrumb-empty {
327
+ color: #64748b;
328
+ font-size: 12px;
329
+ }
330
+
331
+ /* ── Content area ───────────────────────────────────────── */
332
+
333
+ .steps-content-panel {
334
+ flex: 1 1 auto;
335
+ min-height: 0;
336
+ display: flex;
337
+ flex-direction: column;
338
+ overflow: hidden;
339
+ }
340
+
341
+ .steps-stage-body {
342
+ flex: 1 1 auto;
343
+ min-height: 0;
344
+ display: flex;
345
+ flex-direction: column;
346
+ overflow: hidden;
347
+ padding: 10px 14px;
348
+ box-sizing: border-box;
349
+ position: relative;
350
+ }
351
+
352
+ .steps-stage-body.is-swipe-enabled {
353
+ touch-action: pan-y;
354
+ }
355
+
356
+ /* ── Touch-device floating nav arrows ───────────────────── */
357
+
358
+ .steps-touch-nav {
359
+ position: absolute;
360
+ top: 50%;
361
+ z-index: 6;
362
+ width: 52px;
363
+ height: 52px;
364
+ display: inline-flex;
365
+ align-items: center;
366
+ justify-content: center;
367
+ padding: 0;
368
+ border: none;
369
+ border-radius: 50%;
370
+ background: rgba(30, 58, 138, 0.55);
371
+ backdrop-filter: blur(8px) saturate(140%);
372
+ -webkit-backdrop-filter: blur(8px) saturate(140%);
373
+ color: #ffffff;
374
+ font-size: 18px;
375
+ cursor: pointer;
376
+ box-shadow:
377
+ 0 10px 24px rgba(15, 23, 42, 0.22),
378
+ inset 0 0 0 1px rgba(255, 255, 255, 0.18);
379
+ opacity: 0;
380
+ visibility: hidden;
381
+ transform: translateY(-50%) scale(0.82);
382
+ transition:
383
+ opacity 260ms ease,
384
+ transform 260ms cubic-bezier(0.2, 0.8, 0.25, 1),
385
+ visibility 0s linear 260ms,
386
+ background-color 200ms ease,
387
+ box-shadow 200ms ease;
388
+ -webkit-tap-highlight-color: transparent;
389
+ touch-action: manipulation;
390
+ }
391
+
392
+ /*
393
+ Decorative pulsing ring around the button.
394
+ - Drawn via ::before so it does not interfere with click targets.
395
+ - Only animates while the button is visible and enabled, to keep the
396
+ idle state calm instead of visually noisy.
397
+ */
398
+ .steps-touch-nav::before {
399
+ content: '';
400
+ position: absolute;
401
+ inset: 0;
402
+ border-radius: 50%;
403
+ border: 2px solid rgba(255, 255, 255, 0.45);
404
+ opacity: 0;
405
+ pointer-events: none;
406
+ }
407
+
408
+ .steps-touch-nav.is-visible:not(:disabled)::before {
409
+ animation: steps-touch-nav-ring 2.4s ease-out infinite;
410
+ }
411
+
412
+ /*
413
+ Radial wash behind the icon for depth.
414
+ - Keeps the icon glyph crisp against varied content backgrounds.
415
+ */
416
+ .steps-touch-nav::after {
417
+ content: '';
418
+ position: absolute;
419
+ inset: 4px;
420
+ border-radius: 50%;
421
+ background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 65%);
422
+ pointer-events: none;
423
+ }
424
+
425
+ .steps-touch-nav .anticon {
426
+ position: relative;
427
+ z-index: 1;
428
+ filter: drop-shadow(0 1px 1px rgba(15, 23, 42, 0.25));
429
+ }
430
+
431
+ .steps-touch-nav:hover:not(:disabled),
432
+ .steps-touch-nav:focus-visible:not(:disabled) {
433
+ background: rgba(30, 58, 138, 0.92);
434
+ box-shadow:
435
+ 0 14px 30px rgba(15, 23, 42, 0.32),
436
+ inset 0 0 0 1px rgba(255, 255, 255, 0.28);
437
+ outline: none;
438
+ }
439
+
440
+ .steps-touch-nav:hover:not(:disabled),
441
+ .steps-touch-nav:focus-visible:not(:disabled),
442
+ .steps-touch-nav.is-visible:hover:not(:disabled),
443
+ .steps-touch-nav.is-visible:focus-visible:not(:disabled) {
444
+ opacity: 1;
445
+ }
446
+
447
+ .steps-touch-nav:active:not(:disabled) {
448
+ transform: translateY(-50%) scale(0.94);
449
+ transition:
450
+ transform 120ms ease,
451
+ opacity 120ms ease,
452
+ background-color 120ms ease,
453
+ box-shadow 120ms ease;
454
+ }
455
+
456
+ .steps-touch-nav:disabled {
457
+ background: rgba(148, 163, 184, 0.38);
458
+ color: rgba(255, 255, 255, 0.7);
459
+ cursor: not-allowed;
460
+ box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
461
+ backdrop-filter: none;
462
+ -webkit-backdrop-filter: none;
463
+ }
464
+
465
+ .steps-touch-nav:disabled::after {
466
+ display: none;
467
+ }
468
+
469
+ .steps-touch-nav-left {
470
+ left: 14px;
471
+ }
472
+
473
+ .steps-touch-nav-right {
474
+ right: 14px;
475
+ }
476
+
477
+ .steps-touch-nav.is-visible {
478
+ opacity: 0.68;
479
+ visibility: visible;
480
+ transform: translateY(-50%) scale(1);
481
+ transition:
482
+ opacity 260ms ease,
483
+ transform 260ms cubic-bezier(0.2, 0.8, 0.25, 1),
484
+ visibility 0s linear 0s,
485
+ background-color 200ms ease,
486
+ box-shadow 200ms ease;
487
+ }
488
+
489
+ @keyframes steps-touch-nav-ring {
490
+ 0% {
491
+ opacity: 0.55;
492
+ transform: scale(1);
493
+ }
494
+
495
+ 65% {
496
+ opacity: 0;
497
+ transform: scale(1.45);
498
+ }
499
+
500
+ 100% {
501
+ opacity: 0;
502
+ transform: scale(1.45);
503
+ }
504
+ }
505
+
506
+ @media (prefers-reduced-motion: reduce) {
507
+ .steps-touch-nav {
508
+ transition:
509
+ opacity 120ms linear,
510
+ visibility 0s linear 120ms;
511
+ transform: translateY(-50%);
512
+ }
513
+
514
+ .steps-touch-nav.is-visible {
515
+ transform: translateY(-50%);
516
+ transition:
517
+ opacity 120ms linear,
518
+ visibility 0s linear 0s;
519
+ }
520
+
521
+ .steps-touch-nav.is-visible:not(:disabled)::before {
522
+ animation: none;
523
+ }
524
+ }
525
+
526
+ .steps-stage-body::-webkit-scrollbar {
527
+ width: 5px;
528
+ }
529
+
530
+ .steps-stage-body::-webkit-scrollbar-track {
531
+ background: #f4f8ff;
532
+ border-radius: 4px;
533
+ }
534
+
535
+ .steps-stage-body::-webkit-scrollbar-thumb {
536
+ background: #c5d5ee;
537
+ border-radius: 4px;
538
+ }
539
+
540
+ .steps-stage-body::-webkit-scrollbar-thumb:hover {
541
+ background: #93b4e0;
542
+ }
543
+
544
+ .steps-chat-step-card {
545
+ width: 100%;
546
+ max-width: 100%;
547
+ min-width: 0;
548
+ flex: 1 1 auto;
549
+ min-height: 0;
550
+ display: flex;
551
+ flex-direction: column;
552
+ border: 1px solid #e8eef8;
553
+ border-radius: 10px;
554
+ padding: 14px 16px;
555
+ background: #ffffff;
556
+ box-shadow: 0 1px 6px rgba(15, 23, 42, 0.04);
557
+ box-sizing: border-box;
558
+ overflow: hidden;
559
+ }
560
+
561
+ /* Step card animations */
562
+
563
+ .steps-chat-step-card.slide-forward {
564
+ animation: step-slide-forward 300ms ease;
565
+ }
566
+
567
+ .steps-chat-step-card.slide-backward {
568
+ animation: step-slide-backward 300ms ease;
569
+ }
570
+
571
+ .steps-chat-step-card.slide-forward .steps-index-pill,
572
+ .steps-chat-step-card.slide-backward .steps-index-pill,
573
+ .steps-chat-step-card.slide-forward .steps-title,
574
+ .steps-chat-step-card.slide-backward .steps-title,
575
+ .steps-chat-step-card.slide-forward .steps-description,
576
+ .steps-chat-step-card.slide-backward .steps-description,
577
+ .steps-chat-step-card.slide-forward .steps-chat-step-component,
578
+ .steps-chat-step-card.slide-backward .steps-chat-step-component {
579
+ opacity: 0;
580
+ animation: step-text-reveal 460ms ease forwards;
581
+ }
582
+
583
+ .steps-chat-step-card.slide-forward .steps-index-pill,
584
+ .steps-chat-step-card.slide-backward .steps-index-pill {
585
+ animation-delay: 40ms;
586
+ }
587
+
588
+ .steps-chat-step-card.slide-forward .steps-title,
589
+ .steps-chat-step-card.slide-backward .steps-title {
590
+ animation-delay: 100ms;
591
+ }
592
+
593
+ .steps-chat-step-card.slide-forward .steps-description,
594
+ .steps-chat-step-card.slide-backward .steps-description {
595
+ animation-delay: 160ms;
596
+ }
597
+
598
+ .steps-chat-step-card.slide-forward .steps-chat-step-component,
599
+ .steps-chat-step-card.slide-backward .steps-chat-step-component {
600
+ animation-delay: 220ms;
601
+ }
602
+
603
+ @keyframes step-slide-forward {
604
+ from {
605
+ opacity: 0;
606
+ transform: translateX(24px);
607
+ }
608
+
609
+ to {
610
+ opacity: 1;
611
+ transform: translateX(0);
612
+ }
613
+ }
614
+
615
+ @keyframes step-slide-backward {
616
+ from {
617
+ opacity: 0;
618
+ transform: translateX(-24px);
619
+ }
620
+
621
+ to {
622
+ opacity: 1;
623
+ transform: translateX(0);
624
+ }
625
+ }
626
+
627
+ @keyframes step-text-reveal {
628
+ from {
629
+ opacity: 0;
630
+ transform: translateY(-8px);
631
+ }
632
+
633
+ to {
634
+ opacity: 1;
635
+ transform: translateY(0);
636
+ }
637
+ }
638
+
639
+ .steps-chat-step-top {
640
+ flex: 0 0 auto;
641
+ padding-bottom: 10px;
642
+ border-bottom: 1px solid #f1f5fb;
643
+ }
644
+
645
+ .steps-index-pill {
646
+ display: inline-flex;
647
+ align-items: center;
648
+ padding: 2px 8px;
649
+ border-radius: 999px;
650
+ background: #eaf2ff;
651
+ color: #1d4ed8;
652
+ font-size: 10px;
653
+ font-weight: 600;
654
+ margin-bottom: 6px;
655
+ }
656
+
657
+ .steps-title {
658
+ margin: 0;
659
+ font-size: 16px;
660
+ font-weight: 700;
661
+ color: #111827;
662
+ line-height: 1.3;
663
+ }
664
+
665
+ .steps-description {
666
+ margin: 4px 0 0;
667
+ color: #4b5563;
668
+ line-height: 1.5;
669
+ font-size: 13px;
670
+ }
671
+
672
+ .steps-chat-step-component {
673
+ // margin-top: 10px;
674
+ display: flex;
675
+ flex: 1 1 auto;
676
+ flex-direction: column;
677
+ min-height: 0;
678
+ min-width: 0;
679
+ width: 100%;
680
+ max-width: 100%;
681
+ overflow-y: auto;
682
+ overflow-x: hidden;
683
+ scroll-behavior: smooth;
684
+ scrollbar-width: thin;
685
+ scrollbar-color: #c5d5ee #f4f8ff;
686
+ }
687
+
688
+ .steps-chat-step-component::-webkit-scrollbar {
689
+ width: 6px;
690
+ }
691
+
692
+ .steps-chat-step-component::-webkit-scrollbar-track {
693
+ background: #f4f8ff;
694
+ border-radius: 4px;
695
+ }
696
+
697
+ .steps-chat-step-component::-webkit-scrollbar-thumb {
698
+ background: #c5d5ee;
699
+ border-radius: 4px;
700
+ }
701
+
702
+ .steps-chat-step-component::-webkit-scrollbar-thumb:hover {
703
+ background: #93b4e0;
704
+ }
705
+
706
+ .steps-chat-step-component > * {
707
+ flex: 0 0 auto;
708
+ min-width: 0;
709
+ width: 100%;
710
+ max-width: 100%;
711
+ box-sizing: border-box;
712
+ }
713
+
714
+ .steps-chat-loading {
715
+ min-height: 120px;
716
+ display: flex;
717
+ align-items: center;
718
+ justify-content: center;
719
+ }
720
+
721
+ /* ── Narration bar (hidden by default via NARRATION_CONTROLS_ENABLED) ── */
722
+
723
+ .steps-narration-bar {
724
+ flex: 0 0 auto;
725
+ display: flex;
726
+ align-items: center;
727
+ flex-wrap: wrap;
728
+ gap: 8px;
729
+ padding: 8px 16px;
730
+ border-top: 1px solid #e8eef8;
731
+ background: #ffffff;
732
+ }
733
+
734
+ .steps-narration-bar .ant-btn {
735
+ min-height: 34px;
736
+ border-radius: 8px;
737
+ padding: 0 14px;
738
+ font-size: 13px;
739
+ font-weight: 600;
740
+ touch-action: manipulation;
741
+ -webkit-tap-highlight-color: transparent;
742
+ }
743
+
744
+ .steps-voice-provider-select {
745
+ min-width: 140px !important;
746
+ }
747
+
748
+ .steps-voice-select {
749
+ min-width: 180px !important;
750
+ }
751
+
752
+ /* ── Fullscreen ─────────────────────────────────────────── */
753
+
754
+ .steps-viewport:fullscreen,
755
+ .steps-viewport:-webkit-full-screen {
756
+ background: #f7fbff;
757
+ }
758
+
759
+ .steps-viewport:fullscreen .steps-main-card,
760
+ .steps-viewport:-webkit-full-screen .steps-main-card {
761
+ height: 100%;
762
+ border-radius: 0;
763
+ box-shadow: none;
764
+ }
765
+
766
+ .steps-viewport:fullscreen .steps-stage-body,
767
+ .steps-viewport:-webkit-full-screen .steps-stage-body {
768
+ padding: 3px;
769
+ }
770
+
771
+ /* ── Small laptops (13" / 1366px and below) ─────────────── */
772
+
773
+ @media (max-width: 1366px) {
774
+ .steps-top-bar {
775
+ // padding: 6px 10px;
776
+ gap: 6px;
777
+ }
778
+
779
+ .steps-nav-actions {
780
+ gap: 4px;
781
+ }
782
+
783
+ .steps-nav-actions .ant-btn {
784
+ min-height: 32px;
785
+ padding: 0 10px;
786
+ font-size: 12px;
787
+ }
788
+
789
+ .steps-breadcrumb-item {
790
+ padding: 5px 10px;
791
+ font-size: 11px;
792
+ min-height: 30px;
793
+ }
794
+
795
+ .steps-breadcrumb-index {
796
+ width: 18px;
797
+ height: 18px;
798
+ font-size: 10px;
799
+ }
800
+
801
+ .steps-stage-body {
802
+ padding: 8px 12px;
803
+ }
804
+
805
+ .steps-chat-step-card {
806
+ padding: 9px;
807
+ }
808
+
809
+ .steps-title {
810
+ font-size: 15px;
811
+ }
812
+
813
+ .steps-description {
814
+ font-size: 12px;
815
+ }
816
+ }
817
+
818
+ /* ── Mobile ─────────────────────────────────────────────── */
819
+
820
+ @media (max-width: 768px) {
821
+ .steps-patient-bar {
822
+ padding: 8px 12px;
823
+ }
824
+
825
+ .steps-patient-bar-sep {
826
+ margin: 0 10px;
827
+ }
828
+
829
+ .steps-patient-field-label {
830
+ font-size: 9px;
831
+ }
832
+
833
+ .steps-patient-field-value {
834
+ font-size: 12px;
835
+ }
836
+
837
+ .steps-top-bar {
838
+ padding: 6px 12px;
839
+ gap: 6px;
840
+ }
841
+
842
+ .steps-nav-actions .ant-btn {
843
+ min-height: 36px;
844
+ padding: 0 10px;
845
+ font-size: 12px;
846
+ }
847
+
848
+ .steps-breadcrumb-item {
849
+ padding: 5px 10px;
850
+ font-size: 11px;
851
+ min-height: 30px;
852
+ }
853
+
854
+ .steps-stage-body {
855
+ padding: 12px;
856
+ }
857
+
858
+ .steps-chat-step-card {
859
+ padding: 14px 16px;
860
+ border-radius: 10px;
861
+ }
862
+
863
+ .steps-title {
864
+ font-size: 16px;
865
+ }
866
+
867
+ .steps-description {
868
+ font-size: 13px;
869
+ }
870
+
871
+ .steps-narration-bar {
872
+ padding: 8px 12px;
873
+ }
874
+
875
+ .steps-touch-nav {
876
+ width: 44px;
877
+ height: 44px;
878
+ font-size: 16px;
879
+ }
880
+
881
+ .steps-touch-nav-left {
882
+ left: 8px;
883
+ }
884
+
885
+ .steps-touch-nav-right {
886
+ right: 8px;
887
+ }
888
+ }
889
+
890
+ /* ── Reduced motion ─────────────────────────────────────── */
891
+
892
+ @media (prefers-reduced-motion: reduce) {
893
+ .steps-chat-step-card.slide-forward,
894
+ .steps-chat-step-card.slide-backward,
895
+ .steps-chat-step-card.slide-forward .steps-index-pill,
896
+ .steps-chat-step-card.slide-backward .steps-index-pill,
897
+ .steps-chat-step-card.slide-forward .steps-title,
898
+ .steps-chat-step-card.slide-backward .steps-title,
899
+ .steps-chat-step-card.slide-forward .steps-description,
900
+ .steps-chat-step-card.slide-backward .steps-description,
901
+ .steps-chat-step-card.slide-forward .steps-chat-step-component,
902
+ .steps-chat-step-card.slide-backward .steps-chat-step-component {
903
+ animation: none !important;
904
+ opacity: 1 !important;
905
+ transform: none !important;
906
+ }
907
+ }