@miragon/pulse-widget-shell 0.24.1 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +134 -127
- package/dist/caller.d.ts +3 -0
- package/dist/caller.d.ts.map +1 -0
- package/dist/caller.js +18 -0
- package/dist/caller.js.map +1 -0
- package/dist/composed-server.d.ts +34 -66
- package/dist/composed-server.d.ts.map +1 -1
- package/dist/composed-server.js +130 -137
- package/dist/composed-server.js.map +1 -1
- package/dist/composition.d.ts +61 -111
- package/dist/composition.d.ts.map +1 -1
- package/dist/composition.js +120 -54
- package/dist/composition.js.map +1 -1
- package/dist/font-assets.d.ts +7 -28
- package/dist/font-assets.d.ts.map +1 -1
- package/dist/font-assets.js +11 -43
- package/dist/font-assets.js.map +1 -1
- package/dist/health.d.ts +9 -45
- package/dist/health.d.ts.map +1 -1
- package/dist/health.js +6 -24
- package/dist/health.js.map +1 -1
- package/dist/host-boot.d.ts +8 -38
- package/dist/host-boot.d.ts.map +1 -1
- package/dist/host-boot.js +10 -32
- package/dist/host-boot.js.map +1 -1
- package/dist/http-edge.d.ts +20 -76
- package/dist/http-edge.d.ts.map +1 -1
- package/dist/http-edge.js +17 -60
- package/dist/http-edge.js.map +1 -1
- package/dist/metrics.d.ts +6 -21
- package/dist/metrics.d.ts.map +1 -1
- package/dist/metrics.js +8 -36
- package/dist/metrics.js.map +1 -1
- package/dist/node-listener.d.ts +7 -39
- package/dist/node-listener.d.ts.map +1 -1
- package/dist/node-listener.js +6 -18
- package/dist/node-listener.js.map +1 -1
- package/dist/oauth-env.d.ts +15 -35
- package/dist/oauth-env.d.ts.map +1 -1
- package/dist/oauth-env.js +122 -62
- package/dist/oauth-env.js.map +1 -1
- package/dist/protocol/bpmn-names.d.ts +19 -0
- package/dist/protocol/bpmn-names.d.ts.map +1 -0
- package/dist/{bpmn-names.js → protocol/bpmn-names.js} +9 -38
- package/dist/protocol/bpmn-names.js.map +1 -0
- package/dist/protocol/served-fonts.d.ts +17 -0
- package/dist/protocol/served-fonts.d.ts.map +1 -0
- package/dist/protocol/served-fonts.js +30 -0
- package/dist/protocol/served-fonts.js.map +1 -0
- package/dist/protocol/tool-result.d.ts +24 -0
- package/dist/protocol/tool-result.d.ts.map +1 -0
- package/dist/protocol/tool-result.js +37 -0
- package/dist/protocol/tool-result.js.map +1 -0
- package/dist/protocol/translator.d.ts +14 -0
- package/dist/protocol/translator.d.ts.map +1 -0
- package/dist/protocol/translator.js +18 -0
- package/dist/protocol/translator.js.map +1 -0
- package/dist/protocol/view-name.d.ts +11 -0
- package/dist/protocol/view-name.d.ts.map +1 -0
- package/dist/protocol/view-name.js +23 -0
- package/dist/protocol/view-name.js.map +1 -0
- package/dist/request-context.d.ts +4 -33
- package/dist/request-context.d.ts.map +1 -1
- package/dist/request-context.js +11 -43
- package/dist/request-context.js.map +1 -1
- package/dist/server.d.ts +19 -39
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +28 -32
- package/dist/server.js.map +1 -1
- package/dist/testing/glossary.d.ts +4 -32
- package/dist/testing/glossary.d.ts.map +1 -1
- package/dist/testing/glossary.js +6 -30
- package/dist/testing/glossary.js.map +1 -1
- package/dist/testing/index.d.ts +1 -38
- package/dist/testing/index.d.ts.map +1 -1
- package/dist/testing/index.js +1 -38
- package/dist/testing/index.js.map +1 -1
- package/dist/tool-errors.d.ts +16 -0
- package/dist/tool-errors.d.ts.map +1 -0
- package/dist/tool-errors.js +23 -0
- package/dist/tool-errors.js.map +1 -0
- package/dist/tool-registrar.d.ts +29 -0
- package/dist/tool-registrar.d.ts.map +1 -0
- package/dist/tool-registrar.js +47 -0
- package/dist/tool-registrar.js.map +1 -0
- package/dist/tool-registration.d.ts +35 -0
- package/dist/tool-registration.d.ts.map +1 -0
- package/dist/tool-registration.js +80 -0
- package/dist/tool-registration.js.map +1 -0
- package/dist/tool-schema-trim.d.ts +1 -15
- package/dist/tool-schema-trim.d.ts.map +1 -1
- package/dist/tool-schema-trim.js +1 -16
- package/dist/tool-schema-trim.js.map +1 -1
- package/dist/toolsets.d.ts +10 -56
- package/dist/toolsets.d.ts.map +1 -1
- package/dist/toolsets.js +2 -10
- package/dist/toolsets.js.map +1 -1
- package/dist/ui/action-feedback.d.ts +4 -26
- package/dist/ui/action-feedback.d.ts.map +1 -1
- package/dist/ui/action-feedback.js +5 -19
- package/dist/ui/action-feedback.js.map +1 -1
- package/dist/ui/ask-ai-button.d.ts +6 -43
- package/dist/ui/ask-ai-button.d.ts.map +1 -1
- package/dist/ui/ask-ai-button.js +6 -18
- package/dist/ui/ask-ai-button.js.map +1 -1
- package/dist/ui/ask-ai-prompt.d.ts +6 -82
- package/dist/ui/ask-ai-prompt.d.ts.map +1 -1
- package/dist/ui/ask-ai-prompt.js +10 -77
- package/dist/ui/ask-ai-prompt.js.map +1 -1
- package/dist/ui/bpmn-tokens.d.ts +3 -48
- package/dist/ui/bpmn-tokens.d.ts.map +1 -1
- package/dist/ui/bpmn-tokens.js +3 -46
- package/dist/ui/bpmn-tokens.js.map +1 -1
- package/dist/ui/bpmn-zoom-controls.d.ts +4 -17
- package/dist/ui/bpmn-zoom-controls.d.ts.map +1 -1
- package/dist/ui/bpmn-zoom-controls.js +2 -16
- package/dist/ui/bpmn-zoom-controls.js.map +1 -1
- package/dist/ui/call-observer.d.ts +35 -0
- package/dist/ui/call-observer.d.ts.map +1 -0
- package/dist/ui/call-observer.js +86 -0
- package/dist/ui/call-observer.js.map +1 -0
- package/dist/ui/confirm-dialog.d.ts +4 -31
- package/dist/ui/confirm-dialog.d.ts.map +1 -1
- package/dist/ui/confirm-dialog.js +4 -27
- package/dist/ui/confirm-dialog.js.map +1 -1
- package/dist/ui/count-tone.d.ts +3 -17
- package/dist/ui/count-tone.d.ts.map +1 -1
- package/dist/ui/count-tone.js +2 -16
- package/dist/ui/count-tone.js.map +1 -1
- package/dist/ui/declare-served-fonts.d.ts +4 -10
- package/dist/ui/declare-served-fonts.d.ts.map +1 -1
- package/dist/ui/declare-served-fonts.js +6 -13
- package/dist/ui/declare-served-fonts.js.map +1 -1
- package/dist/ui/describe-error.d.ts +5 -47
- package/dist/ui/describe-error.d.ts.map +1 -1
- package/dist/ui/describe-error.js +8 -45
- package/dist/ui/describe-error.js.map +1 -1
- package/dist/ui/display-mode-toggle.d.ts +3 -16
- package/dist/ui/display-mode-toggle.d.ts.map +1 -1
- package/dist/ui/display-mode-toggle.js +6 -15
- package/dist/ui/display-mode-toggle.js.map +1 -1
- package/dist/ui/error-labels.d.ts +3 -19
- package/dist/ui/error-labels.d.ts.map +1 -1
- package/dist/ui/error-labels.js +0 -1
- package/dist/ui/error-labels.js.map +1 -1
- package/dist/ui/hand-off-button.d.ts +3 -18
- package/dist/ui/hand-off-button.d.ts.map +1 -1
- package/dist/ui/hand-off-button.js +3 -18
- package/dist/ui/hand-off-button.js.map +1 -1
- package/dist/ui/host-context.d.ts +13 -50
- package/dist/ui/host-context.d.ts.map +1 -1
- package/dist/ui/host-context.js +20 -51
- package/dist/ui/host-context.js.map +1 -1
- package/dist/ui/host-contexts.d.ts +19 -0
- package/dist/ui/host-contexts.d.ts.map +1 -0
- package/dist/ui/host-contexts.js +31 -0
- package/dist/ui/host-contexts.js.map +1 -0
- package/dist/ui/host-document.d.ts +3 -18
- package/dist/ui/host-document.d.ts.map +1 -1
- package/dist/ui/host-document.js +7 -25
- package/dist/ui/host-document.js.map +1 -1
- package/dist/ui/host-widgets.d.ts +21 -4
- package/dist/ui/host-widgets.d.ts.map +1 -1
- package/dist/ui/host-widgets.js +19 -11
- package/dist/ui/host-widgets.js.map +1 -1
- package/dist/ui/id-text.d.ts +1 -17
- package/dist/ui/id-text.d.ts.map +1 -1
- package/dist/ui/id-text.js +5 -26
- package/dist/ui/id-text.js.map +1 -1
- package/dist/ui/index.d.ts +24 -43
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +36 -51
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/inline-budget.d.ts +2 -16
- package/dist/ui/inline-budget.d.ts.map +1 -1
- package/dist/ui/inline-budget.js +1 -8
- package/dist/ui/inline-budget.js.map +1 -1
- package/dist/ui/inline-fit-registry.d.ts +4 -31
- package/dist/ui/inline-fit-registry.d.ts.map +1 -1
- package/dist/ui/inline-fit-registry.js +9 -27
- package/dist/ui/inline-fit-registry.js.map +1 -1
- package/dist/ui/inline-fit-solve.d.ts +5 -27
- package/dist/ui/inline-fit-solve.d.ts.map +1 -1
- package/dist/ui/inline-fit-solve.js +4 -23
- package/dist/ui/inline-fit-solve.js.map +1 -1
- package/dist/ui/inline-fit.d.ts +4 -53
- package/dist/ui/inline-fit.d.ts.map +1 -1
- package/dist/ui/inline-fit.js +16 -62
- package/dist/ui/inline-fit.js.map +1 -1
- package/dist/ui/kit-labels.d.ts +12 -51
- package/dist/ui/kit-labels.d.ts.map +1 -1
- package/dist/ui/kit-labels.js +18 -28
- package/dist/ui/kit-labels.js.map +1 -1
- package/dist/ui/list-table.d.ts +15 -69
- package/dist/ui/list-table.d.ts.map +1 -1
- package/dist/ui/list-table.js +11 -69
- package/dist/ui/list-table.js.map +1 -1
- package/dist/ui/locale-gate.d.ts +11 -0
- package/dist/ui/locale-gate.d.ts.map +1 -0
- package/dist/ui/locale-gate.js +53 -0
- package/dist/ui/locale-gate.js.map +1 -0
- package/dist/ui/mcp-use-host.d.ts +20 -0
- package/dist/ui/mcp-use-host.d.ts.map +1 -0
- package/dist/ui/mcp-use-host.js +162 -0
- package/dist/ui/mcp-use-host.js.map +1 -0
- package/dist/ui/open-in-cockpit-link.d.ts +2 -21
- package/dist/ui/open-in-cockpit-link.d.ts.map +1 -1
- package/dist/ui/open-in-cockpit-link.js +5 -20
- package/dist/ui/open-in-cockpit-link.js.map +1 -1
- package/dist/ui/paged-rows.d.ts +3 -14
- package/dist/ui/paged-rows.d.ts.map +1 -1
- package/dist/ui/paged-rows.js +4 -14
- package/dist/ui/paged-rows.js.map +1 -1
- package/dist/ui/query-fallback.d.ts +2 -16
- package/dist/ui/query-fallback.d.ts.map +1 -1
- package/dist/ui/query-fallback.js +2 -14
- package/dist/ui/query-fallback.js.map +1 -1
- package/dist/ui/shell-host.d.ts +13 -23
- package/dist/ui/shell-host.d.ts.map +1 -1
- package/dist/ui/shell-host.js +1 -46
- package/dist/ui/shell-host.js.map +1 -1
- package/dist/ui/test-view-host.d.ts +51 -0
- package/dist/ui/test-view-host.d.ts.map +1 -0
- package/dist/ui/test-view-host.js +72 -0
- package/dist/ui/test-view-host.js.map +1 -0
- package/dist/ui/tool-query.d.ts +41 -0
- package/dist/ui/tool-query.d.ts.map +1 -0
- package/dist/ui/tool-query.js +128 -0
- package/dist/ui/tool-query.js.map +1 -0
- package/dist/ui/use-apply-theme.d.ts +1 -8
- package/dist/ui/use-apply-theme.d.ts.map +1 -1
- package/dist/ui/use-apply-theme.js +1 -8
- package/dist/ui/use-apply-theme.js.map +1 -1
- package/dist/ui/use-bpmn-viewer.d.ts +39 -73
- package/dist/ui/use-bpmn-viewer.d.ts.map +1 -1
- package/dist/ui/use-bpmn-viewer.js +18 -66
- package/dist/ui/use-bpmn-viewer.js.map +1 -1
- package/dist/ui/use-detail-view.d.ts +4 -26
- package/dist/ui/use-detail-view.d.ts.map +1 -1
- package/dist/ui/use-detail-view.js +7 -28
- package/dist/ui/use-detail-view.js.map +1 -1
- package/dist/ui/use-paged-list-view.d.ts +5 -25
- package/dist/ui/use-paged-list-view.d.ts.map +1 -1
- package/dist/ui/use-paged-list-view.js +5 -14
- package/dist/ui/use-paged-list-view.js.map +1 -1
- package/dist/ui/use-paged-view-data.d.ts +11 -66
- package/dist/ui/use-paged-view-data.d.ts.map +1 -1
- package/dist/ui/use-paged-view-data.js +20 -53
- package/dist/ui/use-paged-view-data.js.map +1 -1
- package/dist/ui/view-call.d.ts +66 -0
- package/dist/ui/view-call.d.ts.map +1 -0
- package/dist/ui/view-call.js +63 -0
- package/dist/ui/view-call.js.map +1 -0
- package/dist/ui/view-data-state.d.ts +1 -31
- package/dist/ui/view-data-state.d.ts.map +1 -1
- package/dist/ui/view-data-state.js +3 -32
- package/dist/ui/view-data-state.js.map +1 -1
- package/dist/ui/view-error-boundary.d.ts +24 -0
- package/dist/ui/view-error-boundary.d.ts.map +1 -0
- package/dist/ui/view-error-boundary.js +33 -0
- package/dist/ui/view-error-boundary.js.map +1 -0
- package/dist/ui/view-frame.d.ts +15 -0
- package/dist/ui/view-frame.d.ts.map +1 -0
- package/dist/ui/view-frame.js +72 -0
- package/dist/ui/view-frame.js.map +1 -0
- package/dist/ui/view-host.d.ts +35 -0
- package/dist/ui/view-host.d.ts.map +1 -0
- package/dist/ui/view-host.js +18 -0
- package/dist/ui/view-host.js.map +1 -0
- package/dist/ui/view-meta.d.ts +6 -29
- package/dist/ui/view-meta.d.ts.map +1 -1
- package/dist/ui/view-meta.js +2 -13
- package/dist/ui/view-meta.js.map +1 -1
- package/dist/ui/view-refresh-state.d.ts +4 -18
- package/dist/ui/view-refresh-state.d.ts.map +1 -1
- package/dist/ui/view-refresh-state.js +1 -7
- package/dist/ui/view-refresh-state.js.map +1 -1
- package/dist/ui/view-root.d.ts +26 -0
- package/dist/ui/view-root.d.ts.map +1 -0
- package/dist/ui/view-root.js +48 -0
- package/dist/ui/view-root.js.map +1 -0
- package/dist/ui/views.d.ts +17 -0
- package/dist/ui/views.d.ts.map +1 -0
- package/dist/ui/views.js +11 -0
- package/dist/ui/views.js.map +1 -0
- package/dist/ui/widget-shell.d.ts +1 -13
- package/dist/ui/widget-shell.d.ts.map +1 -1
- package/dist/ui/widget-shell.js +5 -30
- package/dist/ui/widget-shell.js.map +1 -1
- package/dist/view-bundle.d.ts +15 -0
- package/dist/view-bundle.d.ts.map +1 -0
- package/dist/view-bundle.js +23 -0
- package/dist/view-bundle.js.map +1 -0
- package/dist/view-results.d.ts +12 -23
- package/dist/view-results.d.ts.map +1 -1
- package/dist/view-results.js +14 -11
- package/dist/view-results.js.map +1 -1
- package/dist/widget-tool-bindings.d.ts +19 -48
- package/dist/widget-tool-bindings.d.ts.map +1 -1
- package/dist/widget-tool-bindings.js +21 -49
- package/dist/widget-tool-bindings.js.map +1 -1
- package/package.json +24 -36
- package/dist/adapt-data-widget.d.ts +0 -7
- package/dist/adapt-data-widget.d.ts.map +0 -1
- package/dist/adapt-data-widget.js +0 -7
- package/dist/adapt-data-widget.js.map +0 -1
- package/dist/bpmn-names.d.ts +0 -42
- package/dist/bpmn-names.d.ts.map +0 -1
- package/dist/bpmn-names.js.map +0 -1
- package/dist/bpmn-names.test.d.ts +0 -2
- package/dist/bpmn-names.test.d.ts.map +0 -1
- package/dist/bpmn-names.test.js +0 -143
- package/dist/bpmn-names.test.js.map +0 -1
- package/dist/build-data-feed-result.test.d.ts +0 -2
- package/dist/build-data-feed-result.test.d.ts.map +0 -1
- package/dist/build-data-feed-result.test.js +0 -28
- package/dist/build-data-feed-result.test.js.map +0 -1
- package/dist/build-single-widget-view.test.d.ts +0 -2
- package/dist/build-single-widget-view.test.d.ts.map +0 -1
- package/dist/build-single-widget-view.test.js +0 -136
- package/dist/build-single-widget-view.test.js.map +0 -1
- package/dist/builder-texts.d.ts +0 -27
- package/dist/builder-texts.d.ts.map +0 -1
- package/dist/builder-texts.js +0 -32
- package/dist/builder-texts.js.map +0 -1
- package/dist/builder-texts.test.d.ts +0 -2
- package/dist/builder-texts.test.d.ts.map +0 -1
- package/dist/builder-texts.test.js +0 -54
- package/dist/builder-texts.test.js.map +0 -1
- package/dist/catalogue-sync.d.ts +0 -18
- package/dist/catalogue-sync.d.ts.map +0 -1
- package/dist/catalogue-sync.js +0 -31
- package/dist/catalogue-sync.js.map +0 -1
- package/dist/catalogue-sync.test.d.ts +0 -2
- package/dist/catalogue-sync.test.d.ts.map +0 -1
- package/dist/catalogue-sync.test.js +0 -22
- package/dist/catalogue-sync.test.js.map +0 -1
- package/dist/composed-server.edge.test.d.ts +0 -2
- package/dist/composed-server.edge.test.d.ts.map +0 -1
- package/dist/composed-server.edge.test.js +0 -184
- package/dist/composed-server.edge.test.js.map +0 -1
- package/dist/composed-server.fonts.test.d.ts +0 -2
- package/dist/composed-server.fonts.test.d.ts.map +0 -1
- package/dist/composed-server.fonts.test.js +0 -186
- package/dist/composed-server.fonts.test.js.map +0 -1
- package/dist/composed-server.test.d.ts +0 -2
- package/dist/composed-server.test.d.ts.map +0 -1
- package/dist/composed-server.test.js +0 -332
- package/dist/composed-server.test.js.map +0 -1
- package/dist/composition.test.d.ts +0 -2
- package/dist/composition.test.d.ts.map +0 -1
- package/dist/composition.test.js +0 -275
- package/dist/composition.test.js.map +0 -1
- package/dist/dashboard-store-postgres.d.ts +0 -43
- package/dist/dashboard-store-postgres.d.ts.map +0 -1
- package/dist/dashboard-store-postgres.js +0 -225
- package/dist/dashboard-store-postgres.js.map +0 -1
- package/dist/dashboard-store-postgres.test.d.ts +0 -2
- package/dist/dashboard-store-postgres.test.d.ts.map +0 -1
- package/dist/dashboard-store-postgres.test.js +0 -272
- package/dist/dashboard-store-postgres.test.js.map +0 -1
- package/dist/font-assets.test.d.ts +0 -2
- package/dist/font-assets.test.d.ts.map +0 -1
- package/dist/font-assets.test.js +0 -123
- package/dist/font-assets.test.js.map +0 -1
- package/dist/health.test.d.ts +0 -2
- package/dist/health.test.d.ts.map +0 -1
- package/dist/health.test.js +0 -140
- package/dist/health.test.js.map +0 -1
- package/dist/host-boot.test.d.ts +0 -2
- package/dist/host-boot.test.d.ts.map +0 -1
- package/dist/host-boot.test.js +0 -59
- package/dist/host-boot.test.js.map +0 -1
- package/dist/http-edge.test.d.ts +0 -2
- package/dist/http-edge.test.d.ts.map +0 -1
- package/dist/http-edge.test.js +0 -255
- package/dist/http-edge.test.js.map +0 -1
- package/dist/metrics.test.d.ts +0 -2
- package/dist/metrics.test.d.ts.map +0 -1
- package/dist/metrics.test.js +0 -154
- package/dist/metrics.test.js.map +0 -1
- package/dist/node-listener.test.d.ts +0 -2
- package/dist/node-listener.test.d.ts.map +0 -1
- package/dist/node-listener.test.js +0 -331
- package/dist/node-listener.test.js.map +0 -1
- package/dist/oauth-env.test.d.ts +0 -2
- package/dist/oauth-env.test.d.ts.map +0 -1
- package/dist/oauth-env.test.js +0 -76
- package/dist/oauth-env.test.js.map +0 -1
- package/dist/postgres.d.ts +0 -59
- package/dist/postgres.d.ts.map +0 -1
- package/dist/postgres.js +0 -80
- package/dist/postgres.js.map +0 -1
- package/dist/profile-advisory.d.ts +0 -19
- package/dist/profile-advisory.d.ts.map +0 -1
- package/dist/profile-advisory.js +0 -48
- package/dist/profile-advisory.js.map +0 -1
- package/dist/profile-advisory.test.d.ts +0 -2
- package/dist/profile-advisory.test.d.ts.map +0 -1
- package/dist/profile-advisory.test.js +0 -53
- package/dist/profile-advisory.test.js.map +0 -1
- package/dist/profile-constants.d.ts +0 -37
- package/dist/profile-constants.d.ts.map +0 -1
- package/dist/profile-constants.js +0 -37
- package/dist/profile-constants.js.map +0 -1
- package/dist/profile-migrations.d.ts +0 -71
- package/dist/profile-migrations.d.ts.map +0 -1
- package/dist/profile-migrations.js +0 -88
- package/dist/profile-migrations.js.map +0 -1
- package/dist/profile-migrations.test.d.ts +0 -2
- package/dist/profile-migrations.test.d.ts.map +0 -1
- package/dist/profile-migrations.test.js +0 -200
- package/dist/profile-migrations.test.js.map +0 -1
- package/dist/profile-record.d.ts +0 -60
- package/dist/profile-record.d.ts.map +0 -1
- package/dist/profile-record.js +0 -78
- package/dist/profile-record.js.map +0 -1
- package/dist/profile-slice.d.ts +0 -53
- package/dist/profile-slice.d.ts.map +0 -1
- package/dist/profile-slice.js +0 -73
- package/dist/profile-slice.js.map +0 -1
- package/dist/profile-slice.test.d.ts +0 -2
- package/dist/profile-slice.test.d.ts.map +0 -1
- package/dist/profile-slice.test.js +0 -73
- package/dist/profile-slice.test.js.map +0 -1
- package/dist/profile-store-env.d.ts +0 -34
- package/dist/profile-store-env.d.ts.map +0 -1
- package/dist/profile-store-env.js +0 -44
- package/dist/profile-store-env.js.map +0 -1
- package/dist/profile-store-env.test.d.ts +0 -2
- package/dist/profile-store-env.test.d.ts.map +0 -1
- package/dist/profile-store-env.test.js +0 -69
- package/dist/profile-store-env.test.js.map +0 -1
- package/dist/profile-store-postgres.d.ts +0 -33
- package/dist/profile-store-postgres.d.ts.map +0 -1
- package/dist/profile-store-postgres.js +0 -87
- package/dist/profile-store-postgres.js.map +0 -1
- package/dist/profile-store-raw.test.d.ts +0 -2
- package/dist/profile-store-raw.test.d.ts.map +0 -1
- package/dist/profile-store-raw.test.js +0 -185
- package/dist/profile-store-raw.test.js.map +0 -1
- package/dist/profile-store.d.ts +0 -85
- package/dist/profile-store.d.ts.map +0 -1
- package/dist/profile-store.js +0 -182
- package/dist/profile-store.js.map +0 -1
- package/dist/profile-store.test.d.ts +0 -2
- package/dist/profile-store.test.d.ts.map +0 -1
- package/dist/profile-store.test.js +0 -353
- package/dist/profile-store.test.js.map +0 -1
- package/dist/profile.d.ts +0 -75
- package/dist/profile.d.ts.map +0 -1
- package/dist/profile.js +0 -85
- package/dist/profile.js.map +0 -1
- package/dist/profile.test.d.ts +0 -2
- package/dist/profile.test.d.ts.map +0 -1
- package/dist/profile.test.js +0 -71
- package/dist/profile.test.js.map +0 -1
- package/dist/request-context.test.d.ts +0 -2
- package/dist/request-context.test.d.ts.map +0 -1
- package/dist/request-context.test.js +0 -107
- package/dist/request-context.test.js.map +0 -1
- package/dist/served-fonts.d.ts +0 -38
- package/dist/served-fonts.d.ts.map +0 -1
- package/dist/served-fonts.js +0 -51
- package/dist/served-fonts.js.map +0 -1
- package/dist/served-fonts.test.d.ts +0 -2
- package/dist/served-fonts.test.d.ts.map +0 -1
- package/dist/served-fonts.test.js +0 -30
- package/dist/served-fonts.test.js.map +0 -1
- package/dist/server-locale.d.ts +0 -58
- package/dist/server-locale.d.ts.map +0 -1
- package/dist/server-locale.js +0 -64
- package/dist/server-locale.js.map +0 -1
- package/dist/server-locale.test.d.ts +0 -2
- package/dist/server-locale.test.d.ts.map +0 -1
- package/dist/server-locale.test.js +0 -90
- package/dist/server-locale.test.js.map +0 -1
- package/dist/shell-catalogue.d.ts +0 -12
- package/dist/shell-catalogue.d.ts.map +0 -1
- package/dist/shell-catalogue.js +0 -142
- package/dist/shell-catalogue.js.map +0 -1
- package/dist/shell-settings-contract.d.ts +0 -34
- package/dist/shell-settings-contract.d.ts.map +0 -1
- package/dist/shell-settings-contract.js +0 -21
- package/dist/shell-settings-contract.js.map +0 -1
- package/dist/shell-settings.d.ts +0 -24
- package/dist/shell-settings.d.ts.map +0 -1
- package/dist/shell-settings.js +0 -148
- package/dist/shell-settings.js.map +0 -1
- package/dist/shell-settings.test.d.ts +0 -2
- package/dist/shell-settings.test.d.ts.map +0 -1
- package/dist/shell-settings.test.js +0 -115
- package/dist/shell-settings.test.js.map +0 -1
- package/dist/testing/catalog-text.d.ts +0 -53
- package/dist/testing/catalog-text.d.ts.map +0 -1
- package/dist/testing/catalog-text.js +0 -146
- package/dist/testing/catalog-text.js.map +0 -1
- package/dist/testing/catalog-text.test.d.ts +0 -2
- package/dist/testing/catalog-text.test.d.ts.map +0 -1
- package/dist/testing/catalog-text.test.js +0 -137
- package/dist/testing/catalog-text.test.js.map +0 -1
- package/dist/testing/colors.d.ts +0 -34
- package/dist/testing/colors.d.ts.map +0 -1
- package/dist/testing/colors.js +0 -124
- package/dist/testing/colors.js.map +0 -1
- package/dist/testing/colors.test.d.ts +0 -2
- package/dist/testing/colors.test.d.ts.map +0 -1
- package/dist/testing/colors.test.js +0 -166
- package/dist/testing/colors.test.js.map +0 -1
- package/dist/testing/contrast.d.ts +0 -77
- package/dist/testing/contrast.d.ts.map +0 -1
- package/dist/testing/contrast.js +0 -382
- package/dist/testing/contrast.js.map +0 -1
- package/dist/testing/contrast.test.d.ts +0 -2
- package/dist/testing/contrast.test.d.ts.map +0 -1
- package/dist/testing/contrast.test.js +0 -230
- package/dist/testing/contrast.test.js.map +0 -1
- package/dist/testing/display-texts.d.ts +0 -23
- package/dist/testing/display-texts.d.ts.map +0 -1
- package/dist/testing/display-texts.js +0 -88
- package/dist/testing/display-texts.js.map +0 -1
- package/dist/testing/display-texts.test.d.ts +0 -2
- package/dist/testing/display-texts.test.d.ts.map +0 -1
- package/dist/testing/display-texts.test.js +0 -169
- package/dist/testing/display-texts.test.js.map +0 -1
- package/dist/testing/glossary.test.d.ts +0 -2
- package/dist/testing/glossary.test.d.ts.map +0 -1
- package/dist/testing/glossary.test.js +0 -78
- package/dist/testing/glossary.test.js.map +0 -1
- package/dist/testing/glyphs.d.ts +0 -27
- package/dist/testing/glyphs.d.ts.map +0 -1
- package/dist/testing/glyphs.js +0 -130
- package/dist/testing/glyphs.js.map +0 -1
- package/dist/testing/glyphs.test.d.ts +0 -2
- package/dist/testing/glyphs.test.d.ts.map +0 -1
- package/dist/testing/glyphs.test.js +0 -146
- package/dist/testing/glyphs.test.js.map +0 -1
- package/dist/testing/icon-sizes.d.ts +0 -22
- package/dist/testing/icon-sizes.d.ts.map +0 -1
- package/dist/testing/icon-sizes.js +0 -39
- package/dist/testing/icon-sizes.js.map +0 -1
- package/dist/testing/icon-sizes.test.d.ts +0 -2
- package/dist/testing/icon-sizes.test.d.ts.map +0 -1
- package/dist/testing/icon-sizes.test.js +0 -36
- package/dist/testing/icon-sizes.test.js.map +0 -1
- package/dist/testing/source-scan.d.ts +0 -16
- package/dist/testing/source-scan.d.ts.map +0 -1
- package/dist/testing/source-scan.js +0 -57
- package/dist/testing/source-scan.js.map +0 -1
- package/dist/testing/tone-pairs.d.ts +0 -20
- package/dist/testing/tone-pairs.d.ts.map +0 -1
- package/dist/testing/tone-pairs.js +0 -154
- package/dist/testing/tone-pairs.js.map +0 -1
- package/dist/testing/type-scale.d.ts +0 -40
- package/dist/testing/type-scale.d.ts.map +0 -1
- package/dist/testing/type-scale.js +0 -55
- package/dist/testing/type-scale.js.map +0 -1
- package/dist/testing/type-scale.test.d.ts +0 -2
- package/dist/testing/type-scale.test.d.ts.map +0 -1
- package/dist/testing/type-scale.test.js +0 -61
- package/dist/testing/type-scale.test.js.map +0 -1
- package/dist/tool-schema-trim.test.d.ts +0 -2
- package/dist/tool-schema-trim.test.d.ts.map +0 -1
- package/dist/tool-schema-trim.test.js +0 -53
- package/dist/tool-schema-trim.test.js.map +0 -1
- package/dist/toolsets.test.d.ts +0 -2
- package/dist/toolsets.test.d.ts.map +0 -1
- package/dist/toolsets.test.js +0 -86
- package/dist/toolsets.test.js.map +0 -1
- package/dist/ui/action-feedback.test.d.ts +0 -2
- package/dist/ui/action-feedback.test.d.ts.map +0 -1
- package/dist/ui/action-feedback.test.js +0 -77
- package/dist/ui/action-feedback.test.js.map +0 -1
- package/dist/ui/app-shell-providers.d.ts +0 -18
- package/dist/ui/app-shell-providers.d.ts.map +0 -1
- package/dist/ui/app-shell-providers.js +0 -19
- package/dist/ui/app-shell-providers.js.map +0 -1
- package/dist/ui/app-shell-providers.test.d.ts +0 -2
- package/dist/ui/app-shell-providers.test.d.ts.map +0 -1
- package/dist/ui/app-shell-providers.test.js +0 -249
- package/dist/ui/app-shell-providers.test.js.map +0 -1
- package/dist/ui/ask-ai-button.test.d.ts +0 -2
- package/dist/ui/ask-ai-button.test.d.ts.map +0 -1
- package/dist/ui/ask-ai-button.test.js +0 -103
- package/dist/ui/ask-ai-button.test.js.map +0 -1
- package/dist/ui/ask-ai-prompt.test.d.ts +0 -2
- package/dist/ui/ask-ai-prompt.test.d.ts.map +0 -1
- package/dist/ui/ask-ai-prompt.test.js +0 -240
- package/dist/ui/ask-ai-prompt.test.js.map +0 -1
- package/dist/ui/bpmn-heatmap/heat-ramp.test.d.ts +0 -2
- package/dist/ui/bpmn-heatmap/heat-ramp.test.d.ts.map +0 -1
- package/dist/ui/bpmn-heatmap/heat-ramp.test.js +0 -174
- package/dist/ui/bpmn-heatmap/heat-ramp.test.js.map +0 -1
- package/dist/ui/bpmn-heatmap/heat-utils.d.ts +0 -119
- package/dist/ui/bpmn-heatmap/heat-utils.d.ts.map +0 -1
- package/dist/ui/bpmn-heatmap/heat-utils.js +0 -231
- package/dist/ui/bpmn-heatmap/heat-utils.js.map +0 -1
- package/dist/ui/bpmn-heatmap/heat-utils.test.d.ts +0 -2
- package/dist/ui/bpmn-heatmap/heat-utils.test.d.ts.map +0 -1
- package/dist/ui/bpmn-heatmap/heat-utils.test.js +0 -59
- package/dist/ui/bpmn-heatmap/heat-utils.test.js.map +0 -1
- package/dist/ui/bpmn-heatmap-labels.d.ts +0 -46
- package/dist/ui/bpmn-heatmap-labels.d.ts.map +0 -1
- package/dist/ui/bpmn-heatmap-labels.js +0 -16
- package/dist/ui/bpmn-heatmap-labels.js.map +0 -1
- package/dist/ui/bpmn-heatmap-widget.d.ts +0 -38
- package/dist/ui/bpmn-heatmap-widget.d.ts.map +0 -1
- package/dist/ui/bpmn-heatmap-widget.js +0 -65
- package/dist/ui/bpmn-heatmap-widget.js.map +0 -1
- package/dist/ui/bpmn-heatmap-widget.test.d.ts +0 -2
- package/dist/ui/bpmn-heatmap-widget.test.d.ts.map +0 -1
- package/dist/ui/bpmn-heatmap-widget.test.js +0 -173
- package/dist/ui/bpmn-heatmap-widget.test.js.map +0 -1
- package/dist/ui/bpmn-heatmap.d.ts +0 -61
- package/dist/ui/bpmn-heatmap.d.ts.map +0 -1
- package/dist/ui/bpmn-heatmap.js +0 -119
- package/dist/ui/bpmn-heatmap.js.map +0 -1
- package/dist/ui/bpmn-tokens.test.d.ts +0 -2
- package/dist/ui/bpmn-tokens.test.d.ts.map +0 -1
- package/dist/ui/bpmn-tokens.test.js +0 -98
- package/dist/ui/bpmn-tokens.test.js.map +0 -1
- package/dist/ui/brand-gates.test.d.ts +0 -2
- package/dist/ui/brand-gates.test.d.ts.map +0 -1
- package/dist/ui/brand-gates.test.js +0 -131
- package/dist/ui/brand-gates.test.js.map +0 -1
- package/dist/ui/brand-mark.d.ts +0 -37
- package/dist/ui/brand-mark.d.ts.map +0 -1
- package/dist/ui/brand-mark.js +0 -33
- package/dist/ui/brand-mark.js.map +0 -1
- package/dist/ui/brand-mark.test.d.ts +0 -2
- package/dist/ui/brand-mark.test.d.ts.map +0 -1
- package/dist/ui/brand-mark.test.js +0 -111
- package/dist/ui/brand-mark.test.js.map +0 -1
- package/dist/ui/confirm-dialog.test.d.ts +0 -2
- package/dist/ui/confirm-dialog.test.d.ts.map +0 -1
- package/dist/ui/confirm-dialog.test.js +0 -115
- package/dist/ui/confirm-dialog.test.js.map +0 -1
- package/dist/ui/count-tone.test.d.ts +0 -2
- package/dist/ui/count-tone.test.d.ts.map +0 -1
- package/dist/ui/count-tone.test.js +0 -27
- package/dist/ui/count-tone.test.js.map +0 -1
- package/dist/ui/create-use-t.d.ts +0 -15
- package/dist/ui/create-use-t.d.ts.map +0 -1
- package/dist/ui/create-use-t.js +0 -17
- package/dist/ui/create-use-t.js.map +0 -1
- package/dist/ui/declare-served-fonts.test.d.ts +0 -2
- package/dist/ui/declare-served-fonts.test.d.ts.map +0 -1
- package/dist/ui/declare-served-fonts.test.js +0 -44
- package/dist/ui/declare-served-fonts.test.js.map +0 -1
- package/dist/ui/describe-error.test.d.ts +0 -2
- package/dist/ui/describe-error.test.d.ts.map +0 -1
- package/dist/ui/describe-error.test.js +0 -274
- package/dist/ui/describe-error.test.js.map +0 -1
- package/dist/ui/format.d.ts +0 -81
- package/dist/ui/format.d.ts.map +0 -1
- package/dist/ui/format.js +0 -189
- package/dist/ui/format.js.map +0 -1
- package/dist/ui/format.test.d.ts +0 -2
- package/dist/ui/format.test.d.ts.map +0 -1
- package/dist/ui/format.test.js +0 -181
- package/dist/ui/format.test.js.map +0 -1
- package/dist/ui/generic-widgets.d.ts +0 -15
- package/dist/ui/generic-widgets.d.ts.map +0 -1
- package/dist/ui/generic-widgets.js +0 -122
- package/dist/ui/generic-widgets.js.map +0 -1
- package/dist/ui/generic-widgets.test.d.ts +0 -2
- package/dist/ui/generic-widgets.test.d.ts.map +0 -1
- package/dist/ui/generic-widgets.test.js +0 -139
- package/dist/ui/generic-widgets.test.js.map +0 -1
- package/dist/ui/hand-off-button.test.d.ts +0 -2
- package/dist/ui/hand-off-button.test.d.ts.map +0 -1
- package/dist/ui/hand-off-button.test.js +0 -78
- package/dist/ui/hand-off-button.test.js.map +0 -1
- package/dist/ui/host-context.test.d.ts +0 -2
- package/dist/ui/host-context.test.d.ts.map +0 -1
- package/dist/ui/host-context.test.js +0 -160
- package/dist/ui/host-context.test.js.map +0 -1
- package/dist/ui/host-document.test.d.ts +0 -2
- package/dist/ui/host-document.test.d.ts.map +0 -1
- package/dist/ui/host-document.test.js +0 -112
- package/dist/ui/host-document.test.js.map +0 -1
- package/dist/ui/humanize-key.d.ts +0 -11
- package/dist/ui/humanize-key.d.ts.map +0 -1
- package/dist/ui/humanize-key.js +0 -26
- package/dist/ui/humanize-key.js.map +0 -1
- package/dist/ui/humanize-key.test.d.ts +0 -2
- package/dist/ui/humanize-key.test.d.ts.map +0 -1
- package/dist/ui/humanize-key.test.js +0 -42
- package/dist/ui/humanize-key.test.js.map +0 -1
- package/dist/ui/icon.d.ts +0 -37
- package/dist/ui/icon.d.ts.map +0 -1
- package/dist/ui/icon.js +0 -32
- package/dist/ui/icon.js.map +0 -1
- package/dist/ui/id-breaks.d.ts +0 -17
- package/dist/ui/id-breaks.d.ts.map +0 -1
- package/dist/ui/id-breaks.js +0 -36
- package/dist/ui/id-breaks.js.map +0 -1
- package/dist/ui/id-breaks.test.d.ts +0 -2
- package/dist/ui/id-breaks.test.d.ts.map +0 -1
- package/dist/ui/id-breaks.test.js +0 -37
- package/dist/ui/id-breaks.test.js.map +0 -1
- package/dist/ui/id-text.test.d.ts +0 -2
- package/dist/ui/id-text.test.d.ts.map +0 -1
- package/dist/ui/id-text.test.js +0 -122
- package/dist/ui/id-text.test.js.map +0 -1
- package/dist/ui/index.test.d.ts +0 -2
- package/dist/ui/index.test.d.ts.map +0 -1
- package/dist/ui/index.test.js +0 -34
- package/dist/ui/index.test.js.map +0 -1
- package/dist/ui/inline-fit-solve.test.d.ts +0 -2
- package/dist/ui/inline-fit-solve.test.d.ts.map +0 -1
- package/dist/ui/inline-fit-solve.test.js +0 -108
- package/dist/ui/inline-fit-solve.test.js.map +0 -1
- package/dist/ui/inline-fit-time.test.d.ts +0 -2
- package/dist/ui/inline-fit-time.test.d.ts.map +0 -1
- package/dist/ui/inline-fit-time.test.js +0 -110
- package/dist/ui/inline-fit-time.test.js.map +0 -1
- package/dist/ui/inline-fit.test-support.d.ts +0 -26
- package/dist/ui/inline-fit.test-support.d.ts.map +0 -1
- package/dist/ui/inline-fit.test-support.js +0 -34
- package/dist/ui/inline-fit.test-support.js.map +0 -1
- package/dist/ui/inline-fit.test.d.ts +0 -2
- package/dist/ui/inline-fit.test.d.ts.map +0 -1
- package/dist/ui/inline-fit.test.js +0 -159
- package/dist/ui/inline-fit.test.js.map +0 -1
- package/dist/ui/kit-labels.test.d.ts +0 -2
- package/dist/ui/kit-labels.test.d.ts.map +0 -1
- package/dist/ui/kit-labels.test.js +0 -98
- package/dist/ui/kit-labels.test.js.map +0 -1
- package/dist/ui/kit-type-roles.test.d.ts +0 -2
- package/dist/ui/kit-type-roles.test.d.ts.map +0 -1
- package/dist/ui/kit-type-roles.test.js +0 -122
- package/dist/ui/kit-type-roles.test.js.map +0 -1
- package/dist/ui/komet-svg.d.ts +0 -15
- package/dist/ui/komet-svg.d.ts.map +0 -1
- package/dist/ui/komet-svg.js +0 -21
- package/dist/ui/komet-svg.js.map +0 -1
- package/dist/ui/list-table.test.d.ts +0 -2
- package/dist/ui/list-table.test.d.ts.map +0 -1
- package/dist/ui/list-table.test.js +0 -169
- package/dist/ui/list-table.test.js.map +0 -1
- package/dist/ui/localized-app-view.d.ts +0 -40
- package/dist/ui/localized-app-view.d.ts.map +0 -1
- package/dist/ui/localized-app-view.js +0 -71
- package/dist/ui/localized-app-view.js.map +0 -1
- package/dist/ui/log-text.d.ts +0 -24
- package/dist/ui/log-text.d.ts.map +0 -1
- package/dist/ui/log-text.js +0 -31
- package/dist/ui/log-text.js.map +0 -1
- package/dist/ui/menu-item.d.ts +0 -12
- package/dist/ui/menu-item.d.ts.map +0 -1
- package/dist/ui/menu-item.js +0 -13
- package/dist/ui/menu-item.js.map +0 -1
- package/dist/ui/named-id.d.ts +0 -23
- package/dist/ui/named-id.d.ts.map +0 -1
- package/dist/ui/named-id.js +0 -21
- package/dist/ui/named-id.js.map +0 -1
- package/dist/ui/named-id.test.d.ts +0 -2
- package/dist/ui/named-id.test.d.ts.map +0 -1
- package/dist/ui/named-id.test.js +0 -57
- package/dist/ui/named-id.test.js.map +0 -1
- package/dist/ui/native-select.d.ts +0 -17
- package/dist/ui/native-select.d.ts.map +0 -1
- package/dist/ui/native-select.js +0 -20
- package/dist/ui/native-select.js.map +0 -1
- package/dist/ui/navigation-focus.d.ts +0 -20
- package/dist/ui/navigation-focus.d.ts.map +0 -1
- package/dist/ui/navigation-focus.js +0 -25
- package/dist/ui/navigation-focus.js.map +0 -1
- package/dist/ui/navigation-focus.test.d.ts +0 -2
- package/dist/ui/navigation-focus.test.d.ts.map +0 -1
- package/dist/ui/navigation-focus.test.js +0 -28
- package/dist/ui/navigation-focus.test.js.map +0 -1
- package/dist/ui/paged-list-footer.test.d.ts +0 -2
- package/dist/ui/paged-list-footer.test.d.ts.map +0 -1
- package/dist/ui/paged-list-footer.test.js +0 -128
- package/dist/ui/paged-list-footer.test.js.map +0 -1
- package/dist/ui/parse-tool-result.test.d.ts +0 -2
- package/dist/ui/parse-tool-result.test.d.ts.map +0 -1
- package/dist/ui/parse-tool-result.test.js +0 -88
- package/dist/ui/parse-tool-result.test.js.map +0 -1
- package/dist/ui/profile-gate.d.ts +0 -37
- package/dist/ui/profile-gate.d.ts.map +0 -1
- package/dist/ui/profile-gate.js +0 -126
- package/dist/ui/profile-gate.js.map +0 -1
- package/dist/ui/profile-gate.test.d.ts +0 -2
- package/dist/ui/profile-gate.test.d.ts.map +0 -1
- package/dist/ui/profile-gate.test.js +0 -246
- package/dist/ui/profile-gate.test.js.map +0 -1
- package/dist/ui/query-fallback.test.d.ts +0 -2
- package/dist/ui/query-fallback.test.d.ts.map +0 -1
- package/dist/ui/query-fallback.test.js +0 -49
- package/dist/ui/query-fallback.test.js.map +0 -1
- package/dist/ui/row-card.d.ts +0 -13
- package/dist/ui/row-card.d.ts.map +0 -1
- package/dist/ui/row-card.js +0 -11
- package/dist/ui/row-card.js.map +0 -1
- package/dist/ui/section.d.ts +0 -18
- package/dist/ui/section.d.ts.map +0 -1
- package/dist/ui/section.js +0 -14
- package/dist/ui/section.js.map +0 -1
- package/dist/ui/segmented-control.d.ts +0 -25
- package/dist/ui/segmented-control.d.ts.map +0 -1
- package/dist/ui/segmented-control.js +0 -22
- package/dist/ui/segmented-control.js.map +0 -1
- package/dist/ui/settings-labels.d.ts +0 -33
- package/dist/ui/settings-labels.d.ts.map +0 -1
- package/dist/ui/settings-labels.js +0 -50
- package/dist/ui/settings-labels.js.map +0 -1
- package/dist/ui/settings-layout.d.ts +0 -29
- package/dist/ui/settings-layout.d.ts.map +0 -1
- package/dist/ui/settings-layout.js +0 -49
- package/dist/ui/settings-layout.js.map +0 -1
- package/dist/ui/settings-layout.test.d.ts +0 -2
- package/dist/ui/settings-layout.test.d.ts.map +0 -1
- package/dist/ui/settings-layout.test.js +0 -73
- package/dist/ui/settings-layout.test.js.map +0 -1
- package/dist/ui/settings.d.ts +0 -47
- package/dist/ui/settings.d.ts.map +0 -1
- package/dist/ui/settings.js +0 -48
- package/dist/ui/settings.js.map +0 -1
- package/dist/ui/settings.test.d.ts +0 -2
- package/dist/ui/settings.test.d.ts.map +0 -1
- package/dist/ui/settings.test.js +0 -38
- package/dist/ui/settings.test.js.map +0 -1
- package/dist/ui/shell-settings.d.ts +0 -31
- package/dist/ui/shell-settings.d.ts.map +0 -1
- package/dist/ui/shell-settings.js +0 -97
- package/dist/ui/shell-settings.js.map +0 -1
- package/dist/ui/shell-settings.test.d.ts +0 -2
- package/dist/ui/shell-settings.test.d.ts.map +0 -1
- package/dist/ui/shell-settings.test.js +0 -108
- package/dist/ui/shell-settings.test.js.map +0 -1
- package/dist/ui/shell-widgets.d.ts +0 -14
- package/dist/ui/shell-widgets.d.ts.map +0 -1
- package/dist/ui/shell-widgets.js +0 -18
- package/dist/ui/shell-widgets.js.map +0 -1
- package/dist/ui/table.d.ts +0 -61
- package/dist/ui/table.d.ts.map +0 -1
- package/dist/ui/table.js +0 -43
- package/dist/ui/table.js.map +0 -1
- package/dist/ui/tone-components.test.d.ts +0 -2
- package/dist/ui/tone-components.test.d.ts.map +0 -1
- package/dist/ui/tone-components.test.js +0 -145
- package/dist/ui/tone-components.test.js.map +0 -1
- package/dist/ui/tone-contrast.test.d.ts +0 -2
- package/dist/ui/tone-contrast.test.d.ts.map +0 -1
- package/dist/ui/tone-contrast.test.js +0 -66
- package/dist/ui/tone-contrast.test.js.map +0 -1
- package/dist/ui/toolkit-overlap.test.d.ts +0 -2
- package/dist/ui/toolkit-overlap.test.d.ts.map +0 -1
- package/dist/ui/toolkit-overlap.test.js +0 -86
- package/dist/ui/toolkit-overlap.test.js.map +0 -1
- package/dist/ui/use-apply-theme.test.d.ts +0 -2
- package/dist/ui/use-apply-theme.test.d.ts.map +0 -1
- package/dist/ui/use-apply-theme.test.js +0 -102
- package/dist/ui/use-apply-theme.test.js.map +0 -1
- package/dist/ui/use-bpmn-viewer.test.d.ts +0 -2
- package/dist/ui/use-bpmn-viewer.test.d.ts.map +0 -1
- package/dist/ui/use-bpmn-viewer.test.js +0 -239
- package/dist/ui/use-bpmn-viewer.test.js.map +0 -1
- package/dist/ui/use-detail-view.test.d.ts +0 -2
- package/dist/ui/use-detail-view.test.d.ts.map +0 -1
- package/dist/ui/use-detail-view.test.js +0 -178
- package/dist/ui/use-detail-view.test.js.map +0 -1
- package/dist/ui/use-paged-list-view.test.d.ts +0 -2
- package/dist/ui/use-paged-list-view.test.d.ts.map +0 -1
- package/dist/ui/use-paged-list-view.test.js +0 -136
- package/dist/ui/use-paged-list-view.test.js.map +0 -1
- package/dist/ui/use-paged-view-data.seeded.test.d.ts +0 -2
- package/dist/ui/use-paged-view-data.seeded.test.d.ts.map +0 -1
- package/dist/ui/use-paged-view-data.seeded.test.js +0 -144
- package/dist/ui/use-paged-view-data.seeded.test.js.map +0 -1
- package/dist/ui/use-paged-view-data.test.d.ts +0 -2
- package/dist/ui/use-paged-view-data.test.d.ts.map +0 -1
- package/dist/ui/use-paged-view-data.test.js +0 -330
- package/dist/ui/use-paged-view-data.test.js.map +0 -1
- package/dist/ui/use-reset-on-change.d.ts +0 -22
- package/dist/ui/use-reset-on-change.d.ts.map +0 -1
- package/dist/ui/use-reset-on-change.js +0 -29
- package/dist/ui/use-reset-on-change.js.map +0 -1
- package/dist/ui/use-reset-on-change.test.d.ts +0 -2
- package/dist/ui/use-reset-on-change.test.d.ts.map +0 -1
- package/dist/ui/use-reset-on-change.test.js +0 -61
- package/dist/ui/use-reset-on-change.test.js.map +0 -1
- package/dist/ui/use-view-data.seeded.test.d.ts +0 -2
- package/dist/ui/use-view-data.seeded.test.d.ts.map +0 -1
- package/dist/ui/use-view-data.seeded.test.js +0 -168
- package/dist/ui/use-view-data.seeded.test.js.map +0 -1
- package/dist/ui/view-data-state.test.d.ts +0 -2
- package/dist/ui/view-data-state.test.d.ts.map +0 -1
- package/dist/ui/view-data-state.test.js +0 -62
- package/dist/ui/view-data-state.test.js.map +0 -1
- package/dist/ui/view-meta.test.d.ts +0 -2
- package/dist/ui/view-meta.test.d.ts.map +0 -1
- package/dist/ui/view-meta.test.js +0 -92
- package/dist/ui/view-meta.test.js.map +0 -1
- package/dist/ui/widget-shell.test.d.ts +0 -2
- package/dist/ui/widget-shell.test.d.ts.map +0 -1
- package/dist/ui/widget-shell.test.js +0 -41
- package/dist/ui/widget-shell.test.js.map +0 -1
- package/dist/widget-meta-defaults.d.ts +0 -48
- package/dist/widget-meta-defaults.d.ts.map +0 -1
- package/dist/widget-meta-defaults.js +0 -80
- package/dist/widget-meta-defaults.js.map +0 -1
- package/dist/widget-meta-defaults.test.d.ts +0 -2
- package/dist/widget-meta-defaults.test.d.ts.map +0 -1
- package/dist/widget-meta-defaults.test.js +0 -196
- package/dist/widget-meta-defaults.test.js.map +0 -1
- package/dist/widget-tool-bindings.test.d.ts +0 -2
- package/dist/widget-tool-bindings.test.d.ts.map +0 -1
- package/dist/widget-tool-bindings.test.js +0 -83
- package/dist/widget-tool-bindings.test.js.map +0 -1
- package/dist/with-tool-errors.test.d.ts +0 -2
- package/dist/with-tool-errors.test.d.ts.map +0 -1
- package/dist/with-tool-errors.test.js +0 -38
- package/dist/with-tool-errors.test.js.map +0 -1
|
@@ -1,36 +1,16 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Fragment, useRef } from "react";
|
|
3
|
-
import { Button, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, ErrorState, useLocale, } from "@miragon/
|
|
3
|
+
import { Button, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, ErrorState, useLocale, } from "@miragon/pulse-ui";
|
|
4
4
|
import { describeError } from "./describe-error.js";
|
|
5
5
|
import { kitLabels } from "./kit-labels.js";
|
|
6
6
|
import { useHostDisplayMode } from "./widget-shell.js";
|
|
7
|
-
/**
|
|
8
|
-
* The confirmation before an irreversible or state-changing write (CI §8,
|
|
9
|
-
* §9 "Destruktiv"), on the toolkit's `Dialog`: the scrim behind it
|
|
10
|
-
* (`--scrim`, 42 % black plus blur), a centred panel with the md radius and
|
|
11
|
-
* `shadow-3`, the question as its 600 heading, the close button, the buttons
|
|
12
|
-
* right-aligned. It is an `alertdialog`: it interrupts and needs an answer.
|
|
13
|
-
*
|
|
14
|
-
* It names its target as a label/value block (ids in Geist Mono) and labels
|
|
15
|
-
* both buttons with verb + object, so "Keep instance" can never be mistaken
|
|
16
|
-
* for "Cancel instance"; a destructive write's button is in the danger role.
|
|
17
|
-
* While the write runs the dialog cannot be dismissed (its outcome would be
|
|
18
|
-
* hidden); a failure shows inside it (`describeError`, raw text under
|
|
19
|
-
* "Details") and the user can try again or keep.
|
|
20
|
-
*
|
|
21
|
-
* Inline in a chat (#344 K45) it opens beside the element that opened it,
|
|
22
|
-
* not in the middle of the frame: a frame as tall as its content can be far
|
|
23
|
-
* taller than the chat shows, and its middle is then off screen. The opener
|
|
24
|
-
* is in view (it was just used), so the dialog is centred on it, kept inside
|
|
25
|
-
* the frame ({@link anchoredTop}). In fullscreen it stays centred.
|
|
26
|
-
*/
|
|
7
|
+
/** An `alertdialog` with verb + object buttons, so "Keep instance" is never mistaken for "Cancel instance"; undismissable while the write runs (its outcome would be hidden). Inline in a chat (#344 K45) it centres on its opener, since a frame as tall as its content can be far taller than the chat shows. */
|
|
27
8
|
export function ConfirmDialog({ open, onOpenChange, title, description, target, confirmLabel, keepLabel, pendingLabel, destructive = false, pending = false, error = null, onConfirm, }) {
|
|
28
9
|
const locale = useLocale();
|
|
29
10
|
const described = error ? describeError(error, locale) : null;
|
|
30
11
|
const inline = useHostDisplayMode() === "inline";
|
|
31
12
|
const content = useRef(null);
|
|
32
|
-
//
|
|
33
|
-
// before it moves the focus in).
|
|
13
|
+
// Radix fires this before it moves the focus in, so the focus is still on the opener.
|
|
34
14
|
const anchor = () => {
|
|
35
15
|
const panel = content.current;
|
|
36
16
|
const opener = document.activeElement;
|
|
@@ -47,10 +27,7 @@ export function ConfirmDialog({ open, onOpenChange, title, description, target,
|
|
|
47
27
|
}
|
|
48
28
|
/** The gap the dialog keeps to the frame's edges (px). */
|
|
49
29
|
const FRAME_MARGIN = 16;
|
|
50
|
-
/**
|
|
51
|
-
* The top of a dialog `height` px tall, centred on its opener and kept inside
|
|
52
|
-
* a frame `frameHeight` px tall — at the frame's top edge when it does not fit.
|
|
53
|
-
*/
|
|
30
|
+
/** At the frame's top edge when it does not fit. */
|
|
54
31
|
export function anchoredTop(opener, height, frameHeight) {
|
|
55
32
|
const centred = opener.top + opener.height / 2 - height / 2;
|
|
56
33
|
const lowest = frameHeight - height - FRAME_MARGIN;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confirm-dialog.js","sourceRoot":"","sources":["../../src/ui/confirm-dialog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AACxC,OAAO,EACL,MAAM,EACN,MAAM,EACN,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,UAAU,EACV,SAAS,GACV,MAAM,
|
|
1
|
+
{"version":3,"file":"confirm-dialog.js","sourceRoot":"","sources":["../../src/ui/confirm-dialog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AACxC,OAAO,EACL,MAAM,EACN,MAAM,EACN,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,UAAU,EACV,SAAS,GACV,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAwBtD,mTAAmT;AACnT,MAAM,UAAU,aAAa,CAAC,EAC5B,IAAI,EACJ,YAAY,EACZ,KAAK,EACL,WAAW,EACX,MAAM,EACN,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,WAAW,GAAG,KAAK,EACnB,OAAO,GAAG,KAAK,EACf,KAAK,GAAG,IAAI,EACZ,SAAS,GACU;IACnB,MAAM,MAAM,GAAG,SAAS,EAAE,CAAA;IAC1B,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,aAAa,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAA;IAC7D,MAAM,MAAM,GAAG,kBAAkB,EAAE,KAAK,QAAQ,CAAA;IAChD,MAAM,OAAO,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAA;IAC5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SAAS,IAAI,CACZ,KAAC,UAAU,IACT,OAAO,EAAC,QAAQ,EAChB,KAAK,EAAE,SAAS,CAAC,KAAK,EACtB,WAAW,EAAE,SAAS,CAAC,IAAI,EAC3B,OAAO,EAAE,SAAS,CAAC,OAAO,IAAI,SAAS,GACvC,CACH,EACD,MAAC,YAAY,eACX,KAAC,MAAM,IAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,OAAO,YAC5E,SAAS,GACH,EACT,KAAC,MAAM,IACL,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,EAChD,OAAO,EAAE,SAAS,EAClB,QAAQ,EAAE,OAAO,eACN,OAAO,IAAI,SAAS,YAE9B,OAAO,CAAC,CAAC,CAAC,CAAC,YAAY,IAAI,SAAS,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,YAAY,GAC9D,IACI,IACD,GACT,CACV,CAAA;AACH,CAAC;AAED,0DAA0D;AAC1D,MAAM,YAAY,GAAG,EAAE,CAAA;AAEvB,oDAAoD;AACpD,MAAM,UAAU,WAAW,CACzB,MAAuC,EACvC,MAAc,EACd,WAAmB;IAEnB,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,GAAG,MAAM,CAAC,MAAM,GAAG,CAAC,GAAG,MAAM,GAAG,CAAC,CAAA;IAC3D,MAAM,MAAM,GAAG,WAAW,GAAG,MAAM,GAAG,YAAY,CAAA;IAClD,OAAO,IAAI,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAA;AAC1D,CAAC"}
|
package/dist/ui/count-tone.d.ts
CHANGED
|
@@ -1,20 +1,6 @@
|
|
|
1
|
-
import type
|
|
2
|
-
/**
|
|
3
|
-
* THE severity ladder of every incident and job count, in every module
|
|
4
|
-
* (#322 U14, decision f; CLAUDE.md "a status is a tone"): an open incident or
|
|
5
|
-
* a job without retries left (the engine's `failedJobs`, analytics' dead
|
|
6
|
-
* jobs) is a state, `danger` while there is any; every other count (running
|
|
7
|
-
* instances, a backlog, what happened in a period) carries no tone. Warning
|
|
8
|
-
* belongs to what can still recover on its own (a degraded verdict, a failed
|
|
9
|
-
* job with retries left), never to these counts. One sign, one meaning: the
|
|
10
|
-
* camunda7 cockpit and the analytics tables on the same page say it alike.
|
|
11
|
-
*/
|
|
12
|
-
/** An open-incident or no-retries count's tone: danger while there is any, else a neutral number. */
|
|
1
|
+
import { type ToneVariant } from "@miragon/pulse-ui";
|
|
2
|
+
/** #322 U14: open incidents and jobs without retries are `danger`; other counts carry no tone. Warning is for what can still recover on its own, never for these counts. */
|
|
13
3
|
export declare function countTone(count: number | null | undefined): ToneVariant;
|
|
14
|
-
/**
|
|
15
|
-
* One process's or engine's state on the ladder: danger while it has an open
|
|
16
|
-
* incident or a job without retries; neutral when nothing runs on it (never
|
|
17
|
-
* a green "healthy" over an idle deployment); otherwise success.
|
|
18
|
-
*/
|
|
4
|
+
/** Neutral when nothing runs (never a green "healthy" over an idle deployment). */
|
|
19
5
|
export declare function severityTone(failedJobs: number, totalIncidents: number, instances: number): ToneVariant;
|
|
20
6
|
//# sourceMappingURL=count-tone.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"count-tone.d.ts","sourceRoot":"","sources":["../../src/ui/count-tone.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"count-tone.d.ts","sourceRoot":"","sources":["../../src/ui/count-tone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAEpD,4KAA4K;AAE5K,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,WAAW,CAEvE;AAED,mFAAmF;AACnF,wBAAgB,YAAY,CAC1B,UAAU,EAAE,MAAM,EAClB,cAAc,EAAE,MAAM,EACtB,SAAS,EAAE,MAAM,GAChB,WAAW,CAIb"}
|
package/dist/ui/count-tone.js
CHANGED
|
@@ -1,22 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* THE severity ladder of every incident and job count, in every module
|
|
3
|
-
* (#322 U14, decision f; CLAUDE.md "a status is a tone"): an open incident or
|
|
4
|
-
* a job without retries left (the engine's `failedJobs`, analytics' dead
|
|
5
|
-
* jobs) is a state, `danger` while there is any; every other count (running
|
|
6
|
-
* instances, a backlog, what happened in a period) carries no tone. Warning
|
|
7
|
-
* belongs to what can still recover on its own (a degraded verdict, a failed
|
|
8
|
-
* job with retries left), never to these counts. One sign, one meaning: the
|
|
9
|
-
* camunda7 cockpit and the analytics tables on the same page say it alike.
|
|
10
|
-
*/
|
|
11
|
-
/** An open-incident or no-retries count's tone: danger while there is any, else a neutral number. */
|
|
1
|
+
/** #322 U14: open incidents and jobs without retries are `danger`; other counts carry no tone. Warning is for what can still recover on its own, never for these counts. */
|
|
12
2
|
export function countTone(count) {
|
|
13
3
|
return (count ?? 0) > 0 ? "danger" : "neutral";
|
|
14
4
|
}
|
|
15
|
-
/**
|
|
16
|
-
* One process's or engine's state on the ladder: danger while it has an open
|
|
17
|
-
* incident or a job without retries; neutral when nothing runs on it (never
|
|
18
|
-
* a green "healthy" over an idle deployment); otherwise success.
|
|
19
|
-
*/
|
|
5
|
+
/** Neutral when nothing runs (never a green "healthy" over an idle deployment). */
|
|
20
6
|
export function severityTone(failedJobs, totalIncidents, instances) {
|
|
21
7
|
if (totalIncidents > 0 || failedJobs > 0)
|
|
22
8
|
return "danger";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"count-tone.js","sourceRoot":"","sources":["../../src/ui/count-tone.ts"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"count-tone.js","sourceRoot":"","sources":["../../src/ui/count-tone.ts"],"names":[],"mappings":"AAEA,4KAA4K;AAE5K,MAAM,UAAU,SAAS,CAAC,KAAgC;IACxD,OAAO,CAAC,KAAK,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAA;AAChD,CAAC;AAED,mFAAmF;AACnF,MAAM,UAAU,YAAY,CAC1B,UAAkB,EAClB,cAAsB,EACtB,SAAiB;IAEjB,IAAI,cAAc,GAAG,CAAC,IAAI,UAAU,GAAG,CAAC;QAAE,OAAO,QAAQ,CAAA;IACzD,IAAI,SAAS,KAAK,CAAC;QAAE,OAAO,SAAS,CAAA;IACrC,OAAO,SAAS,CAAA;AAClB,CAAC"}
|
|
@@ -1,14 +1,8 @@
|
|
|
1
|
-
/** The `<style>` that carries the faces — one per document. */
|
|
2
1
|
export declare const SERVED_FONTS_STYLE_ID = "__miragon-served-fonts";
|
|
3
2
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* the
|
|
7
|
-
* host's font (`adoptHostFontVariables`), then the system's — and switches
|
|
8
|
-
* when the files arrive. A host that blocks the server's origin, or a server
|
|
9
|
-
* the browser cannot reach, leaves it there; nothing waits and nothing
|
|
10
|
-
* breaks. Outside a served view document (no public base) nothing is
|
|
11
|
-
* declared. Returns the base URL the faces load from, if any.
|
|
3
|
+
* `font-display: swap`: the host's or system font renders at once, so a host blocking the server's
|
|
4
|
+
* origin leaves it there and nothing waits. `publicBase` is the view host's (`ShellHost`); returns
|
|
5
|
+
* the base URL the faces load from, if any.
|
|
12
6
|
*/
|
|
13
|
-
export declare function declareServedFonts(doc
|
|
7
|
+
export declare function declareServedFonts(doc: Document, publicBase: string): string | undefined;
|
|
14
8
|
//# sourceMappingURL=declare-served-fonts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"declare-served-fonts.d.ts","sourceRoot":"","sources":["../../src/ui/declare-served-fonts.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"declare-served-fonts.d.ts","sourceRoot":"","sources":["../../src/ui/declare-served-fonts.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,qBAAqB,2BAA2B,CAAA;AAE7D;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAkBxF"}
|
|
@@ -1,19 +1,12 @@
|
|
|
1
|
-
import { fontFaces } from "@miragon/
|
|
2
|
-
import {
|
|
3
|
-
import { SERVED_FONT_FILES, servedFontBaseUrl } from "../served-fonts.js";
|
|
4
|
-
/** The `<style>` that carries the faces — one per document. */
|
|
1
|
+
import { fontFaces } from "@miragon/pulse-ui";
|
|
2
|
+
import { SERVED_FONT_FILES, servedFontBaseUrl } from "../protocol/served-fonts.js";
|
|
5
3
|
export const SERVED_FONTS_STYLE_ID = "__miragon-served-fonts";
|
|
6
4
|
/**
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* the
|
|
10
|
-
* host's font (`adoptHostFontVariables`), then the system's — and switches
|
|
11
|
-
* when the files arrive. A host that blocks the server's origin, or a server
|
|
12
|
-
* the browser cannot reach, leaves it there; nothing waits and nothing
|
|
13
|
-
* breaks. Outside a served view document (no public base) nothing is
|
|
14
|
-
* declared. Returns the base URL the faces load from, if any.
|
|
5
|
+
* `font-display: swap`: the host's or system font renders at once, so a host blocking the server's
|
|
6
|
+
* origin leaves it there and nothing waits. `publicBase` is the view host's (`ShellHost`); returns
|
|
7
|
+
* the base URL the faces load from, if any.
|
|
15
8
|
*/
|
|
16
|
-
export function declareServedFonts(doc
|
|
9
|
+
export function declareServedFonts(doc, publicBase) {
|
|
17
10
|
const existing = doc.getElementById(SERVED_FONTS_STYLE_ID);
|
|
18
11
|
if (existing)
|
|
19
12
|
return existing.dataset.baseUrl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"declare-served-fonts.js","sourceRoot":"","sources":["../../src/ui/declare-served-fonts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"declare-served-fonts.js","sourceRoot":"","sources":["../../src/ui/declare-served-fonts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAC7C,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAA;AAElF,MAAM,CAAC,MAAM,qBAAqB,GAAG,wBAAwB,CAAA;AAE7D;;;;GAIG;AACH,MAAM,UAAU,kBAAkB,CAAC,GAAa,EAAE,UAAkB;IAClE,MAAM,QAAQ,GAAG,GAAG,CAAC,cAAc,CAAC,qBAAqB,CAAC,CAAA;IAC1D,IAAI,QAAQ;QAAE,OAAO,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAA;IAC7C,MAAM,OAAO,GAAG,iBAAiB,CAAC,UAAU,CAAC,CAAA;IAC7C,IAAI,CAAC,OAAO;QAAE,OAAO,SAAS,CAAA;IAC9B,IAAI,GAAW,CAAA;IACf,IAAI,CAAC;QACH,GAAG,GAAG,SAAS,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,CAAC,CAAA;IACxD,CAAC;IAAC,MAAM,CAAC;QACP,uEAAuE;QACvE,OAAO,SAAS,CAAA;IAClB,CAAC;IACD,MAAM,KAAK,GAAG,GAAG,CAAC,aAAa,CAAC,OAAO,CAAC,CAAA;IACxC,KAAK,CAAC,EAAE,GAAG,qBAAqB,CAAA;IAChC,KAAK,CAAC,OAAO,CAAC,OAAO,GAAG,OAAO,CAAA;IAC/B,KAAK,CAAC,WAAW,GAAG,GAAG,CAAA;IACvB,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAA;IAC3B,OAAO,OAAO,CAAA;AAChB,CAAC"}
|
|
@@ -1,71 +1,29 @@
|
|
|
1
1
|
import { type ErrorSource } from "./error-labels.js";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* What kind of failure an error text describes:
|
|
5
|
-
* - `unreachable`: no connection, or the source answered 502/503;
|
|
6
|
-
* - `timeout`: the deadline passed (the client's, or a 408/504);
|
|
7
|
-
* - `notOnServer`: the tool is not on this server (its module is inactive);
|
|
8
|
-
* - `unauthorized` / `forbidden`: the source refused the server (401 / 403);
|
|
9
|
-
* - `notFound`: the entry is gone (404);
|
|
10
|
-
* - `failed`: any other error status or engine exception;
|
|
11
|
-
* - `unknown`: nothing the kit recognises.
|
|
12
|
-
*/
|
|
2
|
+
/** `unreachable` covers 502/503, `timeout` 408/504, `notOnServer` an inactive module. */
|
|
13
3
|
export declare const ERROR_KINDS: readonly ["unreachable", "timeout", "notOnServer", "unauthorized", "forbidden", "notFound", "failed", "unknown"];
|
|
14
4
|
export type ErrorKind = (typeof ERROR_KINDS)[number];
|
|
15
|
-
/** The facts `classifyError` reads from an error, before any words. */
|
|
16
5
|
export interface ErrorFacts {
|
|
17
6
|
kind: ErrorKind;
|
|
18
|
-
/** HTTP status the text names, if any. */
|
|
19
7
|
status?: number;
|
|
20
8
|
source: ErrorSource;
|
|
21
|
-
/** The raw text (the error's message), or null for an error without one. */
|
|
22
9
|
raw: string | null;
|
|
23
|
-
/**
|
|
24
|
-
* The source's own words, readable: the raw text without its bracketed
|
|
25
|
-
* status code, the engine-id suffix and the write caveat
|
|
26
|
-
* ("Cannot resolve incident"); null when nothing is left.
|
|
27
|
-
*/
|
|
10
|
+
/** The raw text without bracketed status, engine-id suffix and write caveat; null when nothing is left. */
|
|
28
11
|
reason: string | null;
|
|
29
|
-
/**
|
|
30
|
-
* The text says a write may still have gone through (the camunda7
|
|
31
|
-
* client's caveat for a write whose answer never came: a timeout, a
|
|
32
|
-
* connection lost mid-request). Retrying blindly could apply it twice.
|
|
33
|
-
*/
|
|
12
|
+
/** A write whose answer never came may have gone through; retrying blindly could apply it twice. */
|
|
34
13
|
mayHaveApplied: boolean;
|
|
35
14
|
}
|
|
36
|
-
/** An error in words: for the toolkit's `ErrorState` (title, description, details). */
|
|
37
15
|
export interface DescribedError {
|
|
38
16
|
kind: ErrorKind;
|
|
39
17
|
/** What happened, one line ("Die Engine prod ist nicht erreichbar (HTTP 503)"). */
|
|
40
18
|
title: string;
|
|
41
|
-
/** What you can do next. */
|
|
42
19
|
hint: string;
|
|
43
|
-
/** The raw reason for the collapsed "Details"; null when there was none. */
|
|
44
20
|
details: string | null;
|
|
45
21
|
}
|
|
46
|
-
/**
|
|
47
|
-
* The facts of an engine or transport error, read from its text (the wire
|
|
48
|
-
* carries text only: a tool's `isError` answer, a JSON-RPC error, a failed
|
|
49
|
-
* fetch) plus a numeric `status`/`httpStatus` when the object has one. Pure:
|
|
50
|
-
* no words, no locale.
|
|
51
|
-
*/
|
|
22
|
+
/** The wire carries text only, so the facts are read from it. Pure: no words, no locale. */
|
|
52
23
|
export declare function classifyError(error: unknown): ErrorFacts;
|
|
53
24
|
export interface DescribeErrorOptions {
|
|
54
|
-
/**
|
|
55
|
-
* The title for an error the kit cannot classify, in the caller's words
|
|
56
|
-
* ("Die Prozessliste konnte nicht geladen werden"). Default: the kit's
|
|
57
|
-
* "Das hat nicht geklappt" / "Something went wrong".
|
|
58
|
-
*/
|
|
59
25
|
fallbackTitle?: string;
|
|
60
26
|
}
|
|
61
|
-
/**
|
|
62
|
-
* An engine or transport error in the words of the active locale (en/de by
|
|
63
|
-
* `supportedLanguage`, English otherwise): what happened, what you can do,
|
|
64
|
-
* and the raw text for a collapsed "Details" — never the raw
|
|
65
|
-
* "[503 ProcessEngineException] …" as the headline. Feed the result to the
|
|
66
|
-
* toolkit's `ErrorState` (`title`, `description` = hint, `details`); the
|
|
67
|
-
* kit's `ViewDataState`, `QueryFallback`, `useDetailView`, `ConfirmDialog`
|
|
68
|
-
* and `useActionFeedback` do.
|
|
69
|
-
*/
|
|
27
|
+
/** Never the raw "[503 ProcessEngineException] …" as the headline; feed the result to pulse-ui's `ErrorState`. */
|
|
70
28
|
export declare function describeError(error: unknown, locale: string | undefined, options?: DescribeErrorOptions): DescribedError;
|
|
71
29
|
//# sourceMappingURL=describe-error.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"describe-error.d.ts","sourceRoot":"","sources":["../../src/ui/describe-error.ts"],"names":[],"mappings":"AACA,OAAO,EAAsC,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAExF,
|
|
1
|
+
{"version":3,"file":"describe-error.d.ts","sourceRoot":"","sources":["../../src/ui/describe-error.ts"],"names":[],"mappings":"AACA,OAAO,EAAsC,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAExF,yFAAyF;AACzF,eAAO,MAAM,WAAW,kHASd,CAAA;AAEV,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAA;AAEpD,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,SAAS,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,WAAW,CAAA;IACnB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;IAClB,2GAA2G;IAC3G,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,oGAAoG;IACpG,cAAc,EAAE,OAAO,CAAA;CACxB;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,SAAS,CAAA;IACf,mFAAmF;IACnF,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CACvB;AA0FD,4FAA4F;AAC5F,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,UAAU,CAYxD;AAED,MAAM,WAAW,oBAAoB;IACnC,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,kHAAkH;AAClH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,OAAO,EACd,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,OAAO,GAAE,oBAAyB,GACjC,cAAc,CAgBhB"}
|
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { resolveLanguage } from "./host-context.js";
|
|
2
2
|
import { ERROR_LABELS } from "./error-labels.js";
|
|
3
|
-
/**
|
|
4
|
-
* What kind of failure an error text describes:
|
|
5
|
-
* - `unreachable`: no connection, or the source answered 502/503;
|
|
6
|
-
* - `timeout`: the deadline passed (the client's, or a 408/504);
|
|
7
|
-
* - `notOnServer`: the tool is not on this server (its module is inactive);
|
|
8
|
-
* - `unauthorized` / `forbidden`: the source refused the server (401 / 403);
|
|
9
|
-
* - `notFound`: the entry is gone (404);
|
|
10
|
-
* - `failed`: any other error status or engine exception;
|
|
11
|
-
* - `unknown`: nothing the kit recognises.
|
|
12
|
-
*/
|
|
3
|
+
/** `unreachable` covers 502/503, `timeout` 408/504, `notOnServer` an inactive module. */
|
|
13
4
|
export const ERROR_KINDS = [
|
|
14
5
|
"unreachable",
|
|
15
6
|
"timeout",
|
|
@@ -20,33 +11,21 @@ export const ERROR_KINDS = [
|
|
|
20
11
|
"failed",
|
|
21
12
|
"unknown",
|
|
22
13
|
];
|
|
23
|
-
/**
|
|
24
|
-
* `[503 ProcessEngineException] …` (the camunda7 client's engine responses,
|
|
25
|
-
* `withToolErrors`' `[code] …`) and `Prometheus query failed (503 …)`.
|
|
26
|
-
*/
|
|
27
14
|
const BRACKET_STATUS = /\[(\d{3})(?:[\s\]])/;
|
|
28
15
|
const PROMETHEUS_STATUS = /Prometheus query failed \((\d{3})\b/;
|
|
29
|
-
/** The engine id the
|
|
16
|
+
/** The engine id the engine client appends or leads with. */
|
|
30
17
|
const ENGINE_ID = /\(engine ([^\s)]+)\)|\bengine (\S+) (?:unreachable|did not respond)|connection to engine (\S+) failed/;
|
|
31
18
|
const ENGINE = /\bengine\b|ProcessEngineException|\bCamunda\b|\bCIB seven\b/i;
|
|
32
19
|
const PROMETHEUS = /\bPrometheus\b/;
|
|
33
20
|
const TOOL_MISSING = /\btool\b[^\n]*\bnot found\b|\bunknown tool\b|-32601\b|\bmethod not found\b/i;
|
|
34
21
|
const TIMEOUT = /\(timeout\)|\btimed? ?out\b|-32001\b|did not respond within/i;
|
|
35
22
|
const UNREACHABLE = /\bunreachable\b|\bconnection to \S+(?: \S+)? failed\b|ECONNREFUSED|ENOTFOUND|EHOSTUNREACH|ENETUNREACH|EAI_AGAIN|\bfailed to fetch\b|\bfetch failed\b|\bnetworkerror\b|\bload failed\b/i;
|
|
36
|
-
/** The
|
|
23
|
+
/** The engine client's caveat on a write whose outcome is unknown. */
|
|
37
24
|
const WRITE_CAVEAT = /the \w+ may still have been applied\b/i;
|
|
38
|
-
/** The bracketed status and exception: `[500 ProcessEngineException] `. */
|
|
39
25
|
const STATUS_CODE = /\[\d{3}(?:\s[^\]\n]{0,120})?\]\s*/;
|
|
40
|
-
/** Any other leading bracketed code (`withToolErrors`' `[code] …`). */
|
|
41
26
|
const LEADING_CODE = /^\[[^\]\n]{1,120}\]\s*/;
|
|
42
|
-
/** The engine id the camunda7 client appends: ` (engine prod)`. */
|
|
43
27
|
const ENGINE_SUFFIX = /\(engine [^\s)]+\)$/;
|
|
44
|
-
|
|
45
|
-
* The cuts below trim whitespace with String#trimEnd instead of `\s*` in the
|
|
46
|
-
* patterns: a leading `\s*` on an unanchored pattern backtracks polynomially
|
|
47
|
-
* over a long whitespace run (CodeQL js/polynomial-redos), and these helpers
|
|
48
|
-
* read error text that comes from the wire.
|
|
49
|
-
*/
|
|
28
|
+
/** Whitespace is trimmed with trimEnd, not `\s*`: a leading `\s*` on an unanchored pattern backtracks polynomially (CodeQL js/polynomial-redos) on wire text. */
|
|
50
29
|
/** The text before the write caveat, without the separator that led into it. */
|
|
51
30
|
function withoutWriteCaveat(text) {
|
|
52
31
|
const caveat = WRITE_CAVEAT.exec(text);
|
|
@@ -55,13 +34,11 @@ function withoutWriteCaveat(text) {
|
|
|
55
34
|
const head = text.slice(0, caveat.index).trimEnd();
|
|
56
35
|
return /[—;-]$/.test(head) ? head.slice(0, -1).trimEnd() : head;
|
|
57
36
|
}
|
|
58
|
-
/** The text without the trailing ` (engine <id>)` the client appends. */
|
|
59
37
|
function withoutEngineSuffix(text) {
|
|
60
38
|
const trimmed = text.trimEnd();
|
|
61
39
|
const suffix = ENGINE_SUFFIX.exec(trimmed);
|
|
62
40
|
return suffix ? trimmed.slice(0, suffix.index).trimEnd() : text;
|
|
63
41
|
}
|
|
64
|
-
/** The raw text as the source's own words (see {@link ErrorFacts.reason}). */
|
|
65
42
|
function reasonOf(text) {
|
|
66
43
|
const rest = withoutWriteCaveat(text);
|
|
67
44
|
const code = STATUS_CODE.exec(rest);
|
|
@@ -103,7 +80,6 @@ function sourceOf(text) {
|
|
|
103
80
|
return { type: "engine" };
|
|
104
81
|
return { type: "unknown" };
|
|
105
82
|
}
|
|
106
|
-
/** The kind an HTTP status stands for. */
|
|
107
83
|
function kindOfStatus(status) {
|
|
108
84
|
if (status === 401)
|
|
109
85
|
return "unauthorized";
|
|
@@ -128,12 +104,7 @@ function kindOf(text, status) {
|
|
|
128
104
|
return "unreachable";
|
|
129
105
|
return "unknown";
|
|
130
106
|
}
|
|
131
|
-
/**
|
|
132
|
-
* The facts of an engine or transport error, read from its text (the wire
|
|
133
|
-
* carries text only: a tool's `isError` answer, a JSON-RPC error, a failed
|
|
134
|
-
* fetch) plus a numeric `status`/`httpStatus` when the object has one. Pure:
|
|
135
|
-
* no words, no locale.
|
|
136
|
-
*/
|
|
107
|
+
/** The wire carries text only, so the facts are read from it. Pure: no words, no locale. */
|
|
137
108
|
export function classifyError(error) {
|
|
138
109
|
const raw = rawText(error);
|
|
139
110
|
const text = raw ?? "";
|
|
@@ -147,17 +118,9 @@ export function classifyError(error) {
|
|
|
147
118
|
mayHaveApplied: WRITE_CAVEAT.test(text),
|
|
148
119
|
};
|
|
149
120
|
}
|
|
150
|
-
/**
|
|
151
|
-
* An engine or transport error in the words of the active locale (en/de by
|
|
152
|
-
* `supportedLanguage`, English otherwise): what happened, what you can do,
|
|
153
|
-
* and the raw text for a collapsed "Details" — never the raw
|
|
154
|
-
* "[503 ProcessEngineException] …" as the headline. Feed the result to the
|
|
155
|
-
* toolkit's `ErrorState` (`title`, `description` = hint, `details`); the
|
|
156
|
-
* kit's `ViewDataState`, `QueryFallback`, `useDetailView`, `ConfirmDialog`
|
|
157
|
-
* and `useActionFeedback` do.
|
|
158
|
-
*/
|
|
121
|
+
/** Never the raw "[503 ProcessEngineException] …" as the headline; feed the result to pulse-ui's `ErrorState`. */
|
|
159
122
|
export function describeError(error, locale, options = {}) {
|
|
160
|
-
const labels = ERROR_LABELS[
|
|
123
|
+
const labels = ERROR_LABELS[resolveLanguage(locale)];
|
|
161
124
|
const facts = classifyError(error);
|
|
162
125
|
const words = labels[facts.kind];
|
|
163
126
|
const source = labels.source({ source: facts.source });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"describe-error.js","sourceRoot":"","sources":["../../src/ui/describe-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"describe-error.js","sourceRoot":"","sources":["../../src/ui/describe-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,YAAY,EAA0C,MAAM,mBAAmB,CAAA;AAExF,yFAAyF;AACzF,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,aAAa;IACb,SAAS;IACT,aAAa;IACb,cAAc;IACd,WAAW;IACX,UAAU;IACV,QAAQ;IACR,SAAS;CACD,CAAA;AAuBV,MAAM,cAAc,GAAG,qBAAqB,CAAA;AAC5C,MAAM,iBAAiB,GAAG,qCAAqC,CAAA;AAC/D,6DAA6D;AAC7D,MAAM,SAAS,GACb,uGAAuG,CAAA;AACzG,MAAM,MAAM,GAAG,8DAA8D,CAAA;AAC7E,MAAM,UAAU,GAAG,gBAAgB,CAAA;AACnC,MAAM,YAAY,GAAG,6EAA6E,CAAA;AAClG,MAAM,OAAO,GAAG,8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AAM,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAA;IACxF,MAAM,KAAK,GACT,KAAK,CAAC,IAAI,KAAK,SAAS,IAAI,OAAO,CAAC,aAAa;QAC/C,CAAC,CAAC,OAAO,CAAC,aAAa;QACvB,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAA;IACrC,OAAO;QACL,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,KAAK;QACL,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;QAC/C,OAAO,EAAE,KAAK,CAAC,GAAG;KACnB,CAAA;AACH,CAAC"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
|
-
/**
|
|
3
|
-
* The host's display mode as something a view can SWITCH — provided by the
|
|
4
|
-
* host bridge (`ViewHostBridge`); outside a host nothing can be switched.
|
|
5
|
-
*/
|
|
2
|
+
/** Outside a host nothing can be switched. */
|
|
6
3
|
export interface DisplayModeControl {
|
|
7
4
|
displayMode: string;
|
|
8
|
-
/** The host offers fullscreen to this view. */
|
|
9
5
|
canFullscreen: boolean;
|
|
10
6
|
request: (mode: "inline" | "fullscreen") => void;
|
|
11
7
|
}
|
|
@@ -14,18 +10,9 @@ export declare function DisplayModeControlProvider({ control, children, }: {
|
|
|
14
10
|
children: ReactNode;
|
|
15
11
|
}): import("react").JSX.Element;
|
|
16
12
|
export declare function useDisplayModeControl(): DisplayModeControl;
|
|
17
|
-
/**
|
|
18
|
-
* Fullscreen and back, for a surface that hides the view's own chrome (the
|
|
19
|
-
* standalone drill-down, #344 N109): the same words as the toolkit's toolbar
|
|
20
|
-
* toggle, nothing where the host offers no fullscreen.
|
|
21
|
-
*/
|
|
13
|
+
/** The view frame's fullscreen switch (a chrome button, CI §8); nothing where the host offers no fullscreen. */
|
|
22
14
|
export declare function DisplayModeToggle(): import("react").JSX.Element | null;
|
|
23
|
-
/**
|
|
24
|
-
* The display modes every view of the bundle supports, for the roots'
|
|
25
|
-
* `bootstrapView({ default, viewConfig })` (#344 N159): inline as a card,
|
|
26
|
-
* fullscreen for the rest. Not picture-in-picture: no view is laid out for a
|
|
27
|
-
* small floating frame, so a host must not offer one.
|
|
28
|
-
*/
|
|
15
|
+
/** #344 N159: no picture-in-picture, since no view is laid out for a small floating frame. */
|
|
29
16
|
export declare const SHELL_VIEW_CONFIG: {
|
|
30
17
|
readonly displayModes: readonly ["inline", "fullscreen"];
|
|
31
18
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"display-mode-toggle.d.ts","sourceRoot":"","sources":["../../src/ui/display-mode-toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAKjE
|
|
1
|
+
{"version":3,"file":"display-mode-toggle.d.ts","sourceRoot":"","sources":["../../src/ui/display-mode-toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAKjE,8CAA8C;AAC9C,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,OAAO,CAAA;IACtB,OAAO,EAAE,CAAC,IAAI,EAAE,QAAQ,GAAG,YAAY,KAAK,IAAI,CAAA;CACjD;AAUD,wBAAgB,0BAA0B,CAAC,EACzC,OAAO,EACP,QAAQ,GACT,EAAE;IACD,OAAO,EAAE,kBAAkB,CAAA;IAC3B,QAAQ,EAAE,SAAS,CAAA;CACpB,+BAMA;AAED,wBAAgB,qBAAqB,IAAI,kBAAkB,CAE1D;AAED,gHAAgH;AAChH,wBAAgB,iBAAiB,uCAmBhC;AAED,8FAA8F;AAC9F,eAAO,MAAM,iBAAiB;;CAAsD,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { createContext, useContext } from "react";
|
|
3
|
-
import { Button,
|
|
3
|
+
import { Button, useLocale, Icon } from "@miragon/pulse-ui";
|
|
4
4
|
import { Maximize2, Minimize2 } from "lucide-react";
|
|
5
|
-
import {
|
|
5
|
+
import { kitLabels } from "./kit-labels.js";
|
|
6
6
|
const NO_CONTROL = {
|
|
7
7
|
displayMode: "inline",
|
|
8
8
|
canFullscreen: false,
|
|
@@ -15,25 +15,16 @@ export function DisplayModeControlProvider({ control, children, }) {
|
|
|
15
15
|
export function useDisplayModeControl() {
|
|
16
16
|
return useContext(DisplayModeControlContext);
|
|
17
17
|
}
|
|
18
|
-
/**
|
|
19
|
-
* Fullscreen and back, for a surface that hides the view's own chrome (the
|
|
20
|
-
* standalone drill-down, #344 N109): the same words as the toolkit's toolbar
|
|
21
|
-
* toggle, nothing where the host offers no fullscreen.
|
|
22
|
-
*/
|
|
18
|
+
/** The view frame's fullscreen switch (a chrome button, CI §8); nothing where the host offers no fullscreen. */
|
|
23
19
|
export function DisplayModeToggle() {
|
|
24
20
|
const { displayMode, canFullscreen, request } = useDisplayModeControl();
|
|
25
|
-
const words =
|
|
21
|
+
const words = kitLabels(useLocale());
|
|
26
22
|
if (!canFullscreen)
|
|
27
23
|
return null;
|
|
28
24
|
const fullscreen = displayMode === "fullscreen";
|
|
29
25
|
const label = fullscreen ? words.exitFullscreen : words.enterFullscreen;
|
|
30
|
-
return (_jsx(Button, { type: "button", variant: "outline", size: "icon", "aria-label": label, title: label, onClick: () => request(fullscreen ? "inline" : "fullscreen"), children: _jsx(Icon, { icon: fullscreen ? Minimize2 : Maximize2 }) }));
|
|
26
|
+
return (_jsx(Button, { type: "button", variant: "outline", size: "icon-sm", className: "shadow-1", "aria-label": label, title: label, onClick: () => request(fullscreen ? "inline" : "fullscreen"), children: _jsx(Icon, { icon: fullscreen ? Minimize2 : Maximize2, dense: true }) }));
|
|
31
27
|
}
|
|
32
|
-
/**
|
|
33
|
-
* The display modes every view of the bundle supports, for the roots'
|
|
34
|
-
* `bootstrapView({ default, viewConfig })` (#344 N159): inline as a card,
|
|
35
|
-
* fullscreen for the rest. Not picture-in-picture: no view is laid out for a
|
|
36
|
-
* small floating frame, so a host must not offer one.
|
|
37
|
-
*/
|
|
28
|
+
/** #344 N159: no picture-in-picture, since no view is laid out for a small floating frame. */
|
|
38
29
|
export const SHELL_VIEW_CONFIG = { displayModes: ["inline", "fullscreen"] };
|
|
39
30
|
//# sourceMappingURL=display-mode-toggle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"display-mode-toggle.js","sourceRoot":"","sources":["../../src/ui/display-mode-toggle.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAkB,MAAM,OAAO,CAAA;AACjE,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"display-mode-toggle.js","sourceRoot":"","sources":["../../src/ui/display-mode-toggle.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAkB,MAAM,OAAO,CAAA;AACjE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AAC3D,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAS3C,MAAM,UAAU,GAAuB;IACrC,WAAW,EAAE,QAAQ;IACrB,aAAa,EAAE,KAAK;IACpB,OAAO,EAAE,GAAG,EAAE,CAAC,SAAS;CACzB,CAAA;AAED,MAAM,yBAAyB,GAAG,aAAa,CAAqB,UAAU,CAAC,CAAA;AAE/E,MAAM,UAAU,0BAA0B,CAAC,EACzC,OAAO,EACP,QAAQ,GAIT;IACC,OAAO,CACL,KAAC,yBAAyB,CAAC,QAAQ,IAAC,KAAK,EAAE,OAAO,YAC/C,QAAQ,GAC0B,CACtC,CAAA;AACH,CAAC;AAED,MAAM,UAAU,qBAAqB;IACnC,OAAO,UAAU,CAAC,yBAAyB,CAAC,CAAA;AAC9C,CAAC;AAED,gHAAgH;AAChH,MAAM,UAAU,iBAAiB;IAC/B,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,OAAO,EAAE,GAAG,qBAAqB,EAAE,CAAA;IACvE,MAAM,KAAK,GAAG,SAAS,CAAC,SAAS,EAAE,CAAC,CAAA;IACpC,IAAI,CAAC,aAAa;QAAE,OAAO,IAAI,CAAA;IAC/B,MAAM,UAAU,GAAG,WAAW,KAAK,YAAY,CAAA;IAC/C,MAAM,KAAK,GAAG,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAA;IACvE,OAAO,CACL,KAAC,MAAM,IACL,IAAI,EAAC,QAAQ,EACb,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,SAAS,EACd,SAAS,EAAC,UAAU,gBACR,KAAK,EACjB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC,YAE5D,KAAC,IAAI,IAAC,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,EAAE,KAAK,SAAG,GACjD,CACV,CAAA;AACH,CAAC;AAED,8FAA8F;AAC9F,MAAM,CAAC,MAAM,iBAAiB,GAAG,EAAE,YAAY,EAAE,CAAC,QAAQ,EAAE,YAAY,CAAC,EAAW,CAAA"}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import type { Locale } from "
|
|
2
|
-
/**
|
|
3
|
-
* Who failed, as the error text names it: a configured engine (with its id
|
|
4
|
-
* when the message carries one), Prometheus, or nothing the kit recognises.
|
|
5
|
-
*/
|
|
1
|
+
import type { Locale } from "./host-context.js";
|
|
6
2
|
export type ErrorSource = {
|
|
7
3
|
type: "engine";
|
|
8
4
|
id?: string;
|
|
@@ -11,7 +7,6 @@ export type ErrorSource = {
|
|
|
11
7
|
} | {
|
|
12
8
|
type: "unknown";
|
|
13
9
|
};
|
|
14
|
-
/** One error kind's words: what happened (title) and what you can do (hint). */
|
|
15
10
|
export interface ErrorKindLabels {
|
|
16
11
|
title: (p: {
|
|
17
12
|
source: string;
|
|
@@ -21,12 +16,7 @@ export interface ErrorKindLabels {
|
|
|
21
16
|
source: ErrorSource["type"];
|
|
22
17
|
}) => string;
|
|
23
18
|
}
|
|
24
|
-
/**
|
|
25
|
-
* The words of `describeError` (en/de). Voice (brand-tone): a title says what
|
|
26
|
-
* happened, a hint what you can do; German addresses you with du; no dash as
|
|
27
|
-
* a connector. Checked branch by branch (every source, the toast lines) by the
|
|
28
|
-
* catalog text and glossary tests in `brand-gates.test.ts`.
|
|
29
|
-
*/
|
|
19
|
+
/** Checked branch by branch by the catalog text and glossary tests in `kit-words.test.ts`. */
|
|
30
20
|
export interface ErrorLabels {
|
|
31
21
|
/** The source as the subject of a title, sentence-initial. */
|
|
32
22
|
source: (p: {
|
|
@@ -44,22 +34,16 @@ export interface ErrorLabels {
|
|
|
44
34
|
notFound: ErrorKindLabels;
|
|
45
35
|
failed: ErrorKindLabels;
|
|
46
36
|
unknown: ErrorKindLabels;
|
|
47
|
-
/**
|
|
48
|
-
* A failed write's toast. A toast has a title and one line, no "Details":
|
|
49
|
-
* these words never point there, and they carry the reason themselves.
|
|
50
|
-
*/
|
|
37
|
+
/** A toast has no "Details": these words never point there and carry the reason themselves. */
|
|
51
38
|
toast: {
|
|
52
|
-
/** What happened, then the source's own reason, quoted. */
|
|
53
39
|
reason: (p: {
|
|
54
40
|
title: string;
|
|
55
41
|
reason: string;
|
|
56
42
|
}) => string;
|
|
57
|
-
/** `failed`'s next step, without the "Details" sentence. */
|
|
58
43
|
failedHint: () => string;
|
|
59
44
|
/** The write's answer never came (timeout, lost connection): it may have gone through. */
|
|
60
45
|
mayHaveApplied: () => string;
|
|
61
46
|
};
|
|
62
47
|
}
|
|
63
|
-
/** Both label sets, for `describeError` and the catalog text test. */
|
|
64
48
|
export declare const ERROR_LABELS: Readonly<Record<Locale, ErrorLabels>>;
|
|
65
49
|
//# sourceMappingURL=error-labels.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-labels.d.ts","sourceRoot":"","sources":["../../src/ui/error-labels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"error-labels.d.ts","sourceRoot":"","sources":["../../src/ui/error-labels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE/C,MAAM,MAAM,WAAW,GACrB;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,CAAA;AAEhF,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,CAAC,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,MAAM,CAAA;IACxD,IAAI,EAAE,CAAC,CAAC,EAAE;QAAE,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;KAAE,KAAK,MAAM,CAAA;CACrD;AAED,8FAA8F;AAC9F,MAAM,WAAW,WAAW;IAC1B,8DAA8D;IAC9D,MAAM,EAAE,CAAC,CAAC,EAAE;QAAE,MAAM,EAAE,WAAW,CAAA;KAAE,KAAK,MAAM,CAAA;IAC9C,yDAAyD;IACzD,MAAM,EAAE,CAAC,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,MAAM,CAAA;IACzC,WAAW,EAAE,eAAe,CAAA;IAC5B,OAAO,EAAE,eAAe,CAAA;IACxB,WAAW,EAAE,eAAe,CAAA;IAC5B,YAAY,EAAE,eAAe,CAAA;IAC7B,SAAS,EAAE,eAAe,CAAA;IAC1B,QAAQ,EAAE,eAAe,CAAA;IACzB,MAAM,EAAE,eAAe,CAAA;IACvB,OAAO,EAAE,eAAe,CAAA;IACxB,+FAA+F;IAC/F,KAAK,EAAE;QACL,MAAM,EAAE,CAAC,CAAC,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,KAAK,MAAM,CAAA;QACxD,UAAU,EAAE,MAAM,MAAM,CAAA;QACxB,0FAA0F;QAC1F,cAAc,EAAE,MAAM,MAAM,CAAA;KAC7B,CAAA;CACF;AA6HD,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAsB,CAAA"}
|
package/dist/ui/error-labels.js
CHANGED
|
@@ -106,6 +106,5 @@ const DE = {
|
|
|
106
106
|
mayHaveApplied: () => "Vielleicht hat es trotzdem geklappt. Prüf den aktuellen Stand, bevor du es noch mal versuchst.",
|
|
107
107
|
},
|
|
108
108
|
};
|
|
109
|
-
/** Both label sets, for `describeError` and the catalog text test. */
|
|
110
109
|
export const ERROR_LABELS = { en: EN, de: DE };
|
|
111
110
|
//# sourceMappingURL=error-labels.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-labels.js","sourceRoot":"","sources":["../../src/ui/error-labels.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"error-labels.js","sourceRoot":"","sources":["../../src/ui/error-labels.ts"],"names":[],"mappings":"AAiCA,oGAAoG;AACpG,MAAM,MAAM,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAA;AAEhE,MAAM,EAAE,GAAgB;IACtB,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CACrB,MAAM,CAAC,IAA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