Browse Source

Export Sector/s in TS

pull/5214/head
Artur Arseniev 3 years ago
parent
commit
8bec797142
  1. 10
      dist/index.d.ts
  2. 2
      src/index.ts

10
dist/index.d.ts

@ -2307,7 +2307,7 @@ export interface Rect {
export interface IComponentView extends ExtractMethods<ComponentView> {
}
export declare class ComponentView extends View</**
* Keep this format to avoid errors in TS bundler */
* Keep this format to avoid errors in TS bundler */
/** @ts-ignore */
Component> {
/** @ts-ignore */
@ -3631,7 +3631,7 @@ export interface ComponentsOptions {
domc?: ComponentManager;
}
export declare class Components extends Collection</**
* Keep this format to avoid errors in TS bundler */
* Keep this format to avoid errors in TS bundler */
/** @ts-ignore */
Component> {
opt: ComponentsOptions;
@ -5829,7 +5829,7 @@ export interface SectorProperties {
extendBuilded?: boolean;
properties?: PropertyProps[];
}
declare class Sector extends Model<SectorProperties> {
export declare class Sector extends Model<SectorProperties> {
em: EditorModel;
defaults(): {
id: string;
@ -6949,7 +6949,7 @@ declare class ClassTagsView extends View<Selector> {
renderStates(): void;
render(): this;
}
declare class Sectors extends Collection<Sector> {
export declare class Sectors extends Collection<Sector> {
em: EditorModel;
module: any;
initialize(prop: any, opts?: {
@ -7625,7 +7625,7 @@ export type PropertyTypes = PropertyStackProps | PropertySelectProps | PropertyN
export type StyleManagerEvent = "style:sector:add" | "style:sector:remove" | "style:sector:update" | "style:property:add" | "style:property:remove" | "style:property:update" | "style:target";
export type StyleTarget = StyleableModel;
export type StyleModuleParam<T extends keyof StyleManager, N extends number> = Parameters<StyleManager[T]>[N];
declare class StyleManager extends ItemManagerModule<StyleManagerConfig,
declare class StyleManager extends ItemManagerModule<StyleManagerConfig,
/** @ts-ignore */
Sectors> {
builtIn: PropertyFactory;

2
src/index.ts

@ -123,6 +123,8 @@ export type { default as Selectors } from './selector_manager/model/Selectors';
export type { default as State } from './selector_manager/model/State';
export type { default as Properties } from './style_manager/model/Properties';
export type { default as Property } from './style_manager/model/Property';
export type { default as Sector } from './style_manager/model/Sector';
export type { default as Sectors } from './style_manager/model/Sectors';
export type { default as Trait } from './trait_manager/model/Trait';
export type { default as Traits } from './trait_manager/model/Traits';

Loading…
Cancel
Save