1 | import { TInputDecorator, TOutputDecorator } from '@bearer/types/lib/input-output-decorators';
|
2 | import * as d from '@stencil/core/dist/declarations/index';
|
3 | export * from './decorators/functions';
|
4 | export { ComponentDidLoad, ComponentDidUnload, ComponentDidUpdate, ComponentWillLoad, ComponentWillUpdate, Config, EventEmitter, EventListenerEnable, FunctionalComponent } from '@stencil/core/dist/declarations';
|
5 | declare type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
6 |
|
7 |
|
8 |
|
9 | export interface IBearerStateDecoratorOptions {
|
10 | statePropName?: string;
|
11 | }
|
12 | export declare type IBearerStateDecorator<T> = (options?: IBearerStateDecoratorOptions) => T;
|
13 | export declare const BearerState: IBearerStateDecorator<any>;
|
14 |
|
15 |
|
16 |
|
17 | export declare type IBearerComponentDecorator<T> = (options?: d.ComponentOptions) => T;
|
18 | export declare const Component: IBearerComponentDecorator<any>;
|
19 |
|
20 |
|
21 |
|
22 | export interface BearerRootComponentOptions extends Omit<d.ComponentOptions, 'tag'> {
|
23 | name: string;
|
24 | styleUrl?: string;
|
25 | shadow?: boolean;
|
26 | }
|
27 | export declare type IBearerRootComponentDecorator<T> = (options?: BearerRootComponentOptions) => T;
|
28 | export declare const RootComponent: IBearerRootComponentDecorator<any>;
|
29 |
|
30 |
|
31 |
|
32 | export declare const Input: TInputDecorator;
|
33 |
|
34 |
|
35 |
|
36 | export declare const Output: TOutputDecorator;
|
37 | export declare type BearerRef<T> = T;
|
38 |
|
39 |
|
40 |
|
41 | export declare const Build: d.UserBuildConditionals;
|
42 |
|
43 |
|
44 |
|
45 | export declare const Element: d.ElementDecorator;
|
46 |
|
47 |
|
48 |
|
49 | export declare const Event: d.EventDecorator;
|
50 |
|
51 |
|
52 |
|
53 | export declare const Listen: d.ListenDecorator;
|
54 |
|
55 |
|
56 |
|
57 | export declare const Method: d.MethodDecorator;
|
58 |
|
59 |
|
60 |
|
61 | export declare const Prop: d.PropDecorator;
|
62 |
|
63 |
|
64 |
|
65 | export declare const State: d.StateDecorator;
|
66 |
|
67 |
|
68 |
|
69 | export declare const Watch: d.WatchDecorator;
|
70 |
|
71 |
|
72 |
|
73 | export declare const PropWillChange: d.WatchDecorator;
|
74 |
|
75 |
|
76 |
|
77 | export declare const PropDidChange: d.WatchDecorator;
|
78 | export interface HostElement extends HTMLElement {
|
79 | }
|