@burdenoff/microfe-planmagnet 2026.1108.1 → 2026.1123.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +129 -129
- 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
|
@@ -0,0 +1,1381 @@
|
|
|
1
|
+
import { useTr as e } from "../../shared/hooks/useTr.js";
|
|
2
|
+
import { ConfirmButton as t, ErrorLine as n } from "../controls/ConfirmButton.js";
|
|
3
|
+
import { AssigneeSelect as r } from "../controls/WorkItemControls.js";
|
|
4
|
+
import { useEntityId as i } from "../hooks/useEntityId.js";
|
|
5
|
+
import { PersonName as a } from "../people/People.js";
|
|
6
|
+
import { usePlanMagnet as o, usePlanMagnetNavigate as s } from "../providers/PlanMagnetProvider.js";
|
|
7
|
+
import { useSatisfactionAccess as c } from "../satisfaction/useSatisfactionAccess.js";
|
|
8
|
+
import { PlanMagnetNotFoundPage as l } from "../pages/NotFoundPage.js";
|
|
9
|
+
import { LEAVES_PAGE_CONTEXT as u, throwOnError as d } from "../utils/mutationResult.js";
|
|
10
|
+
import { detailPath as f } from "../utils/rowNavigation.js";
|
|
11
|
+
import { launchCalendarDate as p, launchDayToIso as m } from "./ProductLaunchesCard.js";
|
|
12
|
+
import { launchUpdateInput as h } from "./prm04UpdateInputs.js";
|
|
13
|
+
import { PRM04_ADD_LAUNCH_CHECKLIST_ITEM as g, PRM04_APPLY_LAUNCH_TEMPLATE as _, PRM04_DELETE_LAUNCH as v, PRM04_DELETE_LAUNCH_CHECKLIST_ITEM as y, PRM04_LAUNCH_DETAIL as b, PRM04_LAUNCH_MILESTONE_OPTIONS as x, PRM04_LAUNCH_PERSONA_OPTIONS as S, PRM04_LAUNCH_RELEASE_OPTIONS as C, PRM04_LAUNCH_ROADMAP_OPTIONS as w, PRM04_LAUNCH_TEMPLATES as ee, PRM04_LINK_LAUNCH_MILESTONE as T, PRM04_LINK_LAUNCH_PERSONA as E, PRM04_REORDER_LAUNCH_CHECKLIST as D, PRM04_SET_LAUNCH_CHECKLIST_DONE as O, PRM04_UNLINK_LAUNCH_MILESTONE as k, PRM04_UNLINK_LAUNCH_PERSONA as A, PRM04_UPDATE_LAUNCH as te, PRM04_UPDATE_LAUNCH_CHECKLIST_ITEM as ne } from "./launchOperations.js";
|
|
14
|
+
import { useState as j } from "react";
|
|
15
|
+
import { ArrowDown as re, ArrowLeft as M, ArrowUp as N, CalendarDays as P, Check as ie, Loader2 as ae, Pencil as oe, Plus as se, Trash2 as ce, Unlink as F } from "lucide-react";
|
|
16
|
+
import { useMutation as I, useQuery as L } from "@apollo/client/react";
|
|
17
|
+
import { Fragment as R, jsx as z, jsxs as B } from "react/jsx-runtime";
|
|
18
|
+
import { Badge as V, Button as H, Card as U, CardContent as W, CardHeader as G, CardTitle as K, Input as q } from "@burdenoff/fe-libs/ui";
|
|
19
|
+
// src/planmagnet/gotomarket/ProductLaunchPage.tsx
|
|
20
|
+
var J = "w-full rounded-md border border-input bg-background px-3 py-2 text-sm", le = J, ue = "min-h-24 w-full rounded-md border border-input bg-background px-3 py-2 text-sm", Y = [
|
|
21
|
+
"PRODUCT",
|
|
22
|
+
"MARKETING",
|
|
23
|
+
"SALES",
|
|
24
|
+
"SUPPORT",
|
|
25
|
+
"OPERATIONS",
|
|
26
|
+
"LEGAL"
|
|
27
|
+
], de = [
|
|
28
|
+
"PLANNING",
|
|
29
|
+
"READY",
|
|
30
|
+
"LAUNCHED",
|
|
31
|
+
"CANCELLED"
|
|
32
|
+
], fe = /^-?\d{1,15}(?:\.\d{1,4})?$/, X = {
|
|
33
|
+
refetchQueries: ["Prm04LaunchDetail"],
|
|
34
|
+
awaitRefetchQueries: !0
|
|
35
|
+
};
|
|
36
|
+
function pe(e, t) {
|
|
37
|
+
let n = new Set(e.items.map((e) => e.id));
|
|
38
|
+
return {
|
|
39
|
+
...t,
|
|
40
|
+
items: [...e.items, ...t.items.filter((e) => !n.has(e.id))]
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function me(e) {
|
|
44
|
+
return e ? e.slice(0, 10) : "";
|
|
45
|
+
}
|
|
46
|
+
function Z(e, t) {
|
|
47
|
+
return e instanceof Error ? e.message : t;
|
|
48
|
+
}
|
|
49
|
+
function Q({ launch: i, canUpdate: o }) {
|
|
50
|
+
let s = e(), [c, l] = j(null), [u, f] = j(null), [h, v] = j(""), [b, x] = j("PRODUCT"), [S, C] = j(!0), [w, T] = j(""), [E, k] = j(""), [A, te] = j(""), [M, P] = j(null), [ie, ae] = j(null), { data: F, loading: R, error: ue } = L(ee), [de, fe] = I(_, X), [pe, Q] = I(g, X), [he, ge] = I(ne, X), [_e, ve] = I(O, X), [ye, be] = I(y, X), [xe, Se] = I(D, X), $ = fe.loading || Q.loading || ge.loading || ve.loading || be.loading || Se.loading, Ce = F?.planmagnetProductLaunchTemplates ?? [], we = Ce.find((e) => e.key === A), Te = [...i.checklist].sort((e, t) => e.position - t.position);
|
|
51
|
+
async function Ee(e) {
|
|
52
|
+
if (!o) return !1;
|
|
53
|
+
l(null), f(null);
|
|
54
|
+
try {
|
|
55
|
+
return await d(e()), !0;
|
|
56
|
+
} catch (e) {
|
|
57
|
+
return l(Z(e, s("planmagnet.gtm.launch.changeFailed", "The change was refused."))), !1;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
async function De() {
|
|
61
|
+
if (o && A && !$) {
|
|
62
|
+
l(null), f(null);
|
|
63
|
+
try {
|
|
64
|
+
let e = (await d(de({ variables: {
|
|
65
|
+
launchId: i.id,
|
|
66
|
+
templateKey: A
|
|
67
|
+
} }))).data?.planmagnetApplyProductLaunchTemplate;
|
|
68
|
+
if (!e) throw Error(s("planmagnet.gtm.launch.templateFailed", "The template was not applied."));
|
|
69
|
+
f(s("planmagnet.gtm.launch.templateResult", "{{created}} items added; {{skipped}} already present.", {
|
|
70
|
+
created: e.createdCount,
|
|
71
|
+
skipped: e.skippedCount
|
|
72
|
+
}));
|
|
73
|
+
} catch (e) {
|
|
74
|
+
l(Z(e, s("planmagnet.gtm.launch.templateFailed", "The template was not applied.")));
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
async function Oe() {
|
|
79
|
+
let e = w ? m(w) : null;
|
|
80
|
+
!o || !h.trim() || w && !e || $ || await Ee(() => pe({ variables: {
|
|
81
|
+
launchId: i.id,
|
|
82
|
+
input: {
|
|
83
|
+
label: h.trim(),
|
|
84
|
+
category: b,
|
|
85
|
+
isRequired: S,
|
|
86
|
+
dueDate: e,
|
|
87
|
+
ownerId: E || null
|
|
88
|
+
}
|
|
89
|
+
} })) && (v(""), T(""), k(""));
|
|
90
|
+
}
|
|
91
|
+
async function ke() {
|
|
92
|
+
if (!o || !M || !M.label.trim() || $) return;
|
|
93
|
+
let e = M.dueDate ? M.dueDate.includes("T") ? M.dueDate : m(M.dueDate) : null;
|
|
94
|
+
M.dueDate && !e ? l(s("planmagnet.gtm.launch.dateInvalid", "Choose a valid date between 2000 and 2100.")) : await Ee(() => he({ variables: {
|
|
95
|
+
id: M.id,
|
|
96
|
+
input: {
|
|
97
|
+
label: M.label.trim(),
|
|
98
|
+
category: M.category,
|
|
99
|
+
isRequired: M.isRequired,
|
|
100
|
+
dueDate: e,
|
|
101
|
+
ownerId: M.ownerId
|
|
102
|
+
}
|
|
103
|
+
} })) && P(null);
|
|
104
|
+
}
|
|
105
|
+
async function Ae(e, t) {
|
|
106
|
+
let n = e + t;
|
|
107
|
+
if (n < 0 || n >= Te.length || $ || !o) return;
|
|
108
|
+
let r = Te.map((e) => e.id);
|
|
109
|
+
[r[e], r[n]] = [r[n], r[e]], await Ee(() => xe({ variables: {
|
|
110
|
+
launchId: i.id,
|
|
111
|
+
itemIds: r
|
|
112
|
+
} }));
|
|
113
|
+
}
|
|
114
|
+
return /* @__PURE__ */ B(U, {
|
|
115
|
+
"data-testid": "prm04-launch-checklist",
|
|
116
|
+
children: [/* @__PURE__ */ B(G, { children: [/* @__PURE__ */ z(K, { children: s("planmagnet.gtm.launch.checklist", "Launch readiness checklist") }), /* @__PURE__ */ z("p", {
|
|
117
|
+
className: "text-sm text-muted-foreground",
|
|
118
|
+
children: s("planmagnet.gtm.launch.readinessNote", "Readiness is calculated by the server. It informs your launch decision; it does not automatically change launch status.")
|
|
119
|
+
})] }), /* @__PURE__ */ B(W, {
|
|
120
|
+
className: "space-y-5",
|
|
121
|
+
children: [
|
|
122
|
+
/* @__PURE__ */ B("div", {
|
|
123
|
+
className: "rounded-md border border-border bg-muted/40 p-3 text-sm",
|
|
124
|
+
"data-testid": "prm04-readiness",
|
|
125
|
+
children: [
|
|
126
|
+
/* @__PURE__ */ B("strong", { children: [
|
|
127
|
+
i.readiness.requiredDone,
|
|
128
|
+
" / ",
|
|
129
|
+
i.readiness.requiredTotal
|
|
130
|
+
] }),
|
|
131
|
+
" ",
|
|
132
|
+
s("planmagnet.gtm.launch.requiredDone", "required items complete"),
|
|
133
|
+
" · ",
|
|
134
|
+
/* @__PURE__ */ B("strong", { children: [
|
|
135
|
+
i.readiness.optionalDone,
|
|
136
|
+
" / ",
|
|
137
|
+
i.readiness.optionalTotal
|
|
138
|
+
] }),
|
|
139
|
+
" ",
|
|
140
|
+
s("planmagnet.gtm.launch.optionalDone", "optional items complete"),
|
|
141
|
+
/* @__PURE__ */ z(V, {
|
|
142
|
+
className: "ml-2",
|
|
143
|
+
variant: i.readiness.allRequiredDone ? "secondary" : "outline",
|
|
144
|
+
children: i.readiness.allRequiredDone ? s("planmagnet.gtm.launch.allRequiredDone", "All required checks done") : s("planmagnet.gtm.launch.requiredOutstanding", "Required checks open")
|
|
145
|
+
})
|
|
146
|
+
]
|
|
147
|
+
}),
|
|
148
|
+
c && /* @__PURE__ */ z(n, { message: c }),
|
|
149
|
+
u && /* @__PURE__ */ z("p", {
|
|
150
|
+
role: "status",
|
|
151
|
+
className: "text-sm text-muted-foreground",
|
|
152
|
+
children: u
|
|
153
|
+
}),
|
|
154
|
+
o && /* @__PURE__ */ B("div", {
|
|
155
|
+
className: "space-y-2 border-b border-border pb-4",
|
|
156
|
+
children: [
|
|
157
|
+
/* @__PURE__ */ z("h3", {
|
|
158
|
+
className: "text-sm font-medium",
|
|
159
|
+
children: s("planmagnet.gtm.launch.templates", "Built-in launch templates")
|
|
160
|
+
}),
|
|
161
|
+
R && !F && /* @__PURE__ */ z("p", {
|
|
162
|
+
role: "status",
|
|
163
|
+
className: "text-xs text-muted-foreground",
|
|
164
|
+
children: s("planmagnet.gtm.launch.loadingTemplates", "Loading templates…")
|
|
165
|
+
}),
|
|
166
|
+
ue && /* @__PURE__ */ z(n, { message: ue.message }),
|
|
167
|
+
F && Ce.length === 0 && /* @__PURE__ */ z("p", {
|
|
168
|
+
className: "text-xs text-muted-foreground",
|
|
169
|
+
children: s("planmagnet.gtm.launch.noTemplates", "No templates available.")
|
|
170
|
+
}),
|
|
171
|
+
Ce.length > 0 && /* @__PURE__ */ B("div", {
|
|
172
|
+
className: "flex flex-wrap items-center gap-2",
|
|
173
|
+
children: [/* @__PURE__ */ B("select", {
|
|
174
|
+
"aria-label": s("planmagnet.gtm.launch.templateSelect", "Launch template"),
|
|
175
|
+
value: A,
|
|
176
|
+
onChange: (e) => te(e.target.value),
|
|
177
|
+
className: `${J} min-w-[12rem] flex-1`,
|
|
178
|
+
children: [/* @__PURE__ */ z("option", {
|
|
179
|
+
value: "",
|
|
180
|
+
children: s("planmagnet.gtm.launch.chooseTemplate", "Choose a template")
|
|
181
|
+
}), Ce.map((e) => /* @__PURE__ */ z("option", {
|
|
182
|
+
value: e.key,
|
|
183
|
+
children: e.name
|
|
184
|
+
}, e.key))]
|
|
185
|
+
}), /* @__PURE__ */ z(H, {
|
|
186
|
+
type: "button",
|
|
187
|
+
size: "sm",
|
|
188
|
+
disabled: !A || $,
|
|
189
|
+
onClick: () => void De(),
|
|
190
|
+
children: s("planmagnet.gtm.launch.applyTemplate", "Apply template")
|
|
191
|
+
})]
|
|
192
|
+
}),
|
|
193
|
+
we && /* @__PURE__ */ B("div", {
|
|
194
|
+
className: "text-xs text-muted-foreground",
|
|
195
|
+
children: [/* @__PURE__ */ z("p", { children: we.description }), /* @__PURE__ */ z("p", { children: s("planmagnet.gtm.launch.templatePreview", "{{count}} checklist items, due relative to the launch date.", { count: we.items.length }) })]
|
|
196
|
+
})
|
|
197
|
+
]
|
|
198
|
+
}),
|
|
199
|
+
Te.length === 0 && /* @__PURE__ */ z("p", {
|
|
200
|
+
className: "text-sm text-muted-foreground",
|
|
201
|
+
children: o ? s("planmagnet.gtm.launch.noChecklist", "No checklist items yet. Apply a template or add your own.") : s("planmagnet.gtm.launch.noChecklistReadOnly", "No readiness checks have been recorded.")
|
|
202
|
+
}),
|
|
203
|
+
/* @__PURE__ */ z("ol", {
|
|
204
|
+
className: "space-y-2",
|
|
205
|
+
children: Te.map((e, n) => /* @__PURE__ */ B("li", {
|
|
206
|
+
className: "rounded-md border border-border p-3",
|
|
207
|
+
"data-testid": "prm04-checklist-item",
|
|
208
|
+
children: [/* @__PURE__ */ B("div", {
|
|
209
|
+
className: "flex flex-wrap items-start justify-between gap-2",
|
|
210
|
+
children: [/* @__PURE__ */ B("label", {
|
|
211
|
+
className: `flex min-w-0 flex-1 items-start gap-2 text-sm ${o ? "cursor-pointer" : ""}`,
|
|
212
|
+
children: [/* @__PURE__ */ z("input", {
|
|
213
|
+
type: "checkbox",
|
|
214
|
+
className: "mt-1",
|
|
215
|
+
checked: ie?.id === e.id ? ie.done : e.isDone,
|
|
216
|
+
disabled: $ || ie !== null || !o,
|
|
217
|
+
"aria-busy": ie?.id === e.id,
|
|
218
|
+
onChange: (t) => {
|
|
219
|
+
let n = t.target.checked;
|
|
220
|
+
ae({
|
|
221
|
+
id: e.id,
|
|
222
|
+
done: n
|
|
223
|
+
}), Ee(() => _e({ variables: {
|
|
224
|
+
id: e.id,
|
|
225
|
+
done: n
|
|
226
|
+
} })).finally(() => ae(null));
|
|
227
|
+
},
|
|
228
|
+
"aria-label": s("planmagnet.gtm.launch.checkItem", "Mark {{label}} complete", { label: e.label })
|
|
229
|
+
}), /* @__PURE__ */ B("span", {
|
|
230
|
+
className: "min-w-0",
|
|
231
|
+
children: [
|
|
232
|
+
/* @__PURE__ */ z("span", {
|
|
233
|
+
className: e.isDone ? "text-muted-foreground line-through" : "",
|
|
234
|
+
children: e.label
|
|
235
|
+
}),
|
|
236
|
+
/* @__PURE__ */ B("span", {
|
|
237
|
+
className: "mt-1 block text-xs text-muted-foreground",
|
|
238
|
+
children: [
|
|
239
|
+
e.category.toLowerCase().replace("_", " "),
|
|
240
|
+
" · ",
|
|
241
|
+
e.isRequired ? s("planmagnet.gtm.launch.required", "Required") : s("planmagnet.gtm.launch.optional", "Optional"),
|
|
242
|
+
e.dueDate ? ` · ${s("planmagnet.gtm.launch.due", "Due")} ${p(e.dueDate)}` : "",
|
|
243
|
+
e.templateKey ? ` · ${s("planmagnet.gtm.launch.fromTemplate", "Template")}` : ""
|
|
244
|
+
]
|
|
245
|
+
}),
|
|
246
|
+
e.ownerId && /* @__PURE__ */ B("span", {
|
|
247
|
+
className: "block text-xs text-muted-foreground",
|
|
248
|
+
children: [
|
|
249
|
+
s("planmagnet.gtm.launch.owner", "Owner"),
|
|
250
|
+
":",
|
|
251
|
+
" ",
|
|
252
|
+
/* @__PURE__ */ z(a, { id: e.ownerId })
|
|
253
|
+
]
|
|
254
|
+
}),
|
|
255
|
+
e.isDone && e.doneBy && /* @__PURE__ */ B("span", {
|
|
256
|
+
className: "block text-xs text-muted-foreground",
|
|
257
|
+
children: [
|
|
258
|
+
s("planmagnet.gtm.launch.checkedBy", "Checked by"),
|
|
259
|
+
" ",
|
|
260
|
+
/* @__PURE__ */ z(a, { id: e.doneBy })
|
|
261
|
+
]
|
|
262
|
+
})
|
|
263
|
+
]
|
|
264
|
+
})]
|
|
265
|
+
}), o && /* @__PURE__ */ B("div", {
|
|
266
|
+
className: "flex items-center gap-1",
|
|
267
|
+
children: [
|
|
268
|
+
/* @__PURE__ */ z(H, {
|
|
269
|
+
type: "button",
|
|
270
|
+
size: "icon",
|
|
271
|
+
variant: "ghost",
|
|
272
|
+
"aria-label": s("planmagnet.gtm.launch.moveUp", "Move {{label}} up", { label: e.label }),
|
|
273
|
+
disabled: $ || n === 0,
|
|
274
|
+
onClick: () => void Ae(n, -1),
|
|
275
|
+
children: /* @__PURE__ */ z(N, {
|
|
276
|
+
"aria-hidden": "true",
|
|
277
|
+
className: "h-4 w-4"
|
|
278
|
+
})
|
|
279
|
+
}),
|
|
280
|
+
/* @__PURE__ */ z(H, {
|
|
281
|
+
type: "button",
|
|
282
|
+
size: "icon",
|
|
283
|
+
variant: "ghost",
|
|
284
|
+
"aria-label": s("planmagnet.gtm.launch.moveDown", "Move {{label}} down", { label: e.label }),
|
|
285
|
+
disabled: $ || n === Te.length - 1,
|
|
286
|
+
onClick: () => void Ae(n, 1),
|
|
287
|
+
children: /* @__PURE__ */ z(re, {
|
|
288
|
+
"aria-hidden": "true",
|
|
289
|
+
className: "h-4 w-4"
|
|
290
|
+
})
|
|
291
|
+
}),
|
|
292
|
+
/* @__PURE__ */ z(H, {
|
|
293
|
+
type: "button",
|
|
294
|
+
size: "icon",
|
|
295
|
+
variant: "ghost",
|
|
296
|
+
"aria-label": s("planmagnet.gtm.launch.editItem", "Edit {{label}}", { label: e.label }),
|
|
297
|
+
disabled: $,
|
|
298
|
+
onClick: () => P({ ...e }),
|
|
299
|
+
children: /* @__PURE__ */ z(oe, {
|
|
300
|
+
"aria-hidden": "true",
|
|
301
|
+
className: "h-4 w-4"
|
|
302
|
+
})
|
|
303
|
+
}),
|
|
304
|
+
/* @__PURE__ */ z(t, {
|
|
305
|
+
label: "",
|
|
306
|
+
ariaLabel: s("planmagnet.gtm.launch.removeItem", "Remove {{label}}", { label: e.label }),
|
|
307
|
+
icon: /* @__PURE__ */ z(ce, {
|
|
308
|
+
"aria-hidden": "true",
|
|
309
|
+
className: "h-4 w-4"
|
|
310
|
+
}),
|
|
311
|
+
title: s("planmagnet.gtm.launch.removeItemTitle", "Remove checklist item?"),
|
|
312
|
+
description: s("planmagnet.gtm.launch.removeItemDescription", "This removes the item from this launch only."),
|
|
313
|
+
confirmLabel: s("planmagnet.gtm.launch.remove", "Remove"),
|
|
314
|
+
onConfirm: () => {
|
|
315
|
+
Ee(() => ye({ variables: { id: e.id } }));
|
|
316
|
+
},
|
|
317
|
+
disabled: $,
|
|
318
|
+
destructive: !0,
|
|
319
|
+
variant: "outline"
|
|
320
|
+
})
|
|
321
|
+
]
|
|
322
|
+
})]
|
|
323
|
+
}), o && M?.id === e.id && /* @__PURE__ */ B("form", {
|
|
324
|
+
className: "mt-3 grid gap-2 border-t border-border pt-3 sm:grid-cols-2",
|
|
325
|
+
onSubmit: (e) => {
|
|
326
|
+
e.preventDefault(), ke();
|
|
327
|
+
},
|
|
328
|
+
children: [
|
|
329
|
+
/* @__PURE__ */ B("label", {
|
|
330
|
+
className: "space-y-1 text-xs",
|
|
331
|
+
children: [s("planmagnet.gtm.launch.itemLabel", "Item label"), /* @__PURE__ */ z(q, {
|
|
332
|
+
value: M.label,
|
|
333
|
+
maxLength: 200,
|
|
334
|
+
required: !0,
|
|
335
|
+
onChange: (e) => P({
|
|
336
|
+
...M,
|
|
337
|
+
label: e.target.value
|
|
338
|
+
})
|
|
339
|
+
})]
|
|
340
|
+
}),
|
|
341
|
+
/* @__PURE__ */ B("label", {
|
|
342
|
+
className: "space-y-1 text-xs",
|
|
343
|
+
children: [s("planmagnet.gtm.launch.itemCategory", "Team"), /* @__PURE__ */ z("select", {
|
|
344
|
+
className: J,
|
|
345
|
+
value: M.category,
|
|
346
|
+
onChange: (e) => P({
|
|
347
|
+
...M,
|
|
348
|
+
category: e.target.value
|
|
349
|
+
}),
|
|
350
|
+
children: Y.map((e) => /* @__PURE__ */ z("option", {
|
|
351
|
+
value: e,
|
|
352
|
+
children: e.toLowerCase()
|
|
353
|
+
}, e))
|
|
354
|
+
})]
|
|
355
|
+
}),
|
|
356
|
+
/* @__PURE__ */ B("label", {
|
|
357
|
+
className: "space-y-1 text-xs",
|
|
358
|
+
children: [s("planmagnet.gtm.launch.dueDate", "Due date"), /* @__PURE__ */ z("input", {
|
|
359
|
+
type: "date",
|
|
360
|
+
min: "2000-01-01",
|
|
361
|
+
max: "2100-12-31",
|
|
362
|
+
className: le,
|
|
363
|
+
value: me(M.dueDate),
|
|
364
|
+
onChange: (e) => P({
|
|
365
|
+
...M,
|
|
366
|
+
dueDate: e.target.value || null
|
|
367
|
+
})
|
|
368
|
+
})]
|
|
369
|
+
}),
|
|
370
|
+
/* @__PURE__ */ B("div", {
|
|
371
|
+
className: "space-y-1 text-xs",
|
|
372
|
+
children: [s("planmagnet.gtm.launch.owner", "Owner"), /* @__PURE__ */ z(r, {
|
|
373
|
+
value: M.ownerId ?? "",
|
|
374
|
+
noneLabel: s("planmagnet.gtm.launch.noOwner", "No owner"),
|
|
375
|
+
onChange: (e) => P({
|
|
376
|
+
...M,
|
|
377
|
+
ownerId: e || null
|
|
378
|
+
})
|
|
379
|
+
})]
|
|
380
|
+
}),
|
|
381
|
+
/* @__PURE__ */ B("label", {
|
|
382
|
+
className: "flex items-center gap-2 text-xs",
|
|
383
|
+
children: [/* @__PURE__ */ z("input", {
|
|
384
|
+
type: "checkbox",
|
|
385
|
+
checked: M.isRequired,
|
|
386
|
+
onChange: (e) => P({
|
|
387
|
+
...M,
|
|
388
|
+
isRequired: e.target.checked
|
|
389
|
+
})
|
|
390
|
+
}), s("planmagnet.gtm.launch.requiredItem", "Required for readiness")]
|
|
391
|
+
}),
|
|
392
|
+
/* @__PURE__ */ B("div", {
|
|
393
|
+
className: "flex gap-2 sm:col-span-2",
|
|
394
|
+
children: [/* @__PURE__ */ z(H, {
|
|
395
|
+
type: "submit",
|
|
396
|
+
size: "sm",
|
|
397
|
+
disabled: $ || !M.label.trim(),
|
|
398
|
+
children: s("planmagnet.gtm.save", "Save")
|
|
399
|
+
}), /* @__PURE__ */ z(H, {
|
|
400
|
+
type: "button",
|
|
401
|
+
size: "sm",
|
|
402
|
+
variant: "outline",
|
|
403
|
+
onClick: () => P(null),
|
|
404
|
+
children: s("planmagnet.gtm.cancel", "Cancel")
|
|
405
|
+
})]
|
|
406
|
+
})
|
|
407
|
+
]
|
|
408
|
+
})]
|
|
409
|
+
}, e.id))
|
|
410
|
+
}),
|
|
411
|
+
o && /* @__PURE__ */ B("form", {
|
|
412
|
+
className: "grid gap-3 border-t border-border pt-4 sm:grid-cols-2",
|
|
413
|
+
onSubmit: (e) => {
|
|
414
|
+
e.preventDefault(), Oe();
|
|
415
|
+
},
|
|
416
|
+
children: [
|
|
417
|
+
/* @__PURE__ */ z("h3", {
|
|
418
|
+
className: "text-sm font-medium sm:col-span-2",
|
|
419
|
+
children: s("planmagnet.gtm.launch.addChecklistItem", "Add checklist item")
|
|
420
|
+
}),
|
|
421
|
+
/* @__PURE__ */ B("label", {
|
|
422
|
+
className: "space-y-1 text-xs",
|
|
423
|
+
children: [s("planmagnet.gtm.launch.itemLabel", "Item label"), /* @__PURE__ */ z(q, {
|
|
424
|
+
maxLength: 200,
|
|
425
|
+
required: !0,
|
|
426
|
+
value: h,
|
|
427
|
+
onChange: (e) => v(e.target.value),
|
|
428
|
+
placeholder: s("planmagnet.gtm.launch.itemExample", "e.g. Support guide approved")
|
|
429
|
+
})]
|
|
430
|
+
}),
|
|
431
|
+
/* @__PURE__ */ B("label", {
|
|
432
|
+
className: "space-y-1 text-xs",
|
|
433
|
+
children: [s("planmagnet.gtm.launch.itemCategory", "Team"), /* @__PURE__ */ z("select", {
|
|
434
|
+
className: J,
|
|
435
|
+
value: b,
|
|
436
|
+
onChange: (e) => x(e.target.value),
|
|
437
|
+
children: Y.map((e) => /* @__PURE__ */ z("option", {
|
|
438
|
+
value: e,
|
|
439
|
+
children: e.toLowerCase()
|
|
440
|
+
}, e))
|
|
441
|
+
})]
|
|
442
|
+
}),
|
|
443
|
+
/* @__PURE__ */ B("label", {
|
|
444
|
+
className: "space-y-1 text-xs",
|
|
445
|
+
children: [s("planmagnet.gtm.launch.dueDate", "Due date"), /* @__PURE__ */ z("input", {
|
|
446
|
+
type: "date",
|
|
447
|
+
min: "2000-01-01",
|
|
448
|
+
max: "2100-12-31",
|
|
449
|
+
className: le,
|
|
450
|
+
value: w,
|
|
451
|
+
onChange: (e) => T(e.target.value)
|
|
452
|
+
})]
|
|
453
|
+
}),
|
|
454
|
+
/* @__PURE__ */ B("div", {
|
|
455
|
+
className: "space-y-1 text-xs",
|
|
456
|
+
children: [s("planmagnet.gtm.launch.owner", "Owner"), /* @__PURE__ */ z(r, {
|
|
457
|
+
value: E,
|
|
458
|
+
noneLabel: s("planmagnet.gtm.launch.noOwner", "No owner"),
|
|
459
|
+
onChange: k
|
|
460
|
+
})]
|
|
461
|
+
}),
|
|
462
|
+
/* @__PURE__ */ B("label", {
|
|
463
|
+
className: "flex items-center gap-2 text-xs",
|
|
464
|
+
children: [/* @__PURE__ */ z("input", {
|
|
465
|
+
type: "checkbox",
|
|
466
|
+
checked: S,
|
|
467
|
+
onChange: (e) => C(e.target.checked)
|
|
468
|
+
}), s("planmagnet.gtm.launch.requiredItem", "Required for readiness")]
|
|
469
|
+
}),
|
|
470
|
+
/* @__PURE__ */ B("div", {
|
|
471
|
+
className: "sm:col-span-2",
|
|
472
|
+
children: [w && !m(w) && /* @__PURE__ */ z(n, { message: s("planmagnet.gtm.launch.dateInvalid", "Choose a valid date between 2000 and 2100.") }), /* @__PURE__ */ B(H, {
|
|
473
|
+
type: "submit",
|
|
474
|
+
size: "sm",
|
|
475
|
+
disabled: !h.trim() || $ || !!w && !m(w),
|
|
476
|
+
children: [/* @__PURE__ */ z(se, {
|
|
477
|
+
"aria-hidden": "true",
|
|
478
|
+
className: "mr-1 h-4 w-4"
|
|
479
|
+
}), s("planmagnet.gtm.launch.addItem", "Add item")]
|
|
480
|
+
})]
|
|
481
|
+
})
|
|
482
|
+
]
|
|
483
|
+
})
|
|
484
|
+
]
|
|
485
|
+
})]
|
|
486
|
+
});
|
|
487
|
+
}
|
|
488
|
+
function he({ launch: t, onClose: r }) {
|
|
489
|
+
let i = e(), [a, o] = j(t.name), [s, c] = j(t.strategySummary ?? ""), [l, u] = j(me(t.targetLaunchDate)), [f, p] = j(t.status), [g, _] = j(t.releaseId ?? ""), [v, y] = j(t.roadmapItemId ?? ""), [b, x] = j(t.roadmapItem ? {
|
|
490
|
+
id: t.roadmapItem.id,
|
|
491
|
+
title: t.roadmapItem.title
|
|
492
|
+
} : null), [S, ee] = j(""), [T, E] = j(t.successCriteria.map((e) => ({ ...e }))), [D] = j(() => ({
|
|
493
|
+
name: t.name,
|
|
494
|
+
strategySummary: t.strategySummary,
|
|
495
|
+
targetLaunchDate: t.targetLaunchDate,
|
|
496
|
+
status: t.status,
|
|
497
|
+
releaseId: t.releaseId,
|
|
498
|
+
roadmapItemId: t.roadmapItemId,
|
|
499
|
+
successCriteria: t.successCriteria.map((e) => ({ ...e }))
|
|
500
|
+
})), [O, k] = j(null), [A, ne] = j(!1), [re, M] = j(!1), N = L(C, { variables: {
|
|
501
|
+
workspaceId: t.workspaceId,
|
|
502
|
+
filter: {}
|
|
503
|
+
} }), P = L(w, { variables: {
|
|
504
|
+
workspaceId: t.workspaceId,
|
|
505
|
+
search: S.trim() || null
|
|
506
|
+
} }), [ae, oe] = I(te, X), F = (N.data?.planmagnetReleases.items ?? []).filter((e) => e.productId === t.productId || e.productId === null), R = (P.data?.planmagnetRoadmapItems.items ?? []).filter((e) => e.roadmap && (e.roadmap.productId === t.productId || e.roadmap.productId === null)), V = T.every((e) => {
|
|
507
|
+
let t = e.actual?.trim() ?? "";
|
|
508
|
+
return !!e.name.trim() && fe.test(e.target.trim()) && (!t || fe.test(t) && !!e.measuredAt) && (!e.measuredAt || !!t);
|
|
509
|
+
}), Y = m(l);
|
|
510
|
+
function Q(e, t) {
|
|
511
|
+
E((n) => n.map((n, r) => r === e ? {
|
|
512
|
+
...n,
|
|
513
|
+
...t
|
|
514
|
+
} : n));
|
|
515
|
+
}
|
|
516
|
+
async function he() {
|
|
517
|
+
if (!a.trim() || !Y || !V || oe.loading) return;
|
|
518
|
+
k(null);
|
|
519
|
+
let e = h(D, {
|
|
520
|
+
name: a,
|
|
521
|
+
strategy: s,
|
|
522
|
+
targetDay: l,
|
|
523
|
+
targetDateIso: Y,
|
|
524
|
+
status: f,
|
|
525
|
+
releaseId: g,
|
|
526
|
+
roadmapItemId: v,
|
|
527
|
+
criteria: T
|
|
528
|
+
});
|
|
529
|
+
if (Object.keys(e).length === 0) r();
|
|
530
|
+
else try {
|
|
531
|
+
await d(ae({ variables: {
|
|
532
|
+
id: t.id,
|
|
533
|
+
input: e
|
|
534
|
+
} })), r();
|
|
535
|
+
} catch (e) {
|
|
536
|
+
k(Z(e, i("planmagnet.gtm.launch.updateFailed", "The launch update was refused.")));
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
async function ge() {
|
|
540
|
+
let e = N.data?.planmagnetReleases.pageInfo.endCursor;
|
|
541
|
+
if (e && !A) {
|
|
542
|
+
ne(!0), k(null);
|
|
543
|
+
try {
|
|
544
|
+
await d(N.fetchMore({
|
|
545
|
+
variables: { after: e },
|
|
546
|
+
updateQuery: (e, { fetchMoreResult: t }) => t ? { planmagnetReleases: pe(e.planmagnetReleases, t.planmagnetReleases) } : e
|
|
547
|
+
}));
|
|
548
|
+
} catch (e) {
|
|
549
|
+
k(Z(e, i("planmagnet.gtm.launch.optionsFailed", "Could not load more options.")));
|
|
550
|
+
} finally {
|
|
551
|
+
ne(!1);
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
async function _e() {
|
|
556
|
+
let e = P.data?.planmagnetRoadmapItems.pageInfo.endCursor;
|
|
557
|
+
if (e && !re) {
|
|
558
|
+
M(!0), k(null);
|
|
559
|
+
try {
|
|
560
|
+
await d(P.fetchMore({
|
|
561
|
+
variables: { after: e },
|
|
562
|
+
updateQuery: (e, { fetchMoreResult: t }) => t ? { planmagnetRoadmapItems: pe(e.planmagnetRoadmapItems, t.planmagnetRoadmapItems) } : e
|
|
563
|
+
}));
|
|
564
|
+
} catch (e) {
|
|
565
|
+
k(Z(e, i("planmagnet.gtm.launch.optionsFailed", "Could not load more options.")));
|
|
566
|
+
} finally {
|
|
567
|
+
M(!1);
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
return /* @__PURE__ */ B(U, {
|
|
572
|
+
"data-testid": "prm04-launch-edit",
|
|
573
|
+
children: [/* @__PURE__ */ z(G, { children: /* @__PURE__ */ z(K, { children: i("planmagnet.gtm.launch.edit", "Edit launch plan") }) }), /* @__PURE__ */ z(W, { children: /* @__PURE__ */ B("form", {
|
|
574
|
+
className: "space-y-4",
|
|
575
|
+
onSubmit: (e) => {
|
|
576
|
+
e.preventDefault(), he();
|
|
577
|
+
},
|
|
578
|
+
children: [
|
|
579
|
+
O && /* @__PURE__ */ z(n, { message: O }),
|
|
580
|
+
/* @__PURE__ */ B("div", {
|
|
581
|
+
className: "grid gap-3 sm:grid-cols-2",
|
|
582
|
+
children: [
|
|
583
|
+
/* @__PURE__ */ B("label", {
|
|
584
|
+
className: "space-y-1 text-sm",
|
|
585
|
+
children: [i("planmagnet.gtm.launch.name", "Launch name"), /* @__PURE__ */ z(q, {
|
|
586
|
+
maxLength: 200,
|
|
587
|
+
required: !0,
|
|
588
|
+
value: a,
|
|
589
|
+
onChange: (e) => o(e.target.value)
|
|
590
|
+
})]
|
|
591
|
+
}),
|
|
592
|
+
/* @__PURE__ */ B("label", {
|
|
593
|
+
className: "space-y-1 text-sm",
|
|
594
|
+
children: [i("planmagnet.gtm.launch.targetDate", "Target launch date"), /* @__PURE__ */ z("input", {
|
|
595
|
+
className: le,
|
|
596
|
+
type: "date",
|
|
597
|
+
min: "2000-01-01",
|
|
598
|
+
max: "2100-12-31",
|
|
599
|
+
required: !0,
|
|
600
|
+
value: l,
|
|
601
|
+
onChange: (e) => u(e.target.value)
|
|
602
|
+
})]
|
|
603
|
+
}),
|
|
604
|
+
/* @__PURE__ */ B("label", {
|
|
605
|
+
className: "space-y-1 text-sm",
|
|
606
|
+
children: [i("planmagnet.gtm.launch.status", "Launch status"), /* @__PURE__ */ z("select", {
|
|
607
|
+
className: J,
|
|
608
|
+
value: f,
|
|
609
|
+
onChange: (e) => p(e.target.value),
|
|
610
|
+
children: de.map((e) => /* @__PURE__ */ z("option", {
|
|
611
|
+
value: e,
|
|
612
|
+
children: e.toLowerCase()
|
|
613
|
+
}, e))
|
|
614
|
+
})]
|
|
615
|
+
}),
|
|
616
|
+
/* @__PURE__ */ B("label", {
|
|
617
|
+
className: "space-y-1 text-sm",
|
|
618
|
+
children: [i("planmagnet.gtm.launch.release", "Existing release"), /* @__PURE__ */ B("select", {
|
|
619
|
+
className: J,
|
|
620
|
+
value: g,
|
|
621
|
+
onChange: (e) => _(e.target.value),
|
|
622
|
+
children: [
|
|
623
|
+
/* @__PURE__ */ z("option", {
|
|
624
|
+
value: "",
|
|
625
|
+
children: i("planmagnet.gtm.launch.noRelease", "No release linked")
|
|
626
|
+
}),
|
|
627
|
+
g && !F.some((e) => e.id === g) && t.release && /* @__PURE__ */ B("option", {
|
|
628
|
+
value: t.release.id,
|
|
629
|
+
children: [
|
|
630
|
+
t.release.name,
|
|
631
|
+
" (",
|
|
632
|
+
t.release.version,
|
|
633
|
+
")"
|
|
634
|
+
]
|
|
635
|
+
}),
|
|
636
|
+
F.map((e) => /* @__PURE__ */ B("option", {
|
|
637
|
+
value: e.id,
|
|
638
|
+
children: [
|
|
639
|
+
e.name,
|
|
640
|
+
" (",
|
|
641
|
+
e.version,
|
|
642
|
+
")"
|
|
643
|
+
]
|
|
644
|
+
}, e.id))
|
|
645
|
+
]
|
|
646
|
+
})]
|
|
647
|
+
})
|
|
648
|
+
]
|
|
649
|
+
}),
|
|
650
|
+
N.loading && !N.data && /* @__PURE__ */ z("p", {
|
|
651
|
+
role: "status",
|
|
652
|
+
className: "text-xs text-muted-foreground",
|
|
653
|
+
children: i("planmagnet.gtm.launch.loadingReleases", "Loading releases…")
|
|
654
|
+
}),
|
|
655
|
+
N.error && /* @__PURE__ */ z(n, { message: N.error.message }),
|
|
656
|
+
N.data?.planmagnetReleases.pageInfo.hasNextPage && /* @__PURE__ */ z(H, {
|
|
657
|
+
type: "button",
|
|
658
|
+
size: "sm",
|
|
659
|
+
variant: "outline",
|
|
660
|
+
disabled: A,
|
|
661
|
+
onClick: () => void ge(),
|
|
662
|
+
children: i("planmagnet.gtm.launch.moreReleases", "Load more releases")
|
|
663
|
+
}),
|
|
664
|
+
/* @__PURE__ */ B("div", {
|
|
665
|
+
className: "space-y-2 rounded-md border border-border p-3",
|
|
666
|
+
children: [
|
|
667
|
+
/* @__PURE__ */ z("label", {
|
|
668
|
+
className: "block text-sm font-medium",
|
|
669
|
+
htmlFor: "prm04-roadmap-search",
|
|
670
|
+
children: i("planmagnet.gtm.launch.roadmapSearch", "Find a roadmap initiative")
|
|
671
|
+
}),
|
|
672
|
+
/* @__PURE__ */ z(q, {
|
|
673
|
+
id: "prm04-roadmap-search",
|
|
674
|
+
placeholder: i("planmagnet.gtm.launch.roadmapSearchHint", "Search existing initiatives"),
|
|
675
|
+
value: S,
|
|
676
|
+
onChange: (e) => ee(e.target.value)
|
|
677
|
+
}),
|
|
678
|
+
/* @__PURE__ */ z("label", {
|
|
679
|
+
className: "block text-sm",
|
|
680
|
+
htmlFor: "prm04-roadmap-choice",
|
|
681
|
+
children: i("planmagnet.gtm.launch.roadmap", "Roadmap initiative")
|
|
682
|
+
}),
|
|
683
|
+
/* @__PURE__ */ B("select", {
|
|
684
|
+
id: "prm04-roadmap-choice",
|
|
685
|
+
className: J,
|
|
686
|
+
value: v,
|
|
687
|
+
onChange: (e) => {
|
|
688
|
+
let t = e.target.value;
|
|
689
|
+
y(t);
|
|
690
|
+
let n = R.find((e) => e.id === t);
|
|
691
|
+
x(n ? {
|
|
692
|
+
id: n.id,
|
|
693
|
+
title: n.title
|
|
694
|
+
} : b?.id === t ? b : null);
|
|
695
|
+
},
|
|
696
|
+
children: [
|
|
697
|
+
/* @__PURE__ */ z("option", {
|
|
698
|
+
value: "",
|
|
699
|
+
children: i("planmagnet.gtm.launch.noRoadmap", "No initiative linked")
|
|
700
|
+
}),
|
|
701
|
+
v && !R.some((e) => e.id === v) && b && /* @__PURE__ */ B("option", {
|
|
702
|
+
value: b.id,
|
|
703
|
+
children: [
|
|
704
|
+
b.title,
|
|
705
|
+
" (",
|
|
706
|
+
i("planmagnet.gtm.launch.current", "selected"),
|
|
707
|
+
")"
|
|
708
|
+
]
|
|
709
|
+
}),
|
|
710
|
+
R.map((e) => /* @__PURE__ */ B("option", {
|
|
711
|
+
value: e.id,
|
|
712
|
+
children: [
|
|
713
|
+
e.title,
|
|
714
|
+
" · ",
|
|
715
|
+
e.roadmap?.name
|
|
716
|
+
]
|
|
717
|
+
}, e.id))
|
|
718
|
+
]
|
|
719
|
+
}),
|
|
720
|
+
/* @__PURE__ */ z("p", {
|
|
721
|
+
className: "text-xs text-muted-foreground",
|
|
722
|
+
children: i("planmagnet.gtm.launch.roadmapScope", "Only initiatives on this Product or an unattached roadmap can be linked. The server checks this again when saving.")
|
|
723
|
+
}),
|
|
724
|
+
P.loading && !P.data && /* @__PURE__ */ z("p", {
|
|
725
|
+
role: "status",
|
|
726
|
+
className: "text-xs text-muted-foreground",
|
|
727
|
+
children: i("planmagnet.gtm.launch.loadingRoadmaps", "Loading roadmap initiatives…")
|
|
728
|
+
}),
|
|
729
|
+
P.error && /* @__PURE__ */ z(n, { message: P.error.message }),
|
|
730
|
+
P.data?.planmagnetRoadmapItems.pageInfo.hasNextPage && /* @__PURE__ */ z(H, {
|
|
731
|
+
type: "button",
|
|
732
|
+
size: "sm",
|
|
733
|
+
variant: "outline",
|
|
734
|
+
disabled: re,
|
|
735
|
+
onClick: () => void _e(),
|
|
736
|
+
children: i("planmagnet.gtm.launch.moreRoadmaps", "Load more initiatives")
|
|
737
|
+
})
|
|
738
|
+
]
|
|
739
|
+
}),
|
|
740
|
+
/* @__PURE__ */ B("label", {
|
|
741
|
+
className: "block space-y-1 text-sm",
|
|
742
|
+
children: [i("planmagnet.gtm.launch.strategy", "Positioning and strategy"), /* @__PURE__ */ z("textarea", {
|
|
743
|
+
className: ue,
|
|
744
|
+
maxLength: 1e4,
|
|
745
|
+
value: s,
|
|
746
|
+
onChange: (e) => c(e.target.value)
|
|
747
|
+
})]
|
|
748
|
+
}),
|
|
749
|
+
/* @__PURE__ */ B("div", {
|
|
750
|
+
className: "space-y-3 rounded-md border border-border p-3",
|
|
751
|
+
children: [
|
|
752
|
+
/* @__PURE__ */ B("div", {
|
|
753
|
+
className: "flex items-center justify-between gap-2",
|
|
754
|
+
children: [/* @__PURE__ */ B("div", { children: [/* @__PURE__ */ z("h3", {
|
|
755
|
+
className: "text-sm font-medium",
|
|
756
|
+
children: i("planmagnet.gtm.launch.successCriteria", "Success criteria")
|
|
757
|
+
}), /* @__PURE__ */ z("p", {
|
|
758
|
+
className: "text-xs text-muted-foreground",
|
|
759
|
+
children: i("planmagnet.gtm.launch.successHelp", "Your target and measured results are saved exactly as entered; the app does not estimate performance.")
|
|
760
|
+
})] }), /* @__PURE__ */ B(H, {
|
|
761
|
+
type: "button",
|
|
762
|
+
size: "sm",
|
|
763
|
+
variant: "outline",
|
|
764
|
+
disabled: T.length >= 20,
|
|
765
|
+
onClick: () => E([...T, {
|
|
766
|
+
name: "",
|
|
767
|
+
target: "",
|
|
768
|
+
actual: null,
|
|
769
|
+
unit: null,
|
|
770
|
+
measuredAt: null
|
|
771
|
+
}]),
|
|
772
|
+
children: [/* @__PURE__ */ z(se, {
|
|
773
|
+
"aria-hidden": "true",
|
|
774
|
+
className: "mr-1 h-4 w-4"
|
|
775
|
+
}), i("planmagnet.gtm.launch.addCriterion", "Add criterion")]
|
|
776
|
+
})]
|
|
777
|
+
}),
|
|
778
|
+
T.length === 0 && /* @__PURE__ */ z("p", {
|
|
779
|
+
className: "text-sm text-muted-foreground",
|
|
780
|
+
children: i("planmagnet.gtm.launch.noCriteria", "No success criteria recorded yet.")
|
|
781
|
+
}),
|
|
782
|
+
T.map((e, t) => /* @__PURE__ */ B("div", {
|
|
783
|
+
className: "grid gap-2 rounded-md border border-border p-3 sm:grid-cols-2",
|
|
784
|
+
"data-testid": "prm04-success-criterion",
|
|
785
|
+
children: [
|
|
786
|
+
/* @__PURE__ */ B("label", {
|
|
787
|
+
className: "space-y-1 text-xs",
|
|
788
|
+
children: [i("planmagnet.gtm.launch.criterionName", "Metric / result"), /* @__PURE__ */ z(q, {
|
|
789
|
+
maxLength: 200,
|
|
790
|
+
required: !0,
|
|
791
|
+
value: e.name,
|
|
792
|
+
onChange: (e) => Q(t, { name: e.target.value })
|
|
793
|
+
})]
|
|
794
|
+
}),
|
|
795
|
+
/* @__PURE__ */ B("label", {
|
|
796
|
+
className: "space-y-1 text-xs",
|
|
797
|
+
children: [i("planmagnet.gtm.launch.criterionUnit", "Unit (optional)"), /* @__PURE__ */ z(q, {
|
|
798
|
+
maxLength: 40,
|
|
799
|
+
value: e.unit ?? "",
|
|
800
|
+
onChange: (e) => Q(t, { unit: e.target.value || null }),
|
|
801
|
+
placeholder: i("planmagnet.gtm.launch.criterionUnitExample", "e.g. sign-ups, %")
|
|
802
|
+
})]
|
|
803
|
+
}),
|
|
804
|
+
/* @__PURE__ */ B("label", {
|
|
805
|
+
className: "space-y-1 text-xs",
|
|
806
|
+
children: [i("planmagnet.gtm.launch.criterionTarget", "Target (exact number)"), /* @__PURE__ */ z(q, {
|
|
807
|
+
inputMode: "decimal",
|
|
808
|
+
required: !0,
|
|
809
|
+
value: e.target,
|
|
810
|
+
onChange: (e) => Q(t, { target: e.target.value })
|
|
811
|
+
})]
|
|
812
|
+
}),
|
|
813
|
+
/* @__PURE__ */ B("label", {
|
|
814
|
+
className: "space-y-1 text-xs",
|
|
815
|
+
children: [i("planmagnet.gtm.launch.criterionActual", "Actual (optional)"), /* @__PURE__ */ z(q, {
|
|
816
|
+
inputMode: "decimal",
|
|
817
|
+
value: e.actual ?? "",
|
|
818
|
+
onChange: (e) => Q(t, {
|
|
819
|
+
actual: e.target.value || null,
|
|
820
|
+
...e.target.value ? {} : { measuredAt: null }
|
|
821
|
+
})
|
|
822
|
+
})]
|
|
823
|
+
}),
|
|
824
|
+
/* @__PURE__ */ B("label", {
|
|
825
|
+
className: "space-y-1 text-xs",
|
|
826
|
+
children: [i("planmagnet.gtm.launch.measuredAt", "Actual measured on"), /* @__PURE__ */ z("input", {
|
|
827
|
+
type: "date",
|
|
828
|
+
min: "2000-01-01",
|
|
829
|
+
className: le,
|
|
830
|
+
disabled: !e.actual,
|
|
831
|
+
value: me(e.measuredAt),
|
|
832
|
+
onChange: (e) => Q(t, { measuredAt: e.target.value ? m(e.target.value) : null })
|
|
833
|
+
})]
|
|
834
|
+
}),
|
|
835
|
+
/* @__PURE__ */ z("div", {
|
|
836
|
+
className: "flex items-end justify-end",
|
|
837
|
+
children: /* @__PURE__ */ B(H, {
|
|
838
|
+
type: "button",
|
|
839
|
+
size: "sm",
|
|
840
|
+
variant: "outline",
|
|
841
|
+
onClick: () => E((e) => e.filter((e, n) => n !== t)),
|
|
842
|
+
"aria-label": i("planmagnet.gtm.launch.removeCriterion", "Remove criterion {{number}}", { number: t + 1 }),
|
|
843
|
+
children: [/* @__PURE__ */ z(ce, {
|
|
844
|
+
"aria-hidden": "true",
|
|
845
|
+
className: "mr-1 h-4 w-4"
|
|
846
|
+
}), i("planmagnet.gtm.launch.remove", "Remove")]
|
|
847
|
+
})
|
|
848
|
+
})
|
|
849
|
+
]
|
|
850
|
+
}, t)),
|
|
851
|
+
!V && /* @__PURE__ */ z(n, { message: i("planmagnet.gtm.launch.criterionInvalid", "Each criterion needs a name and a decimal target (up to 15 digits and 4 decimals). An actual requires a measured date; the server refuses future dates.") })
|
|
852
|
+
]
|
|
853
|
+
}),
|
|
854
|
+
l && !Y && /* @__PURE__ */ z(n, { message: i("planmagnet.gtm.launch.dateInvalid", "Choose a valid launch date between 2000 and 2100.") }),
|
|
855
|
+
/* @__PURE__ */ B("div", {
|
|
856
|
+
className: "flex flex-wrap gap-2",
|
|
857
|
+
children: [/* @__PURE__ */ B(H, {
|
|
858
|
+
type: "submit",
|
|
859
|
+
disabled: oe.loading || !a.trim() || !Y || !V,
|
|
860
|
+
children: [/* @__PURE__ */ z(ie, {
|
|
861
|
+
"aria-hidden": "true",
|
|
862
|
+
className: "mr-1 h-4 w-4"
|
|
863
|
+
}), oe.loading ? i("planmagnet.gtm.launch.saving", "Saving…") : i("planmagnet.gtm.save", "Save plan")]
|
|
864
|
+
}), /* @__PURE__ */ z(H, {
|
|
865
|
+
type: "button",
|
|
866
|
+
variant: "outline",
|
|
867
|
+
onClick: r,
|
|
868
|
+
children: i("planmagnet.gtm.cancel", "Cancel")
|
|
869
|
+
})]
|
|
870
|
+
})
|
|
871
|
+
]
|
|
872
|
+
}) })]
|
|
873
|
+
});
|
|
874
|
+
}
|
|
875
|
+
function ge({ launch: t, canUpdate: r }) {
|
|
876
|
+
let i = e(), a = s(), [o, c] = j(""), [l, u] = j(""), [m, h] = j(null), [g, _] = j(!1), v = L(x, {
|
|
877
|
+
variables: {
|
|
878
|
+
workspaceId: t.workspaceId,
|
|
879
|
+
search: o.trim() || null
|
|
880
|
+
},
|
|
881
|
+
skip: !r
|
|
882
|
+
}), [y, b] = I(T, X), [S, C] = I(k, X), w = b.loading || C.loading, ee = new Set(t.milestones.map((e) => e.id)), E = (v.data?.planmagnetMilestones.items ?? []).filter((e) => !ee.has(e.id));
|
|
883
|
+
async function D(e) {
|
|
884
|
+
if (!r) return !1;
|
|
885
|
+
h(null);
|
|
886
|
+
try {
|
|
887
|
+
return await d(e()), !0;
|
|
888
|
+
} catch (e) {
|
|
889
|
+
return h(Z(e, i("planmagnet.gtm.launch.linkFailed", "The association was refused."))), !1;
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
async function O() {
|
|
893
|
+
let e = v.data?.planmagnetMilestones.pageInfo.endCursor;
|
|
894
|
+
if (e && !g) {
|
|
895
|
+
_(!0), h(null);
|
|
896
|
+
try {
|
|
897
|
+
await d(v.fetchMore({
|
|
898
|
+
variables: { after: e },
|
|
899
|
+
updateQuery: (e, { fetchMoreResult: t }) => t ? { planmagnetMilestones: pe(e.planmagnetMilestones, t.planmagnetMilestones) } : e
|
|
900
|
+
}));
|
|
901
|
+
} catch (e) {
|
|
902
|
+
h(Z(e, i("planmagnet.gtm.launch.optionsFailed", "Could not load more options.")));
|
|
903
|
+
} finally {
|
|
904
|
+
_(!1);
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
return /* @__PURE__ */ B(U, {
|
|
909
|
+
"data-testid": "prm04-launch-milestones",
|
|
910
|
+
children: [/* @__PURE__ */ z(G, { children: /* @__PURE__ */ z(K, { children: i("planmagnet.gtm.launch.timeline", "Launch timeline · existing milestones") }) }), /* @__PURE__ */ B(W, {
|
|
911
|
+
className: "space-y-3",
|
|
912
|
+
children: [
|
|
913
|
+
/* @__PURE__ */ z("p", {
|
|
914
|
+
className: "text-xs text-muted-foreground",
|
|
915
|
+
children: i("planmagnet.gtm.launch.milestoneHelp", "Link checkpoints from existing projects. No milestone is copied or changed.")
|
|
916
|
+
}),
|
|
917
|
+
m && /* @__PURE__ */ z(n, { message: m }),
|
|
918
|
+
t.milestones.length === 0 && /* @__PURE__ */ z("p", {
|
|
919
|
+
className: "text-sm text-muted-foreground",
|
|
920
|
+
children: i("planmagnet.gtm.launch.noMilestones", "No milestones linked yet.")
|
|
921
|
+
}),
|
|
922
|
+
t.milestones.length > 0 && /* @__PURE__ */ z("ol", {
|
|
923
|
+
className: "space-y-2 border-l border-border pl-4",
|
|
924
|
+
children: t.milestones.map((e) => /* @__PURE__ */ B("li", {
|
|
925
|
+
className: "flex flex-wrap items-center justify-between gap-2 text-sm",
|
|
926
|
+
children: [/* @__PURE__ */ B("div", { children: [/* @__PURE__ */ z(H, {
|
|
927
|
+
variant: "link",
|
|
928
|
+
className: "h-auto px-0 py-0 text-left",
|
|
929
|
+
onClick: () => a(f("/projects/milestone-detail-page", e.id)),
|
|
930
|
+
children: e.name
|
|
931
|
+
}), /* @__PURE__ */ B("p", {
|
|
932
|
+
className: "text-xs text-muted-foreground",
|
|
933
|
+
children: [
|
|
934
|
+
e.project?.name ?? i("planmagnet.gtm.launch.projectUnavailable", "Project unavailable"),
|
|
935
|
+
e.dueDate ? ` · ${p(e.dueDate)}` : "",
|
|
936
|
+
" ·",
|
|
937
|
+
" ",
|
|
938
|
+
e.status.toLowerCase().replace("_", " ")
|
|
939
|
+
]
|
|
940
|
+
})] }), r && /* @__PURE__ */ B(H, {
|
|
941
|
+
type: "button",
|
|
942
|
+
size: "sm",
|
|
943
|
+
variant: "outline",
|
|
944
|
+
disabled: w,
|
|
945
|
+
onClick: () => {
|
|
946
|
+
D(() => S({ variables: {
|
|
947
|
+
launchId: t.id,
|
|
948
|
+
milestoneId: e.id
|
|
949
|
+
} }));
|
|
950
|
+
},
|
|
951
|
+
children: [/* @__PURE__ */ z(F, {
|
|
952
|
+
"aria-hidden": "true",
|
|
953
|
+
className: "mr-1 h-4 w-4"
|
|
954
|
+
}), i("planmagnet.gtm.launch.unlink", "Unlink")]
|
|
955
|
+
})]
|
|
956
|
+
}, e.id))
|
|
957
|
+
}),
|
|
958
|
+
r && /* @__PURE__ */ B("div", {
|
|
959
|
+
className: "space-y-2 border-t border-border pt-3",
|
|
960
|
+
children: [
|
|
961
|
+
/* @__PURE__ */ z("label", {
|
|
962
|
+
className: "block text-xs",
|
|
963
|
+
htmlFor: "prm04-milestone-search",
|
|
964
|
+
children: i("planmagnet.gtm.launch.findMilestone", "Find a milestone in this workspace")
|
|
965
|
+
}),
|
|
966
|
+
/* @__PURE__ */ z(q, {
|
|
967
|
+
id: "prm04-milestone-search",
|
|
968
|
+
value: o,
|
|
969
|
+
onChange: (e) => {
|
|
970
|
+
c(e.target.value), u("");
|
|
971
|
+
},
|
|
972
|
+
placeholder: i("planmagnet.gtm.launch.searchMilestones", "Search milestones")
|
|
973
|
+
}),
|
|
974
|
+
v.loading && !v.data && /* @__PURE__ */ z("p", {
|
|
975
|
+
role: "status",
|
|
976
|
+
className: "text-xs text-muted-foreground",
|
|
977
|
+
children: i("planmagnet.gtm.launch.loadingMilestones", "Loading milestones…")
|
|
978
|
+
}),
|
|
979
|
+
v.error && /* @__PURE__ */ z(n, { message: v.error.message }),
|
|
980
|
+
/* @__PURE__ */ B("select", {
|
|
981
|
+
"aria-label": i("planmagnet.gtm.launch.selectMilestone", "Milestone to link"),
|
|
982
|
+
value: l,
|
|
983
|
+
onChange: (e) => u(e.target.value),
|
|
984
|
+
className: J,
|
|
985
|
+
children: [/* @__PURE__ */ z("option", {
|
|
986
|
+
value: "",
|
|
987
|
+
children: i("planmagnet.gtm.launch.chooseMilestone", "Choose an existing milestone")
|
|
988
|
+
}), E.map((e) => /* @__PURE__ */ B("option", {
|
|
989
|
+
value: e.id,
|
|
990
|
+
children: [
|
|
991
|
+
e.name,
|
|
992
|
+
" ·",
|
|
993
|
+
" ",
|
|
994
|
+
e.project?.name ?? i("planmagnet.gtm.launch.projectUnavailable", "Project unavailable"),
|
|
995
|
+
e.dueDate ? ` · ${me(e.dueDate)}` : ""
|
|
996
|
+
]
|
|
997
|
+
}, e.id))]
|
|
998
|
+
}),
|
|
999
|
+
v.data && E.length === 0 && /* @__PURE__ */ z("p", {
|
|
1000
|
+
className: "text-xs text-muted-foreground",
|
|
1001
|
+
children: i("planmagnet.gtm.launch.noAvailableMilestones", "No unlinked milestones in this page of results. Search or load more.")
|
|
1002
|
+
}),
|
|
1003
|
+
/* @__PURE__ */ B("div", {
|
|
1004
|
+
className: "flex flex-wrap gap-2",
|
|
1005
|
+
children: [/* @__PURE__ */ B(H, {
|
|
1006
|
+
type: "button",
|
|
1007
|
+
size: "sm",
|
|
1008
|
+
disabled: !l || w,
|
|
1009
|
+
onClick: () => {
|
|
1010
|
+
D(() => y({ variables: {
|
|
1011
|
+
launchId: t.id,
|
|
1012
|
+
milestoneId: l
|
|
1013
|
+
} })).then((e) => {
|
|
1014
|
+
e && u("");
|
|
1015
|
+
});
|
|
1016
|
+
},
|
|
1017
|
+
children: [/* @__PURE__ */ z(se, {
|
|
1018
|
+
"aria-hidden": "true",
|
|
1019
|
+
className: "mr-1 h-4 w-4"
|
|
1020
|
+
}), i("planmagnet.gtm.launch.linkMilestone", "Link milestone")]
|
|
1021
|
+
}), v.data?.planmagnetMilestones.pageInfo.hasNextPage && /* @__PURE__ */ z(H, {
|
|
1022
|
+
type: "button",
|
|
1023
|
+
size: "sm",
|
|
1024
|
+
variant: "outline",
|
|
1025
|
+
disabled: g,
|
|
1026
|
+
onClick: () => void O(),
|
|
1027
|
+
children: i("planmagnet.gtm.launch.moreMilestones", "Load more milestones")
|
|
1028
|
+
})]
|
|
1029
|
+
})
|
|
1030
|
+
]
|
|
1031
|
+
})
|
|
1032
|
+
]
|
|
1033
|
+
})]
|
|
1034
|
+
});
|
|
1035
|
+
}
|
|
1036
|
+
function _e({ launch: t, canUpdate: r }) {
|
|
1037
|
+
let i = e(), a = s(), [o, c] = j(""), [l, u] = j(null), [f, p] = j(!1), m = L(S, {
|
|
1038
|
+
variables: {
|
|
1039
|
+
workspaceId: t.workspaceId,
|
|
1040
|
+
productId: t.productId
|
|
1041
|
+
},
|
|
1042
|
+
skip: !r
|
|
1043
|
+
}), [h, g] = I(E, X), [_, v] = I(A, X), y = g.loading || v.loading, b = new Set(t.targetPersonas.map((e) => e.id)), x = (m.data?.planmagnetProductPersonas.items ?? []).filter((e) => !b.has(e.id) && e.status !== "ARCHIVED");
|
|
1044
|
+
async function C(e) {
|
|
1045
|
+
if (!r) return !1;
|
|
1046
|
+
u(null);
|
|
1047
|
+
try {
|
|
1048
|
+
return await d(e()), !0;
|
|
1049
|
+
} catch (e) {
|
|
1050
|
+
return u(Z(e, i("planmagnet.gtm.launch.linkFailed", "The association was refused."))), !1;
|
|
1051
|
+
}
|
|
1052
|
+
}
|
|
1053
|
+
async function w() {
|
|
1054
|
+
let e = m.data?.planmagnetProductPersonas.pageInfo.endCursor;
|
|
1055
|
+
if (e && !f) {
|
|
1056
|
+
p(!0), u(null);
|
|
1057
|
+
try {
|
|
1058
|
+
await d(m.fetchMore({
|
|
1059
|
+
variables: { after: e },
|
|
1060
|
+
updateQuery: (e, { fetchMoreResult: t }) => t ? { planmagnetProductPersonas: pe(e.planmagnetProductPersonas, t.planmagnetProductPersonas) } : e
|
|
1061
|
+
}));
|
|
1062
|
+
} catch (e) {
|
|
1063
|
+
u(Z(e, i("planmagnet.gtm.launch.optionsFailed", "Could not load more options.")));
|
|
1064
|
+
} finally {
|
|
1065
|
+
p(!1);
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
return /* @__PURE__ */ B(U, {
|
|
1070
|
+
"data-testid": "prm04-launch-personas",
|
|
1071
|
+
children: [/* @__PURE__ */ B(G, {
|
|
1072
|
+
className: "flex flex-row items-center justify-between gap-2",
|
|
1073
|
+
children: [/* @__PURE__ */ z(K, { children: i("planmagnet.gtm.launch.targetPersonas", "Target Personas") }), /* @__PURE__ */ z(H, {
|
|
1074
|
+
type: "button",
|
|
1075
|
+
variant: "outline",
|
|
1076
|
+
size: "sm",
|
|
1077
|
+
onClick: () => a("/products/personas-page"),
|
|
1078
|
+
children: i("planmagnet.gtm.launch.personaLibrary", "Persona library")
|
|
1079
|
+
})]
|
|
1080
|
+
}), /* @__PURE__ */ B(W, {
|
|
1081
|
+
className: "space-y-3",
|
|
1082
|
+
children: [
|
|
1083
|
+
/* @__PURE__ */ z("p", {
|
|
1084
|
+
className: "text-xs text-muted-foreground",
|
|
1085
|
+
children: i("planmagnet.gtm.launch.personaHelp", "Only Personas shared with this Product can be linked. Manage shared ownership in the workspace library.")
|
|
1086
|
+
}),
|
|
1087
|
+
l && /* @__PURE__ */ z(n, { message: l }),
|
|
1088
|
+
t.targetPersonas.length === 0 && /* @__PURE__ */ z("p", {
|
|
1089
|
+
className: "text-sm text-muted-foreground",
|
|
1090
|
+
children: i("planmagnet.gtm.launch.noPersonas", "No target Personas linked yet.")
|
|
1091
|
+
}),
|
|
1092
|
+
t.targetPersonas.map((e) => /* @__PURE__ */ B("div", {
|
|
1093
|
+
className: "flex items-center justify-between gap-2 rounded-md border border-border p-2 text-sm",
|
|
1094
|
+
children: [/* @__PURE__ */ B("span", { children: [
|
|
1095
|
+
e.name,
|
|
1096
|
+
" ",
|
|
1097
|
+
/* @__PURE__ */ z(V, {
|
|
1098
|
+
variant: "outline",
|
|
1099
|
+
children: e.status.toLowerCase()
|
|
1100
|
+
})
|
|
1101
|
+
] }), r && /* @__PURE__ */ B(H, {
|
|
1102
|
+
type: "button",
|
|
1103
|
+
size: "sm",
|
|
1104
|
+
variant: "outline",
|
|
1105
|
+
disabled: y,
|
|
1106
|
+
onClick: () => {
|
|
1107
|
+
C(() => _({ variables: {
|
|
1108
|
+
launchId: t.id,
|
|
1109
|
+
personaId: e.id
|
|
1110
|
+
} }));
|
|
1111
|
+
},
|
|
1112
|
+
children: [/* @__PURE__ */ z(F, {
|
|
1113
|
+
"aria-hidden": "true",
|
|
1114
|
+
className: "mr-1 h-4 w-4"
|
|
1115
|
+
}), i("planmagnet.gtm.launch.unlink", "Unlink")]
|
|
1116
|
+
})]
|
|
1117
|
+
}, e.id)),
|
|
1118
|
+
r && /* @__PURE__ */ B(R, { children: [
|
|
1119
|
+
m.loading && !m.data && /* @__PURE__ */ z("p", {
|
|
1120
|
+
role: "status",
|
|
1121
|
+
className: "text-xs text-muted-foreground",
|
|
1122
|
+
children: i("planmagnet.gtm.launch.loadingPersonas", "Loading Personas…")
|
|
1123
|
+
}),
|
|
1124
|
+
m.error && /* @__PURE__ */ z(n, { message: m.error.message }),
|
|
1125
|
+
/* @__PURE__ */ B("select", {
|
|
1126
|
+
"aria-label": i("planmagnet.gtm.launch.selectPersona", "Persona to link"),
|
|
1127
|
+
value: o,
|
|
1128
|
+
onChange: (e) => c(e.target.value),
|
|
1129
|
+
className: J,
|
|
1130
|
+
children: [/* @__PURE__ */ z("option", {
|
|
1131
|
+
value: "",
|
|
1132
|
+
children: i("planmagnet.gtm.launch.choosePersona", "Choose a Product Persona")
|
|
1133
|
+
}), x.map((e) => /* @__PURE__ */ B("option", {
|
|
1134
|
+
value: e.id,
|
|
1135
|
+
children: [
|
|
1136
|
+
e.name,
|
|
1137
|
+
" · ",
|
|
1138
|
+
e.status.toLowerCase()
|
|
1139
|
+
]
|
|
1140
|
+
}, e.id))]
|
|
1141
|
+
}),
|
|
1142
|
+
m.data && x.length === 0 && /* @__PURE__ */ z("p", {
|
|
1143
|
+
className: "text-xs text-muted-foreground",
|
|
1144
|
+
children: i("planmagnet.gtm.launch.noAvailablePersonas", "No active, unlinked Personas in this page of results. Visit the library or load more.")
|
|
1145
|
+
}),
|
|
1146
|
+
/* @__PURE__ */ B("div", {
|
|
1147
|
+
className: "flex flex-wrap gap-2",
|
|
1148
|
+
children: [/* @__PURE__ */ B(H, {
|
|
1149
|
+
type: "button",
|
|
1150
|
+
size: "sm",
|
|
1151
|
+
disabled: !o || y,
|
|
1152
|
+
onClick: () => {
|
|
1153
|
+
C(() => h({ variables: {
|
|
1154
|
+
launchId: t.id,
|
|
1155
|
+
personaId: o
|
|
1156
|
+
} })).then((e) => {
|
|
1157
|
+
e && c("");
|
|
1158
|
+
});
|
|
1159
|
+
},
|
|
1160
|
+
children: [/* @__PURE__ */ z(se, {
|
|
1161
|
+
"aria-hidden": "true",
|
|
1162
|
+
className: "mr-1 h-4 w-4"
|
|
1163
|
+
}), i("planmagnet.gtm.launch.linkPersona", "Link Persona")]
|
|
1164
|
+
}), m.data?.planmagnetProductPersonas.pageInfo.hasNextPage && /* @__PURE__ */ z(H, {
|
|
1165
|
+
type: "button",
|
|
1166
|
+
size: "sm",
|
|
1167
|
+
variant: "outline",
|
|
1168
|
+
disabled: f,
|
|
1169
|
+
onClick: () => void w(),
|
|
1170
|
+
children: i("planmagnet.gtm.launch.morePersonas", "Load more Personas")
|
|
1171
|
+
})]
|
|
1172
|
+
})
|
|
1173
|
+
] })
|
|
1174
|
+
]
|
|
1175
|
+
})]
|
|
1176
|
+
});
|
|
1177
|
+
}
|
|
1178
|
+
function ve() {
|
|
1179
|
+
let r = e(), a = s(), { workspaceId: m } = o(), h = c(), g = i("id") ?? "", { data: _, loading: y, error: x } = L(b, {
|
|
1180
|
+
variables: { id: g },
|
|
1181
|
+
skip: !g
|
|
1182
|
+
}), [S, C] = j(!1), [w, ee] = j(null), [T, E] = I(v, {
|
|
1183
|
+
refetchQueries: ["Prm04ProductLaunches"],
|
|
1184
|
+
awaitRefetchQueries: !0,
|
|
1185
|
+
context: u
|
|
1186
|
+
});
|
|
1187
|
+
if (!g) return /* @__PURE__ */ z("div", {
|
|
1188
|
+
className: "p-6 text-muted-foreground",
|
|
1189
|
+
children: r("planmagnet.gtm.launch.noSelection", "Open a launch from a Product.")
|
|
1190
|
+
});
|
|
1191
|
+
if (y && !_) return /* @__PURE__ */ z("div", {
|
|
1192
|
+
className: "flex items-center justify-center p-12",
|
|
1193
|
+
role: "status",
|
|
1194
|
+
"aria-label": r("planmagnet.gtm.launch.loading", "Loading launch…"),
|
|
1195
|
+
children: /* @__PURE__ */ z(ae, { className: "h-8 w-8 animate-spin text-muted-foreground" })
|
|
1196
|
+
});
|
|
1197
|
+
if (x) return /* @__PURE__ */ z("div", {
|
|
1198
|
+
className: "p-6",
|
|
1199
|
+
children: /* @__PURE__ */ z(n, { message: x.message })
|
|
1200
|
+
});
|
|
1201
|
+
let D = _?.planmagnetProductLaunch;
|
|
1202
|
+
if (!D || m && m !== D.workspaceId) return /* @__PURE__ */ z(l, {});
|
|
1203
|
+
let O = !!D.product?.archivedAt, k = h.canUpdate && !O, A = h.canDelete && !O;
|
|
1204
|
+
async function te() {
|
|
1205
|
+
if (D && A && !E.loading) {
|
|
1206
|
+
ee(null);
|
|
1207
|
+
try {
|
|
1208
|
+
if (!(await d(T({ variables: { id: D.id } }))).data?.planmagnetDeleteProductLaunch) throw Error(r("planmagnet.gtm.launch.deleteFailed", "The launch could not be deleted."));
|
|
1209
|
+
a(f("/products/product-detail-page", D.productId));
|
|
1210
|
+
} catch (e) {
|
|
1211
|
+
ee(Z(e, r("planmagnet.gtm.launch.deleteFailed", "The launch could not be deleted.")));
|
|
1212
|
+
}
|
|
1213
|
+
}
|
|
1214
|
+
}
|
|
1215
|
+
return /* @__PURE__ */ B("div", {
|
|
1216
|
+
className: "space-y-6 p-6",
|
|
1217
|
+
"data-testid": "prm04-launch-detail",
|
|
1218
|
+
children: [
|
|
1219
|
+
/* @__PURE__ */ B(H, {
|
|
1220
|
+
type: "button",
|
|
1221
|
+
variant: "ghost",
|
|
1222
|
+
size: "sm",
|
|
1223
|
+
onClick: () => a(f("/products/product-detail-page", D.productId)),
|
|
1224
|
+
children: [/* @__PURE__ */ z(M, {
|
|
1225
|
+
"aria-hidden": "true",
|
|
1226
|
+
className: "mr-1 h-4 w-4"
|
|
1227
|
+
}), r("planmagnet.gtm.launch.backToProduct", "Back to Product")]
|
|
1228
|
+
}),
|
|
1229
|
+
/* @__PURE__ */ B("div", {
|
|
1230
|
+
className: "flex flex-wrap items-start justify-between gap-3",
|
|
1231
|
+
children: [/* @__PURE__ */ B("div", { children: [
|
|
1232
|
+
/* @__PURE__ */ B("h1", {
|
|
1233
|
+
className: "flex items-center gap-2 text-2xl font-semibold",
|
|
1234
|
+
children: [/* @__PURE__ */ z(P, {
|
|
1235
|
+
"aria-hidden": "true",
|
|
1236
|
+
className: "h-6 w-6 text-primary"
|
|
1237
|
+
}), D.name]
|
|
1238
|
+
}),
|
|
1239
|
+
/* @__PURE__ */ B("p", {
|
|
1240
|
+
className: "mt-1 text-sm text-muted-foreground",
|
|
1241
|
+
children: [
|
|
1242
|
+
D.product?.name ?? r("planmagnet.gtm.launch.productUnavailable", "Product unavailable"),
|
|
1243
|
+
" ",
|
|
1244
|
+
"· ",
|
|
1245
|
+
r("planmagnet.gtm.launch.targetPrefix", "Target"),
|
|
1246
|
+
" ",
|
|
1247
|
+
p(D.targetLaunchDate)
|
|
1248
|
+
]
|
|
1249
|
+
}),
|
|
1250
|
+
/* @__PURE__ */ z(V, {
|
|
1251
|
+
variant: "secondary",
|
|
1252
|
+
className: "mt-2",
|
|
1253
|
+
children: D.status.toLowerCase().replace("_", " ")
|
|
1254
|
+
}),
|
|
1255
|
+
D.launchedAt && /* @__PURE__ */ B("p", {
|
|
1256
|
+
className: "mt-1 text-xs text-muted-foreground",
|
|
1257
|
+
children: [
|
|
1258
|
+
r("planmagnet.gtm.launch.launchedAt", "Launched"),
|
|
1259
|
+
" ",
|
|
1260
|
+
new Date(D.launchedAt).toLocaleDateString()
|
|
1261
|
+
]
|
|
1262
|
+
})
|
|
1263
|
+
] }), /* @__PURE__ */ B("div", {
|
|
1264
|
+
className: "flex flex-wrap gap-2",
|
|
1265
|
+
children: [k && /* @__PURE__ */ B(H, {
|
|
1266
|
+
type: "button",
|
|
1267
|
+
size: "sm",
|
|
1268
|
+
variant: "outline",
|
|
1269
|
+
onClick: () => C((e) => !e),
|
|
1270
|
+
children: [/* @__PURE__ */ z(oe, {
|
|
1271
|
+
"aria-hidden": "true",
|
|
1272
|
+
className: "mr-1 h-4 w-4"
|
|
1273
|
+
}), S ? r("planmagnet.gtm.cancel", "Cancel") : r("planmagnet.gtm.launch.edit", "Edit plan")]
|
|
1274
|
+
}), A && /* @__PURE__ */ z(t, {
|
|
1275
|
+
label: r("planmagnet.gtm.launch.delete", "Delete launch"),
|
|
1276
|
+
icon: /* @__PURE__ */ z(ce, {
|
|
1277
|
+
"aria-hidden": "true",
|
|
1278
|
+
className: "mr-1 h-4 w-4"
|
|
1279
|
+
}),
|
|
1280
|
+
title: r("planmagnet.gtm.launch.deleteTitle", "Delete this launch plan?"),
|
|
1281
|
+
description: r("planmagnet.gtm.launch.deleteDescription", "The launch and its checklist are deleted. Linked Releases, roadmap initiatives, milestones and Personas remain untouched."),
|
|
1282
|
+
confirmLabel: r("planmagnet.gtm.launch.delete", "Delete launch"),
|
|
1283
|
+
disabled: E.loading,
|
|
1284
|
+
destructive: !0,
|
|
1285
|
+
variant: "outline",
|
|
1286
|
+
onConfirm: () => {
|
|
1287
|
+
te();
|
|
1288
|
+
}
|
|
1289
|
+
})]
|
|
1290
|
+
})]
|
|
1291
|
+
}),
|
|
1292
|
+
(h.readOnly || O) && /* @__PURE__ */ z("p", {
|
|
1293
|
+
className: "text-sm text-muted-foreground",
|
|
1294
|
+
children: O ? r("planmagnet.gtm.launch.archivedReadOnly", "This Product is archived. Existing launch plans are read-only.") : r("planmagnet.gtm.launch.readOnly", "Your role can view launch plans but cannot change them.")
|
|
1295
|
+
}),
|
|
1296
|
+
w && /* @__PURE__ */ z(n, { message: w }),
|
|
1297
|
+
S && k ? /* @__PURE__ */ z(he, {
|
|
1298
|
+
launch: D,
|
|
1299
|
+
onClose: () => C(!1)
|
|
1300
|
+
}, D.id) : /* @__PURE__ */ B("div", {
|
|
1301
|
+
className: "grid gap-4 lg:grid-cols-2",
|
|
1302
|
+
children: [/* @__PURE__ */ B(U, { children: [/* @__PURE__ */ z(G, { children: /* @__PURE__ */ z(K, { children: r("planmagnet.gtm.launch.strategyHeading", "Go-to-market strategy") }) }), /* @__PURE__ */ B(W, {
|
|
1303
|
+
className: "space-y-3 text-sm",
|
|
1304
|
+
children: [D.strategySummary ? /* @__PURE__ */ z("p", {
|
|
1305
|
+
className: "whitespace-pre-wrap break-words",
|
|
1306
|
+
children: D.strategySummary
|
|
1307
|
+
}) : /* @__PURE__ */ z("p", {
|
|
1308
|
+
className: "text-muted-foreground",
|
|
1309
|
+
children: r("planmagnet.gtm.launch.noStrategy", "No positioning or messaging recorded yet.")
|
|
1310
|
+
}), /* @__PURE__ */ B("div", {
|
|
1311
|
+
className: "space-y-1 border-t border-border pt-3 text-xs",
|
|
1312
|
+
children: [/* @__PURE__ */ B("p", { children: [
|
|
1313
|
+
r("planmagnet.gtm.launch.release", "Release"),
|
|
1314
|
+
":",
|
|
1315
|
+
" ",
|
|
1316
|
+
D.release ? `${D.release.name} (${D.release.version})` : r("planmagnet.gtm.launch.notLinked", "Not linked")
|
|
1317
|
+
] }), /* @__PURE__ */ B("p", { children: [
|
|
1318
|
+
r("planmagnet.gtm.launch.roadmap", "Roadmap initiative"),
|
|
1319
|
+
":",
|
|
1320
|
+
" ",
|
|
1321
|
+
D.roadmapItem ? `${D.roadmapItem.title} · ${D.roadmapItem.roadmap?.name ?? r("planmagnet.gtm.launch.roadmapUnavailable", "Roadmap unavailable")}` : r("planmagnet.gtm.launch.notLinked", "Not linked")
|
|
1322
|
+
] })]
|
|
1323
|
+
})]
|
|
1324
|
+
})] }), /* @__PURE__ */ B(U, {
|
|
1325
|
+
"data-testid": "prm04-launch-success",
|
|
1326
|
+
children: [/* @__PURE__ */ z(G, { children: /* @__PURE__ */ z(K, { children: r("planmagnet.gtm.launch.successCriteria", "Success criteria") }) }), /* @__PURE__ */ B(W, {
|
|
1327
|
+
className: "space-y-2",
|
|
1328
|
+
children: [D.successCriteria.length === 0 && /* @__PURE__ */ z("p", {
|
|
1329
|
+
className: "text-sm text-muted-foreground",
|
|
1330
|
+
children: r("planmagnet.gtm.launch.noCriteria", "No success criteria recorded yet.")
|
|
1331
|
+
}), D.successCriteria.map((e, t) => /* @__PURE__ */ B("div", {
|
|
1332
|
+
className: "rounded-md border border-border p-2 text-sm",
|
|
1333
|
+
children: [
|
|
1334
|
+
/* @__PURE__ */ z("p", {
|
|
1335
|
+
className: "font-medium",
|
|
1336
|
+
children: e.name
|
|
1337
|
+
}),
|
|
1338
|
+
/* @__PURE__ */ B("p", {
|
|
1339
|
+
className: "text-xs text-muted-foreground",
|
|
1340
|
+
children: [
|
|
1341
|
+
r("planmagnet.gtm.launch.criterionTarget", "Target"),
|
|
1342
|
+
": ",
|
|
1343
|
+
e.target,
|
|
1344
|
+
" ",
|
|
1345
|
+
e.unit ?? ""
|
|
1346
|
+
]
|
|
1347
|
+
}),
|
|
1348
|
+
/* @__PURE__ */ B("p", {
|
|
1349
|
+
className: "text-xs text-muted-foreground",
|
|
1350
|
+
children: [
|
|
1351
|
+
r("planmagnet.gtm.launch.criterionActual", "Actual"),
|
|
1352
|
+
":",
|
|
1353
|
+
" ",
|
|
1354
|
+
e.actual ?? r("planmagnet.gtm.launch.notMeasured", "Not measured"),
|
|
1355
|
+
e.actual ? ` ${e.unit ?? ""}` : "",
|
|
1356
|
+
e.measuredAt ? ` · ${p(e.measuredAt)}` : ""
|
|
1357
|
+
]
|
|
1358
|
+
})
|
|
1359
|
+
]
|
|
1360
|
+
}, `${e.name}-${t}`))]
|
|
1361
|
+
})]
|
|
1362
|
+
})]
|
|
1363
|
+
}),
|
|
1364
|
+
/* @__PURE__ */ z(Q, {
|
|
1365
|
+
launch: D,
|
|
1366
|
+
canUpdate: k
|
|
1367
|
+
}),
|
|
1368
|
+
/* @__PURE__ */ B("div", {
|
|
1369
|
+
className: "grid gap-6 lg:grid-cols-2",
|
|
1370
|
+
children: [/* @__PURE__ */ z(ge, {
|
|
1371
|
+
launch: D,
|
|
1372
|
+
canUpdate: k
|
|
1373
|
+
}), /* @__PURE__ */ z(_e, {
|
|
1374
|
+
launch: D,
|
|
1375
|
+
canUpdate: k
|
|
1376
|
+
})]
|
|
1377
|
+
})
|
|
1378
|
+
]
|
|
1379
|
+
});
|
|
1380
|
+
}
|
|
1381
|
+
export { ve as ProductLaunchPage };
|