@use-voltra/core 1.3.0-rc.1
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/README.md +30 -0
- package/build/cjs/index.js +23 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/jsx/createVoltraComponent.js +21 -0
- package/build/cjs/jsx/createVoltraComponent.js.map +1 -0
- package/build/cjs/package.json +3 -0
- package/build/cjs/payload/short-names.js +331 -0
- package/build/cjs/payload/short-names.js.map +1 -0
- package/build/cjs/payload.js +26 -0
- package/build/cjs/payload.js.map +1 -0
- package/build/cjs/renderer/context-registry.js +28 -0
- package/build/cjs/renderer/context-registry.js.map +1 -0
- package/build/cjs/renderer/dispatcher.js +62 -0
- package/build/cjs/renderer/dispatcher.js.map +1 -0
- package/build/cjs/renderer/element-registry.js +58 -0
- package/build/cjs/renderer/element-registry.js.map +1 -0
- package/build/cjs/renderer/flatten-styles.js +23 -0
- package/build/cjs/renderer/flatten-styles.js.map +1 -0
- package/build/cjs/renderer/index.js +23 -0
- package/build/cjs/renderer/index.js.map +1 -0
- package/build/cjs/renderer/render-cache.js +19 -0
- package/build/cjs/renderer/render-cache.js.map +1 -0
- package/build/cjs/renderer/renderer.js +358 -0
- package/build/cjs/renderer/renderer.js.map +1 -0
- package/build/cjs/renderer/stylesheet-registry.js +47 -0
- package/build/cjs/renderer/stylesheet-registry.js.map +1 -0
- package/build/cjs/renderer/types.js +3 -0
- package/build/cjs/renderer/types.js.map +1 -0
- package/build/cjs/styles/index.js +3 -0
- package/build/cjs/styles/index.js.map +1 -0
- package/build/cjs/styles/types.js +3 -0
- package/build/cjs/styles/types.js.map +1 -0
- package/build/cjs/types.js +3 -0
- package/build/cjs/types.js.map +1 -0
- package/build/esm/index.js +7 -0
- package/build/esm/index.js.map +1 -0
- package/build/esm/jsx/createVoltraComponent.js +16 -0
- package/build/esm/jsx/createVoltraComponent.js.map +1 -0
- package/build/esm/package.json +3 -0
- package/build/esm/payload/short-names.js +326 -0
- package/build/esm/payload/short-names.js.map +1 -0
- package/build/esm/payload.js +22 -0
- package/build/esm/payload.js.map +1 -0
- package/build/esm/renderer/context-registry.js +24 -0
- package/build/esm/renderer/context-registry.js.map +1 -0
- package/build/esm/renderer/dispatcher.js +54 -0
- package/build/esm/renderer/dispatcher.js.map +1 -0
- package/build/esm/renderer/element-registry.js +53 -0
- package/build/esm/renderer/element-registry.js.map +1 -0
- package/build/esm/renderer/flatten-styles.js +19 -0
- package/build/esm/renderer/flatten-styles.js.map +1 -0
- package/build/esm/renderer/index.js +8 -0
- package/build/esm/renderer/index.js.map +1 -0
- package/build/esm/renderer/render-cache.js +15 -0
- package/build/esm/renderer/render-cache.js.map +1 -0
- package/build/esm/renderer/renderer.js +351 -0
- package/build/esm/renderer/renderer.js.map +1 -0
- package/build/esm/renderer/stylesheet-registry.js +43 -0
- package/build/esm/renderer/stylesheet-registry.js.map +1 -0
- package/build/esm/renderer/types.js +2 -0
- package/build/esm/renderer/types.js.map +1 -0
- package/build/esm/styles/index.js +2 -0
- package/build/esm/styles/index.js.map +1 -0
- package/build/esm/styles/types.js +2 -0
- package/build/esm/styles/types.js.map +1 -0
- package/build/esm/types.js +2 -0
- package/build/esm/types.js.map +1 -0
- package/build/types/index.d.ts +7 -0
- package/build/types/index.d.ts.map +1 -0
- package/build/types/jsx/createVoltraComponent.d.ts +12 -0
- package/build/types/jsx/createVoltraComponent.d.ts.map +1 -0
- package/build/types/payload/short-names.d.ts +5 -0
- package/build/types/payload/short-names.d.ts.map +1 -0
- package/build/types/payload.d.ts +2 -0
- package/build/types/payload.d.ts.map +1 -0
- package/build/types/renderer/context-registry.d.ts +13 -0
- package/build/types/renderer/context-registry.d.ts.map +1 -0
- package/build/types/renderer/dispatcher.d.ts +35 -0
- package/build/types/renderer/dispatcher.d.ts.map +1 -0
- package/build/types/renderer/element-registry.d.ts +10 -0
- package/build/types/renderer/element-registry.d.ts.map +1 -0
- package/build/types/renderer/flatten-styles.d.ts +5 -0
- package/build/types/renderer/flatten-styles.d.ts.map +1 -0
- package/build/types/renderer/index.d.ts +9 -0
- package/build/types/renderer/index.d.ts.map +1 -0
- package/build/types/renderer/render-cache.d.ts +6 -0
- package/build/types/renderer/render-cache.d.ts.map +1 -0
- package/build/types/renderer/renderer.d.ts +26 -0
- package/build/types/renderer/renderer.d.ts.map +1 -0
- package/build/types/renderer/stylesheet-registry.d.ts +6 -0
- package/build/types/renderer/stylesheet-registry.d.ts.map +1 -0
- package/build/types/renderer/types.d.ts +4 -0
- package/build/types/renderer/types.d.ts.map +1 -0
- package/build/types/styles/index.d.ts +2 -0
- package/build/types/styles/index.d.ts.map +1 -0
- package/build/types/styles/types.d.ts +8 -0
- package/build/types/styles/types.d.ts.map +1 -0
- package/build/types/types.d.ts +36 -0
- package/build/types/types.d.ts.map +1 -0
- package/package.json +52 -0
package/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
### Foundation for Voltra
|
|
4
|
+
|
|
5
|
+
[![mit licence][license-badge]][license] [![npm downloads][npm-downloads-badge]][npm-downloads] [![PRs Welcome][prs-welcome-badge]][prs-welcome]
|
|
6
|
+
|
|
7
|
+
`@use-voltra/core` contains the shared renderer, types, and payload utilities used by Voltra packages across platforms.
|
|
8
|
+
|
|
9
|
+
> [!WARNING]
|
|
10
|
+
> This package is not intended to be installed directly in your app.
|
|
11
|
+
|
|
12
|
+
For installation and setup instructions, see the Voltra documentation: [use-voltra.dev](https://use-voltra.dev).
|
|
13
|
+
|
|
14
|
+
## Authors
|
|
15
|
+
|
|
16
|
+
`voltra` is an open source collaboration between [Saúl Sharma](https://github.com/saulsharma) and [Szymon Chmal](https://github.com/szymonchmal) at [Callstack][callstack-readme-with-love].
|
|
17
|
+
|
|
18
|
+
If you think it's cool, please star it 🌟. This project will always remain free to use.
|
|
19
|
+
|
|
20
|
+
[Callstack][callstack-readme-with-love] is a group of React and React Native geeks, contact us at [hello@callstack.com](mailto:hello@callstack.com) if you need any help with these or just want to say hi!
|
|
21
|
+
|
|
22
|
+
Like the project? ⚛️ [Join the Callstack team](https://callstack.com/careers/?utm_campaign=Senior_RN&utm_source=github&utm_medium=readme) who does amazing stuff for clients and drives React Native Open Source! 🔥
|
|
23
|
+
|
|
24
|
+
[callstack-readme-with-love]: https://callstack.com/?utm_source=github.com&utm_medium=referral&utm_campaign=voltra&utm_term=readme-with-love
|
|
25
|
+
[license-badge]: https://img.shields.io/npm/l/voltra?style=for-the-badge
|
|
26
|
+
[license]: https://github.com/callstackincubator/voltra/blob/main/LICENSE.txt
|
|
27
|
+
[npm-downloads-badge]: https://img.shields.io/npm/dm/voltra?style=for-the-badge
|
|
28
|
+
[npm-downloads]: https://www.npmjs.com/package/voltra
|
|
29
|
+
[prs-welcome-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge
|
|
30
|
+
[prs-welcome]: ./CONTRIBUTING.md
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./jsx/createVoltraComponent.js"), exports);
|
|
18
|
+
__exportStar(require("./payload.js"), exports);
|
|
19
|
+
__exportStar(require("./payload/short-names.js"), exports);
|
|
20
|
+
__exportStar(require("./renderer/index.js"), exports);
|
|
21
|
+
__exportStar(require("./styles/index.js"), exports);
|
|
22
|
+
__exportStar(require("./types.js"), exports);
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA8C;AAC9C,+CAA4B;AAC5B,2DAAwC;AACxC,sDAAmC;AACnC,oDAAiC;AACjC,6CAA0B"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isVoltraComponent = exports.createVoltraComponent = exports.VOLTRA_COMPONENT_TAG = void 0;
|
|
4
|
+
const react_1 = require("react");
|
|
5
|
+
exports.VOLTRA_COMPONENT_TAG = Symbol.for('VOLTRA_COMPONENT_TAG');
|
|
6
|
+
const createVoltraComponent = (componentName, options) => {
|
|
7
|
+
const Component = (props) => {
|
|
8
|
+
const toJSON = options?.toJSON ? options.toJSON : (value) => value;
|
|
9
|
+
const normalizedProps = toJSON(props);
|
|
10
|
+
return (0, react_1.createElement)(componentName, normalizedProps);
|
|
11
|
+
};
|
|
12
|
+
Component[exports.VOLTRA_COMPONENT_TAG] = true;
|
|
13
|
+
Component.displayName = componentName;
|
|
14
|
+
return Component;
|
|
15
|
+
};
|
|
16
|
+
exports.createVoltraComponent = createVoltraComponent;
|
|
17
|
+
const isVoltraComponent = (component) => {
|
|
18
|
+
return typeof component === 'function' && exports.VOLTRA_COMPONENT_TAG in component;
|
|
19
|
+
};
|
|
20
|
+
exports.isVoltraComponent = isVoltraComponent;
|
|
21
|
+
//# sourceMappingURL=createVoltraComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createVoltraComponent.js","sourceRoot":"","sources":["../../../src/jsx/createVoltraComponent.ts"],"names":[],"mappings":";;;AACA,iCAAqC;AAExB,QAAA,oBAAoB,GAAG,MAAM,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAA;AAW/D,MAAM,qBAAqB,GAAG,CACnC,aAAqB,EACrB,OAAwC,EACf,EAAE;IAC3B,MAAM,SAAS,GAAG,CAAC,KAAa,EAAE,EAAE;QAClC,MAAM,MAAM,GAAG,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAa,EAAE,EAAE,CAAC,KAAK,CAAA;QAC1E,MAAM,eAAe,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;QAErC,OAAO,IAAA,qBAAa,EAAC,aAAa,EAAE,eAAe,CAAC,CAAA;IACtD,CAAC,CAAA;IAED,SAAS,CAAC,4BAAoB,CAAC,GAAG,IAAI,CAAA;IACtC,SAAS,CAAC,WAAW,GAAG,aAAa,CAAA;IAErC,OAAO,SAAoC,CAAA;AAC7C,CAAC,CAAA;AAfY,QAAA,qBAAqB,yBAejC;AAEM,MAAM,iBAAiB,GAAG,CAC/B,SAAgC,EACM,EAAE;IACxC,OAAO,OAAO,SAAS,KAAK,UAAU,IAAI,4BAAoB,IAAI,SAAS,CAAA;AAC7E,CAAC,CAAA;AAJY,QAAA,iBAAiB,qBAI7B"}
|
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// 🤖 AUTO-GENERATED from data/components.json
|
|
3
|
+
// DO NOT EDIT MANUALLY - Changes will be overwritten
|
|
4
|
+
// Schema version: 1.0.0
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.SHORT_TO_NAME = exports.NAME_TO_SHORT = void 0;
|
|
7
|
+
exports.shorten = shorten;
|
|
8
|
+
exports.expand = expand;
|
|
9
|
+
exports.NAME_TO_SHORT = {
|
|
10
|
+
absolutePosition: 'ap',
|
|
11
|
+
alignItems: 'ai',
|
|
12
|
+
alignment: 'al',
|
|
13
|
+
alignSelf: 'as',
|
|
14
|
+
aspectRatio: 'ar',
|
|
15
|
+
assetName: 'an',
|
|
16
|
+
background: 'bkg',
|
|
17
|
+
backgroundColor: 'bg',
|
|
18
|
+
backgroundStyle: 'bgs',
|
|
19
|
+
base64: 'b64',
|
|
20
|
+
border: 'bd',
|
|
21
|
+
borderColor: 'bc',
|
|
22
|
+
borderRadius: 'br',
|
|
23
|
+
borderWidth: 'bw',
|
|
24
|
+
bottom: 'b',
|
|
25
|
+
buttonStyle: 'bs',
|
|
26
|
+
checked: 'chk',
|
|
27
|
+
clipped: 'clip',
|
|
28
|
+
color: 'c',
|
|
29
|
+
colors: 'cls',
|
|
30
|
+
contentAlignment: 'ca',
|
|
31
|
+
contentColor: 'cc',
|
|
32
|
+
contentDescription: 'cdesc',
|
|
33
|
+
cornerRadius: 'cr',
|
|
34
|
+
countDown: 'cd',
|
|
35
|
+
currentValueLabel: 'cvl',
|
|
36
|
+
deepLinkUrl: 'dlu',
|
|
37
|
+
defaultValue: 'dv',
|
|
38
|
+
destination: 'dest',
|
|
39
|
+
direction: 'dir',
|
|
40
|
+
dither: 'dth',
|
|
41
|
+
durationMs: 'dur',
|
|
42
|
+
enabled: 'en',
|
|
43
|
+
endAtMs: 'end',
|
|
44
|
+
endPoint: 'ep',
|
|
45
|
+
fallback: 'flb',
|
|
46
|
+
fillMaxHeight: 'fmh',
|
|
47
|
+
fillMaxWidth: 'fmw',
|
|
48
|
+
fixedSizeHorizontal: 'fsh',
|
|
49
|
+
fixedSizeVertical: 'fsv',
|
|
50
|
+
flex: 'fl',
|
|
51
|
+
flexBasis: 'fb',
|
|
52
|
+
flexDirection: 'fdir',
|
|
53
|
+
flexGrow: 'fg',
|
|
54
|
+
flexGrowWidth: 'fgw',
|
|
55
|
+
flexShrink: 'fk',
|
|
56
|
+
font: 'fnt',
|
|
57
|
+
fontFamily: 'ff',
|
|
58
|
+
fontSize: 'fs',
|
|
59
|
+
fontVariant: 'fvar',
|
|
60
|
+
fontWeight: 'fw',
|
|
61
|
+
foregroundStyle: 'fgs',
|
|
62
|
+
foregroundStyleScale: 'fss',
|
|
63
|
+
frame: 'f',
|
|
64
|
+
gap: 'g',
|
|
65
|
+
gaugeStyle: 'gs',
|
|
66
|
+
glassEffect: 'ge',
|
|
67
|
+
height: 'h',
|
|
68
|
+
horizontalAlignment: 'halig',
|
|
69
|
+
horizontalPadding: 'hp',
|
|
70
|
+
icon: 'ic',
|
|
71
|
+
id: 'id',
|
|
72
|
+
italic: 'it',
|
|
73
|
+
justifyContent: 'jc',
|
|
74
|
+
kerning: 'kern',
|
|
75
|
+
label: 'lbl',
|
|
76
|
+
layout: 'ly',
|
|
77
|
+
layoutPriority: 'lp',
|
|
78
|
+
left: 'l',
|
|
79
|
+
legendVisibility: 'lgv',
|
|
80
|
+
letterSpacing: 'ls',
|
|
81
|
+
lineHeight: 'lh',
|
|
82
|
+
lineLimit: 'll',
|
|
83
|
+
lineSpacing: 'lsp',
|
|
84
|
+
lineWidth: 'lw',
|
|
85
|
+
margin: 'm',
|
|
86
|
+
marginBottom: 'mb',
|
|
87
|
+
marginHorizontal: 'mh',
|
|
88
|
+
marginLeft: 'ml',
|
|
89
|
+
marginRight: 'mr',
|
|
90
|
+
marginTop: 'mt',
|
|
91
|
+
marginVertical: 'mv',
|
|
92
|
+
marks: 'mrk',
|
|
93
|
+
maskElement: 'me',
|
|
94
|
+
maxHeight: 'maxh',
|
|
95
|
+
maximumValue: 'max',
|
|
96
|
+
maximumValueLabel: 'maxl',
|
|
97
|
+
maxLines: 'mxl',
|
|
98
|
+
maxWidth: 'maxw',
|
|
99
|
+
minHeight: 'minh',
|
|
100
|
+
minimumValue: 'min',
|
|
101
|
+
minimumValueLabel: 'minvl',
|
|
102
|
+
minLength: 'minl',
|
|
103
|
+
minWidth: 'minw',
|
|
104
|
+
monospacedDigit: 'md',
|
|
105
|
+
multilineTextAlignment: 'mta',
|
|
106
|
+
name: 'n',
|
|
107
|
+
numberOfLines: 'nol',
|
|
108
|
+
offset: 'off',
|
|
109
|
+
offsetX: 'ox',
|
|
110
|
+
offsetY: 'oy',
|
|
111
|
+
opacity: 'op',
|
|
112
|
+
overflow: 'ov',
|
|
113
|
+
padding: 'pad',
|
|
114
|
+
paddingBottom: 'pb',
|
|
115
|
+
paddingHorizontal: 'ph',
|
|
116
|
+
paddingLeft: 'pl',
|
|
117
|
+
paddingRight: 'pr',
|
|
118
|
+
paddingTop: 'pt',
|
|
119
|
+
paddingVertical: 'pv',
|
|
120
|
+
position: 'pos',
|
|
121
|
+
progressColor: 'pc',
|
|
122
|
+
resizeMode: 'rm',
|
|
123
|
+
right: 'r',
|
|
124
|
+
rotationEffect: 're',
|
|
125
|
+
scale: 'sc',
|
|
126
|
+
scaleEffect: 'sce',
|
|
127
|
+
shadow: 'sh',
|
|
128
|
+
shadowColor: 'shc',
|
|
129
|
+
shadowOffset: 'sho',
|
|
130
|
+
shadowOpacity: 'shop',
|
|
131
|
+
shadowRadius: 'shr',
|
|
132
|
+
showHours: 'shrs',
|
|
133
|
+
size: 'sz',
|
|
134
|
+
smallCaps: 'smc',
|
|
135
|
+
source: 'src',
|
|
136
|
+
spacing: 'sp',
|
|
137
|
+
startAtMs: 'start',
|
|
138
|
+
startPoint: 'stp',
|
|
139
|
+
stops: 'sts',
|
|
140
|
+
strikethrough: 'st',
|
|
141
|
+
style: 's',
|
|
142
|
+
systemImage: 'si',
|
|
143
|
+
text: 'txt',
|
|
144
|
+
textAlign: 'ta',
|
|
145
|
+
textDecorationLine: 'tdl',
|
|
146
|
+
textStyle: 'ts',
|
|
147
|
+
textTemplates: 'tt',
|
|
148
|
+
thumb: 'th',
|
|
149
|
+
tint: 'tnt',
|
|
150
|
+
tintColor: 'tc',
|
|
151
|
+
title: 'ttl',
|
|
152
|
+
top: 't',
|
|
153
|
+
trackColor: 'trc',
|
|
154
|
+
transform: 'tf',
|
|
155
|
+
type: 'typ',
|
|
156
|
+
underline: 'ul',
|
|
157
|
+
value: 'v',
|
|
158
|
+
verticalAlignment: 'valig',
|
|
159
|
+
weight: 'wt',
|
|
160
|
+
width: 'w',
|
|
161
|
+
xAxisGridStyle: 'xgs',
|
|
162
|
+
xAxisVisibility: 'xav',
|
|
163
|
+
yAxisGridStyle: 'ygs',
|
|
164
|
+
yAxisVisibility: 'yav',
|
|
165
|
+
zIndex: 'zi',
|
|
166
|
+
};
|
|
167
|
+
exports.SHORT_TO_NAME = {
|
|
168
|
+
ap: 'absolutePosition',
|
|
169
|
+
ai: 'alignItems',
|
|
170
|
+
al: 'alignment',
|
|
171
|
+
as: 'alignSelf',
|
|
172
|
+
ar: 'aspectRatio',
|
|
173
|
+
an: 'assetName',
|
|
174
|
+
bkg: 'background',
|
|
175
|
+
bg: 'backgroundColor',
|
|
176
|
+
bgs: 'backgroundStyle',
|
|
177
|
+
b64: 'base64',
|
|
178
|
+
bd: 'border',
|
|
179
|
+
bc: 'borderColor',
|
|
180
|
+
br: 'borderRadius',
|
|
181
|
+
bw: 'borderWidth',
|
|
182
|
+
b: 'bottom',
|
|
183
|
+
bs: 'buttonStyle',
|
|
184
|
+
chk: 'checked',
|
|
185
|
+
clip: 'clipped',
|
|
186
|
+
c: 'color',
|
|
187
|
+
cls: 'colors',
|
|
188
|
+
ca: 'contentAlignment',
|
|
189
|
+
cc: 'contentColor',
|
|
190
|
+
cdesc: 'contentDescription',
|
|
191
|
+
cr: 'cornerRadius',
|
|
192
|
+
cd: 'countDown',
|
|
193
|
+
cvl: 'currentValueLabel',
|
|
194
|
+
dlu: 'deepLinkUrl',
|
|
195
|
+
dv: 'defaultValue',
|
|
196
|
+
dest: 'destination',
|
|
197
|
+
dir: 'direction',
|
|
198
|
+
dth: 'dither',
|
|
199
|
+
dur: 'durationMs',
|
|
200
|
+
en: 'enabled',
|
|
201
|
+
end: 'endAtMs',
|
|
202
|
+
ep: 'endPoint',
|
|
203
|
+
flb: 'fallback',
|
|
204
|
+
fmh: 'fillMaxHeight',
|
|
205
|
+
fmw: 'fillMaxWidth',
|
|
206
|
+
fsh: 'fixedSizeHorizontal',
|
|
207
|
+
fsv: 'fixedSizeVertical',
|
|
208
|
+
fl: 'flex',
|
|
209
|
+
fb: 'flexBasis',
|
|
210
|
+
fdir: 'flexDirection',
|
|
211
|
+
fg: 'flexGrow',
|
|
212
|
+
fgw: 'flexGrowWidth',
|
|
213
|
+
fk: 'flexShrink',
|
|
214
|
+
fnt: 'font',
|
|
215
|
+
ff: 'fontFamily',
|
|
216
|
+
fs: 'fontSize',
|
|
217
|
+
fvar: 'fontVariant',
|
|
218
|
+
fw: 'fontWeight',
|
|
219
|
+
fgs: 'foregroundStyle',
|
|
220
|
+
fss: 'foregroundStyleScale',
|
|
221
|
+
f: 'frame',
|
|
222
|
+
g: 'gap',
|
|
223
|
+
gs: 'gaugeStyle',
|
|
224
|
+
ge: 'glassEffect',
|
|
225
|
+
h: 'height',
|
|
226
|
+
halig: 'horizontalAlignment',
|
|
227
|
+
hp: 'horizontalPadding',
|
|
228
|
+
ic: 'icon',
|
|
229
|
+
id: 'id',
|
|
230
|
+
it: 'italic',
|
|
231
|
+
jc: 'justifyContent',
|
|
232
|
+
kern: 'kerning',
|
|
233
|
+
lbl: 'label',
|
|
234
|
+
ly: 'layout',
|
|
235
|
+
lp: 'layoutPriority',
|
|
236
|
+
l: 'left',
|
|
237
|
+
lgv: 'legendVisibility',
|
|
238
|
+
ls: 'letterSpacing',
|
|
239
|
+
lh: 'lineHeight',
|
|
240
|
+
ll: 'lineLimit',
|
|
241
|
+
lsp: 'lineSpacing',
|
|
242
|
+
lw: 'lineWidth',
|
|
243
|
+
m: 'margin',
|
|
244
|
+
mb: 'marginBottom',
|
|
245
|
+
mh: 'marginHorizontal',
|
|
246
|
+
ml: 'marginLeft',
|
|
247
|
+
mr: 'marginRight',
|
|
248
|
+
mt: 'marginTop',
|
|
249
|
+
mv: 'marginVertical',
|
|
250
|
+
mrk: 'marks',
|
|
251
|
+
me: 'maskElement',
|
|
252
|
+
maxh: 'maxHeight',
|
|
253
|
+
max: 'maximumValue',
|
|
254
|
+
maxl: 'maximumValueLabel',
|
|
255
|
+
mxl: 'maxLines',
|
|
256
|
+
maxw: 'maxWidth',
|
|
257
|
+
minh: 'minHeight',
|
|
258
|
+
min: 'minimumValue',
|
|
259
|
+
minvl: 'minimumValueLabel',
|
|
260
|
+
minl: 'minLength',
|
|
261
|
+
minw: 'minWidth',
|
|
262
|
+
md: 'monospacedDigit',
|
|
263
|
+
mta: 'multilineTextAlignment',
|
|
264
|
+
n: 'name',
|
|
265
|
+
nol: 'numberOfLines',
|
|
266
|
+
off: 'offset',
|
|
267
|
+
ox: 'offsetX',
|
|
268
|
+
oy: 'offsetY',
|
|
269
|
+
op: 'opacity',
|
|
270
|
+
ov: 'overflow',
|
|
271
|
+
pad: 'padding',
|
|
272
|
+
pb: 'paddingBottom',
|
|
273
|
+
ph: 'paddingHorizontal',
|
|
274
|
+
pl: 'paddingLeft',
|
|
275
|
+
pr: 'paddingRight',
|
|
276
|
+
pt: 'paddingTop',
|
|
277
|
+
pv: 'paddingVertical',
|
|
278
|
+
pos: 'position',
|
|
279
|
+
pc: 'progressColor',
|
|
280
|
+
rm: 'resizeMode',
|
|
281
|
+
r: 'right',
|
|
282
|
+
re: 'rotationEffect',
|
|
283
|
+
sc: 'scale',
|
|
284
|
+
sce: 'scaleEffect',
|
|
285
|
+
sh: 'shadow',
|
|
286
|
+
shc: 'shadowColor',
|
|
287
|
+
sho: 'shadowOffset',
|
|
288
|
+
shop: 'shadowOpacity',
|
|
289
|
+
shr: 'shadowRadius',
|
|
290
|
+
shrs: 'showHours',
|
|
291
|
+
sz: 'size',
|
|
292
|
+
smc: 'smallCaps',
|
|
293
|
+
src: 'source',
|
|
294
|
+
sp: 'spacing',
|
|
295
|
+
start: 'startAtMs',
|
|
296
|
+
stp: 'startPoint',
|
|
297
|
+
sts: 'stops',
|
|
298
|
+
st: 'strikethrough',
|
|
299
|
+
s: 'style',
|
|
300
|
+
si: 'systemImage',
|
|
301
|
+
txt: 'text',
|
|
302
|
+
ta: 'textAlign',
|
|
303
|
+
tdl: 'textDecorationLine',
|
|
304
|
+
ts: 'textStyle',
|
|
305
|
+
tt: 'textTemplates',
|
|
306
|
+
th: 'thumb',
|
|
307
|
+
tnt: 'tint',
|
|
308
|
+
tc: 'tintColor',
|
|
309
|
+
ttl: 'title',
|
|
310
|
+
t: 'top',
|
|
311
|
+
trc: 'trackColor',
|
|
312
|
+
tf: 'transform',
|
|
313
|
+
typ: 'type',
|
|
314
|
+
ul: 'underline',
|
|
315
|
+
v: 'value',
|
|
316
|
+
valig: 'verticalAlignment',
|
|
317
|
+
wt: 'weight',
|
|
318
|
+
w: 'width',
|
|
319
|
+
xgs: 'xAxisGridStyle',
|
|
320
|
+
xav: 'xAxisVisibility',
|
|
321
|
+
ygs: 'yAxisGridStyle',
|
|
322
|
+
yav: 'yAxisVisibility',
|
|
323
|
+
zi: 'zIndex',
|
|
324
|
+
};
|
|
325
|
+
function shorten(name) {
|
|
326
|
+
return exports.NAME_TO_SHORT[name] ?? name;
|
|
327
|
+
}
|
|
328
|
+
function expand(short) {
|
|
329
|
+
return exports.SHORT_TO_NAME[short] ?? short;
|
|
330
|
+
}
|
|
331
|
+
//# sourceMappingURL=short-names.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"short-names.js","sourceRoot":"","sources":["../../../src/payload/short-names.ts"],"names":[],"mappings":";AAAA,8CAA8C;AAC9C,qDAAqD;AACrD,wBAAwB;;;AAgUxB,0BAEC;AAED,wBAEC;AApUY,QAAA,aAAa,GAA2B;IACnD,gBAAgB,EAAE,IAAI;IACtB,UAAU,EAAE,IAAI;IAChB,SAAS,EAAE,IAAI;IACf,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,KAAK;IACjB,e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CAAA;AAED,SAAgB,OAAO,CAAC,IAAY;IAClC,OAAO,qBAAa,CAAC,IAAI,CAAC,IAAI,IAAI,CAAA;AACpC,CAAC;AAED,SAAgB,MAAM,CAAC,KAAa;IAClC,OAAO,qBAAa,CAAC,KAAK,CAAC,IAAI,KAAK,CAAA;AACtC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ensurePayloadWithinBudget = void 0;
|
|
4
|
+
const MAX_ACTIVITYKIT_BYTES = 4096;
|
|
5
|
+
const EFFECTIVE_JSON_BUDGET = 3345;
|
|
6
|
+
const utf8ByteLength = (s) => {
|
|
7
|
+
try {
|
|
8
|
+
if (typeof TextEncoder !== 'undefined')
|
|
9
|
+
return new TextEncoder().encode(s).length;
|
|
10
|
+
}
|
|
11
|
+
catch { }
|
|
12
|
+
try {
|
|
13
|
+
return encodeURI(s).replace(/%[A-F\d]{2}/gi, 'X').length;
|
|
14
|
+
}
|
|
15
|
+
catch {
|
|
16
|
+
return s.length;
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
const ensurePayloadWithinBudget = (compressedPayload) => {
|
|
20
|
+
const bytes = utf8ByteLength(compressedPayload);
|
|
21
|
+
if (bytes > EFFECTIVE_JSON_BUDGET) {
|
|
22
|
+
throw new Error(`[Voltra] Compressed payload size ${bytes}B exceeds safe budget ${EFFECTIVE_JSON_BUDGET}B (ActivityKit hard cap ${MAX_ACTIVITYKIT_BYTES}B). You need to reduce the complexity of your UI.`);
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
exports.ensurePayloadWithinBudget = ensurePayloadWithinBudget;
|
|
26
|
+
//# sourceMappingURL=payload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../src/payload.ts"],"names":[],"mappings":";;;AAAA,MAAM,qBAAqB,GAAG,IAAI,CAAA;AAClC,MAAM,qBAAqB,GAAG,IAAI,CAAA;AAElC,MAAM,cAAc,GAAG,CAAC,CAAS,EAAU,EAAE;IAC3C,IAAI,CAAC;QACH,IAAI,OAAO,WAAW,KAAK,WAAW;YAAE,OAAO,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAA;IACnF,CAAC;IAAC,MAAM,CAAC,CAAA,CAAC;IACV,IAAI,CAAC;QACH,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,eAAe,EAAE,GAAG,CAAC,CAAC,MAAM,CAAA;IAC1D,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,CAAC,CAAC,MAAM,CAAA;IACjB,CAAC;AACH,CAAC,CAAA;AAEM,MAAM,yBAAyB,GAAG,CAAC,iBAAyB,EAAQ,EAAE;IAC3E,MAAM,KAAK,GAAG,cAAc,CAAC,iBAAiB,CAAC,CAAA;IAE/C,IAAI,KAAK,GAAG,qBAAqB,EAAE,CAAC;QAClC,MAAM,IAAI,KAAK,CACb,oCAAoC,KAAK,yBAAyB,qBAAqB,2BAA2B,qBAAqB,mDAAmD,CAC3L,CAAA;IACH,CAAC;AACH,CAAC,CAAA;AARY,QAAA,yBAAyB,6BAQrC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getContextRegistry = void 0;
|
|
4
|
+
const getContextRegistry = () => {
|
|
5
|
+
const contextMap = new Map();
|
|
6
|
+
return {
|
|
7
|
+
pushProvider: (context, value) => {
|
|
8
|
+
const stack = contextMap.get(context) || [];
|
|
9
|
+
stack.push(value);
|
|
10
|
+
contextMap.set(context, stack);
|
|
11
|
+
},
|
|
12
|
+
popProvider: (context) => {
|
|
13
|
+
const stack = contextMap.get(context);
|
|
14
|
+
if (stack) {
|
|
15
|
+
stack.pop();
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
readContext: (context) => {
|
|
19
|
+
const stack = contextMap.get(context);
|
|
20
|
+
if (stack && stack.length > 0) {
|
|
21
|
+
return stack[stack.length - 1];
|
|
22
|
+
}
|
|
23
|
+
return context._currentValue;
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
exports.getContextRegistry = getContextRegistry;
|
|
28
|
+
//# sourceMappingURL=context-registry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-registry.js","sourceRoot":"","sources":["../../../src/renderer/context-registry.ts"],"names":[],"mappings":";;;AAcO,MAAM,kBAAkB,GAAG,GAAoB,EAAE;IACtD,MAAM,UAAU,GAAG,IAAI,GAAG,EAAE,CAAA;IAE5B,OAAO;QACL,YAAY,EAAE,CAAI,OAAmB,EAAE,KAAQ,EAAE,EAAE;YACjD,MAAM,KAAK,GAAG,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,CAAA;YAC3C,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;YACjB,UAAU,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAA;QAChC,CAAC;QACD,WAAW,EAAE,CAAI,OAAmB,EAAE,EAAE;YACtC,MAAM,KAAK,GAAG,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;YACrC,IAAI,KAAK,EAAE,CAAC;gBACV,KAAK,CAAC,GAAG,EAAE,CAAA;YACb,CAAC;QACH,CAAC;QACD,WAAW,EAAE,CAAI,OAAmB,EAAE,EAAE;YACtC,MAAM,KAAK,GAAG,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;YAErC,IAAI,KAAK,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBAC9B,OAAO,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;YAChC,CAAC;YAED,OAAO,OAAO,CAAC,aAAa,CAAA;QAC9B,CAAC;KACF,CAAA;AACH,CAAC,CAAA;AAzBY,QAAA,kBAAkB,sBAyB9B"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.getReactCurrentDispatcher = exports.getHooksDispatcher = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const REACT_CONTEXT_TYPE = Symbol.for('react.context');
|
|
9
|
+
const REACT_MEMO_CACHE_SENTINEL = Symbol.for('react.memo_cache_sentinel');
|
|
10
|
+
const getHooksDispatcher = (registry) => ({
|
|
11
|
+
useContext: (context) => registry.readContext(context),
|
|
12
|
+
use: (usable) => {
|
|
13
|
+
if (usable !== null &&
|
|
14
|
+
typeof usable === 'object' &&
|
|
15
|
+
usable.$$typeof === REACT_CONTEXT_TYPE) {
|
|
16
|
+
return registry.readContext(usable);
|
|
17
|
+
}
|
|
18
|
+
if (usable !== null &&
|
|
19
|
+
(typeof usable === 'object' || typeof usable === 'function') &&
|
|
20
|
+
typeof usable.then === 'function') {
|
|
21
|
+
throw new Error('use() with promises is not supported in Voltra. Async data fetching is not available in this synchronous renderer.');
|
|
22
|
+
}
|
|
23
|
+
throw new Error(`An unsupported type was passed to use(): ${String(usable)}`);
|
|
24
|
+
},
|
|
25
|
+
useState: (initial) => [
|
|
26
|
+
typeof initial === 'function' ? initial() : initial,
|
|
27
|
+
() => { },
|
|
28
|
+
],
|
|
29
|
+
useReducer: (_, initialArg, init) => {
|
|
30
|
+
const state = init ? init(initialArg) : initialArg;
|
|
31
|
+
return [state, () => { }];
|
|
32
|
+
},
|
|
33
|
+
useMemo: (factory) => factory(),
|
|
34
|
+
useCallback: (cb) => cb,
|
|
35
|
+
useRef: (initial) => ({ current: initial }),
|
|
36
|
+
useEffect: () => { },
|
|
37
|
+
useLayoutEffect: () => { },
|
|
38
|
+
useInsertionEffect: () => { },
|
|
39
|
+
useId: () => Math.random().toString(36).substr(2, 9),
|
|
40
|
+
useDebugValue: () => { },
|
|
41
|
+
useImperativeHandle: () => { },
|
|
42
|
+
useDeferredValue: (value) => value,
|
|
43
|
+
useTransition: () => [false, (func) => func()],
|
|
44
|
+
useSyncExternalStore: (_, getSnapshot) => getSnapshot(),
|
|
45
|
+
useActionState: (_, initialState, _permalink) => [initialState, () => { }, false],
|
|
46
|
+
useOptimistic: (passthrough) => [passthrough, () => { }],
|
|
47
|
+
useEffectEvent: (callback) => callback,
|
|
48
|
+
useMemoCache: (size) => {
|
|
49
|
+
const data = new Array(size);
|
|
50
|
+
for (let i = 0; i < size; i++) {
|
|
51
|
+
data[i] = REACT_MEMO_CACHE_SENTINEL;
|
|
52
|
+
}
|
|
53
|
+
return data;
|
|
54
|
+
},
|
|
55
|
+
useCacheRefresh: () => () => { },
|
|
56
|
+
});
|
|
57
|
+
exports.getHooksDispatcher = getHooksDispatcher;
|
|
58
|
+
const getReactCurrentDispatcher = () => {
|
|
59
|
+
return react_1.default.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
60
|
+
};
|
|
61
|
+
exports.getReactCurrentDispatcher = getReactCurrentDispatcher;
|
|
62
|
+
//# sourceMappingURL=dispatcher.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dispatcher.js","sourceRoot":"","sources":["../../../src/renderer/dispatcher.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA6E;AAI7E,MAAM,kBAAkB,GAAG,MAAM,CAAC,GAAG,CAAC,eAAe,CAAC,CAAA;AACtD,MAAM,yBAAyB,GAAG,MAAM,CAAC,GAAG,CAAC,2BAA2B,CAAC,CAAA;AAoClE,MAAM,kBAAkB,GAAG,CAAC,QAAyB,EAAwB,EAAE,CAAC,CAAC;IACtF,UAAU,EAAE,CAAI,OAAmB,EAAE,EAAE,CA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sBA2D7B;AAEK,MAAM,yBAAyB,GAAG,GAAoB,EAAE;IAC7D,OAAO,eAAK,CAAC,+DAA+D,CAAA;AAC9E,CAAC,CAAA;AAFY,QAAA,yBAAyB,6BAErC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.preScanForDuplicates = exports.createElementRegistry = void 0;
|
|
4
|
+
const createElementRegistry = () => {
|
|
5
|
+
const elementToIndex = new Map();
|
|
6
|
+
const elements = [];
|
|
7
|
+
return {
|
|
8
|
+
isRegistered: (element) => {
|
|
9
|
+
return elementToIndex.get(element);
|
|
10
|
+
},
|
|
11
|
+
register: (element, rendered) => {
|
|
12
|
+
const index = elements.length;
|
|
13
|
+
elementToIndex.set(element, index);
|
|
14
|
+
elements.push(rendered);
|
|
15
|
+
return index;
|
|
16
|
+
},
|
|
17
|
+
getElements: () => elements,
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
exports.createElementRegistry = createElementRegistry;
|
|
21
|
+
const preScanForDuplicates = (element) => {
|
|
22
|
+
const seen = new Set();
|
|
23
|
+
const duplicates = new Set();
|
|
24
|
+
const scan = (node) => {
|
|
25
|
+
if (node === null || node === undefined || typeof node !== 'object') {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
if (Array.isArray(node)) {
|
|
29
|
+
for (const child of node) {
|
|
30
|
+
scan(child);
|
|
31
|
+
}
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
if (seen.has(node)) {
|
|
35
|
+
duplicates.add(node);
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
seen.add(node);
|
|
39
|
+
}
|
|
40
|
+
if ('props' in node) {
|
|
41
|
+
const props = node.props;
|
|
42
|
+
if (props) {
|
|
43
|
+
if (props.children !== undefined) {
|
|
44
|
+
scan(props.children);
|
|
45
|
+
}
|
|
46
|
+
for (const [key, value] of Object.entries(props)) {
|
|
47
|
+
if (key !== 'children' && value && typeof value === 'object' && 'type' in value && 'props' in value) {
|
|
48
|
+
scan(value);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
scan(element);
|
|
55
|
+
return duplicates;
|
|
56
|
+
};
|
|
57
|
+
exports.preScanForDuplicates = preScanForDuplicates;
|
|
58
|
+
//# sourceMappingURL=element-registry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"element-registry.js","sourceRoot":"","sources":["../../../src/renderer/element-registry.ts"],"names":[],"mappings":";;;AAUO,MAAM,qBAAqB,GAAG,GAAoB,EAAE;IACzD,MAAM,cAAc,GAAG,IAAI,GAAG,EAAqB,CAAA;IACnD,MAAM,QAAQ,GAAqB,EAAE,CAAA;IAErC,OAAO;QACL,YAAY,EAAE,CAAC,OAAkB,EAAsB,EAAE;YACvD,OAAO,cAAc,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;QACpC,CAAC;QACD,QAAQ,EAAE,CAAC,OAAkB,EAAE,QAAwB,EAAU,EAAE;YACjE,MAAM,KAAK,GAAG,QAAQ,CAAC,MAAM,CAAA;YAC7B,cAAc,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAA;YAClC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;YACvB,OAAO,KAAK,CAAA;QACd,CAAC;QACD,WAAW,EAAE,GAAqB,EAAE,CAAC,QAAQ;KAC9C,CAAA;AACH,CAAC,CAAA;AAhBY,QAAA,qBAAqB,yBAgBjC;AAEM,MAAM,oBAAoB,GAAG,CAAC,OAAkB,EAAkB,EAAE;IACzE,MAAM,IAAI,GAAG,IAAI,GAAG,EAAa,CAAA;IACjC,MAAM,UAAU,GAAG,IAAI,GAAG,EAAa,CAAA;IAEvC,MAAM,IAAI,GAAG,CAAC,IAAe,EAAQ,EAAE;QACrC,IAAI,IAAI,KAAK,IAAI,IAAI,IAAI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
exports.flattenStyle = void 0;
|
|
4
|
+
const flattenStyle = (style) => {
|
|
5
|
+
if (!style) {
|
|
6
|
+
return null;
|
|
7
|
+
}
|
|
8
|
+
if (!Array.isArray(style)) {
|
|
9
|
+
return style;
|
|
10
|
+
}
|
|
11
|
+
const result = {};
|
|
12
|
+
for (let i = 0, styleLength = style.length; i < styleLength; ++i) {
|
|
13
|
+
const computedStyle = (0, exports.flattenStyle)(style[i]);
|
|
14
|
+
if (computedStyle) {
|
|
15
|
+
for (const key in computedStyle) {
|
|
16
|
+
result[key] = computedStyle[key];
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
return result;
|
|
21
|
+
};
|
|
22
|
+
exports.flattenStyle = flattenStyle;
|
|
23
|
+
//# sourceMappingURL=flatten-styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flatten-styles.js","sourceRoot":"","sources":["../../../src/renderer/flatten-styles.ts"],"names":[],"mappings":";;;AAIO,MAAM,YAAY,GAAG,CAA+B,KAA2B,EAA2B,EAAE;IACjH,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,OAAO,IAAI,CAAA;IACb,CAAC;IAED,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QAC1B,OAAO,KAAyB,CAAA;IAClC,CAAC;IAED,MAAM,MAAM,GAA4B,EAAE,CAAA;IAC1C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,WAAW,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,GAAG,WAAW,EAAE,EAAE,CAAC,EAAE,CAAC;QACjE,MAAM,aAAa,GAAG,IAAA,oBAAY,EAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAA;QAC5C,IAAI,aAAa,EAAE,CAAC;YAClB,KAAK,MAAM,GAAG,IAAI,aAAa,EAAE,CAAC;gBAChC,MAAM,CAAC,GAAG,CAAC,GAAG,aAAa,CAAC,GAAG,CAAC,CAAA;YAClC,CAAC;QACH,CAAC;IACH,CAAC;IACD,OAAO,MAA0B,CAAA;AACnC,CAAC,CAAA;AAnBY,QAAA,YAAY,gBAmBxB"}
|