@burdenoff/microfe-planmagnet 2026.1101.1 → 2026.1123.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 +62 -0
- package/dist/_virtual/__vite-browser-external.js +1 -2
- package/dist/_virtual/_rolldown/runtime.js +4 -5
- package/dist/components/Button.d.ts +1 -3
- package/dist/components/Button.stories.d.ts +0 -2
- package/dist/components/MarkdownEditor.d.ts +1 -2
- package/dist/components/MarkdownEditor.js +1 -2
- package/dist/dev/main.d.ts +0 -2
- package/dist/generated/global-operations.d.ts +4 -2
- package/dist/generated/global-types.d.ts +5707 -963
- package/dist/generated/wspace-operations.d.ts +2369 -6982
- package/dist/generated/wspace-operations.js +614 -0
- package/dist/generated/wspace-types.d.ts +201 -25
- package/dist/index.d.ts +0 -1
- package/dist/index.js +8 -8
- package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js +1 -2
- package/dist/node_modules/@apollo/client/errors/ServerError.js +1 -2
- package/dist/node_modules/@apollo/client/errors/utils.js +1 -2
- package/dist/node_modules/clsx/dist/clsx.js +8 -7
- package/dist/node_modules/d3-array/dist/d3-array.js +202 -0
- package/dist/node_modules/d3-color/dist/d3-color.js +386 -0
- package/dist/node_modules/d3-format/dist/d3-format.js +184 -0
- package/dist/node_modules/d3-interpolate/dist/d3-interpolate.js +183 -0
- package/dist/node_modules/d3-path/{src/path.js → dist/d3-path.js} +38 -13
- package/dist/node_modules/d3-scale/dist/d3-scale.js +620 -0
- package/dist/node_modules/d3-shape/dist/d3-shape.js +899 -0
- package/dist/node_modules/d3-time/dist/d3-time.js +239 -0
- package/dist/node_modules/d3-time-format/{src/locale.js → dist/d3-time-format.js} +228 -173
- package/dist/node_modules/decimal.js-light/decimal.js +33 -30
- package/dist/node_modules/eventemitter3/index.js +2 -3
- package/dist/node_modules/fast-equals/dist/es/index.js +109 -79
- package/dist/node_modules/fflate/esm/browser.js +14 -14
- package/dist/node_modules/jszip/dist/jszip.min.js +67 -63
- package/dist/node_modules/lodash/_DataView.js +4 -5
- package/dist/node_modules/lodash/_Hash.js +1 -2
- package/dist/node_modules/lodash/_ListCache.js +1 -2
- package/dist/node_modules/lodash/_Map.js +4 -5
- package/dist/node_modules/lodash/_MapCache.js +1 -2
- package/dist/node_modules/lodash/_Promise.js +4 -5
- package/dist/node_modules/lodash/_Set.js +4 -5
- package/dist/node_modules/lodash/_SetCache.js +1 -2
- package/dist/node_modules/lodash/_Stack.js +3 -3
- package/dist/node_modules/lodash/_Symbol.js +1 -2
- package/dist/node_modules/lodash/_Uint8Array.js +1 -2
- package/dist/node_modules/lodash/_WeakMap.js +4 -5
- package/dist/node_modules/lodash/_apply.js +1 -2
- package/dist/node_modules/lodash/_arrayEach.js +1 -2
- package/dist/node_modules/lodash/_arrayEvery.js +1 -2
- package/dist/node_modules/lodash/_arrayFilter.js +1 -2
- package/dist/node_modules/lodash/_arrayIncludes.js +1 -2
- package/dist/node_modules/lodash/_arrayIncludesWith.js +1 -2
- package/dist/node_modules/lodash/_arrayLikeKeys.js +5 -6
- package/dist/node_modules/lodash/_arrayMap.js +1 -2
- package/dist/node_modules/lodash/_arrayPush.js +1 -2
- package/dist/node_modules/lodash/_arraySome.js +1 -2
- package/dist/node_modules/lodash/_asciiToArray.js +1 -2
- package/dist/node_modules/lodash/_assignValue.js +4 -5
- package/dist/node_modules/lodash/_assocIndexOf.js +1 -2
- package/dist/node_modules/lodash/_baseAssign.js +4 -5
- package/dist/node_modules/lodash/_baseAssignIn.js +1 -2
- package/dist/node_modules/lodash/_baseAssignValue.js +1 -2
- package/dist/node_modules/lodash/_baseClone.js +24 -25
- package/dist/node_modules/lodash/_baseCreate.js +1 -2
- package/dist/node_modules/lodash/_baseEach.js +1 -2
- package/dist/node_modules/lodash/_baseEvery.js +1 -2
- package/dist/node_modules/lodash/_baseExtremum.js +1 -2
- package/dist/node_modules/lodash/_baseFindIndex.js +1 -2
- package/dist/node_modules/lodash/_baseFlatten.js +1 -2
- package/dist/node_modules/lodash/_baseFor.js +1 -2
- package/dist/node_modules/lodash/_baseForOwn.js +4 -5
- package/dist/node_modules/lodash/_baseGet.js +1 -2
- package/dist/node_modules/lodash/_baseGetAllKeys.js +4 -5
- package/dist/node_modules/lodash/_baseGetTag.js +1 -2
- package/dist/node_modules/lodash/_baseGt.js +1 -2
- package/dist/node_modules/lodash/_baseHasIn.js +1 -2
- package/dist/node_modules/lodash/_baseIndexOf.js +1 -2
- package/dist/node_modules/lodash/_baseIsArguments.js +1 -2
- package/dist/node_modules/lodash/_baseIsEqual.js +4 -5
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +10 -11
- package/dist/node_modules/lodash/_baseIsMap.js +4 -5
- package/dist/node_modules/lodash/_baseIsMatch.js +1 -2
- package/dist/node_modules/lodash/_baseIsNaN.js +1 -2
- package/dist/node_modules/lodash/_baseIsNative.js +5 -6
- package/dist/node_modules/lodash/_baseIsSet.js +4 -5
- package/dist/node_modules/lodash/_baseIsTypedArray.js +4 -5
- package/dist/node_modules/lodash/_baseIteratee.js +6 -7
- package/dist/node_modules/lodash/_baseKeys.js +1 -2
- package/dist/node_modules/lodash/_baseKeysIn.js +2 -3
- package/dist/node_modules/lodash/_baseLt.js +1 -2
- package/dist/node_modules/lodash/_baseMap.js +4 -5
- package/dist/node_modules/lodash/_baseMatches.js +1 -2
- package/dist/node_modules/lodash/_baseMatchesProperty.js +7 -8
- package/dist/node_modules/lodash/_baseOrderBy.js +11 -12
- package/dist/node_modules/lodash/_baseProperty.js +1 -2
- package/dist/node_modules/lodash/_basePropertyDeep.js +1 -2
- package/dist/node_modules/lodash/_baseRange.js +1 -2
- package/dist/node_modules/lodash/_baseRest.js +1 -2
- package/dist/node_modules/lodash/_baseSetToString.js +5 -6
- package/dist/node_modules/lodash/_baseSlice.js +1 -2
- package/dist/node_modules/lodash/_baseSome.js +1 -2
- package/dist/node_modules/lodash/_baseSortBy.js +1 -2
- package/dist/node_modules/lodash/_baseSum.js +1 -2
- package/dist/node_modules/lodash/_baseTimes.js +1 -2
- package/dist/node_modules/lodash/_baseToString.js +6 -7
- package/dist/node_modules/lodash/_baseTrim.js +1 -2
- package/dist/node_modules/lodash/_baseUnary.js +1 -2
- package/dist/node_modules/lodash/_baseUniq.js +7 -8
- package/dist/node_modules/lodash/_baseUnset.js +5 -6
- package/dist/node_modules/lodash/_cacheHas.js +1 -2
- package/dist/node_modules/lodash/_castPath.js +1 -2
- package/dist/node_modules/lodash/_castSlice.js +1 -2
- package/dist/node_modules/lodash/_cloneArrayBuffer.js +1 -2
- package/dist/node_modules/lodash/_cloneBuffer.js +1 -2
- package/dist/node_modules/lodash/_cloneDataView.js +1 -2
- package/dist/node_modules/lodash/_cloneRegExp.js +1 -2
- package/dist/node_modules/lodash/_cloneSymbol.js +1 -2
- package/dist/node_modules/lodash/_cloneTypedArray.js +1 -2
- package/dist/node_modules/lodash/_compareAscending.js +1 -2
- package/dist/node_modules/lodash/_compareMultiple.js +1 -2
- package/dist/node_modules/lodash/_copyArray.js +1 -2
- package/dist/node_modules/lodash/_copyObject.js +4 -5
- package/dist/node_modules/lodash/_copySymbols.js +4 -5
- package/dist/node_modules/lodash/_copySymbolsIn.js +1 -2
- package/dist/node_modules/lodash/_coreJsData.js +1 -2
- package/dist/node_modules/lodash/_createBaseEach.js +1 -2
- package/dist/node_modules/lodash/_createBaseFor.js +1 -2
- package/dist/node_modules/lodash/_createCaseFirst.js +6 -7
- package/dist/node_modules/lodash/_createFind.js +5 -6
- package/dist/node_modules/lodash/_createRange.js +4 -5
- package/dist/node_modules/lodash/_createSet.js +6 -7
- package/dist/node_modules/lodash/_customOmitClone.js +1 -2
- package/dist/node_modules/lodash/_defineProperty.js +1 -2
- package/dist/node_modules/lodash/_equalArrays.js +1 -2
- package/dist/node_modules/lodash/_equalByTag.js +5 -6
- package/dist/node_modules/lodash/_equalObjects.js +1 -2
- package/dist/node_modules/lodash/_flatRest.js +5 -6
- package/dist/node_modules/lodash/_freeGlobal.js +1 -2
- package/dist/node_modules/lodash/_getAllKeys.js +1 -2
- package/dist/node_modules/lodash/_getAllKeysIn.js +4 -5
- package/dist/node_modules/lodash/_getMapData.js +1 -2
- package/dist/node_modules/lodash/_getMatchData.js +4 -5
- package/dist/node_modules/lodash/_getNative.js +1 -2
- package/dist/node_modules/lodash/_getPrototype.js +1 -2
- package/dist/node_modules/lodash/_getRawTag.js +1 -2
- package/dist/node_modules/lodash/_getSymbols.js +1 -2
- package/dist/node_modules/lodash/_getSymbolsIn.js +4 -5
- package/dist/node_modules/lodash/_getTag.js +9 -10
- package/dist/node_modules/lodash/_getValue.js +1 -2
- package/dist/node_modules/lodash/_hasPath.js +8 -9
- package/dist/node_modules/lodash/_hasUnicode.js +1 -2
- package/dist/node_modules/lodash/_hashClear.js +1 -2
- package/dist/node_modules/lodash/_hashDelete.js +1 -2
- package/dist/node_modules/lodash/_hashGet.js +1 -2
- package/dist/node_modules/lodash/_hashHas.js +1 -2
- package/dist/node_modules/lodash/_hashSet.js +1 -2
- package/dist/node_modules/lodash/_initCloneArray.js +1 -2
- package/dist/node_modules/lodash/_initCloneByTag.js +1 -2
- package/dist/node_modules/lodash/_initCloneObject.js +4 -5
- package/dist/node_modules/lodash/_isFlattenable.js +5 -6
- package/dist/node_modules/lodash/_isIndex.js +6 -7
- package/dist/node_modules/lodash/_isIterateeCall.js +5 -6
- package/dist/node_modules/lodash/_isKey.js +1 -2
- package/dist/node_modules/lodash/_isKeyable.js +1 -2
- package/dist/node_modules/lodash/_isMasked.js +1 -2
- package/dist/node_modules/lodash/_isPrototype.js +1 -2
- package/dist/node_modules/lodash/_isStrictComparable.js +1 -2
- package/dist/node_modules/lodash/_listCacheClear.js +1 -2
- package/dist/node_modules/lodash/_listCacheDelete.js +1 -2
- package/dist/node_modules/lodash/_listCacheGet.js +1 -2
- package/dist/node_modules/lodash/_listCacheHas.js +1 -2
- package/dist/node_modules/lodash/_listCacheSet.js +1 -2
- package/dist/node_modules/lodash/_mapCacheClear.js +1 -2
- package/dist/node_modules/lodash/_mapCacheDelete.js +1 -2
- package/dist/node_modules/lodash/_mapCacheGet.js +1 -2
- package/dist/node_modules/lodash/_mapCacheHas.js +1 -2
- package/dist/node_modules/lodash/_mapCacheSet.js +1 -2
- package/dist/node_modules/lodash/_mapToArray.js +1 -2
- package/dist/node_modules/lodash/_matchesStrictComparable.js +2 -3
- package/dist/node_modules/lodash/_memoizeCapped.js +1 -2
- package/dist/node_modules/lodash/_nativeCreate.js +1 -2
- package/dist/node_modules/lodash/_nativeKeys.js +1 -2
- package/dist/node_modules/lodash/_nativeKeysIn.js +1 -2
- package/dist/node_modules/lodash/_nodeUtil.js +1 -2
- package/dist/node_modules/lodash/_objectToString.js +1 -2
- package/dist/node_modules/lodash/_overArg.js +1 -2
- package/dist/node_modules/lodash/_overRest.js +1 -2
- package/dist/node_modules/lodash/_parent.js +1 -2
- package/dist/node_modules/lodash/_root.js +1 -2
- package/dist/node_modules/lodash/_setCacheAdd.js +4 -6
- package/dist/node_modules/lodash/_setCacheHas.js +1 -2
- package/dist/node_modules/lodash/_setToArray.js +1 -2
- package/dist/node_modules/lodash/_setToString.js +1 -2
- package/dist/node_modules/lodash/_shortOut.js +8 -9
- package/dist/node_modules/lodash/_stackClear.js +1 -2
- package/dist/node_modules/lodash/_stackDelete.js +1 -2
- package/dist/node_modules/lodash/_stackGet.js +1 -2
- package/dist/node_modules/lodash/_stackHas.js +1 -2
- package/dist/node_modules/lodash/_stackSet.js +1 -2
- package/dist/node_modules/lodash/_strictIndexOf.js +1 -2
- package/dist/node_modules/lodash/_stringToArray.js +4 -5
- package/dist/node_modules/lodash/_stringToPath.js +1 -2
- package/dist/node_modules/lodash/_toKey.js +2 -3
- package/dist/node_modules/lodash/_toSource.js +1 -2
- package/dist/node_modules/lodash/_trimmedEndIndex.js +1 -2
- package/dist/node_modules/lodash/_unicodeToArray.js +1 -2
- package/dist/node_modules/lodash/constant.js +1 -2
- package/dist/node_modules/lodash/debounce.js +1 -2
- package/dist/node_modules/lodash/eq.js +1 -2
- package/dist/node_modules/lodash/every.js +7 -8
- package/dist/node_modules/lodash/find.js +1 -2
- package/dist/node_modules/lodash/findIndex.js +4 -5
- package/dist/node_modules/lodash/flatMap.js +1 -2
- package/dist/node_modules/lodash/flatten.js +1 -2
- package/dist/node_modules/lodash/get.js +1 -2
- package/dist/node_modules/lodash/hasIn.js +1 -2
- package/dist/node_modules/lodash/identity.js +1 -2
- package/dist/node_modules/lodash/isArguments.js +4 -5
- package/dist/node_modules/lodash/isArray.js +1 -2
- package/dist/node_modules/lodash/isArrayLike.js +1 -2
- package/dist/node_modules/lodash/isBoolean.js +1 -2
- package/dist/node_modules/lodash/isBuffer.js +1 -2
- package/dist/node_modules/lodash/isEqual.js +1 -2
- package/dist/node_modules/lodash/isFunction.js +1 -2
- package/dist/node_modules/lodash/isLength.js +4 -6
- package/dist/node_modules/lodash/isMap.js +5 -6
- package/dist/node_modules/lodash/isNaN.js +1 -2
- package/dist/node_modules/lodash/isNil.js +1 -2
- package/dist/node_modules/lodash/isNumber.js +1 -2
- package/dist/node_modules/lodash/isObject.js +1 -2
- package/dist/node_modules/lodash/isObjectLike.js +1 -2
- package/dist/node_modules/lodash/isPlainObject.js +4 -5
- package/dist/node_modules/lodash/isSet.js +5 -6
- package/dist/node_modules/lodash/isString.js +4 -5
- package/dist/node_modules/lodash/isSymbol.js +1 -2
- package/dist/node_modules/lodash/isTypedArray.js +1 -2
- package/dist/node_modules/lodash/keys.js +1 -2
- package/dist/node_modules/lodash/keysIn.js +4 -5
- package/dist/node_modules/lodash/last.js +1 -2
- package/dist/node_modules/lodash/map.js +6 -7
- package/dist/node_modules/lodash/mapValues.js +4 -5
- package/dist/node_modules/lodash/max.js +5 -6
- package/dist/node_modules/lodash/maxBy.js +5 -6
- package/dist/node_modules/lodash/memoize.js +1 -2
- package/dist/node_modules/lodash/min.js +5 -6
- package/dist/node_modules/lodash/noop.js +1 -2
- package/dist/node_modules/lodash/now.js +1 -2
- package/dist/node_modules/lodash/omit.js +9 -10
- package/dist/node_modules/lodash/property.js +6 -7
- package/dist/node_modules/lodash/range.js +1 -2
- package/dist/node_modules/lodash/some.js +7 -8
- package/dist/node_modules/lodash/sortBy.js +1 -2
- package/dist/node_modules/lodash/stubArray.js +1 -2
- package/dist/node_modules/lodash/stubFalse.js +1 -2
- package/dist/node_modules/lodash/sumBy.js +1 -2
- package/dist/node_modules/lodash/throttle.js +4 -5
- package/dist/node_modules/lodash/toFinite.js +2 -3
- package/dist/node_modules/lodash/toInteger.js +1 -2
- package/dist/node_modules/lodash/toNumber.js +4 -5
- package/dist/node_modules/lodash/toString.js +1 -2
- package/dist/node_modules/lodash/uniqBy.js +1 -2
- package/dist/node_modules/lodash/upperFirst.js +1 -2
- package/dist/node_modules/object-assign/index.js +1 -2
- package/dist/node_modules/pptxgenjs/dist/pptxgen.es.js +98 -106
- package/dist/node_modules/prop-types/checkPropTypes.js +1 -2
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +1 -2
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +3 -3
- package/dist/node_modules/prop-types/index.js +1 -2
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +1 -2
- package/dist/node_modules/prop-types/lib/has.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +2 -3
- package/dist/node_modules/react-is/cjs/react-is.development.js +31 -32
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +1 -2
- package/dist/node_modules/react-is/index.js +2 -3
- package/dist/node_modules/react-smooth/es6/Animate.js +33 -41
- package/dist/node_modules/react-smooth/es6/AnimateManager.js +2 -5
- package/dist/node_modules/react-smooth/es6/configUpdate.js +1 -2
- package/dist/node_modules/react-smooth/es6/easing.js +1 -2
- package/dist/node_modules/react-smooth/es6/index.js +1 -2
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js +1 -2
- package/dist/node_modules/react-smooth/es6/util.js +17 -16
- package/dist/node_modules/recharts/es6/cartesian/Area.js +99 -100
- package/dist/node_modules/recharts/es6/cartesian/Bar.js +103 -104
- package/dist/node_modules/recharts/es6/cartesian/Brush.js +35 -36
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +60 -67
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +45 -46
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +20 -21
- package/dist/node_modules/recharts/es6/cartesian/Line.js +79 -80
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +29 -30
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +23 -24
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +31 -32
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js +10 -11
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js +10 -11
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +5 -6
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js +7 -8
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +2 -5
- package/dist/node_modules/recharts/es6/chart/AreaChart.js +5 -6
- package/dist/node_modules/recharts/es6/chart/BarChart.js +7 -8
- package/dist/node_modules/recharts/es6/chart/LineChart.js +5 -6
- package/dist/node_modules/recharts/es6/chart/Sankey.js +92 -93
- package/dist/node_modules/recharts/es6/chart/Treemap.js +154 -155
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +534 -533
- package/dist/node_modules/recharts/es6/component/Cell.js +1 -2
- package/dist/node_modules/recharts/es6/component/Cursor.js +17 -18
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +35 -36
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +16 -17
- package/dist/node_modules/recharts/es6/component/Label.js +85 -86
- package/dist/node_modules/recharts/es6/component/LabelList.js +20 -21
- package/dist/node_modules/recharts/es6/component/Legend.js +26 -23
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +16 -17
- package/dist/node_modules/recharts/es6/component/Text.js +18 -21
- package/dist/node_modules/recharts/es6/component/Tooltip.js +16 -17
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +3 -4
- package/dist/node_modules/recharts/es6/container/Layer.js +5 -6
- package/dist/node_modules/recharts/es6/container/Surface.js +5 -6
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +21 -21
- package/dist/node_modules/recharts/es6/shape/Cross.js +4 -5
- package/dist/node_modules/recharts/es6/shape/Curve.js +38 -49
- package/dist/node_modules/recharts/es6/shape/Dot.js +3 -4
- package/dist/node_modules/recharts/es6/shape/Polygon.js +7 -8
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +8 -9
- package/dist/node_modules/recharts/es6/shape/Sector.js +33 -34
- package/dist/node_modules/recharts/es6/shape/Symbols.js +26 -34
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js +8 -9
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +24 -25
- package/dist/node_modules/recharts/es6/util/BarUtils.js +10 -11
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js +33 -34
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +231 -236
- package/dist/node_modules/recharts/es6/util/Constants.js +1 -2
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +1 -2
- package/dist/node_modules/recharts/es6/util/DOMUtils.js +1 -2
- package/dist/node_modules/recharts/es6/util/DataUtils.js +7 -8
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +20 -21
- package/dist/node_modules/recharts/es6/util/Events.js +0 -1
- package/dist/node_modules/recharts/es6/util/Global.js +0 -1
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +1 -2
- package/dist/node_modules/recharts/es6/util/LogUtils.js +9 -8
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +4 -5
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +11 -12
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +5 -6
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js +1 -2
- package/dist/node_modules/recharts/es6/util/TickUtils.js +4 -4
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js +0 -1
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +7 -6
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +1 -2
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +1 -2
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +1 -2
- package/dist/node_modules/recharts/es6/util/getLegendProps.js +9 -10
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +1 -2
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +4 -5
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js +3 -4
- package/dist/node_modules/recharts/es6/util/types.js +2 -3
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +2 -3
- package/dist/node_modules/recharts-scale/es6/index.js +1 -1
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +1 -2
- package/dist/node_modules/recharts-scale/es6/util/utils.js +3 -4
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +229 -167
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +2 -3
- package/dist/node_modules/victory-vendor/es/d3-scale.js +28 -45
- package/dist/node_modules/write-excel-file/browser/index.js +1 -2
- package/dist/node_modules/write-excel-file/modules/export/convertFileContentToUint8ArrayBrowser.js +1 -2
- package/dist/node_modules/write-excel-file/modules/export/convertFilesContentToUint8Arrays.js +1 -2
- package/dist/node_modules/write-excel-file/modules/export/downloadBlob.js +1 -2
- package/dist/node_modules/write-excel-file/modules/export/writeXlsxFileBrowser.js +1 -2
- package/dist/node_modules/write-excel-file/modules/export/writeXlsxFileUniversal.js +3 -3
- package/dist/node_modules/write-excel-file/modules/getSheetData/getSheetData.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/features/conditionalFormatting.js +29 -26
- package/dist/node_modules/write-excel-file/modules/xlsx/features/images.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/features/stickyRowsOrColumns.js +28 -29
- package/dist/node_modules/write-excel-file/modules/xlsx/files/_Content_Types_.xml.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/files/drawing.xml.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/files/drawing.xml.rels.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/files/rels.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sharedStrings.xml.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/cell.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/column.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/columns.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/drawingReference.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/helpers/getCellStyleProperties.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/mergedCellsDescription.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/pageMargins.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/pageSetup.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/processMergedCells.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/row.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheet.xml.js +19 -20
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheetData.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheetViews.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml.rels.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/files/styles.xml.js +16 -17
- package/dist/node_modules/write-excel-file/modules/xlsx/files/workbook.xml.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/files/workbook.xml.rels.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/generateXlsxFileContents.js +66 -63
- package/dist/node_modules/write-excel-file/modules/xlsx/getFeatures.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/convertDateToSerialNumber.js +3 -6
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/getAdditionalContent.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/getElementXml.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/getWrittenFiles.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/transformContent.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getAlignmentXml.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getBorderXml.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getCellAddress.js +6 -8
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getFileExtensionForContentType.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getFillXml.js +5 -6
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getFontXml.js +2 -3
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getOrderOfSiblings.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getXlsxColorForHexColor.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasAlignment.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasBorder.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasFill.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasFont.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/isCellObject.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/isObject.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/orderOfSiblings.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/initializeSharedStrings.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/initializeSheets.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/initializeStyles.js +5 -6
- package/dist/node_modules/write-excel-file/modules/xlsx/validateSheetData.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xlsx/validateSheetName.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xml/appendMarkupInsideElement.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xml/applyEnclosingElementOffset.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xml/escapeXmlSpecialCharacters.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xml/findElement.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xml/findElementInsideElement.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xml/findElementsNonRecursive_.js +6 -6
- package/dist/node_modules/write-excel-file/modules/xml/getAttributesString.js +4 -5
- package/dist/node_modules/write-excel-file/modules/xml/getChildElements.js +6 -7
- package/dist/node_modules/write-excel-file/modules/xml/getClosingTagMarkup.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xml/getMarkupInsideElement.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xml/getOpeningTagMarkup.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xml/getSelfClosingTagMarkup.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xml/insertElementMarkupAccordingToOrderOfSiblings.js +15 -16
- package/dist/node_modules/write-excel-file/modules/xml/prependMarkupInsideElement.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xml/removeInvalidXmlCharacters.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xml/replaceElement.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xml/sanitizeAttributeName.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xml/sanitizeAttributeValue.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xml/sanitizeTextContent.js +1 -2
- package/dist/node_modules/write-excel-file/modules/xml/setMarkupInsideElement.js +1 -2
- package/dist/node_modules/write-excel-file/modules/zip/zipToArrayBuffer.js +1 -2
- package/dist/planmagnet/PlanMagnetRoot.d.ts +0 -2
- package/dist/planmagnet/PlanMagnetRoot.js +180 -173
- package/dist/planmagnet/PlanMagnetRoutes.d.ts +1 -2
- package/dist/planmagnet/PlanMagnetRoutes.js +281 -273
- package/dist/planmagnet/activity/activityDescribe.d.ts +2 -3
- package/dist/planmagnet/activity/activityDescribe.js +3 -4
- package/dist/planmagnet/activity/relativeTime.d.ts +0 -1
- package/dist/planmagnet/activity/relativeTime.js +7 -8
- package/dist/planmagnet/admin/AdminRequestBoundary.d.ts +4 -0
- package/dist/planmagnet/admin/AdminRequestBoundary.js +18 -0
- package/dist/planmagnet/admin/PlanMagnetAdminRoot.d.ts +7 -3
- package/dist/planmagnet/admin/PlanMagnetAdminRoot.js +315 -313
- package/dist/planmagnet/automation/AutomationExecutionsPanel.d.ts +1 -2
- package/dist/planmagnet/automation/AutomationExecutionsPanel.js +2 -3
- package/dist/planmagnet/automation/AutomationRuleFields.d.ts +4 -6
- package/dist/planmagnet/automation/AutomationRuleFields.js +33 -34
- package/dist/planmagnet/automation/WorkflowSelect.d.ts +1 -2
- package/dist/planmagnet/automation/WorkflowSelect.js +1 -2
- package/dist/planmagnet/automation/automationRuleTypes.d.ts +0 -1
- package/dist/planmagnet/automation/automationRuleTypes.js +5 -6
- package/dist/planmagnet/board/BoardViewBar.d.ts +1 -3
- package/dist/planmagnet/board/BoardViewBar.js +17 -15
- package/dist/planmagnet/board/BulkActions.d.ts +1 -3
- package/dist/planmagnet/board/BulkActions.js +19 -19
- package/dist/planmagnet/board/ProjectBoard.d.ts +1 -2
- package/dist/planmagnet/board/ProjectBoard.js +38 -39
- package/dist/planmagnet/board/boardViewConfig.d.ts +1 -3
- package/dist/planmagnet/board/boardViewConfig.js +42 -43
- package/dist/planmagnet/budgets/BudgetControls.d.ts +2 -3
- package/dist/planmagnet/budgets/BudgetControls.js +47 -51
- package/dist/planmagnet/budgets/ExpenseControls.d.ts +3 -4
- package/dist/planmagnet/budgets/ExpenseControls.js +26 -30
- package/dist/planmagnet/budgets/ProjectBudgetsSummary.d.ts +1 -2
- package/dist/planmagnet/budgets/ProjectBudgetsSummary.js +18 -19
- package/dist/planmagnet/budgets/budgetMath.d.ts +0 -2
- package/dist/planmagnet/budgets/budgetMath.js +1 -2
- package/dist/planmagnet/comments/CommentAttachmentUpload.d.ts +1 -2
- package/dist/planmagnet/comments/CommentAttachmentUpload.js +1 -2
- package/dist/planmagnet/comments/CommentAttachments.d.ts +1 -3
- package/dist/planmagnet/comments/CommentAttachments.js +17 -19
- package/dist/planmagnet/comments/CommentBody.d.ts +1 -3
- package/dist/planmagnet/comments/CommentBody.js +1 -2
- package/dist/planmagnet/comments/CommentThread.d.ts +1 -3
- package/dist/planmagnet/comments/CommentThread.js +26 -27
- package/dist/planmagnet/comments/MentionComposer.d.ts +1 -2
- package/dist/planmagnet/comments/MentionComposer.js +10 -9
- package/dist/planmagnet/comments/RoadmapComments.d.ts +3 -4
- package/dist/planmagnet/comments/RoadmapComments.js +19 -20
- package/dist/planmagnet/comments/TargetComments.d.ts +2 -3
- package/dist/planmagnet/comments/TargetComments.js +1 -2
- package/dist/planmagnet/comments/WorkItemActivity.d.ts +1 -2
- package/dist/planmagnet/comments/WorkItemActivity.js +9 -10
- package/dist/planmagnet/comments/WorkItemComments.d.ts +1 -2
- package/dist/planmagnet/comments/WorkItemComments.js +1 -2
- package/dist/planmagnet/comments/commentAttachmentUploadClient.d.ts +0 -2
- package/dist/planmagnet/comments/commentAttachmentUploadClient.js +65 -63
- package/dist/planmagnet/comments/commentImageTokens.d.ts +0 -1
- package/dist/planmagnet/comments/commentImageTokens.js +1 -2
- package/dist/planmagnet/comments/commentTokens.d.ts +0 -1
- package/dist/planmagnet/comments/commentTokens.js +1 -2
- package/dist/planmagnet/comments/fileDisplay.d.ts +0 -2
- package/dist/planmagnet/comments/fileDisplay.js +1 -2
- package/dist/planmagnet/comments/useCommentFileUrl.d.ts +0 -2
- package/dist/planmagnet/comments/useCommentFileUrl.js +2 -3
- package/dist/planmagnet/controls/AutomationRuleControls.d.ts +3 -4
- package/dist/planmagnet/controls/AutomationRuleControls.js +31 -31
- package/dist/planmagnet/controls/CompetitorControls.d.ts +4 -5
- package/dist/planmagnet/controls/CompetitorControls.js +31 -30
- package/dist/planmagnet/controls/ConfirmButton.d.ts +2 -4
- package/dist/planmagnet/controls/ConfirmButton.js +1 -2
- package/dist/planmagnet/controls/CustomFieldControls.d.ts +0 -1
- package/dist/planmagnet/controls/CustomFieldControls.js +2 -3
- package/dist/planmagnet/controls/CustomFieldValuesPanel.d.ts +1 -3
- package/dist/planmagnet/controls/CustomFieldValuesPanel.js +30 -26
- package/dist/planmagnet/controls/FeatureControls.d.ts +3 -4
- package/dist/planmagnet/controls/FeatureControls.js +88 -92
- package/dist/planmagnet/controls/FeatureTriage.d.ts +1 -2
- package/dist/planmagnet/controls/FeatureTriage.js +2 -3
- package/dist/planmagnet/controls/FeedbackControls.d.ts +6 -7
- package/dist/planmagnet/controls/FeedbackControls.js +2 -3
- package/dist/planmagnet/controls/LiveStatus.d.ts +1 -3
- package/dist/planmagnet/controls/LiveStatus.js +1 -2
- package/dist/planmagnet/controls/MilestoneControls.d.ts +1 -2
- package/dist/planmagnet/controls/MilestoneControls.js +4 -8
- package/dist/planmagnet/controls/ObjectiveControls.d.ts +2 -3
- package/dist/planmagnet/controls/ObjectiveControls.js +38 -42
- package/dist/planmagnet/controls/Pickers.d.ts +11 -12
- package/dist/planmagnet/controls/Pickers.js +1 -2
- package/dist/planmagnet/controls/PortfolioControls.d.ts +1 -2
- package/dist/planmagnet/controls/PortfolioControls.js +12 -13
- package/dist/planmagnet/controls/PrioritizationControls.d.ts +3 -4
- package/dist/planmagnet/controls/PrioritizationControls.js +20 -21
- package/dist/planmagnet/controls/ProgramControls.d.ts +2 -3
- package/dist/planmagnet/controls/ProgramControls.js +27 -28
- package/dist/planmagnet/controls/ProjectControls.d.ts +1 -2
- package/dist/planmagnet/controls/ProjectControls.js +14 -15
- package/dist/planmagnet/controls/QualityGateControls.d.ts +5 -7
- package/dist/planmagnet/controls/QualityGateControls.js +37 -41
- package/dist/planmagnet/controls/ReleaseControls.d.ts +1 -2
- package/dist/planmagnet/controls/ReleaseControls.js +12 -13
- package/dist/planmagnet/controls/RiskControls.d.ts +1 -2
- package/dist/planmagnet/controls/RiskControls.js +3 -7
- package/dist/planmagnet/controls/SyncControls.d.ts +12 -14
- package/dist/planmagnet/controls/SyncControls.js +183 -187
- package/dist/planmagnet/controls/TemplateControls.d.ts +1 -2
- package/dist/planmagnet/controls/TemplateControls.js +9 -10
- package/dist/planmagnet/controls/WebhookSubscriptionControls.d.ts +8 -10
- package/dist/planmagnet/controls/WebhookSubscriptionControls.js +54 -54
- package/dist/planmagnet/controls/WorkItemControls.d.ts +6 -7
- package/dist/planmagnet/controls/WorkItemControls.js +24 -25
- package/dist/planmagnet/create/CreateDialogs.d.ts +6 -8
- package/dist/planmagnet/create/CreateDialogs.js +9 -10
- package/dist/planmagnet/dashboards/DashboardUI.d.ts +5 -7
- package/dist/planmagnet/dashboards/DashboardUI.js +1 -2
- package/dist/planmagnet/dashboards/cards/DeliveryTimelineCard.d.ts +1 -2
- package/dist/planmagnet/dashboards/cards/DeliveryTimelineCard.js +1 -2
- package/dist/planmagnet/dashboards/cards/ObjectivesProgressCard.d.ts +1 -2
- package/dist/planmagnet/dashboards/cards/ObjectivesProgressCard.js +1 -2
- package/dist/planmagnet/dashboards/cards/PortfolioHealthCard.d.ts +1 -2
- package/dist/planmagnet/dashboards/cards/PortfolioHealthCard.js +2 -3
- package/dist/planmagnet/dashboards/cards/QualityMetricsCard.d.ts +1 -2
- package/dist/planmagnet/dashboards/cards/QualityMetricsCard.js +1 -2
- package/dist/planmagnet/dashboards/cards/RiskSeverityCard.d.ts +1 -2
- package/dist/planmagnet/dashboards/cards/RiskSeverityCard.js +2 -3
- package/dist/planmagnet/dashboards/cards/RoadmapHorizonCard.d.ts +1 -2
- package/dist/planmagnet/dashboards/cards/RoadmapHorizonCard.js +1 -2
- package/dist/planmagnet/dashboards/cards/SprintCapacityCard.d.ts +1 -2
- package/dist/planmagnet/dashboards/cards/SprintCapacityCard.js +8 -9
- package/dist/planmagnet/dashboards/cards/TaskCompletionCard.d.ts +1 -2
- package/dist/planmagnet/dashboards/cards/TaskCompletionCard.js +9 -10
- package/dist/planmagnet/dashboards/cards/TeamCapacityCard.d.ts +1 -2
- package/dist/planmagnet/dashboards/cards/TeamCapacityCard.js +1 -2
- package/dist/planmagnet/dashboards/cards/TeamOverviewCard.d.ts +1 -2
- package/dist/planmagnet/dashboards/cards/TeamOverviewCard.js +6 -7
- package/dist/planmagnet/dashboards/cards/TeamWorkloadCard.d.ts +1 -2
- package/dist/planmagnet/dashboards/cards/TeamWorkloadCard.js +12 -13
- package/dist/planmagnet/dashboards/cards/TimeLoggedCard.d.ts +1 -2
- package/dist/planmagnet/dashboards/cards/TimeLoggedCard.js +9 -10
- package/dist/planmagnet/dependency/DependencyGraph.d.ts +1 -2
- package/dist/planmagnet/dependency/DependencyGraph.js +14 -15
- package/dist/planmagnet/dependency/DependencyPanel.d.ts +1 -2
- package/dist/planmagnet/dependency/DependencyPanel.js +33 -34
- package/dist/planmagnet/dependency/GanttChart.d.ts +1 -2
- package/dist/planmagnet/dependency/GanttChart.js +7 -8
- package/dist/planmagnet/dependency/useProjectWorkItemsGraph.d.ts +0 -2
- package/dist/planmagnet/dependency/useProjectWorkItemsGraph.js +1 -2
- package/dist/planmagnet/discussion/WorkItemDiscussionPanel.d.ts +1 -2
- package/dist/planmagnet/discussion/WorkItemDiscussionPanel.js +13 -14
- package/dist/planmagnet/docs/DocDiffView.d.ts +1 -3
- package/dist/planmagnet/docs/DocDiffView.js +1 -2
- package/dist/planmagnet/docs/DocStatusBadge.d.ts +1 -2
- package/dist/planmagnet/docs/DocStatusBadge.js +1 -2
- package/dist/planmagnet/docs/DocSuggestionsPanel.d.ts +1 -2
- package/dist/planmagnet/docs/DocSuggestionsPanel.js +12 -13
- package/dist/planmagnet/docs/DocVersionCompare.d.ts +1 -2
- package/dist/planmagnet/docs/DocVersionCompare.js +4 -5
- package/dist/planmagnet/export/ExportWorkItemsButton.d.ts +1 -2
- package/dist/planmagnet/export/ExportWorkItemsButton.js +3 -4
- package/dist/planmagnet/export/workItemsCsv.d.ts +0 -1
- package/dist/planmagnet/export/workItemsCsv.js +2 -3
- package/dist/planmagnet/forecast/DeliveryForecastCard.d.ts +1 -2
- package/dist/planmagnet/forecast/DeliveryForecastCard.js +1 -2
- package/dist/planmagnet/forecast/ProjectOutlookCard.d.ts +1 -2
- package/dist/planmagnet/forecast/ProjectOutlookCard.js +5 -6
- package/dist/planmagnet/forecast/ProjectRiskSummaryCard.d.ts +1 -2
- package/dist/planmagnet/forecast/ProjectRiskSummaryCard.js +14 -12
- package/dist/planmagnet/forecast/ResourceForecastCard.d.ts +1 -2
- package/dist/planmagnet/forecast/ResourceForecastCard.js +1 -2
- package/dist/planmagnet/forecast/riskFlags.d.ts +0 -2
- package/dist/planmagnet/forecast/riskFlags.js +2 -3
- package/dist/planmagnet/gotomarket/PersonaLibraryPage.d.ts +8 -0
- package/dist/planmagnet/gotomarket/PersonaLibraryPage.js +901 -0
- package/dist/planmagnet/gotomarket/ProductLaunchPage.d.ts +2 -0
- package/dist/planmagnet/gotomarket/ProductLaunchPage.js +1381 -0
- package/dist/planmagnet/gotomarket/ProductLaunchesCard.d.ts +10 -0
- package/dist/planmagnet/gotomarket/ProductLaunchesCard.js +225 -0
- package/dist/planmagnet/gotomarket/ProductMarketSizingCard.d.ts +9 -0
- package/dist/planmagnet/gotomarket/ProductMarketSizingCard.js +510 -0
- package/dist/planmagnet/gotomarket/launchOperations.d.ts +23 -0
- package/dist/planmagnet/gotomarket/launchOperations.js +298 -0
- package/dist/planmagnet/gotomarket/marketSizingOperations.d.ts +9 -0
- package/dist/planmagnet/gotomarket/marketSizingOperations.js +48 -0
- package/dist/planmagnet/gotomarket/personaOperations.d.ts +17 -0
- package/dist/planmagnet/gotomarket/personaOperations.js +157 -0
- package/dist/planmagnet/gotomarket/prm04UpdateInputs.d.ts +71 -0
- package/dist/planmagnet/gotomarket/prm04UpdateInputs.js +45 -0
- package/dist/planmagnet/hooks/useCounts.d.ts +0 -1
- package/dist/planmagnet/hooks/useCounts.js +1 -2
- package/dist/planmagnet/hooks/useEntityId.d.ts +0 -1
- package/dist/planmagnet/hooks/useEntityId.js +1 -2
- package/dist/planmagnet/hooks/useLiveRefresh.d.ts +0 -1
- package/dist/planmagnet/hooks/useLiveRefresh.js +7 -22
- package/dist/planmagnet/hooks/usePresence.d.ts +0 -1
- package/dist/planmagnet/hooks/usePresence.js +3 -7
- package/dist/planmagnet/hooks/useProjectWorkflow.d.ts +0 -1
- package/dist/planmagnet/hooks/useProjectWorkflow.js +1 -2
- package/dist/planmagnet/import/exportColumns.d.ts +0 -1
- package/dist/planmagnet/import/exportColumns.js +1 -2
- package/dist/planmagnet/index.d.ts +2 -2
- package/dist/planmagnet/index.js +9 -8
- package/dist/planmagnet/integrations/routes.d.ts +0 -1
- package/dist/planmagnet/integrations/routes.js +1 -2
- package/dist/planmagnet/integrations/syncTypes.d.ts +0 -1
- package/dist/planmagnet/integrations/syncTypes.js +2 -3
- package/dist/planmagnet/integrations/useSyncProviderCapabilities.d.ts +0 -2
- package/dist/planmagnet/integrations/useSyncProviderCapabilities.js +1 -2
- package/dist/planmagnet/links/CodeLinksPanel.d.ts +1 -2
- package/dist/planmagnet/links/CodeLinksPanel.js +1 -2
- package/dist/planmagnet/links/IssueLinksPanel.d.ts +1 -2
- package/dist/planmagnet/links/IssueLinksPanel.js +12 -13
- package/dist/planmagnet/meetings/MeetingActionItemsPanel.d.ts +1 -2
- package/dist/planmagnet/meetings/MeetingActionItemsPanel.js +25 -26
- package/dist/planmagnet/meetings/MeetingsCard.d.ts +1 -2
- package/dist/planmagnet/meetings/MeetingsCard.js +9 -10
- package/dist/planmagnet/meetings/ScheduleCeremoniesDialog.d.ts +1 -2
- package/dist/planmagnet/meetings/ScheduleCeremoniesDialog.js +5 -6
- package/dist/planmagnet/meetings/ScheduleMeetingDialog.d.ts +1 -3
- package/dist/planmagnet/meetings/ScheduleMeetingDialog.js +32 -34
- package/dist/planmagnet/meetings/UnlinkMeetingDialog.d.ts +1 -2
- package/dist/planmagnet/meetings/UnlinkMeetingDialog.js +27 -29
- package/dist/planmagnet/meetings/meetingActions.d.ts +0 -2
- package/dist/planmagnet/meetings/meetingActions.js +27 -28
- package/dist/planmagnet/meetings/meetingGraphql.d.ts +0 -1
- package/dist/planmagnet/meetings/meetingGraphql.js +1 -2
- package/dist/planmagnet/meetings/meetingModel.d.ts +0 -1
- package/dist/planmagnet/meetings/meetingModel.js +3 -4
- package/dist/planmagnet/milestones/MilestoneControls.d.ts +4 -5
- package/dist/planmagnet/milestones/MilestoneControls.js +29 -30
- package/dist/planmagnet/pages/ActivityActivityPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ActivityActivityPagePage.js +19 -20
- package/dist/planmagnet/pages/AiActivityPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/AiActivityPagePage.js +1 -2
- package/dist/planmagnet/pages/AiPlanPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/AiPlanPagePage.js +153 -115
- package/dist/planmagnet/pages/AnalyticsAnalyticsPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/AnalyticsAnalyticsPagePage.js +283 -284
- package/dist/planmagnet/pages/AutomationAutomationRuleDetailPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/AutomationAutomationRuleDetailPagePage.js +38 -42
- package/dist/planmagnet/pages/AutomationAutomationRulesPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/AutomationAutomationRulesPagePage.js +18 -19
- package/dist/planmagnet/pages/AutomationCreateAutomationRulePagePage.d.ts +1 -2
- package/dist/planmagnet/pages/AutomationCreateAutomationRulePagePage.js +13 -14
- package/dist/planmagnet/pages/CompetitorsCompetitorDetailPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/CompetitorsCompetitorDetailPagePage.js +1 -2
- package/dist/planmagnet/pages/CompetitorsCompetitorsPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/CompetitorsCompetitorsPagePage.js +1 -2
- package/dist/planmagnet/pages/CompetitorsCreateCompetitorPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/CompetitorsCreateCompetitorPagePage.js +6 -7
- package/dist/planmagnet/pages/CompetitorsEditCompetitorPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/CompetitorsEditCompetitorPagePage.js +17 -21
- package/dist/planmagnet/pages/DashboardDashboardPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/DashboardDashboardPagePage.js +25 -26
- package/dist/planmagnet/pages/DashboardsExecutivePagePage.d.ts +1 -2
- package/dist/planmagnet/pages/DashboardsExecutivePagePage.js +18 -19
- package/dist/planmagnet/pages/DashboardsLeadershipPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/DashboardsLeadershipPagePage.js +11 -12
- package/dist/planmagnet/pages/DashboardsProjectManagerPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/DashboardsProjectManagerPagePage.js +33 -34
- package/dist/planmagnet/pages/DashboardsTeamUtilizationPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/DashboardsTeamUtilizationPagePage.js +23 -24
- package/dist/planmagnet/pages/DocsDocDetailPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/DocsDocDetailPagePage.js +110 -111
- package/dist/planmagnet/pages/DocsDocsPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/DocsDocsPagePage.js +30 -31
- package/dist/planmagnet/pages/GoalsCreateObjectivePagePage.d.ts +1 -2
- package/dist/planmagnet/pages/GoalsCreateObjectivePagePage.js +7 -8
- package/dist/planmagnet/pages/GoalsGoalsPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/GoalsGoalsPagePage.js +1 -2
- package/dist/planmagnet/pages/GoalsObjectiveDetailPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/GoalsObjectiveDetailPagePage.js +21 -22
- package/dist/planmagnet/pages/IntegrationsNewSyncPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/IntegrationsNewSyncPagePage.js +168 -172
- package/dist/planmagnet/pages/IntegrationsSyncDetailPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/IntegrationsSyncDetailPagePage.js +60 -61
- package/dist/planmagnet/pages/IntegrationsSyncsPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/IntegrationsSyncsPagePage.js +25 -26
- package/dist/planmagnet/pages/IntegrationsWebhooksPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/IntegrationsWebhooksPagePage.js +1 -2
- package/dist/planmagnet/pages/MeetingsMeetingDetailPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/MeetingsMeetingDetailPagePage.js +23 -24
- package/dist/planmagnet/pages/MeetingsMeetingsPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/MeetingsMeetingsPagePage.js +18 -19
- package/dist/planmagnet/pages/NotFoundPage.d.ts +1 -2
- package/dist/planmagnet/pages/NotFoundPage.js +1 -2
- package/dist/planmagnet/pages/PortfoliosCreatePortfolioPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/PortfoliosCreatePortfolioPagePage.js +1 -2
- package/dist/planmagnet/pages/PortfoliosEditPortfolioPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/PortfoliosEditPortfolioPagePage.js +12 -16
- package/dist/planmagnet/pages/PortfoliosPortfolioDetailPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/PortfoliosPortfolioDetailPagePage.js +17 -18
- package/dist/planmagnet/pages/PortfoliosPortfoliosPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/PortfoliosPortfoliosPagePage.js +9 -10
- package/dist/planmagnet/pages/ProductsCreateProductPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProductsCreateProductPagePage.js +8 -9
- package/dist/planmagnet/pages/ProductsCreateRoadmapPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProductsCreateRoadmapPagePage.js +1 -2
- package/dist/planmagnet/pages/ProductsCustomerSatisfactionPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProductsCustomerSatisfactionPagePage.js +57 -59
- package/dist/planmagnet/pages/ProductsEditProductPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProductsEditProductPagePage.js +13 -14
- package/dist/planmagnet/pages/ProductsEditReleasePagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProductsEditReleasePagePage.js +14 -18
- package/dist/planmagnet/pages/ProductsEditRoadmapPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProductsEditRoadmapPagePage.js +12 -13
- package/dist/planmagnet/pages/ProductsFeatureAnalyticsPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProductsFeatureAnalyticsPagePage.js +1 -2
- package/dist/planmagnet/pages/ProductsFeatureDetailPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProductsFeatureDetailPagePage.js +23 -24
- package/dist/planmagnet/pages/ProductsFeaturesPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProductsFeaturesPagePage.js +34 -35
- package/dist/planmagnet/pages/ProductsNewFeaturePagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProductsNewFeaturePagePage.js +13 -14
- package/dist/planmagnet/pages/ProductsPrioritizationPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProductsPrioritizationPagePage.js +21 -22
- package/dist/planmagnet/pages/ProductsProductDetailPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProductsProductDetailPagePage.js +132 -102
- package/dist/planmagnet/pages/ProductsProductFeatureDetailPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProductsProductFeatureDetailPagePage.js +11 -12
- package/dist/planmagnet/pages/ProductsProductHierarchyPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProductsProductHierarchyPagePage.js +86 -87
- package/dist/planmagnet/pages/ProductsProductLinesPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProductsProductLinesPagePage.js +11 -12
- package/dist/planmagnet/pages/ProductsProductsPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProductsProductsPagePage.js +109 -99
- package/dist/planmagnet/pages/ProductsReleaseDetailPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProductsReleaseDetailPagePage.js +15 -16
- package/dist/planmagnet/pages/ProductsReleasesPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProductsReleasesPagePage.js +6 -7
- package/dist/planmagnet/pages/ProductsRoadmapAnalyticsPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProductsRoadmapAnalyticsPagePage.js +10 -11
- package/dist/planmagnet/pages/ProductsRoadmapDetailPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProductsRoadmapDetailPagePage.js +37 -38
- package/dist/planmagnet/pages/ProductsRoadmapsPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProductsRoadmapsPagePage.js +5 -6
- package/dist/planmagnet/pages/ProgramsCreateProgramPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProgramsCreateProgramPagePage.js +5 -6
- package/dist/planmagnet/pages/ProgramsEditProgramPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProgramsEditProgramPagePage.js +14 -18
- package/dist/planmagnet/pages/ProgramsProgramDetailPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProgramsProgramDetailPagePage.js +1 -2
- package/dist/planmagnet/pages/ProgramsProgramsPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProgramsProgramsPagePage.js +8 -9
- package/dist/planmagnet/pages/ProjectsActiveProjectsPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProjectsActiveProjectsPagePage.js +5 -6
- package/dist/planmagnet/pages/ProjectsAtRiskPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProjectsAtRiskPagePage.js +35 -33
- package/dist/planmagnet/pages/ProjectsBudgetDetailPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProjectsBudgetDetailPagePage.js +45 -46
- package/dist/planmagnet/pages/ProjectsBudgetsPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProjectsBudgetsPagePage.js +38 -39
- package/dist/planmagnet/pages/ProjectsCreateProjectPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProjectsCreateProjectPagePage.js +2 -3
- package/dist/planmagnet/pages/ProjectsCriticalPathPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProjectsCriticalPathPagePage.js +6 -7
- package/dist/planmagnet/pages/ProjectsCustomFieldsPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProjectsCustomFieldsPagePage.js +21 -22
- package/dist/planmagnet/pages/ProjectsEditProjectPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProjectsEditProjectPagePage.js +17 -18
- package/dist/planmagnet/pages/ProjectsGanttPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProjectsGanttPagePage.js +11 -12
- package/dist/planmagnet/pages/ProjectsMilestoneDetailPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProjectsMilestoneDetailPagePage.js +11 -12
- package/dist/planmagnet/pages/ProjectsMilestonesPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProjectsMilestonesPagePage.js +13 -14
- package/dist/planmagnet/pages/ProjectsPlanningDetailPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProjectsPlanningDetailPagePage.js +28 -29
- package/dist/planmagnet/pages/ProjectsPlanningEditPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProjectsPlanningEditPagePage.js +11 -12
- package/dist/planmagnet/pages/ProjectsPlanningPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProjectsPlanningPagePage.js +5 -6
- package/dist/planmagnet/pages/ProjectsProjectDetailPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProjectsProjectDetailPagePage.js +60 -61
- package/dist/planmagnet/pages/ProjectsProjectsPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProjectsProjectsPagePage.js +12 -13
- package/dist/planmagnet/pages/ProjectsQualityGatesPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProjectsQualityGatesPagePage.js +23 -24
- package/dist/planmagnet/pages/ProjectsWorkflowPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ProjectsWorkflowPagePage.js +32 -33
- package/dist/planmagnet/pages/ReportsCreateReportPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ReportsCreateReportPagePage.js +1 -2
- package/dist/planmagnet/pages/ReportsEditReportPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ReportsEditReportPagePage.js +1 -2
- package/dist/planmagnet/pages/ReportsReportPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ReportsReportPagePage.js +35 -36
- package/dist/planmagnet/pages/ReportsReportsPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/ReportsReportsPagePage.js +34 -35
- package/dist/planmagnet/pages/RisksRiskDetailPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/RisksRiskDetailPagePage.js +11 -12
- package/dist/planmagnet/pages/RisksRiskRegisterPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/RisksRiskRegisterPagePage.js +19 -20
- package/dist/planmagnet/pages/SprintsStartSprintPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/SprintsStartSprintPagePage.js +21 -22
- package/dist/planmagnet/pages/TasksCreateTaskPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/TasksCreateTaskPagePage.js +16 -17
- package/dist/planmagnet/pages/TasksEditTaskPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/TasksEditTaskPagePage.js +21 -25
- package/dist/planmagnet/pages/TasksImportPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/TasksImportPagePage.js +1 -2
- package/dist/planmagnet/pages/TasksMyDashboardPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/TasksMyDashboardPagePage.js +39 -40
- package/dist/planmagnet/pages/TasksMyWorkPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/TasksMyWorkPagePage.js +11 -12
- package/dist/planmagnet/pages/TasksTaskDetailPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/TasksTaskDetailPagePage.js +73 -74
- package/dist/planmagnet/pages/TasksTasksPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/TasksTasksPagePage.js +11 -12
- package/dist/planmagnet/pages/TasksTimeEntriesPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/TasksTimeEntriesPagePage.js +39 -40
- package/dist/planmagnet/pages/TasksTimesheetDetailPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/TasksTimesheetDetailPagePage.js +32 -33
- package/dist/planmagnet/pages/TasksTimesheetsPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/TasksTimesheetsPagePage.js +36 -37
- package/dist/planmagnet/pages/TeamCreateTeamPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/TeamCreateTeamPagePage.js +11 -12
- package/dist/planmagnet/pages/TeamInviteMemberPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/TeamInviteMemberPagePage.js +69 -71
- package/dist/planmagnet/pages/TeamTeamDetailPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/TeamTeamDetailPagePage.js +16 -17
- package/dist/planmagnet/pages/TeamTeamEditPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/TeamTeamEditPagePage.js +10 -11
- package/dist/planmagnet/pages/TeamTeamPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/TeamTeamPagePage.js +1 -2
- package/dist/planmagnet/pages/TeamTeamsListPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/TeamTeamsListPagePage.js +5 -6
- package/dist/planmagnet/pages/TemplatesEditTemplatePagePage.d.ts +1 -2
- package/dist/planmagnet/pages/TemplatesEditTemplatePagePage.js +15 -19
- package/dist/planmagnet/pages/TemplatesTemplatesPagePage.d.ts +1 -2
- package/dist/planmagnet/pages/TemplatesTemplatesPagePage.js +12 -13
- package/dist/planmagnet/pages/analytics/DeliveryHealthCards.d.ts +3 -4
- package/dist/planmagnet/pages/analytics/DeliveryHealthCards.js +1 -2
- package/dist/planmagnet/pages/analytics/DeliveryKpisCard.d.ts +1 -2
- package/dist/planmagnet/pages/analytics/DeliveryKpisCard.js +7 -8
- package/dist/planmagnet/pages/analytics/MetricsCard.d.ts +1 -2
- package/dist/planmagnet/pages/analytics/MetricsCard.js +1 -2
- package/dist/planmagnet/pages/analytics/QualityMetricsCard.d.ts +1 -2
- package/dist/planmagnet/pages/analytics/QualityMetricsCard.js +27 -28
- package/dist/planmagnet/pages/analytics/SprintDeliveryCards.d.ts +2 -3
- package/dist/planmagnet/pages/analytics/SprintDeliveryCards.js +53 -54
- package/dist/planmagnet/pages/analytics/StatusFlowCard.d.ts +1 -2
- package/dist/planmagnet/pages/analytics/StatusFlowCard.js +29 -30
- package/dist/planmagnet/pages/analytics/ThroughputCard.d.ts +1 -2
- package/dist/planmagnet/pages/analytics/ThroughputCard.js +18 -19
- package/dist/planmagnet/pages/analytics/WorkBreakdownCard.d.ts +1 -2
- package/dist/planmagnet/pages/analytics/WorkBreakdownCard.js +35 -34
- package/dist/planmagnet/pages/analytics/analyticsRange.d.ts +0 -1
- package/dist/planmagnet/pages/analytics/analyticsRange.js +2 -3
- package/dist/planmagnet/people/People.d.ts +4 -6
- package/dist/planmagnet/people/People.js +9 -10
- package/dist/planmagnet/presence/PresenceAvatars.d.ts +2 -4
- package/dist/planmagnet/presence/PresenceAvatars.js +1 -2
- package/dist/planmagnet/product/FeatureLinkPanels.d.ts +2 -3
- package/dist/planmagnet/product/FeatureLinkPanels.js +96 -97
- package/dist/planmagnet/product/ProductControls.d.ts +7 -8
- package/dist/planmagnet/product/ProductControls.js +148 -149
- package/dist/planmagnet/product/ProductFeatureControls.d.ts +4 -5
- package/dist/planmagnet/product/ProductFeatureControls.js +80 -81
- package/dist/planmagnet/product/ProductFeatureLinkCard.d.ts +1 -2
- package/dist/planmagnet/product/ProductFeatureLinkCard.js +24 -25
- package/dist/planmagnet/product/ProductLineControls.d.ts +4 -5
- package/dist/planmagnet/product/ProductLineControls.js +147 -148
- package/dist/planmagnet/product/ProductTeamsPanel.d.ts +1 -2
- package/dist/planmagnet/product/ProductTeamsPanel.js +19 -20
- package/dist/planmagnet/product/WorkItemProductFeatureChip.d.ts +1 -2
- package/dist/planmagnet/product/WorkItemProductFeatureChip.js +4 -5
- package/dist/planmagnet/product/hierarchy.d.ts +0 -1
- package/dist/planmagnet/product/hierarchy.js +2 -3
- package/dist/planmagnet/product/hierarchyOperations.d.ts +0 -1
- package/dist/planmagnet/product/hierarchyOperations.js +1 -2
- package/dist/planmagnet/product/refusal.d.ts +0 -1
- package/dist/planmagnet/product/refusal.js +1 -2
- package/dist/planmagnet/product/routes.d.ts +4 -1
- package/dist/planmagnet/product/routes.js +3 -4
- package/dist/planmagnet/providers/PlanMagnetProvider.d.ts +9 -5
- package/dist/planmagnet/providers/PlanMagnetProvider.js +131 -105
- package/dist/planmagnet/releases/ReleaseChecklistCard.d.ts +1 -2
- package/dist/planmagnet/releases/ReleaseChecklistCard.js +7 -8
- package/dist/planmagnet/releases/ReleaseGatesCard.d.ts +1 -2
- package/dist/planmagnet/releases/ReleaseGatesCard.js +2 -3
- package/dist/planmagnet/releases/ReleaseNotesCard.d.ts +1 -2
- package/dist/planmagnet/releases/ReleaseNotesCard.js +3 -3
- package/dist/planmagnet/releases/ReleaseReadinessCard.d.ts +1 -2
- package/dist/planmagnet/releases/ReleaseReadinessCard.js +4 -5
- package/dist/planmagnet/releases/ReleaseWorkItemsCard.d.ts +1 -2
- package/dist/planmagnet/releases/ReleaseWorkItemsCard.js +1 -2
- package/dist/planmagnet/releases/useReleaseOptions.d.ts +0 -1
- package/dist/planmagnet/releases/useReleaseOptions.js +1 -2
- package/dist/planmagnet/reports/ExportMenu.d.ts +1 -3
- package/dist/planmagnet/reports/ExportMenu.js +1 -2
- package/dist/planmagnet/reports/PrintReportView.d.ts +1 -3
- package/dist/planmagnet/reports/PrintReportView.js +1 -2
- package/dist/planmagnet/reports/ReportBuilderCanvas.d.ts +1 -3
- package/dist/planmagnet/reports/ReportBuilderCanvas.js +40 -41
- package/dist/planmagnet/reports/ReportBuilderPage.d.ts +1 -2
- package/dist/planmagnet/reports/ReportBuilderPage.js +56 -57
- package/dist/planmagnet/reports/ReportRunHistory.d.ts +1 -2
- package/dist/planmagnet/reports/ReportRunHistory.js +1 -2
- package/dist/planmagnet/reports/ReportWidgetRenderer.d.ts +1 -3
- package/dist/planmagnet/reports/ReportWidgetRenderer.js +45 -42
- package/dist/planmagnet/reports/SchedulesPanel.d.ts +1 -2
- package/dist/planmagnet/reports/SchedulesPanel.js +34 -35
- package/dist/planmagnet/reports/ShareDialog.d.ts +1 -2
- package/dist/planmagnet/reports/ShareDialog.js +38 -39
- package/dist/planmagnet/reports/SharedReportPage.d.ts +1 -2
- package/dist/planmagnet/reports/SharedReportPage.js +1 -2
- package/dist/planmagnet/reports/WidgetEditorDialog.d.ts +1 -3
- package/dist/planmagnet/reports/WidgetEditorDialog.js +22 -23
- package/dist/planmagnet/reports/reportExportPptx.d.ts +0 -2
- package/dist/planmagnet/reports/reportExportPptx.js +10 -15
- package/dist/planmagnet/reports/reportExportXlsx.d.ts +0 -2
- package/dist/planmagnet/reports/reportExportXlsx.js +1 -2
- package/dist/planmagnet/reports/reportGraphql.d.ts +0 -1
- package/dist/planmagnet/reports/reportGraphql.js +1 -2
- package/dist/planmagnet/reports/reportModel.d.ts +0 -1
- package/dist/planmagnet/reports/reportModel.js +4 -5
- package/dist/planmagnet/reports/sharedReportRoute.d.ts +0 -1
- package/dist/planmagnet/reports/sharedReportRoute.js +1 -2
- package/dist/planmagnet/retiredRoutes.d.ts +15 -0
- package/dist/planmagnet/retiredRoutes.js +12 -0
- package/dist/planmagnet/roadmaps/FeatureInitiativeCard.d.ts +1 -2
- package/dist/planmagnet/roadmaps/FeatureInitiativeCard.js +9 -10
- package/dist/planmagnet/roadmaps/RoadmapControls.d.ts +3 -4
- package/dist/planmagnet/roadmaps/RoadmapControls.js +145 -146
- package/dist/planmagnet/roadmaps/RoadmapNowNextLater.d.ts +3 -4
- package/dist/planmagnet/roadmaps/RoadmapNowNextLater.js +22 -23
- package/dist/planmagnet/roadmaps/RoadmapPresentation.d.ts +1 -2
- package/dist/planmagnet/roadmaps/RoadmapPresentation.js +1 -2
- package/dist/planmagnet/roadmaps/RoadmapReviewPanel.d.ts +1 -2
- package/dist/planmagnet/roadmaps/RoadmapReviewPanel.js +24 -25
- package/dist/planmagnet/roadmaps/RoadmapVersionsPanel.d.ts +1 -2
- package/dist/planmagnet/roadmaps/RoadmapVersionsPanel.js +13 -14
- package/dist/planmagnet/roadmaps/planningFocus.d.ts +2 -3
- package/dist/planmagnet/roadmaps/planningFocus.js +1 -2
- package/dist/planmagnet/satisfaction/DeliverySatisfactionSection.d.ts +1 -2
- package/dist/planmagnet/satisfaction/DeliverySatisfactionSection.js +9 -10
- package/dist/planmagnet/satisfaction/SatisfactionFigures.d.ts +2 -4
- package/dist/planmagnet/satisfaction/SatisfactionFigures.js +2 -3
- package/dist/planmagnet/satisfaction/SatisfactionImportDialog.d.ts +1 -3
- package/dist/planmagnet/satisfaction/SatisfactionImportDialog.js +102 -104
- package/dist/planmagnet/satisfaction/SatisfactionLinkFields.d.ts +1 -3
- package/dist/planmagnet/satisfaction/SatisfactionLinkFields.js +6 -7
- package/dist/planmagnet/satisfaction/SatisfactionReleaseSelect.d.ts +1 -2
- package/dist/planmagnet/satisfaction/SatisfactionReleaseSelect.js +9 -10
- package/dist/planmagnet/satisfaction/SatisfactionResponseDialog.d.ts +1 -3
- package/dist/planmagnet/satisfaction/SatisfactionResponseDialog.js +94 -95
- package/dist/planmagnet/satisfaction/SatisfactionResponsesTable.d.ts +1 -3
- package/dist/planmagnet/satisfaction/SatisfactionResponsesTable.js +88 -89
- package/dist/planmagnet/satisfaction/SatisfactionSummaryCard.d.ts +1 -3
- package/dist/planmagnet/satisfaction/SatisfactionSummaryCard.js +11 -12
- package/dist/planmagnet/satisfaction/SatisfactionWindowPicker.d.ts +1 -3
- package/dist/planmagnet/satisfaction/SatisfactionWindowPicker.js +8 -9
- package/dist/planmagnet/satisfaction/satisfaction.d.ts +0 -1
- package/dist/planmagnet/satisfaction/satisfaction.js +4 -5
- package/dist/planmagnet/satisfaction/satisfactionCsv.d.ts +0 -2
- package/dist/planmagnet/satisfaction/satisfactionCsv.js +9 -18
- package/dist/planmagnet/satisfaction/satisfactionForm.d.ts +0 -2
- package/dist/planmagnet/satisfaction/satisfactionForm.js +2 -3
- package/dist/planmagnet/satisfaction/satisfactionOperations.d.ts +0 -2
- package/dist/planmagnet/satisfaction/satisfactionOperations.js +1 -2
- package/dist/planmagnet/satisfaction/useSatisfactionAccess.d.ts +0 -1
- package/dist/planmagnet/satisfaction/useSatisfactionAccess.js +1 -2
- package/dist/planmagnet/skills/RequiredSkillsEditor.d.ts +2 -3
- package/dist/planmagnet/skills/RequiredSkillsEditor.js +1 -2
- package/dist/planmagnet/skills/SkillChips.d.ts +3 -5
- package/dist/planmagnet/skills/SkillChips.js +1 -2
- package/dist/planmagnet/skills/SkillCoverageCard.d.ts +1 -2
- package/dist/planmagnet/skills/SkillCoverageCard.js +24 -25
- package/dist/planmagnet/skills/WorkItemRequiredSkills.d.ts +1 -2
- package/dist/planmagnet/skills/WorkItemRequiredSkills.js +1 -2
- package/dist/planmagnet/skills/skillOperations.d.ts +0 -1
- package/dist/planmagnet/skills/skillOperations.js +1 -2
- package/dist/planmagnet/skills/skillTags.d.ts +0 -1
- package/dist/planmagnet/skills/skillTags.js +8 -17
- package/dist/planmagnet/skills/useRequiredSkillsDraft.d.ts +0 -1
- package/dist/planmagnet/skills/useRequiredSkillsDraft.js +5 -6
- package/dist/planmagnet/sprints/SprintControls.d.ts +3 -4
- package/dist/planmagnet/sprints/SprintControls.js +2 -3
- package/dist/planmagnet/sprints/SprintDates.d.ts +1 -2
- package/dist/planmagnet/sprints/SprintDates.js +3 -4
- package/dist/planmagnet/store/planmagnetStore.d.ts +0 -1
- package/dist/planmagnet/store/planmagnetStore.js +1 -2
- package/dist/planmagnet/team/PendingInvitations.d.ts +1 -3
- package/dist/planmagnet/team/PendingInvitations.js +77 -79
- package/dist/planmagnet/team/TeamControls.d.ts +3 -4
- package/dist/planmagnet/team/TeamControls.js +44 -45
- package/dist/planmagnet/team/UnmatchedCrewIdentities.d.ts +1 -2
- package/dist/planmagnet/team/UnmatchedCrewIdentities.js +8 -9
- package/dist/planmagnet/team/invitationEmail.d.ts +0 -1
- package/dist/planmagnet/team/invitationEmail.js +1 -2
- package/dist/planmagnet/time/TaskTimePanel.d.ts +1 -2
- package/dist/planmagnet/time/TaskTimePanel.js +12 -13
- package/dist/planmagnet/time/TimeEntryControls.d.ts +3 -4
- package/dist/planmagnet/time/TimeEntryControls.js +35 -39
- package/dist/planmagnet/time/TimesheetControls.d.ts +3 -4
- package/dist/planmagnet/time/TimesheetControls.js +1 -2
- package/dist/planmagnet/time/timeShared.d.ts +0 -1
- package/dist/planmagnet/time/timeShared.js +11 -12
- package/dist/planmagnet/types/index.d.ts +1 -2
- package/dist/planmagnet/utils/cn.d.ts +0 -2
- package/dist/planmagnet/utils/cn.js +2 -3
- package/dist/planmagnet/utils/email.d.ts +0 -1
- package/dist/planmagnet/utils/email.js +1 -2
- package/dist/planmagnet/utils/formValidation.d.ts +0 -1
- package/dist/planmagnet/utils/formValidation.js +1 -2
- package/dist/planmagnet/utils/graphqlErrors.d.ts +0 -1
- package/dist/planmagnet/utils/graphqlErrors.js +1 -2
- package/dist/planmagnet/utils/lineDiff.d.ts +0 -1
- package/dist/planmagnet/utils/lineDiff.js +21 -24
- package/dist/planmagnet/utils/mutationResult.d.ts +0 -1
- package/dist/planmagnet/utils/mutationResult.js +1 -2
- package/dist/planmagnet/utils/navigation.d.ts +0 -1
- package/dist/planmagnet/utils/navigation.js +1 -2
- package/dist/planmagnet/utils/qualityGateCriteria.d.ts +0 -1
- package/dist/planmagnet/utils/qualityGateCriteria.js +1 -2
- package/dist/planmagnet/utils/rowNavigation.d.ts +0 -2
- package/dist/planmagnet/utils/rowNavigation.js +2 -3
- package/dist/planmagnet/utils/statusColor.d.ts +0 -1
- package/dist/planmagnet/utils/statusColor.js +1 -2
- package/dist/planmagnet/utils/urlParam.d.ts +0 -1
- package/dist/planmagnet/utils/urlParam.js +1 -2
- package/dist/planmagnet/webhooks/webhookTypes.d.ts +0 -1
- package/dist/planmagnet/webhooks/webhookTypes.js +1 -2
- package/dist/shared/hooks/useTr.d.ts +0 -1
- package/dist/shared/hooks/useTr.js +1 -2
- package/dist/shared/utils/i18n.d.ts +0 -1
- package/dist/shared/utils/i18n.js +1 -2
- package/dist/test/happydom.d.ts +1 -0
- package/package.json +89 -79
- package/dist/node_modules/d3-array/src/ascending.js +0 -6
- package/dist/node_modules/d3-array/src/bisect.js +0 -8
- package/dist/node_modules/d3-array/src/bisector.js +0 -41
- package/dist/node_modules/d3-array/src/descending.js +0 -6
- package/dist/node_modules/d3-array/src/max.js +0 -12
- package/dist/node_modules/d3-array/src/min.js +0 -12
- package/dist/node_modules/d3-array/src/number.js +0 -13
- package/dist/node_modules/d3-array/src/quantile.js +0 -23
- package/dist/node_modules/d3-array/src/quickselect.js +0 -24
- package/dist/node_modules/d3-array/src/range.js +0 -8
- package/dist/node_modules/d3-array/src/sort.js +0 -15
- package/dist/node_modules/d3-array/src/ticks.js +0 -32
- package/dist/node_modules/d3-color/src/color.js +0 -289
- package/dist/node_modules/d3-color/src/define.js +0 -11
- package/dist/node_modules/d3-format/src/defaultLocale.js +0 -13
- package/dist/node_modules/d3-format/src/exponent.js +0 -7
- package/dist/node_modules/d3-format/src/formatDecimal.js +0 -11
- package/dist/node_modules/d3-format/src/formatGroup.js +0 -9
- package/dist/node_modules/d3-format/src/formatNumerals.js +0 -10
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +0 -11
- package/dist/node_modules/d3-format/src/formatRounded.js +0 -10
- package/dist/node_modules/d3-format/src/formatSpecifier.js +0 -27
- package/dist/node_modules/d3-format/src/formatTrim.js +0 -18
- package/dist/node_modules/d3-format/src/formatTypes.js +0 -21
- package/dist/node_modules/d3-format/src/identity.js +0 -6
- package/dist/node_modules/d3-format/src/locale.js +0 -84
- package/dist/node_modules/d3-format/src/precisionFixed.js +0 -7
- package/dist/node_modules/d3-format/src/precisionPrefix.js +0 -7
- package/dist/node_modules/d3-format/src/precisionRound.js +0 -7
- package/dist/node_modules/d3-interpolate/src/array.js +0 -13
- package/dist/node_modules/d3-interpolate/src/basis.js +0 -14
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +0 -11
- package/dist/node_modules/d3-interpolate/src/color.js +0 -23
- package/dist/node_modules/d3-interpolate/src/constant.js +0 -4
- package/dist/node_modules/d3-interpolate/src/date.js +0 -9
- package/dist/node_modules/d3-interpolate/src/number.js +0 -8
- package/dist/node_modules/d3-interpolate/src/numberArray.js +0 -14
- package/dist/node_modules/d3-interpolate/src/object.js +0 -12
- package/dist/node_modules/d3-interpolate/src/piecewise.js +0 -12
- package/dist/node_modules/d3-interpolate/src/rgb.js +0 -17
- package/dist/node_modules/d3-interpolate/src/round.js +0 -8
- package/dist/node_modules/d3-interpolate/src/string.js +0 -26
- package/dist/node_modules/d3-interpolate/src/value.js +0 -16
- package/dist/node_modules/d3-scale/src/band.js +0 -50
- package/dist/node_modules/d3-scale/src/constant.js +0 -8
- package/dist/node_modules/d3-scale/src/continuous.js +0 -71
- package/dist/node_modules/d3-scale/src/diverging.js +0 -80
- package/dist/node_modules/d3-scale/src/identity.js +0 -18
- package/dist/node_modules/d3-scale/src/init.js +0 -27
- package/dist/node_modules/d3-scale/src/linear.js +0 -34
- package/dist/node_modules/d3-scale/src/log.js +0 -75
- package/dist/node_modules/d3-scale/src/nice.js +0 -8
- package/dist/node_modules/d3-scale/src/number.js +0 -6
- package/dist/node_modules/d3-scale/src/ordinal.js +0 -29
- package/dist/node_modules/d3-scale/src/pow.js +0 -35
- package/dist/node_modules/d3-scale/src/quantile.js +0 -35
- package/dist/node_modules/d3-scale/src/quantize.js +0 -31
- package/dist/node_modules/d3-scale/src/radial.js +0 -37
- package/dist/node_modules/d3-scale/src/sequential.js +0 -65
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js +0 -28
- package/dist/node_modules/d3-scale/src/symlog.js +0 -28
- package/dist/node_modules/d3-scale/src/threshold.js +0 -23
- package/dist/node_modules/d3-scale/src/tickFormat.js +0 -29
- package/dist/node_modules/d3-scale/src/time.js +0 -45
- package/dist/node_modules/d3-scale/src/utcTime.js +0 -17
- package/dist/node_modules/d3-shape/src/area.js +0 -53
- package/dist/node_modules/d3-shape/src/array.js +0 -6
- package/dist/node_modules/d3-shape/src/constant.js +0 -8
- package/dist/node_modules/d3-shape/src/curve/basis.js +0 -47
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +0 -48
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +0 -44
- package/dist/node_modules/d3-shape/src/curve/bump.js +0 -38
- package/dist/node_modules/d3-shape/src/curve/linear.js +0 -34
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +0 -23
- package/dist/node_modules/d3-shape/src/curve/monotone.js +0 -92
- package/dist/node_modules/d3-shape/src/curve/natural.js +0 -37
- package/dist/node_modules/d3-shape/src/curve/step.js +0 -45
- package/dist/node_modules/d3-shape/src/line.js +0 -28
- package/dist/node_modules/d3-shape/src/math.js +0 -6
- package/dist/node_modules/d3-shape/src/noop.js +0 -4
- package/dist/node_modules/d3-shape/src/offset/expand.js +0 -13
- package/dist/node_modules/d3-shape/src/offset/none.js +0 -6
- package/dist/node_modules/d3-shape/src/offset/silhouette.js +0 -13
- package/dist/node_modules/d3-shape/src/offset/wiggle.js +0 -19
- package/dist/node_modules/d3-shape/src/order/none.js +0 -7
- package/dist/node_modules/d3-shape/src/path.js +0 -17
- package/dist/node_modules/d3-shape/src/point.js +0 -9
- package/dist/node_modules/d3-shape/src/stack.js +0 -32
- package/dist/node_modules/d3-shape/src/symbol/circle.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/cross.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/square.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/star.js +0 -13
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/wye.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol.js +0 -21
- package/dist/node_modules/d3-time/src/day.js +0 -19
- package/dist/node_modules/d3-time/src/duration.js +0 -4
- package/dist/node_modules/d3-time/src/hour.js +0 -17
- package/dist/node_modules/d3-time/src/interval.js +0 -26
- package/dist/node_modules/d3-time/src/millisecond.js +0 -12
- package/dist/node_modules/d3-time/src/minute.js +0 -17
- package/dist/node_modules/d3-time/src/month.js +0 -16
- package/dist/node_modules/d3-time/src/second.js +0 -11
- package/dist/node_modules/d3-time/src/ticks.js +0 -123
- package/dist/node_modules/d3-time/src/week.js +0 -23
- package/dist/node_modules/d3-time/src/year.js +0 -24
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +0 -60
- package/dist/node_modules/internmap/src/index.js +0 -38
- package/dist/planmagnet/pages/WorkspaceCreateWorkspacePagePage.d.ts +0 -2
- package/dist/planmagnet/pages/WorkspaceCreateWorkspacePagePage.js +0 -100
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { enumLabel as e } from "../controls/WorkItemControls.js";
|
|
2
|
+
import { ProjectSelect as t } from "../controls/Pickers.js";
|
|
3
|
+
import { LEAVES_PAGE_CONTEXT as n, throwOnError as r } from "../utils/mutationResult.js";
|
|
4
|
+
import { ConfirmButton as i, ErrorLine as a } from "../controls/ConfirmButton.js";
|
|
5
|
+
import { usePlanMagnetNavigate as o } from "../providers/PlanMagnetProvider.js";
|
|
6
6
|
import { toDateInputValue as s } from "../time/timeShared.js";
|
|
7
7
|
import { useState as c } from "react";
|
|
8
8
|
import { CheckCircle2 as l, Pencil as u, Plus as d, Trash2 as f } from "lucide-react";
|
|
@@ -10,7 +10,7 @@ import { gql as p } from "@apollo/client";
|
|
|
10
10
|
import { useMutation as m } from "@apollo/client/react";
|
|
11
11
|
import { jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
12
12
|
import { Button as _, Input as v, ResponsiveDialog as y, ResponsiveDialogContent as b, ResponsiveDialogDescription as x, ResponsiveDialogFooter as S, ResponsiveDialogHeader as C, ResponsiveDialogTitle as w, ResponsiveDialogTrigger as T } from "@burdenoff/fe-libs/ui";
|
|
13
|
-
|
|
13
|
+
// src/planmagnet/budgets/BudgetControls.tsx
|
|
14
14
|
var E = [
|
|
15
15
|
"DRAFT",
|
|
16
16
|
"ACTIVE",
|
|
@@ -62,8 +62,8 @@ var E = [
|
|
|
62
62
|
planmagnetDeleteBudget(id: $id)
|
|
63
63
|
}
|
|
64
64
|
`, N = "mt-1 w-full rounded-md border border-input bg-background px-3 py-2 text-sm disabled:opacity-60", P = (e, t) => e instanceof Error ? e.message : t;
|
|
65
|
-
function F({ presetProjectId: e, onCreated:
|
|
66
|
-
let
|
|
65
|
+
function F({ presetProjectId: e, onCreated: n, triggerSize: i = "sm" }) {
|
|
66
|
+
let o = {
|
|
67
67
|
projectId: e ?? "",
|
|
68
68
|
name: "",
|
|
69
69
|
description: "",
|
|
@@ -71,13 +71,13 @@ function F({ presetProjectId: e, onCreated: t, triggerSize: r = "sm" }) {
|
|
|
71
71
|
currency: "USD",
|
|
72
72
|
periodStart: "",
|
|
73
73
|
periodEnd: ""
|
|
74
|
-
}, [s, l] = c(!1), [u, f] = c(
|
|
74
|
+
}, [s, l] = c(!1), [u, f] = c(o), [p, E] = c(null), [D, { loading: A }] = m(k, {
|
|
75
75
|
refetchQueries: O,
|
|
76
76
|
awaitRefetchQueries: !0
|
|
77
77
|
}), j = u.periodStart && u.periodEnd && u.periodEnd < u.periodStart, M = Number(u.plannedAmount), F = !A && u.name.trim() !== "" && !!u.projectId && Number.isFinite(M) && M >= 0 && u.currency.trim() !== "" && !j, I = async () => {
|
|
78
78
|
E(null);
|
|
79
79
|
try {
|
|
80
|
-
let e = (await
|
|
80
|
+
let e = (await r(D({ variables: { input: {
|
|
81
81
|
projectId: u.projectId,
|
|
82
82
|
name: u.name.trim(),
|
|
83
83
|
...u.description.trim() ? { description: u.description.trim() } : {},
|
|
@@ -86,7 +86,7 @@ function F({ presetProjectId: e, onCreated: t, triggerSize: r = "sm" }) {
|
|
|
86
86
|
...u.periodStart ? { periodStart: u.periodStart } : {},
|
|
87
87
|
...u.periodEnd ? { periodEnd: u.periodEnd } : {}
|
|
88
88
|
} } }))).data?.planmagnetCreateBudget.id;
|
|
89
|
-
l(!1), f(
|
|
89
|
+
l(!1), f(o), e && n?.(e);
|
|
90
90
|
} catch (e) {
|
|
91
91
|
E(P(e, "The budget could not be created."));
|
|
92
92
|
}
|
|
@@ -94,12 +94,12 @@ function F({ presetProjectId: e, onCreated: t, triggerSize: r = "sm" }) {
|
|
|
94
94
|
return /* @__PURE__ */ g(y, {
|
|
95
95
|
open: s,
|
|
96
96
|
onOpenChange: (e) => {
|
|
97
|
-
l(e), e ? f(
|
|
97
|
+
l(e), e ? f(o) : E(null);
|
|
98
98
|
},
|
|
99
99
|
children: [/* @__PURE__ */ h(T, {
|
|
100
100
|
asChild: !0,
|
|
101
101
|
children: /* @__PURE__ */ g(_, {
|
|
102
|
-
size:
|
|
102
|
+
size: i,
|
|
103
103
|
"data-testid": "new-budget-open",
|
|
104
104
|
children: [/* @__PURE__ */ h(d, { className: "mr-1 h-4 w-4" }), "New budget"]
|
|
105
105
|
})
|
|
@@ -116,7 +116,7 @@ function F({ presetProjectId: e, onCreated: t, triggerSize: r = "sm" }) {
|
|
|
116
116
|
children: "Project"
|
|
117
117
|
}), /* @__PURE__ */ h("div", {
|
|
118
118
|
className: "mt-1",
|
|
119
|
-
children: /* @__PURE__ */ h(
|
|
119
|
+
children: /* @__PURE__ */ h(t, {
|
|
120
120
|
id: "new-budget-project",
|
|
121
121
|
value: u.projectId,
|
|
122
122
|
onChange: (e) => f({
|
|
@@ -215,8 +215,8 @@ function F({ presetProjectId: e, onCreated: t, triggerSize: r = "sm" }) {
|
|
|
215
215
|
description: e.target.value
|
|
216
216
|
})
|
|
217
217
|
})] }),
|
|
218
|
-
j && /* @__PURE__ */ h(
|
|
219
|
-
p && /* @__PURE__ */ h(
|
|
218
|
+
j && /* @__PURE__ */ h(a, { message: "The period end cannot be before the period start." }),
|
|
219
|
+
p && /* @__PURE__ */ h(a, { message: p })
|
|
220
220
|
]
|
|
221
221
|
}),
|
|
222
222
|
/* @__PURE__ */ g(S, { children: [/* @__PURE__ */ h(_, {
|
|
@@ -233,8 +233,8 @@ function F({ presetProjectId: e, onCreated: t, triggerSize: r = "sm" }) {
|
|
|
233
233
|
})]
|
|
234
234
|
});
|
|
235
235
|
}
|
|
236
|
-
function I({ budget:
|
|
237
|
-
let s =
|
|
236
|
+
function I({ budget: t }) {
|
|
237
|
+
let s = o(), [u, d] = m(A, {
|
|
238
238
|
refetchQueries: O,
|
|
239
239
|
awaitRefetchQueries: !0
|
|
240
240
|
}), [p, v] = m(j, {
|
|
@@ -242,12 +242,12 @@ function I({ budget: o }) {
|
|
|
242
242
|
awaitRefetchQueries: !0
|
|
243
243
|
}), [y, b] = m(M, {
|
|
244
244
|
refetchQueries: ["BudgetsList", "ProjectBudgetsSummary"],
|
|
245
|
-
context:
|
|
246
|
-
}), [x, S] = c(null), C = d.loading || v.loading || b.loading, w = D.includes(
|
|
245
|
+
context: n
|
|
246
|
+
}), [x, S] = c(null), C = d.loading || v.loading || b.loading, w = D.includes(t.status) ? D : [t.status, ...D], T = async (e) => {
|
|
247
247
|
S(null);
|
|
248
248
|
try {
|
|
249
|
-
await
|
|
250
|
-
id:
|
|
249
|
+
await r(u({ variables: {
|
|
250
|
+
id: t.id,
|
|
251
251
|
input: { status: e }
|
|
252
252
|
} }));
|
|
253
253
|
} catch (e) {
|
|
@@ -256,14 +256,14 @@ function I({ budget: o }) {
|
|
|
256
256
|
}, E = async () => {
|
|
257
257
|
S(null);
|
|
258
258
|
try {
|
|
259
|
-
await
|
|
259
|
+
await r(p({ variables: { id: t.id } }));
|
|
260
260
|
} catch (e) {
|
|
261
261
|
S(P(e, "The budget could not be approved."));
|
|
262
262
|
}
|
|
263
263
|
}, k = async () => {
|
|
264
264
|
S(null);
|
|
265
265
|
try {
|
|
266
|
-
await
|
|
266
|
+
await r(y({ variables: { id: t.id } })), s("/projects/budgets-page");
|
|
267
267
|
} catch (e) {
|
|
268
268
|
S(P(e, "The budget could not be deleted."));
|
|
269
269
|
}
|
|
@@ -277,29 +277,29 @@ function I({ budget: o }) {
|
|
|
277
277
|
"aria-label": "Status",
|
|
278
278
|
"data-testid": "budget-status",
|
|
279
279
|
className: "rounded-md border border-input bg-background px-2 py-1 text-sm disabled:opacity-60",
|
|
280
|
-
value:
|
|
280
|
+
value: t.status,
|
|
281
281
|
disabled: C,
|
|
282
282
|
onChange: (e) => {
|
|
283
|
-
e.target.value !==
|
|
283
|
+
e.target.value !== t.status && T(e.target.value);
|
|
284
284
|
},
|
|
285
|
-
children: w.map((
|
|
286
|
-
value:
|
|
287
|
-
children:
|
|
288
|
-
},
|
|
285
|
+
children: w.map((t) => /* @__PURE__ */ h("option", {
|
|
286
|
+
value: t,
|
|
287
|
+
children: e(t)
|
|
288
|
+
}, t))
|
|
289
289
|
}),
|
|
290
|
-
|
|
290
|
+
t.status !== "APPROVED" && t.status !== "CLOSED" && /* @__PURE__ */ g(_, {
|
|
291
291
|
size: "sm",
|
|
292
292
|
variant: "outline",
|
|
293
293
|
disabled: C,
|
|
294
294
|
onClick: () => void E(),
|
|
295
295
|
children: [/* @__PURE__ */ h(l, { className: "mr-1 h-4 w-4" }), "Approve"]
|
|
296
296
|
}),
|
|
297
|
-
/* @__PURE__ */ h(L, { budget:
|
|
298
|
-
/* @__PURE__ */ h(
|
|
297
|
+
/* @__PURE__ */ h(L, { budget: t }),
|
|
298
|
+
/* @__PURE__ */ h(i, {
|
|
299
299
|
label: "Delete",
|
|
300
300
|
variant: "outline",
|
|
301
301
|
icon: /* @__PURE__ */ h(f, { className: "mr-1 h-4 w-4" }),
|
|
302
|
-
title: `Delete "${
|
|
302
|
+
title: `Delete "${t.name}"?`,
|
|
303
303
|
description: "The budget and its logged expenses are removed. This cannot be undone here.",
|
|
304
304
|
confirmLabel: "Delete budget",
|
|
305
305
|
destructive: !0,
|
|
@@ -307,7 +307,7 @@ function I({ budget: o }) {
|
|
|
307
307
|
onConfirm: () => void k()
|
|
308
308
|
})
|
|
309
309
|
]
|
|
310
|
-
}), x && /* @__PURE__ */ h(
|
|
310
|
+
}), x && /* @__PURE__ */ h(a, { message: x })]
|
|
311
311
|
});
|
|
312
312
|
}
|
|
313
313
|
function L({ budget: e }) {
|
|
@@ -318,29 +318,26 @@ function L({ budget: e }) {
|
|
|
318
318
|
currency: e.currency,
|
|
319
319
|
periodStart: s(e.periodStart),
|
|
320
320
|
periodEnd: s(e.periodEnd)
|
|
321
|
-
}, [
|
|
321
|
+
}, [n, i] = c(!1), [o, l] = c(t), [d, f] = c(null), [p, E] = m(A, {
|
|
322
322
|
refetchQueries: O,
|
|
323
323
|
awaitRefetchQueries: !0
|
|
324
324
|
}), D = Number(o.plannedAmount), k = o.periodStart && o.periodEnd && o.periodEnd < o.periodStart, j = !E.loading && o.name.trim() !== "" && Number.isFinite(D) && D >= 0 && !k, M = async () => {
|
|
325
325
|
f(null);
|
|
326
|
-
let
|
|
327
|
-
if (o.name.trim() !== t.name && (
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
}
|
|
331
|
-
try {
|
|
332
|
-
await n(p({ variables: {
|
|
326
|
+
let n = {};
|
|
327
|
+
if (o.name.trim() !== t.name && (n.name = o.name.trim()), o.description.trim() !== t.description.trim() && (n.description = o.description.trim() || null), D !== e.plannedAmount && (n.plannedAmount = D), o.currency.trim().toUpperCase() !== t.currency && (n.currency = o.currency.trim().toUpperCase()), o.periodStart !== t.periodStart && (n.periodStart = o.periodStart || null), o.periodEnd !== t.periodEnd && (n.periodEnd = o.periodEnd || null), Object.keys(n).length === 0) i(!1);
|
|
328
|
+
else try {
|
|
329
|
+
await r(p({ variables: {
|
|
333
330
|
id: e.id,
|
|
334
|
-
input:
|
|
335
|
-
} })),
|
|
331
|
+
input: n
|
|
332
|
+
} })), i(!1);
|
|
336
333
|
} catch (e) {
|
|
337
334
|
f(P(e, "The budget could not be saved."));
|
|
338
335
|
}
|
|
339
336
|
};
|
|
340
337
|
return /* @__PURE__ */ g(y, {
|
|
341
|
-
open:
|
|
338
|
+
open: n,
|
|
342
339
|
onOpenChange: (e) => {
|
|
343
|
-
|
|
340
|
+
i(e), e ? l(t) : f(null);
|
|
344
341
|
},
|
|
345
342
|
children: [/* @__PURE__ */ h(T, {
|
|
346
343
|
asChild: !0,
|
|
@@ -446,13 +443,13 @@ function L({ budget: e }) {
|
|
|
446
443
|
description: e.target.value
|
|
447
444
|
})
|
|
448
445
|
})] }),
|
|
449
|
-
k && /* @__PURE__ */ h(
|
|
450
|
-
d && /* @__PURE__ */ h(
|
|
446
|
+
k && /* @__PURE__ */ h(a, { message: "The period end cannot be before the period start." }),
|
|
447
|
+
d && /* @__PURE__ */ h(a, { message: d })
|
|
451
448
|
]
|
|
452
449
|
}),
|
|
453
450
|
/* @__PURE__ */ g(S, { children: [/* @__PURE__ */ h(_, {
|
|
454
451
|
variant: "outline",
|
|
455
|
-
onClick: () =>
|
|
452
|
+
onClick: () => i(!1),
|
|
456
453
|
children: "Cancel"
|
|
457
454
|
}), /* @__PURE__ */ h(_, {
|
|
458
455
|
onClick: () => void M(),
|
|
@@ -464,5 +461,4 @@ function L({ budget: e }) {
|
|
|
464
461
|
})]
|
|
465
462
|
});
|
|
466
463
|
}
|
|
467
|
-
//#endregion
|
|
468
464
|
export { E as BUDGET_STATUSES, I as BudgetHeaderActions, F as CreateBudgetDialog };
|
|
@@ -4,7 +4,7 @@ export declare function LogExpenseDialog({ budgetId, projectId, refetchQueries,
|
|
|
4
4
|
/** Narrows the optional "work item" search to the budget's own project, when known. */
|
|
5
5
|
projectId?: string;
|
|
6
6
|
refetchQueries: string[];
|
|
7
|
-
}): import(
|
|
7
|
+
}): import('react').JSX.Element;
|
|
8
8
|
export interface ExpenseValues {
|
|
9
9
|
id: string;
|
|
10
10
|
description: string;
|
|
@@ -17,11 +17,10 @@ export interface ExpenseValues {
|
|
|
17
17
|
export declare function EditExpenseDialog({ expense, refetchQueries, }: {
|
|
18
18
|
expense: ExpenseValues;
|
|
19
19
|
refetchQueries: string[];
|
|
20
|
-
}): import(
|
|
20
|
+
}): import('react').JSX.Element;
|
|
21
21
|
/** Delete an expense, with confirmation. */
|
|
22
22
|
export declare function DeleteExpenseButton({ id, description, refetchQueries, }: {
|
|
23
23
|
id: string;
|
|
24
24
|
description: string;
|
|
25
25
|
refetchQueries: string[];
|
|
26
|
-
}): import(
|
|
27
|
-
//# sourceMappingURL=ExpenseControls.d.ts.map
|
|
26
|
+
}): import('react').JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { WorkItemSearchSelect as e } from "../controls/Pickers.js";
|
|
2
|
+
import { throwOnError as t } from "../utils/mutationResult.js";
|
|
3
|
+
import { ConfirmButton as n, ErrorLine as r } from "../controls/ConfirmButton.js";
|
|
4
4
|
import { toDateInputValue as i, todayInputValue as a } from "../time/timeShared.js";
|
|
5
5
|
import { useState as o } from "react";
|
|
6
6
|
import { Pencil as s, Plus as c, Trash2 as l } from "lucide-react";
|
|
@@ -8,7 +8,7 @@ import { gql as u } from "@apollo/client";
|
|
|
8
8
|
import { useMutation as d } from "@apollo/client/react";
|
|
9
9
|
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
10
10
|
import { Button as m, Input as h, ResponsiveDialog as g, ResponsiveDialogContent as _, ResponsiveDialogDescription as v, ResponsiveDialogFooter as y, ResponsiveDialogHeader as b, ResponsiveDialogTitle as x, ResponsiveDialogTrigger as S } from "@burdenoff/fe-libs/ui";
|
|
11
|
-
|
|
11
|
+
// src/planmagnet/budgets/ExpenseControls.tsx
|
|
12
12
|
var C = u`
|
|
13
13
|
mutation ExpenseControlsLog($input: PlanmagnetLogExpenseInput!) {
|
|
14
14
|
planmagnetLogExpense(input: $input) {
|
|
@@ -41,7 +41,7 @@ var C = u`
|
|
|
41
41
|
planmagnetDeleteExpense(id: $id)
|
|
42
42
|
}
|
|
43
43
|
`, E = (e, t) => e instanceof Error ? e.message : t;
|
|
44
|
-
function D({ budgetId:
|
|
44
|
+
function D({ budgetId: n, projectId: i, refetchQueries: s }) {
|
|
45
45
|
let l = {
|
|
46
46
|
description: "",
|
|
47
47
|
amount: "",
|
|
@@ -55,8 +55,8 @@ function D({ budgetId: t, projectId: i, refetchQueries: s }) {
|
|
|
55
55
|
}), M = Number(T.amount), N = !j && T.description.trim() !== "" && Number.isFinite(M) && M >= 0 && !!T.date, P = async () => {
|
|
56
56
|
k(null);
|
|
57
57
|
try {
|
|
58
|
-
await
|
|
59
|
-
budgetId:
|
|
58
|
+
await t(A({ variables: { input: {
|
|
59
|
+
budgetId: n,
|
|
60
60
|
description: T.description.trim(),
|
|
61
61
|
amount: M,
|
|
62
62
|
date: T.date,
|
|
@@ -153,7 +153,7 @@ function D({ budgetId: t, projectId: i, refetchQueries: s }) {
|
|
|
153
153
|
children: "Work item (optional)"
|
|
154
154
|
}), /* @__PURE__ */ f("div", {
|
|
155
155
|
className: "mt-1",
|
|
156
|
-
children: /* @__PURE__ */ f(
|
|
156
|
+
children: /* @__PURE__ */ f(e, {
|
|
157
157
|
id: "log-expense-work-item",
|
|
158
158
|
projectId: i,
|
|
159
159
|
value: T.workItemId,
|
|
@@ -178,7 +178,7 @@ function D({ budgetId: t, projectId: i, refetchQueries: s }) {
|
|
|
178
178
|
referenceUrl: e.target.value
|
|
179
179
|
})
|
|
180
180
|
})] }),
|
|
181
|
-
O && /* @__PURE__ */ f(
|
|
181
|
+
O && /* @__PURE__ */ f(r, { message: O })
|
|
182
182
|
]
|
|
183
183
|
}),
|
|
184
184
|
/* @__PURE__ */ p(y, { children: [/* @__PURE__ */ f(m, {
|
|
@@ -195,26 +195,23 @@ function D({ budgetId: t, projectId: i, refetchQueries: s }) {
|
|
|
195
195
|
})]
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
function O({ expense:
|
|
198
|
+
function O({ expense: e, refetchQueries: n }) {
|
|
199
199
|
let a = {
|
|
200
|
-
description:
|
|
201
|
-
amount: String(
|
|
202
|
-
category:
|
|
203
|
-
date: i(
|
|
204
|
-
referenceUrl:
|
|
200
|
+
description: e.description,
|
|
201
|
+
amount: String(e.amount),
|
|
202
|
+
category: e.category ?? "",
|
|
203
|
+
date: i(e.date),
|
|
204
|
+
referenceUrl: e.referenceUrl ?? ""
|
|
205
205
|
}, [c, l] = o(!1), [u, v] = o(a), [C, T] = o(null), [D, { loading: O }] = d(w, {
|
|
206
|
-
refetchQueries:
|
|
206
|
+
refetchQueries: n,
|
|
207
207
|
awaitRefetchQueries: !0
|
|
208
208
|
}), k = Number(u.amount), A = !O && u.description.trim() !== "" && Number.isFinite(k) && k >= 0, j = async () => {
|
|
209
209
|
T(null);
|
|
210
210
|
let n = {};
|
|
211
|
-
if (u.description.trim() !== a.description && (n.description = u.description.trim()), k !==
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
try {
|
|
216
|
-
await e(D({ variables: {
|
|
217
|
-
id: t.id,
|
|
211
|
+
if (u.description.trim() !== a.description && (n.description = u.description.trim()), k !== e.amount && (n.amount = k), u.category.trim() !== a.category.trim() && (n.category = u.category.trim() || null), u.date !== a.date && (n.date = u.date), u.referenceUrl.trim() !== a.referenceUrl.trim() && (n.referenceUrl = u.referenceUrl.trim() || null), Object.keys(n).length === 0) l(!1);
|
|
212
|
+
else try {
|
|
213
|
+
await t(D({ variables: {
|
|
214
|
+
id: e.id,
|
|
218
215
|
input: n
|
|
219
216
|
} })), l(!1);
|
|
220
217
|
} catch (e) {
|
|
@@ -231,7 +228,7 @@ function O({ expense: t, refetchQueries: r }) {
|
|
|
231
228
|
children: /* @__PURE__ */ f(m, {
|
|
232
229
|
size: "sm",
|
|
233
230
|
variant: "outline",
|
|
234
|
-
"aria-label": `Edit ${
|
|
231
|
+
"aria-label": `Edit ${e.description}`,
|
|
235
232
|
"data-testid": "expense-edit",
|
|
236
233
|
children: /* @__PURE__ */ f(s, { className: "h-4 w-4" })
|
|
237
234
|
})
|
|
@@ -315,7 +312,7 @@ function O({ expense: t, refetchQueries: r }) {
|
|
|
315
312
|
referenceUrl: e.target.value
|
|
316
313
|
})
|
|
317
314
|
})] }),
|
|
318
|
-
C && /* @__PURE__ */ f(
|
|
315
|
+
C && /* @__PURE__ */ f(r, { message: C })
|
|
319
316
|
]
|
|
320
317
|
}),
|
|
321
318
|
/* @__PURE__ */ p(y, { children: [/* @__PURE__ */ f(m, {
|
|
@@ -332,21 +329,21 @@ function O({ expense: t, refetchQueries: r }) {
|
|
|
332
329
|
})]
|
|
333
330
|
});
|
|
334
331
|
}
|
|
335
|
-
function k({ id:
|
|
332
|
+
function k({ id: e, description: i, refetchQueries: a }) {
|
|
336
333
|
let [s, { loading: c }] = d(T, {
|
|
337
334
|
refetchQueries: a,
|
|
338
335
|
awaitRefetchQueries: !0
|
|
339
336
|
}), [u, m] = o(null), h = async () => {
|
|
340
337
|
m(null);
|
|
341
338
|
try {
|
|
342
|
-
await
|
|
339
|
+
await t(s({ variables: { id: e } }));
|
|
343
340
|
} catch (e) {
|
|
344
341
|
m(E(e, "The expense could not be deleted."));
|
|
345
342
|
}
|
|
346
343
|
};
|
|
347
344
|
return /* @__PURE__ */ p("div", {
|
|
348
345
|
className: "flex flex-col items-end gap-1",
|
|
349
|
-
children: [/* @__PURE__ */ f(
|
|
346
|
+
children: [/* @__PURE__ */ f(n, {
|
|
350
347
|
label: "",
|
|
351
348
|
ariaLabel: `Delete ${i}`,
|
|
352
349
|
variant: "outline",
|
|
@@ -357,8 +354,7 @@ function k({ id: r, description: i, refetchQueries: a }) {
|
|
|
357
354
|
destructive: !0,
|
|
358
355
|
disabled: c,
|
|
359
356
|
onConfirm: () => void h()
|
|
360
|
-
}), u && /* @__PURE__ */ f(
|
|
357
|
+
}), u && /* @__PURE__ */ f(r, { message: u })]
|
|
361
358
|
});
|
|
362
359
|
}
|
|
363
|
-
//#endregion
|
|
364
360
|
export { k as DeleteExpenseButton, O as EditExpenseDialog, D as LogExpenseDialog };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { BUDGET_STATE_STYLE as e, budgetState as t, budgetUsage as n, money as r } from "./budgetMath.js";
|
|
2
|
+
import { CreateBudgetDialog as i } from "./BudgetControls.js";
|
|
3
|
+
import { usePlanMagnetNavigate as a } from "../providers/PlanMagnetProvider.js";
|
|
4
|
+
import { detailPath as o } from "../utils/rowNavigation.js";
|
|
5
5
|
import { ArrowRight as s, Wallet as c } from "lucide-react";
|
|
6
6
|
import { gql as l } from "@apollo/client";
|
|
7
7
|
import { useQuery as u } from "@apollo/client/react";
|
|
8
8
|
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
9
9
|
import { Button as p, Card as m, CardContent as h, CardHeader as g, CardTitle as _ } from "@burdenoff/fe-libs/ui";
|
|
10
|
-
|
|
10
|
+
// src/planmagnet/budgets/ProjectBudgetsSummary.tsx
|
|
11
11
|
var v = l`
|
|
12
12
|
query ProjectBudgetsSummary($workspaceId: ID!, $projectId: String!) {
|
|
13
13
|
planmagnetBudgets(
|
|
@@ -28,7 +28,7 @@ var v = l`
|
|
|
28
28
|
}
|
|
29
29
|
`;
|
|
30
30
|
function y({ workspaceId: l, projectId: y }) {
|
|
31
|
-
let b =
|
|
31
|
+
let b = a(), { data: x, loading: S, error: C } = u(v, {
|
|
32
32
|
variables: {
|
|
33
33
|
workspaceId: l,
|
|
34
34
|
projectId: y
|
|
@@ -46,9 +46,9 @@ function y({ workspaceId: l, projectId: y }) {
|
|
|
46
46
|
" ",
|
|
47
47
|
x ? `(${T})` : ""
|
|
48
48
|
]
|
|
49
|
-
}), /* @__PURE__ */ d(
|
|
49
|
+
}), /* @__PURE__ */ d(i, {
|
|
50
50
|
presetProjectId: y,
|
|
51
|
-
onCreated: (e) => b(
|
|
51
|
+
onCreated: (e) => b(o("/projects/budget-detail-page", e)),
|
|
52
52
|
triggerSize: "sm"
|
|
53
53
|
})]
|
|
54
54
|
}), /* @__PURE__ */ f(h, {
|
|
@@ -67,34 +67,34 @@ function y({ workspaceId: l, projectId: y }) {
|
|
|
67
67
|
className: "text-sm text-muted-foreground",
|
|
68
68
|
children: "No budget for this project yet."
|
|
69
69
|
}),
|
|
70
|
-
w.map((
|
|
71
|
-
let
|
|
70
|
+
w.map((i) => {
|
|
71
|
+
let a = n(i.plannedAmount, i.spentAmount), s = t(a), c = e[s], l = a === null ? null : Math.round(a * 100);
|
|
72
72
|
return /* @__PURE__ */ f("button", {
|
|
73
73
|
type: "button",
|
|
74
74
|
className: "block w-full rounded-md border p-2 text-left hover:border-primary transition-colors",
|
|
75
|
-
onClick: () => b(
|
|
75
|
+
onClick: () => b(o("/projects/budget-detail-page", i.id)),
|
|
76
76
|
children: [/* @__PURE__ */ f("div", {
|
|
77
77
|
className: "flex items-center justify-between gap-2 text-sm",
|
|
78
78
|
children: [/* @__PURE__ */ d("span", {
|
|
79
79
|
className: "truncate font-medium",
|
|
80
|
-
children:
|
|
80
|
+
children: i.name
|
|
81
81
|
}), /* @__PURE__ */ f("span", {
|
|
82
82
|
className: "shrink-0 tabular-nums text-muted-foreground",
|
|
83
83
|
children: [
|
|
84
|
-
i
|
|
84
|
+
r(i.spentAmount, i.currency),
|
|
85
85
|
" /",
|
|
86
86
|
" ",
|
|
87
|
-
i
|
|
87
|
+
r(i.plannedAmount, i.currency)
|
|
88
88
|
]
|
|
89
89
|
})]
|
|
90
90
|
}), /* @__PURE__ */ d("div", {
|
|
91
|
-
className: `mt-1.5 h-1.5 w-full overflow-hidden rounded-full ${
|
|
91
|
+
className: `mt-1.5 h-1.5 w-full overflow-hidden rounded-full ${c.track}`,
|
|
92
92
|
children: /* @__PURE__ */ d("div", {
|
|
93
|
-
className: `h-full rounded-full ${
|
|
94
|
-
style: { width: `${Math.min(
|
|
93
|
+
className: `h-full rounded-full ${c.fill}`,
|
|
94
|
+
style: { width: `${Math.min(l ?? 0, 100)}%` }
|
|
95
95
|
})
|
|
96
96
|
})]
|
|
97
|
-
},
|
|
97
|
+
}, i.id);
|
|
98
98
|
}),
|
|
99
99
|
T > 0 && /* @__PURE__ */ f(p, {
|
|
100
100
|
size: "sm",
|
|
@@ -106,5 +106,4 @@ function y({ workspaceId: l, projectId: y }) {
|
|
|
106
106
|
]
|
|
107
107
|
})] });
|
|
108
108
|
}
|
|
109
|
-
//#endregion
|
|
110
109
|
export { y as ProjectBudgetsSummary };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ComponentType } from 'react';
|
|
2
|
-
|
|
3
2
|
/**
|
|
4
3
|
* Budget math and the meter's visual language, shared by every screen that shows a
|
|
5
4
|
* budget's spend against its plan: the Analytics "Budget performance" card
|
|
@@ -23,4 +22,3 @@ export declare const BUDGET_STATE_STYLE: Record<BudgetState, {
|
|
|
23
22
|
}>;
|
|
24
23
|
/** Money, in the budget's own currency. Falls back to a plain number when the currency code is not recognised. */
|
|
25
24
|
export declare function money(amount: number, currency: string): string;
|
|
26
|
-
//# sourceMappingURL=budgetMath.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AlertOctagon as e, AlertTriangle as t, CheckCircle2 as n, CircleDashed as r } from "lucide-react";
|
|
2
|
-
|
|
2
|
+
// src/planmagnet/budgets/budgetMath.ts
|
|
3
3
|
function i(e, t) {
|
|
4
4
|
return !Number.isFinite(e) || e <= 0 ? null : t / e;
|
|
5
5
|
}
|
|
@@ -43,5 +43,4 @@ function s(e, t) {
|
|
|
43
43
|
return `${Math.round(e).toLocaleString()} ${t}`;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
//#endregion
|
|
47
46
|
export { o as BUDGET_STATE_STYLE, a as budgetState, i as budgetUsage, s as money };
|
|
@@ -12,5 +12,4 @@ export interface CommentAttachmentUploadProps {
|
|
|
12
12
|
disabled?: boolean;
|
|
13
13
|
idPrefix: string;
|
|
14
14
|
}
|
|
15
|
-
export declare function CommentAttachmentUpload({ onChange, onInsertImage, onRemoveImage, disabled, idPrefix, }: CommentAttachmentUploadProps): import(
|
|
16
|
-
//# sourceMappingURL=CommentAttachmentUpload.d.ts.map
|
|
15
|
+
export declare function CommentAttachmentUpload({ onChange, onInsertImage, onRemoveImage, disabled, idPrefix, }: CommentAttachmentUploadProps): import('react').JSX.Element;
|
|
@@ -5,7 +5,7 @@ import { Loader2 as f, Paperclip as p, X as m } from "lucide-react";
|
|
|
5
5
|
import { useApolloClient as h } from "@apollo/client/react";
|
|
6
6
|
import { jsx as g, jsxs as _ } from "react/jsx-runtime";
|
|
7
7
|
import { Button as v } from "@burdenoff/fe-libs/ui";
|
|
8
|
-
|
|
8
|
+
// src/planmagnet/comments/CommentAttachmentUpload.tsx
|
|
9
9
|
var y = 10, b = 0;
|
|
10
10
|
function x() {
|
|
11
11
|
return b += 1, `pending-attachment-${Date.now()}-${b}`;
|
|
@@ -212,5 +212,4 @@ function C({ item: n, disabled: r, onInsertImage: i, onRetry: a, retryDisabled:
|
|
|
212
212
|
]
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
|
-
//#endregion
|
|
216
215
|
export { S as CommentAttachmentUpload };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CommentFileTarget } from './useCommentFileUrl';
|
|
2
|
-
|
|
3
2
|
/** Server-snapshotted metadata; the attachment ID, not its raw Files ID, authorizes each download. */
|
|
4
3
|
export interface CommentAttachmentSummary {
|
|
5
4
|
id: string;
|
|
@@ -11,5 +10,4 @@ export interface CommentAttachmentSummary {
|
|
|
11
10
|
export declare function CommentAttachments({ attachments, target, }: {
|
|
12
11
|
attachments: CommentAttachmentSummary[];
|
|
13
12
|
target: CommentFileTarget;
|
|
14
|
-
}): import(
|
|
15
|
-
//# sourceMappingURL=CommentAttachments.d.ts.map
|
|
13
|
+
}): import('react').JSX.Element | null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { formatBytes as e, mimeTypeIcon as t } from "./fileDisplay.js";
|
|
2
|
+
import { useCommentFileUrl as n } from "./useCommentFileUrl.js";
|
|
3
3
|
import { useEffect as r, useRef as i, useState as a } from "react";
|
|
4
4
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// src/planmagnet/comments/CommentAttachments.tsx
|
|
6
6
|
function c({ attachments: e, target: t }) {
|
|
7
7
|
return e.length === 0 ? null : /* @__PURE__ */ o("ul", {
|
|
8
8
|
className: "flex flex-wrap gap-1.5",
|
|
@@ -14,7 +14,7 @@ function c({ attachments: e, target: t }) {
|
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
16
|
function l({ attachment: c, target: l }) {
|
|
17
|
-
let u =
|
|
17
|
+
let u = n(), [d, f] = a(!1), [p, m] = a(!1), h = i(null);
|
|
18
18
|
r(() => () => {
|
|
19
19
|
let e = h.current;
|
|
20
20
|
h.current = null, e?.close();
|
|
@@ -23,18 +23,17 @@ function l({ attachment: c, target: l }) {
|
|
|
23
23
|
if (d) return;
|
|
24
24
|
m(!1);
|
|
25
25
|
let e = window.open("about:blank", "_blank");
|
|
26
|
-
if (!e)
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
h.current === e && (h.current = null, f(!1));
|
|
26
|
+
if (!e) m(!0);
|
|
27
|
+
else {
|
|
28
|
+
e.opener = null, h.current = e, f(!0);
|
|
29
|
+
try {
|
|
30
|
+
let t = await u(l, c.id);
|
|
31
|
+
h.current === e && !e.closed && e.location.replace(t);
|
|
32
|
+
} catch {
|
|
33
|
+
h.current === e && (e.close(), m(!0));
|
|
34
|
+
} finally {
|
|
35
|
+
h.current === e && (h.current = null, f(!1));
|
|
36
|
+
}
|
|
38
37
|
}
|
|
39
38
|
};
|
|
40
39
|
return /* @__PURE__ */ s("div", {
|
|
@@ -47,14 +46,14 @@ function l({ attachment: c, target: l }) {
|
|
|
47
46
|
className: "inline-flex max-w-[14rem] items-center gap-1.5 rounded-md border border-border-default px-2 py-1 text-xs hover:bg-muted disabled:opacity-70",
|
|
48
47
|
onClick: () => void g(),
|
|
49
48
|
children: [
|
|
50
|
-
|
|
49
|
+
t(c.mimeType),
|
|
51
50
|
/* @__PURE__ */ o("span", {
|
|
52
51
|
className: "truncate",
|
|
53
52
|
children: c.name
|
|
54
53
|
}),
|
|
55
54
|
/* @__PURE__ */ o("span", {
|
|
56
55
|
className: "shrink-0 text-muted-foreground",
|
|
57
|
-
children:
|
|
56
|
+
children: e(c.size)
|
|
58
57
|
}),
|
|
59
58
|
d && /* @__PURE__ */ o("span", {
|
|
60
59
|
className: "sr-only",
|
|
@@ -68,5 +67,4 @@ function l({ attachment: c, target: l }) {
|
|
|
68
67
|
})]
|
|
69
68
|
});
|
|
70
69
|
}
|
|
71
|
-
//#endregion
|
|
72
70
|
export { c as CommentAttachments };
|