@pyreon/meta 0.4.1 → 0.11.0
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/lib/index.js +27 -41
- package/package.json +32 -31
- package/src/index.ts +36 -36
- package/src/tests/exports.test.ts +110 -110
- package/lib/index.d.ts +0 -37
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js.map +0 -1
- package/lib/tests/exports.test.d.ts +0 -2
- package/lib/tests/exports.test.d.ts.map +0 -1
- package/lib/tests/exports.test.js +0 -128
- package/lib/tests/exports.test.js.map +0 -1
package/lib/index.js
CHANGED
|
@@ -1,41 +1,27 @@
|
|
|
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
|
-
export { Element, Iterator, List, Overlay, Portal, Text, } from '@pyreon/elements';
|
|
29
|
-
// ─── Unistyle ────────────────────────────────────────────────────────────────
|
|
30
|
-
export { makeItResponsive, normalizeTheme, sortBreakpoints, } from '@pyreon/unistyle';
|
|
31
|
-
// ─── Coolgrid ────────────────────────────────────────────────────────────────
|
|
32
|
-
export { Col, Container, Row } from '@pyreon/coolgrid';
|
|
33
|
-
// ─── Kinetic ─────────────────────────────────────────────────────────────────
|
|
34
|
-
export { kinetic, useAnimationEnd, useTransitionState } from '@pyreon/kinetic';
|
|
35
|
-
// ─── Kinetic Presets ─────────────────────────────────────────────────────────
|
|
36
|
-
export { createBlur, createFade, createRotate, createScale, createSlide, } from '@pyreon/kinetic-presets';
|
|
37
|
-
// ─── Attrs ───────────────────────────────────────────────────────────────────
|
|
38
|
-
export { attrs } from '@pyreon/attrs';
|
|
39
|
-
// ─── Rocketstyle ─────────────────────────────────────────────────────────────
|
|
40
|
-
export { rocketstyle } from '@pyreon/rocketstyle';
|
|
41
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
import { addStorePlugin, batch, computed, defineStore, effect, resetAllStores, resetStore, signal } from "@pyreon/store";
|
|
2
|
+
import { FormProvider, useField, useFieldArray, useForm, useFormContext, useFormState, useWatch } from "@pyreon/form";
|
|
3
|
+
import { zodField, zodSchema } from "@pyreon/validation";
|
|
4
|
+
import { QueryClient, QueryClientProvider, useInfiniteQuery, useIsFetching, useIsMutating, useMutation, useQuery, useQueryClient } from "@pyreon/query";
|
|
5
|
+
import { flexRender, useTable } from "@pyreon/table";
|
|
6
|
+
import { useVirtualizer, useWindowVirtualizer } from "@pyreon/virtual";
|
|
7
|
+
import { I18nProvider, Trans, createI18n, useI18n } from "@pyreon/i18n";
|
|
8
|
+
import { defineFeature, reference } from "@pyreon/feature";
|
|
9
|
+
import { Background, Controls, Flow, Handle, MiniMap, NodeResizer, NodeToolbar, Panel, Position, computeLayout, createFlow, flowStyles } from "@pyreon/flow";
|
|
10
|
+
import { CodeEditor, DiffEditor, TabbedEditor, createEditor } from "@pyreon/code";
|
|
11
|
+
import { Chart } from "@pyreon/charts";
|
|
12
|
+
import { useHotkey, useHotkeyScope } from "@pyreon/hotkeys";
|
|
13
|
+
import { createStorage, useCookie, useIndexedDB, useMemoryStorage, useStorage } from "@pyreon/storage";
|
|
14
|
+
import { addMiddleware, applyPatch, applySnapshot, getSnapshot, model, onPatch, resetAllHooks, resetHook } from "@pyreon/state-tree";
|
|
15
|
+
import { createMachine } from "@pyreon/machine";
|
|
16
|
+
import { PermissionsProvider, createPermissions, usePermissions } from "@pyreon/permissions";
|
|
17
|
+
import { createGlobalStyle, css, keyframes, styled } from "@pyreon/styler";
|
|
18
|
+
import { useBreakpoint, useClickOutside, useColorScheme, useDebouncedCallback, useDebouncedValue, useElementSize, useFocus, useFocusTrap, useHover, useIntersection, useInterval, useKeyboard, useMediaQuery, useMergedRef, useReducedMotion, useScrollLock, useThrottledCallback, useTimeout, useToggle, useWindowResize } from "@pyreon/hooks";
|
|
19
|
+
import { Element, Iterator, List, Overlay, Portal, Text } from "@pyreon/elements";
|
|
20
|
+
import { makeItResponsive, normalizeTheme, sortBreakpoints } from "@pyreon/unistyle";
|
|
21
|
+
import { Col, Container, Row } from "@pyreon/coolgrid";
|
|
22
|
+
import { kinetic, useAnimationEnd, useTransitionState } from "@pyreon/kinetic";
|
|
23
|
+
import { createBlur, createFade, createRotate, createScale, createSlide } from "@pyreon/kinetic-presets";
|
|
24
|
+
import { attrs } from "@pyreon/attrs";
|
|
25
|
+
import { rocketstyle } from "@pyreon/rocketstyle";
|
|
26
|
+
|
|
27
|
+
export { Background, Chart, CodeEditor, Col, Container, Controls, DiffEditor, Element, Flow, FormProvider, Handle, I18nProvider, Iterator, List, MiniMap, NodeResizer, NodeToolbar, Overlay, Panel, PermissionsProvider, Portal, Position, QueryClient, QueryClientProvider, Row, TabbedEditor, Text, Trans, addMiddleware, addStorePlugin, applyPatch, applySnapshot, attrs, batch, computeLayout, computed, createBlur, createEditor, createFade, createFlow, createGlobalStyle, createI18n, createMachine, createPermissions, createRotate, createScale, createSlide, createStorage, css, defineFeature, defineStore, effect, flexRender, flowStyles, getSnapshot, keyframes, kinetic, makeItResponsive, model, normalizeTheme, onPatch, reference, resetAllHooks, resetAllStores, resetHook, resetStore, rocketstyle, signal, sortBreakpoints, styled, useAnimationEnd, useBreakpoint, useClickOutside, useColorScheme, useCookie, useDebouncedCallback, useDebouncedValue, useElementSize, useField, useFieldArray, useFocus, useFocusTrap, useForm, useFormContext, useFormState, useHotkey, useHotkeyScope, useHover, useI18n, useIndexedDB, useInfiniteQuery, useIntersection, useInterval, useIsFetching, useIsMutating, useKeyboard, useMediaQuery, useMemoryStorage, useMergedRef, useMutation, usePermissions, useQuery, useQueryClient, useReducedMotion, useScrollLock, useStorage, useTable, useThrottledCallback, useTimeout, useToggle, useTransitionState, useVirtualizer, useWatch, useWindowResize, useWindowVirtualizer, zodField, zodSchema };
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pyreon/meta",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Pyreon Meta — barrel package re-exporting the full Pyreon fundamentals ecosystem",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Vit Bokisch",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "https://github.com/pyreon/
|
|
10
|
-
"directory": "packages/meta"
|
|
9
|
+
"url": "https://github.com/pyreon/pyreon.git",
|
|
10
|
+
"directory": "packages/zero/meta"
|
|
11
11
|
},
|
|
12
12
|
"type": "module",
|
|
13
13
|
"files": [
|
|
@@ -31,37 +31,38 @@
|
|
|
31
31
|
"build": "vl_rolldown_build && tsc",
|
|
32
32
|
"dev": "vl_rolldown_build-watch",
|
|
33
33
|
"test": "bun test",
|
|
34
|
-
"typecheck": "tsc --noEmit"
|
|
34
|
+
"typecheck": "tsc --noEmit",
|
|
35
|
+
"lint": "biome check ."
|
|
35
36
|
},
|
|
36
37
|
"dependencies": {
|
|
37
|
-
"@pyreon/charts": "^0.
|
|
38
|
-
"@pyreon/code": "^0.
|
|
39
|
-
"@pyreon/feature": "^0.
|
|
40
|
-
"@pyreon/flow": "^0.
|
|
41
|
-
"@pyreon/form": "^0.
|
|
42
|
-
"@pyreon/hotkeys": "^0.
|
|
43
|
-
"@pyreon/i18n": "^0.
|
|
44
|
-
"@pyreon/machine": "^0.
|
|
45
|
-
"@pyreon/permissions": "^0.
|
|
46
|
-
"@pyreon/query": "^0.
|
|
47
|
-
"@pyreon/state-tree": "^0.
|
|
48
|
-
"@pyreon/storage": "^0.
|
|
49
|
-
"@pyreon/store": "^0.
|
|
50
|
-
"@pyreon/table": "^0.
|
|
51
|
-
"@pyreon/validation": "^0.
|
|
52
|
-
"@pyreon/virtual": "^0.
|
|
53
|
-
"@pyreon/attrs": "^0.
|
|
54
|
-
"@pyreon/coolgrid": "^0.
|
|
55
|
-
"@pyreon/elements": "^0.
|
|
56
|
-
"@pyreon/hooks": "^0.
|
|
57
|
-
"@pyreon/kinetic": "^0.
|
|
58
|
-
"@pyreon/kinetic-presets": "^0.
|
|
59
|
-
"@pyreon/rocketstyle": "^0.
|
|
60
|
-
"@pyreon/styler": "^0.
|
|
61
|
-
"@pyreon/ui-core": "^0.
|
|
62
|
-
"@pyreon/unistyle": "^0.
|
|
38
|
+
"@pyreon/charts": "^0.11.0",
|
|
39
|
+
"@pyreon/code": "^0.11.0",
|
|
40
|
+
"@pyreon/feature": "^0.11.0",
|
|
41
|
+
"@pyreon/flow": "^0.11.0",
|
|
42
|
+
"@pyreon/form": "^0.11.0",
|
|
43
|
+
"@pyreon/hotkeys": "^0.11.0",
|
|
44
|
+
"@pyreon/i18n": "^0.11.0",
|
|
45
|
+
"@pyreon/machine": "^0.11.0",
|
|
46
|
+
"@pyreon/permissions": "^0.11.0",
|
|
47
|
+
"@pyreon/query": "^0.11.0",
|
|
48
|
+
"@pyreon/state-tree": "^0.11.0",
|
|
49
|
+
"@pyreon/storage": "^0.11.0",
|
|
50
|
+
"@pyreon/store": "^0.11.0",
|
|
51
|
+
"@pyreon/table": "^0.11.0",
|
|
52
|
+
"@pyreon/validation": "^0.11.0",
|
|
53
|
+
"@pyreon/virtual": "^0.11.0",
|
|
54
|
+
"@pyreon/attrs": "^0.11.0",
|
|
55
|
+
"@pyreon/coolgrid": "^0.11.0",
|
|
56
|
+
"@pyreon/elements": "^0.11.0",
|
|
57
|
+
"@pyreon/hooks": "^0.11.0",
|
|
58
|
+
"@pyreon/kinetic": "^0.11.0",
|
|
59
|
+
"@pyreon/kinetic-presets": "^0.11.0",
|
|
60
|
+
"@pyreon/rocketstyle": "^0.11.0",
|
|
61
|
+
"@pyreon/styler": "^0.11.0",
|
|
62
|
+
"@pyreon/ui-core": "^0.11.0",
|
|
63
|
+
"@pyreon/unistyle": "^0.11.0"
|
|
63
64
|
},
|
|
64
65
|
"peerDependencies": {
|
|
65
|
-
"@pyreon/reactivity": "^0.
|
|
66
|
+
"@pyreon/reactivity": "^0.11.0"
|
|
66
67
|
}
|
|
67
68
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// ─── Store ───────────────────────────────────────────────────────────────────
|
|
2
2
|
|
|
3
|
-
export type { StoreApi, StorePlugin } from
|
|
3
|
+
export type { StoreApi, StorePlugin } from "@pyreon/store"
|
|
4
4
|
export {
|
|
5
5
|
addStorePlugin,
|
|
6
6
|
batch,
|
|
@@ -10,7 +10,7 @@ export {
|
|
|
10
10
|
resetAllStores,
|
|
11
11
|
resetStore,
|
|
12
12
|
signal,
|
|
13
|
-
} from
|
|
13
|
+
} from "@pyreon/store"
|
|
14
14
|
|
|
15
15
|
// ─── Form ────────────────────────────────────────────────────────────────────
|
|
16
16
|
|
|
@@ -21,7 +21,7 @@ export type {
|
|
|
21
21
|
UseFieldArrayResult,
|
|
22
22
|
UseFieldResult,
|
|
23
23
|
UseFormOptions,
|
|
24
|
-
} from
|
|
24
|
+
} from "@pyreon/form"
|
|
25
25
|
export {
|
|
26
26
|
FormProvider,
|
|
27
27
|
useField,
|
|
@@ -30,16 +30,16 @@ export {
|
|
|
30
30
|
useFormContext,
|
|
31
31
|
useFormState,
|
|
32
32
|
useWatch,
|
|
33
|
-
} from
|
|
33
|
+
} from "@pyreon/form"
|
|
34
34
|
|
|
35
35
|
// ─── Validation ──────────────────────────────────────────────────────────────
|
|
36
36
|
|
|
37
|
-
export type { SchemaAdapter, ValidationIssue } from
|
|
38
|
-
export { zodField, zodSchema } from
|
|
37
|
+
export type { SchemaAdapter, ValidationIssue } from "@pyreon/validation"
|
|
38
|
+
export { zodField, zodSchema } from "@pyreon/validation"
|
|
39
39
|
|
|
40
40
|
// ─── Query ───────────────────────────────────────────────────────────────────
|
|
41
41
|
|
|
42
|
-
export type { UseMutationResult, UseQueryResult } from
|
|
42
|
+
export type { UseMutationResult, UseQueryResult } from "@pyreon/query"
|
|
43
43
|
export {
|
|
44
44
|
QueryClient,
|
|
45
45
|
QueryClientProvider,
|
|
@@ -49,30 +49,30 @@ export {
|
|
|
49
49
|
useMutation,
|
|
50
50
|
useQuery,
|
|
51
51
|
useQueryClient,
|
|
52
|
-
} from
|
|
52
|
+
} from "@pyreon/query"
|
|
53
53
|
|
|
54
54
|
// ─── Table ───────────────────────────────────────────────────────────────────
|
|
55
55
|
|
|
56
|
-
export type { UseTableOptions } from
|
|
57
|
-
export { flexRender, useTable } from
|
|
56
|
+
export type { UseTableOptions } from "@pyreon/table"
|
|
57
|
+
export { flexRender, useTable } from "@pyreon/table"
|
|
58
58
|
|
|
59
59
|
// ─── Virtual ─────────────────────────────────────────────────────────────────
|
|
60
60
|
|
|
61
61
|
export type {
|
|
62
62
|
UseVirtualizerOptions,
|
|
63
63
|
UseVirtualizerResult,
|
|
64
|
-
} from
|
|
65
|
-
export { useVirtualizer, useWindowVirtualizer } from
|
|
64
|
+
} from "@pyreon/virtual"
|
|
65
|
+
export { useVirtualizer, useWindowVirtualizer } from "@pyreon/virtual"
|
|
66
66
|
|
|
67
67
|
// ─── i18n ────────────────────────────────────────────────────────────────────
|
|
68
68
|
|
|
69
|
-
export type { I18nInstance, I18nOptions } from
|
|
70
|
-
export { createI18n, I18nProvider, Trans, useI18n } from
|
|
69
|
+
export type { I18nInstance, I18nOptions } from "@pyreon/i18n"
|
|
70
|
+
export { createI18n, I18nProvider, Trans, useI18n } from "@pyreon/i18n"
|
|
71
71
|
|
|
72
72
|
// ─── Feature ─────────────────────────────────────────────────────────────────
|
|
73
73
|
|
|
74
|
-
export type { Feature, FeatureConfig } from
|
|
75
|
-
export { defineFeature, reference } from
|
|
74
|
+
export type { Feature, FeatureConfig } from "@pyreon/feature"
|
|
75
|
+
export { defineFeature, reference } from "@pyreon/feature"
|
|
76
76
|
|
|
77
77
|
// ─── Flow ────────────────────────────────────────────────────────────────────
|
|
78
78
|
|
|
@@ -82,7 +82,7 @@ export type {
|
|
|
82
82
|
FlowInstance,
|
|
83
83
|
FlowNode,
|
|
84
84
|
NodeComponentProps,
|
|
85
|
-
} from
|
|
85
|
+
} from "@pyreon/flow"
|
|
86
86
|
export {
|
|
87
87
|
Background,
|
|
88
88
|
Controls,
|
|
@@ -96,28 +96,28 @@ export {
|
|
|
96
96
|
NodeToolbar,
|
|
97
97
|
Panel,
|
|
98
98
|
Position,
|
|
99
|
-
} from
|
|
99
|
+
} from "@pyreon/flow"
|
|
100
100
|
|
|
101
101
|
// ─── Code ────────────────────────────────────────────────────────────────────
|
|
102
102
|
|
|
103
|
-
export type { EditorConfig, EditorInstance } from
|
|
103
|
+
export type { EditorConfig, EditorInstance } from "@pyreon/code"
|
|
104
104
|
export {
|
|
105
105
|
CodeEditor,
|
|
106
106
|
createEditor,
|
|
107
107
|
DiffEditor,
|
|
108
108
|
TabbedEditor,
|
|
109
|
-
} from
|
|
109
|
+
} from "@pyreon/code"
|
|
110
110
|
|
|
111
111
|
// ─── Charts ──────────────────────────────────────────────────────────────────
|
|
112
112
|
|
|
113
|
-
export { Chart } from
|
|
113
|
+
export { Chart } from "@pyreon/charts"
|
|
114
114
|
|
|
115
115
|
// ─── Hotkeys ─────────────────────────────────────────────────────────────────
|
|
116
116
|
|
|
117
117
|
export {
|
|
118
118
|
useHotkey,
|
|
119
119
|
useHotkeyScope,
|
|
120
|
-
} from
|
|
120
|
+
} from "@pyreon/hotkeys"
|
|
121
121
|
|
|
122
122
|
// ─── Storage ─────────────────────────────────────────────────────────────────
|
|
123
123
|
|
|
@@ -127,11 +127,11 @@ export {
|
|
|
127
127
|
useIndexedDB,
|
|
128
128
|
useMemoryStorage,
|
|
129
129
|
useStorage,
|
|
130
|
-
} from
|
|
130
|
+
} from "@pyreon/storage"
|
|
131
131
|
|
|
132
132
|
// ─── State Tree ──────────────────────────────────────────────────────────────
|
|
133
133
|
|
|
134
|
-
export type { ModelDefinition, ModelInstance, Snapshot } from
|
|
134
|
+
export type { ModelDefinition, ModelInstance, Snapshot } from "@pyreon/state-tree"
|
|
135
135
|
export {
|
|
136
136
|
addMiddleware,
|
|
137
137
|
applyPatch,
|
|
@@ -141,11 +141,11 @@ export {
|
|
|
141
141
|
onPatch,
|
|
142
142
|
resetAllHooks,
|
|
143
143
|
resetHook,
|
|
144
|
-
} from
|
|
144
|
+
} from "@pyreon/state-tree"
|
|
145
145
|
|
|
146
146
|
// ─── Machine ─────────────────────────────────────────────────────────────────
|
|
147
147
|
|
|
148
|
-
export { createMachine } from
|
|
148
|
+
export { createMachine } from "@pyreon/machine"
|
|
149
149
|
|
|
150
150
|
// ─── Permissions ─────────────────────────────────────────────────────────────
|
|
151
151
|
|
|
@@ -153,11 +153,11 @@ export {
|
|
|
153
153
|
createPermissions,
|
|
154
154
|
PermissionsProvider,
|
|
155
155
|
usePermissions,
|
|
156
|
-
} from
|
|
156
|
+
} from "@pyreon/permissions"
|
|
157
157
|
|
|
158
158
|
// ─── Styler ──────────────────────────────────────────────────────────────────
|
|
159
159
|
|
|
160
|
-
export { createGlobalStyle, css, keyframes, styled } from
|
|
160
|
+
export { createGlobalStyle, css, keyframes, styled } from "@pyreon/styler"
|
|
161
161
|
|
|
162
162
|
// ─── Hooks ───────────────────────────────────────────────────────────────────
|
|
163
163
|
|
|
@@ -182,7 +182,7 @@ export {
|
|
|
182
182
|
useTimeout,
|
|
183
183
|
useToggle,
|
|
184
184
|
useWindowResize,
|
|
185
|
-
} from
|
|
185
|
+
} from "@pyreon/hooks"
|
|
186
186
|
|
|
187
187
|
// ─── Elements ────────────────────────────────────────────────────────────────
|
|
188
188
|
|
|
@@ -193,7 +193,7 @@ export {
|
|
|
193
193
|
Overlay,
|
|
194
194
|
Portal,
|
|
195
195
|
Text,
|
|
196
|
-
} from
|
|
196
|
+
} from "@pyreon/elements"
|
|
197
197
|
|
|
198
198
|
// ─── Unistyle ────────────────────────────────────────────────────────────────
|
|
199
199
|
|
|
@@ -201,15 +201,15 @@ export {
|
|
|
201
201
|
makeItResponsive,
|
|
202
202
|
normalizeTheme,
|
|
203
203
|
sortBreakpoints,
|
|
204
|
-
} from
|
|
204
|
+
} from "@pyreon/unistyle"
|
|
205
205
|
|
|
206
206
|
// ─── Coolgrid ────────────────────────────────────────────────────────────────
|
|
207
207
|
|
|
208
|
-
export { Col, Container, Row } from
|
|
208
|
+
export { Col, Container, Row } from "@pyreon/coolgrid"
|
|
209
209
|
|
|
210
210
|
// ─── Kinetic ─────────────────────────────────────────────────────────────────
|
|
211
211
|
|
|
212
|
-
export { kinetic, useAnimationEnd, useTransitionState } from
|
|
212
|
+
export { kinetic, useAnimationEnd, useTransitionState } from "@pyreon/kinetic"
|
|
213
213
|
|
|
214
214
|
// ─── Kinetic Presets ─────────────────────────────────────────────────────────
|
|
215
215
|
|
|
@@ -219,12 +219,12 @@ export {
|
|
|
219
219
|
createRotate,
|
|
220
220
|
createScale,
|
|
221
221
|
createSlide,
|
|
222
|
-
} from
|
|
222
|
+
} from "@pyreon/kinetic-presets"
|
|
223
223
|
|
|
224
224
|
// ─── Attrs ───────────────────────────────────────────────────────────────────
|
|
225
225
|
|
|
226
|
-
export { attrs } from
|
|
226
|
+
export { attrs } from "@pyreon/attrs"
|
|
227
227
|
|
|
228
228
|
// ─── Rocketstyle ─────────────────────────────────────────────────────────────
|
|
229
229
|
|
|
230
|
-
export { rocketstyle } from
|
|
230
|
+
export { rocketstyle } from "@pyreon/rocketstyle"
|
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
import { describe, expect, it } from
|
|
2
|
-
import * as meta from
|
|
1
|
+
import { describe, expect, it } from "vitest"
|
|
2
|
+
import * as meta from "../index"
|
|
3
3
|
|
|
4
|
-
describe(
|
|
4
|
+
describe("@pyreon/meta exports", () => {
|
|
5
5
|
// ─── Fundamentals ───────────────────────────────────────────────────────
|
|
6
6
|
const fundamentals = [
|
|
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
|
-
|
|
7
|
+
"defineStore",
|
|
8
|
+
"signal",
|
|
9
|
+
"computed",
|
|
10
|
+
"effect",
|
|
11
|
+
"batch",
|
|
12
|
+
"resetStore",
|
|
13
|
+
"resetAllStores",
|
|
14
|
+
"addStorePlugin",
|
|
15
|
+
"useForm",
|
|
16
|
+
"useField",
|
|
17
|
+
"useFieldArray",
|
|
18
|
+
"FormProvider",
|
|
19
|
+
"useFormContext",
|
|
20
|
+
"useFormState",
|
|
21
|
+
"useWatch",
|
|
22
|
+
"zodSchema",
|
|
23
|
+
"zodField",
|
|
24
|
+
"QueryClient",
|
|
25
|
+
"QueryClientProvider",
|
|
26
|
+
"useQuery",
|
|
27
|
+
"useMutation",
|
|
28
|
+
"useQueryClient",
|
|
29
|
+
"useInfiniteQuery",
|
|
30
|
+
"useIsFetching",
|
|
31
|
+
"useIsMutating",
|
|
32
|
+
"useTable",
|
|
33
|
+
"flexRender",
|
|
34
|
+
"useVirtualizer",
|
|
35
|
+
"useWindowVirtualizer",
|
|
36
|
+
"createI18n",
|
|
37
|
+
"I18nProvider",
|
|
38
|
+
"useI18n",
|
|
39
|
+
"Trans",
|
|
40
|
+
"defineFeature",
|
|
41
|
+
"reference",
|
|
42
|
+
"Chart",
|
|
43
|
+
"useHotkey",
|
|
44
|
+
"useHotkeyScope",
|
|
45
|
+
"useStorage",
|
|
46
|
+
"useCookie",
|
|
47
|
+
"useIndexedDB",
|
|
48
|
+
"useMemoryStorage",
|
|
49
|
+
"createStorage",
|
|
50
|
+
"model",
|
|
51
|
+
"addMiddleware",
|
|
52
|
+
"applyPatch",
|
|
53
|
+
"applySnapshot",
|
|
54
|
+
"getSnapshot",
|
|
55
|
+
"onPatch",
|
|
56
|
+
"resetAllHooks",
|
|
57
|
+
"resetHook",
|
|
58
|
+
"createMachine",
|
|
59
|
+
"createPermissions",
|
|
60
|
+
"PermissionsProvider",
|
|
61
|
+
"usePermissions",
|
|
62
|
+
"createFlow",
|
|
63
|
+
"Flow",
|
|
64
|
+
"Background",
|
|
65
|
+
"Controls",
|
|
66
|
+
"MiniMap",
|
|
67
|
+
"Handle",
|
|
68
|
+
"Position",
|
|
69
|
+
"computeLayout",
|
|
70
|
+
"flowStyles",
|
|
71
|
+
"NodeResizer",
|
|
72
|
+
"NodeToolbar",
|
|
73
|
+
"Panel",
|
|
74
|
+
"createEditor",
|
|
75
|
+
"CodeEditor",
|
|
76
|
+
"DiffEditor",
|
|
77
|
+
"TabbedEditor",
|
|
78
78
|
]
|
|
79
79
|
|
|
80
80
|
for (const name of fundamentals) {
|
|
@@ -85,42 +85,42 @@ describe('@pyreon/meta exports', () => {
|
|
|
85
85
|
|
|
86
86
|
// ─── UI System ──────────────────────────────────────────────────────────
|
|
87
87
|
const uiSystem = [
|
|
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
|
-
|
|
88
|
+
"css",
|
|
89
|
+
"styled",
|
|
90
|
+
"createGlobalStyle",
|
|
91
|
+
"keyframes",
|
|
92
|
+
"useBreakpoint",
|
|
93
|
+
"useClickOutside",
|
|
94
|
+
"useColorScheme",
|
|
95
|
+
"useHover",
|
|
96
|
+
"useFocus",
|
|
97
|
+
"useMediaQuery",
|
|
98
|
+
"useToggle",
|
|
99
|
+
"useElementSize",
|
|
100
|
+
"useIntersection",
|
|
101
|
+
"useInterval",
|
|
102
|
+
"Element",
|
|
103
|
+
"Text",
|
|
104
|
+
"List",
|
|
105
|
+
"Overlay",
|
|
106
|
+
"Portal",
|
|
107
|
+
"Iterator",
|
|
108
|
+
"makeItResponsive",
|
|
109
|
+
"normalizeTheme",
|
|
110
|
+
"sortBreakpoints",
|
|
111
|
+
"Col",
|
|
112
|
+
"Container",
|
|
113
|
+
"Row",
|
|
114
|
+
"kinetic",
|
|
115
|
+
"useAnimationEnd",
|
|
116
|
+
"useTransitionState",
|
|
117
|
+
"createBlur",
|
|
118
|
+
"createFade",
|
|
119
|
+
"createRotate",
|
|
120
|
+
"createScale",
|
|
121
|
+
"createSlide",
|
|
122
|
+
"attrs",
|
|
123
|
+
"rocketstyle",
|
|
124
124
|
]
|
|
125
125
|
|
|
126
126
|
for (const name of uiSystem) {
|
package/lib/index.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export type { StoreApi, StorePlugin } from '@pyreon/store';
|
|
2
|
-
export { addStorePlugin, batch, computed, defineStore, effect, resetAllStores, resetStore, signal, } from '@pyreon/store';
|
|
3
|
-
export type { FieldRegisterProps, FieldState, FormState, UseFieldArrayResult, UseFieldResult, UseFormOptions, } from '@pyreon/form';
|
|
4
|
-
export { FormProvider, useField, useFieldArray, useForm, useFormContext, useFormState, useWatch, } from '@pyreon/form';
|
|
5
|
-
export type { SchemaAdapter, ValidationIssue } from '@pyreon/validation';
|
|
6
|
-
export { zodField, zodSchema } from '@pyreon/validation';
|
|
7
|
-
export type { UseMutationResult, UseQueryResult } from '@pyreon/query';
|
|
8
|
-
export { QueryClient, QueryClientProvider, useInfiniteQuery, useIsFetching, useIsMutating, useMutation, useQuery, useQueryClient, } from '@pyreon/query';
|
|
9
|
-
export type { UseTableOptions } from '@pyreon/table';
|
|
10
|
-
export { flexRender, useTable } from '@pyreon/table';
|
|
11
|
-
export type { UseVirtualizerOptions, UseVirtualizerResult, } from '@pyreon/virtual';
|
|
12
|
-
export { useVirtualizer, useWindowVirtualizer } from '@pyreon/virtual';
|
|
13
|
-
export type { I18nInstance, I18nOptions } from '@pyreon/i18n';
|
|
14
|
-
export { createI18n, I18nProvider, Trans, useI18n } from '@pyreon/i18n';
|
|
15
|
-
export type { Feature, FeatureConfig } from '@pyreon/feature';
|
|
16
|
-
export { defineFeature, reference } from '@pyreon/feature';
|
|
17
|
-
export type { FlowConfig, FlowEdge, FlowInstance, FlowNode, NodeComponentProps, } from '@pyreon/flow';
|
|
18
|
-
export { Background, Controls, computeLayout, createFlow, Flow, flowStyles, Handle, MiniMap, NodeResizer, NodeToolbar, Panel, Position, } from '@pyreon/flow';
|
|
19
|
-
export type { EditorConfig, EditorInstance } from '@pyreon/code';
|
|
20
|
-
export { CodeEditor, createEditor, DiffEditor, TabbedEditor, } from '@pyreon/code';
|
|
21
|
-
export { Chart } from '@pyreon/charts';
|
|
22
|
-
export { useHotkey, useHotkeyScope, } from '@pyreon/hotkeys';
|
|
23
|
-
export { createStorage, useCookie, useIndexedDB, useMemoryStorage, useStorage, } from '@pyreon/storage';
|
|
24
|
-
export type { ModelDefinition, ModelInstance, Snapshot } from '@pyreon/state-tree';
|
|
25
|
-
export { addMiddleware, applyPatch, applySnapshot, getSnapshot, model, onPatch, resetAllHooks, resetHook, } from '@pyreon/state-tree';
|
|
26
|
-
export { createMachine } from '@pyreon/machine';
|
|
27
|
-
export { createPermissions, PermissionsProvider, usePermissions, } from '@pyreon/permissions';
|
|
28
|
-
export { createGlobalStyle, css, keyframes, styled } from '@pyreon/styler';
|
|
29
|
-
export { useBreakpoint, useClickOutside, useColorScheme, useDebouncedCallback, useDebouncedValue, useElementSize, useFocus, useFocusTrap, useHover, useIntersection, useInterval, useKeyboard, useMediaQuery, useMergedRef, useReducedMotion, useScrollLock, useThrottledCallback, useTimeout, useToggle, useWindowResize, } from '@pyreon/hooks';
|
|
30
|
-
export { Element, Iterator, List, Overlay, Portal, Text, } from '@pyreon/elements';
|
|
31
|
-
export { makeItResponsive, normalizeTheme, sortBreakpoints, } from '@pyreon/unistyle';
|
|
32
|
-
export { Col, Container, Row } from '@pyreon/coolgrid';
|
|
33
|
-
export { kinetic, useAnimationEnd, useTransitionState } from '@pyreon/kinetic';
|
|
34
|
-
export { createBlur, createFade, createRotate, createScale, createSlide, } from '@pyreon/kinetic-presets';
|
|
35
|
-
export { attrs } from '@pyreon/attrs';
|
|
36
|
-
export { rocketstyle } from '@pyreon/rocketstyle';
|
|
37
|
-
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":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,EACX,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,aAAa,EACb,oBAAoB,EACpB,UAAU,EACV,SAAS,EACT,eAAe,GAChB,MAAM,eAAe,CAAA;AAItB,OAAO,EACL,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,OAAO,EACP,MAAM,EACN,IAAI,GACL,MAAM,kBAAkB,CAAA;AAIzB,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,eAAe,GAChB,MAAM,kBAAkB,CAAA;AAIzB,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAItD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAI9E,OAAO,EACL,UAAU,EACV,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,GACZ,MAAM,yBAAyB,CAAA;AAIhC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAIrC,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA"}
|
package/lib/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAGhF,OAAO,EACL,cAAc,EACd,KAAK,EACL,QAAQ,EACR,WAAW,EACX,MAAM,EACN,cAAc,EACd,UAAU,EACV,MAAM,GACP,MAAM,eAAe,CAAA;AAYtB,OAAO,EACL,YAAY,EACZ,QAAQ,EACR,aAAa,EACb,OAAO,EACP,cAAc,EACd,YAAY,EACZ,QAAQ,GACT,MAAM,cAAc,CAAA;AAKrB,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAKxD,OAAO,EACL,WAAW,EACX,mBAAmB,EACnB,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,WAAW,EACX,QAAQ,EACR,cAAc,GACf,MAAM,eAAe,CAAA;AAKtB,OAAO,EAA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EACpB,iBAAiB,EACjB,cAAc,EACd,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,eAAe,EACf,WAAW,EACX,WAAW,EACX,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,aAAa,EACb,oBAAoB,EACpB,UAAU,EACV,SAAS,EACT,eAAe,GAChB,MAAM,eAAe,CAAA;AAEtB,gFAAgF;AAEhF,OAAO,EACL,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,OAAO,EACP,MAAM,EACN,IAAI,GACL,MAAM,kBAAkB,CAAA;AAEzB,gFAAgF;AAEhF,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,eAAe,GAChB,MAAM,kBAAkB,CAAA;AAEzB,gFAAgF;AAEhF,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAEtD,gFAAgF;AAEhF,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAE9E,gFAAgF;AAEhF,OAAO,EACL,UAAU,EACV,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,GACZ,MAAM,yBAAyB,CAAA;AAEhC,gFAAgF;AAEhF,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAErC,gFAAgF;AAEhF,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"exports.test.d.ts","sourceRoot":"","sources":["../../src/tests/exports.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { describe, expect, it } from 'vitest';
|
|
2
|
-
import * as meta from '../index';
|
|
3
|
-
describe('@pyreon/meta exports', () => {
|
|
4
|
-
// ─── Fundamentals ───────────────────────────────────────────────────────
|
|
5
|
-
const fundamentals = [
|
|
6
|
-
'defineStore',
|
|
7
|
-
'signal',
|
|
8
|
-
'computed',
|
|
9
|
-
'effect',
|
|
10
|
-
'batch',
|
|
11
|
-
'resetStore',
|
|
12
|
-
'resetAllStores',
|
|
13
|
-
'addStorePlugin',
|
|
14
|
-
'useForm',
|
|
15
|
-
'useField',
|
|
16
|
-
'useFieldArray',
|
|
17
|
-
'FormProvider',
|
|
18
|
-
'useFormContext',
|
|
19
|
-
'useFormState',
|
|
20
|
-
'useWatch',
|
|
21
|
-
'zodSchema',
|
|
22
|
-
'zodField',
|
|
23
|
-
'QueryClient',
|
|
24
|
-
'QueryClientProvider',
|
|
25
|
-
'useQuery',
|
|
26
|
-
'useMutation',
|
|
27
|
-
'useQueryClient',
|
|
28
|
-
'useInfiniteQuery',
|
|
29
|
-
'useIsFetching',
|
|
30
|
-
'useIsMutating',
|
|
31
|
-
'useTable',
|
|
32
|
-
'flexRender',
|
|
33
|
-
'useVirtualizer',
|
|
34
|
-
'useWindowVirtualizer',
|
|
35
|
-
'createI18n',
|
|
36
|
-
'I18nProvider',
|
|
37
|
-
'useI18n',
|
|
38
|
-
'Trans',
|
|
39
|
-
'defineFeature',
|
|
40
|
-
'reference',
|
|
41
|
-
'Chart',
|
|
42
|
-
'useHotkey',
|
|
43
|
-
'useHotkeyScope',
|
|
44
|
-
'useStorage',
|
|
45
|
-
'useCookie',
|
|
46
|
-
'useIndexedDB',
|
|
47
|
-
'useMemoryStorage',
|
|
48
|
-
'createStorage',
|
|
49
|
-
'model',
|
|
50
|
-
'addMiddleware',
|
|
51
|
-
'applyPatch',
|
|
52
|
-
'applySnapshot',
|
|
53
|
-
'getSnapshot',
|
|
54
|
-
'onPatch',
|
|
55
|
-
'resetAllHooks',
|
|
56
|
-
'resetHook',
|
|
57
|
-
'createMachine',
|
|
58
|
-
'createPermissions',
|
|
59
|
-
'PermissionsProvider',
|
|
60
|
-
'usePermissions',
|
|
61
|
-
'createFlow',
|
|
62
|
-
'Flow',
|
|
63
|
-
'Background',
|
|
64
|
-
'Controls',
|
|
65
|
-
'MiniMap',
|
|
66
|
-
'Handle',
|
|
67
|
-
'Position',
|
|
68
|
-
'computeLayout',
|
|
69
|
-
'flowStyles',
|
|
70
|
-
'NodeResizer',
|
|
71
|
-
'NodeToolbar',
|
|
72
|
-
'Panel',
|
|
73
|
-
'createEditor',
|
|
74
|
-
'CodeEditor',
|
|
75
|
-
'DiffEditor',
|
|
76
|
-
'TabbedEditor',
|
|
77
|
-
];
|
|
78
|
-
for (const name of fundamentals) {
|
|
79
|
-
it(`exports ${name}`, () => {
|
|
80
|
-
expect(name in meta).toBe(true);
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
// ─── UI System ──────────────────────────────────────────────────────────
|
|
84
|
-
const uiSystem = [
|
|
85
|
-
'css',
|
|
86
|
-
'styled',
|
|
87
|
-
'createGlobalStyle',
|
|
88
|
-
'keyframes',
|
|
89
|
-
'useBreakpoint',
|
|
90
|
-
'useClickOutside',
|
|
91
|
-
'useColorScheme',
|
|
92
|
-
'useHover',
|
|
93
|
-
'useFocus',
|
|
94
|
-
'useMediaQuery',
|
|
95
|
-
'useToggle',
|
|
96
|
-
'useElementSize',
|
|
97
|
-
'useIntersection',
|
|
98
|
-
'useInterval',
|
|
99
|
-
'Element',
|
|
100
|
-
'Text',
|
|
101
|
-
'List',
|
|
102
|
-
'Overlay',
|
|
103
|
-
'Portal',
|
|
104
|
-
'Iterator',
|
|
105
|
-
'makeItResponsive',
|
|
106
|
-
'normalizeTheme',
|
|
107
|
-
'sortBreakpoints',
|
|
108
|
-
'Col',
|
|
109
|
-
'Container',
|
|
110
|
-
'Row',
|
|
111
|
-
'kinetic',
|
|
112
|
-
'useAnimationEnd',
|
|
113
|
-
'useTransitionState',
|
|
114
|
-
'createBlur',
|
|
115
|
-
'createFade',
|
|
116
|
-
'createRotate',
|
|
117
|
-
'createScale',
|
|
118
|
-
'createSlide',
|
|
119
|
-
'attrs',
|
|
120
|
-
'rocketstyle',
|
|
121
|
-
];
|
|
122
|
-
for (const name of uiSystem) {
|
|
123
|
-
it(`exports ${name}`, () => {
|
|
124
|
-
expect(name in meta).toBe(true);
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
});
|
|
128
|
-
//# sourceMappingURL=exports.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"exports.test.js","sourceRoot":"","sources":["../../src/tests/exports.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAA;AAC7C,OAAO,KAAK,IAAI,MAAM,UAAU,CAAA;AAEhC,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;IACpC,2EAA2E;IAC3E,MAAM,YAAY,GAAG;QACnB,aAAa;QACb,QAAQ;QACR,UAAU;QACV,QAAQ;QACR,OAAO;QACP,YAAY;QACZ,gBAAgB;QAChB,gBAAgB;QAChB,SAAS;QACT,UAAU;QACV,eAAe;QACf,cAAc;QACd,gBAAgB;QAChB,cAAc;QACd,UAAU;QACV,WAAW;QACX,UAAU;QACV,aAAa;QACb,qBAAqB;QACrB,UAAU;QACV,aAAa;QACb,gBAAgB;QAChB,kBAAkB;QAClB,eAAe;QACf,eAAe;QACf,UAAU;QACV,YAAY;QACZ,gBAAgB;QAChB,sBAAsB;QACtB,YAAY;QACZ,cAAc;QACd,SAAS;QACT,OAAO;QACP,eAAe;QACf,WAAW;QACX,OAAO;QACP,WAAW;QACX,gBAAgB;QAChB,YAAY;QACZ,WAAW;QACX,cAAc;QACd,kBAAkB;QAClB,eAAe;QACf,OAAO;QACP,eAAe;QACf,YAAY;QACZ,eAAe;QACf,aAAa;QACb,SAAS;QACT,eAAe;QACf,WAAW;QACX,eAAe;QACf,mBAAmB;QACnB,qBAAqB;QACrB,gBAAgB;QAChB,YAAY;QACZ,MAAM;QACN,YAAY;QACZ,UAAU;QACV,SAAS;QACT,QAAQ;QACR,UAAU;QACV,eAAe;QACf,YAAY;QACZ,aAAa;QACb,aAAa;QACb,OAAO;QACP,cAAc;QACd,YAAY;QACZ,YAAY;QACZ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