ui-soxo-bootstrap-core 2.6.40-dev.0 → 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.
- package/.babelrc +8 -8
- package/.github/workflows/npm-publish.yml +41 -33
- package/.husky/pre-commit +11 -11
- package/.prettierrc.json +10 -10
- package/DEVELOPER_GUIDE.md +323 -294
- package/babel.config.js +2 -2
- package/core/components/component-loader/component-loader.js +125 -125
- package/core/components/component-wrapper/component-wrapper.js +121 -121
- package/core/components/external-window/DEVELOPER_GUIDE.md +705 -705
- package/core/components/external-window/external-window.js +236 -236
- package/core/components/external-window/external-window.test.js +80 -80
- package/core/components/extra-info/extra-info-details.js +155 -155
- package/core/components/extra-info/extra-info-details.scss +26 -26
- package/core/components/extra-info/extra-info.js +134 -134
- package/core/components/index.js +12 -21
- package/core/components/landing-api/landing-api.js +707 -547
- package/core/components/landing-api/landing-api.scss +41 -41
- package/core/components/license-management/license-alert.js +97 -0
- package/core/components/menu-template-api/menu-template-api.js +321 -321
- package/core/components/root-application-api/root-application-api.js +174 -174
- package/core/index.js +13 -13
- package/core/lib/Store.js +369 -369
- package/core/lib/components/application-bootstrap/application-bootstrap.js +115 -115
- package/core/lib/components/approval-form/approval-form.js +280 -280
- package/core/lib/components/approval-form/approval-form.scss +183 -183
- package/core/lib/components/approval-list/approval-list.js +143 -143
- package/core/lib/components/approval-list/approval-list.scss +2 -2
- package/core/lib/components/approval-list/components/request-card/request-card.js +42 -42
- package/core/lib/components/approval-list/components/request-card/request-card.scss +30 -30
- package/core/lib/components/camera/camera.js +230 -230
- package/core/lib/components/camera/camera.scss +86 -86
- package/core/lib/components/comment-block/comment-block.js +138 -138
- package/core/lib/components/comment-block/comment-block.scss +3 -3
- package/core/lib/components/confirm-modal/confirm-modal.js +82 -82
- package/core/lib/components/confirm-modal/confirm-modal.scss +2 -2
- package/core/lib/components/consent/consent.js +67 -67
- package/core/lib/components/consent/pdf-signature.js +299 -299
- package/core/lib/components/consent/signature-pad.js +90 -90
- package/core/lib/components/consent/signature-pad.scss +14 -14
- package/core/lib/components/file-upload/file-upload.js +133 -133
- package/core/lib/components/finger-print-reader/finger-print-reader.js +295 -295
- package/core/lib/components/finger-print-reader/finger-print-reader.scss +47 -47
- package/core/lib/components/finger-print-search/finger-print-search.js +200 -200
- package/core/lib/components/finger-print-search/finger-print-search.scss +47 -47
- package/core/lib/components/global-header/animations.js +18 -18
- package/core/lib/components/global-header/global-header.js +287 -344
- package/core/lib/components/global-header/global-header.scss +397 -397
- package/core/lib/components/header/generic-header.js +76 -76
- package/core/lib/components/header/generic-header.scss +99 -99
- package/core/lib/components/image-preview/image-preview.js +33 -33
- package/core/lib/components/image-wrapper/image-wrapper.js +108 -108
- package/core/lib/components/image-wrapper/image-wrapper.scss +12 -12
- package/core/lib/components/index.js +206 -206
- package/core/lib/components/landing/landing.js +403 -403
- package/core/lib/components/language-switcher/language-switcher.js +49 -49
- package/core/lib/components/menu-context/menu-context.js +69 -69
- package/core/lib/components/menu-template/menu-template.js +249 -249
- package/core/lib/components/menu-template/menu-template.scss +9 -9
- package/core/lib/components/modal-search/modal-search.js +153 -153
- package/core/lib/components/modal-search/modal-search.scss +78 -78
- package/core/lib/components/modal-wrapper/modal-manager.js +15 -15
- package/core/lib/components/modal-wrapper/modal-wrapper.js +108 -108
- package/core/lib/components/modal-wrapper/modal-wrapper.scss +13 -13
- package/core/lib/components/notice-board/notice-board.js +132 -132
- package/core/lib/components/notice-board/notice-board.scss +65 -65
- package/core/lib/components/page-container/page-container.js +55 -55
- package/core/lib/components/page-container/page-container.scss +8 -8
- package/core/lib/components/page-header/page-header.js +23 -23
- package/core/lib/components/page-header/page-header.scss +17 -17
- package/core/lib/components/pdf-viewer/pdf-viewer.js +56 -56
- package/core/lib/components/portlet-table/components/table-actions/table-actions.js +58 -58
- package/core/lib/components/portlet-table/components/table-actions/table-actions.scss +1 -1
- package/core/lib/components/portlet-table/components/table-data/table-data.js +106 -106
- package/core/lib/components/portlet-table/portlet-table.js +63 -63
- package/core/lib/components/portlet-table/portlet-table.scss +90 -90
- package/core/lib/components/progress-bar/progress-bar.js +58 -58
- package/core/lib/components/progress-bar/progress-bar.scss +15 -15
- package/core/lib/components/request-form/request-form.js +110 -110
- package/core/lib/components/root-application/root-application.js +70 -70
- package/core/lib/components/rupee/rupee.js +14 -14
- package/core/lib/components/script-input/script-input.js +169 -169
- package/core/lib/components/script-input/script-input.scss +8 -8
- package/core/lib/components/sidemenu/animations.js +51 -51
- package/core/lib/components/sidemenu/sidemenu.js +713 -713
- package/core/lib/components/sidemenu/sidemenu.scss +314 -314
- package/core/lib/components/spotlight-search/spotlight-search.component.js +635 -635
- package/core/lib/components/spotlight-search/spotlight-search.component.scss +78 -78
- package/core/lib/components/table-wrapper/table-wrapper.js +135 -135
- package/core/lib/components/table-wrapper/table-wrapper.scss +72 -72
- package/core/lib/components/ui_elements/Loader.js +12 -12
- package/core/lib/components/ui_elements/Notify.js +12 -12
- package/core/lib/components/ui_elements/PlaceHolder.js +33 -33
- package/core/lib/components/web-camera/web-camera.js +161 -161
- package/core/lib/components/web-camera/web-camera.scss +28 -28
- package/core/lib/core.md +9 -9
- package/core/lib/elements/Elements.md +2 -2
- package/core/lib/elements/basic/LoggedUserRedirect.js +21 -21
- package/core/lib/elements/basic/PrivateRoute.js +16 -16
- package/core/lib/elements/basic/button/Button.md +43 -43
- package/core/lib/elements/basic/button/button.js +170 -170
- package/core/lib/elements/basic/card/Card.md +15 -15
- package/core/lib/elements/basic/card/card.js +40 -40
- package/core/lib/elements/basic/card/card.scss +13 -13
- package/core/lib/elements/basic/checkbox/checkbox.js +23 -23
- package/core/lib/elements/basic/col/col.js +15 -15
- package/core/lib/elements/basic/copy-to-clipboard/Readme.md +40 -40
- package/core/lib/elements/basic/copy-to-clipboard/copy-to-clipboard.js +61 -61
- package/core/lib/elements/basic/country-phone-input/Readme.md +98 -98
- package/core/lib/elements/basic/country-phone-input/country-phone-input.js +81 -81
- package/core/lib/elements/basic/country-phone-input/phone-input.scss +75 -75
- package/core/lib/elements/basic/datepicker/datepicker.js +33 -33
- package/core/lib/elements/basic/dragabble-wrapper/draggable-wrapper.js +203 -203
- package/core/lib/elements/basic/empty/empty.js +14 -14
- package/core/lib/elements/basic/fingerprint-protrected/fingerprint-protected.js +118 -118
- package/core/lib/elements/basic/fingerprint-protrected/fingerprint-protected.scss +10 -10
- package/core/lib/elements/basic/form/form.js +70 -70
- package/core/lib/elements/basic/form/form.scss +3 -3
- package/core/lib/elements/basic/image/image.js +45 -45
- package/core/lib/elements/basic/image/image.scss +17 -17
- package/core/lib/elements/basic/image/readme.md +26 -26
- package/core/lib/elements/basic/image-viewer/image-viewer.js +108 -108
- package/core/lib/elements/basic/image-viewer/image-viewer.scss +7 -7
- package/core/lib/elements/basic/input/input.js +81 -81
- package/core/lib/elements/basic/input/readme.md +77 -77
- package/core/lib/elements/basic/json-input/json-input.js +51 -51
- package/core/lib/elements/basic/menu-dashboard/menu-dashboard.js +216 -216
- package/core/lib/elements/basic/menu-dashboard/menu-dashboard.scss +28 -28
- package/core/lib/elements/basic/menu-tree/menu-tree.js +127 -127
- package/core/lib/elements/basic/modal/modal.js +64 -64
- package/core/lib/elements/basic/modal/readme.md +62 -62
- package/core/lib/elements/basic/popconfirm/popconfirm.js +17 -17
- package/core/lib/elements/basic/popover/popover.js +12 -12
- package/core/lib/elements/basic/radio/radio.js +18 -18
- package/core/lib/elements/basic/rangepicker/rangepicker.js +141 -141
- package/core/lib/elements/basic/rangepicker/rangepicker.scss +24 -24
- package/core/lib/elements/basic/rangepicker/readme.md +81 -81
- package/core/lib/elements/basic/reference-select/readme.md +18 -18
- package/core/lib/elements/basic/reference-select/reference-select.js +337 -337
- package/core/lib/elements/basic/row/row.js +15 -15
- package/core/lib/elements/basic/select/select.js +46 -46
- package/core/lib/elements/basic/select-box/readme.md +52 -52
- package/core/lib/elements/basic/select-box/select-box.js +63 -63
- package/core/lib/elements/basic/skeleton/readme.md +35 -35
- package/core/lib/elements/basic/skeleton/skeleton.js +35 -35
- package/core/lib/elements/basic/skeleton/skeleton.scss +53 -53
- package/core/lib/elements/basic/space/space.js +12 -12
- package/core/lib/elements/basic/switch/readme.md +29 -29
- package/core/lib/elements/basic/switch/switch.js +67 -67
- package/core/lib/elements/basic/tab/tab.js +14 -14
- package/core/lib/elements/basic/table/readme.md +8 -8
- package/core/lib/elements/basic/table/table.js +95 -95
- package/core/lib/elements/basic/tag/tag.js +63 -63
- package/core/lib/elements/basic/tag/tag.scss +2 -2
- package/core/lib/elements/basic/timeline/timeline.js +13 -13
- package/core/lib/elements/basic/title/readme.md +20 -20
- package/core/lib/elements/basic/title/title.js +37 -37
- package/core/lib/elements/basic/user-search/user-search.js +192 -192
- package/core/lib/elements/complex/barcode/barcode.js +27 -27
- package/core/lib/elements/complex/bargraph/bar-graph.js +262 -262
- package/core/lib/elements/complex/basic-table/basic-table.js +110 -110
- package/core/lib/elements/complex/basic-table/basic-table.scss +4 -4
- package/core/lib/elements/complex/date-display/date-display.js +37 -37
- package/core/lib/elements/complex/error-boundary/error-boundary.js +29 -29
- package/core/lib/elements/complex/google-location-input/map-container-library-load.js +92 -92
- package/core/lib/elements/complex/google-map/google-map.js +230 -230
- package/core/lib/elements/complex/google-map/google-map.scss +13 -13
- package/core/lib/elements/complex/line-graph/line-graph.js +108 -108
- package/core/lib/elements/complex/location-search-input/location-search-input.js +100 -100
- package/core/lib/elements/complex/pie-chart/pie-chart.js +202 -202
- package/core/lib/elements/complex/qr-code/qr-code.js +27 -27
- package/core/lib/elements/complex/qrscanner/qrscanner.js +57 -57
- package/core/lib/elements/complex/search-debounce/search-debounce.js +37 -37
- package/core/lib/elements/complex/statistic-card/dashboard-statistic-card.js +75 -75
- package/core/lib/elements/complex/statistic-card/statistic-card.js +28 -28
- package/core/lib/elements/index.js +226 -226
- package/core/lib/hooks/device-detect.js +25 -25
- package/core/lib/hooks/index.js +9 -9
- package/core/lib/hooks/use-location.js +33 -33
- package/core/lib/hooks/use-otp-timer.js +80 -80
- package/core/lib/hooks/use-window-size.js +34 -34
- package/core/lib/i18n.js +69 -69
- package/core/lib/index.js +106 -106
- package/core/lib/introduction.md +73 -73
- package/core/lib/js-styleguide.md +4112 -4112
- package/core/lib/models/actions/actions.js +127 -127
- package/core/lib/models/actions/components/action-detail/action-detail.js +190 -190
- package/core/lib/models/actions/components/custom-actions/custom-actions.js +185 -185
- package/core/lib/models/attachments/attachments.js +231 -231
- package/core/lib/models/base-loader.js +99 -99
- package/core/lib/models/base.js +716 -716
- package/core/lib/models/branches/branches.js +125 -125
- package/core/lib/models/checklists/checklists.js +114 -114
- package/core/lib/models/columns/columns.js +169 -169
- package/core/lib/models/columns/components/columns-add/columns-add.js +171 -171
- package/core/lib/models/comments/comments.js +213 -213
- package/core/lib/models/departments/departments.js +107 -107
- package/core/lib/models/financial-years/financial_years.js +127 -127
- package/core/lib/models/forms/components/form-creator/form-creator.js +665 -665
- package/core/lib/models/forms/components/form-creator/form-creator.scss +39 -39
- package/core/lib/models/forms/components/form-detail/form-detail.js +224 -224
- package/core/lib/models/forms/forms.js +121 -121
- package/core/lib/models/index.js +203 -203
- package/core/lib/models/invoice-numbers/invoice_numbers.js +204 -204
- package/core/lib/models/lookup-types/components/lookup-detail/lookup-detail.js +145 -145
- package/core/lib/models/lookup-types/lookup-types.js +113 -113
- package/core/lib/models/lookup-values/components/lookup-values-add/lookup-values-add.js +126 -126
- package/core/lib/models/lookup-values/lookup-values.js +107 -107
- package/core/lib/models/menu-roles/menu-roles.js +127 -127
- package/core/lib/models/menus/components/menu-add/menu-add.js +228 -228
- package/core/lib/models/menus/components/menu-detail/menu-detail.js +170 -170
- package/core/lib/models/menus/components/menu-list/menu-list.js +550 -550
- package/core/lib/models/menus/components/menu-list/menu-list.scss +5 -5
- package/core/lib/models/menus/components/menu-roles-add/menu-roles-add.js +183 -183
- package/core/lib/models/menus/menus.js +499 -499
- package/core/lib/models/models/components/model-detail/model-detail.js +137 -137
- package/core/lib/models/models/components/models.js +128 -128
- package/core/lib/models/modules/modules.js +204 -204
- package/core/lib/models/outbox/outbox.js +73 -73
- package/core/lib/models/pages/pages.js +107 -107
- package/core/lib/models/permissions/permissions.js +71 -71
- package/core/lib/models/process/components/process-add/process-add.js +181 -181
- package/core/lib/models/process/components/process-dashboard/process-dashboard.js +1068 -1068
- package/core/lib/models/process/components/process-dashboard/process-dashboard.scss +66 -66
- package/core/lib/models/process/components/process-detail/process-detail.js +140 -140
- package/core/lib/models/process/components/process-timeline/process-timeline.js +139 -139
- package/core/lib/models/process/components/task-detail/task-detail.js +240 -240
- package/core/lib/models/process/components/task-detail/task-detail.scss +27 -27
- package/core/lib/models/process/components/task-form/task-form.js +528 -528
- package/core/lib/models/process/components/task-form/task-form.scss +7 -7
- package/core/lib/models/process/components/task-list/task-list.js +221 -221
- package/core/lib/models/process/components/task-list/task-list.scss +14 -14
- package/core/lib/models/process/components/task-overview/task-overview.js +299 -299
- package/core/lib/models/process/components/task-overview-legacy/task-overview-legacy.js +192 -192
- package/core/lib/models/process/components/task-routes/task-routes.js +45 -45
- package/core/lib/models/process/components/task-status/task-status.js +175 -175
- package/core/lib/models/process/components/task-status/task-status.scss +11 -11
- package/core/lib/models/process/process.js +780 -780
- package/core/lib/models/process-transactions/process-transactions.js +123 -123
- package/core/lib/models/roles/roles.js +106 -106
- package/core/lib/models/scripts/scripts.js +111 -111
- package/core/lib/models/step-transactions/step-transcations.js +147 -147
- package/core/lib/models/steps/components/step-add/step-add.js +261 -261
- package/core/lib/models/steps/components/step-detail/step-detail.js +157 -157
- package/core/lib/models/steps/steps.js +356 -356
- package/core/lib/models/user-preferences/user-preferences.js +83 -83
- package/core/lib/models/users/components/user-add/user-add.js +226 -226
- package/core/lib/models/users/users.js +119 -119
- package/core/lib/modules/business/launch-page/launch-page.js +29 -29
- package/core/lib/modules/business/launch-page/launch-page.scss +5 -5
- package/core/lib/modules/business/slots/slots.js +231 -231
- package/core/lib/modules/business/slots/slots.scss +108 -108
- package/core/lib/modules/forms/components/field-customizer/field-customizer.js +138 -138
- package/core/lib/modules/forms/components/field-selector/field-selector.js +157 -157
- package/core/lib/modules/forms/components/field-selector/field-selector.scss +25 -25
- package/core/lib/modules/forms/components/form-display/form-display.js +203 -203
- package/core/lib/modules/forms/components/form-display/form-display.scss +9 -9
- package/core/lib/modules/forms/components/tab-customizer/tab-customizer.js +124 -124
- package/core/lib/modules/generic/generic-add/generic-add.js +213 -213
- package/core/lib/modules/generic/generic-detail/generic-detail.js +199 -199
- package/core/lib/modules/generic/generic-edit/generic-edit.js +120 -120
- package/core/lib/modules/generic/generic-list/ExportReactCSV.js +414 -88
- package/core/lib/modules/generic/generic-list/generic-list.js +705 -705
- package/core/lib/modules/generic/generic-list/generic-list.scss +68 -34
- package/core/lib/modules/generic/generic-upload/generic-upload.js +483 -483
- package/core/lib/modules/generic/table-settings/table-settings.js +226 -226
- package/core/lib/modules/generic/table-settings/table-settings.scss +37 -37
- package/core/lib/modules/index.js +52 -52
- package/core/lib/modules/modules-routes/module-routes.js +35 -35
- package/core/lib/pages/change-password/change-password.js +204 -204
- package/core/lib/pages/change-password/change-password.scss +73 -73
- package/core/lib/pages/homepage/homepage.js +53 -53
- package/core/lib/pages/index.js +19 -19
- package/core/lib/pages/login/commnication-mode-selection.js +46 -46
- package/core/lib/pages/login/communication-mode-selection.scss +60 -60
- package/core/lib/pages/login/login.js +872 -872
- package/core/lib/pages/login/login.scss +353 -353
- package/core/lib/pages/login/reset-password.js +124 -124
- package/core/lib/pages/login/reset-password.scss +31 -31
- package/core/lib/pages/manage-users/manage-users.js +429 -429
- package/core/lib/pages/manage-users/manage-users.scss +25 -25
- package/core/lib/pages/profile/profile.js +247 -247
- package/core/lib/pages/profile/profile.scss +107 -107
- package/core/lib/pages/profile/theme-config.js +18 -18
- package/core/lib/pages/profile/themes-backup.json +310 -310
- package/core/lib/pages/profile/themes.json +254 -254
- package/core/lib/pages/register/register.js +176 -176
- package/core/lib/pages/register/register.scss +128 -128
- package/core/lib/react-styleguide.md +756 -756
- package/core/lib/utils/api/api.utils.js +207 -207
- package/core/lib/utils/api/readme.md +426 -426
- package/core/lib/utils/async.js +35 -35
- package/core/lib/utils/common/common.utils.js +237 -237
- package/core/lib/utils/common/readme.md +30 -30
- package/core/lib/utils/date/date.utils.js +295 -295
- package/core/lib/utils/date/readme.md +2 -2
- package/core/lib/utils/firebase.support.utils.js +98 -98
- package/core/lib/utils/firebase.utils.js +808 -808
- package/core/lib/utils/font-awesome.utils.js +168 -168
- package/core/lib/utils/form/form.utils.js +255 -255
- package/core/lib/utils/generic/generic.utils.js +70 -70
- package/core/lib/utils/http/auth.helper.js +95 -95
- package/core/lib/utils/http/http.utils.js +186 -186
- package/core/lib/utils/http/readme.md +14 -14
- package/core/lib/utils/index.js +43 -43
- package/core/lib/utils/location/location.utils.js +137 -137
- package/core/lib/utils/location/readme.md +18 -18
- package/core/lib/utils/modal.utils.js +15 -15
- package/core/lib/utils/notification.utils.js +34 -34
- package/core/lib/utils/pwa/pwa.utils.js +88 -88
- package/core/lib/utils/script.utils.js +235 -235
- package/core/lib/utils/setting.utils.js +68 -68
- package/core/lib/utils/upload.utils.js +29 -29
- package/core/models/Preference/Preferences.js +46 -46
- package/core/models/base/base.js +403 -403
- package/core/models/base-clone-loader.js +107 -107
- package/core/models/base-clone.js +187 -187
- package/core/models/base-loader.js +97 -97
- package/core/models/core-scripts/core-scripts.js +179 -158
- package/core/models/dashboard/dashboard.js +201 -201
- package/core/models/detail-loader.js +88 -88
- package/core/models/doctor/components/doctor-add/doctor-add.js +432 -432
- package/core/models/doctor/components/doctor-add/doctor-add.scss +32 -32
- package/core/models/groups.js +82 -82
- package/core/models/index.js +100 -100
- package/core/models/lookup-types/components/lookup-detail/lookup-detail.js +129 -129
- package/core/models/lookup-types/lookup-types.js +96 -96
- package/core/models/lookup-values/components/lookup-values-modal/lookup-values-modal.js +95 -95
- package/core/models/lookup-values/lookup-values.js +92 -92
- package/core/models/menu-roles/components/menu-roles-add/menu-roles-add.js +153 -153
- package/core/models/menu-roles/menu-roles.js +158 -158
- package/core/models/menus/components/menu-add/menu-add.js +288 -288
- package/core/models/menus/components/menu-add/menu-add.scss +31 -31
- package/core/models/menus/components/menu-detail/menu-detail.js +263 -263
- package/core/models/menus/components/menu-list/menu-list.js +392 -392
- package/core/models/menus/components/menu-lists/menu-lists.js +584 -584
- package/core/models/menus/components/menu-lists/menu-lists.scss +46 -46
- package/core/models/menus/menus.js +338 -310
- package/core/models/model-columns.js +121 -121
- package/core/models/models/components/model-detail/model-add.js +120 -120
- package/core/models/models/components/model-detail/model-detail.js +133 -133
- package/core/models/models/models.js +154 -154
- package/core/models/pages/components/page-add/page-add.js +163 -163
- package/core/models/pages/components/page-add/page-add.scss +30 -30
- package/core/models/pages/components/page-details/page-details.js +209 -209
- package/core/models/pages/components/page-list/page-list.js +248 -248
- package/core/models/pages/pages.js +142 -142
- package/core/models/pages.js +142 -142
- package/core/models/roles/components/role-add/role-add.js +222 -222
- package/core/models/roles/components/role-add/role-add.scss +4 -4
- package/core/models/roles/components/role-list/role-list.js +406 -406
- package/core/models/roles/roles.js +196 -196
- package/core/models/staff/components/staff-add/staff-add.js +455 -455
- package/core/models/user-roles/components/user-roles-add/user-roles-add.js +149 -149
- package/core/models/user-roles/user-roles.js +113 -113
- package/core/models/users/components/assign-role/assign-role.js +428 -428
- package/core/models/users/components/assign-role/assign-role.scss +281 -281
- package/core/models/users/components/assign-role/avatar-props.js +45 -45
- package/core/models/users/components/user-add/user-add.js +847 -847
- package/core/models/users/components/user-add/user-edit.js +110 -110
- package/core/models/users/components/user-detail/user-detail.js +236 -236
- package/core/models/users/components/user-list/user-list.js +397 -397
- package/core/models/users/users.js +379 -379
- package/core/modules/Informations/change-info/change-info.js +618 -618
- package/core/modules/Informations/change-info/change-info.scss +134 -134
- package/core/modules/dashboard/components/dashboard-card/animations.js +64 -64
- package/core/modules/dashboard/components/dashboard-card/dashboard-card.js +197 -197
- package/core/modules/dashboard/components/dashboard-card/menu-dashboard-card.js +430 -430
- package/core/modules/dashboard/components/dashboard-card/menu-dashboard-card.scss +59 -59
- package/core/modules/dashboard/components/pop-query-dashboard/pop-query-dashboard.js +66 -66
- package/core/modules/generic/components/generic-add/generic-add.js +121 -121
- package/core/modules/generic/components/generic-add/generic-add.scss +13 -13
- package/core/modules/generic/components/generic-add-modal/generic-add-modal.js +125 -125
- package/core/modules/generic/components/generic-add-modal/generic-add-modal.scss +13 -13
- package/core/modules/generic/components/generic-detail/generic-detail.js +184 -184
- package/core/modules/generic/components/generic-detail/generic-detail.scss +25 -25
- package/core/modules/generic/components/generic-edit/generic-edit.js +123 -123
- package/core/modules/generic/components/generic-list/generic-list.js +335 -335
- package/core/modules/generic/components/generic-list/generic-list.scss +35 -35
- package/core/modules/index.js +42 -42
- package/core/modules/module-routes/module-routes.js +37 -37
- package/core/modules/reporting/components/index.js +6 -6
- package/core/modules/reporting/components/reporting-dashboard/README.md +316 -316
- package/core/modules/reporting/components/reporting-dashboard/adavance-search/advance-search.js +271 -271
- package/core/modules/reporting/components/reporting-dashboard/adavance-search/advance-search.scss +76 -76
- package/core/modules/reporting/components/reporting-dashboard/display-columns/build-display-columns.js +90 -90
- package/core/modules/reporting/components/reporting-dashboard/display-columns/build-display-columns.test.js +74 -74
- package/core/modules/reporting/components/reporting-dashboard/display-columns/display-cell-renderer.js +449 -252
- package/core/modules/reporting/components/reporting-dashboard/display-columns/display-cell-renderer.test.js +199 -126
- package/core/modules/reporting/components/reporting-dashboard/reporting-dashboard.js +1116 -1096
- package/core/modules/reporting/components/reporting-dashboard/reporting-dashboard.scss +215 -214
- package/core/modules/reporting/components/reporting-dashboard/reporting-table.js +519 -0
- package/core/modules/steps/action-buttons.js +92 -92
- package/core/modules/steps/action-buttons.scss +62 -62
- package/core/modules/steps/chat-assistant.js +141 -141
- package/core/modules/steps/narration.js +192 -192
- package/core/modules/steps/openai-realtime.js +275 -275
- package/core/modules/steps/progress-storage.js +140 -140
- package/core/modules/steps/readme.md +167 -167
- package/core/modules/steps/steps.js +1567 -1567
- package/core/modules/steps/steps.scss +907 -907
- package/core/modules/steps/timeline.js +56 -56
- package/core/modules/steps/voice-navigation.js +709 -709
- package/core/pages/homepage-api/homepage-api.js +106 -106
- package/core/pages/homepage-api/homepage-api.scss +233 -233
- package/core/pages/homepage-api/menu-dashboard.js +169 -169
- package/core/pages/homepage-api/menu-dashboard.scss +11 -11
- package/core/translation.json +53 -53
- package/core/translations.json +19 -19
- package/core/utils/script.utils.js +129 -129
- package/core/utils/settings.utils.js +25 -25
- package/eslint.config.mjs +79 -79
- package/index.js +35 -35
- package/jest.config.js +7 -7
- package/jest.setup.js +1 -1
- package/package.json +124 -124
- package/tsconfig.json +26 -26
- 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
|
+
}
|