-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.ts
More file actions
162 lines (160 loc) · 3.27 KB
/
index.ts
File metadata and controls
162 lines (160 loc) · 3.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
// Le Truc 0.16.3
// From Cause & Effect
export {
batch,
CircularDependencyError,
type Cleanup,
type Collection,
type CollectionChanges,
type CollectionOptions,
type ComputedOptions,
createCollection,
createComputed,
createEffect,
createList,
createMemo,
createMutableSignal,
createScope,
createSensor,
createSignal,
createSlot,
createState,
createStore,
createTask,
type EffectCallback,
type Guard,
InvalidCallbackError,
InvalidSignalValueError,
isAsyncFunction,
isCollection,
isComputed,
isEqual,
isFunction,
isList,
isMemo,
isMutableSignal,
isObjectOfType,
isRecord,
isSensor,
isSignal,
isSlot,
isState,
isStore,
isTask,
type List,
type ListOptions,
type MatchHandlers,
type MaybeCleanup,
type Memo,
type MemoCallback,
match,
NullishSignalValueError,
ReadonlySignalError,
RequiredOwnerError,
type Sensor,
type SensorOptions,
type Signal,
type SignalOptions,
SKIP_EQUALITY,
type Slot,
type State,
type Store,
type StoreOptions,
type Task,
type TaskCallback,
UnsetSignalValueError,
unown,
untrack,
valueString,
} from '@zeix/cause-effect'
export {
type Component,
type ComponentProp,
type ComponentProps,
type ComponentSetup,
type ComponentUI,
defineComponent,
type Initializers,
type MaybeSignal,
type ReservedWords,
} from './src/component'
export {
CONTEXT_REQUEST,
type Context,
type ContextCallback,
ContextRequestEvent,
type ContextType,
provideContexts,
requestContext,
type UnknownContext,
} from './src/context'
export {
type Effect,
type Effects,
type ElementEffects,
type ElementUpdater,
type Reactive,
type UpdateOperation,
updateElement,
} from './src/effects'
export { setAttribute, toggleAttribute } from './src/effects/attribute'
export { toggleClass } from './src/effects/class'
export { type EventHandler, type EventType, on } from './src/effects/event'
export {
type DangerouslySetInnerHTMLOptions,
dangerouslySetInnerHTML,
} from './src/effects/html'
export { type PassedProp, type PassedProps, pass } from './src/effects/pass'
export { setProperty, show } from './src/effects/property'
export { setStyle } from './src/effects/style'
export { setText } from './src/effects/text'
export {
DependencyTimeoutError,
InvalidComponentNameError,
InvalidCustomElementError,
InvalidEffectsError,
InvalidPropertyNameError,
InvalidReactivesError,
InvalidUIKeyError,
MissingElementError,
} from './src/errors'
export {
createEventsSensor,
type EventHandlers,
type SensorEventHandler,
} from './src/events'
export {
asMethod,
asParser,
type Fallback,
isMethodProducer,
isParser,
type LooseReader,
type MethodProducer,
type Parser,
type ParserOrFallback,
type Reader,
read,
} from './src/parsers'
export { asBoolean } from './src/parsers/boolean'
export { asJSON } from './src/parsers/json'
export { asInteger, asNumber } from './src/parsers/number'
export { asEnum, asString } from './src/parsers/string'
export { schedule } from './src/scheduler'
export {
type AllElements,
createElementsMemo,
type ElementFromKey,
type ElementFromSelector,
type ElementFromSingleSelector,
type ElementQueries,
type ElementsFromSelectorArray,
type ExtractRightmostSelector,
type ExtractTag,
type ExtractTagFromSimpleSelector,
type FirstElement,
type KnownTag,
type SplitByComma,
type TrimWhitespace,
type UI,
} from './src/ui'