@builder.io/sdk-react-native 0.0.1-25 → 0.0.1-26
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/package.json +3 -2
- package/src/blocks/button.js +66 -22
- package/src/blocks/button.lite.tsx +4 -4
- package/src/blocks/columns.js +247 -36
- package/src/blocks/columns.lite.tsx +7 -7
- package/src/blocks/custom-code.js +73 -47
- package/src/blocks/custom-code.lite.tsx +12 -16
- package/src/blocks/embed.js +66 -47
- package/src/blocks/embed.lite.tsx +11 -13
- package/src/blocks/form.js +436 -195
- package/src/blocks/form.lite.tsx +65 -72
- package/src/blocks/fragment.js +16 -8
- package/src/blocks/fragment.lite.tsx +3 -3
- package/src/blocks/image.js +88 -80
- package/src/blocks/image.lite.tsx +14 -15
- package/src/blocks/img.js +45 -28
- package/src/blocks/img.lite.tsx +7 -7
- package/src/blocks/input.js +93 -28
- package/src/blocks/input.lite.tsx +5 -7
- package/src/blocks/raw-text.js +16 -12
- package/src/blocks/raw-text.lite.tsx +3 -3
- package/src/blocks/section.js +66 -23
- package/src/blocks/section.lite.tsx +4 -4
- package/src/blocks/select.js +67 -28
- package/src/blocks/select.lite.tsx +6 -8
- package/src/blocks/submit-button.js +41 -21
- package/src/blocks/submit-button.lite.tsx +3 -3
- package/src/blocks/symbol.js +18 -16
- package/src/blocks/symbol.lite.tsx +5 -5
- package/src/blocks/text.js +29 -27
- package/src/blocks/text.lite.tsx +4 -9
- package/src/blocks/textarea.js +53 -24
- package/src/blocks/textarea.lite.tsx +3 -3
- package/src/blocks/video.js +112 -46
- package/src/blocks/video.lite.tsx +6 -6
- package/src/components/block-styles.js +2 -4
- package/src/components/block-styles.lite.tsx +3 -3
- package/src/components/error-boundary.js +11 -9
- package/src/components/error-boundary.lite.tsx +3 -3
- package/src/components/render-block.js +85 -40
- package/src/components/render-block.lite.tsx +17 -25
- package/src/components/render-blocks.js +56 -32
- package/src/components/render-blocks.lite.tsx +14 -14
- package/src/components/render-content.js +100 -52
- package/src/components/render-content.lite.tsx +32 -41
- package/src/constants/device-sizes.js +8 -11
- package/src/context/builder.context.js +2 -4
- package/src/functions/evaluate.js +17 -9
- package/src/functions/get-block-actions.js +9 -10
- package/src/functions/get-block-component-options.js +11 -10
- package/src/functions/get-block-properties.js +15 -17
- package/src/functions/get-block-styles.js +19 -16
- package/src/functions/get-block-tag.js +2 -4
- package/src/functions/get-content.js +40 -29
- package/src/functions/get-fetch.js +5 -7
- package/src/functions/get-global-this.js +5 -7
- package/src/functions/get-processed-block.js +11 -13
- package/src/functions/get-processed-block.test.js +14 -14
- package/src/functions/get-target.js +2 -4
- package/src/functions/if-target.js +1 -3
- package/src/functions/is-browser.js +3 -5
- package/src/functions/is-editing.js +3 -5
- package/src/functions/is-iframe.js +2 -4
- package/src/functions/is-previewing.js +4 -6
- package/src/functions/is-react-native.js +2 -4
- package/src/functions/macro-eval.js +2 -5
- package/src/functions/on-change.js +4 -7
- package/src/functions/on-change.test.js +10 -10
- package/src/functions/previewing-model-name.js +3 -5
- package/src/functions/register-component.js +33 -28
- package/src/functions/register.js +8 -10
- package/src/functions/set-editor-settings.js +5 -7
- package/src/functions/set.js +10 -4
- package/src/functions/set.test.js +14 -14
- package/src/functions/track.js +6 -8
- package/src/index.js +20 -18
- package/src/scripts/init-editing.js +64 -40
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
function getGlobalThis() {
|
|
3
|
-
if (typeof globalThis !==
|
|
3
|
+
if (typeof globalThis !== 'undefined') {
|
|
4
4
|
return globalThis;
|
|
5
5
|
}
|
|
6
|
-
if (typeof window !==
|
|
6
|
+
if (typeof window !== 'undefined') {
|
|
7
7
|
return window;
|
|
8
8
|
}
|
|
9
|
-
if (typeof global !==
|
|
9
|
+
if (typeof global !== 'undefined') {
|
|
10
10
|
return global;
|
|
11
11
|
}
|
|
12
|
-
if (typeof self !==
|
|
12
|
+
if (typeof self !== 'undefined') {
|
|
13
13
|
return self;
|
|
14
14
|
}
|
|
15
15
|
return null;
|
|
16
16
|
}
|
|
17
|
-
export {
|
|
18
|
-
getGlobalThis
|
|
19
|
-
};
|
|
17
|
+
export { getGlobalThis };
|
|
@@ -5,21 +5,21 @@ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
|
5
5
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
8
|
-
var __defNormalProp = (obj, key, value) =>
|
|
8
|
+
var __defNormalProp = (obj, key, value) =>
|
|
9
|
+
key in obj
|
|
10
|
+
? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value })
|
|
11
|
+
: (obj[key] = value);
|
|
9
12
|
var __spreadValues = (a, b) => {
|
|
10
|
-
for (var prop in b || (b = {}))
|
|
11
|
-
if (__hasOwnProp.call(b, prop))
|
|
12
|
-
__defNormalProp(a, prop, b[prop]);
|
|
13
|
+
for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]);
|
|
13
14
|
if (__getOwnPropSymbols)
|
|
14
15
|
for (var prop of __getOwnPropSymbols(b)) {
|
|
15
|
-
if (__propIsEnum.call(b, prop))
|
|
16
|
-
__defNormalProp(a, prop, b[prop]);
|
|
16
|
+
if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]);
|
|
17
17
|
}
|
|
18
18
|
return a;
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
|
-
import { evaluate } from
|
|
22
|
-
import { set } from
|
|
21
|
+
import { evaluate } from './evaluate';
|
|
22
|
+
import { set } from './set';
|
|
23
23
|
function getProcessedBlock(options) {
|
|
24
24
|
const { block, state, context } = options;
|
|
25
25
|
if (!block.bindings) {
|
|
@@ -27,19 +27,17 @@ function getProcessedBlock(options) {
|
|
|
27
27
|
}
|
|
28
28
|
const copied = __spreadProps(__spreadValues({}, block), {
|
|
29
29
|
properties: __spreadValues({}, block.properties),
|
|
30
|
-
actions: __spreadValues({}, block.actions)
|
|
30
|
+
actions: __spreadValues({}, block.actions),
|
|
31
31
|
});
|
|
32
32
|
for (const binding in block.bindings) {
|
|
33
33
|
const expression = block.bindings[binding];
|
|
34
34
|
const value = evaluate({
|
|
35
35
|
code: expression,
|
|
36
36
|
state,
|
|
37
|
-
context
|
|
37
|
+
context,
|
|
38
38
|
});
|
|
39
39
|
set(copied, binding, value);
|
|
40
40
|
}
|
|
41
41
|
return copied;
|
|
42
42
|
}
|
|
43
|
-
export {
|
|
44
|
-
getProcessedBlock
|
|
45
|
-
};
|
|
43
|
+
export { getProcessedBlock };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { expect, test } from
|
|
3
|
-
import { getProcessedBlock } from
|
|
4
|
-
test(
|
|
2
|
+
import { expect, test } from '@jest/globals';
|
|
3
|
+
import { getProcessedBlock } from './get-processed-block';
|
|
4
|
+
test('Can process bindings', () => {
|
|
5
5
|
const block = {
|
|
6
6
|
properties: {
|
|
7
|
-
foo:
|
|
7
|
+
foo: 'bar',
|
|
8
8
|
},
|
|
9
9
|
bindings: {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
'properties.foo': '"baz"',
|
|
11
|
+
'responsiveStyles.large.zIndex': '1 + 1',
|
|
12
|
+
'properties.test': 'state.test',
|
|
13
|
+
'properties.block': `
|
|
14
14
|
const foo = 'bar';
|
|
15
15
|
return foo;
|
|
16
16
|
`,
|
|
17
|
-
|
|
18
|
-
}
|
|
17
|
+
'properties.isEditing': 'builder.isEditing',
|
|
18
|
+
},
|
|
19
19
|
};
|
|
20
|
-
const processed = getProcessedBlock({ block, context: {}, state: { test:
|
|
20
|
+
const processed = getProcessedBlock({ block, context: {}, state: { test: 'hello' } });
|
|
21
21
|
expect(processed).not.toEqual(block);
|
|
22
|
-
expect(processed.properties.foo).toEqual(
|
|
23
|
-
expect(processed.properties.test).toEqual(
|
|
24
|
-
expect(processed.properties.block).toEqual(
|
|
22
|
+
expect(processed.properties.foo).toEqual('baz');
|
|
23
|
+
expect(processed.properties.test).toEqual('hello');
|
|
24
|
+
expect(processed.properties.block).toEqual('bar');
|
|
25
25
|
expect(processed.properties.isEditing).toEqual(false);
|
|
26
26
|
expect(processed.responsiveStyles.large.zIndex).toEqual(2);
|
|
27
27
|
});
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { isReactNative } from
|
|
2
|
+
import { isReactNative } from './is-react-native';
|
|
3
3
|
function isBrowser() {
|
|
4
|
-
return typeof window !==
|
|
4
|
+
return typeof window !== 'undefined' && typeof document !== 'undefined' && !isReactNative();
|
|
5
5
|
}
|
|
6
|
-
export {
|
|
7
|
-
isBrowser
|
|
8
|
-
};
|
|
6
|
+
export { isBrowser };
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { isIframe } from
|
|
2
|
+
import { isIframe } from './is-iframe';
|
|
3
3
|
function isEditing() {
|
|
4
|
-
return isIframe() && window.location.search.indexOf(
|
|
4
|
+
return isIframe() && window.location.search.indexOf('builder.frameEditing=') !== -1;
|
|
5
5
|
}
|
|
6
|
-
export {
|
|
7
|
-
isEditing
|
|
8
|
-
};
|
|
6
|
+
export { isEditing };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { isBrowser } from
|
|
3
|
-
import { isEditing } from
|
|
2
|
+
import { isBrowser } from './is-browser';
|
|
3
|
+
import { isEditing } from './is-editing';
|
|
4
4
|
function isPreviewing() {
|
|
5
5
|
if (!isBrowser()) {
|
|
6
6
|
return false;
|
|
@@ -8,8 +8,6 @@ function isPreviewing() {
|
|
|
8
8
|
if (isEditing()) {
|
|
9
9
|
return false;
|
|
10
10
|
}
|
|
11
|
-
return Boolean(location.search.indexOf(
|
|
11
|
+
return Boolean(location.search.indexOf('builder.preview=') !== -1);
|
|
12
12
|
}
|
|
13
|
-
export {
|
|
14
|
-
isPreviewing
|
|
15
|
-
};
|
|
13
|
+
export { isPreviewing };
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
function isReactNative() {
|
|
3
|
-
return typeof navigator ===
|
|
3
|
+
return typeof navigator === 'object' && navigator.product === 'ReactNative';
|
|
4
4
|
}
|
|
5
|
-
export {
|
|
6
|
-
isReactNative
|
|
7
|
-
};
|
|
5
|
+
export { isReactNative };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
const onChangeProxySymbol = Symbol(
|
|
2
|
+
const onChangeProxySymbol = Symbol('onChangeProxySymbol');
|
|
3
3
|
function onChange(obj, cb) {
|
|
4
4
|
return new Proxy(obj, {
|
|
5
5
|
get(target, key) {
|
|
@@ -7,7 +7,7 @@ function onChange(obj, cb) {
|
|
|
7
7
|
return true;
|
|
8
8
|
}
|
|
9
9
|
const value = Reflect.get(target, key);
|
|
10
|
-
if (value && typeof value ===
|
|
10
|
+
if (value && typeof value === 'object') {
|
|
11
11
|
if (value[onChangeProxySymbol]) {
|
|
12
12
|
return value;
|
|
13
13
|
}
|
|
@@ -19,10 +19,7 @@ function onChange(obj, cb) {
|
|
|
19
19
|
const returnValue = Reflect.set(target, key, value);
|
|
20
20
|
cb();
|
|
21
21
|
return returnValue;
|
|
22
|
-
}
|
|
22
|
+
},
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
|
-
export {
|
|
26
|
-
onChange,
|
|
27
|
-
onChangeProxySymbol
|
|
28
|
-
};
|
|
25
|
+
export { onChange, onChangeProxySymbol };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { expect, test } from
|
|
3
|
-
import { onChange } from
|
|
4
|
-
test(
|
|
2
|
+
import { expect, test } from '@jest/globals';
|
|
3
|
+
import { onChange } from './on-change';
|
|
4
|
+
test('onChange can observe a shallow change', () => {
|
|
5
5
|
let changeHappend = false;
|
|
6
|
-
const obj = onChange({ foo:
|
|
7
|
-
obj.foo =
|
|
6
|
+
const obj = onChange({ foo: 'hi' }, () => (changeHappend = true));
|
|
7
|
+
obj.foo = 'yo';
|
|
8
8
|
expect(changeHappend).toBe(true);
|
|
9
9
|
});
|
|
10
|
-
test(
|
|
10
|
+
test('onChange can observe a deep change', () => {
|
|
11
11
|
let changeHappend = false;
|
|
12
|
-
const obj = onChange({ foo: { bar:
|
|
13
|
-
obj.foo.bar =
|
|
12
|
+
const obj = onChange({ foo: { bar: 'hi' } }, () => (changeHappend = true));
|
|
13
|
+
obj.foo.bar = 'yo';
|
|
14
14
|
expect(changeHappend).toBe(true);
|
|
15
15
|
});
|
|
16
|
-
test(
|
|
16
|
+
test('Smoke test: callback is not fired if no properties updated', () => {
|
|
17
17
|
let changeHappend = false;
|
|
18
|
-
const obj = onChange({ foo: { bar:
|
|
18
|
+
const obj = onChange({ foo: { bar: 'hi' } }, () => (changeHappend = true));
|
|
19
19
|
obj.foo.bar;
|
|
20
20
|
expect(changeHappend).toBe(false);
|
|
21
21
|
});
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { isPreviewing } from
|
|
2
|
+
import { isPreviewing } from './is-previewing';
|
|
3
3
|
function previewingModelName() {
|
|
4
4
|
if (!isPreviewing()) {
|
|
5
5
|
return null;
|
|
6
6
|
}
|
|
7
7
|
const url = new URL(location.href);
|
|
8
|
-
return url.searchParams.get(
|
|
8
|
+
return url.searchParams.get('builder.preview');
|
|
9
9
|
}
|
|
10
|
-
export {
|
|
11
|
-
previewingModelName
|
|
12
|
-
};
|
|
10
|
+
export { previewingModelName };
|
|
@@ -5,50 +5,55 @@ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
|
5
5
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
8
|
-
var __defNormalProp = (obj, key, value) =>
|
|
8
|
+
var __defNormalProp = (obj, key, value) =>
|
|
9
|
+
key in obj
|
|
10
|
+
? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value })
|
|
11
|
+
: (obj[key] = value);
|
|
9
12
|
var __spreadValues = (a, b) => {
|
|
10
|
-
for (var prop in b || (b = {}))
|
|
11
|
-
if (__hasOwnProp.call(b, prop))
|
|
12
|
-
__defNormalProp(a, prop, b[prop]);
|
|
13
|
+
for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]);
|
|
13
14
|
if (__getOwnPropSymbols)
|
|
14
15
|
for (var prop of __getOwnPropSymbols(b)) {
|
|
15
|
-
if (__propIsEnum.call(b, prop))
|
|
16
|
-
__defNormalProp(a, prop, b[prop]);
|
|
16
|
+
if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]);
|
|
17
17
|
}
|
|
18
18
|
return a;
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
|
-
import { isBrowser } from
|
|
21
|
+
import { isBrowser } from './is-browser';
|
|
22
22
|
const components = {};
|
|
23
23
|
function registerComponent(component, info) {
|
|
24
24
|
var _a;
|
|
25
25
|
components[info.name] = { component, info };
|
|
26
26
|
if (isBrowser()) {
|
|
27
27
|
const sendInfo = prepareComponentInfoToSend(info);
|
|
28
|
-
(_a = window.parent) == null
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
(_a = window.parent) == null
|
|
29
|
+
? void 0
|
|
30
|
+
: _a.postMessage(
|
|
31
|
+
{
|
|
32
|
+
type: 'builder.registerComponent',
|
|
33
|
+
data: sendInfo,
|
|
34
|
+
},
|
|
35
|
+
'*'
|
|
36
|
+
);
|
|
32
37
|
}
|
|
33
38
|
return component;
|
|
34
39
|
}
|
|
35
40
|
function prepareComponentInfoToSend(info) {
|
|
36
|
-
return __spreadValues(
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
input
|
|
43
|
-
[key]
|
|
44
|
-
|
|
41
|
+
return __spreadValues(
|
|
42
|
+
__spreadValues({}, info),
|
|
43
|
+
info.inputs && {
|
|
44
|
+
inputs: info.inputs.map(input => {
|
|
45
|
+
const keysToConvertFnToString = ['onChange', 'showIf'];
|
|
46
|
+
for (const key of keysToConvertFnToString) {
|
|
47
|
+
if (input[key] && typeof input[key] === 'function') {
|
|
48
|
+
const fn = input[key];
|
|
49
|
+
input = __spreadProps(__spreadValues({}, input), {
|
|
50
|
+
[key]: `return (${fn.toString()}).apply(this, arguments)`,
|
|
51
|
+
});
|
|
52
|
+
}
|
|
45
53
|
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
|
|
54
|
+
return input;
|
|
55
|
+
}),
|
|
56
|
+
}
|
|
57
|
+
);
|
|
50
58
|
}
|
|
51
|
-
export {
|
|
52
|
-
components,
|
|
53
|
-
registerComponent
|
|
54
|
-
};
|
|
59
|
+
export { components, registerComponent };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { isBrowser } from
|
|
2
|
+
import { isBrowser } from './is-browser';
|
|
3
3
|
const registry = {};
|
|
4
4
|
function register(type, info) {
|
|
5
5
|
let typeList = registry[type];
|
|
@@ -9,22 +9,20 @@ function register(type, info) {
|
|
|
9
9
|
typeList.push(info);
|
|
10
10
|
if (isBrowser()) {
|
|
11
11
|
const message = {
|
|
12
|
-
type:
|
|
12
|
+
type: 'builder.register',
|
|
13
13
|
data: {
|
|
14
14
|
type,
|
|
15
|
-
info
|
|
16
|
-
}
|
|
15
|
+
info,
|
|
16
|
+
},
|
|
17
17
|
};
|
|
18
18
|
try {
|
|
19
|
-
parent.postMessage(message,
|
|
19
|
+
parent.postMessage(message, '*');
|
|
20
20
|
if (parent !== window) {
|
|
21
|
-
window.postMessage(message,
|
|
21
|
+
window.postMessage(message, '*');
|
|
22
22
|
}
|
|
23
23
|
} catch (err) {
|
|
24
|
-
console.debug(
|
|
24
|
+
console.debug('Could not postmessage', err);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
export {
|
|
29
|
-
register
|
|
30
|
-
};
|
|
28
|
+
export { register };
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { isBrowser } from
|
|
2
|
+
import { isBrowser } from './is-browser';
|
|
3
3
|
const settings = {};
|
|
4
4
|
function setEditorSettings(newSettings) {
|
|
5
5
|
if (isBrowser()) {
|
|
6
6
|
Object.assign(settings, newSettings);
|
|
7
7
|
const message = {
|
|
8
|
-
type:
|
|
9
|
-
data: settings
|
|
8
|
+
type: 'builder.settingsChange',
|
|
9
|
+
data: settings,
|
|
10
10
|
};
|
|
11
|
-
parent.postMessage(message,
|
|
11
|
+
parent.postMessage(message, '*');
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
export {
|
|
15
|
-
setEditorSettings
|
|
16
|
-
};
|
|
14
|
+
export { setEditorSettings };
|
package/src/functions/set.js
CHANGED
|
@@ -4,9 +4,15 @@ const set = (obj, _path, value) => {
|
|
|
4
4
|
return obj;
|
|
5
5
|
}
|
|
6
6
|
const path = Array.isArray(_path) ? _path : _path.toString().match(/[^.[\]]+/g);
|
|
7
|
-
path
|
|
7
|
+
path
|
|
8
|
+
.slice(0, -1)
|
|
9
|
+
.reduce(
|
|
10
|
+
(a, c, i) =>
|
|
11
|
+
Object(a[c]) === a[c]
|
|
12
|
+
? a[c]
|
|
13
|
+
: (a[c] = Math.abs(Number(path[i + 1])) >> 0 === +path[i + 1] ? [] : {}),
|
|
14
|
+
obj
|
|
15
|
+
)[path[path.length - 1]] = value;
|
|
8
16
|
return obj;
|
|
9
17
|
};
|
|
10
|
-
export {
|
|
11
|
-
set
|
|
12
|
-
};
|
|
18
|
+
export { set };
|