@lokalise/harmony 1.27.3-exp-fixTeamsTypes.6 → 1.27.3-exp-fixTeamsTypes.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/harmony100.cjs +5 -5
- package/dist/harmony100.cjs.map +1 -1
- package/dist/harmony100.mjs +5 -5
- package/dist/harmony100.mjs.map +1 -1
- package/dist/harmony101.cjs +18 -40
- package/dist/harmony101.cjs.map +1 -1
- package/dist/harmony101.mjs +18 -40
- package/dist/harmony101.mjs.map +1 -1
- package/dist/harmony102.cjs +13 -59
- package/dist/harmony102.cjs.map +1 -1
- package/dist/harmony102.mjs +13 -59
- package/dist/harmony102.mjs.map +1 -1
- package/dist/harmony103.cjs +6 -7
- package/dist/harmony103.cjs.map +1 -1
- package/dist/harmony103.mjs +5 -6
- package/dist/harmony103.mjs.map +1 -1
- package/dist/harmony104.cjs +17 -7
- package/dist/harmony104.cjs.map +1 -1
- package/dist/harmony104.mjs +16 -6
- package/dist/harmony104.mjs.map +1 -1
- package/dist/harmony108.cjs +1 -1
- package/dist/harmony108.mjs +1 -1
- package/dist/harmony116.cjs +1 -1
- package/dist/harmony116.mjs +1 -1
- package/dist/harmony126.cjs +1 -1
- package/dist/harmony126.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/harmony30.cjs +1 -1
- package/dist/harmony30.mjs +1 -1
- package/dist/harmony71.cjs +1 -1
- package/dist/harmony71.cjs.map +1 -1
- package/dist/harmony71.mjs +1 -1
- package/dist/harmony71.mjs.map +1 -1
- package/dist/harmony74.cjs +6 -6
- package/dist/harmony74.mjs +6 -6
- package/dist/harmony82.cjs +3 -3
- package/dist/harmony82.cjs.map +1 -1
- package/dist/harmony82.mjs +3 -3
- package/dist/harmony82.mjs.map +1 -1
- package/dist/harmony83.cjs +1 -1
- package/dist/harmony83.mjs +1 -1
- package/dist/harmony88.cjs +1 -1
- package/dist/harmony88.mjs +1 -1
- package/dist/harmony93.cjs +132 -18
- package/dist/harmony93.cjs.map +1 -1
- package/dist/harmony93.mjs +132 -18
- package/dist/harmony93.mjs.map +1 -1
- package/dist/harmony94.cjs +12 -14
- package/dist/harmony94.cjs.map +1 -1
- package/dist/harmony94.mjs +11 -13
- package/dist/harmony94.mjs.map +1 -1
- package/dist/harmony95.cjs +5 -16
- package/dist/harmony95.cjs.map +1 -1
- package/dist/harmony95.mjs +5 -16
- package/dist/harmony95.mjs.map +1 -1
- package/dist/harmony96.cjs +40 -21
- package/dist/harmony96.cjs.map +1 -1
- package/dist/harmony96.mjs +39 -20
- package/dist/harmony96.mjs.map +1 -1
- package/dist/harmony97.cjs +59 -4
- package/dist/harmony97.cjs.map +1 -1
- package/dist/harmony97.mjs +59 -4
- package/dist/harmony97.mjs.map +1 -1
- package/dist/harmony98.cjs +6 -131
- package/dist/harmony98.cjs.map +1 -1
- package/dist/harmony98.mjs +6 -131
- package/dist/harmony98.mjs.map +1 -1
- package/dist/harmony99.cjs +18 -9
- package/dist/harmony99.cjs.map +1 -1
- package/dist/harmony99.mjs +18 -9
- package/dist/harmony99.mjs.map +1 -1
- package/dist/types/src/components/Sidebar/types.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useListTeamsQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useRetrieveTeamQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/team.d.ts +8 -8
- package/dist/types/src/features/publicApi/types/teamTypes.d.ts +8 -8
- package/package.json +1 -1
package/dist/harmony98.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony98.mjs","sources":["../node_modules/@floating-ui/core/dist/floating-ui.core.mjs"],"sourcesContent":["import { getSideAxis, getAlignmentAxis, getAxisLength, getSide, getAlignment, evaluate, getPaddingObject, rectToClientRect, min, clamp, placements, getAlignmentSides, getOppositeAlignmentPlacement, getOppositePlacement, getExpandedPlacements, getOppositeAxisPlacements, sides, max, getOppositeAxis } from '@floating-ui/utils';\nexport { rectToClientRect } from '@floating-ui/utils';\n\nfunction computeCoordsFromPlacement(_ref, placement, rtl) {\n let {\n reference,\n floating\n } = _ref;\n const sideAxis = getSideAxis(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const alignLength = getAxisLength(alignmentAxis);\n const side = getSide(placement);\n const isVertical = sideAxis === 'y';\n const commonX = reference.x + reference.width / 2 - floating.width / 2;\n const commonY = reference.y + reference.height / 2 - floating.height / 2;\n const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;\n let coords;\n switch (side) {\n case 'top':\n coords = {\n x: commonX,\n y: reference.y - floating.height\n };\n break;\n case 'bottom':\n coords = {\n x: commonX,\n y: reference.y + reference.height\n };\n break;\n case 'right':\n coords = {\n x: reference.x + reference.width,\n y: commonY\n };\n break;\n case 'left':\n coords = {\n x: reference.x - floating.width,\n y: commonY\n };\n break;\n default:\n coords = {\n x: reference.x,\n y: reference.y\n };\n }\n switch (getAlignment(placement)) {\n case 'start':\n coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);\n break;\n case 'end':\n coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);\n break;\n }\n return coords;\n}\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n *\n * This export does not have any `platform` interface logic. You will need to\n * write one for the platform you are using Floating UI with.\n */\nconst computePosition = async (reference, floating, config) => {\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform\n } = config;\n const validMiddleware = middleware.filter(Boolean);\n const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));\n let rects = await platform.getElementRects({\n reference,\n floating,\n strategy\n });\n let {\n x,\n y\n } = computeCoordsFromPlacement(rects, placement, rtl);\n let statefulPlacement = placement;\n let middlewareData = {};\n let resetCount = 0;\n for (let i = 0; i < validMiddleware.length; i++) {\n const {\n name,\n fn\n } = validMiddleware[i];\n const {\n x: nextX,\n y: nextY,\n data,\n reset\n } = await fn({\n x,\n y,\n initialPlacement: placement,\n placement: statefulPlacement,\n strategy,\n middlewareData,\n rects,\n platform,\n elements: {\n reference,\n floating\n }\n });\n x = nextX != null ? nextX : x;\n y = nextY != null ? nextY : y;\n middlewareData = {\n ...middlewareData,\n [name]: {\n ...middlewareData[name],\n ...data\n }\n };\n if (reset && resetCount <= 50) {\n resetCount++;\n if (typeof reset === 'object') {\n if (reset.placement) {\n statefulPlacement = reset.placement;\n }\n if (reset.rects) {\n rects = reset.rects === true ? await platform.getElementRects({\n reference,\n floating,\n strategy\n }) : reset.rects;\n }\n ({\n x,\n y\n } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));\n }\n i = -1;\n }\n }\n return {\n x,\n y,\n placement: statefulPlacement,\n strategy,\n middlewareData\n };\n};\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary on each side.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nasync function detectOverflow(state, options) {\n var _await$platform$isEle;\n if (options === void 0) {\n options = {};\n }\n const {\n x,\n y,\n platform,\n rects,\n elements,\n strategy\n } = state;\n const {\n boundary = 'clippingAncestors',\n rootBoundary = 'viewport',\n elementContext = 'floating',\n altBoundary = false,\n padding = 0\n } = evaluate(options, state);\n const paddingObject = getPaddingObject(padding);\n const altContext = elementContext === 'floating' ? 'reference' : 'floating';\n const element = elements[altBoundary ? altContext : elementContext];\n const clippingClientRect = rectToClientRect(await platform.getClippingRect({\n 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))),\n boundary,\n rootBoundary,\n strategy\n }));\n const rect = elementContext === 'floating' ? {\n x,\n y,\n width: rects.floating.width,\n height: rects.floating.height\n } : rects.reference;\n const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));\n const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {\n x: 1,\n y: 1\n } : {\n x: 1,\n y: 1\n };\n const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({\n elements,\n rect,\n offsetParent,\n strategy\n }) : rect);\n return {\n top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,\n bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,\n left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,\n right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x\n };\n}\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = options => ({\n name: 'arrow',\n options,\n async fn(state) {\n const {\n x,\n y,\n placement,\n rects,\n platform,\n elements,\n middlewareData\n } = state;\n // Since `element` is required, we don't Partial<> the type.\n const {\n element,\n padding = 0\n } = evaluate(options, state) || {};\n if (element == null) {\n return {};\n }\n const paddingObject = getPaddingObject(padding);\n const coords = {\n x,\n y\n };\n const axis = getAlignmentAxis(placement);\n const length = getAxisLength(axis);\n const arrowDimensions = await platform.getDimensions(element);\n const isYAxis = axis === 'y';\n const minProp = isYAxis ? 'top' : 'left';\n const maxProp = isYAxis ? 'bottom' : 'right';\n const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';\n const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];\n const startDiff = coords[axis] - rects.reference[axis];\n const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));\n let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;\n\n // DOM platform can return `window` as the `offsetParent`.\n if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {\n clientSize = elements.floating[clientProp] || rects.floating[length];\n }\n const centerToReference = endDiff / 2 - startDiff / 2;\n\n // If the padding is large enough that it causes the arrow to no longer be\n // centered, modify the padding so that it is centered.\n const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;\n const minPadding = min(paddingObject[minProp], largestPossiblePadding);\n const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);\n\n // Make sure the arrow doesn't overflow the floating element if the center\n // point is outside the floating element's bounds.\n const min$1 = minPadding;\n const max = clientSize - arrowDimensions[length] - maxPadding;\n const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;\n const offset = clamp(min$1, center, max);\n\n // If the reference is small enough that the arrow's padding causes it to\n // to point to nothing for an aligned placement, adjust the offset of the\n // floating element itself. To ensure `shift()` continues to take action,\n // a single reset is performed when this is true.\n const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;\n const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;\n return {\n [axis]: coords[axis] + alignmentOffset,\n data: {\n [axis]: offset,\n centerOffset: center - offset - alignmentOffset,\n ...(shouldAddOffset && {\n alignmentOffset\n })\n },\n reset: shouldAddOffset\n };\n }\n});\n\nfunction getPlacementList(alignment, autoAlignment, allowedPlacements) {\n const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);\n return allowedPlacementsSortedByAlignment.filter(placement => {\n if (alignment) {\n return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);\n }\n return true;\n });\n}\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'autoPlacement',\n options,\n async fn(state) {\n var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;\n const {\n rects,\n middlewareData,\n placement,\n platform,\n elements\n } = state;\n const {\n crossAxis = false,\n alignment,\n allowedPlacements = placements,\n autoAlignment = true,\n ...detectOverflowOptions\n } = evaluate(options, state);\n const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;\n const overflow = await detectOverflow(state, detectOverflowOptions);\n const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;\n const currentPlacement = placements$1[currentIndex];\n if (currentPlacement == null) {\n return {};\n }\n const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));\n\n // Make `computeCoords` start from the right place.\n if (placement !== currentPlacement) {\n return {\n reset: {\n placement: placements$1[0]\n }\n };\n }\n const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];\n const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {\n placement: currentPlacement,\n overflows: currentOverflows\n }];\n const nextPlacement = placements$1[currentIndex + 1];\n\n // There are more placements to check.\n if (nextPlacement) {\n return {\n data: {\n index: currentIndex + 1,\n overflows: allOverflows\n },\n reset: {\n placement: nextPlacement\n }\n };\n }\n const placementsSortedByMostSpace = allOverflows.map(d => {\n const alignment = getAlignment(d.placement);\n return [d.placement, alignment && crossAxis ?\n // Check along the mainAxis and main crossAxis side.\n d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :\n // Check only the mainAxis.\n d.overflows[0], d.overflows];\n }).sort((a, b) => a[1] - b[1]);\n const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,\n // Aligned placements should not check their opposite crossAxis\n // side.\n getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));\n const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];\n if (resetPlacement !== placement) {\n return {\n data: {\n index: currentIndex + 1,\n overflows: allOverflows\n },\n reset: {\n placement: resetPlacement\n }\n };\n }\n return {};\n }\n };\n};\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'flip',\n options,\n async fn(state) {\n var _middlewareData$arrow, _middlewareData$flip;\n const {\n placement,\n middlewareData,\n rects,\n initialPlacement,\n platform,\n elements\n } = state;\n const {\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = true,\n fallbackPlacements: specifiedFallbackPlacements,\n fallbackStrategy = 'bestFit',\n fallbackAxisSideDirection = 'none',\n flipAlignment = true,\n ...detectOverflowOptions\n } = evaluate(options, state);\n\n // If a reset by the arrow was caused due to an alignment offset being\n // added, we should skip any logic now since `flip()` has already done its\n // work.\n // https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643\n if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {\n return {};\n }\n const side = getSide(placement);\n const initialSideAxis = getSideAxis(initialPlacement);\n const isBasePlacement = getSide(initialPlacement) === initialPlacement;\n const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));\n const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));\n const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';\n if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {\n fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));\n }\n const placements = [initialPlacement, ...fallbackPlacements];\n const overflow = await detectOverflow(state, detectOverflowOptions);\n const overflows = [];\n let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];\n if (checkMainAxis) {\n overflows.push(overflow[side]);\n }\n if (checkCrossAxis) {\n const sides = getAlignmentSides(placement, rects, rtl);\n overflows.push(overflow[sides[0]], overflow[sides[1]]);\n }\n overflowsData = [...overflowsData, {\n placement,\n overflows\n }];\n\n // One or more sides is overflowing.\n if (!overflows.every(side => side <= 0)) {\n var _middlewareData$flip2, _overflowsData$filter;\n const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;\n const nextPlacement = placements[nextIndex];\n if (nextPlacement) {\n // Try next placement and re-run the lifecycle.\n return {\n data: {\n index: nextIndex,\n overflows: overflowsData\n },\n reset: {\n placement: nextPlacement\n }\n };\n }\n\n // First, find the candidates that fit on the mainAxis side of overflow,\n // then find the placement that fits the best on the main crossAxis side.\n let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;\n\n // Otherwise fallback.\n if (!resetPlacement) {\n switch (fallbackStrategy) {\n case 'bestFit':\n {\n var _overflowsData$filter2;\n const placement = (_overflowsData$filter2 = overflowsData.filter(d => {\n if (hasFallbackAxisSideDirection) {\n const currentSideAxis = getSideAxis(d.placement);\n return currentSideAxis === initialSideAxis ||\n // Create a bias to the `y` side axis due to horizontal\n // reading directions favoring greater width.\n currentSideAxis === 'y';\n }\n return true;\n }).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];\n if (placement) {\n resetPlacement = placement;\n }\n break;\n }\n case 'initialPlacement':\n resetPlacement = initialPlacement;\n break;\n }\n }\n if (placement !== resetPlacement) {\n return {\n reset: {\n placement: resetPlacement\n }\n };\n }\n }\n return {};\n }\n };\n};\n\nfunction getSideOffsets(overflow, rect) {\n return {\n top: overflow.top - rect.height,\n right: overflow.right - rect.width,\n bottom: overflow.bottom - rect.height,\n left: overflow.left - rect.width\n };\n}\nfunction isAnySideFullyClipped(overflow) {\n return sides.some(side => overflow[side] >= 0);\n}\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'hide',\n options,\n async fn(state) {\n const {\n rects\n } = state;\n const {\n strategy = 'referenceHidden',\n ...detectOverflowOptions\n } = evaluate(options, state);\n switch (strategy) {\n case 'referenceHidden':\n {\n const overflow = await detectOverflow(state, {\n ...detectOverflowOptions,\n elementContext: 'reference'\n });\n const offsets = getSideOffsets(overflow, rects.reference);\n return {\n data: {\n referenceHiddenOffsets: offsets,\n referenceHidden: isAnySideFullyClipped(offsets)\n }\n };\n }\n case 'escaped':\n {\n const overflow = await detectOverflow(state, {\n ...detectOverflowOptions,\n altBoundary: true\n });\n const offsets = getSideOffsets(overflow, rects.floating);\n return {\n data: {\n escapedOffsets: offsets,\n escaped: isAnySideFullyClipped(offsets)\n }\n };\n }\n default:\n {\n return {};\n }\n }\n }\n };\n};\n\nfunction getBoundingRect(rects) {\n const minX = min(...rects.map(rect => rect.left));\n const minY = min(...rects.map(rect => rect.top));\n const maxX = max(...rects.map(rect => rect.right));\n const maxY = max(...rects.map(rect => rect.bottom));\n return {\n x: minX,\n y: minY,\n width: maxX - minX,\n height: maxY - minY\n };\n}\nfunction getRectsByLine(rects) {\n const sortedRects = rects.slice().sort((a, b) => a.y - b.y);\n const groups = [];\n let prevRect = null;\n for (let i = 0; i < sortedRects.length; i++) {\n const rect = sortedRects[i];\n if (!prevRect || rect.y - prevRect.y > prevRect.height / 2) {\n groups.push([rect]);\n } else {\n groups[groups.length - 1].push(rect);\n }\n prevRect = rect;\n }\n return groups.map(rect => rectToClientRect(getBoundingRect(rect)));\n}\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'inline',\n options,\n async fn(state) {\n const {\n placement,\n elements,\n rects,\n platform,\n strategy\n } = state;\n // A MouseEvent's client{X,Y} coords can be up to 2 pixels off a\n // ClientRect's bounds, despite the event listener being triggered. A\n // padding of 2 seems to handle this issue.\n const {\n padding = 2,\n x,\n y\n } = evaluate(options, state);\n const nativeClientRects = Array.from((await (platform.getClientRects == null ? void 0 : platform.getClientRects(elements.reference))) || []);\n const clientRects = getRectsByLine(nativeClientRects);\n const fallback = rectToClientRect(getBoundingRect(nativeClientRects));\n const paddingObject = getPaddingObject(padding);\n function getBoundingClientRect() {\n // There are two rects and they are disjoined.\n if (clientRects.length === 2 && clientRects[0].left > clientRects[1].right && x != null && y != null) {\n // Find the first rect in which the point is fully inside.\n return clientRects.find(rect => x > rect.left - paddingObject.left && x < rect.right + paddingObject.right && y > rect.top - paddingObject.top && y < rect.bottom + paddingObject.bottom) || fallback;\n }\n\n // There are 2 or more connected rects.\n if (clientRects.length >= 2) {\n if (getSideAxis(placement) === 'y') {\n const firstRect = clientRects[0];\n const lastRect = clientRects[clientRects.length - 1];\n const isTop = getSide(placement) === 'top';\n const top = firstRect.top;\n const bottom = lastRect.bottom;\n const left = isTop ? firstRect.left : lastRect.left;\n const right = isTop ? firstRect.right : lastRect.right;\n const width = right - left;\n const height = bottom - top;\n return {\n top,\n bottom,\n left,\n right,\n width,\n height,\n x: left,\n y: top\n };\n }\n const isLeftSide = getSide(placement) === 'left';\n const maxRight = max(...clientRects.map(rect => rect.right));\n const minLeft = min(...clientRects.map(rect => rect.left));\n const measureRects = clientRects.filter(rect => isLeftSide ? rect.left === minLeft : rect.right === maxRight);\n const top = measureRects[0].top;\n const bottom = measureRects[measureRects.length - 1].bottom;\n const left = minLeft;\n const right = maxRight;\n const width = right - left;\n const height = bottom - top;\n return {\n top,\n bottom,\n left,\n right,\n width,\n height,\n x: left,\n y: top\n };\n }\n return fallback;\n }\n const resetRects = await platform.getElementRects({\n reference: {\n getBoundingClientRect\n },\n floating: elements.floating,\n strategy\n });\n if (rects.reference.x !== resetRects.reference.x || rects.reference.y !== resetRects.reference.y || rects.reference.width !== resetRects.reference.width || rects.reference.height !== resetRects.reference.height) {\n return {\n reset: {\n rects: resetRects\n }\n };\n }\n return {};\n }\n };\n};\n\n// For type backwards-compatibility, the `OffsetOptions` type was also\n// Derivable.\n\nasync function convertValueToCoords(state, options) {\n const {\n placement,\n platform,\n elements\n } = state;\n const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));\n const side = getSide(placement);\n const alignment = getAlignment(placement);\n const isVertical = getSideAxis(placement) === 'y';\n const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;\n const crossAxisMulti = rtl && isVertical ? -1 : 1;\n const rawValue = evaluate(options, state);\n\n // eslint-disable-next-line prefer-const\n let {\n mainAxis,\n crossAxis,\n alignmentAxis\n } = typeof rawValue === 'number' ? {\n mainAxis: rawValue,\n crossAxis: 0,\n alignmentAxis: null\n } : {\n mainAxis: rawValue.mainAxis || 0,\n crossAxis: rawValue.crossAxis || 0,\n alignmentAxis: rawValue.alignmentAxis\n };\n if (alignment && typeof alignmentAxis === 'number') {\n crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;\n }\n return isVertical ? {\n x: crossAxis * crossAxisMulti,\n y: mainAxis * mainAxisMulti\n } : {\n x: mainAxis * mainAxisMulti,\n y: crossAxis * crossAxisMulti\n };\n}\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = function (options) {\n if (options === void 0) {\n options = 0;\n }\n return {\n name: 'offset',\n options,\n async fn(state) {\n var _middlewareData$offse, _middlewareData$arrow;\n const {\n x,\n y,\n placement,\n middlewareData\n } = state;\n const diffCoords = await convertValueToCoords(state, options);\n\n // If the placement is the same and the arrow caused an alignment offset\n // then we don't need to change the positioning coordinates.\n if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {\n return {};\n }\n return {\n x: x + diffCoords.x,\n y: y + diffCoords.y,\n data: {\n ...diffCoords,\n placement\n }\n };\n }\n };\n};\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'shift',\n options,\n async fn(state) {\n const {\n x,\n y,\n placement\n } = state;\n const {\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = false,\n limiter = {\n fn: _ref => {\n let {\n x,\n y\n } = _ref;\n return {\n x,\n y\n };\n }\n },\n ...detectOverflowOptions\n } = evaluate(options, state);\n const coords = {\n x,\n y\n };\n const overflow = await detectOverflow(state, detectOverflowOptions);\n const crossAxis = getSideAxis(getSide(placement));\n const mainAxis = getOppositeAxis(crossAxis);\n let mainAxisCoord = coords[mainAxis];\n let crossAxisCoord = coords[crossAxis];\n if (checkMainAxis) {\n const minSide = mainAxis === 'y' ? 'top' : 'left';\n const maxSide = mainAxis === 'y' ? 'bottom' : 'right';\n const min = mainAxisCoord + overflow[minSide];\n const max = mainAxisCoord - overflow[maxSide];\n mainAxisCoord = clamp(min, mainAxisCoord, max);\n }\n if (checkCrossAxis) {\n const minSide = crossAxis === 'y' ? 'top' : 'left';\n const maxSide = crossAxis === 'y' ? 'bottom' : 'right';\n const min = crossAxisCoord + overflow[minSide];\n const max = crossAxisCoord - overflow[maxSide];\n crossAxisCoord = clamp(min, crossAxisCoord, max);\n }\n const limitedCoords = limiter.fn({\n ...state,\n [mainAxis]: mainAxisCoord,\n [crossAxis]: crossAxisCoord\n });\n return {\n ...limitedCoords,\n data: {\n x: limitedCoords.x - x,\n y: limitedCoords.y - y,\n enabled: {\n [mainAxis]: checkMainAxis,\n [crossAxis]: checkCrossAxis\n }\n }\n };\n }\n };\n};\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n options,\n fn(state) {\n const {\n x,\n y,\n placement,\n rects,\n middlewareData\n } = state;\n const {\n offset = 0,\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = true\n } = evaluate(options, state);\n const coords = {\n x,\n y\n };\n const crossAxis = getSideAxis(placement);\n const mainAxis = getOppositeAxis(crossAxis);\n let mainAxisCoord = coords[mainAxis];\n let crossAxisCoord = coords[crossAxis];\n const rawOffset = evaluate(offset, state);\n const computedOffset = typeof rawOffset === 'number' ? {\n mainAxis: rawOffset,\n crossAxis: 0\n } : {\n mainAxis: 0,\n crossAxis: 0,\n ...rawOffset\n };\n if (checkMainAxis) {\n const len = mainAxis === 'y' ? 'height' : 'width';\n const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;\n const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;\n if (mainAxisCoord < limitMin) {\n mainAxisCoord = limitMin;\n } else if (mainAxisCoord > limitMax) {\n mainAxisCoord = limitMax;\n }\n }\n if (checkCrossAxis) {\n var _middlewareData$offse, _middlewareData$offse2;\n const len = mainAxis === 'y' ? 'width' : 'height';\n const isOriginSide = ['top', 'left'].includes(getSide(placement));\n const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);\n const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);\n if (crossAxisCoord < limitMin) {\n crossAxisCoord = limitMin;\n } else if (crossAxisCoord > limitMax) {\n crossAxisCoord = limitMax;\n }\n }\n return {\n [mainAxis]: mainAxisCoord,\n [crossAxis]: crossAxisCoord\n };\n }\n };\n};\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'size',\n options,\n async fn(state) {\n var _state$middlewareData, _state$middlewareData2;\n const {\n placement,\n rects,\n platform,\n elements\n } = state;\n const {\n apply = () => {},\n ...detectOverflowOptions\n } = evaluate(options, state);\n const overflow = await detectOverflow(state, detectOverflowOptions);\n const side = getSide(placement);\n const alignment = getAlignment(placement);\n const isYAxis = getSideAxis(placement) === 'y';\n const {\n width,\n height\n } = rects.floating;\n let heightSide;\n let widthSide;\n if (side === 'top' || side === 'bottom') {\n heightSide = side;\n widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';\n } else {\n widthSide = side;\n heightSide = alignment === 'end' ? 'top' : 'bottom';\n }\n const maximumClippingHeight = height - overflow.top - overflow.bottom;\n const maximumClippingWidth = width - overflow.left - overflow.right;\n const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);\n const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);\n const noShift = !state.middlewareData.shift;\n let availableHeight = overflowAvailableHeight;\n let availableWidth = overflowAvailableWidth;\n if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {\n availableWidth = maximumClippingWidth;\n }\n if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {\n availableHeight = maximumClippingHeight;\n }\n if (noShift && !alignment) {\n const xMin = max(overflow.left, 0);\n const xMax = max(overflow.right, 0);\n const yMin = max(overflow.top, 0);\n const yMax = max(overflow.bottom, 0);\n if (isYAxis) {\n availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));\n } else {\n availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));\n }\n }\n await apply({\n ...state,\n availableWidth,\n availableHeight\n });\n const nextDimensions = await platform.getDimensions(elements.floating);\n if (width !== nextDimensions.width || height !== nextDimensions.height) {\n return {\n reset: {\n rects: true\n }\n };\n }\n return {};\n }\n };\n};\n\nexport { arrow, autoPlacement, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, shift, size };\n"],"names":["x","y"],"mappings":"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","x_google_ignoreList":[0]}
|
1
|
+
{"version":3,"file":"harmony98.mjs","sources":["../src/components/Sidebar/Widgets/Tasks/utils/taskEvents.ts"],"sourcesContent":["import type { TypesFromMap } from '@utils'\n\nexport const TaskEvents = {\n\tTaskCompleted: 'task_completed',\n\tTaskClosed: 'task_closed',\n\tRefresh: 'refresh',\n\tShowDialog: 'show_dialog',\n} as const\n\nexport type TaskEvent = TypesFromMap<typeof TaskEvents>\n\ntype SingleTaskPayload = {\n\ttaskId: string | number\n}\n\ntype DispatchTaskEventPayload =\n\t| {\n\t\t\tname: typeof TaskEvents.TaskCompleted\n\t\t\tdetail: SingleTaskPayload\n\t }\n\t| {\n\t\t\tname: typeof TaskEvents.TaskClosed\n\t\t\tdetail: SingleTaskPayload\n\t }\n\t| {\n\t\t\tname: typeof TaskEvents.Refresh\n\t }\n\t| {\n\t\t\tname: typeof TaskEvents.ShowDialog\n\t }\n\nexport const dispatchTaskEvent = (props: DispatchTaskEventPayload) => {\n\tconst { name } = props\n\tdocument.dispatchEvent(new CustomEvent(name, { detail: 'detail' in props ? props.detail : {} }))\n}\n"],"names":[],"mappings":"AAEO,MAAM,aAAa;AAAA,EACzB,eAAe;AAAA,EACf,YAAY;AAAA,EACZ,SAAS;AAAA,EACT,YAAY;AACb;"}
|
package/dist/harmony99.cjs
CHANGED
@@ -1,15 +1,24 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
-
const
|
4
|
-
const
|
5
|
-
const
|
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";
|
6
9
|
const styles = {
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
+
menuContainer,
|
11
|
+
profileButton,
|
12
|
+
profileImage,
|
13
|
+
profileImageHighlight,
|
14
|
+
profileImageUpgradeIcon,
|
15
|
+
userIconWrapper
|
10
16
|
};
|
11
|
-
exports.activeNavItem = activeNavItem;
|
12
|
-
exports.badge = badge;
|
13
17
|
exports.default = styles;
|
14
|
-
exports.
|
18
|
+
exports.menuContainer = menuContainer;
|
19
|
+
exports.profileButton = profileButton;
|
20
|
+
exports.profileImage = profileImage;
|
21
|
+
exports.profileImageHighlight = profileImageHighlight;
|
22
|
+
exports.profileImageUpgradeIcon = profileImageUpgradeIcon;
|
23
|
+
exports.userIconWrapper = userIconWrapper;
|
15
24
|
//# sourceMappingURL=harmony99.cjs.map
|
package/dist/harmony99.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony99.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony99.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/harmony99.mjs
CHANGED
@@ -1,15 +1,24 @@
|
|
1
|
-
const
|
2
|
-
const
|
3
|
-
const
|
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";
|
4
7
|
const styles = {
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
+
menuContainer,
|
9
|
+
profileButton,
|
10
|
+
profileImage,
|
11
|
+
profileImageHighlight,
|
12
|
+
profileImageUpgradeIcon,
|
13
|
+
userIconWrapper
|
8
14
|
};
|
9
15
|
export {
|
10
|
-
activeNavItem,
|
11
|
-
badge,
|
12
16
|
styles as default,
|
13
|
-
|
17
|
+
menuContainer,
|
18
|
+
profileButton,
|
19
|
+
profileImage,
|
20
|
+
profileImageHighlight,
|
21
|
+
profileImageUpgradeIcon,
|
22
|
+
userIconWrapper
|
14
23
|
};
|
15
24
|
//# sourceMappingURL=harmony99.mjs.map
|
package/dist/harmony99.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony99.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony99.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
@@ -23,11 +23,11 @@ export declare function useListTeamsQuery<T>(wretchClient: Wretch<T>, headers: H
|
|
23
23
|
teams: {
|
24
24
|
role: string;
|
25
25
|
name: string;
|
26
|
-
logo_url: string;
|
27
26
|
created_at: string;
|
28
27
|
created_at_timestamp: number;
|
29
28
|
team_id: number;
|
30
29
|
plan: string;
|
30
|
+
logo_url: string;
|
31
31
|
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
32
32
|
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
33
33
|
uuid?: string | undefined;
|
@@ -19,10 +19,10 @@ export declare function useRetrieveTeamQuery<T>(wretchClient: Wretch<T>, headers
|
|
19
19
|
team: {
|
20
20
|
role: string;
|
21
21
|
name: string;
|
22
|
-
logo_url: string;
|
23
22
|
created_at: string;
|
24
23
|
created_at_timestamp: number;
|
25
24
|
team_id: number;
|
25
|
+
logo_url: string;
|
26
26
|
quota_usage: {
|
27
27
|
keys: number;
|
28
28
|
projects: number;
|
@@ -13,22 +13,22 @@ export declare const listTeams: import('@lokalise/api-contracts').GetRouteDefini
|
|
13
13
|
}, "strip", import('zod').ZodTypeAny, {
|
14
14
|
role: string;
|
15
15
|
name: string;
|
16
|
-
logo_url: string;
|
17
16
|
created_at: string;
|
18
17
|
created_at_timestamp: number;
|
19
18
|
team_id: number;
|
20
19
|
plan: string;
|
20
|
+
logo_url: string;
|
21
21
|
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
22
22
|
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
23
23
|
uuid?: string | undefined;
|
24
24
|
}, {
|
25
25
|
role: string;
|
26
26
|
name: string;
|
27
|
-
logo_url: string;
|
28
27
|
created_at: string;
|
29
28
|
created_at_timestamp: number;
|
30
29
|
team_id: number;
|
31
30
|
plan: string;
|
31
|
+
logo_url: string;
|
32
32
|
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
33
33
|
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
34
34
|
uuid?: string | undefined;
|
@@ -37,11 +37,11 @@ export declare const listTeams: import('@lokalise/api-contracts').GetRouteDefini
|
|
37
37
|
teams: {
|
38
38
|
role: string;
|
39
39
|
name: string;
|
40
|
-
logo_url: string;
|
41
40
|
created_at: string;
|
42
41
|
created_at_timestamp: number;
|
43
42
|
team_id: number;
|
44
43
|
plan: string;
|
44
|
+
logo_url: string;
|
45
45
|
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
46
46
|
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
47
47
|
uuid?: string | undefined;
|
@@ -50,11 +50,11 @@ export declare const listTeams: import('@lokalise/api-contracts').GetRouteDefini
|
|
50
50
|
teams: {
|
51
51
|
role: string;
|
52
52
|
name: string;
|
53
|
-
logo_url: string;
|
54
53
|
created_at: string;
|
55
54
|
created_at_timestamp: number;
|
56
55
|
team_id: number;
|
57
56
|
plan: string;
|
57
|
+
logo_url: string;
|
58
58
|
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
59
59
|
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
60
60
|
uuid?: string | undefined;
|
@@ -191,10 +191,10 @@ export declare const retrieveTeam: import('@lokalise/api-contracts').GetRouteDef
|
|
191
191
|
}, "strip", import('zod').ZodTypeAny, {
|
192
192
|
role: string;
|
193
193
|
name: string;
|
194
|
-
logo_url: string;
|
195
194
|
created_at: string;
|
196
195
|
created_at_timestamp: number;
|
197
196
|
team_id: number;
|
197
|
+
logo_url: string;
|
198
198
|
quota_usage: {
|
199
199
|
keys: number;
|
200
200
|
projects: number;
|
@@ -221,10 +221,10 @@ export declare const retrieveTeam: import('@lokalise/api-contracts').GetRouteDef
|
|
221
221
|
}, {
|
222
222
|
role: string;
|
223
223
|
name: string;
|
224
|
-
logo_url: string;
|
225
224
|
created_at: string;
|
226
225
|
created_at_timestamp: number;
|
227
226
|
team_id: number;
|
227
|
+
logo_url: string;
|
228
228
|
quota_usage: {
|
229
229
|
keys: number;
|
230
230
|
projects: number;
|
@@ -253,10 +253,10 @@ export declare const retrieveTeam: import('@lokalise/api-contracts').GetRouteDef
|
|
253
253
|
team: {
|
254
254
|
role: string;
|
255
255
|
name: string;
|
256
|
-
logo_url: string;
|
257
256
|
created_at: string;
|
258
257
|
created_at_timestamp: number;
|
259
258
|
team_id: number;
|
259
|
+
logo_url: string;
|
260
260
|
quota_usage: {
|
261
261
|
keys: number;
|
262
262
|
projects: number;
|
@@ -285,10 +285,10 @@ export declare const retrieveTeam: import('@lokalise/api-contracts').GetRouteDef
|
|
285
285
|
team: {
|
286
286
|
role: string;
|
287
287
|
name: string;
|
288
|
-
logo_url: string;
|
289
288
|
created_at: string;
|
290
289
|
created_at_timestamp: number;
|
291
290
|
team_id: number;
|
291
|
+
logo_url: string;
|
292
292
|
quota_usage: {
|
293
293
|
keys: number;
|
294
294
|
projects: number;
|
@@ -88,22 +88,22 @@ export declare const LIST_TEAMS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
89
89
|
role: string;
|
90
90
|
name: string;
|
91
|
-
logo_url: string;
|
92
91
|
created_at: string;
|
93
92
|
created_at_timestamp: number;
|
94
93
|
team_id: number;
|
95
94
|
plan: string;
|
95
|
+
logo_url: string;
|
96
96
|
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
97
97
|
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
98
98
|
uuid?: string | undefined;
|
99
99
|
}, {
|
100
100
|
role: string;
|
101
101
|
name: string;
|
102
|
-
logo_url: string;
|
103
102
|
created_at: string;
|
104
103
|
created_at_timestamp: number;
|
105
104
|
team_id: number;
|
106
105
|
plan: string;
|
106
|
+
logo_url: string;
|
107
107
|
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
108
108
|
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
109
109
|
uuid?: string | undefined;
|
@@ -112,11 +112,11 @@ export declare const LIST_TEAMS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
112
112
|
teams: {
|
113
113
|
role: string;
|
114
114
|
name: string;
|
115
|
-
logo_url: string;
|
116
115
|
created_at: string;
|
117
116
|
created_at_timestamp: number;
|
118
117
|
team_id: number;
|
119
118
|
plan: string;
|
119
|
+
logo_url: string;
|
120
120
|
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
121
121
|
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
122
122
|
uuid?: string | undefined;
|
@@ -125,11 +125,11 @@ export declare const LIST_TEAMS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
125
125
|
teams: {
|
126
126
|
role: string;
|
127
127
|
name: string;
|
128
|
-
logo_url: string;
|
129
128
|
created_at: string;
|
130
129
|
created_at_timestamp: number;
|
131
130
|
team_id: number;
|
132
131
|
plan: string;
|
132
|
+
logo_url: string;
|
133
133
|
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
134
134
|
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
135
135
|
uuid?: string | undefined;
|
@@ -288,10 +288,10 @@ export declare const RETRIEVE_TEAM_RESPONSE_SCHEMA: z.ZodObject<{
|
|
288
288
|
}, "strip", z.ZodTypeAny, {
|
289
289
|
role: string;
|
290
290
|
name: string;
|
291
|
-
logo_url: string;
|
292
291
|
created_at: string;
|
293
292
|
created_at_timestamp: number;
|
294
293
|
team_id: number;
|
294
|
+
logo_url: string;
|
295
295
|
quota_usage: {
|
296
296
|
keys: number;
|
297
297
|
projects: number;
|
@@ -318,10 +318,10 @@ export declare const RETRIEVE_TEAM_RESPONSE_SCHEMA: z.ZodObject<{
|
|
318
318
|
}, {
|
319
319
|
role: string;
|
320
320
|
name: string;
|
321
|
-
logo_url: string;
|
322
321
|
created_at: string;
|
323
322
|
created_at_timestamp: number;
|
324
323
|
team_id: number;
|
324
|
+
logo_url: string;
|
325
325
|
quota_usage: {
|
326
326
|
keys: number;
|
327
327
|
projects: number;
|
@@ -350,10 +350,10 @@ export declare const RETRIEVE_TEAM_RESPONSE_SCHEMA: z.ZodObject<{
|
|
350
350
|
team: {
|
351
351
|
role: string;
|
352
352
|
name: string;
|
353
|
-
logo_url: string;
|
354
353
|
created_at: string;
|
355
354
|
created_at_timestamp: number;
|
356
355
|
team_id: number;
|
356
|
+
logo_url: string;
|
357
357
|
quota_usage: {
|
358
358
|
keys: number;
|
359
359
|
projects: number;
|
@@ -382,10 +382,10 @@ export declare const RETRIEVE_TEAM_RESPONSE_SCHEMA: z.ZodObject<{
|
|
382
382
|
team: {
|
383
383
|
role: string;
|
384
384
|
name: string;
|
385
|
-
logo_url: string;
|
386
385
|
created_at: string;
|
387
386
|
created_at_timestamp: number;
|
388
387
|
team_id: number;
|
388
|
+
logo_url: string;
|
389
389
|
quota_usage: {
|
390
390
|
keys: number;
|
391
391
|
projects: number;
|