@kosdev-code/kos-ui-sdk 2.0.41 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/core/decorators/index.d.ts +4 -0
- package/core/core/decorators/index.d.ts.map +1 -1
- package/core/core/decorators/kos-companion.d.ts +125 -8
- package/core/core/decorators/kos-companion.d.ts.map +1 -1
- package/core/core/decorators/kos-container-aware.d.ts +465 -0
- package/core/core/decorators/kos-container-aware.d.ts.map +1 -0
- package/core/core/decorators/kos-future-aware.d.ts +150 -0
- package/core/core/decorators/kos-future-aware.d.ts.map +1 -0
- package/core/core/decorators/kos-logger-aware.d.ts +96 -0
- package/core/core/decorators/kos-logger-aware.d.ts.map +1 -0
- package/core/core/decorators/kos-trouble-aware.d.ts +71 -0
- package/core/core/decorators/kos-trouble-aware.d.ts.map +1 -0
- package/core/core/decorators/kosModel.d.ts +8 -2
- package/core/core/decorators/kosModel.d.ts.map +1 -1
- package/core/core/decorators/kosTopicHandler.d.ts.map +1 -1
- package/core/core/decorators/propKeys.d.ts +4 -0
- package/core/core/decorators/propKeys.d.ts.map +1 -1
- package/core/core/extension/extension-manager.d.ts +1 -1
- package/core/core/extension/extension-manager.d.ts.map +1 -1
- package/core/core/kosCore.d.ts.map +1 -1
- package/core/core/registration/index.d.ts +1 -0
- package/core/core/registration/index.d.ts.map +1 -1
- package/core/index.d.ts +1 -1
- package/core/index.d.ts.map +1 -1
- package/core/util/container-utils.d.ts +3 -2
- package/core/util/container-utils.d.ts.map +1 -1
- package/core/util/observable-proxy-map.d.ts.map +1 -1
- package/index.cjs +79 -76
- package/index.cjs.map +1 -1
- package/index.d.cts +1 -0
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +9672 -7760
- package/index.js.map +1 -1
- package/models/models/browser-router/browser-router-model.d.ts +80 -1
- package/models/models/browser-router/browser-router-model.d.ts.map +1 -1
- package/models/models/browser-router/types/index.d.ts +25 -1
- package/models/models/config-bean/config-bean-model-builder.d.ts +4 -2
- package/models/models/config-bean/config-bean-model-builder.d.ts.map +1 -1
- package/models/models/config-bean/config-bean-model.d.ts +117 -13
- package/models/models/config-bean/config-bean-model.d.ts.map +1 -1
- package/models/models/config-bean/config-bean-types.d.ts +6 -3
- package/models/models/config-bean/config-bean-types.d.ts.map +1 -1
- package/models/models/config-bean/types/index.d.ts +33 -0
- package/models/models/config-bean-prop/config-bean-prop-model.d.ts +112 -1
- 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 +293 -17
- package/models/models/device/device-model.d.ts +219 -9
- package/models/models/device/device-model.d.ts.map +1 -1
- package/models/models/device/device-registration.d.ts +61 -48
- package/models/models/device/device-registration.d.ts.map +1 -1
- package/models/models/device/types/index.d.ts +41 -0
- package/models/models/future/future-aware.d.ts +82 -0
- package/models/models/future/future-aware.d.ts.map +1 -1
- package/models/models/future/future-model.d.ts +34 -5
- package/models/models/future/future-model.d.ts.map +1 -1
- package/models/models/future/future-types.d.ts +186 -7
- package/models/models/future/future-types.d.ts.map +1 -1
- package/models/models/future-container/future-container-model.d.ts +2 -2
- package/models/models/index.d.ts +1 -0
- package/models/models/index.d.ts.map +1 -1
- package/models/models/key-value/index.d.ts +4 -0
- package/models/models/key-value/index.d.ts.map +1 -1
- package/models/models/key-value/key-value-model.d.ts +111 -0
- package/models/models/key-value/key-value-model.d.ts.map +1 -1
- package/models/models/key-value/services/key-value-services.d.ts +124 -2
- package/models/models/key-value/services/key-value-services.d.ts.map +1 -1
- package/models/models/key-value/types/index.d.ts +56 -0
- package/models/models/kos-expression-evaluator/index.d.ts +4 -0
- package/models/models/kos-expression-evaluator/index.d.ts.map +1 -0
- package/models/models/kos-expression-evaluator/kos-expression-evaluator-model.d.ts +209 -0
- package/models/models/kos-expression-evaluator/kos-expression-evaluator-model.d.ts.map +1 -0
- package/models/models/kos-expression-evaluator/services/index.d.ts +6 -0
- package/models/models/kos-expression-evaluator/services/index.d.ts.map +1 -0
- package/models/models/kos-expression-evaluator/services/kos-expression-evaluator-services.d.ts +15 -0
- package/models/models/kos-expression-evaluator/services/kos-expression-evaluator-services.d.ts.map +1 -0
- package/models/models/kos-expression-evaluator/types/index.d.ts +1 -0
- package/models/models/kos-log-manager/kos-log-manager-model.d.ts +61 -14
- package/models/models/kos-log-manager/kos-log-manager-model.d.ts.map +1 -1
- package/models/models/kos-log-manager/types/index.d.ts +187 -0
- package/models/models/kos-time/kos-time-model.d.ts +64 -0
- package/models/models/kos-time/kos-time-model.d.ts.map +1 -1
- package/models/models/kos-time/types/index.d.ts +80 -0
- package/models/models/log-block/log-block-container-model.d.ts +132 -0
- package/models/models/log-block/log-block-container-model.d.ts.map +1 -1
- package/models/models/log-block/log-block-model.d.ts +185 -0
- package/models/models/log-block/log-block-model.d.ts.map +1 -1
- package/models/models/log-block/types/index.d.ts +129 -0
- package/models/models/log-stream/index.d.ts +6 -2
- package/models/models/log-stream/index.d.ts.map +1 -1
- package/models/models/log-stream/log-stream-container-model.d.ts +62 -0
- package/models/models/log-stream/log-stream-container-model.d.ts.map +1 -1
- package/models/models/log-stream/log-stream-model.d.ts +55 -0
- package/models/models/log-stream/log-stream-model.d.ts.map +1 -1
- package/models/models/log-stream/services/log-stream-services.d.ts +2 -1
- package/models/models/log-stream/services/log-stream-services.d.ts.map +1 -1
- package/models/models/log-stream/types/index.d.ts +77 -0
- package/models/models/network-interface/index.d.ts +6 -2
- package/models/models/network-interface/index.d.ts.map +1 -1
- package/models/models/network-interface/network-interface-container-model.d.ts +62 -0
- 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 +2 -1
- package/models/models/network-interface/network-interface-container-registration.d.ts.map +1 -1
- package/models/models/network-interface/network-interface-model.d.ts +77 -0
- package/models/models/network-interface/network-interface-model.d.ts.map +1 -1
- package/models/models/network-interface/network-interface-registration.d.ts +2 -1
- package/models/models/network-interface/network-interface-registration.d.ts.map +1 -1
- package/models/models/network-interface/services/network-interface-services.d.ts +54 -0
- package/models/models/network-interface/services/network-interface-services.d.ts.map +1 -1
- package/models/models/network-interface/types/index.d.ts +21 -0
- package/models/models/ota/ota-model.d.ts +82 -3
- package/models/models/ota/ota-model.d.ts.map +1 -1
- package/models/models/ota/types/index.d.ts +146 -0
- package/models/models/region-info/region-info-model.d.ts +7 -3
- package/models/models/region-info/region-info-model.d.ts.map +1 -1
- package/models/models/region-info/services/region-info-services.d.ts.map +1 -1
- package/models/models/region-info/types/index.d.ts +141 -13
- package/models/models/region-info/types/index.d.ts.map +1 -1
- package/models/models/software-info/software-info-model.d.ts +74 -2
- package/models/models/software-info/software-info-model.d.ts.map +1 -1
- package/models/models/software-info/types/index.d.ts +48 -16
- package/models/models/state-bean/state-bean-model.d.ts +86 -9
- package/models/models/state-bean/state-bean-model.d.ts.map +1 -1
- package/models/models/state-bean/types/index.d.ts +114 -6
- package/models/models/state-prop/state-prop-model.d.ts +78 -1
- package/models/models/state-prop/state-prop-model.d.ts.map +1 -1
- package/models/models/state-prop/types/index.d.ts +55 -7
- package/models/models/storage-device/storage-device-container-model.d.ts +289 -2
- package/models/models/storage-device/storage-device-container-model.d.ts.map +1 -1
- package/models/models/storage-device/storage-device-model.d.ts +84 -2
- package/models/models/storage-device/storage-device-model.d.ts.map +1 -1
- package/models/models/storage-device/types/index.d.ts +112 -0
- package/models/models/studio-properties/studio-properties-model.d.ts +75 -0
- package/models/models/studio-properties/studio-properties-model.d.ts.map +1 -1
- package/models/models/studio-properties/types/index.d.ts +29 -0
- package/models/models/translation/services/translation-services.d.ts +128 -2
- package/models/models/translation/services/translation-services.d.ts.map +1 -1
- package/models/models/translation/translation-container-model.d.ts +100 -10
- package/models/models/translation/translation-container-model.d.ts.map +1 -1
- package/models/models/translation/translation-container-registration.d.ts +2 -1
- package/models/models/translation/translation-container-registration.d.ts.map +1 -1
- package/models/models/translation/translation-context.d.ts +1 -16
- package/models/models/translation/translation-context.d.ts.map +1 -1
- package/models/models/translation/translation-model.d.ts +113 -1
- package/models/models/translation/translation-model.d.ts.map +1 -1
- package/models/models/translation/types/index.d.ts +340 -0
- package/models/models/trouble/services/trouble-services.d.ts +3 -3
- package/models/models/trouble/services/trouble-services.d.ts.map +1 -1
- package/models/models/trouble/trouble-model.d.ts +2 -1
- package/models/models/trouble/trouble-model.d.ts.map +1 -1
- package/models/models/trouble/types/index.d.ts +22 -93
- package/models/models/trouble/utils/is-trouble-aware.d.ts +2 -2
- package/models/models/trouble/utils/is-trouble-aware.d.ts.map +1 -1
- package/models/models/trouble-container/index.d.ts +4 -3
- package/models/models/trouble-container/index.d.ts.map +1 -1
- package/models/models/trouble-container/trouble-container-model.d.ts +9 -5
- package/models/models/trouble-container/trouble-container-model.d.ts.map +1 -1
- package/models/models/trouble-container/types/index.d.ts +2 -15
- package/models/utils/client.d.ts +8 -8
- package/models/utils/core-registration-manager.d.ts +1 -1
- package/models/utils/core-registration-manager.d.ts.map +1 -1
- package/models/utils/index.d.ts +0 -2
- package/models/utils/index.d.ts.map +1 -1
- package/models/utils/service.d.ts +9 -9
- package/package.json +2 -2
- package/ui/contexts/state-bean/state-bean-provider.d.ts.map +1 -1
- package/ui/hooks/state-bean/use-state-bean.d.ts +2 -2
- package/ui/hooks/state-bean/use-state-bean.d.ts.map +1 -1
- package/ui/hooks/state-bean/with-state-bean.d.ts.map +1 -1
- package/ui/hooks/translation-container/use-translation-container.d.ts +4 -33
- package/ui/hooks/translation-container/use-translation-container.d.ts.map +1 -1
- package/models/models/trouble-container/trouble-container-registration.d.ts +0 -5
- package/models/models/trouble-container/trouble-container-registration.d.ts.map +0 -1
- package/models/utils/kosmodel-compatible-future-mixin.d.ts +0 -142
- package/models/utils/kosmodel-compatible-future-mixin.d.ts.map +0 -1
- package/models/utils/kosmodel-interface-companion-mixin.d.ts +0 -83
- package/models/utils/kosmodel-interface-companion-mixin.d.ts.map +0 -1
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { FutureAwareContainer, IFutureModel } from '../../../models/models/future/future-types';
|
|
2
|
+
|
|
3
|
+
export interface KosFutureAwareOptions {
|
|
4
|
+
/** Setup mode: 'full' includes all UI properties, 'minimal' only futureHandler. Default: 'full' */
|
|
5
|
+
mode?: "full" | "minimal";
|
|
6
|
+
/** Custom futureHandler property name. Default: 'futureHandler' */
|
|
7
|
+
handlerProperty?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Interface for models using @kosFutureAware in minimal mode.
|
|
11
|
+
* Use TypeScript interface merging to add the futureHandler property to your model class.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* Add ESLint disable comment at top of file, then:
|
|
15
|
+
* ```typescript
|
|
16
|
+
* interface BackgroundServiceModelImpl extends KosFutureAwareMinimal {}
|
|
17
|
+
*
|
|
18
|
+
* kosFutureAware({ mode: 'minimal' })
|
|
19
|
+
* class BackgroundServiceModelImpl implements IKosDataModel {
|
|
20
|
+
* // futureHandler is now available via interface merging
|
|
21
|
+
* }
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export interface KosFutureAwareMinimal<T extends object = Record<string, unknown>> {
|
|
25
|
+
/**
|
|
26
|
+
* Core future management container that handles Future lifecycle operations.
|
|
27
|
+
* Provides methods to add, remove, and query Future instances.
|
|
28
|
+
* Automatically injected by @kosFutureAware decorator.
|
|
29
|
+
*/
|
|
30
|
+
futureHandler: FutureAwareContainer<T>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Interface for models using @kosFutureAware in full mode (default).
|
|
34
|
+
* Use TypeScript interface merging to add all Future Container properties to your model class.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* Add ESLint disable comment at top of file, then:
|
|
38
|
+
* ```typescript
|
|
39
|
+
* interface CopyLogsModelImpl extends KosFutureAwareFull<CopyProgress> {}
|
|
40
|
+
*
|
|
41
|
+
* kosFutureAware() // defaults to full mode
|
|
42
|
+
* class CopyLogsModelImpl implements IKosDataModel {
|
|
43
|
+
* // All Future Container properties are now available automatically
|
|
44
|
+
*
|
|
45
|
+
* onFutureUpdate?(future: IFutureModel<CopyProgress>): void {
|
|
46
|
+
* // Access typed clientData
|
|
47
|
+
* }
|
|
48
|
+
* }
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
export interface KosFutureAwareFull<T extends object = Record<string, unknown>> extends KosFutureAwareMinimal<T> {
|
|
52
|
+
/**
|
|
53
|
+
* Current active Future model instance containing operation details.
|
|
54
|
+
* Undefined when no operation is active. Automatically updated when
|
|
55
|
+
* operations start, progress, complete, or fail.
|
|
56
|
+
*/
|
|
57
|
+
future?: IFutureModel<T>;
|
|
58
|
+
/**
|
|
59
|
+
* Current operation progress as a percentage (0-100).
|
|
60
|
+
* Returns 0 when no Future is active. Updates automatically as the
|
|
61
|
+
* Future operation progresses via WebSocket events.
|
|
62
|
+
*/
|
|
63
|
+
progress: number;
|
|
64
|
+
/**
|
|
65
|
+
* Current operation status string representation.
|
|
66
|
+
* Common values: "IDLE", "IN_PROGRESS", "SUCCESS", "ERROR", "CANCELLED".
|
|
67
|
+
* Returns "IDLE" when no Future is active.
|
|
68
|
+
*/
|
|
69
|
+
status: string;
|
|
70
|
+
/**
|
|
71
|
+
* Whether an operation is currently actively executing.
|
|
72
|
+
* True when Future exists and has not reached an end state.
|
|
73
|
+
* False when no Future exists or operation has completed/failed/cancelled.
|
|
74
|
+
*/
|
|
75
|
+
isRunning: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Whether the current or most recent operation was cancelled.
|
|
78
|
+
* Remains true after cancellation for status tracking until a new
|
|
79
|
+
* operation starts. False if operation completed normally or failed.
|
|
80
|
+
*/
|
|
81
|
+
isCancelled: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Cancels the currently running Future operation.
|
|
84
|
+
* Sends cancellation request to the backend service managing the Future.
|
|
85
|
+
* No-op if no Future is currently active.
|
|
86
|
+
* @returns Promise that resolves when cancellation is acknowledged
|
|
87
|
+
* @throws Error if cancellation request fails
|
|
88
|
+
*/
|
|
89
|
+
cancelFuture(): Promise<void>;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Class decorator that automatically adds Future Container capabilities to a KOS model.
|
|
93
|
+
*
|
|
94
|
+
* This decorator eliminates the need for manual Future Container setup by:
|
|
95
|
+
* - Adding a futureHandler property for managing Future operations
|
|
96
|
+
* - Adding reactive getters for future, progress, status, isRunning, isCancelled (in full mode)
|
|
97
|
+
* - Adding cancelFuture method for canceling operations (in full mode)
|
|
98
|
+
*
|
|
99
|
+
* **Important**: Use TypeScript interface merging to get proper type information:
|
|
100
|
+
*
|
|
101
|
+
* ```typescript
|
|
102
|
+
* // Add ESLint disable comment at top of file, then:
|
|
103
|
+
* interface MyModelImpl extends KosFutureAwareFull<MyDataType> {}
|
|
104
|
+
*
|
|
105
|
+
* kosFutureAware()
|
|
106
|
+
* class MyModelImpl implements IKosDataModel {
|
|
107
|
+
* // All Future properties are now available with full type safety
|
|
108
|
+
* }
|
|
109
|
+
* ```
|
|
110
|
+
*
|
|
111
|
+
* Note: This decorator supports single Future operations. For models that need to manage
|
|
112
|
+
* multiple concurrent Futures, use @kosMultiFutureAware (coming soon).
|
|
113
|
+
*
|
|
114
|
+
* @param options Configuration options for the decorator
|
|
115
|
+
* @returns A class decorator
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
* ```typescript
|
|
119
|
+
* // Full mode example
|
|
120
|
+
* interface DeviceOperationsModelImpl extends KosFutureAwareFull<OperationData> {}
|
|
121
|
+
*
|
|
122
|
+
* kosFutureAware()
|
|
123
|
+
* class DeviceOperationsModelImpl implements IKosDataModel {
|
|
124
|
+
* onFutureUpdate?(future: IFutureModel<OperationData>): void {
|
|
125
|
+
* // Handle Future updates
|
|
126
|
+
* }
|
|
127
|
+
*
|
|
128
|
+
* kosFuture()
|
|
129
|
+
* async performOperation(): Promise<OperationData> {
|
|
130
|
+
* return { result: "done" };
|
|
131
|
+
* }
|
|
132
|
+
* }
|
|
133
|
+
*
|
|
134
|
+
* // Minimal mode example
|
|
135
|
+
* interface BackgroundServiceModelImpl extends KosFutureAwareMinimal {}
|
|
136
|
+
*
|
|
137
|
+
* kosFutureAware({ mode: 'minimal' })
|
|
138
|
+
* class BackgroundServiceModelImpl implements IKosDataModel {
|
|
139
|
+
* kosFuture()
|
|
140
|
+
* async backgroundTask() {
|
|
141
|
+
* return "done";
|
|
142
|
+
* }
|
|
143
|
+
* }
|
|
144
|
+
* ```
|
|
145
|
+
*
|
|
146
|
+
* @category KOS Model Decorator
|
|
147
|
+
* @since 2.0.0
|
|
148
|
+
*/
|
|
149
|
+
export declare function kosFutureAware(options?: KosFutureAwareOptions): ClassDecorator;
|
|
150
|
+
//# sourceMappingURL=kos-future-aware.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kos-future-aware.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/core/core/decorators/kos-future-aware.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,oBAAoB,EACpB,YAAY,EACb,MAAM,4CAA4C,CAAC;AAGpD,MAAM,WAAW,qBAAqB;IACpC,mGAAmG;IACnG,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,mEAAmE;IACnE,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,qBAAqB,CACpC,CAAC,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAE1C;;;;OAIG;IACH,aAAa,EAAE,oBAAoB,CAAC,CAAC,CAAC,CAAC;CACxC;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,WAAW,kBAAkB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAC5E,SAAQ,qBAAqB,CAAC,CAAC,CAAC;IAChC;;;;OAIG;IACH,MAAM,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;IAEzB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAC;IAEnB;;;;OAIG;IACH,WAAW,EAAE,OAAO,CAAC;IAErB;;;;;;OAMG;IACH,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,wBAAgB,cAAc,CAC5B,OAAO,CAAC,EAAE,qBAAqB,GAC9B,cAAc,CAchB"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { KosContextLogger } from '../kosModel';
|
|
2
|
+
|
|
3
|
+
export interface KosLoggerAwareOptions {
|
|
4
|
+
/** Logger property name. Default: 'logger' */
|
|
5
|
+
loggerProperty?: string;
|
|
6
|
+
/** Logger context/group name. If not provided, uses model type */
|
|
7
|
+
loggerContext?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Interface for models using @kosLoggerAware decorator.
|
|
11
|
+
* Use TypeScript interface merging to add the logger property to your model class.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```typescript
|
|
15
|
+
* interface MyModelImpl extends KosLoggerAware {}
|
|
16
|
+
*
|
|
17
|
+
* @kosModel("my-model")
|
|
18
|
+
* @kosLoggerAware()
|
|
19
|
+
* export class MyModelImpl implements IKosDataModel {
|
|
20
|
+
* id: string;
|
|
21
|
+
*
|
|
22
|
+
* constructor(modelId: string, options: any, context: KosCreationContext) {
|
|
23
|
+
* this.id = modelId;
|
|
24
|
+
* // No logger setup needed - automatically injected!
|
|
25
|
+
* }
|
|
26
|
+
*
|
|
27
|
+
* async performOperation() {
|
|
28
|
+
* this.logger.info("Starting operation"); // Direct access to logger
|
|
29
|
+
* }
|
|
30
|
+
* }
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export interface KosLoggerAware {
|
|
34
|
+
/**
|
|
35
|
+
* KOS context logger for this model instance.
|
|
36
|
+
* Automatically injected by the @kosLoggerAware decorator.
|
|
37
|
+
* Shared across all instances of the same model type for optimal performance.
|
|
38
|
+
* Provides structured logging with debug(), info(), warn(), and error() methods.
|
|
39
|
+
* Logger context is automatically set to the model type name unless overridden.
|
|
40
|
+
*/
|
|
41
|
+
logger: KosContextLogger;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Class decorator that automatically injects a shared logger into a KOS model.
|
|
45
|
+
*
|
|
46
|
+
* This decorator eliminates the need for manual logger setup in constructors by:
|
|
47
|
+
* - Creating a single shared logger per model type (not per instance)
|
|
48
|
+
* - Using the KosLoggerFactory for consistent logger creation
|
|
49
|
+
* - Following KOS naming conventions for logger context
|
|
50
|
+
* - Providing optimal performance through logger reuse
|
|
51
|
+
*
|
|
52
|
+
* **Performance Note**: Creates one logger per model type, shared across all instances
|
|
53
|
+
* of that type. This is much more efficient than per-instance logger creation.
|
|
54
|
+
*
|
|
55
|
+
* **Important**: Use TypeScript interface merging to get proper type information:
|
|
56
|
+
*
|
|
57
|
+
* ```typescript
|
|
58
|
+
* interface MyModelImpl extends KosLoggerAware {}
|
|
59
|
+
*
|
|
60
|
+
* @kosModel("my-model")
|
|
61
|
+
* @kosLoggerAware()
|
|
62
|
+
* export class MyModelImpl implements IKosDataModel {
|
|
63
|
+
* // logger property is now available with full type safety
|
|
64
|
+
* async doSomething() {
|
|
65
|
+
* this.logger.debug("Doing something...");
|
|
66
|
+
* }
|
|
67
|
+
* }
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param options Configuration options for the logger injection
|
|
71
|
+
* @returns A class decorator
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* ```typescript
|
|
75
|
+
* // Basic usage with default logger property
|
|
76
|
+
* @kosLoggerAware()
|
|
77
|
+
* class MyModel { }
|
|
78
|
+
*
|
|
79
|
+
* // Custom logger property name
|
|
80
|
+
* @kosLoggerAware({ loggerProperty: 'log' })
|
|
81
|
+
* class MyModel {
|
|
82
|
+
* // this.log is available instead of this.logger
|
|
83
|
+
* }
|
|
84
|
+
*
|
|
85
|
+
* // Custom logger context for specialized logging
|
|
86
|
+
* @kosLoggerAware({ loggerContext: 'analytics' })
|
|
87
|
+
* class AnalyticsModel {
|
|
88
|
+
* // Logger uses "analytics" context instead of model type
|
|
89
|
+
* }
|
|
90
|
+
* ```
|
|
91
|
+
*
|
|
92
|
+
* @category KOS Model Decorator
|
|
93
|
+
* @since 2.1.0
|
|
94
|
+
*/
|
|
95
|
+
export declare function kosLoggerAware(options?: KosLoggerAwareOptions): ClassDecorator;
|
|
96
|
+
//# sourceMappingURL=kos-logger-aware.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kos-logger-aware.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/core/core/decorators/kos-logger-aware.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAIpD,MAAM,WAAW,qBAAqB;IACpC,8CAA8C;IAC9C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kEAAkE;IAClE,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;;;OAMG;IACH,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,wBAAgB,cAAc,CAC5B,OAAO,CAAC,EAAE,qBAAqB,GAC9B,cAAc,CAoChB"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export interface KosTroubleAwareOptions {
|
|
2
|
+
/** Path property name to use for trouble resolution. Default: 'path' */
|
|
3
|
+
pathProperty?: string;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Class decorator that automatically adds TroubleAware capabilities to a KOS model.
|
|
7
|
+
*
|
|
8
|
+
* This decorator eliminates the need for manual TroubleAware interface implementation by:
|
|
9
|
+
* - Adding troubleContainer dependency injection (internal, not exposed)
|
|
10
|
+
* - Adding troubles getter that filters by model path
|
|
11
|
+
* - Adding troubleStatus getter (returns empty string by default)
|
|
12
|
+
* - Adding troublesByType getter that groups troubles by type
|
|
13
|
+
*
|
|
14
|
+
* **Important**: Use TypeScript interface merging to get proper type information:
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* // Add ESLint disable comment at top of file, then:
|
|
18
|
+
* interface MyModelImpl extends TroubleAware {}
|
|
19
|
+
*
|
|
20
|
+
* @kosTroubleAware()
|
|
21
|
+
* class MyModelImpl implements IKosDataModel {
|
|
22
|
+
* path: string; // Required for trouble resolution
|
|
23
|
+
*
|
|
24
|
+
* constructor(modelId: string, options: MyOptions) {
|
|
25
|
+
* this.path = options.path;
|
|
26
|
+
* // All TroubleAware properties are now available with full type safety
|
|
27
|
+
* }
|
|
28
|
+
* }
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* The decorator requires the model to have a path property (default) or specify
|
|
32
|
+
* a custom path property via options.
|
|
33
|
+
*
|
|
34
|
+
* @param options Configuration options for the decorator
|
|
35
|
+
* @returns A class decorator
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```typescript
|
|
39
|
+
* // Default usage - uses this.path
|
|
40
|
+
* interface HolderModelImpl extends TroubleAware {}
|
|
41
|
+
*
|
|
42
|
+
* @kosTroubleAware()
|
|
43
|
+
* class HolderModelImpl implements IKosDataModel {
|
|
44
|
+
* path: string; // Required for trouble path resolution
|
|
45
|
+
*
|
|
46
|
+
* constructor(modelId: string, options: HolderOptions) {
|
|
47
|
+
* this.path = options.path;
|
|
48
|
+
* }
|
|
49
|
+
* }
|
|
50
|
+
*
|
|
51
|
+
* // Custom path property
|
|
52
|
+
* interface CustomModelImpl extends TroubleAware {}
|
|
53
|
+
*
|
|
54
|
+
* @kosTroubleAware({ pathProperty: 'devicePath' })
|
|
55
|
+
* class CustomModelImpl implements IKosDataModel {
|
|
56
|
+
* devicePath: string; // Custom path property
|
|
57
|
+
*
|
|
58
|
+
* constructor(modelId: string, options: CustomOptions) {
|
|
59
|
+
* this.devicePath = options.devicePath;
|
|
60
|
+
* }
|
|
61
|
+
* }
|
|
62
|
+
*
|
|
63
|
+
* // Type-safe external interface
|
|
64
|
+
* export type HolderModel = PublicModelInterface<HolderModelImpl> & TroubleAware;
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @category KOS Model Decorator
|
|
68
|
+
* @since 2.0.0
|
|
69
|
+
*/
|
|
70
|
+
export declare function kosTroubleAware(options?: KosTroubleAwareOptions): ClassDecorator;
|
|
71
|
+
//# sourceMappingURL=kos-trouble-aware.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kos-trouble-aware.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/core/core/decorators/kos-trouble-aware.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,sBAAsB;IACrC,wEAAwE;IACxE,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AACH,wBAAgB,eAAe,CAC7B,OAAO,CAAC,EAAE,sBAAsB,GAC/B,cAAc,CAsBhB"}
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { IKosDataModel } from '../kosModel';
|
|
2
2
|
|
|
3
|
+
interface KosModelConfig {
|
|
4
|
+
modelTypeId: string;
|
|
5
|
+
singleton?: boolean;
|
|
6
|
+
autoRegister?: boolean;
|
|
7
|
+
}
|
|
3
8
|
/**
|
|
4
9
|
* Decorator for defining a Kos Data Model class.
|
|
5
10
|
*
|
|
6
|
-
* @param
|
|
11
|
+
* @param config - The model configuration. Can be a string (backward compatibility) or configuration object.
|
|
7
12
|
* @returns A decorator function that transforms the class into a KOS-compatible model.
|
|
8
13
|
*/
|
|
9
|
-
export declare function kosModel<T extends IKosDataModel, O extends object = Record<string, any>>(
|
|
14
|
+
export declare function kosModel<T extends IKosDataModel, O extends object = Record<string, any>>(config: string | KosModelConfig): ClassDecorator;
|
|
15
|
+
export {};
|
|
10
16
|
//# sourceMappingURL=kosModel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kosModel.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/core/core/decorators/kosModel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"kosModel.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/core/core/decorators/kosModel.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AA8b5C,UAAU,cAAc;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CACtB,CAAC,SAAS,aAAa,EACvB,CAAC,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACtC,MAAM,EAAE,MAAM,GAAG,cAAc,GAAG,cAAc,CAqDjD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kosTopicHandler.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/core/core/decorators/kosTopicHandler.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CA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IG;IACH,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"kosTopicHandler.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/core/core/decorators/kosTopicHandler.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAE3E;;GAEG;AACH,MAAM,WAAW,uBAAuB,CAAC,CAAC,GAAG,MAAM,CAAE,SAAQ,WAAW,CAAC,CAAC,CAAC;IACzE,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC1C;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,MAAM,EACnB,YAAY,CAAC,EAAE,MAAM,GACpB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAkBxB;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAE5D;AAED;;;;;;GAMG;AACH,MAAM,WAAW,sBAAsB,CACrC,QAAQ,GAAG,GAAG,EACd,KAAK,SAAS,aAAa,GAAG,GAAG,EACjC,mBAAmB,GAAG,QAAQ;IAE9B;;OAEG;IACH,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAEzB;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,CACV,OAAO,EAAE,mBAAmB,EAC5B,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,QAAQ,KACV,OAAO,CAAC;IAEb;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,QAAQ,KAAK,mBAAmB,CAAC;IAEvD;;;;OAIG;IACH,SAAS,CAAC,EAAE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GAAG,EACjC,mBAAmB,GAAG,QAAQ,EAC9B,EACA,KAAK,EACL,SAAsC,EACtC,SAAyC,EACzC,SAAiB,EACjB,GAAW,EACX,MAAc,EACd,SAAiB,EACjB,SAAS,EACT,kBAAkB,EAElB,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,MAAM,EACN,IAAI,EACJ,MAAM,EACN,YAAY,EACZ,IAAI,GACL,EAAE,sBAAsB,CAAC,QAAQ,EAAE,KAAK,EAAE,mBAAmB,CAAC,YAEnD,GAAG,gBACG,MAAM,cACR,kBAAkB,UA0EjC"}
|
|
@@ -11,4 +11,8 @@ export declare const ReferenceConfig: unique symbol;
|
|
|
11
11
|
export declare const KosModelSymbol: unique symbol;
|
|
12
12
|
export declare const ModelEffects: unique symbol;
|
|
13
13
|
export declare const CompanionParentModel: unique symbol;
|
|
14
|
+
export declare const FutureContainerSetup: unique symbol;
|
|
15
|
+
export declare const TroubleAwareSetup: unique symbol;
|
|
16
|
+
export declare const LoggerSetup: unique symbol;
|
|
17
|
+
export declare const ContainerAwareSetup: unique symbol;
|
|
14
18
|
//# sourceMappingURL=propKeys.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"propKeys.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/core/core/decorators/propKeys.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,oBAAoB,eAAiC,CAAC;AACnE,eAAO,MAAM,gBAAgB,eAA6B,CAAC;AAC3D,eAAO,MAAM,aAAa,eAA0B,CAAC;AACrD,eAAO,MAAM,WAAW,eAAwB,CAAC;AACjD,eAAO,MAAM,WAAW,eAAwB,CAAC;AACjD,eAAO,MAAM,SAAS,eAAsB,CAAC;AAC7C,eAAO,MAAM,eAAe,eAA4B,CAAC;AACzD,eAAO,MAAM,cAAc,eAA2B,CAAC;AACvD,eAAO,MAAM,YAAY,eAAyB,CAAC;AACnD,eAAO,MAAM,oBAAoB,eAAiC,CAAC"}
|
|
1
|
+
{"version":3,"file":"propKeys.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/core/core/decorators/propKeys.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,oBAAoB,eAAiC,CAAC;AACnE,eAAO,MAAM,gBAAgB,eAA6B,CAAC;AAC3D,eAAO,MAAM,aAAa,eAA0B,CAAC;AACrD,eAAO,MAAM,WAAW,eAAwB,CAAC;AACjD,eAAO,MAAM,WAAW,eAAwB,CAAC;AACjD,eAAO,MAAM,SAAS,eAAsB,CAAC;AAC7C,eAAO,MAAM,eAAe,eAA4B,CAAC;AACzD,eAAO,MAAM,cAAc,eAA2B,CAAC;AACvD,eAAO,MAAM,YAAY,eAAyB,CAAC;AACnD,eAAO,MAAM,oBAAoB,eAAiC,CAAC;AACnE,eAAO,MAAM,oBAAoB,eAAiC,CAAC;AACnE,eAAO,MAAM,iBAAiB,eAA8B,CAAC;AAC7D,eAAO,MAAM,WAAW,eAAwB,CAAC;AACjD,eAAO,MAAM,mBAAmB,eAAgC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IKosDataModel } from '../kosModel';
|
|
2
2
|
import { IndexMapper } from '../kos-container-index';
|
|
3
|
-
import { RendererConstructor } from '../../../models';
|
|
3
|
+
import { RendererConstructor } from '../../../models/models/canvas-dispatcher';
|
|
4
4
|
|
|
5
5
|
export type ExtensionType = number | string | boolean;
|
|
6
6
|
export type DataMapper<I extends object = any, O extends object = any, C extends object = any> = (input: I, context?: C) => Promise<O>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extension-manager.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/core/core/extension/extension-manager.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"extension-manager.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-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ClB,QAAQ,EAAE,YAAY,EACtB,KAAK,CAAC,EAAE,OAAO,EACf,eAAe,CAAC,EAAE,MAAM;WAoEZ,WAAW,CAAC,IAAI,CAAC,EAAE;QAC/B,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB,eAAe,CAAC,EAAE,MAAM,CAAC;KAC1B,GAAG,eAAe;CASpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/core/core/registration/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4CAA4C,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/core/core/registration/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,YAAY,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AACrE,cAAc,wBAAwB,CAAC;AACvC,cAAc,4CAA4C,CAAC"}
|
package/core/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export { KosModelEvents, KosModelState } from './core/lifecycle';
|
|
|
17
17
|
export * from './core/log';
|
|
18
18
|
export * from './core/models';
|
|
19
19
|
export { default as KosToken } from './core/models/kos-token';
|
|
20
|
-
export { KosModelRegistrationFactory, preloadKosModel, registerCompanionModel, registerKosModel, registerLegacyModel, RegistrationManager, SingletonKosModelRegistrationFactory, type RegistrationResult, } from './core/registration';
|
|
20
|
+
export { KosModelRegistrationFactory, preloadKosModel, registerCompanionModel, registerKosModel, registerLegacyModel, RegistrationManager, SingletonKosModelRegistrationFactory, type KosModelRegistrationType, type RegistrationResult, } from './core/registration';
|
|
21
21
|
export * from './core/services';
|
|
22
22
|
export * from './core/transport';
|
|
23
23
|
export * from './core/types';
|
package/core/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,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;AACvB,OAAO,EACL,SAAS,EACT,aAAa,EACb,WAAW,EACX,SAAS,EACT,aAAa,EACb,OAAO,EACP,kBAAkB,EAClB,cAAc,GACf,CAAC;AAEF;;;GAGG;AACH,QAAA,MAAM,OAAO,aAAO,CAAC;AAErB;;;GAGG;AACH,QAAA,MAAM,WAAW,iCAAW,CAAC;AAC7B;;;GAGG;AACH,QAAA,MAAM,SAAS,oBAAc,CAAC;AAE9B;;;;;;;GAOG;AACH,QAAA,MAAM,aAAa,gBAAU,CAAC;AAE9B;;;GAGG;AACH,QAAA,MAAM,SAAS,iBAAW,CAAC;AAE3B;;;GAGG;AACH,QAAA,MAAM,aAAa,mCAAa,CAAC"}
|
|
@@ -9,10 +9,11 @@ type Container = IKosContainerModel<any, any> | IKosModelContainer<any>;
|
|
|
9
9
|
interface ResolveParams<T extends Container, D> {
|
|
10
10
|
container: T;
|
|
11
11
|
onAddItem: (entity: D) => any;
|
|
12
|
-
onRemoveItem
|
|
12
|
+
onRemoveItem?: (id: string) => any;
|
|
13
|
+
onUpdateItem?: (entity: D, existingModel: any) => any;
|
|
13
14
|
idMapper?: IdMapper;
|
|
14
15
|
}
|
|
15
|
-
export declare const resolveContainerDeltas: <T extends IKosModelContainer<any>, D extends Identifiable>({ container, onAddItem, onRemoveItem, idMapper, }: ResolveParams<T, D>) => (entities: D[]) => void;
|
|
16
|
+
export declare const resolveContainerDeltas: <T extends IKosModelContainer<any>, D extends Identifiable>({ container, onAddItem, onUpdateItem, onRemoveItem, idMapper, }: ResolveParams<T, D>) => (entities: D[]) => void;
|
|
16
17
|
export declare const resolveListDeltas: <T extends IKosContainerModel<any, any>, D extends Identifiable>({ container, onAddItem, onRemoveItem, idMapper, }: ResolveParams<T, D>) => (entities: D[]) => void;
|
|
17
18
|
interface ResolveItemsParams<T extends Identifiable, D> {
|
|
18
19
|
items: T[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container-utils.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/container-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,UAAU,YAAY;IACpB,EAAE,EAAE,MAAM,CAAC;CACZ;AAqBD,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,SAAS,YAAY,GAAG,YAAY,EAAE,MAAM,EAAE,CAAC,KAAK,CAAC,CAAC;AAE/E,KAAK,SAAS,GAAG,kBAAkB,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,kBAAkB,CAAC,GAAG,CAAC,CAAC;AACxE,UAAU,aAAa,CAAC,CAAC,SAAS,SAAS,EAAE,CAAC;IAC5C,SAAS,EAAE,CAAC,CAAC;IACb,SAAS,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,GAAG,CAAC;IAC9B,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"container-utils.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/container-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,UAAU,YAAY;IACpB,EAAE,EAAE,MAAM,CAAC;CACZ;AAqBD,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,SAAS,YAAY,GAAG,YAAY,EAAE,MAAM,EAAE,CAAC,KAAK,CAAC,CAAC;AAE/E,KAAK,SAAS,GAAG,kBAAkB,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,kBAAkB,CAAC,GAAG,CAAC,CAAC;AACxE,UAAU,aAAa,CAAC,CAAC,SAAS,SAAS,EAAE,CAAC;IAC5C,SAAS,EAAE,CAAC,CAAC;IACb,SAAS,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,GAAG,CAAC;IAC9B,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,GAAG,CAAC;IACnC,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,EAAE,aAAa,EAAE,GAAG,KAAK,GAAG,CAAC;IACtD,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAID,eAAO,MAAM,sBAAsB,+HAO9B,cAAc,CAAC,EAAE,CAAC,CAAC,gBACX,CAAC,EAAE,SAkBb,CAAC;AAEJ,eAAO,MAAM,iBAAiB,sHAMzB,cAAc,CAAC,EAAE,CAAC,CAAC,gBACX,CAAC,EAAE,SAKb,CAAC;AAEJ,UAAU,kBAAkB,CAAC,CAAC,SAAS,YAAY,EAAE,CAAC;IACpD,KAAK,EAAE,CAAC,EAAE,CAAC;IACX,SAAS,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,CAAC;IAC/B,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AACD,eAAO,MAAM,qBAAqB,kGAM7B,mBAAmB,CAAC,EAAE,CAAC,CAAC,gBAChB,CAAC,EAAE,SAKb,CAAC;AAEJ,eAAO,MAAM,SAAS,OAAQ,MAAM,4BAMnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observable-proxy-map.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/observable-proxy-map.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,eAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"observable-proxy-map.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/observable-proxy-map.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,eAA8B,CAAC;AA4G7D,MAAM,MAAM,OAAO,CAAC,CAAC,SAAS,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,IAAI,CAAC,GAAG;IACpD,SAAS,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC;IACrC,IAAI,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC;IAClB,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IACjC,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC;IACrB,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,KAAK,OAAO,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,cAAc,gDACX,CAAC,KACd,QAAQ,CAAC,CAGX,CAAC"}
|