@kosdev-code/kos-ddk-model-components 2.0.4 → 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.
Files changed (35) hide show
  1. package/components/holders/holder-card.d.ts.map +1 -1
  2. package/components/holders/macro-holder-card.d.ts.map +1 -1
  3. package/components/ice-agitator/detail/agitator.d.ts.map +1 -1
  4. package/components/remote-nns-modal/remote-nns-modal.d.ts.map +1 -1
  5. package/components/software/software.d.ts +1 -1
  6. package/components/software/software.d.ts.map +1 -1
  7. package/components/state-experience/state-experience.d.ts.map +1 -1
  8. package/extensions/cui-extension.d.ts +49 -0
  9. package/extensions/cui-extension.d.ts.map +1 -0
  10. package/extensions/dashboard-detail-extension.d.ts +50 -0
  11. package/extensions/dashboard-detail-extension.d.ts.map +1 -0
  12. package/extensions/dashboard-pump-detail-extension.d.ts +47 -0
  13. package/extensions/dashboard-pump-detail-extension.d.ts.map +1 -0
  14. package/extensions/dashboard-summary-extension.d.ts +49 -0
  15. package/extensions/dashboard-summary-extension.d.ts.map +1 -0
  16. package/extensions/index.d.ts +16 -0
  17. package/extensions/index.d.ts.map +1 -0
  18. package/extensions/nav-view-extension.d.ts +45 -0
  19. package/extensions/nav-view-extension.d.ts.map +1 -0
  20. package/extensions/setup-extension.d.ts +45 -0
  21. package/extensions/setup-extension.d.ts.map +1 -0
  22. package/extensions/trouble-action-extension.d.ts +93 -0
  23. package/extensions/trouble-action-extension.d.ts.map +1 -0
  24. package/extensions/utilities-extension.d.ts +47 -0
  25. package/extensions/utilities-extension.d.ts.map +1 -0
  26. package/extensions/view-extension.d.ts +85 -0
  27. package/extensions/view-extension.d.ts.map +1 -0
  28. package/hooks/extensions/use-view-extensions.d.ts.map +1 -1
  29. package/hooks/plugin-extensions/use-plugin-extensions.d.ts +1 -3
  30. package/hooks/plugin-extensions/use-plugin-extensions.d.ts.map +1 -1
  31. package/index.cjs +70 -100
  32. package/index.d.ts +1 -0
  33. package/index.d.ts.map +1 -1
  34. package/index.js +5174 -2333
  35. package/package.json +7 -7
