@elliemae/ds-dialog 2.2.0-next.4 → 2.3.0-alpha.2
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/cjs/DSDialog.js +88 -102
- package/cjs/DSDialog.js.map +7 -0
- package/cjs/DSDialogDatatestid.js +36 -8
- package/cjs/DSDialogDatatestid.js.map +7 -0
- package/cjs/DSDialogInternalTypes.js +27 -0
- package/cjs/DSDialogInternalTypes.js.map +7 -0
- package/cjs/DSDialogTypes.js +27 -2
- package/cjs/DSDialogTypes.js.map +7 -0
- package/cjs/defaultProps.js +38 -11
- package/cjs/defaultProps.js.map +7 -0
- package/cjs/index.js +47 -70
- package/cjs/index.js.map +7 -0
- package/cjs/propTypes.js +45 -31
- package/cjs/propTypes.js.map +7 -0
- package/cjs/styles.js +149 -119
- package/cjs/styles.js.map +7 -0
- package/cjs/utils.js +50 -30
- package/cjs/utils.js.map +7 -0
- package/esm/DSDialog.js +51 -82
- package/esm/DSDialog.js.map +7 -0
- package/esm/DSDialogDatatestid.js +7 -4
- package/esm/DSDialogDatatestid.js.map +7 -0
- package/esm/DSDialogInternalTypes.js +2 -0
- package/esm/DSDialogInternalTypes.js.map +7 -0
- package/esm/DSDialogTypes.js +2 -1
- package/esm/DSDialogTypes.js.map +7 -0
- package/esm/defaultProps.js +8 -6
- package/esm/defaultProps.js.map +7 -0
- package/esm/index.js +28 -46
- package/esm/index.js.map +7 -0
- package/esm/propTypes.js +16 -23
- package/esm/propTypes.js.map +7 -0
- package/esm/styles.js +120 -99
- package/esm/styles.js.map +7 -0
- package/esm/utils.js +21 -23
- package/esm/utils.js.map +7 -0
- package/package.json +6 -6
- package/types/DSDialog.d.ts +4 -2167
- package/types/DSDialogInternalTypes.d.ts +25 -0
- package/types/DSDialogTypes.d.ts +1 -0
- package/types/index.d.ts +1 -148
- package/types/propTypes.d.ts +3 -2166
- package/types/styles.d.ts +13 -13
- package/cjs/DSDialogInternalTypes.d.js +0 -2
- package/esm/DSDialogInternalTypes.d.js +0 -1
package/esm/DSDialog.js
CHANGED
|
@@ -1,100 +1,69 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
import { describe } from 'react-desc';
|
|
13
|
-
import { useMemoMergePropsWithDefault, useValidateTypescriptPropTypes, useGetGlobalAttributes } from '@elliemae/ds-props-helpers';
|
|
14
|
-
import { StyledDialogBackground, FixedBody, StyledDialogContainer } from './styles.js';
|
|
15
|
-
import { propTypes } from './propTypes.js';
|
|
16
|
-
import { defaultProps } from './defaultProps.js';
|
|
17
|
-
import { getSpaceProps } from './utils.js';
|
|
18
|
-
import { DSDialogDatatestid } from './DSDialogDatatestid.js';
|
|
19
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
20
|
-
|
|
21
|
-
const _excluded = ["children", "isOpen", "onClickOutside", "centered", "size", "removeAutoFocus", "zIndex"];
|
|
22
|
-
|
|
23
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
24
|
-
|
|
25
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
26
|
-
|
|
27
|
-
const DSDialog = props => {
|
|
28
|
-
var _FixedBody;
|
|
29
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import ReactDOM from "react-dom";
|
|
3
|
+
import React2, { useCallback, useRef, useEffect, useState } from "react";
|
|
4
|
+
import { describe } from "react-desc";
|
|
5
|
+
import { useMemoMergePropsWithDefault, useValidateTypescriptPropTypes } from "@elliemae/ds-props-helpers";
|
|
6
|
+
import { FixedBody, StyledDialogBackground, StyledDialogContainer } from "./styles";
|
|
7
|
+
import { propTypes } from "./propTypes";
|
|
8
|
+
import { defaultProps } from "./defaultProps";
|
|
9
|
+
import { getSpaceProps } from "./utils";
|
|
10
|
+
import { DSDialogDatatestid } from "./DSDialogDatatestid";
|
|
11
|
+
const DSDialog = (props) => {
|
|
30
12
|
const propsWithDefault = useMemoMergePropsWithDefault(props, defaultProps);
|
|
31
|
-
const [
|
|
13
|
+
const [bodyInfo, setBodyInfo] = useState({ overflow: false, padding: "0px" });
|
|
32
14
|
useValidateTypescriptPropTypes(propsWithDefault, propTypes);
|
|
33
|
-
|
|
34
|
-
const {
|
|
35
|
-
children,
|
|
36
|
-
isOpen,
|
|
37
|
-
onClickOutside,
|
|
38
|
-
centered,
|
|
39
|
-
size,
|
|
40
|
-
removeAutoFocus,
|
|
41
|
-
zIndex
|
|
42
|
-
} = propsWithDefault,
|
|
43
|
-
rest = _objectWithoutProperties(propsWithDefault, _excluded);
|
|
44
|
-
|
|
15
|
+
const { children, isOpen, onClickOutside, centered, size, removeAutoFocus, zIndex, ...rest } = propsWithDefault;
|
|
45
16
|
const containerRef = useRef(null);
|
|
46
|
-
const handleOutsideClick = useCallback(e => {
|
|
47
|
-
if (e.target.dataset.portalbg)
|
|
17
|
+
const handleOutsideClick = useCallback((e) => {
|
|
18
|
+
if (e.target.dataset.portalbg)
|
|
19
|
+
onClickOutside();
|
|
48
20
|
}, [onClickOutside]);
|
|
49
|
-
const handleOnKeyDown = useCallback(e => {
|
|
50
|
-
if (e.key ===
|
|
21
|
+
const handleOnKeyDown = useCallback((e) => {
|
|
22
|
+
if (e.key === "Escape")
|
|
23
|
+
onClickOutside();
|
|
51
24
|
}, [onClickOutside]);
|
|
52
25
|
useEffect(() => {
|
|
53
|
-
const body = document.getElementsByTagName(
|
|
54
|
-
const {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
26
|
+
const body = document.getElementsByTagName("body")[0];
|
|
27
|
+
const { offsetHeight, scrollHeight } = body;
|
|
28
|
+
const padding = window.getComputedStyle(body, null)?.getPropertyValue("padding-right");
|
|
29
|
+
if (!isOpen)
|
|
30
|
+
return setBodyInfo({ overflow: false, padding: "0px" });
|
|
31
|
+
return setBodyInfo({
|
|
32
|
+
overflow: offsetHeight < scrollHeight,
|
|
33
|
+
padding
|
|
34
|
+
});
|
|
60
35
|
}, [isOpen]);
|
|
61
36
|
useEffect(() => {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
if (isOpen && !removeAutoFocus) containerRef === null || containerRef === void 0 ? void 0 : (_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.focus();
|
|
37
|
+
if (isOpen && !removeAutoFocus)
|
|
38
|
+
containerRef?.current?.focus();
|
|
65
39
|
}, [isOpen, removeAutoFocus]);
|
|
66
|
-
const globalAttributes = useGetGlobalAttributes(propsWithDefault, {
|
|
67
|
-
onClick: handleOutsideClick
|
|
68
|
-
});
|
|
69
|
-
|
|
70
40
|
if (isOpen) {
|
|
71
|
-
return
|
|
41
|
+
return ReactDOM.createPortal(/* @__PURE__ */ React2.createElement(StyledDialogBackground, {
|
|
72
42
|
onClick: handleOutsideClick,
|
|
73
43
|
"data-portalbg": true,
|
|
74
44
|
"data-testid": DSDialogDatatestid.BACKGROUND,
|
|
75
|
-
zIndex
|
|
76
|
-
},
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
children: children
|
|
90
|
-
}))]
|
|
91
|
-
})), document.getElementsByTagName('body')[0]);
|
|
45
|
+
zIndex
|
|
46
|
+
}, /* @__PURE__ */ React2.createElement(FixedBody, {
|
|
47
|
+
bodyInfo
|
|
48
|
+
}), /* @__PURE__ */ React2.createElement(StyledDialogContainer, {
|
|
49
|
+
role: "dialog",
|
|
50
|
+
"aria-modal": true,
|
|
51
|
+
ref: containerRef,
|
|
52
|
+
tabIndex: !removeAutoFocus ? 0 : void 0,
|
|
53
|
+
onKeyDown: handleOnKeyDown,
|
|
54
|
+
...getSpaceProps(rest),
|
|
55
|
+
size,
|
|
56
|
+
centered,
|
|
57
|
+
"data-testid": DSDialogDatatestid.CONTAINER
|
|
58
|
+
}, children)), document.getElementsByTagName("body")[0]);
|
|
92
59
|
}
|
|
93
|
-
|
|
94
60
|
return null;
|
|
95
61
|
};
|
|
96
|
-
|
|
62
|
+
DSDialog.propTypes = propTypes;
|
|
97
63
|
const DSDialogWithSchema = describe(DSDialog);
|
|
98
64
|
DSDialogWithSchema.propTypes = propTypes;
|
|
99
|
-
|
|
100
|
-
|
|
65
|
+
export {
|
|
66
|
+
DSDialog,
|
|
67
|
+
DSDialogWithSchema
|
|
68
|
+
};
|
|
69
|
+
//# sourceMappingURL=DSDialog.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/DSDialog.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import ReactDOM from 'react-dom';\nimport React, { useCallback, useRef, useEffect, useState } from 'react';\nimport { describe } from 'react-desc';\nimport { useMemoMergePropsWithDefault, useValidateTypescriptPropTypes } from '@elliemae/ds-props-helpers';\nimport { FixedBody, StyledDialogBackground, StyledDialogContainer } from './styles';\nimport { propTypes } from './propTypes';\nimport { defaultProps } from './defaultProps';\nimport { getSpaceProps } from './utils';\nimport { DSDialogDatatestid } from './DSDialogDatatestid';\nimport type { BodyInfoT, DSDialogPropsWithDefaultT } from './DSDialogInternalTypes';\nimport type { DSDialogPropsT } from './DSDialogTypes';\n\nconst DSDialog = (props: DSDialogPropsT): React.ReactNode => {\n const propsWithDefault = useMemoMergePropsWithDefault(props, defaultProps) as DSDialogPropsWithDefaultT;\n const [bodyInfo, setBodyInfo] = useState<BodyInfoT>({ overflow: false, padding: '0px' });\n\n useValidateTypescriptPropTypes(propsWithDefault, propTypes);\n\n const { children, isOpen, onClickOutside, centered, size, removeAutoFocus, zIndex, ...rest } = propsWithDefault;\n\n const containerRef = useRef<HTMLDivElement | null>(null);\n\n const handleOutsideClick = useCallback(\n (e: React.MouseEvent) => {\n if ((e.target as HTMLDivElement).dataset.portalbg) onClickOutside();\n },\n [onClickOutside],\n );\n\n const handleOnKeyDown = useCallback(\n (e: React.KeyboardEvent) => {\n if (e.key === 'Escape') onClickOutside();\n },\n [onClickOutside],\n );\n\n useEffect(() => {\n const body = document.getElementsByTagName('body')[0];\n const { offsetHeight, scrollHeight } = body;\n const padding = window.getComputedStyle(body, null)?.getPropertyValue('padding-right');\n\n if (!isOpen) return setBodyInfo({ overflow: false, padding: '0px' });\n\n return setBodyInfo({\n overflow: offsetHeight < scrollHeight,\n padding,\n });\n }, [isOpen]);\n\n useEffect(() => {\n if (isOpen && !removeAutoFocus) containerRef?.current?.focus();\n }, [isOpen, removeAutoFocus]);\n\n if (isOpen) {\n return ReactDOM.createPortal(\n <StyledDialogBackground\n onClick={handleOutsideClick}\n data-portalbg\n data-testid={DSDialogDatatestid.BACKGROUND}\n zIndex={zIndex}\n >\n <FixedBody bodyInfo={bodyInfo} />\n <StyledDialogContainer\n role=\"dialog\"\n aria-modal\n ref={containerRef}\n tabIndex={!removeAutoFocus ? 0 : undefined}\n onKeyDown={handleOnKeyDown}\n {...getSpaceProps(rest)}\n size={size}\n centered={centered}\n data-testid={DSDialogDatatestid.CONTAINER}\n >\n {children}\n </StyledDialogContainer>\n </StyledDialogBackground>,\n document.getElementsByTagName('body')[0],\n );\n }\n\n return null;\n};\n\nDSDialog.propTypes = propTypes;\n\nconst DSDialogWithSchema = describe(DSDialog);\nDSDialogWithSchema.propTypes = propTypes;\n\nexport { DSDialog, DSDialogWithSchema };\n"],
|
|
5
|
+
"mappings": "AAAA;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA,MAAM,WAAW,CAAC,UAA2C;AAC3D,QAAM,mBAAmB,6BAA6B,OAAO;AAC7D,QAAM,CAAC,UAAU,eAAe,SAAoB,EAAE,UAAU,OAAO,SAAS;AAEhF,iCAA+B,kBAAkB;AAEjD,QAAM,EAAE,UAAU,QAAQ,gBAAgB,UAAU,MAAM,iBAAiB,WAAW,SAAS;AAE/F,QAAM,eAAe,OAA8B;AAEnD,QAAM,qBAAqB,YACzB,CAAC,MAAwB;AACvB,QAAK,EAAE,OAA0B,QAAQ;AAAU;AAAA,KAErD,CAAC;AAGH,QAAM,kBAAkB,YACtB,CAAC,MAA2B;AAC1B,QAAI,EAAE,QAAQ;AAAU;AAAA,KAE1B,CAAC;AAGH,YAAU,MAAM;AACd,UAAM,OAAO,SAAS,qBAAqB,QAAQ;AACnD,UAAM,EAAE,cAAc,iBAAiB;AACvC,UAAM,UAAU,OAAO,iBAAiB,MAAM,OAAO,iBAAiB;AAEtE,QAAI,CAAC;AAAQ,aAAO,YAAY,EAAE,UAAU,OAAO,SAAS;AAE5D,WAAO,YAAY;AAAA,MACjB,UAAU,eAAe;AAAA,MACzB;AAAA;AAAA,KAED,CAAC;AAEJ,YAAU,MAAM;AACd,QAAI,UAAU,CAAC;AAAiB,oBAAc,SAAS;AAAA,KACtD,CAAC,QAAQ;AAEZ,MAAI,QAAQ;AACV,WAAO,SAAS,aACd,qCAAC,wBAAD;AAAA,MACE,SAAS;AAAA,MACT,iBAAa;AAAA,MACb,eAAa,mBAAmB;AAAA,MAChC;AAAA,OAEA,qCAAC,WAAD;AAAA,MAAW;AAAA,QACX,qCAAC,uBAAD;AAAA,MACE,MAAK;AAAA,MACL,cAAU;AAAA,MACV,KAAK;AAAA,MACL,UAAU,CAAC,kBAAkB,IAAI;AAAA,MACjC,WAAW;AAAA,SACP,cAAc;AAAA,MAClB;AAAA,MACA;AAAA,MACA,eAAa,mBAAmB;AAAA,OAE/B,YAGL,SAAS,qBAAqB,QAAQ;AAAA;AAI1C,SAAO;AAAA;AAGT,SAAS,YAAY;AAErB,MAAM,qBAAqB,SAAS;AACpC,mBAAmB,YAAY;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
const DSDialogDatatestid = {
|
|
2
|
-
CONTAINER:
|
|
3
|
-
BACKGROUND:
|
|
3
|
+
CONTAINER: "ds-dialog-container",
|
|
4
|
+
BACKGROUND: "ds-dialog-background"
|
|
4
5
|
};
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
export {
|
|
7
|
+
DSDialogDatatestid
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=DSDialogDatatestid.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/DSDialogDatatestid.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export const DSDialogDatatestid = {\n CONTAINER: 'ds-dialog-container',\n BACKGROUND: 'ds-dialog-background',\n};\n"],
|
|
5
|
+
"mappings": "AAAA;ACAO,MAAM,qBAAqB;AAAA,EAChC,WAAW;AAAA,EACX,YAAY;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/esm/DSDialogTypes.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
//# sourceMappingURL=DSDialogTypes.js.map
|
package/esm/defaultProps.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const noop = () => {
|
|
4
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { DSDialogSizes } from "./utils";
|
|
3
|
+
const noop = () => {
|
|
4
|
+
};
|
|
5
5
|
const defaultProps = {
|
|
6
6
|
isOpen: false,
|
|
7
7
|
centered: false,
|
|
@@ -10,5 +10,7 @@ const defaultProps = {
|
|
|
10
10
|
onClickOutside: noop,
|
|
11
11
|
zIndex: 10
|
|
12
12
|
};
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
export {
|
|
14
|
+
defaultProps
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=defaultProps.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/defaultProps.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { DSDialogSizes } from './utils';\nimport type { DSDialogDefaultPropsT } from './DSDialogInternalTypes';\n\nconst noop = () => {};\n\nexport const defaultProps: DSDialogDefaultPropsT = {\n isOpen: false,\n centered: false,\n size: DSDialogSizes.DEFAULT,\n removeAutoFocus: false,\n onClickOutside: noop,\n zIndex: 10,\n};\n"],
|
|
5
|
+
"mappings": "AAAA;ACAA;AAGA,MAAM,OAAO,MAAM;AAAA;AAEZ,MAAM,eAAsC;AAAA,EACjD,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,MAAM,cAAc;AAAA,EACpB,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,QAAQ;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/esm/index.js
CHANGED
|
@@ -1,46 +1,28 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
DSDialogBody
|
|
19
|
-
|
|
20
|
-
DSDialogFooter
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
const DSDialogFooterWithSchema = describe(DSDialogFooter);
|
|
30
|
-
const DSDialogSeparatorWithSchema = describe(DSDialogSeparator);
|
|
31
|
-
const DSDialogTitleWithSchema = describe(DSDialogTitle);
|
|
32
|
-
const DSDialogAddonWithSchema = describe(DSDialogAddon);
|
|
33
|
-
const DSDialogDefaultLayoutWithSchema = describe(DSDialogDefaultLayout);
|
|
34
|
-
const DSDialogPrimaryMessageWithSchema = describe(DSDialogPrimaryMessage);
|
|
35
|
-
const DSDialogSecondaryMessageWithSchema = describe(DSDialogSecondaryMessage);
|
|
36
|
-
DSDialogBodyWithSchema.propTypes = globalAttributesPropTypes;
|
|
37
|
-
DSDialogHeaderWithSchema.propTypes = globalAttributesPropTypes;
|
|
38
|
-
DSDialogFooterWithSchema.propTypes = globalAttributesPropTypes;
|
|
39
|
-
DSDialogSeparatorWithSchema.propTypes = globalAttributesPropTypes;
|
|
40
|
-
DSDialogTitleWithSchema.propTypes = globalAttributesPropTypes;
|
|
41
|
-
DSDialogAddonWithSchema.propTypes = globalAttributesPropTypes;
|
|
42
|
-
DSDialogDefaultLayoutWithSchema.propTypes = globalAttributesPropTypes;
|
|
43
|
-
DSDialogPrimaryMessageWithSchema.propTypes = globalAttributesPropTypes;
|
|
44
|
-
DSDialogSecondaryMessageWithSchema.propTypes = globalAttributesPropTypes;
|
|
45
|
-
|
|
46
|
-
export { DSDialogAddonWithSchema, DSDialogBodyWithSchema, DSDialogDefaultLayoutWithSchema, DSDialogFooterWithSchema, DSDialogHeaderWithSchema, DSDialogPrimaryMessageWithSchema, DSDialogSecondaryMessageWithSchema, DSDialogSeparatorWithSchema, DSDialogTitleWithSchema };
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export * from "./DSDialog";
|
|
3
|
+
export * from "./DSDialogDatatestid";
|
|
4
|
+
import { DSDialogSizes } from "./utils";
|
|
5
|
+
import {
|
|
6
|
+
DSDialogBody,
|
|
7
|
+
DSDialogHeader,
|
|
8
|
+
DSDialogFooter,
|
|
9
|
+
DSDialogSeparator,
|
|
10
|
+
DSDialogTitle,
|
|
11
|
+
DSDialogAddon,
|
|
12
|
+
DSDialogDefaultLayout,
|
|
13
|
+
DSDialogPrimaryMessage,
|
|
14
|
+
DSDialogSecondaryMessage
|
|
15
|
+
} from "./styles";
|
|
16
|
+
export {
|
|
17
|
+
DSDialogAddon,
|
|
18
|
+
DSDialogBody,
|
|
19
|
+
DSDialogDefaultLayout,
|
|
20
|
+
DSDialogFooter,
|
|
21
|
+
DSDialogHeader,
|
|
22
|
+
DSDialogPrimaryMessage,
|
|
23
|
+
DSDialogSecondaryMessage,
|
|
24
|
+
DSDialogSeparator,
|
|
25
|
+
DSDialogSizes,
|
|
26
|
+
DSDialogTitle
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
package/esm/index.js.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/index.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export * from './DSDialog';\nexport * from './DSDialogDatatestid';\nexport { DSDialogSizes } from './utils';\n\nexport {\n DSDialogBody,\n DSDialogHeader,\n DSDialogFooter,\n DSDialogSeparator,\n DSDialogTitle,\n DSDialogAddon,\n DSDialogDefaultLayout,\n DSDialogPrimaryMessage,\n DSDialogSecondaryMessage,\n} from './styles';\n"],
|
|
5
|
+
"mappings": "AAAA;ACAA;AACA;AACA;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/esm/propTypes.js
CHANGED
|
@@ -1,23 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
centered: PropTypes.bool.description('Centers the Dialog.').defaultValue(false),
|
|
18
|
-
size: PropTypes.oneOf(DSDialogSizesArrayValues).description("Dialog's width size.").defaultValue(DSDialogSizes.DEFAULT),
|
|
19
|
-
removeAutoFocus: PropTypes.bool.description('Removes focus in the Dialog container when is open. If you want to focus an specific element in the Dialog, it should be set to true.').defaultValue(false),
|
|
20
|
-
onClickOutside: PropTypes.func.description('Callback that should be used to close the modal when the user clicks outside. Cb also triggers when the user press ESC key for accessibility purposes.').defaultValue(() => {})
|
|
21
|
-
}, globalAttributesPropTypes);
|
|
22
|
-
|
|
23
|
-
export { propTypes };
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { PropTypes } from "react-desc";
|
|
3
|
+
import { DSDialogSizes, DSDialogSizesArrayValues } from "./utils";
|
|
4
|
+
const propTypes = {
|
|
5
|
+
isOpen: PropTypes.bool.description("Wether the Dialog is open or not.").defaultValue(false),
|
|
6
|
+
children: PropTypes.node.description("Nested components.").isRequired,
|
|
7
|
+
centered: PropTypes.bool.description("Centers the Dialog.").defaultValue(false),
|
|
8
|
+
size: PropTypes.oneOf(DSDialogSizesArrayValues).description(`Dialog's width size.`).defaultValue(DSDialogSizes.DEFAULT),
|
|
9
|
+
removeAutoFocus: PropTypes.bool.description("Removes focus in the Dialog container when is open. If you want to focus an specific element in the Dialog, it should be set to true.").defaultValue(false),
|
|
10
|
+
onClickOutside: PropTypes.func.description("Callback that should be used to close the modal when the user clicks outside. Cb also triggers when the user press ESC key for accessibility purposes.").defaultValue(() => {
|
|
11
|
+
})
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
propTypes
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=propTypes.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/propTypes.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable max-len */\nimport { PropTypes } from 'react-desc';\nimport { DSDialogSizes, DSDialogSizesArrayValues } from './utils';\n\nexport const propTypes = {\n isOpen: PropTypes.bool.description('Wether the Dialog is open or not.').defaultValue(false),\n children: PropTypes.node.description('Nested components.').isRequired,\n centered: PropTypes.bool.description('Centers the Dialog.').defaultValue(false),\n size: PropTypes.oneOf(DSDialogSizesArrayValues)\n .description(`Dialog's width size.`)\n .defaultValue(DSDialogSizes.DEFAULT),\n removeAutoFocus: PropTypes.bool\n .description(\n 'Removes focus in the Dialog container when is open. If you want to focus an specific element in the Dialog, it should be set to true.',\n )\n .defaultValue(false),\n onClickOutside: PropTypes.func\n .description(\n 'Callback that should be used to close the modal when the user clicks outside. Cb also triggers when the user press ESC key for accessibility purposes.',\n )\n .defaultValue(() => {}),\n};\n"],
|
|
5
|
+
"mappings": "AAAA;ACCA;AACA;AAEO,MAAM,YAAY;AAAA,EACvB,QAAQ,UAAU,KAAK,YAAY,qCAAqC,aAAa;AAAA,EACrF,UAAU,UAAU,KAAK,YAAY,sBAAsB;AAAA,EAC3D,UAAU,UAAU,KAAK,YAAY,uBAAuB,aAAa;AAAA,EACzE,MAAM,UAAU,MAAM,0BACnB,YAAY,wBACZ,aAAa,cAAc;AAAA,EAC9B,iBAAiB,UAAU,KACxB,YACC,yIAED,aAAa;AAAA,EAChB,gBAAgB,UAAU,KACvB,YACC,0JAED,aAAa,MAAM;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/esm/styles.js
CHANGED
|
@@ -1,101 +1,122 @@
|
|
|
1
|
-
import
|
|
2
|
-
import styled
|
|
3
|
-
import {
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import styled from "styled-components";
|
|
3
|
+
import { createGlobalStyle } from "@elliemae/ds-system";
|
|
4
|
+
import { space, flexboxes, layout, sizing } from "@xstyled/styled-components";
|
|
5
|
+
import { allSizes } from "./utils";
|
|
6
|
+
const FixedBody = createGlobalStyle`
|
|
7
|
+
body {
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
|
|
10
|
+
${({ bodyInfo }) => bodyInfo.overflow ? `padding-right: calc( ${bodyInfo.padding} + 15px ) !important;` : ``}
|
|
11
|
+
}
|
|
12
|
+
`;
|
|
13
|
+
const StyledDialogBackground = styled.div`
|
|
14
|
+
position: fixed;
|
|
15
|
+
top: 0;
|
|
16
|
+
bottom: 0;
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: 100%;
|
|
19
|
+
background: rgba(37, 41, 47, 50%);
|
|
20
|
+
overflow-y: auto;
|
|
21
|
+
z-index: ${({ zIndex }) => zIndex};
|
|
22
|
+
`;
|
|
23
|
+
const StyledDialogContainer = styled.div`
|
|
24
|
+
height: fit-content;
|
|
25
|
+
position: absolute;
|
|
26
|
+
top: 0;
|
|
27
|
+
bottom: 0;
|
|
28
|
+
left: 0;
|
|
29
|
+
right: 0;
|
|
30
|
+
margin: ${({ centered }) => centered ? "auto" : "20vh auto auto auto"};
|
|
31
|
+
width: ${({ size }) => allSizes[size]};
|
|
32
|
+
min-width: 300px;
|
|
33
|
+
box-shadow: 0 10px 20px 0 ${({ theme }) => theme.colors.neutral[500]};
|
|
34
|
+
background: ${({ theme }) => theme.colors.neutral["000"]};
|
|
35
|
+
overflow-y: auto;
|
|
36
|
+
${space}
|
|
37
|
+
&:focus {
|
|
38
|
+
outline: none;
|
|
39
|
+
}
|
|
40
|
+
`;
|
|
41
|
+
const DSDialogTitle = styled.h3`
|
|
42
|
+
font-size: ${({ theme }) => theme.fontSizes.title[700]};
|
|
43
|
+
display: -webkit-box;
|
|
44
|
+
-webkit-line-clamp: 2;
|
|
45
|
+
-webkit-box-orient: vertical;
|
|
46
|
+
overflow: hidden;
|
|
47
|
+
margin: 0;
|
|
48
|
+
`;
|
|
49
|
+
const DSDialogAddon = styled.div``;
|
|
50
|
+
const DSDialogHeader = styled.div`
|
|
51
|
+
display: grid;
|
|
52
|
+
align-items: center;
|
|
53
|
+
grid-auto-flow: column;
|
|
54
|
+
min-height: ${({ theme }) => theme.space.m};
|
|
55
|
+
padding: 10px ${({ theme }) => theme.space.xs};
|
|
56
|
+
& ${DSDialogTitle} + ${DSDialogAddon} {
|
|
57
|
+
align-self: flex-start;
|
|
58
|
+
justify-self: flex-end;
|
|
59
|
+
}
|
|
60
|
+
& ${DSDialogAddon}:only-child {
|
|
61
|
+
justify-self: flex-end;
|
|
62
|
+
}
|
|
63
|
+
${space}
|
|
64
|
+
`;
|
|
65
|
+
const DSDialogSeparator = styled.hr.attrs(() => ({ "aria-hidden": true }))`
|
|
66
|
+
margin: 0;
|
|
67
|
+
border-top: 1px solid ${({ theme }) => theme.colors.neutral["080"]};
|
|
68
|
+
`;
|
|
69
|
+
const DSDialogBody = styled.div`
|
|
70
|
+
padding: ${({ theme }) => theme.space.xs};
|
|
71
|
+
overflow-y: auto;
|
|
4
72
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}, _ref4 => {
|
|
24
|
-
let {
|
|
25
|
-
size
|
|
26
|
-
} = _ref4;
|
|
27
|
-
return allSizes[size];
|
|
28
|
-
}, _ref5 => {
|
|
29
|
-
let {
|
|
30
|
-
theme
|
|
31
|
-
} = _ref5;
|
|
32
|
-
return theme.colors.neutral[500];
|
|
33
|
-
}, _ref6 => {
|
|
34
|
-
let {
|
|
35
|
-
theme
|
|
36
|
-
} = _ref6;
|
|
37
|
-
return theme.colors.neutral['000'];
|
|
38
|
-
}, space);
|
|
39
|
-
const DSDialogTitle = styled.h3(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n font-size: ", ";\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n margin: 0;\n"])), _ref7 => {
|
|
40
|
-
let {
|
|
41
|
-
theme
|
|
42
|
-
} = _ref7;
|
|
43
|
-
return theme.fontSizes.title[700];
|
|
44
|
-
});
|
|
45
|
-
const DSDialogAddon = styled.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral([""])));
|
|
46
|
-
const DSDialogHeader = styled.div(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n display: grid;\n align-items: center;\n grid-auto-flow: column;\n min-height: ", ";\n padding: 10px ", ";\n & ", " + ", " {\n align-self: flex-start;\n justify-self: flex-end;\n }\n & ", ":only-child {\n justify-self: flex-end;\n }\n ", "\n"])), _ref8 => {
|
|
47
|
-
let {
|
|
48
|
-
theme
|
|
49
|
-
} = _ref8;
|
|
50
|
-
return theme.space.m;
|
|
51
|
-
}, _ref9 => {
|
|
52
|
-
let {
|
|
53
|
-
theme
|
|
54
|
-
} = _ref9;
|
|
55
|
-
return theme.space.xs;
|
|
56
|
-
}, DSDialogTitle, DSDialogAddon, DSDialogAddon, space);
|
|
57
|
-
const DSDialogSeparator = styled.hr.attrs(() => ({
|
|
58
|
-
'aria-hidden': true
|
|
59
|
-
}))(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n margin: 0;\n border-top: 1px solid ", ";\n"])), _ref10 => {
|
|
60
|
-
let {
|
|
61
|
-
theme
|
|
62
|
-
} = _ref10;
|
|
63
|
-
return theme.colors.neutral['080'];
|
|
64
|
-
});
|
|
65
|
-
const DSDialogBody = styled.div(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n padding: ", ";\n overflow-y: auto;\n ", "\n ", "\n ", "\n ", "\n"])), _ref11 => {
|
|
66
|
-
let {
|
|
67
|
-
theme
|
|
68
|
-
} = _ref11;
|
|
69
|
-
return theme.space.xs;
|
|
70
|
-
}, layout, space, flexboxes, sizing);
|
|
71
|
-
const DSDialogPrimaryMessage = styled.h3(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n margin: 0;\n"])));
|
|
72
|
-
const DSDialogSecondaryMessage = styled.p(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n margin: 0;\n color: ", ";\n"])), _ref12 => {
|
|
73
|
-
let {
|
|
74
|
-
theme
|
|
75
|
-
} = _ref12;
|
|
76
|
-
return theme.colors.neutral[500];
|
|
77
|
-
});
|
|
78
|
-
const DSDialogDefaultLayout = styled.div(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n display: grid;\n grid-auto-flow: row;\n justify-items: center;\n align-items: center;\n grid-gap: ", ";\n\n ", " {\n text-align: center;\n }\n"])), _ref13 => {
|
|
79
|
-
let {
|
|
80
|
-
theme
|
|
81
|
-
} = _ref13;
|
|
82
|
-
return theme.space.xxs;
|
|
83
|
-
}, DSDialogSecondaryMessage);
|
|
84
|
-
const DSDialogFooter = styled.div(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n display: grid;\n grid-auto-flow: column;\n align-items: center;\n justify-content: flex-end;\n grid-gap: ", ";\n min-height: ", ";\n padding: 0 ", ";\n ", "\n ", "\n ", "\n"])), _ref14 => {
|
|
85
|
-
let {
|
|
86
|
-
theme
|
|
87
|
-
} = _ref14;
|
|
88
|
-
return theme.space.xxs;
|
|
89
|
-
}, _ref15 => {
|
|
90
|
-
let {
|
|
91
|
-
theme
|
|
92
|
-
} = _ref15;
|
|
93
|
-
return theme.space.m;
|
|
94
|
-
}, _ref16 => {
|
|
95
|
-
let {
|
|
96
|
-
theme
|
|
97
|
-
} = _ref16;
|
|
98
|
-
return theme.space.xs;
|
|
99
|
-
}, space, flexboxes, sizing);
|
|
73
|
+
${layout}
|
|
74
|
+
${space}
|
|
75
|
+
${flexboxes}
|
|
76
|
+
${sizing}
|
|
77
|
+
`;
|
|
78
|
+
const DSDialogPrimaryMessage = styled.h3`
|
|
79
|
+
margin: 0;
|
|
80
|
+
`;
|
|
81
|
+
const DSDialogSecondaryMessage = styled.p`
|
|
82
|
+
margin: 0;
|
|
83
|
+
color: ${({ theme }) => theme.colors.neutral[500]};
|
|
84
|
+
`;
|
|
85
|
+
const DSDialogDefaultLayout = styled.div`
|
|
86
|
+
display: grid;
|
|
87
|
+
grid-auto-flow: row;
|
|
88
|
+
justify-items: center;
|
|
89
|
+
align-items: center;
|
|
90
|
+
grid-gap: ${({ theme }) => theme.space.xxs};
|
|
100
91
|
|
|
101
|
-
|
|
92
|
+
${DSDialogSecondaryMessage} {
|
|
93
|
+
text-align: center;
|
|
94
|
+
}
|
|
95
|
+
`;
|
|
96
|
+
const DSDialogFooter = styled.div`
|
|
97
|
+
display: grid;
|
|
98
|
+
grid-auto-flow: column;
|
|
99
|
+
align-items: center;
|
|
100
|
+
justify-content: flex-end;
|
|
101
|
+
grid-gap: ${({ theme }) => theme.space.xxs};
|
|
102
|
+
min-height: ${({ theme }) => theme.space.m};
|
|
103
|
+
padding: 0 ${({ theme }) => theme.space.xs};
|
|
104
|
+
${space}
|
|
105
|
+
${flexboxes}
|
|
106
|
+
${sizing}
|
|
107
|
+
`;
|
|
108
|
+
export {
|
|
109
|
+
DSDialogAddon,
|
|
110
|
+
DSDialogBody,
|
|
111
|
+
DSDialogDefaultLayout,
|
|
112
|
+
DSDialogFooter,
|
|
113
|
+
DSDialogHeader,
|
|
114
|
+
DSDialogPrimaryMessage,
|
|
115
|
+
DSDialogSecondaryMessage,
|
|
116
|
+
DSDialogSeparator,
|
|
117
|
+
DSDialogTitle,
|
|
118
|
+
FixedBody,
|
|
119
|
+
StyledDialogBackground,
|
|
120
|
+
StyledDialogContainer
|
|
121
|
+
};
|
|
122
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/styles.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable max-lines */\nimport styled from 'styled-components';\nimport { createGlobalStyle } from '@elliemae/ds-system';\nimport { space, flexboxes, layout, sizing } from '@xstyled/styled-components';\nimport { allSizes } from './utils';\nimport type {\n StyledDialogContainerPropsT,\n StyledDialogFixedBodyPropsT,\n StyledDialogBackgroundPropsT,\n} from './DSDialogInternalTypes';\n\nexport const FixedBody = createGlobalStyle<StyledDialogFixedBodyPropsT>`\n body {\n overflow: hidden;\n \n ${({ bodyInfo }) => (bodyInfo.overflow ? `padding-right: calc( ${bodyInfo.padding} + 15px ) !important;` : ``)}\n }\n`;\n\nexport const StyledDialogBackground = styled.div<StyledDialogBackgroundPropsT>`\n position: fixed;\n top: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n background: rgba(37, 41, 47, 50%);\n overflow-y: auto;\n z-index: ${({ zIndex }) => zIndex};\n`;\n\nexport const StyledDialogContainer = styled.div<StyledDialogContainerPropsT>`\n height: fit-content;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n margin: ${({ centered }) => (centered ? 'auto' : '20vh auto auto auto')};\n width: ${({ size }) => allSizes[size]};\n min-width: 300px;\n box-shadow: 0 10px 20px 0 ${({ theme }) => theme.colors.neutral[500]};\n background: ${({ theme }) => theme.colors.neutral['000']};\n overflow-y: auto;\n ${space}\n &:focus {\n outline: none;\n }\n`;\n\nexport const DSDialogTitle = styled.h3`\n font-size: ${({ theme }) => theme.fontSizes.title[700]};\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n margin: 0;\n`;\n\nexport const DSDialogAddon = styled.div``;\n\nexport const DSDialogHeader = styled.div`\n display: grid;\n align-items: center;\n grid-auto-flow: column;\n min-height: ${({ theme }) => theme.space.m};\n padding: 10px ${({ theme }) => theme.space.xs};\n & ${DSDialogTitle} + ${DSDialogAddon} {\n align-self: flex-start;\n justify-self: flex-end;\n }\n & ${DSDialogAddon}:only-child {\n justify-self: flex-end;\n }\n ${space}\n`;\n\nexport const DSDialogSeparator = styled.hr.attrs(() => ({ 'aria-hidden': true }))`\n margin: 0;\n border-top: 1px solid ${({ theme }) => theme.colors.neutral['080']};\n`;\n\nexport const DSDialogBody = styled.div`\n padding: ${({ theme }) => theme.space.xs};\n overflow-y: auto;\n\n ${layout}\n ${space}\n ${flexboxes}\n ${sizing}\n`;\n\nexport const DSDialogPrimaryMessage = styled.h3`\n margin: 0;\n`;\n\nexport const DSDialogSecondaryMessage = styled.p`\n margin: 0;\n color: ${({ theme }) => theme.colors.neutral[500]};\n`;\n\nexport const DSDialogDefaultLayout = styled.div`\n display: grid;\n grid-auto-flow: row;\n justify-items: center;\n align-items: center;\n grid-gap: ${({ theme }) => theme.space.xxs};\n\n ${DSDialogSecondaryMessage} {\n text-align: center;\n }\n`;\n\nexport const DSDialogFooter = styled.div`\n display: grid;\n grid-auto-flow: column;\n align-items: center;\n justify-content: flex-end;\n grid-gap: ${({ theme }) => theme.space.xxs};\n min-height: ${({ theme }) => theme.space.m};\n padding: 0 ${({ theme }) => theme.space.xs};\n ${space}\n ${flexboxes}\n ${sizing}\n`;\n"],
|
|
5
|
+
"mappings": "AAAA;ACCA;AACA;AACA;AACA;AAOO,MAAM,YAAY;AAAA;AAAA;AAAA;AAAA,MAInB,CAAC,EAAE,eAAgB,SAAS,WAAW,wBAAwB,SAAS,iCAAiC;AAAA;AAAA;AAIxG,MAAM,yBAAyB,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aAQhC,CAAC,EAAE,aAAa;AAAA;AAGtB,MAAM,wBAAwB,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAOhC,CAAC,EAAE,eAAgB,WAAW,SAAS;AAAA,WACxC,CAAC,EAAE,WAAW,SAAS;AAAA;AAAA,8BAEJ,CAAC,EAAE,YAAY,MAAM,OAAO,QAAQ;AAAA,gBAClD,CAAC,EAAE,YAAY,MAAM,OAAO,QAAQ;AAAA;AAAA,IAEhD;AAAA;AAAA;AAAA;AAAA;AAMG,MAAM,gBAAgB,OAAO;AAAA,eACrB,CAAC,EAAE,YAAY,MAAM,UAAU,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQ7C,MAAM,gBAAgB,OAAO;AAE7B,MAAM,iBAAiB,OAAO;AAAA;AAAA;AAAA;AAAA,gBAIrB,CAAC,EAAE,YAAY,MAAM,MAAM;AAAA,kBACzB,CAAC,EAAE,YAAY,MAAM,MAAM;AAAA,MACvC,mBAAmB;AAAA;AAAA;AAAA;AAAA,MAInB;AAAA;AAAA;AAAA,IAGF;AAAA;AAGG,MAAM,oBAAoB,OAAO,GAAG,MAAM,MAAO,GAAE,eAAe;AAAA;AAAA,0BAE/C,CAAC,EAAE,YAAY,MAAM,OAAO,QAAQ;AAAA;AAGvD,MAAM,eAAe,OAAO;AAAA,aACtB,CAAC,EAAE,YAAY,MAAM,MAAM;AAAA;AAAA;AAAA,IAGpC;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAGG,MAAM,yBAAyB,OAAO;AAAA;AAAA;AAItC,MAAM,2BAA2B,OAAO;AAAA;AAAA,WAEpC,CAAC,EAAE,YAAY,MAAM,OAAO,QAAQ;AAAA;AAGxC,MAAM,wBAAwB,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,cAK9B,CAAC,EAAE,YAAY,MAAM,MAAM;AAAA;AAAA,IAErC;AAAA;AAAA;AAAA;AAKG,MAAM,iBAAiB,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,cAKvB,CAAC,EAAE,YAAY,MAAM,MAAM;AAAA,gBACzB,CAAC,EAAE,YAAY,MAAM,MAAM;AAAA,eAC5B,CAAC,EAAE,YAAY,MAAM,MAAM;AAAA,IACtC;AAAA,IACA;AAAA,IACA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|