@lokalise/harmony 1.29.3 → 1.29.5-exp-teamSwitch.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -0
- package/dist/harmony.cjs +3 -0
- package/dist/harmony.cjs.map +1 -1
- package/dist/harmony.mjs +5 -2
- package/dist/harmony100.cjs +14 -12
- package/dist/harmony100.cjs.map +1 -1
- package/dist/harmony100.mjs +13 -11
- package/dist/harmony100.mjs.map +1 -1
- package/dist/harmony101.cjs +132 -5
- package/dist/harmony101.cjs.map +1 -1
- package/dist/harmony101.mjs +132 -5
- package/dist/harmony101.mjs.map +1 -1
- package/dist/harmony102.cjs +12 -40
- package/dist/harmony102.cjs.map +1 -1
- package/dist/harmony102.mjs +11 -39
- package/dist/harmony102.mjs.map +1 -1
- package/dist/harmony103.cjs +4 -59
- package/dist/harmony103.cjs.map +1 -1
- package/dist/harmony103.mjs +5 -60
- package/dist/harmony103.mjs.map +1 -1
- package/dist/harmony104.cjs +39 -6
- package/dist/harmony104.cjs.map +1 -1
- package/dist/harmony104.mjs +39 -6
- package/dist/harmony104.mjs.map +1 -1
- package/dist/harmony105.cjs +60 -6
- package/dist/harmony105.cjs.map +1 -1
- package/dist/harmony105.mjs +59 -5
- package/dist/harmony105.mjs.map +1 -1
- package/dist/harmony106.cjs +8 -6
- package/dist/harmony106.cjs.map +1 -1
- package/dist/harmony106.mjs +7 -5
- package/dist/harmony106.mjs.map +1 -1
- package/dist/harmony107.cjs +6 -5
- package/dist/harmony107.cjs.map +1 -1
- package/dist/harmony107.mjs +6 -5
- package/dist/harmony108.cjs +95 -61
- package/dist/harmony108.cjs.map +1 -1
- package/dist/harmony108.mjs +95 -61
- package/dist/harmony108.mjs.map +1 -1
- package/dist/harmony109.cjs +13 -88
- package/dist/harmony109.cjs.map +1 -1
- package/dist/harmony109.mjs +13 -88
- package/dist/harmony109.mjs.map +1 -1
- package/dist/harmony110.cjs +15 -19
- package/dist/harmony110.cjs.map +1 -1
- package/dist/harmony110.mjs +14 -18
- package/dist/harmony110.mjs.map +1 -1
- package/dist/harmony111.cjs +34 -94
- package/dist/harmony111.cjs.map +1 -1
- package/dist/harmony111.mjs +34 -94
- package/dist/harmony111.mjs.map +1 -1
- package/dist/harmony112.cjs +26 -11
- package/dist/harmony112.cjs.map +1 -1
- package/dist/harmony112.mjs +26 -11
- package/dist/harmony112.mjs.map +1 -1
- package/dist/harmony113.cjs +12 -13
- package/dist/harmony113.cjs.map +1 -1
- package/dist/harmony113.mjs +12 -13
- package/dist/harmony113.mjs.map +1 -1
- package/dist/harmony114.cjs +13 -34
- package/dist/harmony114.cjs.map +1 -1
- package/dist/harmony114.mjs +13 -34
- package/dist/harmony114.mjs.map +1 -1
- package/dist/harmony115.cjs +14 -26
- package/dist/harmony115.cjs.map +1 -1
- package/dist/harmony115.mjs +14 -26
- package/dist/harmony115.mjs.map +1 -1
- package/dist/harmony116.cjs +62 -13
- package/dist/harmony116.cjs.map +1 -1
- package/dist/harmony116.mjs +61 -12
- package/dist/harmony116.mjs.map +1 -1
- package/dist/harmony117.cjs +88 -15
- package/dist/harmony117.cjs.map +1 -1
- package/dist/harmony117.mjs +88 -15
- package/dist/harmony117.mjs.map +1 -1
- package/dist/harmony118.cjs +19 -17
- package/dist/harmony118.cjs.map +1 -1
- package/dist/harmony118.mjs +18 -16
- package/dist/harmony118.mjs.map +1 -1
- package/dist/harmony119.cjs +11 -7
- package/dist/harmony119.cjs.map +1 -1
- package/dist/harmony119.mjs +11 -7
- package/dist/harmony119.mjs.map +1 -1
- package/dist/harmony120.cjs +15 -56
- package/dist/harmony120.cjs.map +1 -1
- package/dist/harmony120.mjs +15 -56
- package/dist/harmony120.mjs.map +1 -1
- package/dist/harmony121.cjs +20 -59
- package/dist/harmony121.cjs.map +1 -1
- package/dist/harmony121.mjs +20 -59
- package/dist/harmony121.mjs.map +1 -1
- package/dist/harmony122.cjs +13 -19
- package/dist/harmony122.cjs.map +1 -1
- package/dist/harmony122.mjs +12 -18
- package/dist/harmony122.mjs.map +1 -1
- package/dist/harmony123.cjs +5 -10
- package/dist/harmony123.cjs.map +1 -1
- package/dist/harmony123.mjs +5 -10
- package/dist/harmony123.mjs.map +1 -1
- package/dist/harmony124.cjs +11 -15
- package/dist/harmony124.cjs.map +1 -1
- package/dist/harmony124.mjs +11 -15
- package/dist/harmony124.mjs.map +1 -1
- package/dist/harmony125.cjs +28 -17
- package/dist/harmony125.cjs.map +1 -1
- package/dist/harmony125.mjs +28 -17
- package/dist/harmony125.mjs.map +1 -1
- package/dist/harmony126.cjs +12 -10
- package/dist/harmony126.cjs.map +1 -1
- package/dist/harmony126.mjs +12 -10
- package/dist/harmony126.mjs.map +1 -1
- package/dist/harmony127.cjs +7 -6
- package/dist/harmony127.cjs.map +1 -1
- package/dist/harmony127.mjs +7 -6
- package/dist/harmony127.mjs.map +1 -1
- package/dist/harmony128.cjs +57 -12
- package/dist/harmony128.cjs.map +1 -1
- package/dist/harmony128.mjs +57 -12
- package/dist/harmony128.mjs.map +1 -1
- package/dist/harmony129.cjs +58 -30
- package/dist/harmony129.cjs.map +1 -1
- package/dist/harmony129.mjs +58 -30
- package/dist/harmony129.mjs.map +1 -1
- package/dist/harmony130.cjs +19 -15
- package/dist/harmony130.cjs.map +1 -1
- package/dist/harmony130.mjs +18 -14
- package/dist/harmony130.mjs.map +1 -1
- package/dist/harmony131.cjs +1 -1
- package/dist/harmony131.mjs +1 -1
- package/dist/harmony15.cjs +1 -1
- package/dist/harmony15.mjs +1 -1
- package/dist/harmony22.cjs +1 -1
- package/dist/harmony22.mjs +1 -1
- package/dist/harmony23.cjs +1 -1
- package/dist/harmony23.mjs +1 -1
- package/dist/harmony31.cjs +9 -0
- package/dist/harmony31.cjs.map +1 -1
- package/dist/harmony31.mjs +12 -3
- package/dist/harmony31.mjs.map +1 -1
- package/dist/harmony61.cjs +7 -1
- package/dist/harmony61.cjs.map +1 -1
- package/dist/harmony61.mjs +7 -1
- package/dist/harmony61.mjs.map +1 -1
- package/dist/harmony68.cjs +1 -1
- package/dist/harmony68.mjs +1 -1
- package/dist/harmony69.cjs +1 -1
- package/dist/harmony69.mjs +1 -1
- package/dist/harmony70.cjs +1 -1
- package/dist/harmony70.mjs +1 -1
- package/dist/harmony71.cjs +2 -2
- package/dist/harmony71.mjs +2 -2
- package/dist/harmony72.cjs +2 -2
- package/dist/harmony72.mjs +2 -2
- package/dist/harmony73.cjs +2 -2
- package/dist/harmony73.mjs +2 -2
- package/dist/harmony74.cjs +2 -2
- package/dist/harmony74.mjs +2 -2
- package/dist/harmony75.cjs +3 -3
- package/dist/harmony75.mjs +3 -3
- package/dist/harmony76.cjs +6 -6
- package/dist/harmony76.mjs +6 -6
- package/dist/harmony79.cjs +2 -2
- package/dist/harmony79.mjs +2 -2
- package/dist/harmony81.cjs +12 -7
- package/dist/harmony81.cjs.map +1 -1
- package/dist/harmony81.mjs +11 -6
- package/dist/harmony81.mjs.map +1 -1
- package/dist/harmony82.cjs +20 -8
- package/dist/harmony82.cjs.map +1 -1
- package/dist/harmony82.mjs +20 -8
- package/dist/harmony82.mjs.map +1 -1
- package/dist/harmony83.cjs +3 -6
- package/dist/harmony83.cjs.map +1 -1
- package/dist/harmony83.mjs +3 -6
- package/dist/harmony83.mjs.map +1 -1
- package/dist/harmony84.cjs +9 -57
- package/dist/harmony84.cjs.map +1 -1
- package/dist/harmony84.mjs +8 -56
- package/dist/harmony84.mjs.map +1 -1
- package/dist/harmony85.cjs +9 -42
- package/dist/harmony85.cjs.map +1 -1
- package/dist/harmony85.mjs +8 -41
- package/dist/harmony85.mjs.map +1 -1
- package/dist/harmony86.cjs +57 -5
- package/dist/harmony86.cjs.map +1 -1
- package/dist/harmony86.mjs +57 -5
- package/dist/harmony86.mjs.map +1 -1
- package/dist/harmony87.cjs +42 -9
- package/dist/harmony87.cjs.map +1 -1
- package/dist/harmony87.mjs +41 -8
- package/dist/harmony87.mjs.map +1 -1
- package/dist/harmony88.cjs +6 -25
- package/dist/harmony88.cjs.map +1 -1
- package/dist/harmony88.mjs +5 -24
- package/dist/harmony88.mjs.map +1 -1
- package/dist/harmony89.cjs +6 -3
- package/dist/harmony89.cjs.map +1 -1
- package/dist/harmony89.mjs +6 -3
- package/dist/harmony89.mjs.map +1 -1
- package/dist/harmony90.cjs +24 -21
- package/dist/harmony90.cjs.map +1 -1
- package/dist/harmony90.mjs +23 -20
- package/dist/harmony90.mjs.map +1 -1
- package/dist/harmony91.cjs +3 -9
- package/dist/harmony91.cjs.map +1 -1
- package/dist/harmony91.mjs +3 -9
- package/dist/harmony91.mjs.map +1 -1
- package/dist/harmony92.cjs +19 -9
- package/dist/harmony92.cjs.map +1 -1
- package/dist/harmony92.mjs +21 -11
- package/dist/harmony92.mjs.map +1 -1
- package/dist/harmony93.cjs +11 -20
- package/dist/harmony93.cjs.map +1 -1
- package/dist/harmony93.mjs +11 -20
- package/dist/harmony93.mjs.map +1 -1
- package/dist/harmony94.cjs +2 -2
- package/dist/harmony94.mjs +2 -2
- package/dist/harmony95.cjs +22 -19
- package/dist/harmony95.cjs.map +1 -1
- package/dist/harmony95.mjs +21 -18
- package/dist/harmony95.mjs.map +1 -1
- package/dist/harmony96.cjs +5 -13
- package/dist/harmony96.cjs.map +1 -1
- package/dist/harmony96.mjs +5 -13
- package/dist/harmony96.mjs.map +1 -1
- package/dist/harmony97.cjs +5 -21
- package/dist/harmony97.cjs.map +1 -1
- package/dist/harmony97.mjs +5 -21
- package/dist/harmony97.mjs.map +1 -1
- package/dist/harmony98.cjs +6 -7
- package/dist/harmony98.cjs.map +1 -1
- package/dist/harmony98.mjs +5 -6
- package/dist/harmony98.mjs.map +1 -1
- package/dist/harmony99.cjs +18 -132
- package/dist/harmony99.cjs.map +1 -1
- package/dist/harmony99.mjs +18 -132
- package/dist/harmony99.mjs.map +1 -1
- package/dist/types/src/features/publicApi/hooks/useListTeamsQuery.test.d.ts +1 -0
- package/dist/types/src/features/publicApi/hooks/useSwitchTeamMutation.d.ts +15 -0
- package/dist/types/src/features/publicApi/hooks/useSwitchTeamMutation.test.d.ts +1 -0
- package/dist/types/src/features/publicApi/team.d.ts +61 -0
- package/dist/types/src/features/publicApi/types/teamTypes.d.ts +10 -0
- package/dist/types/tests/utils/apiHelpers.d.ts +20 -0
- package/dist/types/tests/utils/index.d.ts +1 -0
- package/package.json +5 -3
- /package/dist/types/tests/{utils.d.ts → utils/renderWithProviders.d.ts} +0 -0
package/dist/harmony92.mjs
CHANGED
@@ -1,14 +1,24 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
2
|
+
import { CaretUpIcon } from "@lokalise/louis";
|
3
|
+
import { clsx } from "./harmony64.mjs";
|
4
|
+
import styles from "./harmony107.mjs";
|
5
|
+
const UpgradeIcon = ({ className = "" }) => {
|
6
|
+
return /* @__PURE__ */ jsx(
|
7
|
+
"div",
|
8
|
+
{
|
9
|
+
"aria-label": "Upgrade Icon",
|
10
|
+
className: clsx(
|
11
|
+
styles.iconContainer,
|
12
|
+
"flex-row",
|
13
|
+
"items-center",
|
14
|
+
"justify-center",
|
15
|
+
className
|
16
|
+
),
|
17
|
+
children: /* @__PURE__ */ jsx(CaretUpIcon, {})
|
18
|
+
}
|
19
|
+
);
|
20
|
+
};
|
11
21
|
export {
|
12
|
-
|
22
|
+
UpgradeIcon
|
13
23
|
};
|
14
24
|
//# sourceMappingURL=harmony92.mjs.map
|
package/dist/harmony92.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony92.mjs","sources":["../src/components/
|
1
|
+
{"version":3,"file":"harmony92.mjs","sources":["../src/components/Sidebar/UpgradeIcon/UpgradeIcon.tsx"],"sourcesContent":["import { CaretUpIcon } from '@lokalise/louis'\nimport clsx from 'clsx'\nimport styles from './UpgradeIcon.module.css'\n\ntype UpgradeIconProps = {\n\tclassName?: string\n}\n\nexport const UpgradeIcon = ({ className = '' }: UpgradeIconProps) => {\n\treturn (\n\t\t<div\n\t\t\taria-label={'Upgrade Icon'}\n\t\t\tclassName={clsx(\n\t\t\t\tstyles.iconContainer,\n\t\t\t\t'flex-row',\n\t\t\t\t'items-center',\n\t\t\t\t'justify-center',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t>\n\t\t\t<CaretUpIcon />\n\t\t</div>\n\t)\n}\n"],"names":[],"mappings":";;;;AAQO,MAAM,cAAc,CAAC,EAAE,YAAY,SAA2B;AAEnE,SAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACA,cAAY;AAAA,MACZ,WAAW;AAAA,QACV,OAAO;AAAA,QACP;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACD;AAAA,MAEA,8BAAC,aAAY,CAAA,CAAA;AAAA,IAAA;AAAA,EACd;AAEF;"}
|
package/dist/harmony93.cjs
CHANGED
@@ -1,24 +1,15 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
-
const
|
4
|
-
const
|
5
|
-
const
|
6
|
-
const
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
badge,
|
11
|
-
tag,
|
12
|
-
withNavLinkStyle,
|
13
|
-
disabled,
|
14
|
-
projectNavigationItem,
|
15
|
-
projectNavigationItemDisabled
|
3
|
+
const container = "_container_1u995_1";
|
4
|
+
const planCta = "_planCta_1u995_15";
|
5
|
+
const upgradeIconWrapper = "_upgradeIconWrapper_1u995_19";
|
6
|
+
const styles = {
|
7
|
+
container,
|
8
|
+
planCta,
|
9
|
+
upgradeIconWrapper
|
16
10
|
};
|
17
|
-
exports.
|
18
|
-
exports.default =
|
19
|
-
exports.
|
20
|
-
exports.
|
21
|
-
exports.projectNavigationItemDisabled = projectNavigationItemDisabled;
|
22
|
-
exports.tag = tag;
|
23
|
-
exports.withNavLinkStyle = withNavLinkStyle;
|
11
|
+
exports.container = container;
|
12
|
+
exports.default = styles;
|
13
|
+
exports.planCta = planCta;
|
14
|
+
exports.upgradeIconWrapper = upgradeIconWrapper;
|
24
15
|
//# sourceMappingURL=harmony93.cjs.map
|
package/dist/harmony93.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony93.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony93.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
package/dist/harmony93.mjs
CHANGED
@@ -1,24 +1,15 @@
|
|
1
|
-
const
|
2
|
-
const
|
3
|
-
const
|
4
|
-
const
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
badge,
|
9
|
-
tag,
|
10
|
-
withNavLinkStyle,
|
11
|
-
disabled,
|
12
|
-
projectNavigationItem,
|
13
|
-
projectNavigationItemDisabled
|
1
|
+
const container = "_container_1u995_1";
|
2
|
+
const planCta = "_planCta_1u995_15";
|
3
|
+
const upgradeIconWrapper = "_upgradeIconWrapper_1u995_19";
|
4
|
+
const styles = {
|
5
|
+
container,
|
6
|
+
planCta,
|
7
|
+
upgradeIconWrapper
|
14
8
|
};
|
15
9
|
export {
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
projectNavigationItemDisabled,
|
21
|
-
tag,
|
22
|
-
withNavLinkStyle
|
10
|
+
container,
|
11
|
+
styles as default,
|
12
|
+
planCta,
|
13
|
+
upgradeIconWrapper
|
23
14
|
};
|
24
15
|
//# sourceMappingURL=harmony93.mjs.map
|
package/dist/harmony93.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony93.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony93.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/harmony94.cjs
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
3
|
const React = require("react");
|
4
|
-
const debounce = require("./
|
5
|
-
const throttle = require("./
|
4
|
+
const debounce = require("./harmony97.cjs");
|
5
|
+
const throttle = require("./harmony98.cjs");
|
6
6
|
function _interopNamespaceDefault(e) {
|
7
7
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
8
8
|
if (e) {
|
package/dist/harmony94.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as React from "react";
|
2
|
-
import debounce from "./
|
3
|
-
import throttle from "./
|
2
|
+
import debounce from "./harmony97.mjs";
|
3
|
+
import throttle from "./harmony98.mjs";
|
4
4
|
const patchResizeCallback = (resizeCallback, refreshMode, refreshRate, refreshOptions) => {
|
5
5
|
switch (refreshMode) {
|
6
6
|
case "debounce":
|
package/dist/harmony95.cjs
CHANGED
@@ -1,21 +1,24 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.
|
3
|
-
const
|
4
|
-
const
|
5
|
-
const
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
exports.
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
+
const menuContainer = "_menuContainer_1phdw_10";
|
4
|
+
const profileButton = "_profileButton_1phdw_20";
|
5
|
+
const profileImage = "_profileImage_1phdw_33";
|
6
|
+
const profileImageHighlight = "_profileImageHighlight_1phdw_41";
|
7
|
+
const profileImageUpgradeIcon = "_profileImageUpgradeIcon_1phdw_45";
|
8
|
+
const userIconWrapper = "_userIconWrapper_1phdw_51";
|
9
|
+
const styles = {
|
10
|
+
menuContainer,
|
11
|
+
profileButton,
|
12
|
+
profileImage,
|
13
|
+
profileImageHighlight,
|
14
|
+
profileImageUpgradeIcon,
|
15
|
+
userIconWrapper
|
16
|
+
};
|
17
|
+
exports.default = styles;
|
18
|
+
exports.menuContainer = menuContainer;
|
19
|
+
exports.profileButton = profileButton;
|
20
|
+
exports.profileImage = profileImage;
|
21
|
+
exports.profileImageHighlight = profileImageHighlight;
|
22
|
+
exports.profileImageUpgradeIcon = profileImageUpgradeIcon;
|
23
|
+
exports.userIconWrapper = userIconWrapper;
|
21
24
|
//# sourceMappingURL=harmony95.cjs.map
|
package/dist/harmony95.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony95.cjs","sources":[
|
1
|
+
{"version":3,"file":"harmony95.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/harmony95.mjs
CHANGED
@@ -1,21 +1,24 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
const
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
isFullyAuthenticated: z.boolean(),
|
16
|
-
exp: z.number()
|
17
|
-
});
|
1
|
+
const menuContainer = "_menuContainer_1phdw_10";
|
2
|
+
const profileButton = "_profileButton_1phdw_20";
|
3
|
+
const profileImage = "_profileImage_1phdw_33";
|
4
|
+
const profileImageHighlight = "_profileImageHighlight_1phdw_41";
|
5
|
+
const profileImageUpgradeIcon = "_profileImageUpgradeIcon_1phdw_45";
|
6
|
+
const userIconWrapper = "_userIconWrapper_1phdw_51";
|
7
|
+
const styles = {
|
8
|
+
menuContainer,
|
9
|
+
profileButton,
|
10
|
+
profileImage,
|
11
|
+
profileImageHighlight,
|
12
|
+
profileImageUpgradeIcon,
|
13
|
+
userIconWrapper
|
14
|
+
};
|
18
15
|
export {
|
19
|
-
|
16
|
+
styles as default,
|
17
|
+
menuContainer,
|
18
|
+
profileButton,
|
19
|
+
profileImage,
|
20
|
+
profileImageHighlight,
|
21
|
+
profileImageUpgradeIcon,
|
22
|
+
userIconWrapper
|
20
23
|
};
|
21
24
|
//# sourceMappingURL=harmony95.mjs.map
|
package/dist/harmony95.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony95.mjs","sources":[
|
1
|
+
{"version":3,"file":"harmony95.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
package/dist/harmony96.cjs
CHANGED
@@ -1,17 +1,9 @@
|
|
1
1
|
"use strict";
|
2
|
-
var __defProp = Object.defineProperty;
|
3
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
4
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
5
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
6
|
-
const
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
detail: { token, payload: jwtTokenPayload.parseJwtTokenPayload(token.accessToken) }
|
11
|
-
});
|
12
|
-
}
|
3
|
+
const SidebarTeamRoles = {
|
4
|
+
admin: "admin",
|
5
|
+
biller: "biller",
|
6
|
+
owner: "owner"
|
13
7
|
};
|
14
|
-
|
15
|
-
let NewJwtIssuedEvent = _NewJwtIssuedEvent;
|
16
|
-
exports.NewJwtIssuedEvent = NewJwtIssuedEvent;
|
8
|
+
exports.SidebarTeamRoles = SidebarTeamRoles;
|
17
9
|
//# sourceMappingURL=harmony96.cjs.map
|
package/dist/harmony96.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony96.cjs","sources":["../src/
|
1
|
+
{"version":3,"file":"harmony96.cjs","sources":["../src/components/Sidebar/types.ts"],"sourcesContent":["import type { TypesFromMap } from '@utils'\n\nexport const SidebarTeamRoles = {\n\tmember: 'member',\n\tadmin: 'admin',\n\tbiller: 'biller',\n\towner: 'owner',\n} as const\n\nexport type SidebarTeamRole = TypesFromMap<typeof SidebarTeamRoles>\n\nexport type SidebarTeam = {\n\tid: number\n\tname: string\n\trole: SidebarTeamRole\n\tlogoUrl: string\n}\n"],"names":[],"mappings":";;AAEO,MAAM,mBAAmB;AAAA,EAE/B,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,OAAO;AACR;;"}
|
package/dist/harmony96.mjs
CHANGED
@@ -1,17 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
const _NewJwtIssuedEvent = class _NewJwtIssuedEvent extends CustomEvent {
|
6
|
-
constructor(token) {
|
7
|
-
super(_NewJwtIssuedEvent.eventName, {
|
8
|
-
detail: { token, payload: parseJwtTokenPayload(token.accessToken) }
|
9
|
-
});
|
10
|
-
}
|
1
|
+
const SidebarTeamRoles = {
|
2
|
+
admin: "admin",
|
3
|
+
biller: "biller",
|
4
|
+
owner: "owner"
|
11
5
|
};
|
12
|
-
__publicField(_NewJwtIssuedEvent, "eventName", "new-jwt-issued");
|
13
|
-
let NewJwtIssuedEvent = _NewJwtIssuedEvent;
|
14
6
|
export {
|
15
|
-
|
7
|
+
SidebarTeamRoles
|
16
8
|
};
|
17
9
|
//# sourceMappingURL=harmony96.mjs.map
|
package/dist/harmony96.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony96.mjs","sources":["../src/
|
1
|
+
{"version":3,"file":"harmony96.mjs","sources":["../src/components/Sidebar/types.ts"],"sourcesContent":["import type { TypesFromMap } from '@utils'\n\nexport const SidebarTeamRoles = {\n\tmember: 'member',\n\tadmin: 'admin',\n\tbiller: 'biller',\n\towner: 'owner',\n} as const\n\nexport type SidebarTeamRole = TypesFromMap<typeof SidebarTeamRoles>\n\nexport type SidebarTeam = {\n\tid: number\n\tname: string\n\trole: SidebarTeamRole\n\tlogoUrl: string\n}\n"],"names":[],"mappings":"AAEO,MAAM,mBAAmB;AAAA,EAE/B,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,OAAO;AACR;"}
|
package/dist/harmony97.cjs
CHANGED
@@ -1,24 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
-
const
|
4
|
-
const
|
5
|
-
|
6
|
-
const
|
7
|
-
|
8
|
-
const userIconWrapper = "_userIconWrapper_1phdw_51";
|
9
|
-
const styles = {
|
10
|
-
menuContainer,
|
11
|
-
profileButton,
|
12
|
-
profileImage,
|
13
|
-
profileImageHighlight,
|
14
|
-
profileImageUpgradeIcon,
|
15
|
-
userIconWrapper
|
16
|
-
};
|
17
|
-
exports.default = styles;
|
18
|
-
exports.menuContainer = menuContainer;
|
19
|
-
exports.profileButton = profileButton;
|
20
|
-
exports.profileImage = profileImage;
|
21
|
-
exports.profileImageHighlight = profileImageHighlight;
|
22
|
-
exports.profileImageUpgradeIcon = profileImageUpgradeIcon;
|
23
|
-
exports.userIconWrapper = userIconWrapper;
|
3
|
+
const _commonjsHelpers = require("./harmony123.cjs");
|
4
|
+
const debounce$1 = require("./harmony108.cjs");
|
5
|
+
var debounceExports = debounce$1.__require();
|
6
|
+
const debounce = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(debounceExports);
|
7
|
+
exports.default = debounce;
|
24
8
|
//# sourceMappingURL=harmony97.cjs.map
|
package/dist/harmony97.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony97.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony97.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
package/dist/harmony97.mjs
CHANGED
@@ -1,24 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
const
|
5
|
-
const profileImageUpgradeIcon = "_profileImageUpgradeIcon_1phdw_45";
|
6
|
-
const userIconWrapper = "_userIconWrapper_1phdw_51";
|
7
|
-
const styles = {
|
8
|
-
menuContainer,
|
9
|
-
profileButton,
|
10
|
-
profileImage,
|
11
|
-
profileImageHighlight,
|
12
|
-
profileImageUpgradeIcon,
|
13
|
-
userIconWrapper
|
14
|
-
};
|
1
|
+
import { getDefaultExportFromCjs } from "./harmony123.mjs";
|
2
|
+
import { __require as requireDebounce } from "./harmony108.mjs";
|
3
|
+
var debounceExports = requireDebounce();
|
4
|
+
const debounce = /* @__PURE__ */ getDefaultExportFromCjs(debounceExports);
|
15
5
|
export {
|
16
|
-
|
17
|
-
menuContainer,
|
18
|
-
profileButton,
|
19
|
-
profileImage,
|
20
|
-
profileImageHighlight,
|
21
|
-
profileImageUpgradeIcon,
|
22
|
-
userIconWrapper
|
6
|
+
debounce as default
|
23
7
|
};
|
24
8
|
//# sourceMappingURL=harmony97.mjs.map
|
package/dist/harmony97.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony97.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony97.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/harmony98.cjs
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.
|
3
|
-
const
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
exports.SidebarTeamRoles = SidebarTeamRoles;
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
+
const _commonjsHelpers = require("./harmony123.cjs");
|
4
|
+
const throttle$1 = require("./harmony112.cjs");
|
5
|
+
var throttleExports = throttle$1.__require();
|
6
|
+
const throttle = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(throttleExports);
|
7
|
+
exports.default = throttle;
|
9
8
|
//# sourceMappingURL=harmony98.cjs.map
|
package/dist/harmony98.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony98.cjs","sources":[
|
1
|
+
{"version":3,"file":"harmony98.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
package/dist/harmony98.mjs
CHANGED
@@ -1,9 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
};
|
1
|
+
import { getDefaultExportFromCjs } from "./harmony123.mjs";
|
2
|
+
import { __require as requireThrottle } from "./harmony112.mjs";
|
3
|
+
var throttleExports = requireThrottle();
|
4
|
+
const throttle = /* @__PURE__ */ getDefaultExportFromCjs(throttleExports);
|
6
5
|
export {
|
7
|
-
|
6
|
+
throttle as default
|
8
7
|
};
|
9
8
|
//# sourceMappingURL=harmony98.mjs.map
|
package/dist/harmony98.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony98.mjs","sources":[
|
1
|
+
{"version":3,"file":"harmony98.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/harmony99.cjs
CHANGED
@@ -1,135 +1,21 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
altBoundary = false,
|
22
|
-
padding = 0
|
23
|
-
} = floatingUi_utils.evaluate(options, state);
|
24
|
-
const paddingObject = floatingUi_utils.getPaddingObject(padding);
|
25
|
-
const altContext = elementContext === "floating" ? "reference" : "floating";
|
26
|
-
const element = elements[altBoundary ? altContext : elementContext];
|
27
|
-
const clippingClientRect = floatingUi_utils.rectToClientRect(await platform.getClippingRect({
|
28
|
-
element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating)),
|
29
|
-
boundary,
|
30
|
-
rootBoundary,
|
31
|
-
strategy
|
32
|
-
}));
|
33
|
-
const rect = elementContext === "floating" ? {
|
34
|
-
x,
|
35
|
-
y,
|
36
|
-
width: rects.floating.width,
|
37
|
-
height: rects.floating.height
|
38
|
-
} : rects.reference;
|
39
|
-
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
40
|
-
const offsetScale = await (platform.isElement == null ? void 0 : platform.isElement(offsetParent)) ? await (platform.getScale == null ? void 0 : platform.getScale(offsetParent)) || {
|
41
|
-
x: 1,
|
42
|
-
y: 1
|
43
|
-
} : {
|
44
|
-
x: 1,
|
45
|
-
y: 1
|
46
|
-
};
|
47
|
-
const elementClientRect = floatingUi_utils.rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
48
|
-
elements,
|
49
|
-
rect,
|
50
|
-
offsetParent,
|
51
|
-
strategy
|
52
|
-
}) : rect);
|
53
|
-
return {
|
54
|
-
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
55
|
-
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
56
|
-
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
57
|
-
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
58
|
-
};
|
59
|
-
}
|
60
|
-
const shift = function(options) {
|
61
|
-
if (options === void 0) {
|
62
|
-
options = {};
|
63
|
-
}
|
64
|
-
return {
|
65
|
-
name: "shift",
|
66
|
-
options,
|
67
|
-
async fn(state) {
|
68
|
-
const {
|
69
|
-
x,
|
70
|
-
y,
|
71
|
-
placement
|
72
|
-
} = state;
|
73
|
-
const {
|
74
|
-
mainAxis: checkMainAxis = true,
|
75
|
-
crossAxis: checkCrossAxis = false,
|
76
|
-
limiter = {
|
77
|
-
fn: (_ref) => {
|
78
|
-
let {
|
79
|
-
x: x2,
|
80
|
-
y: y2
|
81
|
-
} = _ref;
|
82
|
-
return {
|
83
|
-
x: x2,
|
84
|
-
y: y2
|
85
|
-
};
|
86
|
-
}
|
87
|
-
},
|
88
|
-
...detectOverflowOptions
|
89
|
-
} = floatingUi_utils.evaluate(options, state);
|
90
|
-
const coords = {
|
91
|
-
x,
|
92
|
-
y
|
93
|
-
};
|
94
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
95
|
-
const crossAxis = floatingUi_utils.getSideAxis(floatingUi_utils.getSide(placement));
|
96
|
-
const mainAxis = floatingUi_utils.getOppositeAxis(crossAxis);
|
97
|
-
let mainAxisCoord = coords[mainAxis];
|
98
|
-
let crossAxisCoord = coords[crossAxis];
|
99
|
-
if (checkMainAxis) {
|
100
|
-
const minSide = mainAxis === "y" ? "top" : "left";
|
101
|
-
const maxSide = mainAxis === "y" ? "bottom" : "right";
|
102
|
-
const min = mainAxisCoord + overflow[minSide];
|
103
|
-
const max = mainAxisCoord - overflow[maxSide];
|
104
|
-
mainAxisCoord = floatingUi_utils.clamp(min, mainAxisCoord, max);
|
105
|
-
}
|
106
|
-
if (checkCrossAxis) {
|
107
|
-
const minSide = crossAxis === "y" ? "top" : "left";
|
108
|
-
const maxSide = crossAxis === "y" ? "bottom" : "right";
|
109
|
-
const min = crossAxisCoord + overflow[minSide];
|
110
|
-
const max = crossAxisCoord - overflow[maxSide];
|
111
|
-
crossAxisCoord = floatingUi_utils.clamp(min, crossAxisCoord, max);
|
112
|
-
}
|
113
|
-
const limitedCoords = limiter.fn({
|
114
|
-
...state,
|
115
|
-
[mainAxis]: mainAxisCoord,
|
116
|
-
[crossAxis]: crossAxisCoord
|
117
|
-
});
|
118
|
-
return {
|
119
|
-
...limitedCoords,
|
120
|
-
data: {
|
121
|
-
x: limitedCoords.x - x,
|
122
|
-
y: limitedCoords.y - y,
|
123
|
-
enabled: {
|
124
|
-
[mainAxis]: checkMainAxis,
|
125
|
-
[crossAxis]: checkCrossAxis
|
126
|
-
}
|
127
|
-
}
|
128
|
-
};
|
129
|
-
}
|
130
|
-
};
|
131
|
-
};
|
132
|
-
exports.rectToClientRect = floatingUi_utils.rectToClientRect;
|
133
|
-
exports.detectOverflow = detectOverflow;
|
134
|
-
exports.shift = shift;
|
3
|
+
const zod = require("zod");
|
4
|
+
const teamRoleTypes = require("./harmony60.cjs");
|
5
|
+
const JWT_TOKEN_PAYLOAD_SCHEMA = zod.z.object({
|
6
|
+
userId: zod.z.number(),
|
7
|
+
userUuid: zod.z.string().uuid(),
|
8
|
+
teamId: zod.z.number(),
|
9
|
+
teamUuid: zod.z.string().uuid(),
|
10
|
+
userTeamRole: teamRoleTypes.TEAM_ROLE_SCHEMA,
|
11
|
+
userEmail: zod.z.string().email(),
|
12
|
+
userName: zod.z.string(),
|
13
|
+
userCurrentTeamId: zod.z.number(),
|
14
|
+
planId: zod.z.number(),
|
15
|
+
planName: zod.z.string(),
|
16
|
+
isProviderAlpha: zod.z.boolean(),
|
17
|
+
isFullyAuthenticated: zod.z.boolean(),
|
18
|
+
exp: zod.z.number()
|
19
|
+
});
|
20
|
+
exports.JWT_TOKEN_PAYLOAD_SCHEMA = JWT_TOKEN_PAYLOAD_SCHEMA;
|
135
21
|
//# sourceMappingURL=harmony99.cjs.map
|