@kosdev-code/kos-ui-plugin 2.0.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 (141) hide show
  1. package/dev.cjs +57 -0
  2. package/dev.cjs.map +1 -0
  3. package/dev.js +400 -0
  4. package/dev.js.map +1 -0
  5. package/emotion-react-jsx-runtime.browser.esm-UFFvJLiS.cjs +27 -0
  6. package/emotion-react-jsx-runtime.browser.esm-UFFvJLiS.cjs.map +1 -0
  7. package/emotion-react-jsx-runtime.browser.esm-vwuMB3sI.js +1161 -0
  8. package/emotion-react-jsx-runtime.browser.esm-vwuMB3sI.js.map +1 -0
  9. package/index.cjs +29 -0
  10. package/index.cjs.map +1 -0
  11. package/index.d.ts +5 -0
  12. package/index.d.ts.map +1 -0
  13. package/index.js +109 -0
  14. package/index.js.map +1 -0
  15. package/lib/components/dynamic-component/dynamic-component.d.ts +11 -0
  16. package/lib/components/dynamic-component/dynamic-component.d.ts.map +1 -0
  17. package/lib/components/dynamic-component/index.d.ts +2 -0
  18. package/lib/components/dynamic-component/index.d.ts.map +1 -0
  19. package/lib/components/dynamic-container/dynamic-container.d.ts +12 -0
  20. package/lib/components/dynamic-container/dynamic-container.d.ts.map +1 -0
  21. package/lib/components/dynamic-container/index.d.ts +2 -0
  22. package/lib/components/dynamic-container/index.d.ts.map +1 -0
  23. package/lib/components/index.d.ts +2 -0
  24. package/lib/components/index.d.ts.map +1 -0
  25. package/lib/contexts/index.d.ts +2 -0
  26. package/lib/contexts/index.d.ts.map +1 -0
  27. package/lib/contexts/plugins-provider/index.d.ts +2 -0
  28. package/lib/contexts/plugins-provider/index.d.ts.map +1 -0
  29. package/lib/contexts/plugins-provider/plugins-provider.d.ts +32 -0
  30. package/lib/contexts/plugins-provider/plugins-provider.d.ts.map +1 -0
  31. package/lib/dev/components/dynamic-view/dynamic-component-view.d.ts +9 -0
  32. package/lib/dev/components/dynamic-view/dynamic-component-view.d.ts.map +1 -0
  33. package/lib/dev/components/dynamic-view/dynamic-container.d.ts +8 -0
  34. package/lib/dev/components/dynamic-view/dynamic-container.d.ts.map +1 -0
  35. package/lib/dev/components/dynamic-view/dynamic-view-basic.d.ts +13 -0
  36. package/lib/dev/components/dynamic-view/dynamic-view-basic.d.ts.map +1 -0
  37. package/lib/dev/components/dynamic-view/dynamic-view-modal.d.ts +15 -0
  38. package/lib/dev/components/dynamic-view/dynamic-view-modal.d.ts.map +1 -0
  39. package/lib/dev/components/dynamic-view/dynamic-view-picker.d.ts +9 -0
  40. package/lib/dev/components/dynamic-view/dynamic-view-picker.d.ts.map +1 -0
  41. package/lib/dev/components/dynamic-view/dynamic-view-settings.d.ts +15 -0
  42. package/lib/dev/components/dynamic-view/dynamic-view-settings.d.ts.map +1 -0
  43. package/lib/dev/components/dynamic-view/dynamic-view-utilities.d.ts +15 -0
  44. package/lib/dev/components/dynamic-view/dynamic-view-utilities.d.ts.map +1 -0
  45. package/lib/dev/components/dynamic-view/index.d.ts +8 -0
  46. package/lib/dev/components/dynamic-view/index.d.ts.map +1 -0
  47. package/lib/dev/components/index.d.ts +4 -0
  48. package/lib/dev/components/index.d.ts.map +1 -0
  49. package/lib/dev/components/shell/header/header.d.ts +2 -0
  50. package/lib/dev/components/shell/header/header.d.ts.map +1 -0
  51. package/lib/dev/components/shell/header/index.d.ts +2 -0
  52. package/lib/dev/components/shell/header/index.d.ts.map +1 -0
  53. package/lib/dev/components/shell/index.d.ts +3 -0
  54. package/lib/dev/components/shell/index.d.ts.map +1 -0
  55. package/lib/dev/components/shell/shell.d.ts +10 -0
  56. package/lib/dev/components/shell/shell.d.ts.map +1 -0
  57. package/lib/dev/components/storybook/cui-story-container/cui-story-container.d.ts +8 -0
  58. package/lib/dev/components/storybook/cui-story-container/cui-story-container.d.ts.map +1 -0
  59. package/lib/dev/components/storybook/cui-story-container/index.d.ts +2 -0
  60. package/lib/dev/components/storybook/cui-story-container/index.d.ts.map +1 -0
  61. package/lib/dev/components/storybook/index.d.ts +6 -0
  62. package/lib/dev/components/storybook/index.d.ts.map +1 -0
  63. package/lib/dev/components/storybook/nav-story-container/index.d.ts +2 -0
  64. package/lib/dev/components/storybook/nav-story-container/index.d.ts.map +1 -0
  65. package/lib/dev/components/storybook/nav-story-container/nav-story-container.d.ts +8 -0
  66. package/lib/dev/components/storybook/nav-story-container/nav-story-container.d.ts.map +1 -0
  67. package/lib/dev/components/storybook/setting-story-container/index.d.ts +2 -0
  68. package/lib/dev/components/storybook/setting-story-container/index.d.ts.map +1 -0
  69. package/lib/dev/components/storybook/setting-story-container/setting-story-container.d.ts +8 -0
  70. package/lib/dev/components/storybook/setting-story-container/setting-story-container.d.ts.map +1 -0
  71. package/lib/dev/components/storybook/setup-step-story-container/index.d.ts +2 -0
  72. package/lib/dev/components/storybook/setup-step-story-container/index.d.ts.map +1 -0
  73. package/lib/dev/components/storybook/setup-step-story-container/setup-step-story-container.d.ts +8 -0
  74. package/lib/dev/components/storybook/setup-step-story-container/setup-step-story-container.d.ts.map +1 -0
  75. package/lib/dev/components/storybook/utility-story-container/index.d.ts +2 -0
  76. package/lib/dev/components/storybook/utility-story-container/index.d.ts.map +1 -0
  77. package/lib/dev/components/storybook/utility-story-container/utility-story-container.d.ts +8 -0
  78. package/lib/dev/components/storybook/utility-story-container/utility-story-container.d.ts.map +1 -0
  79. package/lib/dev/index.d.ts +3 -0
  80. package/lib/dev/index.d.ts.map +1 -0
  81. package/lib/dev/utils/index.d.ts +2 -0
  82. package/lib/dev/utils/index.d.ts.map +1 -0
  83. package/lib/dev/utils/kos-metadata-parser.d.ts +6 -0
  84. package/lib/dev/utils/kos-metadata-parser.d.ts.map +1 -0
  85. package/lib/dev/utils/normalize.d.ts +2 -0
  86. package/lib/dev/utils/normalize.d.ts.map +1 -0
  87. package/lib/hooks/index.d.ts +2 -0
  88. package/lib/hooks/index.d.ts.map +1 -0
  89. package/lib/hooks/use-dynamic-component.d.ts +14 -0
  90. package/lib/hooks/use-dynamic-component.d.ts.map +1 -0
  91. package/lib/utils/contribution-reducer.d.ts +5 -0
  92. package/lib/utils/contribution-reducer.d.ts.map +1 -0
  93. package/lib/utils/cui-reducer.d.ts +7 -0
  94. package/lib/utils/cui-reducer.d.ts.map +1 -0
  95. package/lib/utils/dashboard-detail-reducer.d.ts +5 -0
  96. package/lib/utils/dashboard-detail-reducer.d.ts.map +1 -0
  97. package/lib/utils/dashboard-pump-detail-reducer.d.ts +5 -0
  98. package/lib/utils/dashboard-pump-detail-reducer.d.ts.map +1 -0
  99. package/lib/utils/dashboard-reducer.d.ts +3 -0
  100. package/lib/utils/dashboard-reducer.d.ts.map +1 -0
  101. package/lib/utils/dashboard-summary-reducer.d.ts +5 -0
  102. package/lib/utils/dashboard-summary-reducer.d.ts.map +1 -0
  103. package/lib/utils/index.d.ts +15 -0
  104. package/lib/utils/index.d.ts.map +1 -0
  105. package/lib/utils/initialize-plugins.d.ts +36 -0
  106. package/lib/utils/initialize-plugins.d.ts.map +1 -0
  107. package/lib/utils/nav-view-reducer.d.ts +5 -0
  108. package/lib/utils/nav-view-reducer.d.ts.map +1 -0
  109. package/lib/utils/plugin-extension-manager.d.ts +17 -0
  110. package/lib/utils/plugin-extension-manager.d.ts.map +1 -0
  111. package/lib/utils/plugin-reducer.d.ts +17 -0
  112. package/lib/utils/plugin-reducer.d.ts.map +1 -0
  113. package/lib/utils/process-kos-config.d.ts +23 -0
  114. package/lib/utils/process-kos-config.d.ts.map +1 -0
  115. package/lib/utils/settings-reducer.d.ts +8 -0
  116. package/lib/utils/settings-reducer.d.ts.map +1 -0
  117. package/lib/utils/setup-reducer.d.ts +7 -0
  118. package/lib/utils/setup-reducer.d.ts.map +1 -0
  119. package/lib/utils/state-action-reducer.d.ts +5 -0
  120. package/lib/utils/state-action-reducer.d.ts.map +1 -0
  121. package/lib/utils/util-reducer.d.ts +7 -0
  122. package/lib/utils/util-reducer.d.ts.map +1 -0
  123. package/lib/webpack/index.d.ts +2 -0
  124. package/lib/webpack/index.d.ts.map +1 -0
  125. package/lib/webpack/with-kos-config.d.ts +2 -0
  126. package/lib/webpack/with-kos-config.d.ts.map +1 -0
  127. package/package.json +35 -0
  128. package/plugin-extension-manager-7xDx0VSt.js +524 -0
  129. package/plugin-extension-manager-7xDx0VSt.js.map +1 -0
  130. package/plugin-extension-manager-D9aw-mUM.cjs +2 -0
  131. package/plugin-extension-manager-D9aw-mUM.cjs.map +1 -0
  132. package/types/global.d.ts +95 -0
  133. package/types/plugins.d.ts +161 -0
  134. package/utils.cjs +2 -0
  135. package/utils.cjs.map +1 -0
  136. package/utils.js +327 -0
  137. package/utils.js.map +1 -0
  138. package/webpack.cjs +13 -0
  139. package/webpack.cjs.map +1 -0
  140. package/webpack.js +842 -0
  141. package/webpack.js.map +1 -0
