@kosdev-code/kos-ui-sdk 0.1.0-next.944 → 0.1.0-next.958
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/.kos.json +2 -1
- package/common/events/async-event-bus.d.ts +2 -11
- package/common/events/async-event-bus.d.ts.map +1 -1
- package/common/events/eventBus.d.ts +1 -18
- package/common/events/eventBus.d.ts.map +1 -1
- package/core/core/decorators/kos-child.d.ts +2 -3
- package/core/core/decorators/kos-child.d.ts.map +1 -1
- package/core/core/decorators/kos-companion.d.ts +25 -87
- package/core/core/decorators/kos-companion.d.ts.map +1 -1
- package/core/core/decorators/kos-container-aware-reconcile.test-d.d.ts +2 -0
- package/core/core/decorators/kos-container-aware-reconcile.test-d.d.ts.map +1 -0
- package/core/core/decorators/kos-container-aware.d.ts +191 -420
- package/core/core/decorators/kos-container-aware.d.ts.map +1 -1
- package/core/core/decorators/kos-execute-service-request.d.ts +7 -11
- package/core/core/decorators/kos-execute-service-request.d.ts.map +1 -1
- package/core/core/decorators/kos-execution-context.d.ts +14 -31
- package/core/core/decorators/kos-execution-context.d.ts.map +1 -1
- package/core/core/decorators/kos-future-aware.d.ts +21 -74
- package/core/core/decorators/kos-future-aware.d.ts.map +1 -1
- package/core/core/decorators/kos-http-decorators.d.ts +18 -62
- package/core/core/decorators/kos-http-decorators.d.ts.map +1 -1
- package/core/core/decorators/kos-logger-aware.d.ts +10 -60
- package/core/core/decorators/kos-logger-aware.d.ts.map +1 -1
- package/core/core/decorators/kos-model-effect.d.ts +10 -9
- package/core/core/decorators/kos-model-effect.d.ts.map +1 -1
- package/core/core/decorators/kos-multiple-future-aware.d.ts +21 -94
- package/core/core/decorators/kos-multiple-future-aware.d.ts.map +1 -1
- package/core/core/decorators/kos-reload-aware.d.ts +14 -16
- package/core/core/decorators/kos-reload-aware.d.ts.map +1 -1
- package/core/core/decorators/kos-service-request.d.ts +80 -238
- package/core/core/decorators/kos-service-request.d.ts.map +1 -1
- package/core/core/decorators/kos-state-machine.d.ts +35 -275
- package/core/core/decorators/kos-state-machine.d.ts.map +1 -1
- package/core/core/decorators/kos-trouble-aware.d.ts +9 -43
- package/core/core/decorators/kos-trouble-aware.d.ts.map +1 -1
- package/core/core/decorators/kos-view-model.d.ts +20 -100
- package/core/core/decorators/kos-view-model.d.ts.map +1 -1
- package/core/core/decorators/kosModel.d.ts.map +1 -1
- package/core/core/decorators/kosTopicHandler.d.ts +28 -89
- package/core/core/decorators/kosTopicHandler.d.ts.map +1 -1
- package/core/core/indexing/index.d.ts +2 -4
- package/core/core/indexing/index.d.ts.map +1 -1
- package/core/core/indexing/kos-container-index-aware.d.ts +17 -48
- package/core/core/indexing/kos-container-index-aware.d.ts.map +1 -1
- package/core/core/indexing/kos-index-aware.d.ts +11 -37
- package/core/core/indexing/kos-index-aware.d.ts.map +1 -1
- package/core/core/kos-container-model.d.ts +11 -32
- package/core/core/kos-container-model.d.ts.map +1 -1
- package/core/core/kos-data-container.d.ts +6 -6
- package/core/core/kos-data-container.d.ts.map +1 -1
- package/core/core/kosCore.d.ts +7 -4
- package/core/core/kosCore.d.ts.map +1 -1
- package/core/core/kosModel.d.ts +16 -8
- package/core/core/kosModel.d.ts.map +1 -1
- package/core/core/kosModelManager.d.ts +2 -3
- package/core/core/kosModelManager.d.ts.map +1 -1
- package/core/core/lifecycle/constants.d.ts +6 -2
- package/core/core/lifecycle/constants.d.ts.map +1 -1
- package/core/core/lifecycle/kosCoreLifecycle.d.ts +11 -1
- package/core/core/lifecycle/kosCoreLifecycle.d.ts.map +1 -1
- package/core/core/lifecycle/kosModelLifecycle.d.ts +6 -0
- package/core/core/lifecycle/kosModelLifecycle.d.ts.map +1 -1
- package/core/core/lifecycle/model-machine.d.ts +6 -0
- package/core/core/lifecycle/model-machine.d.ts.map +1 -1
- package/core/core/model/kos-fsm-manager.d.ts +6 -0
- package/core/core/model/kos-fsm-manager.d.ts.map +1 -1
- package/core/core/model/kos-offline-queue.d.ts +1 -1
- package/core/core/model/service-response-store.d.ts +2 -15
- package/core/core/model/service-response-store.d.ts.map +1 -1
- package/core/core/reconnect/reconnect-fixture.d.ts +17 -0
- package/core/core/reconnect/reconnect-fixture.d.ts.map +1 -0
- package/core/core/services/app-startup-service.d.ts +5 -13
- package/core/core/services/app-startup-service.d.ts.map +1 -1
- package/core/core/services/intent-service.d.ts +3 -12
- package/core/core/services/intent-service.d.ts.map +1 -1
- package/core/core/transport/mock/mock-frames.d.ts +3 -3
- package/core/core/transport/transport.d.ts +1 -1
- package/core/core/transport/transport.d.ts.map +1 -1
- package/core/core/transport/webSocketTransport.d.ts +10 -0
- package/core/core/transport/webSocketTransport.d.ts.map +1 -1
- package/core/types/model.d.ts +4 -8
- package/core/types/model.d.ts.map +1 -1
- package/core/types/service-response-store.d.ts +3 -11
- package/core/types/service-response-store.d.ts.map +1 -1
- package/core/types/utils/kos-fetch.d.ts +25 -37
- package/core/types/utils/kos-fetch.d.ts.map +1 -1
- package/core/util/abortable-when.d.ts +5 -6
- package/core/util/abortable-when.d.ts.map +1 -1
- package/core/util/ancestor-path-visitor.d.ts +14 -20
- package/core/util/ancestor-path-visitor.d.ts.map +1 -1
- package/core/util/container-utils.d.ts +26 -159
- package/core/util/container-utils.d.ts.map +1 -1
- package/core/util/date-utils.d.ts +9 -58
- package/core/util/date-utils.d.ts.map +1 -1
- package/core/util/debounce.d.ts +1 -8
- package/core/util/debounce.d.ts.map +1 -1
- package/core/util/kos-fetch.d.ts +1 -1
- package/core/util/kos-fetch.d.ts.map +1 -1
- package/core/util/kos-model-utils.d.ts +10 -11
- package/core/util/kos-model-utils.d.ts.map +1 -1
- package/core/util/model-attribute-utils.d.ts +5 -22
- package/core/util/model-attribute-utils.d.ts.map +1 -1
- package/core/util/promise-utils.d.ts +1 -26
- package/core/util/promise-utils.d.ts.map +1 -1
- package/core/util/service-factory.d.ts +5 -23
- package/core/util/service-factory.d.ts.map +1 -1
- package/core/util/service-request-error.d.ts +3 -5
- package/core/util/service-request-error.d.ts.map +1 -1
- package/core/util/service-response.d.ts +12 -67
- package/core/util/service-response.d.ts.map +1 -1
- package/core/util/transport-not-ready-error.d.ts +11 -13
- package/core/util/transport-not-ready-error.d.ts.map +1 -1
- package/core/util/when-ready.d.ts +1 -8
- package/core/util/when-ready.d.ts.map +1 -1
- package/index.cjs +144 -109
- package/index.cjs.map +1 -1
- package/index.js +173 -138
- package/index.js.map +1 -1
- package/models/decorators/future-service.d.ts +7 -7
- package/models/models/browser-router/browser-router-model.d.ts +10 -39
- package/models/models/browser-router/browser-router-model.d.ts.map +1 -1
- package/models/models/browser-router/browser-router-registration.d.ts +5 -77
- package/models/models/browser-router/browser-router-registration.d.ts.map +1 -1
- package/models/models/browser-router/types/index.d.ts +2 -16
- package/models/models/canvas-dispatcher/canvas-dispatcher-registration.d.ts +5 -77
- package/models/models/canvas-dispatcher/canvas-dispatcher-registration.d.ts.map +1 -1
- package/models/models/canvas-renderer/canvas-renderer-registration.d.ts +5 -75
- package/models/models/canvas-renderer/canvas-renderer-registration.d.ts.map +1 -1
- package/models/models/config-bean/config-bean-model-builder.d.ts +4 -11
- package/models/models/config-bean/config-bean-model-builder.d.ts.map +1 -1
- package/models/models/config-bean/config-bean-model.d.ts +23 -66
- package/models/models/config-bean/config-bean-model.d.ts.map +1 -1
- package/models/models/config-bean-prop/config-bean-prop-model.d.ts +15 -62
- package/models/models/config-bean-prop/config-bean-prop-model.d.ts.map +1 -1
- package/models/models/config-bean-prop/types/index.d.ts +34 -215
- package/models/models/device/device-model.d.ts +20 -199
- package/models/models/device/device-model.d.ts.map +1 -1
- package/models/models/device/device-registration.d.ts +7 -87
- package/models/models/device/device-registration.d.ts.map +1 -1
- package/models/models/device/types/index.d.ts +5 -34
- package/models/models/future/future-aware.d.ts +7 -71
- package/models/models/future/future-aware.d.ts.map +1 -1
- package/models/models/future/future-model-builder.d.ts +2 -2
- package/models/models/future/future-model.d.ts +3 -23
- package/models/models/future/future-model.d.ts.map +1 -1
- package/models/models/future/future-types.d.ts +28 -145
- package/models/models/future/future-types.d.ts.map +1 -1
- package/models/models/gpio-chip/gpio-chip-builders.d.ts +14 -0
- package/models/models/gpio-chip/gpio-chip-builders.d.ts.map +1 -0
- package/models/models/gpio-chip/gpio-chip-container-model.d.ts +2 -1
- package/models/models/gpio-chip/gpio-chip-container-model.d.ts.map +1 -1
- package/models/models/key-value/key-value-model.d.ts +12 -72
- package/models/models/key-value/key-value-model.d.ts.map +1 -1
- package/models/models/key-value/key-value-registration.d.ts +5 -77
- package/models/models/key-value/key-value-registration.d.ts.map +1 -1
- package/models/models/key-value/services/key-value-services.d.ts +13 -72
- package/models/models/key-value/services/key-value-services.d.ts.map +1 -1
- package/models/models/key-value/types/index.d.ts +3 -46
- package/models/models/kos-expression-evaluator/kos-expression-evaluator-model.d.ts +32 -99
- package/models/models/kos-expression-evaluator/kos-expression-evaluator-model.d.ts.map +1 -1
- package/models/models/kos-expression-evaluator/services/kos-expression-evaluator-services.d.ts +2 -12
- package/models/models/kos-expression-evaluator/services/kos-expression-evaluator-services.d.ts.map +1 -1
- package/models/models/kos-log-manager/kos-log-manager-model.d.ts +7 -46
- package/models/models/kos-log-manager/kos-log-manager-model.d.ts.map +1 -1
- package/models/models/kos-log-manager/kos-log-manager-registration.d.ts +5 -80
- package/models/models/kos-log-manager/kos-log-manager-registration.d.ts.map +1 -1
- package/models/models/kos-log-manager/types/index.d.ts +13 -156
- package/models/models/kos-time/kos-time-model.d.ts +8 -39
- package/models/models/kos-time/kos-time-model.d.ts.map +1 -1
- package/models/models/kos-time/kos-time-registration.d.ts +6 -73
- package/models/models/kos-time/kos-time-registration.d.ts.map +1 -1
- package/models/models/kos-time/types/index.d.ts +3 -58
- package/models/models/log-block/log-block-container-model.d.ts +2 -118
- package/models/models/log-block/log-block-container-model.d.ts.map +1 -1
- package/models/models/log-block/log-block-container-registration.d.ts +5 -75
- package/models/models/log-block/log-block-container-registration.d.ts.map +1 -1
- package/models/models/log-block/log-block-model.d.ts +5 -168
- package/models/models/log-block/log-block-model.d.ts.map +1 -1
- package/models/models/log-block/log-block-registration.d.ts +5 -75
- package/models/models/log-block/log-block-registration.d.ts.map +1 -1
- package/models/models/log-block/types/index.d.ts +14 -81
- package/models/models/log-stream/log-stream-container-model.d.ts +8 -35
- package/models/models/log-stream/log-stream-container-model.d.ts.map +1 -1
- package/models/models/log-stream/log-stream-container-registration.d.ts +5 -75
- package/models/models/log-stream/log-stream-container-registration.d.ts.map +1 -1
- package/models/models/log-stream/log-stream-model.d.ts +8 -29
- package/models/models/log-stream/log-stream-model.d.ts.map +1 -1
- package/models/models/log-stream/log-stream-registration.d.ts +5 -75
- package/models/models/log-stream/log-stream-registration.d.ts.map +1 -1
- package/models/models/log-stream/types/index.d.ts +5 -60
- package/models/models/network-interface/network-interface-container-model.d.ts +6 -35
- package/models/models/network-interface/network-interface-container-model.d.ts.map +1 -1
- package/models/models/network-interface/network-interface-container-registration.d.ts +5 -73
- package/models/models/network-interface/network-interface-container-registration.d.ts.map +1 -1
- package/models/models/network-interface/network-interface-model.d.ts +5 -43
- package/models/models/network-interface/network-interface-model.d.ts.map +1 -1
- package/models/models/network-interface/network-interface-registration.d.ts +5 -73
- package/models/models/network-interface/network-interface-registration.d.ts.map +1 -1
- package/models/models/network-interface/types/index.d.ts +2 -16
- package/models/models/ota/ota-model.d.ts +11 -39
- package/models/models/ota/ota-model.d.ts.map +1 -1
- package/models/models/ota/ota-registration.d.ts +5 -77
- package/models/models/ota/ota-registration.d.ts.map +1 -1
- package/models/models/ota/types/index.d.ts +2 -141
- package/models/models/region-info/types/index.d.ts +19 -99
- package/models/models/region-info/types/index.d.ts.map +1 -1
- package/models/models/software-info/services/software-info-services.d.ts +2 -14
- package/models/models/software-info/services/software-info-services.d.ts.map +1 -1
- package/models/models/software-info/software-info-model.d.ts +3 -39
- package/models/models/software-info/software-info-model.d.ts.map +1 -1
- package/models/models/software-info/software-info-registration.d.ts +6 -73
- package/models/models/software-info/software-info-registration.d.ts.map +1 -1
- package/models/models/software-info/types/index.d.ts +6 -20
- package/models/models/state-bean/state-bean-model.d.ts +10 -41
- package/models/models/state-bean/state-bean-model.d.ts.map +1 -1
- package/models/models/state-bean/state-bean-registration.d.ts +6 -73
- package/models/models/state-bean/state-bean-registration.d.ts.map +1 -1
- package/models/models/state-bean/types/index.d.ts +4 -84
- package/models/models/state-prop/state-prop-model.d.ts +6 -40
- package/models/models/state-prop/state-prop-model.d.ts.map +1 -1
- package/models/models/state-prop/state-prop-registration.d.ts +6 -73
- package/models/models/state-prop/state-prop-registration.d.ts.map +1 -1
- package/models/models/state-prop/types/index.d.ts +5 -37
- package/models/models/storage-device/storage-device-container-model.d.ts +7 -273
- package/models/models/storage-device/storage-device-container-model.d.ts.map +1 -1
- package/models/models/storage-device/storage-device-container-registration.d.ts +5 -75
- package/models/models/storage-device/storage-device-container-registration.d.ts.map +1 -1
- package/models/models/storage-device/storage-device-model.d.ts +3 -49
- package/models/models/storage-device/storage-device-model.d.ts.map +1 -1
- package/models/models/storage-device/storage-device-registration.d.ts +5 -75
- package/models/models/storage-device/storage-device-registration.d.ts.map +1 -1
- package/models/models/storage-device/types/index.d.ts +13 -82
- package/models/models/studio-properties/studio-properties-model.d.ts +13 -36
- package/models/models/studio-properties/studio-properties-model.d.ts.map +1 -1
- package/models/models/studio-properties/studio-properties-registration.d.ts +5 -75
- package/models/models/studio-properties/studio-properties-registration.d.ts.map +1 -1
- package/models/models/studio-properties/types/index.d.ts +2 -24
- package/models/models/translation/descriptor-merge.d.ts +13 -17
- package/models/models/translation/descriptor-merge.d.ts.map +1 -1
- package/models/models/translation/services/translation-services.d.ts +19 -77
- package/models/models/translation/services/translation-services.d.ts.map +1 -1
- package/models/models/translation/test-harness.d.ts +6 -8
- package/models/models/translation/test-harness.d.ts.map +1 -1
- package/models/models/translation/translation-container-model.d.ts +7 -59
- package/models/models/translation/translation-container-model.d.ts.map +1 -1
- package/models/models/translation/translation-container-registration.d.ts +6 -73
- package/models/models/translation/translation-container-registration.d.ts.map +1 -1
- package/models/models/translation/translation-model.d.ts +17 -50
- package/models/models/translation/translation-model.d.ts.map +1 -1
- package/models/models/translation/translation-registration.d.ts +6 -73
- package/models/models/translation/translation-registration.d.ts.map +1 -1
- package/models/models/translation/types/index.d.ts +51 -276
- package/models/models/trouble/trouble-registration.d.ts +6 -73
- package/models/models/trouble/trouble-registration.d.ts.map +1 -1
- package/models/models/trouble/types/index.d.ts +17 -188
- package/models/models/trouble/utils/is-trouble-aware.d.ts +4 -85
- package/models/models/trouble/utils/is-trouble-aware.d.ts.map +1 -1
- package/models/models/trouble-container/trouble-builders.d.ts +11 -0
- package/models/models/trouble-container/trouble-builders.d.ts.map +1 -0
- package/models/models/trouble-container/trouble-container-model.d.ts +2 -1
- package/models/models/trouble-container/trouble-container-model.d.ts.map +1 -1
- package/models/models/usb-update/usb-update-container-registration.d.ts +5 -75
- package/models/models/usb-update/usb-update-container-registration.d.ts.map +1 -1
- package/models/models/usb-update/usb-update-registration.d.ts +5 -75
- package/models/models/usb-update/usb-update-registration.d.ts.map +1 -1
- package/models/types/cancellable-promise.d.ts +6 -9
- package/models/types/cancellable-promise.d.ts.map +1 -1
- package/models/utils/await-future-call.d.ts +9 -21
- package/models/utils/await-future-call.d.ts.map +1 -1
- package/models/utils/cancellable-future-call.d.ts +8 -19
- package/models/utils/cancellable-future-call.d.ts.map +1 -1
- package/models/utils/cancellable-service.d.ts +14 -23
- package/models/utils/cancellable-service.d.ts.map +1 -1
- package/models/utils/conversion-utils.d.ts +8 -48
- package/models/utils/conversion-utils.d.ts.map +1 -1
- package/models/utils/persistence-store.d.ts +1 -1
- package/models/utils/service.d.ts +14 -48
- package/models/utils/service.d.ts.map +1 -1
- package/models/utils/services/kos/daily/service.d.ts +4 -4
- package/models/utils/services/vfs/daily/service.d.ts +4 -4
- package/models/utils/timer-manager.d.ts.map +1 -1
- package/package.json +3 -3
- package/{software-info-registration-CKlTQPet.js → software-info-registration-C8kf-pBB.js} +551 -530
- package/software-info-registration-C8kf-pBB.js.map +1 -0
- package/{software-info-registration-GUbTY4KD.cjs → software-info-registration-Y1iADHWT.cjs} +522 -501
- package/software-info-registration-Y1iADHWT.cjs.map +1 -0
- package/testing/index.d.ts +28 -33
- package/testing/index.d.ts.map +1 -1
- package/testing.cjs +1 -1
- package/testing.cjs.map +1 -1
- package/testing.js +1 -1
- package/testing.js.map +1 -1
- package/ui/components/connection-dev-button/connection-dev-button-styles.d.ts +9 -0
- package/ui/components/connection-dev-button/connection-dev-button-styles.d.ts.map +1 -0
- package/ui/components/connection-dev-button/index.d.ts +36 -0
- package/ui/components/connection-dev-button/index.d.ts.map +1 -0
- package/ui/components/connection-dev-button/use-connection-dev-state.d.ts +29 -0
- package/ui/components/connection-dev-button/use-connection-dev-state.d.ts.map +1 -0
- package/ui/components/index.d.ts +1 -0
- package/ui/components/index.d.ts.map +1 -1
- package/ui/features/canvas/hooks/use-image-renderer.d.ts +5 -4
- package/ui/features/canvas/hooks/use-image-renderer.d.ts.map +1 -1
- package/ui/hooks/use-function-warmup.d.ts +4 -14
- package/ui/hooks/use-function-warmup.d.ts.map +1 -1
- package/ui/hooks/use-kos-date-formats.d.ts +15 -29
- package/ui/hooks/use-kos-date-formats.d.ts.map +1 -1
- package/ui/hooks/use-kos-region-timezones.d.ts +4 -55
- package/ui/hooks/use-kos-region-timezones.d.ts.map +1 -1
- package/ui/hooks/use-kos-regions.d.ts +11 -23
- package/ui/hooks/use-kos-regions.d.ts.map +1 -1
- package/ui/hooks/use-kos-time-formats.d.ts +16 -31
- package/ui/hooks/use-kos-time-formats.d.ts.map +1 -1
- package/ui/hooks/use-kos-unit-systems.d.ts +13 -27
- package/ui/hooks/use-kos-unit-systems.d.ts.map +1 -1
- package/ui/hooks/view-model/use-view-model.d.ts +6 -31
- package/ui/hooks/view-model/use-view-model.d.ts.map +1 -1
- package/ui/policies/reload-on-disconnect-policy.d.ts +5 -6
- package/ui/policies/reload-on-disconnect-policy.d.ts.map +1 -1
- package/software-info-registration-CKlTQPet.js.map +0 -1
- package/software-info-registration-GUbTY4KD.cjs.map +0 -1
|
@@ -4,78 +4,10 @@ import { TranslationContainerModel } from '../translation-container-model';
|
|
|
4
4
|
// --------------- Translation ---------------
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* mechanisms. Translation models handle the actual key resolution and interpolation for
|
|
12
|
-
* specific functional areas within KOS applications.
|
|
13
|
-
*
|
|
14
|
-
* @example Basic Translation Configuration
|
|
15
|
-
* ```typescript
|
|
16
|
-
* // Device status translations with English fallback
|
|
17
|
-
* const statusOptions: TranslationOptions = {
|
|
18
|
-
* namespace: 'device-status',
|
|
19
|
-
* currentLocale: 'es',
|
|
20
|
-
* defaultLocale: 'en',
|
|
21
|
-
* descriptor: {
|
|
22
|
-
* 'es': {
|
|
23
|
-
* fallbacks: ['en']
|
|
24
|
-
* },
|
|
25
|
-
* 'en': {
|
|
26
|
-
* fallbacks: []
|
|
27
|
-
* }
|
|
28
|
-
* },
|
|
29
|
-
* kosParentId: 'translation-container'
|
|
30
|
-
* };
|
|
31
|
-
*
|
|
32
|
-
* const statusTranslation = Translation.instance('status-translations')
|
|
33
|
-
* .options(statusOptions)
|
|
34
|
-
* .build();
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @example Custom Bundle Resolution
|
|
38
|
-
* ```typescript
|
|
39
|
-
* // API-based translation loading
|
|
40
|
-
* const apiBundleResolver = async (
|
|
41
|
-
* namespace: string,
|
|
42
|
-
* locale: string,
|
|
43
|
-
* context?: KosContext
|
|
44
|
-
* ): Promise<TranslationResponse> => {
|
|
45
|
-
* const response = await fetch(`/api/translations/${namespace}/${locale}`);
|
|
46
|
-
* return await response.json();
|
|
47
|
-
* };
|
|
48
|
-
*
|
|
49
|
-
* const apiOptions: TranslationOptions = {
|
|
50
|
-
* namespace: 'alerts',
|
|
51
|
-
* currentLocale: 'fr',
|
|
52
|
-
* defaultLocale: 'en',
|
|
53
|
-
* descriptor: {
|
|
54
|
-
* 'fr': { fallbacks: ['en'] },
|
|
55
|
-
* 'en': { fallbacks: [] }
|
|
56
|
-
* },
|
|
57
|
-
* bundleResolver: apiBundleResolver,
|
|
58
|
-
* kosParentId: 'translation-container'
|
|
59
|
-
* };
|
|
60
|
-
* ```
|
|
61
|
-
*
|
|
62
|
-
* @example Multi-Regional Configuration
|
|
63
|
-
* ```typescript
|
|
64
|
-
* // Complex fallback chains for regional variations
|
|
65
|
-
* const regionalOptions: TranslationOptions = {
|
|
66
|
-
* namespace: 'regional-ui',
|
|
67
|
-
* currentLocale: 'pt-BR',
|
|
68
|
-
* defaultLocale: 'en',
|
|
69
|
-
* descriptor: {
|
|
70
|
-
* 'pt-BR': { fallbacks: ['pt', 'es', 'en'] },
|
|
71
|
-
* 'pt-PT': { fallbacks: ['pt', 'es', 'en'] },
|
|
72
|
-
* 'pt': { fallbacks: ['es', 'en'] },
|
|
73
|
-
* 'es': { fallbacks: ['en'] },
|
|
74
|
-
* 'en': { fallbacks: [] }
|
|
75
|
-
* },
|
|
76
|
-
* kosParentId: 'translation-container'
|
|
77
|
-
* };
|
|
78
|
-
* ```
|
|
7
|
+
* Options for a {@link TranslationModel}, which loads and resolves the keys of
|
|
8
|
+
* one translation namespace. Translation models are normally created by a
|
|
9
|
+
* {@link TranslationContainerModel}, which supplies these options from its
|
|
10
|
+
* descriptor.
|
|
79
11
|
*
|
|
80
12
|
* @kosService core.translation
|
|
81
13
|
* @group KOS Model
|
|
@@ -83,65 +15,45 @@ import { TranslationContainerModel } from '../translation-container-model';
|
|
|
83
15
|
*/
|
|
84
16
|
export interface TranslationOptions extends KosParentAware {
|
|
85
17
|
/**
|
|
86
|
-
*
|
|
87
|
-
* Used to organize translations by functional domain and prevent key conflicts.
|
|
88
|
-
*
|
|
89
|
-
* @example "device-status"
|
|
90
|
-
* @example "user-settings"
|
|
91
|
-
* @example "maintenance-scheduler"
|
|
18
|
+
* Namespace this model serves, usually a feature area such as `"device-status"`.
|
|
92
19
|
*/
|
|
93
20
|
namespace: string;
|
|
94
21
|
|
|
95
|
-
/**
|
|
96
|
-
* Current active locale for this translation model.
|
|
97
|
-
* Determines which language variant to load and display.
|
|
98
|
-
*
|
|
99
|
-
* @example "en" - English
|
|
100
|
-
* @example "es" - Spanish
|
|
101
|
-
* @example "pt-BR" - Brazilian Portuguese
|
|
102
|
-
*/
|
|
22
|
+
/** Active locale, such as `"en"` or `"pt-BR"`. */
|
|
103
23
|
currentLocale: string;
|
|
104
24
|
|
|
105
25
|
/**
|
|
106
|
-
*
|
|
107
|
-
* Typically set to the primary application language.
|
|
26
|
+
* Locale used when the active locale has no descriptor or declares no fallbacks.
|
|
108
27
|
*
|
|
109
28
|
* @default "en"
|
|
110
29
|
*/
|
|
111
30
|
defaultLocale: string;
|
|
112
31
|
|
|
113
|
-
/**
|
|
114
|
-
* Optional base URL for translation file loading.
|
|
115
|
-
* Used with default file-based resolution strategy.
|
|
116
|
-
*
|
|
117
|
-
* @example "/assets/locales"
|
|
118
|
-
* @example "https://cdn.example.com/translations"
|
|
119
|
-
*/
|
|
32
|
+
/** Base URL prepended to translation file paths. */
|
|
120
33
|
rootUrl?: string;
|
|
121
34
|
|
|
122
35
|
/**
|
|
123
|
-
*
|
|
124
|
-
* Maps locale codes to their fallback hierarchy and metadata.
|
|
36
|
+
* Per-locale descriptors, keyed by locale code. Each declares the fallback chain for its locale.
|
|
125
37
|
*/
|
|
126
38
|
descriptor: Record<string, LocaleDescriptor>;
|
|
127
39
|
|
|
128
40
|
/**
|
|
129
|
-
*
|
|
130
|
-
*
|
|
41
|
+
* Builds the path of a namespace's translation file for a locale. Defaults to
|
|
42
|
+
* the resolver the parent container provides.
|
|
131
43
|
*
|
|
132
44
|
* @param namespace - Target translation namespace
|
|
133
45
|
* @param locale - Target locale code
|
|
134
|
-
* @returns
|
|
46
|
+
* @returns Path to the translation file
|
|
135
47
|
*/
|
|
136
48
|
resolver?: (namespace: string, locale: string) => string;
|
|
137
49
|
|
|
138
50
|
/**
|
|
139
|
-
*
|
|
140
|
-
*
|
|
51
|
+
* Loads translation data directly instead of fetching a file. When set,
|
|
52
|
+
* `resolver` is not used.
|
|
141
53
|
*
|
|
142
54
|
* @param namespace - Target translation namespace
|
|
143
55
|
* @param locale - Target locale code
|
|
144
|
-
* @param context - KOS context
|
|
56
|
+
* @param context - KOS context of the translation model
|
|
145
57
|
* @returns Promise resolving to translation data
|
|
146
58
|
*/
|
|
147
59
|
bundleResolver?: (
|
|
@@ -154,97 +66,25 @@ export interface TranslationOptions extends KosParentAware {
|
|
|
154
66
|
// --------------- TranslationContainer ---------------
|
|
155
67
|
|
|
156
68
|
/**
|
|
157
|
-
*
|
|
69
|
+
* Options for a {@link TranslationContainerModel}, which creates one
|
|
70
|
+
* {@link TranslationModel} per namespace as each is first resolved and switches
|
|
71
|
+
* all of them when the application locale changes.
|
|
158
72
|
*
|
|
159
|
-
*
|
|
160
|
-
* which manage multiple translation namespaces and coordinate global locale switching.
|
|
161
|
-
* Containers serve as the central orchestration point for internationalization in KOS
|
|
162
|
-
* applications.
|
|
163
|
-
*
|
|
164
|
-
* @example Basic Container Configuration
|
|
73
|
+
* @example
|
|
165
74
|
* ```typescript
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
* lang: 'es',
|
|
169
|
-
* defaultNamespace: 'common',
|
|
75
|
+
* const options: TranslationContainerOptions = {
|
|
76
|
+
* lang: "es",
|
|
170
77
|
* descriptor: {
|
|
171
78
|
* namespaces: {
|
|
172
|
-
*
|
|
173
|
-
* basePath:
|
|
79
|
+
* common: {
|
|
80
|
+
* basePath: "/assets/locales",
|
|
174
81
|
* locales: {
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
* }
|
|
82
|
+
* en: { file: "en/common.json", defaultLocale: "en" },
|
|
83
|
+
* es: { file: "es/common.json", defaultLocale: "en", fallbacks: ["en"] },
|
|
84
|
+
* },
|
|
179
85
|
* },
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
-
* locales: {
|
|
183
|
-
* 'en': { file: 'en/dashboard.json', defaultLocale: 'en' },
|
|
184
|
-
* 'es': { file: 'es/dashboard.json', defaultLocale: 'en' },
|
|
185
|
-
* 'fr': { file: 'fr/dashboard.json', defaultLocale: 'en' }
|
|
186
|
-
* }
|
|
187
|
-
* }
|
|
188
|
-
* }
|
|
189
|
-
* }
|
|
190
|
-
* };
|
|
191
|
-
*
|
|
192
|
-
* const appTranslations = TranslationContainer.instance('app-i18n')
|
|
193
|
-
* .options(containerOptions)
|
|
194
|
-
* .build();
|
|
195
|
-
* ```
|
|
196
|
-
*
|
|
197
|
-
* @example CDN-Based Translation Loading
|
|
198
|
-
* ```typescript
|
|
199
|
-
* // Custom resolver for CDN-hosted translations
|
|
200
|
-
* const cdnResolver = function(
|
|
201
|
-
* namespace: string,
|
|
202
|
-
* locale: string
|
|
203
|
-
* ): string {
|
|
204
|
-
* return `https://cdn.example.com/translations/${namespace}/${locale}.json`;
|
|
205
|
-
* };
|
|
206
|
-
*
|
|
207
|
-
* const cdnOptions: TranslationContainerOptions = {
|
|
208
|
-
* lang: 'ja',
|
|
209
|
-
* resolver: cdnResolver,
|
|
210
|
-
* descriptor: {
|
|
211
|
-
* namespaces: {
|
|
212
|
-
* 'device-control': {
|
|
213
|
-
* basePath: '', // Ignored with custom resolver
|
|
214
|
-
* locales: {
|
|
215
|
-
* 'ja': { file: '', defaultLocale: 'en' },
|
|
216
|
-
* 'en': { file: '', defaultLocale: 'en' }
|
|
217
|
-
* }
|
|
218
|
-
* }
|
|
219
|
-
* }
|
|
220
|
-
* }
|
|
221
|
-
* };
|
|
222
|
-
* ```
|
|
223
|
-
*
|
|
224
|
-
* @example Development Environment Setup
|
|
225
|
-
* ```typescript
|
|
226
|
-
* // Hot-reload friendly configuration for development
|
|
227
|
-
* const devOptions: TranslationContainerOptions = {
|
|
228
|
-
* lang: 'en',
|
|
229
|
-
* rootUrl: '/dev-translations',
|
|
230
|
-
* descriptor: {
|
|
231
|
-
* namespaces: {
|
|
232
|
-
* 'ui': {
|
|
233
|
-
* basePath: '/ui-translations',
|
|
234
|
-
* locales: {
|
|
235
|
-
* 'en': { file: 'en/ui.json', defaultLocale: 'en' },
|
|
236
|
-
* 'es': { file: 'es/ui.json', defaultLocale: 'en' }
|
|
237
|
-
* }
|
|
238
|
-
* },
|
|
239
|
-
* 'forms': {
|
|
240
|
-
* basePath: '/form-translations',
|
|
241
|
-
* locales: {
|
|
242
|
-
* 'en': { file: 'en/forms.json', defaultLocale: 'en' },
|
|
243
|
-
* 'es': { file: 'es/forms.json', defaultLocale: 'en' }
|
|
244
|
-
* }
|
|
245
|
-
* }
|
|
246
|
-
* }
|
|
247
|
-
* }
|
|
86
|
+
* },
|
|
87
|
+
* },
|
|
248
88
|
* };
|
|
249
89
|
* ```
|
|
250
90
|
*
|
|
@@ -253,58 +93,30 @@ export interface TranslationOptions extends KosParentAware {
|
|
|
253
93
|
* @category i18n
|
|
254
94
|
*/
|
|
255
95
|
export interface TranslationContainerOptions {
|
|
256
|
-
/**
|
|
257
|
-
* Current application-wide locale setting.
|
|
258
|
-
* Applied to all child translation models when they are created or updated.
|
|
259
|
-
*
|
|
260
|
-
* @example "en" - English
|
|
261
|
-
* @example "es" - Spanish
|
|
262
|
-
* @example "pt-BR" - Brazilian Portuguese
|
|
263
|
-
*/
|
|
96
|
+
/** Application-wide locale, applied to every namespace model. */
|
|
264
97
|
lang: string;
|
|
265
98
|
|
|
266
|
-
/**
|
|
267
|
-
* Comprehensive locale and namespace descriptor defining the complete
|
|
268
|
-
* translation structure for the application.
|
|
269
|
-
*/
|
|
99
|
+
/** Namespaces and the locale files each one provides. */
|
|
270
100
|
descriptor: Localization;
|
|
271
101
|
|
|
272
102
|
/**
|
|
273
|
-
*
|
|
274
|
-
* When specified, provides easy access to shared UI elements and messages.
|
|
275
|
-
*
|
|
276
|
-
* @example "common"
|
|
277
|
-
* @example "shared"
|
|
278
|
-
* @example "ui-elements"
|
|
103
|
+
* Namespace exposed as the container's `defaultNamespace` model, such as `"common"`.
|
|
279
104
|
*/
|
|
280
105
|
defaultNamespace?: string;
|
|
281
106
|
|
|
282
|
-
/**
|
|
283
|
-
* Optional base URL for all translation file loading.
|
|
284
|
-
* Applied as prefix to all translation resource paths.
|
|
285
|
-
*
|
|
286
|
-
* @example "/assets/locales"
|
|
287
|
-
* @example "https://cdn.example.com/app-translations"
|
|
288
|
-
* @example "/tenant-specific/translations"
|
|
289
|
-
*/
|
|
107
|
+
/** Base URL prepended to every translation file path. */
|
|
290
108
|
rootUrl?: string;
|
|
291
109
|
|
|
292
|
-
/**
|
|
293
|
-
* Optional URL for loading translation descriptor dynamically.
|
|
294
|
-
* Enables runtime configuration of translation structure.
|
|
295
|
-
*
|
|
296
|
-
* @example "/api/translations/descriptor"
|
|
297
|
-
* @example "https://config.example.com/translation-manifest.json"
|
|
298
|
-
*/
|
|
110
|
+
/** URL of the localization descriptor. */
|
|
299
111
|
descriptorUrl?: string;
|
|
300
112
|
|
|
301
113
|
/**
|
|
302
|
-
*
|
|
303
|
-
*
|
|
114
|
+
* Builds the path of a namespace's translation file for a locale, replacing
|
|
115
|
+
* the default path construction for every namespace.
|
|
304
116
|
*
|
|
305
117
|
* @param namespace - Target translation namespace
|
|
306
118
|
* @param locale - Target locale code
|
|
307
|
-
* @returns
|
|
119
|
+
* @returns Path to the translation file
|
|
308
120
|
*/
|
|
309
121
|
resolver?: (
|
|
310
122
|
this: TranslationContainerModel,
|
|
@@ -313,23 +125,18 @@ export interface TranslationContainerOptions {
|
|
|
313
125
|
) => string;
|
|
314
126
|
|
|
315
127
|
/**
|
|
316
|
-
*
|
|
317
|
-
*
|
|
318
|
-
* not consulted and no file is fetched — the container asks this function for
|
|
319
|
-
* the translation data instead.
|
|
128
|
+
* Loads translation data for every namespace this container serves, instead of
|
|
129
|
+
* fetching files. When set, `resolver` is not used.
|
|
320
130
|
*
|
|
321
|
-
* Each namespace's
|
|
322
|
-
* chain
|
|
323
|
-
*
|
|
324
|
-
*
|
|
325
|
-
*
|
|
326
|
-
* This is the seam for loading translations from somewhere other than static
|
|
327
|
-
* files — an API, device storage, an in-memory catalog — and the seam tests
|
|
328
|
-
* use to drive a container without a network.
|
|
131
|
+
* Each namespace's translation model calls it once per locale in its fallback
|
|
132
|
+
* chain and merges the results in chain order, as it does for loaded files. A
|
|
133
|
+
* `bundleResolver` passed directly to a `Translation` takes precedence. Use it to
|
|
134
|
+
* serve translations from an API, device storage or an in-memory catalog, or to
|
|
135
|
+
* drive a container in tests.
|
|
329
136
|
*
|
|
330
137
|
* @param namespace - Target translation namespace
|
|
331
138
|
* @param locale - Target locale code
|
|
332
|
-
* @param context - KOS context
|
|
139
|
+
* @param context - KOS context of the translation model
|
|
333
140
|
* @returns Promise resolving to translation data
|
|
334
141
|
*/
|
|
335
142
|
bundleResolver?: (
|
|
@@ -340,10 +147,8 @@ export interface TranslationContainerOptions {
|
|
|
340
147
|
}
|
|
341
148
|
|
|
342
149
|
/**
|
|
343
|
-
*
|
|
344
|
-
*
|
|
345
|
-
* Translation models support sophisticated variable substitution patterns
|
|
346
|
-
* for dynamic content in internationalized applications.
|
|
150
|
+
* Options for resolving a translation key: either a default value string, or an
|
|
151
|
+
* object.
|
|
347
152
|
*
|
|
348
153
|
* @kosService core.translation
|
|
349
154
|
* @group KOS Model
|
|
@@ -351,51 +156,21 @@ export interface TranslationContainerOptions {
|
|
|
351
156
|
*/
|
|
352
157
|
export type ResolveTranslationOptions<T = string> =
|
|
353
158
|
| {
|
|
354
|
-
/**
|
|
355
|
-
* Context variables for template-based interpolation using {{variable}} syntax.
|
|
356
|
-
*
|
|
357
|
-
* @example
|
|
358
|
-
* ```typescript
|
|
359
|
-
* t('welcome.message', {
|
|
360
|
-
* context: { username: 'John', unreadCount: 5 }
|
|
361
|
-
* })
|
|
362
|
-
* // "Welcome {{username}}, you have {{unreadCount}} messages"
|
|
363
|
-
* // Result: "Welcome John, you have 5 messages"
|
|
364
|
-
* ```
|
|
365
|
-
*/
|
|
159
|
+
/** Values substituted into `{{variable}}` placeholders. */
|
|
366
160
|
context?: Record<string, any>;
|
|
367
161
|
|
|
368
162
|
/**
|
|
369
|
-
*
|
|
370
|
-
*
|
|
371
|
-
* @example
|
|
372
|
-
* ```typescript
|
|
373
|
-
* t('system.info', {
|
|
374
|
-
* data: { version: '2.1.0', platform: 'Linux' }
|
|
375
|
-
* })
|
|
376
|
-
* // "System __version__ running on __platform__"
|
|
377
|
-
* // Result: "System 2.1.0 running on Linux"
|
|
378
|
-
* ```
|
|
163
|
+
* Values substituted into `{{variable}}` placeholders; takes precedence over the options object itself.
|
|
379
164
|
*/
|
|
380
165
|
data?: Record<string, any>;
|
|
381
166
|
|
|
382
167
|
/**
|
|
383
|
-
*
|
|
384
|
-
*
|
|
385
|
-
*
|
|
386
|
-
* @example
|
|
387
|
-
* ```typescript
|
|
388
|
-
* // Translation file: { "title": "Create", "title_edit": "Update" }
|
|
389
|
-
* t('title', { context: 'edit' })
|
|
390
|
-
* // Resolves to "title_edit" key, returns "Update"
|
|
391
|
-
* ```
|
|
168
|
+
* Suffix that selects a variant key: with `context: "edit"`, key `title`
|
|
169
|
+
* resolves `title_edit` when it exists.
|
|
392
170
|
*/
|
|
393
171
|
context?: string;
|
|
394
172
|
|
|
395
|
-
/**
|
|
396
|
-
* Fallback value when translation key is not found.
|
|
397
|
-
* Ensures graceful degradation for missing translations.
|
|
398
|
-
*/
|
|
173
|
+
/** Value returned when the key is not found. */
|
|
399
174
|
defaultValue?: T;
|
|
400
175
|
}
|
|
401
176
|
| string;
|
|
@@ -1,83 +1,16 @@
|
|
|
1
1
|
import { KosModelRegistrationBean } from '../../../core';
|
|
2
2
|
import { TroubleModel, TroubleOptions } from './types';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Registration for {@link TroubleModel}.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* The type property is a string that identifies the model type.
|
|
10
|
-
* The type is used to identify the model type in the model registry and to narrow down the model type in type predicates. It's most frequently
|
|
11
|
-
* used when declaring dependencies on models.
|
|
6
|
+
* `type` identifies the model in the registry and in `@kosDependency` declarations.
|
|
7
|
+
* `factory(id)(options)` creates the model, or returns the existing one when the id is already in use. `predicate` narrows a model to `TroubleModel`.
|
|
8
|
+
* Spread `registration` into an application's model registry.
|
|
12
9
|
*
|
|
13
10
|
* @example
|
|
14
11
|
* ```typescript
|
|
15
|
-
*
|
|
16
|
-
* @kosDependency({modelType: Translation.type, id: "translationId"})
|
|
17
|
-
* private translationModel: TranslationModel;
|
|
12
|
+
* const model = Trouble.factory("troubleId")(options);
|
|
18
13
|
* ```
|
|
19
|
-
|
|
20
|
-
*
|
|
21
|
-
* ## factory
|
|
22
|
-
*
|
|
23
|
-
* The factory method creates a factory function that can be used to create new TranslationModel instances.
|
|
24
|
-
*
|
|
25
|
-
|
|
26
|
-
* The factory function is a curried function that takes the model id as the first argument and the options as the second argument.
|
|
27
|
-
*
|
|
28
|
-
* If a model with the specified id already exists, the factory function will return the existing model. The options will be ignored
|
|
29
|
-
* in this case and the existing model will be returned in its current state.
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
* ```typescript
|
|
33
|
-
* const model = Translation.factory("translationId")({
|
|
34
|
-
* // Add option data
|
|
35
|
-
* });
|
|
36
|
-
* ```
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
*
|
|
40
|
-
* ## predicate
|
|
41
|
-
*
|
|
42
|
-
* [Typescript type predicate](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#using-type-predicates) function that will identify and narrow down a model to a TranslationModel.
|
|
43
|
-
*
|
|
44
|
-
* @example
|
|
45
|
-
* ```typescript
|
|
46
|
-
*
|
|
47
|
-
* const model: IKosDataModel = ...; // some model
|
|
48
|
-
*
|
|
49
|
-
* if (Translation.predicate(model)) {
|
|
50
|
-
* // if the function evaluates to true, the model is narrowed down to TranslationModel
|
|
51
|
-
* // and the compiler will know that the model has the TranslationModel interface
|
|
52
|
-
* model.updateAvailability(false);
|
|
53
|
-
* }
|
|
54
|
-
* ```
|
|
55
|
-
*
|
|
56
|
-
* ## registration
|
|
57
|
-
*
|
|
58
|
-
* The registration property is an object that can be used to simplify registration of the model with the model registry. The registration object
|
|
59
|
-
* can be spread into the model registration and provides all of the required information to register the model implementation class against the model type.
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
* @example
|
|
63
|
-
*
|
|
64
|
-
* In an application registration file you can declare the model registration as follows:
|
|
65
|
-
*
|
|
66
|
-
* **registration.ts**
|
|
67
|
-
* ```typescript
|
|
68
|
-
* import { Translation } from "@kosdev-code/kos-dispense-sdk";
|
|
69
|
-
* ...
|
|
70
|
-
* import { ExtensionManager, IKosRegistry } from "@kosdev-code/kos-ui-sdk";
|
|
71
|
-
* export const kosModels: IKosRegistry["models"] = {
|
|
72
|
-
* ...Translation.registration,
|
|
73
|
-
* };
|
|
74
|
-
* ```
|
|
75
|
-
*
|
|
76
|
-
* ## registration.singleton
|
|
77
|
-
|
|
78
|
-
* The translation model is NOT a singleton model. This means that each time the factory function is called with a unique ID, a new model instance will be created.
|
|
79
|
-
* If the factory function is called with an ID that already exists, the existing model will be returned.
|
|
80
|
-
|
|
81
|
-
* */
|
|
14
|
+
*/
|
|
82
15
|
export declare const Trouble: Readonly<KosModelRegistrationBean<TroubleModel, TroubleOptions>>;
|
|
83
16
|
//# sourceMappingURL=trouble-registration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trouble-registration.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-ui-sdk/src/models/models/trouble/trouble-registration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAG9D,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE5D
|
|
1
|
+
{"version":3,"file":"trouble-registration.d.ts","sourceRoot":"","sources":["../../../../../../packages/kos-ui-sdk/src/models/models/trouble/trouble-registration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAG9D,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE5D;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,OAAO,EAAE,QAAQ,CAC5B,wBAAwB,CAAC,YAAY,EAAE,cAAc,CAAC,CAWvD,CAAC"}
|