@circle-vibe/shared 1.1.0 → 1.1.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/build/index.js +1 -1
- package/build/index.js.LICENSE.txt +15 -0
- package/build/src/components/dropdown/dropdown-portal/dropdown-portal.d.ts +7 -0
- package/build/src/components/dropdown/dropdown-portal/dropdown-portal.js +19 -0
- package/build/src/components/dropdown/dropdown-portal/dropdown-portal.js.map +1 -0
- package/build/src/components/dropdown/dropdown.d.ts +14 -0
- package/build/src/components/dropdown/dropdown.js +23 -0
- package/build/src/components/dropdown/dropdown.js.map +1 -0
- package/build/src/components/dropdown/index.d.ts +1 -0
- package/build/src/components/dropdown/index.js +18 -0
- package/build/src/components/dropdown/index.js.map +1 -0
- package/build/src/components/index.d.ts +4 -0
- package/build/src/components/index.js +4 -0
- package/build/src/components/index.js.map +1 -1
- package/build/src/components/menu/index.d.ts +2 -0
- package/build/src/components/menu/index.js +19 -0
- package/build/src/components/menu/index.js.map +1 -0
- package/build/src/components/menu/menu.context.d.ts +5 -0
- package/build/src/components/menu/menu.context.js +12 -0
- package/build/src/components/menu/menu.context.js.map +1 -0
- package/build/src/components/menu/menu.d.ts +14 -0
- package/build/src/components/menu/menu.js +32 -0
- package/build/src/components/menu/menu.js.map +1 -0
- package/build/src/components/menu/types/index.d.ts +1 -0
- package/build/src/components/menu/types/index.js +18 -0
- package/build/src/components/menu/types/index.js.map +1 -0
- package/build/src/components/menu/types/menu-button.type.d.ts +3 -0
- package/build/src/components/menu/types/menu-button.type.js +3 -0
- package/build/src/components/menu/types/menu-button.type.js.map +1 -0
- package/build/src/components/popover/index.d.ts +1 -0
- package/build/src/components/popover/index.js +18 -0
- package/build/src/components/popover/index.js.map +1 -0
- package/build/src/components/popover/popover.d.ts +10 -0
- package/build/src/components/popover/popover.js +18 -0
- package/build/src/components/popover/popover.js.map +1 -0
- package/build/src/components/tooltip/index.d.ts +1 -0
- package/build/src/components/tooltip/index.js +18 -0
- package/build/src/components/tooltip/index.js.map +1 -0
- package/build/src/components/tooltip/tooltip-content/tooltip-content.d.ts +10 -0
- package/build/src/components/tooltip/tooltip-content/tooltip-content.js +18 -0
- package/build/src/components/tooltip/tooltip-content/tooltip-content.js.map +1 -0
- package/build/src/components/tooltip/tooltip.d.ts +8 -0
- package/build/src/components/tooltip/tooltip.js +21 -0
- package/build/src/components/tooltip/tooltip.js.map +1 -0
- package/build/src/constants/animation-in-bottom-position.d.ts +2 -0
- package/build/src/constants/animation-in-bottom-position.js +23 -0
- package/build/src/constants/animation-in-bottom-position.js.map +1 -0
- package/build/src/constants/default-middleware.d.ts +15 -0
- package/build/src/constants/default-middleware.js +6 -0
- package/build/src/constants/default-middleware.js.map +1 -0
- package/build/src/constants/default-tooltip-animation.d.ts +2 -0
- package/build/src/constants/default-tooltip-animation.js +10 -0
- package/build/src/constants/default-tooltip-animation.js.map +1 -0
- package/build/src/constants/index.d.ts +3 -0
- package/build/src/constants/index.js +3 -0
- package/build/src/constants/index.js.map +1 -1
- package/build/src/enums/chat-socket-keys.d.ts +8 -0
- package/build/src/enums/chat-socket-keys.js +13 -0
- package/build/src/enums/chat-socket-keys.js.map +1 -0
- package/build/src/enums/index.d.ts +1 -0
- package/build/src/enums/index.js +1 -0
- package/build/src/enums/index.js.map +1 -1
- package/build/src/hooks/index.d.ts +3 -0
- package/build/src/hooks/index.js +3 -0
- package/build/src/hooks/index.js.map +1 -1
- package/build/src/hooks/use-dropdown/index.d.ts +1 -0
- package/build/src/hooks/use-dropdown/index.js +18 -0
- package/build/src/hooks/use-dropdown/index.js.map +1 -0
- package/build/src/hooks/use-dropdown/use-dropdown.d.ts +20 -0
- package/build/src/hooks/use-dropdown/use-dropdown.js +44 -0
- package/build/src/hooks/use-dropdown/use-dropdown.js.map +1 -0
- package/build/src/hooks/use-popover/index.d.ts +1 -0
- package/build/src/hooks/use-popover/index.js +18 -0
- package/build/src/hooks/use-popover/index.js.map +1 -0
- package/build/src/hooks/use-popover/use-popover.d.ts +20 -0
- package/build/src/hooks/use-popover/use-popover.js +43 -0
- package/build/src/hooks/use-popover/use-popover.js.map +1 -0
- package/build/src/hooks/use-tooltip/index.d.ts +1 -0
- package/build/src/hooks/use-tooltip/index.js +18 -0
- package/build/src/hooks/use-tooltip/index.js.map +1 -0
- package/build/src/hooks/use-tooltip/use-tooltip.d.ts +17 -0
- package/build/src/hooks/use-tooltip/use-tooltip.js +42 -0
- package/build/src/hooks/use-tooltip/use-tooltip.js.map +1 -0
- package/build/src/models/chat.d.ts +1 -0
- package/build/src/types/chat-socket-params.d.ts +10 -0
- package/build/src/types/chat-socket-params.js +3 -0
- package/build/src/types/chat-socket-params.js.map +1 -0
- package/build/src/types/index.d.ts +1 -0
- package/build/src/types/index.js +1 -0
- package/build/src/types/index.js.map +1 -1
- package/package.json +8 -2
|
@@ -4,6 +4,21 @@
|
|
|
4
4
|
http://jedwatson.github.io/classnames
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
/*!
|
|
8
|
+
* tabbable 6.2.0
|
|
9
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @license React
|
|
14
|
+
* react-jsx-runtime.production.min.js
|
|
15
|
+
*
|
|
16
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
17
|
+
*
|
|
18
|
+
* This source code is licensed under the MIT license found in the
|
|
19
|
+
* LICENSE file in the root directory of this source tree.
|
|
20
|
+
*/
|
|
21
|
+
|
|
7
22
|
/** @license React v16.13.1
|
|
8
23
|
* react-is.production.min.js
|
|
9
24
|
*
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ExtendedReactFunctionalComponent } from 'src/types';
|
|
2
|
+
import './dropdown-portal.scss';
|
|
3
|
+
interface DropdownPortalProps {
|
|
4
|
+
useOverlayDarkenBackground?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const DropdownPortal: ExtendedReactFunctionalComponent<DropdownPortalProps>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
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.DropdownPortal = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const react_2 = require("@floating-ui/react");
|
|
9
|
+
const classnames_1 = __importDefault(require("classnames"));
|
|
10
|
+
require("./dropdown-portal.scss");
|
|
11
|
+
const DropdownPortal = ({ children, useOverlayDarkenBackground = false, }) => {
|
|
12
|
+
return (react_1.default.createElement(react_2.FloatingPortal, null,
|
|
13
|
+
react_1.default.createElement(react_2.FloatingOverlay, { className: (0, classnames_1.default)({
|
|
14
|
+
'floating-overlay': useOverlayDarkenBackground,
|
|
15
|
+
}), lockScroll: true }),
|
|
16
|
+
children));
|
|
17
|
+
};
|
|
18
|
+
exports.DropdownPortal = DropdownPortal;
|
|
19
|
+
//# sourceMappingURL=dropdown-portal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown-portal.js","sourceRoot":"","sources":["../../../../../src/components/dropdown/dropdown-portal/dropdown-portal.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,8CAAqE;AACrE,4DAAoC;AAIpC,kCAAgC;AAMzB,MAAM,cAAc,GAA0D,CAAC,EACpF,QAAQ,EACR,0BAA0B,GAAG,KAAK,GACnC,EAAE,EAAE;IACH,OAAO,CACL,8BAAC,sBAAc;QACb,8BAAC,uBAAe,IACd,SAAS,EAAE,IAAA,oBAAU,EAAC;gBACpB,kBAAkB,EAAE,0BAA0B;aAC/C,CAAC,EACF,UAAU,SACV;QAED,QAAQ,CACM,CAClB,CAAC;AACJ,CAAC,CAAC;AAhBW,QAAA,cAAc,kBAgBzB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { StyleHTMLAttributes } from 'react';
|
|
2
|
+
import { ExtendedReactFunctionalComponent } from 'src/types';
|
|
3
|
+
import './dropdown.scss';
|
|
4
|
+
interface DropdownProps {
|
|
5
|
+
readonly open?: boolean;
|
|
6
|
+
readonly withOverlay?: boolean;
|
|
7
|
+
readonly useOverlayDarkenBackground?: boolean;
|
|
8
|
+
readonly transitionStyles?: StyleHTMLAttributes<HTMLDivElement>;
|
|
9
|
+
readonly dropdownProps?: Record<string, unknown>;
|
|
10
|
+
readonly zIndex?: number;
|
|
11
|
+
readonly fullDropdownWidth?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const Dropdown: ExtendedReactFunctionalComponent<DropdownProps>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
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.Dropdown = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const dropdown_portal_1 = require("./dropdown-portal/dropdown-portal");
|
|
9
|
+
require("./dropdown.scss");
|
|
10
|
+
const Dropdown = ({ open, children, dropdownProps, transitionStyles, useOverlayDarkenBackground, zIndex = 10, fullDropdownWidth = false, ...props }) => {
|
|
11
|
+
if (!open) {
|
|
12
|
+
return null;
|
|
13
|
+
}
|
|
14
|
+
return (react_1.default.createElement(dropdown_portal_1.DropdownPortal, { useOverlayDarkenBackground: useOverlayDarkenBackground },
|
|
15
|
+
react_1.default.createElement("div", { style: {
|
|
16
|
+
zIndex: open ? zIndex : 1,
|
|
17
|
+
width: fullDropdownWidth ? '100%' : 'auto',
|
|
18
|
+
...transitionStyles,
|
|
19
|
+
}, ...props, ...dropdownProps },
|
|
20
|
+
react_1.default.createElement("div", { className: "dropdown p-3 flex" }, children))));
|
|
21
|
+
};
|
|
22
|
+
exports.Dropdown = Dropdown;
|
|
23
|
+
//# sourceMappingURL=dropdown.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown.js","sourceRoot":"","sources":["../../../../src/components/dropdown/dropdown.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAAmD;AACnD,uEAAmE;AAGnE,2BAAyB;AAYlB,MAAM,QAAQ,GAAoD,CAAC,EACxE,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,0BAA0B,EAC1B,MAAM,GAAG,EAAE,EACX,iBAAiB,GAAG,KAAK,EACzB,GAAG,KAAK,EACT,EAAE,EAAE;IACH,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,IAAI,CAAC;KACb;IAED,OAAO,CACL,8BAAC,gCAAc,IAAC,0BAA0B,EAAE,0BAA0B;QACpE,uCACE,KAAK,EAAE;gBACL,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;gBACzB,KAAK,EAAE,iBAAiB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM;gBAC1C,GAAG,gBAAgB;aACpB,KACG,KAAK,KACL,aAAa;YAEjB,uCAAK,SAAS,EAAC,mBAAmB,IAAE,QAAQ,CAAO,CAC/C,CACS,CAClB,CAAC;AACJ,CAAC,CAAC;AA7BW,QAAA,QAAQ,YA6BnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dropdown';
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./dropdown"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/dropdown/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
|
|
@@ -19,4 +19,8 @@ __exportStar(require("./form"), exports);
|
|
|
19
19
|
__exportStar(require("./layout"), exports);
|
|
20
20
|
__exportStar(require("./show"), exports);
|
|
21
21
|
__exportStar(require("./submit-button"), exports);
|
|
22
|
+
__exportStar(require("./dropdown"), exports);
|
|
23
|
+
__exportStar(require("./menu"), exports);
|
|
24
|
+
__exportStar(require("./tooltip"), exports);
|
|
25
|
+
__exportStar(require("./popover"), exports);
|
|
22
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,yCAAuB;AACvB,2CAAyB;AACzB,yCAAuB;AACvB,kDAAgC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,yCAAuB;AACvB,2CAAyB;AACzB,yCAAuB;AACvB,kDAAgC;AAChC,6CAA2B;AAC3B,yCAAuB;AACvB,4CAA0B;AAC1B,4CAA0B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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("./types"), exports);
|
|
18
|
+
__exportStar(require("./menu"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/menu/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,yCAAuB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
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.MenuContext = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const constants_1 = require("src/constants");
|
|
9
|
+
exports.MenuContext = react_1.default.createContext({
|
|
10
|
+
closeMenu: constants_1.noop,
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=menu.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.context.js","sourceRoot":"","sources":["../../../../src/components/menu/menu.context.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,6CAAqC;AAMxB,QAAA,WAAW,GAAG,eAAK,CAAC,aAAa,CAAiB;IAC7D,SAAS,EAAE,gBAAI;CAChB,CAAC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Placement } from "@floating-ui/react";
|
|
3
|
+
import { MenuButtonProps } from "./types";
|
|
4
|
+
interface DropdownMenuProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
readonly button: (props: MenuButtonProps) => React.ReactNode;
|
|
6
|
+
readonly isOpen?: boolean;
|
|
7
|
+
readonly fullDropdownWidth?: boolean;
|
|
8
|
+
readonly onOpenChange?: (open: boolean) => void;
|
|
9
|
+
readonly dropdownPlacement?: Placement;
|
|
10
|
+
readonly zIndex?: number;
|
|
11
|
+
readonly strategy?: "fixed" | "absolute";
|
|
12
|
+
}
|
|
13
|
+
export declare const Menu: React.FC<DropdownMenuProps>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
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.Menu = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const classnames_1 = __importDefault(require("classnames"));
|
|
9
|
+
const menu_context_1 = require("./menu.context");
|
|
10
|
+
const hooks_1 = require("src/hooks");
|
|
11
|
+
const dropdown_1 = require("../dropdown");
|
|
12
|
+
const Menu = ({ button, isOpen, fullDropdownWidth = false, onOpenChange, dropdownPlacement = "bottom-end", zIndex = 10, strategy = "absolute", children, ...divAttributes }) => {
|
|
13
|
+
const { referenceProps, open, contentProps, setStatus, transitionStyles } = (0, hooks_1.useDropdown)({
|
|
14
|
+
...(isOpen !== undefined && onOpenChange
|
|
15
|
+
? { open: isOpen, onOpenChange }
|
|
16
|
+
: {}),
|
|
17
|
+
});
|
|
18
|
+
const closeMenu = () => {
|
|
19
|
+
if (!onOpenChange) {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
setStatus(false);
|
|
23
|
+
};
|
|
24
|
+
return (react_1.default.createElement(menu_context_1.MenuContext.Provider, { value: { closeMenu } },
|
|
25
|
+
react_1.default.createElement("div", { className: (0, classnames_1.default)("relative", ...(divAttributes?.className ?? "")), ...divAttributes },
|
|
26
|
+
react_1.default.createElement("div", { className: "cursor-pointer", ...referenceProps }, button({
|
|
27
|
+
active: open,
|
|
28
|
+
})),
|
|
29
|
+
react_1.default.createElement(dropdown_1.Dropdown, { open: open, dropdownProps: contentProps, transitionStyles: transitionStyles, zIndex: zIndex, fullDropdownWidth: fullDropdownWidth }, children))));
|
|
30
|
+
};
|
|
31
|
+
exports.Menu = Menu;
|
|
32
|
+
//# sourceMappingURL=menu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.js","sourceRoot":"","sources":["../../../../src/components/menu/menu.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,4DAAoC;AAIpC,iDAA6C;AAC7C,qCAAwC;AACxC,0CAAuC;AAYhC,MAAM,IAAI,GAAgC,CAAC,EAChD,MAAM,EACN,MAAM,EACN,iBAAiB,GAAG,KAAK,EACzB,YAAY,EACZ,iBAAiB,GAAG,YAAY,EAChC,MAAM,GAAG,EAAE,EACX,QAAQ,GAAG,UAAU,EACrB,QAAQ,EACR,GAAG,aAAa,EACjB,EAAE,EAAE;IACH,MAAM,EAAE,cAAc,EAAE,IAAI,EAAE,YAAY,EAAE,SAAS,EAAE,gBAAgB,EAAE,GACvE,IAAA,mBAAW,EAAC;QACV,GAAG,CAAC,MAAM,KAAK,SAAS,IAAI,YAAY;YACtC,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE;YAChC,CAAC,CAAC,EAAE,CAAC;KACR,CAAC,CAAC;IAEL,MAAM,SAAS,GAAG,GAAG,EAAE;QACrB,IAAI,CAAC,YAAY,EAAE;YACjB,OAAO;SACR;QAED,SAAS,CAAC,KAAK,CAAC,CAAC;IACnB,CAAC,CAAC;IAEF,OAAO,CACL,8BAAC,0BAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,SAAS,EAAE;QACxC,uCACE,SAAS,EAAE,IAAA,oBAAU,EAAC,UAAU,EAAE,GAAG,CAAC,aAAa,EAAE,SAAS,IAAI,EAAE,CAAC,CAAC,KAClE,aAAa;YAEjB,uCAAK,SAAS,EAAC,gBAAgB,KAAK,cAAc,IAC/C,MAAM,CAAC;gBACN,MAAM,EAAE,IAAI;aACb,CAAC,CACE;YAEN,8BAAC,mBAAQ,IACP,IAAI,EAAE,IAAI,EACV,aAAa,EAAE,YAAY,EAC3B,gBAAgB,EAAE,gBAAgB,EAClC,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,iBAAiB,IAEnC,QAAQ,CACA,CACP,CACe,CACxB,CAAC;AACJ,CAAC,CAAC;AAlDW,QAAA,IAAI,QAkDf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './menu-button.type';
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./menu-button.type"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/menu/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-button.type.js","sourceRoot":"","sources":["../../../../../src/components/menu/types/menu-button.type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './popover';
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./popover"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/popover/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { ExtendedReactFunctionalComponent } from 'src/types';
|
|
3
|
+
import './popover.scss';
|
|
4
|
+
interface PopoverProps {
|
|
5
|
+
readonly open?: boolean;
|
|
6
|
+
readonly transitionStyles: CSSProperties;
|
|
7
|
+
readonly tooltipProps?: Record<string, unknown>;
|
|
8
|
+
}
|
|
9
|
+
export declare const Popover: ExtendedReactFunctionalComponent<PopoverProps>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
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.Popover = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const react_2 = require("@floating-ui/react");
|
|
9
|
+
require("./popover.scss");
|
|
10
|
+
const Popover = ({ transitionStyles, tooltipProps, open, children, ...props }) => {
|
|
11
|
+
if (!open) {
|
|
12
|
+
return null;
|
|
13
|
+
}
|
|
14
|
+
return (react_1.default.createElement(react_2.FloatingPortal, null,
|
|
15
|
+
react_1.default.createElement("div", { className: "bg-light text-default p-2 w-max rounded-1 text-xs popover", style: transitionStyles, ...props, ...tooltipProps }, children)));
|
|
16
|
+
};
|
|
17
|
+
exports.Popover = Popover;
|
|
18
|
+
//# sourceMappingURL=popover.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.js","sourceRoot":"","sources":["../../../../src/components/popover/popover.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA6C;AAE7C,8CAAoD;AAIpD,0BAAwB;AAQjB,MAAM,OAAO,GAAmD,CAAC,EACtE,gBAAgB,EAChB,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,EAAE;IACH,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,IAAI,CAAC;KACb;IAED,OAAO,CACL,8BAAC,sBAAc;QACb,uCACE,SAAS,EAAC,2DAA2D,EACrE,KAAK,EAAE,gBAAgB,KACnB,KAAK,KACL,YAAY,IAEf,QAAQ,CACL,CACS,CAClB,CAAC;AACJ,CAAC,CAAC;AAvBW,QAAA,OAAO,WAuBlB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './tooltip';
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./tooltip"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/tooltip/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CSSProperties } from "react";
|
|
2
|
+
import { ExtendedReactFunctionalComponent } from "src/types";
|
|
3
|
+
import './tooltip-content.scss';
|
|
4
|
+
interface TooltipProps {
|
|
5
|
+
readonly open?: boolean;
|
|
6
|
+
readonly transitionStyles: CSSProperties;
|
|
7
|
+
readonly tooltipProps?: Record<string, unknown>;
|
|
8
|
+
}
|
|
9
|
+
export declare const TooltipContent: ExtendedReactFunctionalComponent<TooltipProps>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
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.TooltipContent = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const react_2 = require("@floating-ui/react");
|
|
9
|
+
require("./tooltip-content.scss");
|
|
10
|
+
const TooltipContent = ({ open, children, tooltipProps, transitionStyles, ...props }) => {
|
|
11
|
+
if (!open) {
|
|
12
|
+
return null;
|
|
13
|
+
}
|
|
14
|
+
return (react_1.default.createElement(react_2.FloatingPortal, null,
|
|
15
|
+
react_1.default.createElement("div", { className: "bg-light text-default p-2 w-max rounded-1 text-xs tooltip-content", style: transitionStyles, ...props, ...tooltipProps }, children)));
|
|
16
|
+
};
|
|
17
|
+
exports.TooltipContent = TooltipContent;
|
|
18
|
+
//# sourceMappingURL=tooltip-content.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip-content.js","sourceRoot":"","sources":["../../../../../src/components/tooltip/tooltip-content/tooltip-content.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA6C;AAE7C,8CAAoD;AAGpD,kCAAgC;AAQzB,MAAM,cAAc,GAAmD,CAAC,EAC7E,IAAI,EACJ,QAAQ,EACR,YAAY,EACZ,gBAAgB,EAChB,GAAG,KAAK,EACT,EAAE,EAAE;IACH,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,IAAI,CAAC;KACb;IAED,OAAO,CACL,8BAAC,sBAAc;QACb,uCACE,SAAS,EAAC,mEAAmE,EAC7E,KAAK,EAAE,gBAAgB,KACnB,KAAK,KACL,YAAY,IAEf,QAAQ,CACL,CACS,CAClB,CAAC;AACJ,CAAC,CAAC;AAvBW,QAAA,cAAc,kBAuBzB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./tooltip.scss";
|
|
3
|
+
interface TooltipProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
|
|
4
|
+
title: React.ReactNode;
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare const Tooltip: React.FC<TooltipProps>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
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.Tooltip = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const use_tooltip_1 = require("../../hooks/use-tooltip/use-tooltip");
|
|
9
|
+
const tooltip_content_1 = require("./tooltip-content/tooltip-content");
|
|
10
|
+
require("./tooltip.scss");
|
|
11
|
+
const Tooltip = ({ title, children, ...rest }) => {
|
|
12
|
+
const { open, referenceProps, contentProps, transitionStyles } = (0, use_tooltip_1.useTooltip)();
|
|
13
|
+
if (!title) {
|
|
14
|
+
return react_1.default.createElement(react_1.default.Fragment, null, children);
|
|
15
|
+
}
|
|
16
|
+
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
17
|
+
react_1.default.createElement("div", { className: "tooltip", ...rest, ...referenceProps }, children),
|
|
18
|
+
react_1.default.createElement(tooltip_content_1.TooltipContent, { open: open, tooltipProps: contentProps, transitionStyles: transitionStyles }, title)));
|
|
19
|
+
};
|
|
20
|
+
exports.Tooltip = Tooltip;
|
|
21
|
+
//# sourceMappingURL=tooltip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.js","sourceRoot":"","sources":["../../../../src/components/tooltip/tooltip.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,qEAAiE;AACjE,uEAAmE;AAEnE,0BAAwB;AAQjB,MAAM,OAAO,GAA2B,CAAC,EAC9C,KAAK,EACL,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,YAAY,EAAE,gBAAgB,EAAE,GAC5D,IAAA,wBAAU,GAAE,CAAC;IAEf,IAAI,CAAC,KAAK,EAAE;QACV,OAAO,8DAAG,QAAQ,CAAI,CAAC;KACxB;IAED,OAAO,CACL;QACE,uCAAK,SAAS,EAAC,SAAS,KAAK,IAAI,KAAM,cAAc,IAClD,QAAQ,CACL;QAEN,8BAAC,gCAAc,IACb,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,gBAAgB,IAEjC,KAAK,CACS,CAChB,CACJ,CAAC;AACJ,CAAC,CAAC;AA3BW,QAAA,OAAO,WA2BlB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DROPDOWN_ANIMATION_IN_BOTTOM_POSITION = void 0;
|
|
4
|
+
exports.DROPDOWN_ANIMATION_IN_BOTTOM_POSITION = {
|
|
5
|
+
initial: {
|
|
6
|
+
opacity: 0,
|
|
7
|
+
display: "flex",
|
|
8
|
+
transform: "perspective(25rem) rotateX(-15deg)",
|
|
9
|
+
},
|
|
10
|
+
duration: 250,
|
|
11
|
+
open: {
|
|
12
|
+
opacity: 1,
|
|
13
|
+
transform: "perspective(25rem) rotateX(0deg)",
|
|
14
|
+
},
|
|
15
|
+
close: {
|
|
16
|
+
opacity: 0,
|
|
17
|
+
transform: "perspective(25rem) rotateX(-15deg)",
|
|
18
|
+
},
|
|
19
|
+
common: {
|
|
20
|
+
transformOrigin: "top center",
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=animation-in-bottom-position.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animation-in-bottom-position.js","sourceRoot":"","sources":["../../../src/constants/animation-in-bottom-position.ts"],"names":[],"mappings":";;;AAEa,QAAA,qCAAqC,GAA6B;IAC7E,OAAO,EAAE;QACP,OAAO,EAAE,CAAC;QACV,OAAO,EAAE,MAAM;QACf,SAAS,EAAE,oCAAoC;KAChD;IACD,QAAQ,EAAE,GAAG;IACb,IAAI,EAAE;QACJ,OAAO,EAAE,CAAC;QACV,SAAS,EAAE,kCAAkC;KAC9C;IACD,KAAK,EAAE;QACL,OAAO,EAAE,CAAC;QACV,SAAS,EAAE,oCAAoC;KAChD;IACD,MAAM,EAAE;QACN,eAAe,EAAE,YAAY;KAC9B;CACF,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const DEFAULT_MIDDLEWARE: {
|
|
2
|
+
name: string;
|
|
3
|
+
options?: any;
|
|
4
|
+
fn: (state: {
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
platform: import("@floating-ui/core").Platform;
|
|
8
|
+
placement: import("@floating-ui/utils").Placement;
|
|
9
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
10
|
+
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
11
|
+
initialPlacement: import("@floating-ui/utils").Placement;
|
|
12
|
+
rects: import("@floating-ui/utils").ElementRects;
|
|
13
|
+
elements: import("@floating-ui/dom").Elements;
|
|
14
|
+
}) => import("@floating-ui/core").MiddlewareReturn | Promise<import("@floating-ui/core").MiddlewareReturn>;
|
|
15
|
+
}[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DEFAULT_MIDDLEWARE = void 0;
|
|
4
|
+
const react_1 = require("@floating-ui/react");
|
|
5
|
+
exports.DEFAULT_MIDDLEWARE = [(0, react_1.offset)(10), (0, react_1.flip)(), (0, react_1.shift)()];
|
|
6
|
+
//# sourceMappingURL=default-middleware.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-middleware.js","sourceRoot":"","sources":["../../../src/constants/default-middleware.ts"],"names":[],"mappings":";;;AAAA,8CAAyD;AAE5C,QAAA,kBAAkB,GAAG,CAAC,IAAA,cAAM,EAAC,EAAE,CAAC,EAAE,IAAA,YAAI,GAAE,EAAE,IAAA,aAAK,GAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DEFAULT_TOOLTIP_ANIMATION = void 0;
|
|
4
|
+
exports.DEFAULT_TOOLTIP_ANIMATION = {
|
|
5
|
+
duration: 250,
|
|
6
|
+
initial: {
|
|
7
|
+
opacity: 0,
|
|
8
|
+
},
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=default-tooltip-animation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-tooltip-animation.js","sourceRoot":"","sources":["../../../src/constants/default-tooltip-animation.ts"],"names":[],"mappings":";;;AAEa,QAAA,yBAAyB,GAA6B;IACjE,QAAQ,EAAE,GAAG;IACb,OAAO,EAAE;QACP,OAAO,EAAE,CAAC;KACX;CACF,CAAC"}
|
|
@@ -17,4 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./password-regex"), exports);
|
|
18
18
|
__exportStar(require("./noop"), exports);
|
|
19
19
|
__exportStar(require("./sha1-regex"), exports);
|
|
20
|
+
__exportStar(require("./default-middleware"), exports);
|
|
21
|
+
__exportStar(require("./default-tooltip-animation"), exports);
|
|
22
|
+
__exportStar(require("./animation-in-bottom-position"), exports);
|
|
20
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,yCAAuB;AACvB,+CAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,yCAAuB;AACvB,+CAA6B;AAC7B,uDAAqC;AACrC,8DAA4C;AAC5C,iEAA+C"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChatSocketCommand = void 0;
|
|
4
|
+
var ChatSocketCommand;
|
|
5
|
+
(function (ChatSocketCommand) {
|
|
6
|
+
ChatSocketCommand["RECEIVE_MESSAGES"] = "receive_messages";
|
|
7
|
+
ChatSocketCommand["AUTH_ERROR"] = "auth_error";
|
|
8
|
+
ChatSocketCommand["REFRESH_CHATS"] = "refresh_chats";
|
|
9
|
+
ChatSocketCommand["SEND_MESSAGE"] = "send_message";
|
|
10
|
+
ChatSocketCommand["JOIN_CHAT"] = "join_chat";
|
|
11
|
+
ChatSocketCommand["CREATE_CHAT"] = "create_chat";
|
|
12
|
+
})(ChatSocketCommand = exports.ChatSocketCommand || (exports.ChatSocketCommand = {}));
|
|
13
|
+
//# sourceMappingURL=chat-socket-keys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-socket-keys.js","sourceRoot":"","sources":["../../../src/enums/chat-socket-keys.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,0DAAqC,CAAA;IACrC,8CAAyB,CAAA;IACzB,oDAA+B,CAAA;IAC/B,kDAA6B,CAAA;IAC7B,4CAAuB,CAAA;IACvB,gDAA2B,CAAA;AAC7B,CAAC,EAPW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAO5B"}
|
package/build/src/enums/index.js
CHANGED
|
@@ -19,4 +19,5 @@ __exportStar(require("./chat-type"), exports);
|
|
|
19
19
|
__exportStar(require("./message-status"), exports);
|
|
20
20
|
__exportStar(require("./message-type"), exports);
|
|
21
21
|
__exportStar(require("./user-type"), exports);
|
|
22
|
+
__exportStar(require("./chat-socket-keys"), exports);
|
|
22
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,8CAA4B;AAC5B,mDAAiC;AACjC,iDAA+B;AAC/B,8CAA4B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,8CAA4B;AAC5B,mDAAiC;AACjC,iDAA+B;AAC/B,8CAA4B;AAC5B,qDAAmC"}
|