@@ -0,0 +1,32 @@
1
+ import { PluginExtension } from '../../../types/plugins';
2
+ import { DynamicRemotes } from '../../../types/global';
3
+ import { PropsWithChildren } from 'react';
4
+
5
+ interface PluginsType {
6
+ remotes?: DynamicRemotes;
7
+ extensions?: PluginExtensionsType;
8
+ extensionPoints?: Record<string, PluginExtension[]>;
9
+ getExtensions: (extensionPointId: string) => PluginExtension[];
10
+ }
11
+ export interface PluginExtensionsType {
12
+ [k: string]: {
13
+ [k: string]: PluginExtension;
14
+ };
15
+ }
16
+ /**
17
+ * The context for managing dynamic remotes and extensions.
18
+ */
19
+ export declare const RemotesContext: import('react').Context<PluginsType | undefined>;
20
+ interface Props {
21
+ remotesOverride?: DynamicRemotes;
22
+ }
23
+ /**
24
+ * The provider component for the RemotesContext.
25
+ */
26
+ export declare const KosPluginProvider: React.FunctionComponent<PropsWithChildren<Props>>;
27
+ /**
28
+ * Custom hook for accessing the RemotesContext.
29
+ */
30
+ export declare const useKosPluginsContext: () => PluginsType;
31
+ export {};
32
+ //# sourceMappingURL=plugins-provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugins-provider.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-plugin/src/lib/contexts/plugins-provider/plugins-provider.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EACL,iBAAiB,EAKlB,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAG9D,UAAU,WAAW;IACnB,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,EAAE,CAAC,CAAC;IACpD,aAAa,EAAE,CAAC,gBAAgB,EAAE,MAAM,KAAK,eAAe,EAAE,CAAC;CAChE;AAED,MAAM,WAAW,oBAAoB;IACnC,CAAC,CAAC,EAAE,MAAM,GAAG;QACX,CAAC,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC;KAC9B,CAAC;CACH;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,kDAAoD,CAAC;AAEhF,UAAU,KAAK;IACb,eAAe,CAAC,EAAE,cAAc,CAAC;CAClC;AAgBD;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CACrD,iBAAiB,CAAC,KAAK,CAAC,CAmBzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,mBAQhC,CAAC"}
@@ -0,0 +1,9 @@
1
+ interface DynamicComponentViewProps {
2
+ component: string;
3
+ location: string;
4
+ resolver: (location: string) => any;
5
+ props?: any;
6
+ }
7
+ export declare const DynamicComponentView: ({ component, location, resolver, props, }: DynamicComponentViewProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;
8
+ export {};
9
+ //# sourceMappingURL=dynamic-component-view.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamic-component-view.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/components/dynamic-view/dynamic-component-view.tsx"],"names":[],"mappings":"AAEA,UAAU,yBAAyB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,GAAG,CAAC;IACpC,KAAK,CAAC,EAAE,GAAG,CAAC;CACb;AAED,eAAO,MAAM,oBAAoB,8CAK9B,yBAAyB,4DAc3B,CAAC"}
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface DynamicContainerProps {
3
+ kOSJSON: any;
4
+ resolver: (location: string) => any;
5
+ }
6
+ export declare const DynamicContainer: React.FunctionComponent<DynamicContainerProps>;
7
+ export {};
8
+ //# sourceMappingURL=dynamic-container.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamic-container.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/components/dynamic-view/dynamic-container.tsx"],"names":[],"mappings":";AAkBA,UAAU,qBAAqB;IAC7B,OAAO,EAAE,GAAG,CAAC;IACb,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,GAAG,CAAC;CACrC;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,iBAAiB,CAAC,qBAAqB,CAiCxE,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { KOSMetadata } from '../../utils';
2
+
3
+ interface DynamicViewBasicProps {
4
+ kOSMetadata: KOSMetadata;
5
+ list: any[];
6
+ map: Record<string, any>;
7
+ resolver: (location: string) => any;
8
+ }
9
+ export declare const DynamicViewBasic: (({ kOSMetadata: { experiencesMap }, list, map, resolver, }: DynamicViewBasicProps) => import("@emotion/react/jsx-runtime").JSX.Element) & {
10
+ displayName: string;
11
+ };
12
+ export {};
13
+ //# sourceMappingURL=dynamic-view-basic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamic-view-basic.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/components/dynamic-view/dynamic-view-basic.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAW1C,UAAU,qBAAqB;IAC7B,WAAW,EAAE,WAAW,CAAC;IACzB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACzB,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,GAAG,CAAC;CACrC;AAED,eAAO,MAAM,gBAAgB,+DAMxB,qBAAqB;;CA6CzB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { KOSMetadata } from '../../utils';
2
+
3
+ interface DynamicViewModalProps {
4
+ kOSMetadata: KOSMetadata;
5
+ list: any[];
6
+ map: Record<string, any>;
7
+ showOpenButton?: boolean;
8
+ showCloseButton?: boolean;
9
+ resolver: (location: string) => any;
10
+ }
11
+ export declare const DynamicViewModal: (({ kOSMetadata: { experiencesMap }, list, map, showOpenButton, showCloseButton, resolver, }: DynamicViewModalProps) => import("@emotion/react/jsx-runtime").JSX.Element) & {
12
+ displayName: string;
13
+ };
14
+ export {};
15
+ //# sourceMappingURL=dynamic-view-modal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamic-view-modal.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/components/dynamic-view/dynamic-view-modal.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAU1C,UAAU,qBAAqB;IAC7B,WAAW,EAAE,WAAW,CAAC;IACzB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,GAAG,CAAC;CACrC;AAED,eAAO,MAAM,gBAAgB,gGAQxB,qBAAqB;;CA6DzB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { KOSMetadata } from '../../utils';
2
+
3
+ interface DynamicViewPickerProps {
4
+ kOSMetadata: KOSMetadata;
5
+ resolver: (location: string) => any;
6
+ }
7
+ export declare const DynamicViewPicker: ({ kOSMetadata: { defaultExperienceId, experienceList, experienceMap }, resolver, }: DynamicViewPickerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=dynamic-view-picker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamic-view-picker.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/components/dynamic-view/dynamic-view-picker.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAS1C,UAAU,sBAAsB;IAC9B,WAAW,EAAE,WAAW,CAAC;IACzB,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,GAAG,CAAC;CACrC;AAED,eAAO,MAAM,iBAAiB,uFAG3B,sBAAsB,qDA8BxB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { KOSMetadata } from '../../utils';
2
+ import { SettingsDefinition } from '../../../../types/global';
3
+
4
+ interface DynamicViewSettingsProps {
5
+ kOSMetadata: KOSMetadata;
6
+ list: SettingsDefinition[];
7
+ map: Record<string, any>;
8
+ showOpenButton?: boolean;
9
+ showCloseButton?: boolean;
10
+ baseRoute?: string;
11
+ resolver: (location: string) => any;
12
+ }
13
+ export declare const DynamicViewSettings: ({ kOSMetadata: { experiencesMap }, list, resolver, }: DynamicViewSettingsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
14
+ export {};
15
+ //# sourceMappingURL=dynamic-view-settings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamic-view-settings.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/components/dynamic-view/dynamic-view-settings.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAyE1C,UAAU,wBAAwB;IAChC,WAAW,EAAE,WAAW,CAAC;IACzB,IAAI,EAAE,kBAAkB,EAAE,CAAC;IAC3B,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,GAAG,CAAC;CACrC;AAED,eAAO,MAAM,mBAAmB,yDAK7B,wBAAwB,qDAsC1B,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { KOSMetadata } from '../../utils';
2
+
3
+ interface DynamicViewUtilitiesProps {
4
+ kOSMetadata: KOSMetadata;
5
+ list: any[];
6
+ map: Record<string, any>;
7
+ showOpenButton?: boolean;
8
+ showCloseButton?: boolean;
9
+ resolver: (location: string) => any;
10
+ }
11
+ export declare const DynamicViewUtilities: (({ kOSMetadata: { experiencesMap }, list, map, resolver, }: DynamicViewUtilitiesProps) => import("@emotion/react/jsx-runtime").JSX.Element) & {
12
+ displayName: string;
13
+ };
14
+ export {};
15
+ //# sourceMappingURL=dynamic-view-utilities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamic-view-utilities.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/components/dynamic-view/dynamic-view-utilities.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAW1C,UAAU,yBAAyB;IACjC,WAAW,EAAE,WAAW,CAAC;IACzB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,GAAG,CAAC;CACrC;AAED,eAAO,MAAM,oBAAoB,+DAM5B,yBAAyB;;CAkD7B,CAAC"}
@@ -0,0 +1,8 @@
1
+ export * from './dynamic-component-view';
2
+ export * from './dynamic-container';
3
+ export * from './dynamic-view-basic';
4
+ export * from './dynamic-view-modal';
5
+ export * from './dynamic-view-picker';
6
+ export * from './dynamic-view-settings';
7
+ export * from './dynamic-view-utilities';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/components/dynamic-view/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from './dynamic-view';
2
+ export * from './shell';
3
+ export * from './storybook';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const Header: () => import("@emotion/react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/components/shell/header/header.tsx"],"names":[],"mappings":"AA+CA,eAAO,MAAM,MAAM,wDAkBlB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './header';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/components/shell/header/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './header';
2
+ export * from './shell';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/components/shell/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ interface ShellProps {
4
+ children: ReactNode;
5
+ }
6
+ export declare const Shell: (({ children }: ShellProps) => import("@emotion/react/jsx-runtime").JSX.Element) & {
7
+ displayName: string;
8
+ };
9
+ export {};
10
+ //# sourceMappingURL=shell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/components/shell/shell.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAgBlC,UAAU,UAAU;IAClB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,KAAK,kBAA+B,UAAU;;CAKzD,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ interface CUIStoryContainerProps {
4
+ children: ReactNode;
5
+ }
6
+ export declare const CUIStoryContainer: ({ children }: CUIStoryContainerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=cui-story-container.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cui-story-container.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/components/storybook/cui-story-container/cui-story-container.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,iBAAiB,iBAAkB,sBAAsB,qDAuBrE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './cui-story-container';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/components/storybook/cui-story-container/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,6 @@
1
+ export * from './cui-story-container';
2
+ export * from './nav-story-container';
3
+ export * from './setting-story-container';
4
+ export * from './setup-step-story-container';
5
+ export * from './utility-story-container';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/components/storybook/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './nav-story-container';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/components/storybook/nav-story-container/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ interface NavStoryContainerProps {
4
+ children: ReactNode;
5
+ }
6
+ export declare const NavStoryContainer: ({ children }: NavStoryContainerProps) => ReactNode;
7
+ export {};
8
+ //# sourceMappingURL=nav-story-container.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nav-story-container.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/components/storybook/nav-story-container/nav-story-container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,iBAAiB,iBAAkB,sBAAsB,cAC5D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './setting-story-container';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/components/storybook/setting-story-container/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ interface SettingStoryContainerProps {
4
+ children: ReactNode;
5
+ }
6
+ export declare const SettingStoryContainer: ({ children, }: SettingStoryContainerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=setting-story-container.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setting-story-container.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/components/storybook/setting-story-container/setting-story-container.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,UAAU,0BAA0B;IAClC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,qBAAqB,kBAE/B,0BAA0B,qDAK5B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './setup-step-story-container';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/components/storybook/setup-step-story-container/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ interface SetupStepStoryContainerProps {
4
+ children: ReactNode;
5
+ }
6
+ export declare const SetupStepStoryContainer: ({ children, }: SetupStepStoryContainerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=setup-step-story-container.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup-step-story-container.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/components/storybook/setup-step-story-container/setup-step-story-container.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,UAAU,4BAA4B;IACpC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,uBAAuB,kBAEjC,4BAA4B,qDAuB9B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './utility-story-container';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/components/storybook/utility-story-container/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ interface UtilityStoryContainerProps {
4
+ children: ReactNode;
5
+ }
6
+ export declare const UtilityStoryContainer: ({ children, }: UtilityStoryContainerProps) => ReactNode;
7
+ export {};
8
+ //# sourceMappingURL=utility-story-container.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utility-story-container.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/components/storybook/utility-story-container/utility-story-container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,UAAU,0BAA0B;IAClC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,qBAAqB,kBAE/B,0BAA0B,cAAa,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './components';
2
+ export * from './utils';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './kos-metadata-parser';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,6 @@
1
+ export interface KOSMetadata {
2
+ json: any;
3
+ [key: string]: any;
4
+ }
5
+ export declare const parse: (json: any) => KOSMetadata;
6
+ //# sourceMappingURL=kos-metadata-parser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kos-metadata-parser.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/utils/kos-metadata-parser.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,GAAG,CAAC;IACV,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,eAAO,MAAM,KAAK,SAAU,GAAG,KAAG,WAUjC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const normalize: (json: any) => Record<string, any>;
2
+ //# sourceMappingURL=normalize.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-plugin/src/lib/dev/utils/normalize.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,SAAU,GAAG,KAAG,OAAO,MAAM,EAAE,GAAG,CAqBhD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './use-dynamic-component';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-plugin/src/lib/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { BasePluginExtension } from '../../types/plugins';
2
+ import { default as React } from 'react';
3
+
4
+ interface Props {
5
+ extension: string;
6
+ module?: string;
7
+ }
8
+ type DynamicComponentResult = [
9
+ React.FunctionComponent | null,
10
+ BasePluginExtension | null
11
+ ];
12
+ export declare const useDynamicComponent: ({ extension, module, }: Props) => DynamicComponentResult;
13
+ export {};
14
+ //# sourceMappingURL=use-dynamic-component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-dynamic-component.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-plugin/src/lib/hooks/use-dynamic-component.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EACV,mBAAmB,EAEpB,MAAM,qBAAqB,CAAC;AAG7B,UAAU,KAAK;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAkBD,KAAK,sBAAsB,GAAG;IAC5B,KAAK,CAAC,iBAAiB,GAAG,IAAI;IAC9B,mBAAmB,GAAG,IAAI;CAC3B,CAAC;AACF,eAAO,MAAM,mBAAmB,2BAG7B,KAAK,2BAkCP,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { ProcessedContributions } from '../../types/plugins';
2
+ import { DynamicRemotes } from '../../types/global';
3
+
4
+ export declare const contributionReducer: (remotes: DynamicRemotes) => (acc: ProcessedContributions, key: string) => ProcessedContributions;
5
+ //# sourceMappingURL=contribution-reducer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contribution-reducer.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-plugin/src/lib/utils/contribution-reducer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAElE,eAAO,MAAM,mBAAmB,YACpB,cAAc,WAAW,sBAAsB,OAAO,MAAM,2BAqIrE,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { PluginExtensionsType, ProcessedContributions } from '../../types/plugins';
2
+
3
+ export declare const EXTENSION_POINT_CUI_DEF = "ddk.cui";
4
+ export declare const EXTENSION_POINT_CUI_VIEW = "ddk.cui.view";
5
+ export declare const EXTENSION_POINT_CUI = "ddk.cui.settings.config";
6
+ export declare const cuiReducer: (experiences: ProcessedContributions["experiences"], cuiDefinitions: ProcessedContributions["cuiDefinitions"]) => (acc: PluginExtensionsType, key: string) => PluginExtensionsType;
7
+ //# sourceMappingURL=cui-reducer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cui-reducer.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-plugin/src/lib/utils/cui-reducer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,uBAAuB,YAAY,CAAC;AACjD,eAAO,MAAM,wBAAwB,iBAAiB,CAAC;AACvD,eAAO,MAAM,mBAAmB,4BAA4B,CAAC;AAC7D,eAAO,MAAM,UAAU,gBAEN,sBAAsB,CAAC,aAAa,CAAC,kBAClC,sBAAsB,CAAC,gBAAgB,CAAC,WAEpD,oBAAoB,OAAO,MAAM,yBAmCtC,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const EXTENSION_POINT_DASHBOARD_DETAIL_DEF = "ddk.dashboard.detail";
2
+ export declare const EXTENSION_POINT_DASHBOARD_DETAIL_VIEW = "ddk.dashboard.detail.view";
3
+ export declare const EXTENSION_POINT_DASHBOARD_DETAIL = "ddk.ncui.dashboard.detail.config";
4
+ export declare const dashboardDetailReducer: (experiences: Record<string, any>, contributions: import('../../types/plugins').ProcessedContributions) => (acc: import('../..').PluginExtensionsType, key: string) => import('../..').PluginExtensionsType;
5
+ //# sourceMappingURL=dashboard-detail-reducer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard-detail-reducer.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-plugin/src/lib/utils/dashboard-detail-reducer.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oCAAoC,yBAAyB,CAAC;AAC3E,eAAO,MAAM,qCAAqC,8BACrB,CAAC;AAC9B,eAAO,MAAM,gCAAgC,qCACT,CAAC;AACrC,eAAO,MAAM,sBAAsB,6MAQjC,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const EXTENSION_POINT_DASHBOARD_PUMP_DETAIL_DEF = "ddk.dashboard.pump.detail";
2
+ export declare const EXTENSION_POINT_DASHBOARD_PUMP_DETAIL_VIEW = "ddk.dashboard.pump.detail.view";
3
+ export declare const EXTENSION_POINT_DASHBOARD_PUMP_DETAIL = "ddk.dashboard.pump.detail.config";
4
+ export declare const dashboardPumpDetailReducer: (experiences: Record<string, any>, contributions: import('../../types/plugins').ProcessedContributions) => (acc: import('../..').PluginExtensionsType, key: string) => import('../..').PluginExtensionsType;
5
+ //# sourceMappingURL=dashboard-pump-detail-reducer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard-pump-detail-reducer.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-plugin/src/lib/utils/dashboard-pump-detail-reducer.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yCAAyC,8BACzB,CAAC;AAC9B,eAAO,MAAM,0CAA0C,mCACrB,CAAC;AACnC,eAAO,MAAM,qCAAqC,qCACd,CAAC;AAErC,eAAO,MAAM,0BAA0B,6MAQrC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const EXTENSION_POINT_DASHBOARD = "ddk.ncui.dashboard.config";
2
+ export declare const dashboardReducer: (experiences: Record<string, any>, contributions: import('../../types/plugins').ProcessedContributions) => (acc: import('../..').PluginExtensionsType, key: string) => import('../..').PluginExtensionsType;
3
+ //# sourceMappingURL=dashboard-reducer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard-reducer.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-plugin/src/lib/utils/dashboard-reducer.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB,8BAA8B,CAAC;AACrE,eAAO,MAAM,gBAAgB,6MAM3B,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const EXTENSION_POINT_DASHBOARD_SUMMARY_DEF = "ddk.dashboard.summary";
2
+ export declare const EXTENSION_POINT_DASHBOARD_SUMMARY_VIEW = "ddk.dashboard.summary.view";
3
+ export declare const EXTENSION_POINT_DASHBOARD_SUMMARY = "ddk.ncui.dashboard.summary.config";
4
+ export declare const dashboardSummaryReducer: (experiences: Record<string, any>, contributions: import('../../types/plugins').ProcessedContributions) => (acc: import('../..').PluginExtensionsType, key: string) => import('../..').PluginExtensionsType;
5
+ //# sourceMappingURL=dashboard-summary-reducer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard-summary-reducer.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-plugin/src/lib/utils/dashboard-summary-reducer.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qCAAqC,0BAA0B,CAAC;AAC7E,eAAO,MAAM,sCAAsC,+BACrB,CAAC;AAC/B,eAAO,MAAM,iCAAiC,sCACT,CAAC;AACtC,eAAO,MAAM,uBAAuB,6MAQlC,CAAC"}
@@ -0,0 +1,15 @@
1
+ export * from './contribution-reducer';
2
+ export * from './cui-reducer';
3
+ export * from './dashboard-detail-reducer';
4
+ export * from './dashboard-pump-detail-reducer';
5
+ export * from './dashboard-reducer';
6
+ export * from './dashboard-summary-reducer';
7
+ export * from './initialize-plugins';
8
+ export * from './nav-view-reducer';
9
+ export * from './plugin-extension-manager';
10
+ export * from './process-kos-config';
11
+ export * from './settings-reducer';
12
+ export * from './setup-reducer';
13
+ export * from './state-action-reducer';
14
+ export * from './util-reducer';
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-plugin/src/lib/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { PluginExtension, PluginExtensionsType } from '../../types/plugins';
2
+ import { Contributions, DynamicRemotes } from '../../types/global';
3
+
4
+ declare interface KosPluginsType {
5
+ __dynamicRemotes: DynamicRemotes;
6
+ __extensions?: PluginExtensionsType;
7
+ extensions?: Record<string, PluginExtension[]>;
8
+ }
9
+ declare global {
10
+ interface Window {
11
+ KosPlugins: KosPluginsType;
12
+ }
13
+ }
14
+ export interface Extensions {
15
+ extensionPointId: string;
16
+ id: string;
17
+ component: string;
18
+ }
19
+ export interface Descriptor {
20
+ id: string;
21
+ baseUrl: string;
22
+ descriptor: {
23
+ id: string;
24
+ extensions: Extensions[];
25
+ contributes: Contributions;
26
+ };
27
+ }
28
+ interface KosPluginsProps {
29
+ pluginBaseUrl?: string;
30
+ pluginApiPath?: string;
31
+ overrides?: Record<string, string>;
32
+ }
33
+ export declare const getQueryParams: (query?: null) => {};
34
+ export declare const initializeKosPlugins: (props?: KosPluginsProps) => Promise<Record<string, string>>;
35
+ export {};
36
+ //# sourceMappingURL=initialize-plugins.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"initialize-plugins.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-plugin/src/lib/utils/initialize-plugins.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,WAAW,cAAc;IAC9B,gBAAgB,EAAE,cAAc,CAAC;IACjC,YAAY,CAAC,EAAE,oBAAoB,CAAC;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,EAAE,CAAC,CAAC;CAChD;AACD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,UAAU,EAAE,cAAc,CAAC;KAC5B;CACF;AAED,MAAM,WAAW,UAAU;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE;QACV,EAAE,EAAE,MAAM,CAAC;QACX,UAAU,EAAE,UAAU,EAAE,CAAC;QACzB,WAAW,EAAE,aAAa,CAAC;KAC5B,CAAC;CACH;AAED,UAAU,eAAe;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACpC;AAED,eAAO,MAAM,cAAc,sBAiBjB,CAAC;AAWX,eAAO,MAAM,oBAAoB,WAAkB,eAAe,oCAoCjE,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const EXTENSION_POINT_NAV_VIEW_DEF = "ddk.nav.view";
2
+ export declare const EXTENSION_POINT_NAV_VIEW_VIEW = "ddk.nav.view.view";
3
+ export declare const EXTENSION_POINT_NAV_VIEW = "ddk.ncui.nav.view.config";
4
+ export declare const navViewReducer: (experiences: Record<string, any>, contributions: import('../../types/plugins').ProcessedContributions) => (acc: import('../..').PluginExtensionsType, key: string) => import('../..').PluginExtensionsType;
5
+ //# sourceMappingURL=nav-view-reducer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nav-view-reducer.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-plugin/src/lib/utils/nav-view-reducer.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B,iBAAiB,CAAC;AAC3D,eAAO,MAAM,6BAA6B,sBAAsB,CAAC;AACjE,eAAO,MAAM,wBAAwB,6BAA6B,CAAC;AAEnE,eAAO,MAAM,cAAc,6MAQzB,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { PluginExtension, PluginExtensionsType, ProcessedContributions } from '../../types/plugins';
2
+ import { DynamicRemotes } from '../../types/global';
3
+
4
+ interface PluginsType {
5
+ remotes?: DynamicRemotes;
6
+ extensions?: PluginExtensionsType;
7
+ extensionPoints?: Record<string, PluginExtension[]>;
8
+ getExtensions: (extensionPointId: string) => PluginExtension[];
9
+ }
10
+ export declare function initPluginManager(remotesOverride?: DynamicRemotes): Promise<PluginsType>;
11
+ export declare function getContributions(remotes?: DynamicRemotes): ProcessedContributions;
12
+ export declare function loadExtensions(remotes?: DynamicRemotes): Promise<PluginExtensionsType>;
13
+ export declare function getExtensions(extensionPointId: string): Promise<(import('../../types/plugins').BasePluginExtension & {
14
+ data: any;
15
+ })[]>;
16
+ export {};
17
+ //# sourceMappingURL=plugin-extension-manager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-extension-manager.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-plugin/src/lib/utils/plugin-extension-manager.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AAc7B,UAAU,WAAW;IACnB,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,EAAE,CAAC,CAAC;IACpD,aAAa,EAAE,CAAC,gBAAgB,EAAE,MAAM,KAAK,eAAe,EAAE,CAAC;CAChE;AACD,wBAAsB,iBAAiB,CACrC,eAAe,CAAC,EAAE,cAAc,GAC/B,OAAO,CAAC,WAAW,CAAC,CAmCtB;AAeD,wBAAgB,gBAAgB,CAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,sBAAsB,CAUxB;AACD,wBAAsB,cAAc,CAAC,OAAO,CAAC,EAAE,cAAc,iCAuI5D;AAED,wBAAsB,aAAa,CAAC,gBAAgB,EAAE,MAAM;;MAG3D"}