@qodalis/vue-cli 2.0.0-beta.16 → 2.0.0-beta.18

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/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as vue from 'vue';
2
- import { PropType, InjectionKey, Ref } from 'vue';
2
+ import { PropType, VNode, InjectionKey, Ref } from 'vue';
3
3
  import { ICliModule, ICliCommandProcessor, CliEngineSnapshot, CliPanelConfig, CliPanelPosition } from '@qodalis/cli-core';
4
- import { CliEngineOptions, CliEngine } from '@qodalis/cli';
4
+ import { CliEngineOptions, CliEngine, CreateCliEngineConfig } from '@qodalis/cli';
5
5
  export { CliEngine, CliEngineOptions } from '@qodalis/cli';
6
6
 
7
7
  /**
@@ -147,7 +147,7 @@ declare const CliPanel: vue.DefineComponent<vue.ExtractPropTypes<{
147
147
  type: StringConstructor;
148
148
  default: undefined;
149
149
  };
150
- }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
150
+ }>, () => VNode<vue.RendererNode, vue.RendererElement, {
151
151
  [key: string]: any;
152
152
  }> | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("close" | "update:collapsed" | "update:hidden" | "update:maximized" | "update:activeTabId" | "update:position" | "update:height" | "update:width" | "tab-added" | "tab-closed" | "pane-split" | "pane-closed")[], "close" | "update:collapsed" | "update:hidden" | "update:maximized" | "update:activeTabId" | "update:position" | "update:height" | "update:width" | "tab-added" | "tab-closed" | "pane-split" | "pane-closed", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
153
153
  options: {
@@ -227,13 +227,13 @@ declare const CliPanel: vue.DefineComponent<vue.ExtractPropTypes<{
227
227
  style: Record<string, string>;
228
228
  class: string;
229
229
  onClose: () => void;
230
- position: CliPanelPosition;
231
- width: number;
232
- height: number;
233
230
  collapsed: boolean;
234
231
  hidden: boolean;
235
232
  maximized: boolean;
236
233
  activeTabId: number;
234
+ position: CliPanelPosition;
235
+ height: number;
236
+ width: number;
237
237
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
238
238
 
239
239
  declare const CliProvider: vue.DefineComponent<vue.ExtractPropTypes<{
@@ -347,12 +347,8 @@ declare const CliInjectionKey: InjectionKey<CliContextValue>;
347
347
 
348
348
  declare function useCli(): CliContextValue;
349
349
 
350
- interface UseCliEngineConfig {
351
- modules?: ICliModule[];
352
- processors?: ICliCommandProcessor[];
353
- options?: CliEngineOptions;
354
- services?: Record<string, any>;
355
- }
350
+ type UseCliEngineConfig = Omit<CreateCliEngineConfig, 'framework'>;
356
351
  declare function useCliEngine(containerRef: Ref<HTMLElement | null>, config?: UseCliEngineConfig): Ref<CliEngine | null>;
357
352
 
358
- export { Cli, CliConfigKey, CliConfigProvider, type CliConfigValue, type CliContextValue, CliInjectionKey, CliPanel, type CliPanelOptions, type CliProps, CliProvider, type UseCliEngineConfig, useCli, useCliEngine };
353
+ export { Cli, CliConfigKey, CliConfigProvider, CliInjectionKey, CliPanel, CliProvider, useCli, useCliEngine };
354
+ export type { CliConfigValue, CliContextValue, CliPanelOptions, CliProps, UseCliEngineConfig };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as vue from 'vue';
2
- import { PropType, InjectionKey, Ref } from 'vue';
2
+ import { PropType, VNode, InjectionKey, Ref } from 'vue';
3
3
  import { ICliModule, ICliCommandProcessor, CliEngineSnapshot, CliPanelConfig, CliPanelPosition } from '@qodalis/cli-core';
4
- import { CliEngineOptions, CliEngine } from '@qodalis/cli';
4
+ import { CliEngineOptions, CliEngine, CreateCliEngineConfig } from '@qodalis/cli';
5
5
  export { CliEngine, CliEngineOptions } from '@qodalis/cli';
6
6
 
7
7
  /**
@@ -147,7 +147,7 @@ declare const CliPanel: vue.DefineComponent<vue.ExtractPropTypes<{
147
147
  type: StringConstructor;
148
148
  default: undefined;
149
149
  };
150
- }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
150
+ }>, () => VNode<vue.RendererNode, vue.RendererElement, {
151
151
  [key: string]: any;
152
152
  }> | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("close" | "update:collapsed" | "update:hidden" | "update:maximized" | "update:activeTabId" | "update:position" | "update:height" | "update:width" | "tab-added" | "tab-closed" | "pane-split" | "pane-closed")[], "close" | "update:collapsed" | "update:hidden" | "update:maximized" | "update:activeTabId" | "update:position" | "update:height" | "update:width" | "tab-added" | "tab-closed" | "pane-split" | "pane-closed", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
153
153
  options: {
@@ -227,13 +227,13 @@ declare const CliPanel: vue.DefineComponent<vue.ExtractPropTypes<{
227
227
  style: Record<string, string>;
228
228
  class: string;
229
229
  onClose: () => void;
230
- position: CliPanelPosition;
231
- width: number;
232
- height: number;
233
230
  collapsed: boolean;
234
231
  hidden: boolean;
235
232
  maximized: boolean;
236
233
  activeTabId: number;
234
+ position: CliPanelPosition;
235
+ height: number;
236
+ width: number;
237
237
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
238
238
 
239
239
  declare const CliProvider: vue.DefineComponent<vue.ExtractPropTypes<{
@@ -347,12 +347,8 @@ declare const CliInjectionKey: InjectionKey<CliContextValue>;
347
347
 
348
348
  declare function useCli(): CliContextValue;
349
349
 
350
- interface UseCliEngineConfig {
351
- modules?: ICliModule[];
352
- processors?: ICliCommandProcessor[];
353
- options?: CliEngineOptions;
354
- services?: Record<string, any>;
355
- }
350
+ type UseCliEngineConfig = Omit<CreateCliEngineConfig, 'framework'>;
356
351
  declare function useCliEngine(containerRef: Ref<HTMLElement | null>, config?: UseCliEngineConfig): Ref<CliEngine | null>;
357
352
 
358
- export { Cli, CliConfigKey, CliConfigProvider, type CliConfigValue, type CliContextValue, CliInjectionKey, CliPanel, type CliPanelOptions, type CliProps, CliProvider, type UseCliEngineConfig, useCli, useCliEngine };
353
+ export { Cli, CliConfigKey, CliConfigProvider, CliInjectionKey, CliPanel, CliProvider, useCli, useCliEngine };
354
+ export type { CliConfigValue, CliContextValue, CliPanelOptions, CliProps, UseCliEngineConfig };