@@ -1 +1 @@
1
- {"version":3,"file":"holder-card.d.ts","sourceRoot":"","sources":["../../../../../../packages/ddk/kos-ddk-model-components/src/components/holders/holder-card.tsx"],"names":[],"mappings":";AAaA,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAEL,kBAAkB,EAEnB,MAAM,gCAAgC,CAAC;AA+BxC,UAAU,KAAK;IACb,MAAM,EAAE,WAAW,CAAC,kBAAkB,CAAC,CAAC;IACxC,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;IAC/C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC/B;AA6CD,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAiNrD,CAAC"}
1
+ {"version":3,"file":"holder-card.d.ts","sourceRoot":"","sources":["../../../../../../packages/ddk/kos-ddk-model-components/src/components/holders/holder-card.tsx"],"names":[],"mappings":";AAaA,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAEL,kBAAkB,EAEnB,MAAM,gCAAgC,CAAC;AA6BxC,UAAU,KAAK;IACb,MAAM,EAAE,WAAW,CAAC,kBAAkB,CAAC,CAAC;IACxC,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;IAC/C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC/B;AA6CD,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAoPrD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"macro-holder-card.d.ts","sourceRoot":"","sources":["../../../../../../packages/ddk/kos-ddk-model-components/src/components/holders/macro-holder-card.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAmEpE,UAAU,oBAAoB;IAC5B,MAAM,EAAE,WAAW,CAAC,kBAAkB,CAAC,CAAC;IACxC,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;IAC/C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC/B;AAID,eAAO,MAAM,eAAe,6CACgB,oBAAoB;;CAgJ/D,CAAC"}
1
+ {"version":3,"file":"macro-holder-card.d.ts","sourceRoot":"","sources":["../../../../../../packages/ddk/kos-ddk-model-components/src/components/holders/macro-holder-card.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAiEpE,UAAU,oBAAoB;IAC5B,MAAM,EAAE,WAAW,CAAC,kBAAkB,CAAC,CAAC;IACxC,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;IAC/C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC/B;AAID,eAAO,MAAM,eAAe,6CACgB,oBAAoB;;CAiJ/D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"agitator.d.ts","sourceRoot":"","sources":["../../../../../../../packages/ddk/kos-ddk-model-components/src/components/ice-agitator/detail/agitator.tsx"],"names":[],"mappings":";AASA,OAAO,KAAK,EACV,sBAAsB,EACtB,gBAAgB,EACjB,MAAM,gCAAgC,CAAC;AAYxC,UAAU,aAAa;IACrB,QAAQ,EAAE,sBAAsB,CAAC;IACjC,SAAS,EAAE,gBAAgB,CAAC;CAC7B;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC,aAAa,CAoGjE,CAAC;AAEL,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"agitator.d.ts","sourceRoot":"","sources":["../../../../../../../packages/ddk/kos-ddk-model-components/src/components/ice-agitator/detail/agitator.tsx"],"names":[],"mappings":";AAQA,OAAO,KAAK,EACV,sBAAsB,EACtB,gBAAgB,EACjB,MAAM,gCAAgC,CAAC;AAWxC,UAAU,aAAa;IACrB,QAAQ,EAAE,sBAAsB,CAAC;IACjC,SAAS,EAAE,gBAAgB,CAAC;CAC7B;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC,aAAa,CA8FjE,CAAC;AAEL,eAAe,iBAAiB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"remote-nns-modal.d.ts","sourceRoot":"","sources":["../../../../../../packages/ddk/kos-ddk-model-components/src/components/remote-nns-modal/remote-nns-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,eAAe,EAErB,MAAM,iCAAiC,CAAC;AAOzC,OAAO,EAGL,KAAK,eAAe,EACrB,MAAM,gCAAgC,CAAC;AASxC,UAAU,mBAAoB,SAAQ,eAAe;IACnD,UAAU,EAAE,eAAe,CAAC;CAC7B;AAED,eAAO,MAAM,cAAc,gCACI,mBAAmB;;CAsLjD,CAAC"}
1
+ {"version":3,"file":"remote-nns-modal.d.ts","sourceRoot":"","sources":["../../../../../../packages/ddk/kos-ddk-model-components/src/components/remote-nns-modal/remote-nns-modal.tsx"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,eAAe,EAErB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAGL,KAAK,eAAe,EACrB,MAAM,gCAAgC,CAAC;AAcxC,UAAU,mBAAoB,SAAQ,eAAe;IACnD,UAAU,EAAE,eAAe,CAAC;CAC7B;AAED,eAAO,MAAM,cAAc,gCACI,mBAAmB;;CAqLjD,CAAC"}
@@ -1,4 +1,4 @@
1
- export declare const Software: (() => any) & {
1
+ export declare const Software: (() => import("@emotion/react/jsx-runtime").JSX.Element[] | undefined) & {
2
2
  displayName: string;
3
3
  };
4
4
  //# sourceMappingURL=software.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"software.d.ts","sourceRoot":"","sources":["../../../../../../packages/ddk/kos-ddk-model-components/src/components/software/software.tsx"],"names":[],"mappings":"AAeA,eAAO,MAAM,QAAQ;;CA0BnB,CAAC"}
1
+ {"version":3,"file":"software.d.ts","sourceRoot":"","sources":["../../../../../../packages/ddk/kos-ddk-model-components/src/components/software/software.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,QAAQ;;CA0BnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"state-experience.d.ts","sourceRoot":"","sources":["../../../../../../packages/ddk/kos-ddk-model-components/src/components/state-experience/state-experience.tsx"],"names":[],"mappings":";AAgBA,UAAU,KAAK;CAAG;AAClB,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,KAAK,CA+C1D,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"state-experience.d.ts","sourceRoot":"","sources":["../../../../../../packages/ddk/kos-ddk-model-components/src/components/state-experience/state-experience.tsx"],"names":[],"mappings":";AAaA,UAAU,KAAK;CAAG;AAClB,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAiE1D,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,49 @@
1
+ /**
2
+ * CUI Extension Point with Explicit Registration
3
+ *
4
+ * This provides the CUI extension point for use across DDK applications
5
+ * with explicit registration pattern to avoid circular dependencies.
6
+ *
7
+ * Replaces the legacy cui-reducer with the simplified extension point API.
8
+ */
9
+ /**
10
+ * CUI extension point that replaces legacy cui-reducer behavior
11
+ *
12
+ * Uses explicit registration pattern to avoid circular dependencies
13
+ * and make the extension point system more predictable.
14
+ */
15
+ export declare const CuiExtension: import('../../../../sdk/kos-ui-plugin/src/lib/utils/index.ts').ViewExtensionPointDefinition<{
16
+ id: string;
17
+ namespace: string;
18
+ title: string;
19
+ experienceId: string;
20
+ cuiDescriptor: string;
21
+ modalMode?: "fullscreen" | "maximized" | undefined;
22
+ } | {
23
+ id: string;
24
+ namespace: string;
25
+ title: string;
26
+ experienceId: string;
27
+ cuiDescriptor: string;
28
+ modalMode?: "fullscreen" | "maximized" | undefined;
29
+ rank?: unknown;
30
+ }, {
31
+ id: string;
32
+ namespace: string;
33
+ title: string;
34
+ experienceId: string;
35
+ cuiDescriptor: string;
36
+ modalMode?: "fullscreen" | "maximized" | undefined;
37
+ } | {
38
+ id: string;
39
+ namespace: string;
40
+ title: string;
41
+ experienceId: string;
42
+ cuiDescriptor: string;
43
+ modalMode?: "fullscreen" | "maximized" | undefined;
44
+ rank?: unknown;
45
+ }, Record<string, unknown>>;
46
+ export declare const EXTENSION_POINT_CUI: string;
47
+ export declare const EXTENSION_POINT_CUI_DEF: string;
48
+ export declare const EXTENSION_POINT_CUI_VIEW: string;
49
+ //# sourceMappingURL=cui-extension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cui-extension.d.ts","sourceRoot":"","sources":["../../../../../packages/ddk/kos-ddk-model-components/src/extensions/cui-extension.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAgCH;;;;;GAKG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAgCvB,CAAC;AAGH,eAAO,MAAM,mBAAmB,QAAe,CAAC;AAChD,eAAO,MAAM,uBAAuB,QAAwB,CAAC;AAC7D,eAAO,MAAM,wBAAwB,QAAyB,CAAC"}
@@ -0,0 +1,50 @@
1
+ import { AssemblyModel } from '../../../../sdk/kos-dispense-sdk/src/index.ts';
2
+
3
+ interface DashboardDetailComponentProps {
4
+ dashboardKey?: string;
5
+ assembly?: AssemblyModel;
6
+ cardModel?: any;
7
+ [key: string]: unknown;
8
+ }
9
+ /**
10
+ * Dashboard Detail extension point that replaces legacy dashboard-detail-reducer behavior
11
+ *
12
+ * Uses explicit registration pattern to avoid circular dependencies
13
+ * and make the extension point system more predictable.
14
+ */
15
+ export declare const DashboardDetailExtension: import('../../../../sdk/kos-ui-plugin/src/lib/utils/index.ts').ViewExtensionPointDefinition<{
16
+ type: "dashboard.detail";
17
+ id: string;
18
+ namespace: string;
19
+ title: string;
20
+ experienceId: string;
21
+ dashboardKey: string;
22
+ } | {
23
+ type: "dashboard.detail";
24
+ id: string;
25
+ namespace: string;
26
+ title: string;
27
+ experienceId: string;
28
+ dashboardKey: string;
29
+ rank?: unknown;
30
+ }, {
31
+ type: "dashboard.detail";
32
+ id: string;
33
+ namespace: string;
34
+ title: string;
35
+ experienceId: string;
36
+ dashboardKey: string;
37
+ } | {
38
+ type: "dashboard.detail";
39
+ id: string;
40
+ namespace: string;
41
+ title: string;
42
+ experienceId: string;
43
+ dashboardKey: string;
44
+ rank?: unknown;
45
+ }, DashboardDetailComponentProps>;
46
+ export declare const EXTENSION_POINT_DASHBOARD_DETAIL: string;
47
+ export declare const EXTENSION_POINT_DASHBOARD_DETAIL_DEF: string;
48
+ export declare const EXTENSION_POINT_DASHBOARD_DETAIL_VIEW: string;
49
+ export {};
50
+ //# sourceMappingURL=dashboard-detail-extension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard-detail-extension.d.ts","sourceRoot":"","sources":["../../../../../packages/ddk/kos-ddk-model-components/src/extensions/dashboard-detail-extension.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AA8BnE,UAAU,6BAA6B;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAID;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCA+BnC,CAAC;AAGH,eAAO,MAAM,gCAAgC,QAAe,CAAC;AAC7D,eAAO,MAAM,oCAAoC,QAAwB,CAAC;AAC1E,eAAO,MAAM,qCAAqC,QAAyB,CAAC"}
@@ -0,0 +1,47 @@
1
+ import { HolderModel } from '../../../../sdk/kos-dispense-sdk/src/index.ts';
2
+
3
+ interface DashboardPumpDetailComponentProps {
4
+ holder?: HolderModel;
5
+ }
6
+ /**
7
+ * Dashboard Pump Detail extension point that replaces legacy dashboard-pump-detail-reducer behavior
8
+ *
9
+ * Uses explicit registration pattern to avoid circular dependencies
10
+ * and make the extension point system more predictable.
11
+ */
12
+ export declare const DashboardPumpDetailExtension: import('../../../../sdk/kos-ui-plugin/src/lib/utils/index.ts').ViewExtensionPointDefinition<{
13
+ type: "dashboard.detail.pump";
14
+ id: string;
15
+ namespace: string;
16
+ title: string;
17
+ experienceId: string;
18
+ dashboardKey: string;
19
+ } | {
20
+ type: "dashboard.detail.pump";
21
+ id: string;
22
+ namespace: string;
23
+ title: string;
24
+ experienceId: string;
25
+ dashboardKey: string;
26
+ rank?: unknown;
27
+ }, {
28
+ type: "dashboard.detail.pump";
29
+ id: string;
30
+ namespace: string;
31
+ title: string;
32
+ experienceId: string;
33
+ dashboardKey: string;
34
+ } | {
35
+ type: "dashboard.detail.pump";
36
+ id: string;
37
+ namespace: string;
38
+ title: string;
39
+ experienceId: string;
40
+ dashboardKey: string;
41
+ rank?: unknown;
42
+ }, DashboardPumpDetailComponentProps>;
43
+ export declare const EXTENSION_POINT_DASHBOARD_PUMP_DETAIL: string;
44
+ export declare const EXTENSION_POINT_DASHBOARD_PUMP_DETAIL_DEF: string;
45
+ export declare const EXTENSION_POINT_DASHBOARD_PUMP_DETAIL_VIEW: string;
46
+ export {};
47
+ //# sourceMappingURL=dashboard-pump-detail-extension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard-pump-detail-extension.d.ts","sourceRoot":"","sources":["../../../../../packages/ddk/kos-ddk-model-components/src/extensions/dashboard-pump-detail-extension.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAgCjE,UAAU,iCAAiC;IACzC,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAID;;;;;GAKG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCA+BvC,CAAC;AAGH,eAAO,MAAM,qCAAqC,QAAe,CAAC;AAClE,eAAO,MAAM,yCAAyC,QAAwB,CAAC;AAC/E,eAAO,MAAM,0CAA0C,QAAyB,CAAC"}
@@ -0,0 +1,49 @@
1
+ import { AssemblyModel } from '../../../../sdk/kos-dispense-sdk/src/index.ts';
2
+
3
+ interface DashboardSummaryComponentProps {
4
+ dashboardKey?: string;
5
+ assembly?: AssemblyModel;
6
+ cardModel?: any;
7
+ }
8
+ /**
9
+ * Dashboard Summary extension point that replaces legacy dashboard-summary-reducer behavior
10
+ *
11
+ * Uses explicit registration pattern to avoid circular dependencies
12
+ * and make the extension point system more predictable.
13
+ */
14
+ export declare const DashboardSummaryExtension: import('../../../../sdk/kos-ui-plugin/src/lib/utils/index.ts').ViewExtensionPointDefinition<{
15
+ type: "dashboard.summary";
16
+ id: string;
17
+ namespace: string;
18
+ title: string;
19
+ experienceId: string;
20
+ dashboardKey: string;
21
+ } | {
22
+ type: "dashboard.summary";
23
+ id: string;
24
+ namespace: string;
25
+ title: string;
26
+ experienceId: string;
27
+ dashboardKey: string;
28
+ rank?: unknown;
29
+ }, {
30
+ type: "dashboard.summary";
31
+ id: string;
32
+ namespace: string;
33
+ title: string;
34
+ experienceId: string;
35
+ dashboardKey: string;
36
+ } | {
37
+ type: "dashboard.summary";
38
+ id: string;
39
+ namespace: string;
40
+ title: string;
41
+ experienceId: string;
42
+ dashboardKey: string;
43
+ rank?: unknown;
44
+ }, DashboardSummaryComponentProps>;
45
+ export declare const EXTENSION_POINT_DASHBOARD_SUMMARY: string;
46
+ export declare const EXTENSION_POINT_DASHBOARD_SUMMARY_DEF: string;
47
+ export declare const EXTENSION_POINT_DASHBOARD_SUMMARY_VIEW: string;
48
+ export {};
49
+ //# sourceMappingURL=dashboard-summary-extension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard-summary-extension.d.ts","sourceRoot":"","sources":["../../../../../packages/ddk/kos-ddk-model-components/src/extensions/dashboard-summary-extension.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AA8BnE,UAAU,8BAA8B;IACtC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,SAAS,CAAC,EAAE,GAAG,CAAC;CACjB;AAID;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCA+BpC,CAAC;AAGH,eAAO,MAAM,iCAAiC,QAAe,CAAC;AAC9D,eAAO,MAAM,qCAAqC,QAAwB,CAAC;AAC3E,eAAO,MAAM,sCAAsC,QAAyB,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * DDK Model Components Extension Points
3
+ *
4
+ * Extension points defined here can be shared across DDK applications
5
+ * (ddk-app and ddk-app-compact) with explicit registration patterns.
6
+ */
7
+ export { EXTENSION_POINT_UTIL, UtilitiesExtension, } from './utilities-extension';
8
+ export { DashboardSummaryExtension, EXTENSION_POINT_DASHBOARD_SUMMARY, EXTENSION_POINT_DASHBOARD_SUMMARY_DEF, EXTENSION_POINT_DASHBOARD_SUMMARY_VIEW, } from './dashboard-summary-extension';
9
+ export { DashboardDetailExtension, EXTENSION_POINT_DASHBOARD_DETAIL, EXTENSION_POINT_DASHBOARD_DETAIL_DEF, EXTENSION_POINT_DASHBOARD_DETAIL_VIEW, } from './dashboard-detail-extension';
10
+ export { DashboardPumpDetailExtension, EXTENSION_POINT_DASHBOARD_PUMP_DETAIL, EXTENSION_POINT_DASHBOARD_PUMP_DETAIL_DEF, EXTENSION_POINT_DASHBOARD_PUMP_DETAIL_VIEW, } from './dashboard-pump-detail-extension';
11
+ export { CuiExtension, EXTENSION_POINT_CUI, EXTENSION_POINT_CUI_DEF, EXTENSION_POINT_CUI_VIEW, } from './cui-extension';
12
+ export { NavViewExtension, EXTENSION_POINT_NAV_VIEW, EXTENSION_POINT_NAV_VIEW_DEF, EXTENSION_POINT_NAV_VIEW_VIEW, } from './nav-view-extension';
13
+ export { SetupExtension, EXTENSION_POINT_SETUP, EXTENSION_POINT_SETUP_DEF, EXTENSION_POINT_SETUP_VIEW, } from './setup-extension';
14
+ export { TroubleActionExtension, EXTENSION_POINT_TROUBLE_ACTION, EXTENSION_POINT_TROUBLE_ACTION_DEF, EXTENSION_POINT_TROUBLE_ACTION_VIEW, } from './trouble-action-extension';
15
+ export { ViewExtension, EXTENSION_POINT_VIEW, EXTENSION_POINT_VIEW_DEF, EXTENSION_POINT_VIEW_VIEW, } from './view-extension';
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/ddk/kos-ddk-model-components/src/extensions/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,yBAAyB,EACzB,iCAAiC,EACjC,qCAAqC,EACrC,sCAAsC,GACvC,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EACL,wBAAwB,EACxB,gCAAgC,EAChC,oCAAoC,EACpC,qCAAqC,GACtC,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACL,4BAA4B,EAC5B,qCAAqC,EACrC,yCAAyC,EACzC,0CAA0C,GAC3C,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,yBAAyB,EACzB,0BAA0B,GAC3B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,sBAAsB,EACtB,8BAA8B,EAC9B,kCAAkC,EAClC,mCAAmC,GACpC,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,45 @@
1
+ /**
2
+ * NavView Extension Point with Explicit Registration
3
+ *
4
+ * This provides the NavView extension point for navigation views across DDK applications
5
+ * with explicit registration pattern to avoid circular dependencies.
6
+ *
7
+ * Replaces the legacy nav-view-reducer with the simplified extension point API.
8
+ */
9
+ /**
10
+ * NavView extension point that replaces legacy nav-view-reducer behavior
11
+ *
12
+ * Uses explicit registration pattern to avoid circular dependencies
13
+ * and make the extension point system more predictable.
14
+ */
15
+ export declare const NavViewExtension: import('../../../../sdk/kos-ui-plugin/src/lib/utils/index.ts').ViewExtensionPointDefinition<{
16
+ id: string;
17
+ namespace: string;
18
+ title: string;
19
+ experienceId: string;
20
+ navDescriptor: string;
21
+ } | {
22
+ id: string;
23
+ namespace: string;
24
+ title: string;
25
+ experienceId: string;
26
+ navDescriptor: string;
27
+ rank?: unknown;
28
+ }, {
29
+ id: string;
30
+ namespace: string;
31
+ title: string;
32
+ experienceId: string;
33
+ navDescriptor: string;
34
+ } | {
35
+ id: string;
36
+ namespace: string;
37
+ title: string;
38
+ experienceId: string;
39
+ navDescriptor: string;
40
+ rank?: unknown;
41
+ }, Record<string, unknown>>;
42
+ export declare const EXTENSION_POINT_NAV_VIEW: string;
43
+ export declare const EXTENSION_POINT_NAV_VIEW_DEF: string;
44
+ export declare const EXTENSION_POINT_NAV_VIEW_VIEW: string;
45
+ //# sourceMappingURL=nav-view-extension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nav-view-extension.d.ts","sourceRoot":"","sources":["../../../../../packages/ddk/kos-ddk-model-components/src/extensions/nav-view-extension.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AA4BH;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;2BAkC3B,CAAC;AAGH,eAAO,MAAM,wBAAwB,QAAe,CAAC;AACrD,eAAO,MAAM,4BAA4B,QAAwB,CAAC;AAClE,eAAO,MAAM,6BAA6B,QAAyB,CAAC"}
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Setup Extension Point with Explicit Registration
3
+ *
4
+ * This provides the Setup extension point for setup step configurations across DDK applications
5
+ * with explicit registration pattern to avoid circular dependencies.
6
+ *
7
+ * Replaces the legacy setup-reducer with the simplified extension point API.
8
+ */
9
+ /**
10
+ * Setup extension point that replaces legacy setup-reducer behavior
11
+ *
12
+ * Uses explicit registration pattern to avoid circular dependencies
13
+ * and make the extension point system more predictable.
14
+ */
15
+ export declare const SetupExtension: import('../../../../sdk/kos-ui-plugin/src/lib/utils/index.ts').ViewExtensionPointDefinition<{
16
+ id: string;
17
+ namespace: string;
18
+ title: string;
19
+ experienceId: string;
20
+ setupDescriptor: string;
21
+ } | {
22
+ id: string;
23
+ namespace: string;
24
+ title: string;
25
+ experienceId: string;
26
+ setupDescriptor: string;
27
+ rank?: unknown;
28
+ }, {
29
+ id: string;
30
+ namespace: string;
31
+ title: string;
32
+ experienceId: string;
33
+ setupDescriptor: string;
34
+ } | {
35
+ id: string;
36
+ namespace: string;
37
+ title: string;
38
+ experienceId: string;
39
+ setupDescriptor: string;
40
+ rank?: unknown;
41
+ }, Record<string, unknown>>;
42
+ export declare const EXTENSION_POINT_SETUP: string;
43
+ export declare const EXTENSION_POINT_SETUP_DEF: string;
44
+ export declare const EXTENSION_POINT_SETUP_VIEW: string;
45
+ //# sourceMappingURL=setup-extension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup-extension.d.ts","sourceRoot":"","sources":["../../../../../packages/ddk/kos-ddk-model-components/src/extensions/setup-extension.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AA8BH;;;;;GAKG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;2BA+BzB,CAAC;AAGH,eAAO,MAAM,qBAAqB,QAAe,CAAC;AAClD,eAAO,MAAM,yBAAyB,QAAwB,CAAC;AAC/D,eAAO,MAAM,0BAA0B,QAAyB,CAAC"}
@@ -0,0 +1,93 @@
1
+ /**
2
+ * Trouble Action Extension Point with Explicit Registration
3
+ *
4
+ * This extension point enables plugins to define UI components and state management for device troubles.
5
+ * It supports a powerful normalization pattern where multiple different trouble types can be grouped
6
+ * under the same UI experience for consistent user workflows.
7
+ *
8
+ * ## Architecture Overview
9
+ *
10
+ * 1. **TroubleContainer** detects device troubles and emits specific troubleTypes
11
+ * 2. **TroubleActionModel** maps active troubles to normalized state keys/values
12
+ * 3. **StateExperience** renders appropriate UI components based on trouble state
13
+ * 4. **Plugins** contribute trouble-specific UI components via this extension point
14
+ *
15
+ * ## Normalization Pattern
16
+ *
17
+ * Multiple related troubles can share the same stateKey to show the same troubleshooting UI:
18
+ *
19
+ * ```json
20
+ * [
21
+ * {
22
+ * "troubleType": "pump-motor-fault",
23
+ * "stateKey": "pumpProblem",
24
+ * "stateValue": "pump-issue",
25
+ * "experienceId": "pump-troubleshoot-ui"
26
+ * },
27
+ * {
28
+ * "troubleType": "pump-pressure-low",
29
+ * "stateKey": "pumpProblem", // Same stateKey = same UI
30
+ * "stateValue": "pump-issue", // Same stateValue = same state
31
+ * "experienceId": "pump-troubleshoot-ui" // Same troubleshooting flow
32
+ * }
33
+ * ]
34
+ * ```
35
+ *
36
+ * This reduces plugin complexity and provides consistent user experiences for related issues.
37
+ *
38
+ * Replaces the legacy state-action-reducer with the simplified extension point API.
39
+ */
40
+ interface TroubleActionComponentProps {
41
+ trouble?: any;
42
+ [key: string]: unknown;
43
+ }
44
+ /**
45
+ * Trouble Action extension point that replaces legacy state-action-reducer behavior
46
+ *
47
+ * Uses explicit registration pattern to avoid circular dependencies
48
+ * and make the extension point system more predictable.
49
+ */
50
+ export declare const TroubleActionExtension: import('../../../../sdk/kos-ui-plugin/src/lib/utils/index.ts').ViewExtensionPointDefinition<{
51
+ type: "trouble.action";
52
+ id: string;
53
+ namespace: string;
54
+ title: string;
55
+ troubleType: string;
56
+ experienceId: string;
57
+ stateKey: string;
58
+ stateValue: string;
59
+ } | {
60
+ type: "trouble.action";
61
+ id: string;
62
+ namespace: string;
63
+ title: string;
64
+ troubleType: string;
65
+ experienceId: string;
66
+ stateKey: string;
67
+ stateValue: string;
68
+ rank?: unknown;
69
+ }, {
70
+ type: "trouble.action";
71
+ id: string;
72
+ namespace: string;
73
+ title: string;
74
+ troubleType: string;
75
+ experienceId: string;
76
+ stateKey: string;
77
+ stateValue: string;
78
+ } | {
79
+ type: "trouble.action";
80
+ id: string;
81
+ namespace: string;
82
+ title: string;
83
+ troubleType: string;
84
+ experienceId: string;
85
+ stateKey: string;
86
+ stateValue: string;
87
+ rank?: unknown;
88
+ }, TroubleActionComponentProps>;
89
+ export declare const EXTENSION_POINT_TROUBLE_ACTION: string;
90
+ export declare const EXTENSION_POINT_TROUBLE_ACTION_DEF: string;
91
+ export declare const EXTENSION_POINT_TROUBLE_ACTION_VIEW: string;
92
+ export {};
93
+ //# sourceMappingURL=trouble-action-extension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trouble-action-extension.d.ts","sourceRoot":"","sources":["../../../../../packages/ddk/kos-ddk-model-components/src/extensions/trouble-action-extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAkDH,UAAU,2BAA2B;IACnC,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAID;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BA8BjC,CAAC;AAGH,eAAO,MAAM,8BAA8B,QAAe,CAAC;AAC3D,eAAO,MAAM,kCAAkC,QAAwB,CAAC;AACxE,eAAO,MAAM,mCAAmC,QAAyB,CAAC"}
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Utilities Extension Point with Explicit Registration
3
+ *
4
+ * This provides the utilities extension point for use across DDK applications
5
+ * with explicit registration pattern to avoid circular dependencies.
6
+ */
7
+ interface UtilityComponentProps {
8
+ onComplete?: () => void;
9
+ customData?: any;
10
+ [key: string]: any;
11
+ }
12
+ /**
13
+ * Utilities extension point that replaces legacy util-reducer behavior
14
+ *
15
+ * Uses explicit registration pattern to avoid circular dependencies
16
+ * and make the extension point system more predictable.
17
+ */
18
+ export declare const UtilitiesExtension: import('../../../../sdk/kos-ui-plugin/src/lib/utils/index.ts').ViewExtensionPointDefinition<{
19
+ id: string;
20
+ namespace: string;
21
+ title: string;
22
+ experienceId: string;
23
+ utilDescriptor: string;
24
+ } | {
25
+ id: string;
26
+ namespace: string;
27
+ title: string;
28
+ experienceId: string;
29
+ utilDescriptor: string;
30
+ rank?: unknown;
31
+ }, {
32
+ id: string;
33
+ namespace: string;
34
+ title: string;
35
+ experienceId: string;
36
+ utilDescriptor: string;
37
+ } | {
38
+ id: string;
39
+ namespace: string;
40
+ title: string;
41
+ experienceId: string;
42
+ utilDescriptor: string;
43
+ rank?: unknown;
44
+ }, UtilityComponentProps>;
45
+ export declare const EXTENSION_POINT_UTIL: string;
46
+ export {};
47
+ //# sourceMappingURL=utilities-extension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utilities-extension.d.ts","sourceRoot":"","sources":["../../../../../packages/ddk/kos-ddk-model-components/src/extensions/utilities-extension.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AA6BH,UAAU,qBAAqB;IAC7B,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAGD;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;yBAoC7B,CAAC;AAGH,eAAO,MAAM,oBAAoB,QAAe,CAAC"}
@@ -0,0 +1,85 @@
1
+ /**
2
+ * View Extension Point with Explicit Registration
3
+ *
4
+ * This extension point enables plugins to contribute UI components to designated regions
5
+ * or sections within existing pages. It provides a flexible way to extend UI layouts
6
+ * without modifying the core page components.
7
+ *
8
+ * ## Architecture Overview
9
+ *
10
+ * 1. **Page Components** define view regions using viewKey identifiers
11
+ * 2. **Plugins** contribute components to specific viewKeys via this extension point
12
+ * 3. **Dynamic Rendering** automatically discovers and renders all contributions for a viewKey
13
+ * 4. **Multiple Contributors** can target the same viewKey for rich, extensible UIs
14
+ *
15
+ * ## Usage Pattern
16
+ *
17
+ * **In Page Components:**
18
+ * ```tsx
19
+ * import { DynamicViewRenderer } from '@kosdev-code/kos-ddk-model-components';
20
+ *
21
+ * export const SettingsPage = () => (
22
+ * <div>
23
+ * <h1>Settings</h1>
24
+ * <DynamicViewRenderer viewKey="settings.config" />
25
+ * </div>
26
+ * );
27
+ * ```
28
+ *
29
+ * **In Plugin Configurations:**
30
+ * ```json
31
+ * {
32
+ * "views": [{
33
+ * "id": "my-plugin.network-settings",
34
+ * "title": "Network Configuration",
35
+ * "viewKey": "settings.config",
36
+ * "namespace": "my-plugin",
37
+ * "experienceId": "my-plugin.network-settings.experience"
38
+ * }]
39
+ * }
40
+ * ```
41
+ *
42
+ * This replaces the legacy descriptor-based views system with the simplified extension point API.
43
+ */
44
+ interface ViewComponentProps {
45
+ viewKey?: string;
46
+ [key: string]: unknown;
47
+ }
48
+ /**
49
+ * View extension point that replaces legacy descriptor-based views behavior
50
+ *
51
+ * Uses explicit registration pattern to avoid circular dependencies
52
+ * and make the extension point system more predictable.
53
+ */
54
+ export declare const ViewExtension: import('../../../../sdk/kos-ui-plugin/src/lib/utils/index.ts').ViewExtensionPointDefinition<{
55
+ id: string;
56
+ namespace: string;
57
+ title: string;
58
+ experienceId: string;
59
+ viewKey: string;
60
+ } | {
61
+ id: string;
62
+ namespace: string;
63
+ title: string;
64
+ experienceId: string;
65
+ viewKey: string;
66
+ rank?: unknown;
67
+ }, {
68
+ id: string;
69
+ namespace: string;
70
+ title: string;
71
+ experienceId: string;
72
+ viewKey: string;
73
+ } | {
74
+ id: string;
75
+ namespace: string;
76
+ title: string;
77
+ experienceId: string;
78
+ viewKey: string;
79
+ rank?: unknown;
80
+ }, ViewComponentProps>;
81
+ export declare const EXTENSION_POINT_VIEW: string;
82
+ export declare const EXTENSION_POINT_VIEW_DEF: string;
83
+ export declare const EXTENSION_POINT_VIEW_VIEW: string;
84
+ export {};
85
+ //# sourceMappingURL=view-extension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view-extension.d.ts","sourceRoot":"","sources":["../../../../../packages/ddk/kos-ddk-model-components/src/extensions/view-extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AA+BH,UAAU,kBAAkB;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAID;;;;;GAKG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;sBA8CxB,CAAC;AAGH,eAAO,MAAM,oBAAoB,QAAe,CAAC;AACjD,eAAO,MAAM,wBAAwB,QAAwB,CAAC;AAC9D,eAAO,MAAM,yBAAyB,QAAyB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-view-extensions.d.ts","sourceRoot":"","sources":["../../../../../../packages/ddk/kos-ddk-model-components/src/hooks/extensions/use-view-extensions.ts"],"names":[],"mappings":"AAWA,UAAU,KAAK;IACb,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;CACxB;AAOD,eAAO,MAAM,iBAAiB,0CAG3B,KAAK;;;;;CA8BP,CAAC"}
1
+ {"version":3,"file":"use-view-extensions.d.ts","sourceRoot":"","sources":["../../../../../../packages/ddk/kos-ddk-model-components/src/hooks/extensions/use-view-extensions.ts"],"names":[],"mappings":"AAOA,UAAU,KAAK;IACb,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;CACxB;AAOD,eAAO,MAAM,iBAAiB,0CAG3B,KAAK;;;;;CA8BP,CAAC"}
@@ -1,6 +1,4 @@
1
1
  export declare const usePluginExtensions: <T extends Record<string, any> = Record<string, any>>(context?: T) => {
2
- getExtensions: (extensionPointId: string) => (import('../../../../../sdk/kos-ui-plugin/src/index.ts').BasePluginExtension & {
3
- data: any;
4
- })[];
2
+ getExtensions: (extensionPointId: string) => import('../../../../../sdk/kos-ui-plugin/src/index.ts').PluginExtension<T_1>[];
5
3
  };
6
4
  //# sourceMappingURL=use-plugin-extensions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-plugin-extensions.d.ts","sourceRoot":"","sources":["../../../../../../packages/ddk/kos-ddk-model-components/src/hooks/plugin-extensions/use-plugin-extensions.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,mBAAmB,kEAGpB,CAAC;sCAKU,MAAM;;;CAmB5B,CAAC"}
1
+ {"version":3,"file":"use-plugin-extensions.d.ts","sourceRoot":"","sources":["../../../../../../packages/ddk/kos-ddk-model-components/src/hooks/plugin-extensions/use-plugin-extensions.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,mBAAmB,kEAGpB,CAAC;sCAKU,MAAM;CAmB5B,CAAC"}