Sha256: a5f1854e185673ae2d7230a64140bf365696e6309fa9a9a23ca4910d9b76771d

Contents?: true

Size: 1.52 KB

Versions: 114

Compression:

Stored size: 1.52 KB

Contents

import { Controller } from '@hotwired/stimulus';
type TOutletEventLookup = boolean | {
    [k: string]: TOutletEventLookup;
};
export type TOutletChangeData<T> = {
    eventKey?: string;
    data?: T;
} | undefined;
export default class OutletManagerController<T> extends Controller {
    #private;
    static values: {
        outletEvents: ArrayConstructor;
    };
    readonly outletEventsValue: Array<string>;
    readonly hasOutletEventsValue: boolean;
    static outlets: string[];
    readonly toggleableOutlets: Array<OutletManagerController<T>>;
    readonly hasToggleableOutlet: boolean;
    readonly optionsOutlets: Array<OutletManagerController<T>>;
    readonly hasOptionsOutlet: boolean;
    readonly stringMatchOutlets: Array<OutletManagerController<T>>;
    readonly hasStringMatchOutlet: boolean;
    outletEventsLookup: TOutletEventLookup | null;
    static domEvents: {
        [k: string]: boolean;
    };
    eventRecords: Map<Event, boolean>;
    getOutlets(): Array<OutletManagerController<T>> | null | void;
    outletUpdate(event: Event, data: TOutletChangeData<T>): void;
    getState(): T;
    connect(): void;
    syncOutlets(): void;
    sendToOutlets(event: Event, updateTo?: TOutletChangeData<T>): void;
    isListeningForOutletEvent(eventTypes: string): boolean;
    isDOMEventName(eventName: string): boolean;
    getEventKey(event: Event): string;
    hasHeardEvent(event: Event): boolean;
    get event_key_prefix(): string;
    get event_key_postfix(): string;
    get outletEvents(): TOutletEventLookup;
}
export {};

Version data entries

114 entries across 60 versions & 1 rubygems

Version Path
ariadne_view_components-0.0.59-x64-mingw-ucrt app/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts
ariadne_view_components-0.0.59-x64-mingw-ucrt app/assets/javascripts/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts
ariadne_view_components-0.0.59-aarch64-linux app/assets/javascripts/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts
ariadne_view_components-0.0.59-aarch64-linux app/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts
ariadne_view_components-0.0.59-x86_64-darwin app/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts
ariadne_view_components-0.0.59-x86_64-darwin app/assets/javascripts/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts
ariadne_view_components-0.0.59-x86_64-linux app/assets/javascripts/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts
ariadne_view_components-0.0.59-x86_64-linux app/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts
ariadne_view_components-0.0.59-arm64-darwin app/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts
ariadne_view_components-0.0.59-arm64-darwin app/assets/javascripts/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts
ariadne_view_components-0.0.59 app/assets/javascripts/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts
ariadne_view_components-0.0.59 app/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts
ariadne_view_components-0.0.58-x86_64-darwin app/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts
ariadne_view_components-0.0.58-x86_64-darwin app/assets/javascripts/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts
ariadne_view_components-0.0.58-aarch64-linux app/assets/javascripts/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts
ariadne_view_components-0.0.58-aarch64-linux app/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts
ariadne_view_components-0.0.58-arm64-darwin app/assets/javascripts/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts
ariadne_view_components-0.0.58-arm64-darwin app/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts
ariadne_view_components-0.0.58-x64-mingw-ucrt app/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts
ariadne_view_components-0.0.58-x64-mingw-ucrt app/assets/javascripts/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts