@pie-lib/config-ui 0.1.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/dist/_virtual/_rolldown/runtime.js +11 -0
- package/dist/alert-dialog.d.ts +44 -0
- package/dist/alert-dialog.d.ts.map +1 -0
- package/dist/alert-dialog.js +47 -0
- package/dist/checkbox.d.ts +34 -0
- package/dist/checkbox.d.ts.map +1 -0
- package/dist/checkbox.js +57 -0
- package/dist/choice-configuration/feedback-menu.d.ts +33 -0
- package/dist/choice-configuration/feedback-menu.d.ts.map +1 -0
- package/dist/choice-configuration/feedback-menu.js +85 -0
- package/dist/choice-configuration/index.d.ts +63 -0
- package/dist/choice-configuration/index.d.ts.map +1 -0
- package/dist/choice-configuration/index.js +240 -0
- package/dist/choice-utils.d.ts +22 -0
- package/dist/choice-utils.d.ts.map +1 -0
- package/dist/choice-utils.js +15 -0
- package/dist/feedback-config/feedback-selector.d.ts +34 -0
- package/dist/feedback-config/feedback-selector.d.ts.map +1 -0
- package/dist/feedback-config/feedback-selector.js +92 -0
- package/dist/feedback-config/group.d.ts +21 -0
- package/dist/feedback-config/group.d.ts.map +1 -0
- package/dist/feedback-config/group.js +33 -0
- package/dist/feedback-config/index.d.ts +49 -0
- package/dist/feedback-config/index.d.ts.map +1 -0
- package/dist/feedback-config/index.js +96 -0
- package/dist/form-section.d.ts +25 -0
- package/dist/form-section.d.ts.map +1 -0
- package/dist/form-section.js +25 -0
- package/dist/help.d.ts +42 -0
- package/dist/help.d.ts.map +1 -0
- package/dist/help.js +61 -0
- package/dist/index.d.ts +32 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +34 -0
- package/dist/input.d.ts +30 -0
- package/dist/input.d.ts.map +1 -0
- package/dist/input.js +65 -0
- package/dist/inputs.d.ts +63 -0
- package/dist/inputs.d.ts.map +1 -0
- package/dist/inputs.js +70 -0
- package/dist/langs.d.ts +42 -0
- package/dist/langs.d.ts.map +1 -0
- package/dist/langs.js +76 -0
- package/dist/layout/config-layout.d.ts +11 -0
- package/dist/layout/config-layout.d.ts.map +1 -0
- package/dist/layout/config-layout.js +75 -0
- package/dist/layout/index.d.ts +12 -0
- package/dist/layout/index.d.ts.map +1 -0
- package/dist/layout/index.js +10 -0
- package/dist/layout/layout-contents.d.ts +22 -0
- package/dist/layout/layout-contents.d.ts.map +1 -0
- package/dist/layout/layout-contents.js +70 -0
- package/dist/layout/settings-box.d.ts +20 -0
- package/dist/layout/settings-box.d.ts.map +1 -0
- package/dist/layout/settings-box.js +31 -0
- package/dist/mui-box/index.d.ts +21 -0
- package/dist/mui-box/index.d.ts.map +1 -0
- package/dist/mui-box/index.js +47 -0
- package/dist/node_modules/.bun/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/extends.js +12 -0
- package/dist/node_modules/.bun/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +7 -0
- package/dist/node_modules/.bun/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +12 -0
- package/dist/node_modules/.bun/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +8 -0
- package/dist/node_modules/.bun/react-measure@2.5.2_6dbf9a050bc9aadb/node_modules/react-measure/dist/index.esm.js +122 -0
- package/dist/node_modules/.bun/resize-observer-polyfill@1.5.1/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +276 -0
- package/dist/number-text-field-custom.d.ts +52 -0
- package/dist/number-text-field-custom.d.ts.map +1 -0
- package/dist/number-text-field-custom.js +192 -0
- package/dist/number-text-field.d.ts +48 -0
- package/dist/number-text-field.d.ts.map +1 -0
- package/dist/number-text-field.js +122 -0
- package/dist/radio-with-label.d.ts +25 -0
- package/dist/radio-with-label.d.ts.map +1 -0
- package/dist/radio-with-label.js +27 -0
- package/dist/settings/display-size.d.ts +26 -0
- package/dist/settings/display-size.d.ts.map +1 -0
- package/dist/settings/display-size.js +45 -0
- package/dist/settings/index.d.ts +46 -0
- package/dist/settings/index.d.ts.map +1 -0
- package/dist/settings/index.js +63 -0
- package/dist/settings/panel.d.ts +28 -0
- package/dist/settings/panel.d.ts.map +1 -0
- package/dist/settings/panel.js +201 -0
- package/dist/settings/settings-radio-label.d.ts +25 -0
- package/dist/settings/settings-radio-label.d.ts.map +1 -0
- package/dist/settings/settings-radio-label.js +29 -0
- package/dist/settings/toggle.d.ts +25 -0
- package/dist/settings/toggle.d.ts.map +1 -0
- package/dist/settings/toggle.js +33 -0
- package/dist/tabs/index.d.ts +23 -0
- package/dist/tabs/index.d.ts.map +1 -0
- package/dist/tabs/index.js +39 -0
- package/dist/tags-input/index.d.ts +22 -0
- package/dist/tags-input/index.d.ts.map +1 -0
- package/dist/tags-input/index.js +83 -0
- package/dist/two-choice.d.ts +44 -0
- package/dist/two-choice.d.ts.map +1 -0
- package/dist/two-choice.js +79 -0
- package/dist/with-stateful-model.d.ts +22 -0
- package/dist/with-stateful-model.d.ts.map +1 -0
- package/dist/with-stateful-model.js +32 -0
- package/package.json +40 -0
- package/src/alert-dialog.tsx +85 -0
- package/src/checkbox.tsx +71 -0
- package/src/choice-configuration/feedback-menu.tsx +134 -0
- package/src/choice-configuration/index.tsx +400 -0
- package/src/choice-utils.ts +40 -0
- package/src/feedback-config/feedback-selector.tsx +153 -0
- package/src/feedback-config/group.tsx +61 -0
- package/src/feedback-config/index.tsx +121 -0
- package/src/form-section.tsx +41 -0
- package/src/help.tsx +89 -0
- package/src/index.ts +93 -0
- package/src/input.tsx +109 -0
- package/src/inputs.tsx +107 -0
- package/src/langs.tsx +121 -0
- package/src/layout/config-layout.tsx +113 -0
- package/src/layout/index.ts +14 -0
- package/src/layout/layout-contents.tsx +127 -0
- package/src/layout/settings-box.tsx +42 -0
- package/src/mui-box/index.tsx +66 -0
- package/src/number-text-field-custom.tsx +343 -0
- package/src/number-text-field.tsx +229 -0
- package/src/radio-with-label.tsx +40 -0
- package/src/settings/display-size.tsx +63 -0
- package/src/settings/index.ts +93 -0
- package/src/settings/panel.tsx +343 -0
- package/src/settings/settings-radio-label.tsx +42 -0
- package/src/settings/toggle.tsx +56 -0
- package/src/tabs/index.tsx +57 -0
- package/src/tags-input/index.tsx +126 -0
- package/src/two-choice.tsx +128 -0
- package/src/with-stateful-model.tsx +46 -0
package/dist/input.js
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import t from "prop-types";
|
|
3
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
4
|
+
import * as r from "@pie-lib/render-ui";
|
|
5
|
+
import { InputContainer as i } from "@pie-lib/render-ui";
|
|
6
|
+
import a from "@mui/material/Input";
|
|
7
|
+
//#region src/input.tsx
|
|
8
|
+
function o(e) {
|
|
9
|
+
return typeof e == "function" || typeof e == "object" && !!e && typeof e.$$typeof == "symbol";
|
|
10
|
+
}
|
|
11
|
+
function s(e, t) {
|
|
12
|
+
return !e || o(e) ? e : o(e.default) ? e.default : t && o(e[t]) ? e[t] : t && o(e[t]?.default) ? e[t].default : e;
|
|
13
|
+
}
|
|
14
|
+
var c = s(i, "InputContainer") || s(d.InputContainer, "InputContainer"), l = r, u = l.default, d = u && typeof u == "object" ? u : l, f = class extends e.Component {
|
|
15
|
+
static propTypes = {
|
|
16
|
+
value: t.oneOfType([t.string, t.number]),
|
|
17
|
+
onChange: t.func.isRequired,
|
|
18
|
+
label: t.string,
|
|
19
|
+
type: t.string.isRequired,
|
|
20
|
+
error: t.func,
|
|
21
|
+
noModelUpdateOnError: t.bool
|
|
22
|
+
};
|
|
23
|
+
static defaultProps = {
|
|
24
|
+
type: "text",
|
|
25
|
+
error: (e, t) => t === "number" ? !e || isNaN(e) : !e,
|
|
26
|
+
noModelUpdateOnError: !1
|
|
27
|
+
};
|
|
28
|
+
constructor(e) {
|
|
29
|
+
super(e), this.state = { value: e.value };
|
|
30
|
+
}
|
|
31
|
+
UNSAFE_componentWillReceiveProps(e) {
|
|
32
|
+
this.setState({ value: e.value });
|
|
33
|
+
}
|
|
34
|
+
onChange = (e) => {
|
|
35
|
+
let { type: t, onChange: n, error: r } = this.props, i = e.target.value;
|
|
36
|
+
r(i, t) ? this.setState({
|
|
37
|
+
error: !0,
|
|
38
|
+
value: e.target.value
|
|
39
|
+
}) : (this.setState({
|
|
40
|
+
error: !1,
|
|
41
|
+
value: e.target.value
|
|
42
|
+
}), n(e));
|
|
43
|
+
};
|
|
44
|
+
render() {
|
|
45
|
+
let { label: e, type: t, noModelUpdateOnError: r, ...i } = this.props, { value: o, error: s } = this.state;
|
|
46
|
+
return e ? /* @__PURE__ */ n(c, {
|
|
47
|
+
label: e,
|
|
48
|
+
children: /* @__PURE__ */ n(a, {
|
|
49
|
+
type: t,
|
|
50
|
+
...i,
|
|
51
|
+
value: o,
|
|
52
|
+
onChange: this.onChange,
|
|
53
|
+
error: s
|
|
54
|
+
})
|
|
55
|
+
}) : /* @__PURE__ */ n(a, {
|
|
56
|
+
type: t,
|
|
57
|
+
...i,
|
|
58
|
+
value: o,
|
|
59
|
+
onChange: this.onChange,
|
|
60
|
+
error: s
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
//#endregion
|
|
65
|
+
export { f as default };
|
package/dist/inputs.d.ts
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-lib/packages/config-ui/src/inputs.jsx
|
|
3
|
+
* @auto-generated
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
+
* Manual edits will be overwritten on next sync.
|
|
7
|
+
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
+
*/
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
declare const InputSwitch: {
|
|
11
|
+
({ className, label, checked, onChange }: {
|
|
12
|
+
className: any;
|
|
13
|
+
label: any;
|
|
14
|
+
checked: any;
|
|
15
|
+
onChange: any;
|
|
16
|
+
}): JSX.Element;
|
|
17
|
+
propTypes: {
|
|
18
|
+
className: PropTypes.Requireable<string>;
|
|
19
|
+
label: PropTypes.Requireable<string>;
|
|
20
|
+
checked: PropTypes.Requireable<boolean>;
|
|
21
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
22
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
23
|
+
error: PropTypes.Requireable<string>;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
declare const InputCheckbox: {
|
|
27
|
+
({ className, label, checked, onChange, disabled, error }: {
|
|
28
|
+
className: any;
|
|
29
|
+
label: any;
|
|
30
|
+
checked: any;
|
|
31
|
+
onChange: any;
|
|
32
|
+
disabled: any;
|
|
33
|
+
error: any;
|
|
34
|
+
}): JSX.Element;
|
|
35
|
+
propTypes: {
|
|
36
|
+
className: PropTypes.Requireable<string>;
|
|
37
|
+
label: PropTypes.Requireable<string>;
|
|
38
|
+
checked: PropTypes.Requireable<boolean>;
|
|
39
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
40
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
41
|
+
error: PropTypes.Requireable<string>;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
declare const InputRadio: {
|
|
45
|
+
({ className, label, checked, onChange, disabled, error }: {
|
|
46
|
+
className: any;
|
|
47
|
+
label: any;
|
|
48
|
+
checked: any;
|
|
49
|
+
onChange: any;
|
|
50
|
+
disabled: any;
|
|
51
|
+
error: any;
|
|
52
|
+
}): JSX.Element;
|
|
53
|
+
propTypes: {
|
|
54
|
+
className: PropTypes.Requireable<string>;
|
|
55
|
+
label: PropTypes.Requireable<string>;
|
|
56
|
+
checked: PropTypes.Requireable<boolean>;
|
|
57
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
58
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
59
|
+
error: PropTypes.Requireable<string>;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
export { InputSwitch, InputCheckbox, InputRadio };
|
|
63
|
+
//# sourceMappingURL=inputs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inputs.d.ts","sourceRoot":"","sources":["../src/inputs.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAiCH,OAAO,SAAS,MAAM,YAAY,CAAC;AAmBnC,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;CAMhB,CAAC;AAYF,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;CAMlB,CAAC;AAYF,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;CAMf,CAAC;AAIF,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,CAAC"}
|
package/dist/inputs.js
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import "react";
|
|
2
|
+
import e from "prop-types";
|
|
3
|
+
import { styled as t } from "@mui/material/styles";
|
|
4
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
5
|
+
import * as r from "@pie-lib/render-ui";
|
|
6
|
+
import { InputContainer as i, color as a } from "@pie-lib/render-ui";
|
|
7
|
+
import o from "@mui/material/Radio";
|
|
8
|
+
import s from "@mui/material/Checkbox";
|
|
9
|
+
import c from "@mui/material/Switch";
|
|
10
|
+
//#region src/inputs.tsx
|
|
11
|
+
function l(e) {
|
|
12
|
+
return typeof e == "function" || typeof e == "object" && !!e && typeof e.$$typeof == "symbol";
|
|
13
|
+
}
|
|
14
|
+
function u(e, t) {
|
|
15
|
+
return !e || l(e) ? e : l(e.default) ? e.default : t && l(e[t]) ? e[t] : t && l(e[t]?.default) ? e[t].default : e;
|
|
16
|
+
}
|
|
17
|
+
var d = u(i, "InputContainer") || u(m.InputContainer, "InputContainer"), f = r, p = f.default, m = p && typeof p == "object" ? p : f, h = {
|
|
18
|
+
className: e.string,
|
|
19
|
+
label: e.string,
|
|
20
|
+
checked: e.bool,
|
|
21
|
+
onChange: e.func,
|
|
22
|
+
disabled: e.bool,
|
|
23
|
+
error: e.string
|
|
24
|
+
}, g = t(c)(() => ({
|
|
25
|
+
justifyContent: "inherit",
|
|
26
|
+
transform: "translate(-20%, 20%)"
|
|
27
|
+
})), _ = ({ className: e, label: t, checked: r, onChange: i }) => /* @__PURE__ */ n(d, {
|
|
28
|
+
className: e,
|
|
29
|
+
label: t,
|
|
30
|
+
children: /* @__PURE__ */ n(g, {
|
|
31
|
+
checked: r,
|
|
32
|
+
onChange: i,
|
|
33
|
+
"aria-label": t
|
|
34
|
+
})
|
|
35
|
+
});
|
|
36
|
+
_.propTypes = { ...h };
|
|
37
|
+
var v = t(s)(({ theme: e, error: t }) => ({
|
|
38
|
+
transform: "translate(-25%, 20%)",
|
|
39
|
+
color: `${a.tertiary()} !important`,
|
|
40
|
+
...t && { color: `${e.palette.error.main} !important` }
|
|
41
|
+
})), y = ({ className: e, label: t, checked: r, onChange: i, disabled: a, error: o }) => /* @__PURE__ */ n(d, {
|
|
42
|
+
className: e,
|
|
43
|
+
label: t,
|
|
44
|
+
children: /* @__PURE__ */ n(v, {
|
|
45
|
+
disabled: a,
|
|
46
|
+
checked: r,
|
|
47
|
+
onChange: i,
|
|
48
|
+
"aria-label": t,
|
|
49
|
+
error: o
|
|
50
|
+
})
|
|
51
|
+
});
|
|
52
|
+
y.propTypes = { ...h };
|
|
53
|
+
var b = t(o)(({ theme: e, error: t }) => ({
|
|
54
|
+
transform: "translate(-20%, 20%)",
|
|
55
|
+
color: `${a.tertiary()} !important`,
|
|
56
|
+
...t && { color: `${e.palette.error.main} !important` }
|
|
57
|
+
})), x = ({ className: e, label: t, checked: r, onChange: i, disabled: a, error: o }) => /* @__PURE__ */ n(d, {
|
|
58
|
+
className: e,
|
|
59
|
+
label: t,
|
|
60
|
+
children: /* @__PURE__ */ n(b, {
|
|
61
|
+
disabled: a,
|
|
62
|
+
checked: r,
|
|
63
|
+
onChange: i,
|
|
64
|
+
"aria-label": t,
|
|
65
|
+
error: o
|
|
66
|
+
})
|
|
67
|
+
});
|
|
68
|
+
x.propTypes = { ...h };
|
|
69
|
+
//#endregion
|
|
70
|
+
export { y as InputCheckbox, x as InputRadio, _ as InputSwitch };
|
package/dist/langs.d.ts
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-lib/packages/config-ui/src/langs.jsx
|
|
3
|
+
* @auto-generated
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
+
* Manual edits will be overwritten on next sync.
|
|
7
|
+
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
+
*/
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare class Langs extends React.Component {
|
|
12
|
+
static propTypes: {
|
|
13
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
14
|
+
langs: PropTypes.Requireable<any[]>;
|
|
15
|
+
selected: PropTypes.Requireable<string>;
|
|
16
|
+
label: PropTypes.Requireable<string>;
|
|
17
|
+
uid: PropTypes.Requireable<string>;
|
|
18
|
+
};
|
|
19
|
+
constructor(props: any);
|
|
20
|
+
choose: any;
|
|
21
|
+
render(): JSX.Element;
|
|
22
|
+
}
|
|
23
|
+
export default Langs;
|
|
24
|
+
export declare const LanguageControls: {
|
|
25
|
+
({ langs, activeLang, defaultLang, onActiveLangChange, onDefaultLangChange, className, }: {
|
|
26
|
+
langs: any;
|
|
27
|
+
activeLang: any;
|
|
28
|
+
defaultLang: any;
|
|
29
|
+
onActiveLangChange: any;
|
|
30
|
+
onDefaultLangChange: any;
|
|
31
|
+
className: any;
|
|
32
|
+
}): JSX.Element;
|
|
33
|
+
propTypes: {
|
|
34
|
+
langs: PropTypes.Requireable<any[]>;
|
|
35
|
+
activeLang: PropTypes.Validator<string>;
|
|
36
|
+
defaultLang: PropTypes.Validator<string>;
|
|
37
|
+
onActiveLangChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
38
|
+
onDefaultLangChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
39
|
+
className: PropTypes.Requireable<string>;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=langs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"langs.d.ts","sourceRoot":"","sources":["../src/langs.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAIH,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,MAAM,OAAO,CAAC;AA0B1B,qBAAa,KAAM,SAAQ,KAAK,CAAC,SAAS;IACxC,MAAM,CAAC,SAAS;;;;;;MAMd;gBAEU,KAAK,KAAA;IAKjB,MAAM,EAAE,GAAG,CAMT;IAEF,MAAM;CAqBP;AACD,eAAe,KAAK,CAAC;AASrB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;CAmB5B,CAAC"}
|
package/dist/langs.js
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import e from "react";
|
|
2
|
+
import t from "prop-types";
|
|
3
|
+
import { styled as n } from "@mui/material/styles";
|
|
4
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
|
+
import a from "@mui/material/Input";
|
|
6
|
+
import o from "@mui/material/InputLabel";
|
|
7
|
+
import s from "@mui/material/Select";
|
|
8
|
+
import c from "@mui/material/MenuItem";
|
|
9
|
+
import l from "@mui/material/FormControl";
|
|
10
|
+
import u from "debug";
|
|
11
|
+
//#region src/langs.tsx
|
|
12
|
+
var d = u("pie-elements:config-ui:langs"), f = n("div")(() => ({
|
|
13
|
+
flexDirection: "column",
|
|
14
|
+
alignItems: "start",
|
|
15
|
+
display: "flex",
|
|
16
|
+
position: "relative",
|
|
17
|
+
paddingTop: "0px",
|
|
18
|
+
paddingRight: "0px"
|
|
19
|
+
})), p = n(l)(() => ({ position: "initial" })), m = n(o)(({ theme: e }) => ({ paddingBottom: e.spacing(1) })), h = class extends e.Component {
|
|
20
|
+
static propTypes = {
|
|
21
|
+
onChange: t.func,
|
|
22
|
+
langs: t.array,
|
|
23
|
+
selected: t.string,
|
|
24
|
+
label: t.string,
|
|
25
|
+
uid: t.string
|
|
26
|
+
};
|
|
27
|
+
constructor(e) {
|
|
28
|
+
super(e), this.uid = e.uid || (Math.random() * 1e4).toFixed();
|
|
29
|
+
}
|
|
30
|
+
choose = (e) => {
|
|
31
|
+
d("[choose] event: ", e), this.props.onChange && this.props.onChange(e.target.value);
|
|
32
|
+
};
|
|
33
|
+
render() {
|
|
34
|
+
let { langs: e, selected: t, label: n } = this.props;
|
|
35
|
+
return d("[render] selected:", t), /* @__PURE__ */ r(f, { children: /* @__PURE__ */ i(p, { children: [/* @__PURE__ */ r(m, {
|
|
36
|
+
htmlFor: this.uid,
|
|
37
|
+
children: n
|
|
38
|
+
}), /* @__PURE__ */ r(s, {
|
|
39
|
+
value: t,
|
|
40
|
+
onChange: this.choose,
|
|
41
|
+
input: /* @__PURE__ */ r(a, { id: this.uid }),
|
|
42
|
+
children: e.map((e, t) => /* @__PURE__ */ r(c, {
|
|
43
|
+
value: e,
|
|
44
|
+
children: e
|
|
45
|
+
}, t))
|
|
46
|
+
})] }) });
|
|
47
|
+
}
|
|
48
|
+
}, g = n("div")(() => ({
|
|
49
|
+
display: "grid",
|
|
50
|
+
gridAutoFlow: "column",
|
|
51
|
+
gridAutoColumns: "1fr",
|
|
52
|
+
gridGap: "8px"
|
|
53
|
+
})), _ = ({ langs: e, activeLang: t, defaultLang: n, onActiveLangChange: a, onDefaultLangChange: o, className: s }) => /* @__PURE__ */ i(g, {
|
|
54
|
+
className: s,
|
|
55
|
+
children: [/* @__PURE__ */ r(h, {
|
|
56
|
+
label: "Choose language to edit",
|
|
57
|
+
langs: e,
|
|
58
|
+
selected: t,
|
|
59
|
+
onChange: (e) => a(e)
|
|
60
|
+
}), /* @__PURE__ */ r(h, {
|
|
61
|
+
label: "Default language",
|
|
62
|
+
langs: e,
|
|
63
|
+
selected: n,
|
|
64
|
+
onChange: (e) => o(e)
|
|
65
|
+
})]
|
|
66
|
+
});
|
|
67
|
+
_.propTypes = {
|
|
68
|
+
langs: t.array,
|
|
69
|
+
activeLang: t.string.isRequired,
|
|
70
|
+
defaultLang: t.string.isRequired,
|
|
71
|
+
onActiveLangChange: t.func.isRequired,
|
|
72
|
+
onDefaultLangChange: t.func.isRequired,
|
|
73
|
+
className: t.string
|
|
74
|
+
};
|
|
75
|
+
//#endregion
|
|
76
|
+
export { _ as LanguageControls, h as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-lib/packages/config-ui/src/layout/config-layout.jsx
|
|
3
|
+
* @auto-generated
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
+
* Manual edits will be overwritten on next sync.
|
|
7
|
+
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
+
*/
|
|
9
|
+
declare const ConfigLayout: any;
|
|
10
|
+
export default ConfigLayout;
|
|
11
|
+
//# sourceMappingURL=config-layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-layout.d.ts","sourceRoot":"","sources":["../../src/layout/config-layout.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAsGH,QAAA,MAAM,YAAY,KAAkD,CAAC;AAErE,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import e, { withContentRect as t } from "../node_modules/.bun/react-measure@2.5.2_6dbf9a050bc9aadb/node_modules/react-measure/dist/index.esm.js";
|
|
2
|
+
import n from "./layout-contents.js";
|
|
3
|
+
import r from "./settings-box.js";
|
|
4
|
+
import i from "react";
|
|
5
|
+
import a from "prop-types";
|
|
6
|
+
import { StyledEngineProvider as o, ThemeProvider as s, createTheme as c } from "@mui/material/styles";
|
|
7
|
+
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
8
|
+
//#region src/layout/config-layout.tsx
|
|
9
|
+
var d = c({
|
|
10
|
+
typography: { fontFamily: "inherit" },
|
|
11
|
+
components: { MuiButton: { styleOverrides: { contained: {
|
|
12
|
+
backgroundColor: "#e0e0e0",
|
|
13
|
+
color: "#000000",
|
|
14
|
+
"&:hover": { backgroundColor: "#bdbdbd" }
|
|
15
|
+
} } } }
|
|
16
|
+
}), f = class extends i.Component {
|
|
17
|
+
static propTypes = {
|
|
18
|
+
children: a.oneOfType([
|
|
19
|
+
a.string,
|
|
20
|
+
a.arrayOf(a.element),
|
|
21
|
+
a.element
|
|
22
|
+
]),
|
|
23
|
+
className: a.string,
|
|
24
|
+
dimensions: a.object,
|
|
25
|
+
settings: a.element,
|
|
26
|
+
sidePanelMinWidth: a.number,
|
|
27
|
+
hideSettings: a.bool,
|
|
28
|
+
extraCSSRules: a.shape({
|
|
29
|
+
names: a.arrayOf(a.string),
|
|
30
|
+
rules: a.string
|
|
31
|
+
})
|
|
32
|
+
};
|
|
33
|
+
static defaultProps = {
|
|
34
|
+
sidePanelMinWidth: 1135,
|
|
35
|
+
hideSettings: !1,
|
|
36
|
+
dimensions: {}
|
|
37
|
+
};
|
|
38
|
+
constructor(...e) {
|
|
39
|
+
super(...e), this.state = { layoutMode: void 0 };
|
|
40
|
+
}
|
|
41
|
+
onResize = (e) => {
|
|
42
|
+
let { bounds: t } = e, { sidePanelMinWidth: n, dimensions: r } = this.props, { maxWidth: i } = r || {}, a = t.width > n && (!i || i > n) ? "inline" : "tabbed";
|
|
43
|
+
a !== this.state.layoutMode && this.setState({ layoutMode: a });
|
|
44
|
+
};
|
|
45
|
+
render() {
|
|
46
|
+
return /* @__PURE__ */ l(o, {
|
|
47
|
+
injectFirst: !0,
|
|
48
|
+
children: /* @__PURE__ */ l(s, {
|
|
49
|
+
theme: d,
|
|
50
|
+
children: /* @__PURE__ */ l(e, {
|
|
51
|
+
bounds: !0,
|
|
52
|
+
onResize: this.onResize,
|
|
53
|
+
children: ({ measureRef: e }) => {
|
|
54
|
+
let { children: t, settings: i, hideSettings: a, dimensions: o, extraCSSRules: s } = this.props, { layoutMode: c } = this.state, d = a ? null : c === "inline" ? /* @__PURE__ */ l(r, {
|
|
55
|
+
className: "settings-box",
|
|
56
|
+
children: i
|
|
57
|
+
}) : i;
|
|
58
|
+
return /* @__PURE__ */ u("div", {
|
|
59
|
+
ref: e,
|
|
60
|
+
className: "main-container extraCSSRules",
|
|
61
|
+
children: [s?.rules ? /* @__PURE__ */ l("style", { dangerouslySetInnerHTML: { __html: `.extraCSSRules { ${s.rules} }` } }) : null, /* @__PURE__ */ l(n, {
|
|
62
|
+
mode: c,
|
|
63
|
+
secondary: d,
|
|
64
|
+
dimensions: o,
|
|
65
|
+
children: t
|
|
66
|
+
})]
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
})
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
}, p = t("bounds")(f);
|
|
74
|
+
//#endregion
|
|
75
|
+
export { p as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-lib/packages/config-ui/src/layout/index.js
|
|
3
|
+
* @auto-generated
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
+
* Manual edits will be overwritten on next sync.
|
|
7
|
+
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
+
*/
|
|
9
|
+
import ConfigLayout from './config-layout.js';
|
|
10
|
+
import LayoutContents from './layout-contents.js';
|
|
11
|
+
export { LayoutContents, ConfigLayout };
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/layout/index.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAEH,OAAO,YAAY,MAAM,oBAAoB,CAAC;AAC9C,OAAO,cAAc,MAAM,sBAAsB,CAAC;AAElD,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { __exportAll as e } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import t from "./layout-contents.js";
|
|
3
|
+
import n from "./config-layout.js";
|
|
4
|
+
//#region src/layout/index.ts
|
|
5
|
+
var r = /* @__PURE__ */ e({
|
|
6
|
+
ConfigLayout: () => n,
|
|
7
|
+
LayoutContents: () => t
|
|
8
|
+
});
|
|
9
|
+
//#endregion
|
|
10
|
+
export { r as layout_exports };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-lib/packages/config-ui/src/layout/layout-contents.jsx
|
|
3
|
+
* @auto-generated
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
+
* Manual edits will be overwritten on next sync.
|
|
7
|
+
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
+
*/
|
|
9
|
+
import React from 'react';
|
|
10
|
+
import PropTypes from 'prop-types';
|
|
11
|
+
declare class RawLayoutContents extends React.Component {
|
|
12
|
+
static propTypes: {
|
|
13
|
+
mode: PropTypes.Requireable<string>;
|
|
14
|
+
secondary: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
|
15
|
+
children: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
|
16
|
+
dimensions: PropTypes.Requireable<object>;
|
|
17
|
+
};
|
|
18
|
+
getConfiguration: any;
|
|
19
|
+
render(): JSX.Element;
|
|
20
|
+
}
|
|
21
|
+
export default RawLayoutContents;
|
|
22
|
+
//# sourceMappingURL=layout-contents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout-contents.d.ts","sourceRoot":"","sources":["../../src/layout/layout-contents.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,MAAM,YAAY,CAAC;AA2BnC,cAAM,iBAAkB,SAAQ,KAAK,CAAC,SAAS;IAC7C,MAAM,CAAC,SAAS;;;;;MAKd;IAEF,gBAAgB,EAAE,GAAG,CAKnB;IA2BF,MAAM;CA8CP;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import e from "../tabs/index.js";
|
|
2
|
+
import t from "react";
|
|
3
|
+
import n from "prop-types";
|
|
4
|
+
import { styled as r } from "@mui/material/styles";
|
|
5
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
|
+
//#region src/layout/layout-contents.tsx
|
|
7
|
+
var o = r("div")(() => ({
|
|
8
|
+
display: "flex",
|
|
9
|
+
flexDirection: "column",
|
|
10
|
+
position: "relative"
|
|
11
|
+
})), s = r("div")(() => ({
|
|
12
|
+
display: "flex",
|
|
13
|
+
justifyContent: "space-between"
|
|
14
|
+
})), c = r("div")(({ theme: e }) => ({ padding: `${e.spacing(2)} 0` })), l = r("div")(() => ({ flex: "1" })), u = r("div")(({ theme: e }) => ({ marginLeft: e.spacing(2) })), d = class extends t.Component {
|
|
15
|
+
static propTypes = {
|
|
16
|
+
mode: n.oneOf(["tabbed", "inline"]),
|
|
17
|
+
secondary: n.oneOfType([n.arrayOf(n.node), n.node]),
|
|
18
|
+
children: n.oneOfType([n.arrayOf(n.node), n.node]),
|
|
19
|
+
dimensions: n.object
|
|
20
|
+
};
|
|
21
|
+
getConfiguration = () => {
|
|
22
|
+
let { secondary: e } = this.props;
|
|
23
|
+
return e?.props?.configuration || e?.props?.children?.props?.configuration || void 0;
|
|
24
|
+
};
|
|
25
|
+
render() {
|
|
26
|
+
let { mode: t, secondary: n, children: r, dimensions: d } = this.props, { minHeight: f, minWidth: p, maxHeight: m, maxWidth: h } = d || {}, g = this.getConfiguration(), _ = Object.entries(g || {}).some(([, e]) => !!e?.settings);
|
|
27
|
+
if (!_) try {
|
|
28
|
+
_ = JSON.stringify(g)?.match(/settings":true/)?.length;
|
|
29
|
+
} catch (e) {
|
|
30
|
+
console.log(e.toString());
|
|
31
|
+
}
|
|
32
|
+
return /* @__PURE__ */ a(o, {
|
|
33
|
+
style: {
|
|
34
|
+
minHeight: f,
|
|
35
|
+
minWidth: p,
|
|
36
|
+
maxHeight: m,
|
|
37
|
+
maxWidth: h
|
|
38
|
+
},
|
|
39
|
+
children: [
|
|
40
|
+
t === "inline" && /* @__PURE__ */ a(s, { children: [/* @__PURE__ */ i(l, {
|
|
41
|
+
className: "design-container",
|
|
42
|
+
children: r
|
|
43
|
+
}), _ && /* @__PURE__ */ i(u, {
|
|
44
|
+
className: "settings-container",
|
|
45
|
+
children: n
|
|
46
|
+
})] }),
|
|
47
|
+
t === "tabbed" && _ && /* @__PURE__ */ a(e, {
|
|
48
|
+
onChange: this.onTabsChange,
|
|
49
|
+
contentClassName: "content-container",
|
|
50
|
+
indicatorColor: "primary",
|
|
51
|
+
children: [/* @__PURE__ */ i(c, {
|
|
52
|
+
title: "Design",
|
|
53
|
+
className: "design-container",
|
|
54
|
+
children: r
|
|
55
|
+
}), /* @__PURE__ */ i(c, {
|
|
56
|
+
title: "Settings",
|
|
57
|
+
className: "settings-container",
|
|
58
|
+
children: n
|
|
59
|
+
})]
|
|
60
|
+
}),
|
|
61
|
+
t === "tabbed" && !_ && /* @__PURE__ */ i(c, {
|
|
62
|
+
className: "design-container",
|
|
63
|
+
children: r
|
|
64
|
+
})
|
|
65
|
+
]
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
//#endregion
|
|
70
|
+
export { d as default };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-lib/packages/config-ui/src/layout/settings-box.jsx
|
|
3
|
+
* @auto-generated
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
+
* Manual edits will be overwritten on next sync.
|
|
7
|
+
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
+
*/
|
|
9
|
+
import React from 'react';
|
|
10
|
+
import PropTypes from 'prop-types';
|
|
11
|
+
export declare class SettingsBox extends React.Component {
|
|
12
|
+
static propTypes: {
|
|
13
|
+
className: PropTypes.Requireable<string>;
|
|
14
|
+
children: PropTypes.Validator<NonNullable<NonNullable<PropTypes.ReactNodeLike>>>;
|
|
15
|
+
};
|
|
16
|
+
static defaultProps: {};
|
|
17
|
+
render(): JSX.Element;
|
|
18
|
+
}
|
|
19
|
+
export default SettingsBox;
|
|
20
|
+
//# sourceMappingURL=settings-box.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings-box.d.ts","sourceRoot":"","sources":["../../src/layout/settings-box.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,MAAM,YAAY,CAAC;AAenC,qBAAa,WAAY,SAAQ,KAAK,CAAC,SAAS;IAC9C,MAAM,CAAC,SAAS;;;MAGd;IAEF,MAAM,CAAC,YAAY,KAAM;IAEzB,MAAM;CAKP;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import e from "react";
|
|
2
|
+
import t from "prop-types";
|
|
3
|
+
import { styled as n } from "@mui/material/styles";
|
|
4
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
5
|
+
//#region src/layout/settings-box.tsx
|
|
6
|
+
var i = n("div")(({ theme: e }) => ({
|
|
7
|
+
backgroundColor: e.palette.background.paper,
|
|
8
|
+
border: `2px solid ${e.palette.grey[200]}`,
|
|
9
|
+
display: "flex",
|
|
10
|
+
flexDirection: "column",
|
|
11
|
+
justifyContent: "flex-start",
|
|
12
|
+
minWidth: "275px",
|
|
13
|
+
maxWidth: "300px",
|
|
14
|
+
padding: "20px 4px 4px 20px",
|
|
15
|
+
zIndex: 99
|
|
16
|
+
})), a = class extends e.Component {
|
|
17
|
+
static propTypes = {
|
|
18
|
+
className: t.string,
|
|
19
|
+
children: t.oneOfType([t.arrayOf(t.node), t.node]).isRequired
|
|
20
|
+
};
|
|
21
|
+
static defaultProps = {};
|
|
22
|
+
render() {
|
|
23
|
+
let { className: e, children: t } = this.props;
|
|
24
|
+
return /* @__PURE__ */ r(i, {
|
|
25
|
+
className: e,
|
|
26
|
+
children: t
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
//#endregion
|
|
31
|
+
export { a as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-lib/packages/config-ui/src/mui-box/index.jsx
|
|
3
|
+
* @auto-generated
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
+
* Manual edits will be overwritten on next sync.
|
|
7
|
+
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
+
*/
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
declare const MuiBox: {
|
|
11
|
+
({ children, focused }: {
|
|
12
|
+
children: any;
|
|
13
|
+
focused: any;
|
|
14
|
+
}): JSX.Element;
|
|
15
|
+
propTypes: {
|
|
16
|
+
children: PropTypes.Validator<NonNullable<NonNullable<PropTypes.ReactNodeLike>>>;
|
|
17
|
+
focused: PropTypes.Validator<boolean>;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export default MuiBox;
|
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mui-box/index.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAGH,OAAO,SAAS,MAAM,YAAY,CAAC;AA6CnC,QAAA,MAAM,MAAM;;;;;;;;;CAEX,CAAC;AAOF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import "react";
|
|
2
|
+
import e from "prop-types";
|
|
3
|
+
import { styled as t } from "@mui/material/styles";
|
|
4
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
5
|
+
import r from "debug";
|
|
6
|
+
//#region src/mui-box/index.tsx
|
|
7
|
+
var i = r("pie-elements:config-ui:mui-box"), a = t("div")(({ theme: e, focused: t }) => {
|
|
8
|
+
let n = e.palette.mode === "light" ? "rgba(0, 0, 0, 0.42)" : "rgba(255, 255, 255, 0.7)";
|
|
9
|
+
return i(e.palette.primary[e.palette.mode || "light"]), {
|
|
10
|
+
paddingTop: e.spacing(1),
|
|
11
|
+
paddingBottom: e.spacing(1),
|
|
12
|
+
position: "relative",
|
|
13
|
+
"&:before": {
|
|
14
|
+
left: 0,
|
|
15
|
+
right: 0,
|
|
16
|
+
bottom: 0,
|
|
17
|
+
height: "1px",
|
|
18
|
+
content: "\"\"",
|
|
19
|
+
position: "absolute",
|
|
20
|
+
transition: "background-color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
|
|
21
|
+
pointerEvents: "none",
|
|
22
|
+
backgroundColor: n
|
|
23
|
+
},
|
|
24
|
+
"&:hover:before": { height: "2px" },
|
|
25
|
+
"&:after": {
|
|
26
|
+
left: 0,
|
|
27
|
+
right: 0,
|
|
28
|
+
bottom: 0,
|
|
29
|
+
height: "2px",
|
|
30
|
+
content: "\"\"",
|
|
31
|
+
position: "absolute",
|
|
32
|
+
transform: t ? "scaleX(1)" : "scaleX(0)",
|
|
33
|
+
transition: "transform 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms",
|
|
34
|
+
pointerEvents: "none",
|
|
35
|
+
backgroundColor: e.palette.primary[e.palette.mode]
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
}), o = ({ children: e, focused: t }) => /* @__PURE__ */ n(a, {
|
|
39
|
+
focused: t,
|
|
40
|
+
children: e
|
|
41
|
+
});
|
|
42
|
+
o.propTypes = {
|
|
43
|
+
children: e.oneOfType([e.arrayOf(e.node), e.node]).isRequired,
|
|
44
|
+
focused: e.bool.isRequired
|
|
45
|
+
};
|
|
46
|
+
//#endregion
|
|
47
|
+
export { o as default };
|