@fewangsit/wangsvue 1.5.219-alpha.0 → 1.5.219-alpha.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/animation/index.es.js +54 -37
- package/assets/lottiejs/loading-page.es.js +14 -9
- package/assets/lottiejs/loading-plane.es.js +2 -2
- package/assets/lottiejs/loading-table.es.js +14 -9
- package/assets/lottiejs/no-data.es.js +14 -9
- package/backgroundimagecropper/index.es.js +61 -37
- package/badge/index.es.js +77 -67
- package/badgegroup/index.es.js +62 -50
- package/basecalendar/index.es.js +1258 -735
- package/basetree/index.es.js +213 -113
- package/breadcrumb/index.es.js +46 -38
- package/button/index.es.js +60 -54
- package/buttonbulkaction/index.es.js +168 -117
- package/buttoncopy/index.es.js +25 -22
- package/buttondownload/index.es.js +125 -76
- package/buttonfilter/index.es.js +21 -15
- package/buttonradio/index.es.js +91 -67
- package/buttonsearch/index.es.js +62 -46
- package/buttonselecttree/index.es.js +233 -172
- package/buttontoggle/index.es.js +8 -6
- package/calendar/index.es.js +113 -58
- package/card/index.es.js +44 -42
- package/checkbox/index.es.js +105 -74
- package/codesnippet/index.es.js +91 -71
- package/codesnippetadapter/index.es.js +25 -21
- package/columnlist/index.es.js +249 -171
- package/components.d.ts +0 -21
- package/config/defaultProps.es.js +9 -9
- package/config/index.es.js +11 -10
- package/config/locale.es.js +2 -2
- package/customcolumn/index.es.js +95 -78
- package/datatable/index.es.js +1071 -732
- package/dialog/index.es.js +54 -54
- package/dialogconfirm/index.es.js +90 -75
- package/dialogform/index.es.js +170 -133
- package/dialogselecttree/index.es.js +242 -194
- package/directives/focus.es.js +13 -8
- package/dropdown/index.es.js +250 -196
- package/editor/index.es.js +694 -498
- package/editorbutton/index.es.js +21 -19
- package/event-bus/index.es.js +3 -3
- package/event-bus/mitt.es.js +37 -20
- package/fieldwrapper/index.es.js +30 -25
- package/fileupload/index.es.js +230 -140
- package/filtercontainer/index.es.js +299 -222
- package/form/index.es.js +176 -126
- package/gallerypreview/index.es.js +138 -101
- package/icon/index.es.js +38 -36
- package/image/index.es.js +161 -108
- package/imagecompressor/index.es.js +616 -449
- package/imageinputinfo/index.es.js +26 -22
- package/inlinemessage/index.es.js +77 -65
- package/inputbadge/index.es.js +230 -156
- package/inputcurrency/index.es.js +146 -109
- package/inputemail/index.es.js +18 -16
- package/inputgroup/index.es.js +19 -16
- package/inputnumber/index.es.js +252 -182
- package/inputpassword/index.es.js +120 -94
- package/inputphonenumber/index.es.js +1017 -550
- package/inputrangenumber/index.es.js +129 -98
- package/inputtext/index.es.js +264 -189
- package/inputurl/index.es.js +31 -29
- package/invisiblefield/index.es.js +24 -16
- package/litedropdown/index.es.js +87 -81
- package/loading/index.es.js +21 -19
- package/loading-page-BXZ4fLOS.js +8 -0
- package/loading-page-BuLpsb_1.js +8 -0
- package/loading-page-CNqVBg__.js +4 -0
- package/loading-page-DbhhZih2.js +4 -0
- package/loading-page-DjfWXoOy.js +8 -0
- package/loading-page-S-KRY5zm.js +4 -0
- package/loading-plane-C1mi7Whv.js +4 -0
- package/loading-plane-CWq1hz_l.js +8 -0
- package/loading-table-B7LAXzAp.js +4 -0
- package/loading-table-BLmgKUsR.js +4 -0
- package/loading-table-CG7-cuhv.js +8 -0
- package/loading-table-CUPS49ta.js +4 -0
- package/loading-table-CuWWrTbv.js +8 -0
- package/loading-table-DbBzVwaZ.js +8 -0
- package/mentionlist/index.es.js +77 -44
- package/mentionsection/index.es.js +53 -43
- package/menu/index.es.js +65 -51
- package/menuitem/index.es.js +39 -37
- package/multirow/index.es.js +29 -28
- package/multiselect/index.es.js +184 -152
- package/no-data-B781skt3.js +4 -0
- package/no-data-CAksOnDl.js +4 -0
- package/no-data-DCsjBXQR.js +4 -0
- package/no-data-Dz0QOe7Q.js +8 -0
- package/no-data-_Huxiv9q.js +8 -0
- package/no-data-ybRQontJ.js +8 -0
- package/overlaypanel/index.es.js +49 -36
- package/package.json +1 -1
- package/paginator/index.es.js +36 -33
- package/plugins/WangsVue.es.js +63 -45
- package/plugins/formValidation.es.js +15 -11
- package/progressbar/index.es.js +39 -32
- package/quickfilter/index.es.js +94 -81
- package/stats.html +1 -1
- package/style.css +2 -2
- package/tabmenu/index.es.js +18 -16
- package/textarea/index.es.js +94 -72
- package/timeline/index.es.js +124 -102
- package/timelinecontentbytype/index.es.js +114 -92
- package/toast/index.es.js +67 -54
- package/toggleswitch/index.es.js +83 -66
- package/tree/index.es.js +306 -198
- package/treenode/index.es.js +464 -339
- package/treesearchinput/index.es.js +32 -26
- package/usergroup/index.es.js +83 -67
- package/username/index.es.js +99 -85
- package/utils/addAttachment.util.es.js +47 -21
- package/utils/baseToast.util.es.js +41 -33
- package/utils/convertJsonImage.util.es.js +24 -24
- package/utils/date.util.es.js +131 -106
- package/utils/exportToExcel.util.es.js +81 -47
- package/utils/filterOptions.util.es.js +8 -2
- package/utils/genPlaceholder.util.es.js +30 -16
- package/utils/getProjectPermission.util.es.js +15 -12
- package/utils/getSalesRole.util.es.js +4 -4
- package/utils/getUser.util.es.js +2 -2
- package/utils/getUserType.util.es.js +13 -8
- package/utils/isIntersect.es.js +4 -2
- package/utils/mergePropsWithDefaults.util.es.js +7 -6
- package/utils/object.util.es.js +88 -54
- package/utils/queryParamsStringfy.util.es.js +19 -11
- package/utils/role.util.es.js +5 -4
- package/utils/statusSeverity.util.es.js +20 -5
- package/utils/textFormatter.util.es.js +28 -50
- package/utils/toast.util.es.js +8 -5
- package/utils/xlsx.util.es.js +12 -6
- package/validatormessage/index.es.js +9 -9
- package/vendor/@popperjs/core/lib/createPopper.es.js +110 -83
- package/vendor/@popperjs/core/lib/dom-utils/contains.es.js +14 -13
- package/vendor/@popperjs/core/lib/dom-utils/getBoundingClientRect.es.js +33 -18
- package/vendor/@popperjs/core/lib/dom-utils/getClippingRect.es.js +55 -31
- package/vendor/@popperjs/core/lib/dom-utils/getCompositeRect.es.js +43 -22
- package/vendor/@popperjs/core/lib/dom-utils/getComputedStyle.es.js +4 -4
- package/vendor/@popperjs/core/lib/dom-utils/getDocumentElement.es.js +5 -5
- package/vendor/@popperjs/core/lib/dom-utils/getDocumentRect.es.js +23 -13
- package/vendor/@popperjs/core/lib/dom-utils/getHTMLElementScroll.es.js +4 -4
- package/vendor/@popperjs/core/lib/dom-utils/getLayoutRect.es.js +17 -9
- package/vendor/@popperjs/core/lib/dom-utils/getNodeName.es.js +3 -3
- package/vendor/@popperjs/core/lib/dom-utils/getNodeScroll.es.js +11 -7
- package/vendor/@popperjs/core/lib/dom-utils/getOffsetParent.es.js +42 -26
- package/vendor/@popperjs/core/lib/dom-utils/getParentNode.es.js +13 -10
- package/vendor/@popperjs/core/lib/dom-utils/getScrollParent.es.js +13 -7
- package/vendor/@popperjs/core/lib/dom-utils/getViewportRect.es.js +25 -15
- package/vendor/@popperjs/core/lib/dom-utils/getWindow.es.js +8 -7
- package/vendor/@popperjs/core/lib/dom-utils/getWindowScroll.es.js +8 -6
- package/vendor/@popperjs/core/lib/dom-utils/getWindowScrollBarX.es.js +6 -6
- package/vendor/@popperjs/core/lib/dom-utils/instanceOf.es.js +16 -15
- package/vendor/@popperjs/core/lib/dom-utils/isLayoutViewport.es.js +4 -4
- package/vendor/@popperjs/core/lib/dom-utils/isScrollParent.es.js +5 -5
- package/vendor/@popperjs/core/lib/dom-utils/isTableElement.es.js +4 -4
- package/vendor/@popperjs/core/lib/dom-utils/listScrollParents.es.js +17 -11
- package/vendor/@popperjs/core/lib/enums.es.js +43 -20
- package/vendor/@popperjs/core/lib/modifiers/applyStyles.es.js +49 -25
- package/vendor/@popperjs/core/lib/modifiers/arrow.es.js +61 -26
- package/vendor/@popperjs/core/lib/modifiers/computeStyles.es.js +101 -69
- package/vendor/@popperjs/core/lib/modifiers/eventListeners.es.js +30 -16
- package/vendor/@popperjs/core/lib/modifiers/flip.es.js +99 -60
- package/vendor/@popperjs/core/lib/modifiers/hide.es.js +44 -31
- package/vendor/@popperjs/core/lib/modifiers/offset.es.js +32 -20
- package/vendor/@popperjs/core/lib/modifiers/popperOffsets.es.js +11 -11
- package/vendor/@popperjs/core/lib/modifiers/preventOverflow.es.js +91 -40
- package/vendor/@popperjs/core/lib/popper.es.js +14 -13
- package/vendor/@popperjs/core/lib/utils/computeAutoPlacement.es.js +29 -21
- package/vendor/@popperjs/core/lib/utils/computeOffsets.es.js +41 -36
- package/vendor/@popperjs/core/lib/utils/debounce.es.js +11 -7
- package/vendor/@popperjs/core/lib/utils/detectOverflow.es.js +42 -28
- package/vendor/@popperjs/core/lib/utils/expandToHashMap.es.js +5 -4
- package/vendor/@popperjs/core/lib/utils/getAltAxis.es.js +3 -3
- package/vendor/@popperjs/core/lib/utils/getBasePlacement.es.js +3 -3
- package/vendor/@popperjs/core/lib/utils/getFreshSideObject.es.js +2 -2
- package/vendor/@popperjs/core/lib/utils/getMainAxisFromPlacement.es.js +3 -3
- package/vendor/@popperjs/core/lib/utils/getOppositePlacement.es.js +5 -5
- package/vendor/@popperjs/core/lib/utils/getOppositeVariationPlacement.es.js +5 -5
- package/vendor/@popperjs/core/lib/utils/getVariation.es.js +3 -3
- package/vendor/@popperjs/core/lib/utils/math.es.js +6 -4
- package/vendor/@popperjs/core/lib/utils/mergeByName.es.js +11 -10
- package/vendor/@popperjs/core/lib/utils/mergePaddingObject.es.js +4 -4
- package/vendor/@popperjs/core/lib/utils/orderModifiers.es.js +30 -22
- package/vendor/@popperjs/core/lib/utils/rectToClientRect.es.js +7 -7
- package/vendor/@popperjs/core/lib/utils/userAgent.es.js +9 -6
- package/vendor/@popperjs/core/lib/utils/within.es.js +8 -8
- package/vendor/@tiptap/core/dist/index.es.js +3494 -2000
- package/vendor/@tiptap/extension-bold/dist/index.es.js +29 -19
- package/vendor/@tiptap/extension-bubble-menu/dist/index.es.js +145 -71
- package/vendor/@tiptap/extension-bullet-list/dist/index.es.js +32 -19
- package/vendor/@tiptap/extension-code/dist/index.es.js +22 -14
- package/vendor/@tiptap/extension-document/dist/index.es.js +4 -4
- package/vendor/@tiptap/extension-floating-menu/dist/index.es.js +106 -51
- package/vendor/@tiptap/extension-heading/dist/index.es.js +38 -22
- package/vendor/@tiptap/extension-history/dist/index.es.js +11 -7
- package/vendor/@tiptap/extension-image/dist/index.es.js +20 -17
- package/vendor/@tiptap/extension-italic/dist/index.es.js +28 -18
- package/vendor/@tiptap/extension-link/dist/index.es.js +236 -147
- package/vendor/@tiptap/extension-list-item/dist/index.es.js +6 -6
- package/vendor/@tiptap/extension-mention/dist/index.es.js +98 -63
- package/vendor/@tiptap/extension-ordered-list/dist/index.es.js +38 -25
- package/vendor/@tiptap/extension-paragraph/dist/index.es.js +8 -6
- package/vendor/@tiptap/extension-placeholder/dist/index.es.js +34 -27
- package/vendor/@tiptap/extension-text/dist/index.es.js +3 -3
- package/vendor/@tiptap/extension-underline/dist/index.es.js +16 -10
- package/vendor/@tiptap/suggestion/dist/index.es.js +174 -90
- package/vendor/@tiptap/vue-3/dist/index.es.js +287 -188
- package/vendor/@wangs-ui/core/components/p-BU8h34na.es.js +17 -14
- package/vendor/@wangs-ui/core/components/p-C5lMEBcj.es.js +69 -55
- package/vendor/@wangs-ui/core/components/p-CKYwZoTo.es.js +26 -22
- package/vendor/@wangs-ui/core/components/p-CsoK-EWG.es.js +147 -102
- package/vendor/@wangs-ui/core/components/p-DPHEi31J.es.js +102 -77
- package/vendor/@wangs-ui/core/components/p-DTTCzifR.es.js +1298 -551
- package/vendor/@wangs-ui/core/components/p-Duri5p90.es.js +60 -49
- package/vendor/@wangs-ui/core/components/wangs-button.es.js +19 -15
- package/vendor/@wangs-ui/core/components/wangs-icon.es.js +3 -3
- package/vendor/@wangs-ui/core/components/wangs-input-otp.es.js +3 -3
- package/vendor/@wangs-ui/core/components/wangs-tab-menu.es.js +3 -3
- package/vendor/@wangs-ui/core/dist/esm/index-DCkh3cGv.es.js +116 -102
- package/vendor/@wangs-ui/vue/dist/index.es.js +77 -77
- package/vendor/base64toblob/base64toblob.es.js +31 -15
- package/vendor/highlight.js/es/core.es.js +5 -5
- package/vendor/highlight.js/es/languages/javascript.es.js +237 -193
- package/vendor/highlight.js/es/languages/json.es.js +18 -15
- package/vendor/highlight.js/es/languages/typescript.es.js +288 -228
- package/vendor/highlight.js/es/languages/vbscript-html.es.js +2 -2
- package/vendor/highlight.js/lib/core.es.js +1144 -666
- package/vendor/linkifyjs/dist/linkify.es.es.js +858 -405
- package/vendor/lodash/_Symbol.es.js +11 -8
- package/vendor/lodash/_baseGetTag.es.js +19 -12
- package/vendor/lodash/_baseTrim.es.js +13 -10
- package/vendor/lodash/_freeGlobal.es.js +10 -8
- package/vendor/lodash/_getRawTag.es.js +28 -15
- package/vendor/lodash/_objectToString.es.js +12 -9
- package/vendor/lodash/_root.es.js +12 -8
- package/vendor/lodash/_trimmedEndIndex.es.js +14 -11
- package/vendor/lodash/debounce.es.js +92 -54
- package/vendor/lodash/isObject.es.js +11 -9
- package/vendor/lodash/isObjectLike.es.js +10 -8
- package/vendor/lodash/isSymbol.es.js +14 -11
- package/vendor/lodash/now.es.js +12 -9
- package/vendor/lodash/throttle.es.js +25 -17
- package/vendor/lodash/toNumber.es.js +33 -23
- package/vendor/lodash-es/_DataView.es.js +4 -4
- package/vendor/lodash-es/_Hash.es.js +17 -16
- package/vendor/lodash-es/_ListCache.es.js +17 -16
- package/vendor/lodash-es/_Map.es.js +4 -4
- package/vendor/lodash-es/_MapCache.es.js +17 -16
- package/vendor/lodash-es/_Promise.es.js +4 -4
- package/vendor/lodash-es/_Set.es.js +4 -4
- package/vendor/lodash-es/_SetCache.es.js +12 -10
- package/vendor/lodash-es/_Stack.es.js +15 -15
- package/vendor/lodash-es/_Symbol.es.js +3 -3
- package/vendor/lodash-es/_Uint8Array.es.js +3 -3
- package/vendor/lodash-es/_WeakMap.es.js +4 -4
- package/vendor/lodash-es/_arrayEach.es.js +9 -5
- package/vendor/lodash-es/_arrayFilter.es.js +9 -6
- package/vendor/lodash-es/_arrayLikeKeys.es.js +21 -17
- package/vendor/lodash-es/_arrayPush.es.js +7 -5
- package/vendor/lodash-es/_arraySome.es.js +9 -6
- package/vendor/lodash-es/_assignValue.es.js +10 -7
- package/vendor/lodash-es/_assocIndexOf.es.js +9 -6
- package/vendor/lodash-es/_baseAssignValue.es.js +13 -9
- package/vendor/lodash-es/_baseClone.es.js +67 -49
- package/vendor/lodash-es/_baseCreate.es.js +15 -11
- package/vendor/lodash-es/_baseGetAllKeys.es.js +6 -6
- package/vendor/lodash-es/_baseGetTag.es.js +11 -7
- package/vendor/lodash-es/_baseIsArguments.es.js +6 -6
- package/vendor/lodash-es/_baseIsEqual.es.js +11 -5
- package/vendor/lodash-es/_baseIsEqualDeep.es.js +39 -26
- package/vendor/lodash-es/_baseIsMap.es.js +6 -6
- package/vendor/lodash-es/_baseIsNative.es.js +18 -12
- package/vendor/lodash-es/_baseIsSet.es.js +6 -6
- package/vendor/lodash-es/_baseIsTypedArray.es.js +11 -9
- package/vendor/lodash-es/_baseKeys.es.js +16 -11
- package/vendor/lodash-es/_baseTimes.es.js +7 -5
- package/vendor/lodash-es/_baseTrim.es.js +5 -5
- package/vendor/lodash-es/_baseUnary.es.js +4 -4
- package/vendor/lodash-es/_cacheHas.es.js +3 -3
- package/vendor/lodash-es/_cloneArrayBuffer.es.js +6 -5
- package/vendor/lodash-es/_cloneBuffer.es.js +11 -6
- package/vendor/lodash-es/_cloneDataView.es.js +5 -5
- package/vendor/lodash-es/_cloneRegExp.es.js +6 -5
- package/vendor/lodash-es/_cloneSymbol.es.js +5 -5
- package/vendor/lodash-es/_cloneTypedArray.es.js +5 -5
- package/vendor/lodash-es/_coreJsData.es.js +3 -3
- package/vendor/lodash-es/_defineProperty.es.js +7 -6
- package/vendor/lodash-es/_equalArrays.es.js +38 -28
- package/vendor/lodash-es/_equalByTag.es.js +55 -41
- package/vendor/lodash-es/_equalObjects.es.js +42 -28
- package/vendor/lodash-es/_freeGlobal.es.js +2 -2
- package/vendor/lodash-es/_getAllKeys.es.js +6 -6
- package/vendor/lodash-es/_getMapData.es.js +5 -5
- package/vendor/lodash-es/_getNative.es.js +6 -6
- package/vendor/lodash-es/_getPrototype.es.js +3 -3
- package/vendor/lodash-es/_getRawTag.es.js +20 -10
- package/vendor/lodash-es/_getSymbols.es.js +15 -8
- package/vendor/lodash-es/_getTag.es.js +31 -25
- package/vendor/lodash-es/_getValue.es.js +3 -3
- package/vendor/lodash-es/_hashClear.es.js +5 -4
- package/vendor/lodash-es/_hashDelete.es.js +5 -4
- package/vendor/lodash-es/_hashGet.es.js +11 -9
- package/vendor/lodash-es/_hashHas.es.js +7 -6
- package/vendor/lodash-es/_hashSet.es.js +8 -6
- package/vendor/lodash-es/_initCloneArray.es.js +10 -5
- package/vendor/lodash-es/_initCloneByTag.es.js +39 -38
- package/vendor/lodash-es/_initCloneObject.es.js +6 -6
- package/vendor/lodash-es/_isIndex.es.js +7 -5
- package/vendor/lodash-es/_isKeyable.es.js +4 -4
- package/vendor/lodash-es/_isMasked.es.js +7 -7
- package/vendor/lodash-es/_isPrototype.es.js +5 -5
- package/vendor/lodash-es/_listCacheClear.es.js +4 -3
- package/vendor/lodash-es/_listCacheDelete.es.js +17 -9
- package/vendor/lodash-es/_listCacheGet.es.js +5 -5
- package/vendor/lodash-es/_listCacheHas.es.js +4 -4
- package/vendor/lodash-es/_listCacheSet.es.js +11 -5
- package/vendor/lodash-es/_mapCacheClear.es.js +10 -9
- package/vendor/lodash-es/_mapCacheDelete.es.js +6 -5
- package/vendor/lodash-es/_mapCacheGet.es.js +4 -4
- package/vendor/lodash-es/_mapCacheHas.es.js +4 -4
- package/vendor/lodash-es/_mapCacheSet.es.js +7 -5
- package/vendor/lodash-es/_mapToArray.es.js +7 -6
- package/vendor/lodash-es/_nativeCreate.es.js +3 -3
- package/vendor/lodash-es/_nativeKeys.es.js +3 -3
- package/vendor/lodash-es/_nodeUtil.es.js +13 -6
- package/vendor/lodash-es/_objectToString.es.js +5 -4
- package/vendor/lodash-es/_overArg.es.js +4 -4
- package/vendor/lodash-es/_root.es.js +4 -3
- package/vendor/lodash-es/_setCacheAdd.es.js +5 -4
- package/vendor/lodash-es/_setCacheHas.es.js +3 -3
- package/vendor/lodash-es/_setToArray.es.js +7 -6
- package/vendor/lodash-es/_stackClear.es.js +5 -4
- package/vendor/lodash-es/_stackDelete.es.js +5 -4
- package/vendor/lodash-es/_stackGet.es.js +3 -3
- package/vendor/lodash-es/_stackHas.es.js +3 -3
- package/vendor/lodash-es/_stackSet.es.js +18 -13
- package/vendor/lodash-es/_toSource.es.js +9 -8
- package/vendor/lodash-es/_trimmedEndIndex.es.js +7 -6
- package/vendor/lodash-es/cloneDeep.es.js +5 -5
- package/vendor/lodash-es/debounce.es.js +84 -49
- package/vendor/lodash-es/eq.es.js +3 -3
- package/vendor/lodash-es/isArguments.es.js +9 -6
- package/vendor/lodash-es/isArray.es.js +2 -2
- package/vendor/lodash-es/isArrayLike.es.js +5 -5
- package/vendor/lodash-es/isBuffer.es.js +9 -4
- package/vendor/lodash-es/isEqual.es.js +4 -4
- package/vendor/lodash-es/isFunction.es.js +10 -9
- package/vendor/lodash-es/isLength.es.js +4 -4
- package/vendor/lodash-es/isMap.es.js +6 -5
- package/vendor/lodash-es/isObject.es.js +4 -4
- package/vendor/lodash-es/isObjectLike.es.js +3 -3
- package/vendor/lodash-es/isSet.es.js +6 -5
- package/vendor/lodash-es/isSymbol.es.js +6 -6
- package/vendor/lodash-es/isTypedArray.es.js +6 -5
- package/vendor/lodash-es/keys.es.js +6 -6
- package/vendor/lodash-es/now.es.js +4 -4
- package/vendor/lodash-es/stubArray.es.js +2 -2
- package/vendor/lodash-es/stubFalse.es.js +3 -3
- package/vendor/lodash-es/toNumber.es.js +25 -18
- package/vendor/lodash-es/toString.es.js +2 -2
- package/vendor/lodash-es/uniqueId.es.js +6 -6
- package/vendor/orderedmap/dist/index.es.js +65 -49
- package/vendor/primevue/api/api.esm.es.js +214 -121
- package/vendor/primevue/avatar/avatar.esm.es.js +44 -41
- package/vendor/primevue/avatar/style/avatarstyle.esm.es.js +12 -11
- package/vendor/primevue/avatargroup/avatargroup.esm.es.js +17 -16
- package/vendor/primevue/avatargroup/style/avatargroupstyle.esm.es.js +6 -5
- package/vendor/primevue/badge/badge.esm.es.js +21 -20
- package/vendor/primevue/badge/style/badgestyle.esm.es.js +19 -18
- package/vendor/primevue/base/style/basestyle.esm.es.js +88 -99
- package/vendor/primevue/basecomponent/basecomponent.esm.es.js +327 -261
- package/vendor/primevue/basedirective/basedirective.esm.es.js +257 -186
- package/vendor/primevue/baseicon/baseicon.esm.es.js +55 -49
- package/vendor/primevue/baseicon/style/baseiconstyle.esm.es.js +5 -35
- package/vendor/primevue/button/button.esm.es.js +76 -72
- package/vendor/primevue/button/style/buttonstyle.esm.es.js +46 -39
- package/vendor/primevue/card/card.esm.es.js +30 -29
- package/vendor/primevue/card/style/cardstyle.esm.es.js +6 -5
- package/vendor/primevue/checkbox/checkbox.esm.es.js +109 -101
- package/vendor/primevue/checkbox/style/checkboxstyle.esm.es.js +12 -11
- package/vendor/primevue/config/config.esm.es.js +76 -58
- package/vendor/primevue/dialog/dialog.esm.es.js +421 -281
- package/vendor/primevue/dialog/style/dialogstyle.esm.es.js +26 -22
- package/vendor/primevue/dropdown/dropdown.esm.es.js +956 -742
- package/vendor/primevue/dropdown/style/dropdownstyle.esm.es.js +33 -31
- package/vendor/primevue/fileupload/fileupload.esm.es.js +559 -450
- package/vendor/primevue/fileupload/style/fileuploadstyle.esm.es.js +14 -13
- package/vendor/primevue/focustrap/focustrap.esm.es.js +128 -90
- package/vendor/primevue/focustrap/style/focustrapstyle.esm.es.js +2 -2
- package/vendor/primevue/icons/angledoubleleft/index.esm.es.js +13 -11
- package/vendor/primevue/icons/angledoubleright/index.esm.es.js +13 -11
- package/vendor/primevue/icons/angledown/index.esm.es.js +13 -11
- package/vendor/primevue/icons/angleleft/index.esm.es.js +13 -11
- package/vendor/primevue/icons/angleright/index.esm.es.js +13 -11
- package/vendor/primevue/icons/angleup/index.esm.es.js +13 -11
- package/vendor/primevue/icons/blank/index.esm.es.js +13 -11
- package/vendor/primevue/icons/check/index.esm.es.js +13 -11
- package/vendor/primevue/icons/chevrondown/index.esm.es.js +13 -11
- package/vendor/primevue/icons/exclamationtriangle/index.esm.es.js +17 -13
- package/vendor/primevue/icons/eye/index.esm.es.js +13 -11
- package/vendor/primevue/icons/eyeslash/index.esm.es.js +13 -11
- package/vendor/primevue/icons/infocircle/index.esm.es.js +13 -11
- package/vendor/primevue/icons/plus/index.esm.es.js +13 -11
- package/vendor/primevue/icons/refresh/index.esm.es.js +13 -11
- package/vendor/primevue/icons/search/index.esm.es.js +13 -11
- package/vendor/primevue/icons/searchminus/index.esm.es.js +13 -11
- package/vendor/primevue/icons/searchplus/index.esm.es.js +13 -11
- package/vendor/primevue/icons/spinner/index.esm.es.js +13 -11
- package/vendor/primevue/icons/times/index.esm.es.js +13 -11
- package/vendor/primevue/icons/timescircle/index.esm.es.js +13 -11
- package/vendor/primevue/icons/undo/index.esm.es.js +13 -11
- package/vendor/primevue/icons/upload/index.esm.es.js +13 -11
- package/vendor/primevue/icons/windowmaximize/index.esm.es.js +13 -11
- package/vendor/primevue/icons/windowminimize/index.esm.es.js +13 -11
- package/vendor/primevue/image/image.esm.es.js +280 -235
- package/vendor/primevue/image/style/imagestyle.esm.es.js +18 -17
- package/vendor/primevue/inputgroup/inputgroup.esm.es.js +17 -16
- package/vendor/primevue/inputgroup/style/inputgroupstyle.esm.es.js +6 -5
- package/vendor/primevue/inputgroupaddon/inputgroupaddon.esm.es.js +17 -16
- package/vendor/primevue/inputgroupaddon/style/inputgroupaddonstyle.esm.es.js +6 -5
- package/vendor/primevue/inputnumber/inputnumber.esm.es.js +834 -566
- package/vendor/primevue/inputnumber/style/inputnumberstyle.esm.es.js +23 -22
- package/vendor/primevue/inputtext/inputtext.esm.es.js +32 -30
- package/vendor/primevue/inputtext/style/inputtextstyle.esm.es.js +13 -12
- package/vendor/primevue/menu/menu.esm.es.js +402 -304
- package/vendor/primevue/menu/style/menustyle.esm.es.js +14 -13
- package/vendor/primevue/message/message.esm.es.js +126 -112
- package/vendor/primevue/message/style/messagestyle.esm.es.js +9 -8
- package/vendor/primevue/multiselect/multiselect.esm.es.js +1083 -835
- package/vendor/primevue/multiselect/style/multiselectstyle.esm.es.js +38 -36
- package/vendor/primevue/overlayeventbus/overlayeventbus.esm.es.js +3 -3
- package/vendor/primevue/overlaypanel/overlaypanel.esm.es.js +275 -169
- package/vendor/primevue/overlaypanel/style/overlaypanelstyle.esm.es.js +9 -8
- package/vendor/primevue/paginator/paginator.esm.es.js +513 -469
- package/vendor/primevue/paginator/style/paginatorstyle.esm.es.js +50 -43
- package/vendor/primevue/password/password.esm.es.js +306 -233
- package/vendor/primevue/password/style/passwordstyle.esm.es.js +26 -24
- package/vendor/primevue/portal/portal.esm.es.js +17 -17
- package/vendor/primevue/progressbar/progressbar.esm.es.js +37 -35
- package/vendor/primevue/progressbar/style/progressbarstyle.esm.es.js +10 -9
- package/vendor/primevue/ripple/ripple.esm.es.js +90 -62
- package/vendor/primevue/ripple/style/ripplestyle.esm.es.js +6 -5
- package/vendor/primevue/selectbutton/selectbutton.esm.es.js +213 -167
- package/vendor/primevue/selectbutton/style/selectbuttonstyle.esm.es.js +14 -13
- package/vendor/primevue/skeleton/skeleton.esm.es.js +28 -26
- package/vendor/primevue/skeleton/style/skeletonstyle.esm.es.js +13 -11
- package/vendor/primevue/textarea/style/textareastyle.esm.es.js +12 -11
- package/vendor/primevue/textarea/textarea.esm.es.js +49 -33
- package/vendor/primevue/timeline/style/timelinestyle.esm.es.js +9 -8
- package/vendor/primevue/timeline/timeline.esm.es.js +53 -52
- package/vendor/primevue/toast/style/toaststyle.esm.es.js +54 -46
- package/vendor/primevue/toast/toast.esm.es.js +309 -260
- package/vendor/primevue/toasteventbus/toasteventbus.esm.es.js +3 -3
- package/vendor/primevue/toastservice/toastservice.esm.es.js +16 -15
- package/vendor/primevue/tooltip/style/tooltipstyle.esm.es.js +6 -5
- package/vendor/primevue/tooltip/tooltip.esm.es.js +383 -186
- package/vendor/primevue/usestyle/usestyle.esm.es.js +94 -64
- package/vendor/primevue/usetoast/usetoast.esm.es.js +9 -8
- package/vendor/primevue/utils/utils.esm.es.js +1078 -772
- package/vendor/primevue/virtualscroller/style/virtualscrollerstyle.esm.es.js +5 -67
- package/vendor/primevue/virtualscroller/virtualscroller.esm.es.js +655 -428
- package/vendor/prosemirror-commands/dist/index.es.js +454 -316
- package/vendor/prosemirror-history/dist/index.es.js +286 -178
- package/vendor/prosemirror-keymap/dist/index.es.js +68 -48
- package/vendor/prosemirror-model/dist/index.es.js +1905 -1436
- package/vendor/prosemirror-schema-list/dist/index.es.js +115 -73
- package/vendor/prosemirror-state/dist/index.es.js +467 -353
- package/vendor/prosemirror-transform/dist/index.es.js +1146 -829
- package/vendor/prosemirror-view/dist/index.es.js +4127 -2719
- package/vendor/rope-sequence/dist/index.es.js +165 -82
- package/vendor/simplebar-core/dist/index.es.js +670 -242
- package/vendor/simplebar-vue/dist/simplebar-vue.esm.es.js +73 -60
- package/vendor/single-spa/lib/es2015/esm/single-spa.min.es.js +511 -510
- package/vendor/tippy.js/dist/tippy.esm.es.js +971 -525
- package/vendor/vee-validate/dist/vee-validate.esm.es.js +1830 -1097
- package/vendor/vue-advanced-cropper/dist/index.esm-bundler.es.js +740 -738
- package/vendor/w3c-keyname/index.es.js +25 -13
- package/wangsvue.es.js +167 -208
- package/wangsvue.esm.browser.js +49417 -48026
- package/wangsvue.system.js +67600 -234
- package/api/index.es.js +0 -149
- package/apiitem/index.es.js +0 -611
- package/assignmember/index.es.js +0 -434
- package/attachment/index.es.js +0 -118
- package/attachmentchangelog/index.es.js +0 -79
- package/attachmentitem/index.es.js +0 -231
- package/attachmentthumbnail/index.es.js +0 -83
- package/changelog/index.d.ts +0 -164
- package/changelog/index.es.js +0 -85
- package/changelogfilter/index.es.js +0 -113
- package/changelogpage/index.d.ts +0 -184
- package/changelogpage/index.es.js +0 -176
- package/checklist/index.es.js +0 -571
- package/checklistchangelog/index.es.js +0 -85
- package/comment/index.d.ts +0 -187
- package/comment/index.es.js +0 -267
- package/commentblock/index.es.js +0 -337
- package/confirmdeploy/index.es.js +0 -64
- package/dependencycol/index.es.js +0 -32
- package/description/index.es.js +0 -135
- package/descriptiontab/index.es.js +0 -30
- package/detailmember/index.d.ts +0 -77
- package/detailmember/index.es.js +0 -32
- package/detailmemberadmin/index.es.js +0 -210
- package/detailmemberleader/index.es.js +0 -164
- package/detailmemberlog/index.es.js +0 -117
- package/detailsprint/index.d.ts +0 -86
- package/detailsprint/index.es.js +0 -414
- package/dialogaddattachment/index.es.js +0 -273
- package/dialogaddchecklist/index.es.js +0 -120
- package/dialogaddeditapi/index.es.js +0 -87
- package/dialogaddpbi/index.es.js +0 -197
- package/dialogadjustmenttask/index.es.js +0 -484
- package/dialogadjustmenttaskheader/index.es.js +0 -193
- package/dialogapichangelog/index.es.js +0 -83
- package/dialogassignmember/index.es.js +0 -171
- package/dialogconfirmapproval/index.es.js +0 -54
- package/dialogconfirmchecklist/index.es.js +0 -189
- package/dialogconfirmdeletetask/index.es.js +0 -70
- package/dialogconfirmdeletetaskpermanently/index.es.js +0 -50
- package/dialogconfirmedit/index.es.js +0 -50
- package/dialogconfirmfinishtask/index.es.js +0 -50
- package/dialogconfirmrestoretask/index.es.js +0 -46
- package/dialogconfirmsprint/index.es.js +0 -42
- package/dialogcopyapi/index.es.js +0 -130
- package/dialogcustomdependency/index.es.js +0 -55
- package/dialogdetailchecklisttemplate/index.es.js +0 -214
- package/dialogdetailcomponent/index.es.js +0 -121
- package/dialogdetailpbi/index.es.js +0 -192
- package/dialogfinishreview/index.es.js +0 -126
- package/dialogimprovementtask/index.es.js +0 -191
- package/dialogmemberadmin/index.es.js +0 -93
- package/dialogpreparepbi/index.es.js +0 -93
- package/dialogpriorityvalue/index.es.js +0 -85
- package/dialogreportbug/index.es.js +0 -207
- package/dialogreviewleader/index.es.js +0 -280
- package/dialogsavechecklisttemplate/index.es.js +0 -127
- package/dialogselectproject/index.es.js +0 -69
- package/dialogsetduration/index.es.js +0 -109
- package/dialogsettasklink/index.es.js +0 -153
- package/dialogtestapi/index.es.js +0 -389
- package/eventlogtab/index.es.js +0 -50
- package/infotasktab/index.es.js +0 -186
- package/inputadditional/index.es.js +0 -62
- package/inputinitialname/index.d.ts +0 -118
- package/inputinitialname/index.es.js +0 -95
- package/inputrepositoryname/index.d.ts +0 -86
- package/inputrepositoryname/index.es.js +0 -41
- package/isrequiredtext/index.es.js +0 -16
- package/legend/index.es.js +0 -727
- package/legendlist/index.es.js +0 -33
- package/loading-page-BrQattYE.js +0 -1
- package/loading-page-CgfbWppy.js +0 -1
- package/loading-page-CoC9UhfC.js +0 -4
- package/loading-page-CoXtqoc9.js +0 -4
- package/loading-page-DbLuqCHa.js +0 -1
- package/loading-page-f8D03l3G.js +0 -4
- package/loading-plane-CgfbWppy.js +0 -1
- package/loading-plane-CoXtqoc9.js +0 -4
- package/loading-table-Bdr9ZhtP.js +0 -1
- package/loading-table-ByUoWqUo.js +0 -4
- package/loading-table-BygEMzFM.js +0 -4
- package/loading-table-BzrSQlA0.js +0 -1
- package/loading-table-D9bw9OcI.js +0 -4
- package/loading-table-chOgXi94.js +0 -1
- package/no-data-CTKux8RI.js +0 -4
- package/no-data-Cgze_Rvp.js +0 -1
- package/no-data-DLHO1L_u.js +0 -4
- package/no-data-Dep79CBh.js +0 -1
- package/no-data-g0dJCy2p.js +0 -4
- package/no-data-y1X5WtcQ.js +0 -1
- package/notificationitem/index.d.ts +0 -107
- package/notificationitem/index.es.js +0 -333
- package/reviewitem/index.es.js +0 -65
- package/reviewtab/index.es.js +0 -44
- package/services/calendar.service.es.js +0 -32
- package/sonarqubesummary/index.es.js +0 -234
- package/sprintsummary/index.es.js +0 -73
- package/summaryaccordion/index.d.ts +0 -121
- package/summaryaccordion/index.es.js +0 -365
- package/taskdependency/index.es.js +0 -686
- package/taskdetail/index.d.ts +0 -82
- package/taskdetail/index.es.js +0 -491
- package/taskdetailpbi/index.d.ts +0 -35
- package/taskdetailpbi/index.es.js +0 -172
- package/taskdetailunassignedpbi/index.es.js +0 -261
- package/tasklink/index.es.js +0 -257
- package/tasklinkchangelog/index.es.js +0 -93
- package/tasklist/index.es.js +0 -92
- package/taskmore/index.es.js +0 -52
- package/taskstatusbadge/index.es.js +0 -18
- package/tasktable/index.d.ts +0 -87
- package/tasktable/index.es.js +0 -832
- package/ticket/index.es.js +0 -151
- package/tooltipspan/index.es.js +0 -30
- package/utils/updateSprintStatus.util.es.js +0 -17
- package/valueformdatainput/index.es.js +0 -70
- package/workcalendar/index.es.js +0 -351
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
import { defineComponent as j, mergeModels as I, useModel as T, shallowRef as x, computed as f, createBlock as p, openBlock as i, withCtx as L, createVNode as d, createElementBlock as l, createCommentVNode as C, createElementVNode as u, Fragment as m, renderList as B, toDisplayString as b, mergeProps as E, unref as v } from "vue";
|
|
2
|
-
import { getImageURL as M, AuditServices as N } from "@fewangsit/workspace-api-services";
|
|
3
|
-
import { g as y } from "../utils/getUser.util.es.js";
|
|
4
|
-
import { c as U } from "../utils/convertJsonImage.util.es.js";
|
|
5
|
-
import "../event-bus/index.es.js";
|
|
6
|
-
import { _ as R } from "../dialog/index.es.js";
|
|
7
|
-
import { _ as J } from "../editor/index.es.js";
|
|
8
|
-
import { _ as q } from "../tabmenu/index.es.js";
|
|
9
|
-
import { _ as A } from "../timeline/index.es.js";
|
|
10
|
-
import { _ as F } from "../username/index.es.js";
|
|
11
|
-
import { a as O } from "../badge/index.es.js";
|
|
12
|
-
import { _ as Q } from "../comment/index.es.js";
|
|
13
|
-
import { _ as z } from "../taskdetailpbi/index.es.js";
|
|
14
|
-
const G = {
|
|
15
|
-
key: 0,
|
|
16
|
-
class: "h-[400px] overflow-auto"
|
|
17
|
-
}, H = { class: "grid grid-flow-col justify-stretch gap-3" }, W = { class: "content-center h-6 min-w-[125px]" }, X = {
|
|
18
|
-
key: 1,
|
|
19
|
-
class: "content-center"
|
|
20
|
-
}, Y = { class: "content-center" }, Z = {
|
|
21
|
-
key: 2,
|
|
22
|
-
class: "content-center text-wrap"
|
|
23
|
-
}, ee = {
|
|
24
|
-
key: 3,
|
|
25
|
-
class: "overflow-auto h-[400px]"
|
|
26
|
-
}, ve = /* @__PURE__ */ j({
|
|
27
|
-
__name: "DialogDetailPbi",
|
|
28
|
-
props: /* @__PURE__ */ I({
|
|
29
|
-
visible: { type: Boolean },
|
|
30
|
-
selectedPbi: {},
|
|
31
|
-
project: {},
|
|
32
|
-
editable: { type: Boolean, default: !0 },
|
|
33
|
-
isQc: { type: Boolean, default: !1 }
|
|
34
|
-
}, {
|
|
35
|
-
visible: { type: Boolean, required: !0 },
|
|
36
|
-
visibleModifiers: {}
|
|
37
|
-
}),
|
|
38
|
-
emits: /* @__PURE__ */ I(["reloadTable"], ["update:visible"]),
|
|
39
|
-
setup(g) {
|
|
40
|
-
const a = g, _ = T(g, "visible"), o = x(), P = x([]), $ = f(() => {
|
|
41
|
-
var t;
|
|
42
|
-
if ((t = a.selectedPbi) != null && t.description)
|
|
43
|
-
return U(a.selectedPbi.description);
|
|
44
|
-
}), K = f(() => [
|
|
45
|
-
{ label: "Deskripsi" },
|
|
46
|
-
{ label: "Task" },
|
|
47
|
-
{ label: "Event Log" },
|
|
48
|
-
{ label: "Komentar" }
|
|
49
|
-
]), h = f(() => {
|
|
50
|
-
var t, e, n, r, c, s, k, V, w;
|
|
51
|
-
return [
|
|
52
|
-
[
|
|
53
|
-
{
|
|
54
|
-
printKey: "Judul PBI",
|
|
55
|
-
printValue: { value: ((t = a.selectedPbi) == null ? void 0 : t.name) ?? "-" }
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
printKey: "Status",
|
|
59
|
-
printValue: { value: ((e = a.selectedPbi) == null ? void 0 : e.status) ?? "-", type: "badge" }
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
printKey: "Durasi Pengerjaan",
|
|
63
|
-
printValue: {
|
|
64
|
-
value: ((n = a.selectedPbi) == null ? void 0 : n.duration) ?? "-"
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
printKey: "Diubah Oleh",
|
|
69
|
-
printValue: {
|
|
70
|
-
user: (r = a.selectedPbi) == null ? void 0 : r.editedBy,
|
|
71
|
-
date: ((c = a.selectedPbi) == null ? void 0 : c.lastModified) ?? "-",
|
|
72
|
-
type: "user"
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
],
|
|
76
|
-
[
|
|
77
|
-
{
|
|
78
|
-
printKey: "Platform",
|
|
79
|
-
printValue: { value: ((s = a.selectedPbi) == null ? void 0 : s.platform) ?? "-" }
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
printKey: "Kategori",
|
|
83
|
-
printValue: { value: ((k = a.selectedPbi) == null ? void 0 : k.category) ?? "-" }
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
printKey: "Iterasi",
|
|
87
|
-
printValue: {
|
|
88
|
-
value: (V = a.selectedPbi) != null && V.iteration ? `${(w = a.selectedPbi) == null ? void 0 : w.iteration} Kali` : "-"
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
]
|
|
92
|
-
];
|
|
93
|
-
}), D = () => {
|
|
94
|
-
var t, e;
|
|
95
|
-
sessionStorage.getItem("openComment") === ((t = a.selectedPbi) == null ? void 0 : t._id) ? (o.value = 3, sessionStorage.removeItem("openComment")) : sessionStorage.getItem("openTask") === ((e = a.selectedPbi) == null ? void 0 : e._id) ? (o.value = 1, sessionStorage.removeItem("openTask")) : o.value = 0;
|
|
96
|
-
}, S = async () => {
|
|
97
|
-
var t;
|
|
98
|
-
try {
|
|
99
|
-
const { data: e } = await N.getEventLog({
|
|
100
|
-
object: "Product Backlog Item",
|
|
101
|
-
objectId: (t = a.selectedPbi) == null ? void 0 : t._id
|
|
102
|
-
});
|
|
103
|
-
P.value = e.data;
|
|
104
|
-
} catch (e) {
|
|
105
|
-
console.error(e);
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
return (t, e) => (i(), p(R, {
|
|
109
|
-
visible: _.value,
|
|
110
|
-
"onUpdate:visible": e[3] || (e[3] = (n) => _.value = n),
|
|
111
|
-
onShow: D,
|
|
112
|
-
class: "w-[800px]",
|
|
113
|
-
header: "Detail Product Backlog Item"
|
|
114
|
-
}, {
|
|
115
|
-
default: L(() => {
|
|
116
|
-
var n;
|
|
117
|
-
return [
|
|
118
|
-
d(q, {
|
|
119
|
-
"active-index": o.value,
|
|
120
|
-
"onUpdate:activeIndex": [
|
|
121
|
-
e[0] || (e[0] = (r) => o.value = r),
|
|
122
|
-
e[1] || (e[1] = (r) => {
|
|
123
|
-
r === 2 && S();
|
|
124
|
-
})
|
|
125
|
-
],
|
|
126
|
-
menu: K.value
|
|
127
|
-
}, null, 8, ["active-index", "menu"]),
|
|
128
|
-
o.value === 0 ? (i(), l("div", G, [
|
|
129
|
-
u("div", H, [
|
|
130
|
-
(i(!0), l(m, null, B(h.value, (r, c) => (i(), l("div", {
|
|
131
|
-
key: `print${c}`,
|
|
132
|
-
class: "flex flex-col gap-2"
|
|
133
|
-
}, [
|
|
134
|
-
(i(!0), l(m, null, B(r, (s) => (i(), l("div", {
|
|
135
|
-
key: s.printKey,
|
|
136
|
-
class: "flex"
|
|
137
|
-
}, [
|
|
138
|
-
u("span", W, b(s.printKey), 1),
|
|
139
|
-
e[4] || (e[4] = u("span", { class: "content-center" }, ": ", -1)),
|
|
140
|
-
s.printValue.type === "badge" ? (i(), l(m, { key: 0 }, [
|
|
141
|
-
s.printValue ? (i(), p(O, {
|
|
142
|
-
key: 0,
|
|
143
|
-
label: s.printValue.value,
|
|
144
|
-
format: "nowrap"
|
|
145
|
-
}, null, 8, ["label"])) : (i(), l("span", X, " - "))
|
|
146
|
-
], 64)) : s.printValue.type === "user" ? (i(), l(m, { key: 1 }, [
|
|
147
|
-
d(F, {
|
|
148
|
-
user: s.printValue.user,
|
|
149
|
-
class: "mr-1",
|
|
150
|
-
type: "icon"
|
|
151
|
-
}, null, 8, ["user"]),
|
|
152
|
-
u("span", Y, b(s.printValue.date), 1)
|
|
153
|
-
], 64)) : (i(), l("span", Z, b(s.printValue.value), 1))
|
|
154
|
-
]))), 128))
|
|
155
|
-
]))), 128))
|
|
156
|
-
]),
|
|
157
|
-
e[5] || (e[5] = u("div", { class: "flex" }, [
|
|
158
|
-
u("span", { class: "content-center h-6 min-w-[125px]" }, " Deskripsi PBI "),
|
|
159
|
-
u("span", { class: "content-center" }, ": ")
|
|
160
|
-
], -1)),
|
|
161
|
-
d(J, {
|
|
162
|
-
"initial-value": $.value,
|
|
163
|
-
"editor-state": "readonly",
|
|
164
|
-
"editor-wrapper-class": "!border-0"
|
|
165
|
-
}, null, 8, ["initial-value"])
|
|
166
|
-
])) : o.value === 1 ? (i(), p(z, E({ key: 1 }, t.$props, {
|
|
167
|
-
onReloadTable: e[2] || (e[2] = (r) => t.$emit("reloadTable"))
|
|
168
|
-
}), null, 16)) : o.value === 2 ? (i(), p(A, {
|
|
169
|
-
key: 2,
|
|
170
|
-
"align-detail": !0,
|
|
171
|
-
value: P.value,
|
|
172
|
-
class: "h-[400px] overflow-auto"
|
|
173
|
-
}, null, 8, ["value"])) : o.value === 3 ? (i(), l("div", ee, [
|
|
174
|
-
d(Q, {
|
|
175
|
-
"object-id": (n = t.selectedPbi) == null ? void 0 : n._id,
|
|
176
|
-
user: {
|
|
177
|
-
_id: v(y)()._id,
|
|
178
|
-
name: v(y)().nickName,
|
|
179
|
-
profilePicture: v(M)(v(y)().profilePictureBig)
|
|
180
|
-
},
|
|
181
|
-
"comment-type": "pbi"
|
|
182
|
-
}, null, 8, ["object-id", "user"])
|
|
183
|
-
])) : C("", !0)
|
|
184
|
-
];
|
|
185
|
-
}),
|
|
186
|
-
_: 1
|
|
187
|
-
}, 8, ["visible"]));
|
|
188
|
-
}
|
|
189
|
-
});
|
|
190
|
-
export {
|
|
191
|
-
ve as _
|
|
192
|
-
};
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import { defineComponent as R, mergeModels as y, inject as c, useModel as j, computed as w, resolveDirective as A, createBlock as d, openBlock as m, withCtx as v, createElementVNode as o, createCommentVNode as x, withDirectives as M, unref as _, createVNode as u, mergeProps as N } from "vue";
|
|
2
|
-
import { TaskServices as T } from "@fewangsit/workspace-api-services";
|
|
3
|
-
import { u as $ } from "../apiitem/index.es.js";
|
|
4
|
-
import { u as L } from "../utils/toast.util.es.js";
|
|
5
|
-
import { _ as r } from "../button/index.es.js";
|
|
6
|
-
import { _ as V } from "../dialog/index.es.js";
|
|
7
|
-
import { _ as q } from "../icon/index.es.js";
|
|
8
|
-
const E = { class: "flex justify-between items-center w-full" }, F = { class: "flex gap-2 items-center" }, W = /* @__PURE__ */ R({
|
|
9
|
-
__name: "DialogFinishReview",
|
|
10
|
-
props: /* @__PURE__ */ y({
|
|
11
|
-
processName: {},
|
|
12
|
-
taskIdProp: {}
|
|
13
|
-
}, {
|
|
14
|
-
visible: { type: Boolean, required: !0 },
|
|
15
|
-
visibleModifiers: {}
|
|
16
|
-
}),
|
|
17
|
-
emits: /* @__PURE__ */ y(["saved", "reportBug"], ["update:visible"]),
|
|
18
|
-
setup(p, { emit: h }) {
|
|
19
|
-
const l = L(), { setLoading: t } = $(), C = c(
|
|
20
|
-
"preset",
|
|
21
|
-
{}
|
|
22
|
-
).dialogconfirm, I = c("isMember", void 0), a = j(p, "visible"), f = p, n = h, k = c("taskId", void 0), g = w(
|
|
23
|
-
() => k ? k.value : f.taskIdProp
|
|
24
|
-
), b = w(() => f.processName === "API Spec"), S = async () => {
|
|
25
|
-
try {
|
|
26
|
-
t(!0);
|
|
27
|
-
const { data: e } = await T.reviewTask(g.value, {
|
|
28
|
-
data: [],
|
|
29
|
-
checklists: []
|
|
30
|
-
});
|
|
31
|
-
e && (l.add({
|
|
32
|
-
message: "Task telah ditandai selesai review.",
|
|
33
|
-
severity: "success"
|
|
34
|
-
}), n("saved"), a.value = !1);
|
|
35
|
-
} catch (e) {
|
|
36
|
-
l.add({
|
|
37
|
-
message: "Task gagal ditandai selesai review.",
|
|
38
|
-
error: e
|
|
39
|
-
});
|
|
40
|
-
} finally {
|
|
41
|
-
t(!1);
|
|
42
|
-
}
|
|
43
|
-
}, B = () => {
|
|
44
|
-
n("reportBug"), a.value = !1;
|
|
45
|
-
}, P = async () => {
|
|
46
|
-
try {
|
|
47
|
-
t(!0);
|
|
48
|
-
const { data: e } = await T.markAsSprint(g.value);
|
|
49
|
-
e && (n("saved"), a.value = !1);
|
|
50
|
-
} catch (e) {
|
|
51
|
-
l.add({
|
|
52
|
-
message: "Task gagal dikembalikan ke pengerjaan.",
|
|
53
|
-
error: e
|
|
54
|
-
});
|
|
55
|
-
} finally {
|
|
56
|
-
t(!1);
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
return (e, s) => {
|
|
60
|
-
const D = A("focus");
|
|
61
|
-
return m(), d(V, {
|
|
62
|
-
visible: a.value,
|
|
63
|
-
"onUpdate:visible": s[1] || (s[1] = (i) => a.value = i),
|
|
64
|
-
closable: !1,
|
|
65
|
-
class: "w-[400px]",
|
|
66
|
-
header: "Review Leader",
|
|
67
|
-
modal: ""
|
|
68
|
-
}, {
|
|
69
|
-
header: v(() => {
|
|
70
|
-
var i;
|
|
71
|
-
return [
|
|
72
|
-
o("div", E, [
|
|
73
|
-
o("div", F, [
|
|
74
|
-
u(q, N((i = _(C)) == null ? void 0 : i.headericon, {
|
|
75
|
-
icon: "checkbox-circle",
|
|
76
|
-
severity: "success"
|
|
77
|
-
}), null, 16),
|
|
78
|
-
s[2] || (s[2] = o("span", { class: "text-lg font-semibold leading-4 text-success-700" }, " Selesai Review ", -1))
|
|
79
|
-
]),
|
|
80
|
-
u(r, {
|
|
81
|
-
onClick: s[0] || (s[0] = (K) => a.value = !1),
|
|
82
|
-
class: "!p-0.5 !text-general-200 dark:!text-general-200",
|
|
83
|
-
"data-wv-section": "closebutton",
|
|
84
|
-
icon: "close",
|
|
85
|
-
"icon-class": "w-[22px] h-[22px]",
|
|
86
|
-
severity: "secondary",
|
|
87
|
-
text: ""
|
|
88
|
-
})
|
|
89
|
-
])
|
|
90
|
-
];
|
|
91
|
-
}),
|
|
92
|
-
footer: v(() => [
|
|
93
|
-
!_(I) && !b.value ? (m(), d(r, {
|
|
94
|
-
key: 0,
|
|
95
|
-
onClick: B,
|
|
96
|
-
label: "Report Bug",
|
|
97
|
-
severity: "secondary",
|
|
98
|
-
text: ""
|
|
99
|
-
})) : x("", !0),
|
|
100
|
-
b.value ? (m(), d(r, {
|
|
101
|
-
key: 1,
|
|
102
|
-
onClick: P,
|
|
103
|
-
label: "Kembalikan ke Pengerjaan",
|
|
104
|
-
severity: "secondary",
|
|
105
|
-
text: ""
|
|
106
|
-
})) : x("", !0),
|
|
107
|
-
M(u(r, {
|
|
108
|
-
onClick: S,
|
|
109
|
-
label: "Tandai Selesai",
|
|
110
|
-
severity: "success"
|
|
111
|
-
}, null, 512), [
|
|
112
|
-
[D]
|
|
113
|
-
])
|
|
114
|
-
]),
|
|
115
|
-
default: v(() => [
|
|
116
|
-
s[3] || (s[3] = o("p", null, "Task akan ditandai selesai, pastikan task telah dicek dengan teliti.", -1))
|
|
117
|
-
]),
|
|
118
|
-
_: 1,
|
|
119
|
-
__: [3]
|
|
120
|
-
}, 8, ["visible"]);
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
});
|
|
124
|
-
export {
|
|
125
|
-
W as _
|
|
126
|
-
};
|
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
import { defineComponent as R, mergeModels as U, useModel as z, shallowRef as d, ref as B, computed as H, watch as J, createElementBlock as n, openBlock as a, Fragment as m, createVNode as u, withCtx as K, createCommentVNode as h, renderList as T, createElementVNode as o, createTextVNode as w, toDisplayString as p, createBlock as O } from "vue";
|
|
2
|
-
import { TaskDependencyServices as Q, TaskServices as W, NotificationServices as X } from "@fewangsit/workspace-api-services";
|
|
3
|
-
import { u as Y } from "../utils/toast.util.es.js";
|
|
4
|
-
import { _ as Z } from "../animation/index.es.js";
|
|
5
|
-
import { _ as ee } from "../dialogform/index.es.js";
|
|
6
|
-
import { _ as se } from "../icon/index.es.js";
|
|
7
|
-
import { _ as te } from "../multiselect/index.es.js";
|
|
8
|
-
import { _ as ae } from "../username/index.es.js";
|
|
9
|
-
import { _ as oe } from "../taskdetail/index.es.js";
|
|
10
|
-
const ne = { class: "flex gap-2" }, le = { class: "flex text-xs items-center gap-1" }, ie = { class: "flex text-xs items-center gap-1" }, re = {
|
|
11
|
-
key: 0,
|
|
12
|
-
class: "flex text-xs items-center gap-1"
|
|
13
|
-
}, de = { class: "flex items-center gap-1" }, ue = { class: "list-none space-y-2" }, ce = { class: "flex items-center gap-2" }, me = ["onClick"], pe = {
|
|
14
|
-
key: 0,
|
|
15
|
-
class: "flex gap-2"
|
|
16
|
-
}, ve = {
|
|
17
|
-
key: 0,
|
|
18
|
-
class: "flex pt-4 h-[73px] items-center justify-center"
|
|
19
|
-
}, fe = {
|
|
20
|
-
key: 1,
|
|
21
|
-
class: "w-full flex items-center justify-center"
|
|
22
|
-
}, Ie = /* @__PURE__ */ R({
|
|
23
|
-
__name: "DialogImprovementTask",
|
|
24
|
-
props: /* @__PURE__ */ U({
|
|
25
|
-
projectId: {},
|
|
26
|
-
taskId: {},
|
|
27
|
-
notificationId: {}
|
|
28
|
-
}, {
|
|
29
|
-
visible: { type: Boolean, required: !0 },
|
|
30
|
-
visibleModifiers: {}
|
|
31
|
-
}),
|
|
32
|
-
emits: /* @__PURE__ */ U(["close"], ["update:visible"]),
|
|
33
|
-
setup(I, { emit: P }) {
|
|
34
|
-
const v = Y(), f = I, E = P, k = z(I, "visible"), C = d(), _ = d(!1), b = d(!1), g = d(!1), x = d(), M = B(), l = B(), F = H(() => {
|
|
35
|
-
var e;
|
|
36
|
-
const s = ["cancel"];
|
|
37
|
-
return (e = l.value) != null && e.length && s.push("submit"), s;
|
|
38
|
-
}), A = (s) => {
|
|
39
|
-
C.value = s, _.value = !0;
|
|
40
|
-
}, y = () => {
|
|
41
|
-
g.value = !1, x.value = void 0;
|
|
42
|
-
}, c = async () => {
|
|
43
|
-
l.value = [], b.value = !0;
|
|
44
|
-
try {
|
|
45
|
-
const { data: s } = await Q.getChildrenTasks(
|
|
46
|
-
f.taskId
|
|
47
|
-
);
|
|
48
|
-
M.value = s.data.map((e) => ({
|
|
49
|
-
...e,
|
|
50
|
-
options: e.tasks.map((t) => ({ label: t.name, value: t }))
|
|
51
|
-
})), l.value = s.data.map((e) => ({
|
|
52
|
-
...e,
|
|
53
|
-
tasks: void 0
|
|
54
|
-
}));
|
|
55
|
-
} catch (s) {
|
|
56
|
-
console.error(s), v.add({
|
|
57
|
-
message: "Task dependensi gagal dimuat.",
|
|
58
|
-
error: s
|
|
59
|
-
});
|
|
60
|
-
} finally {
|
|
61
|
-
b.value = !1;
|
|
62
|
-
}
|
|
63
|
-
}, q = async () => {
|
|
64
|
-
try {
|
|
65
|
-
const s = [];
|
|
66
|
-
l.value.forEach((t) => {
|
|
67
|
-
t.tasks && s.push(...t.tasks);
|
|
68
|
-
});
|
|
69
|
-
const e = s.map((t) => t._id);
|
|
70
|
-
if (e.length === 0) {
|
|
71
|
-
g.value = !0, x.value = "Tidak ada task yang dipilih.";
|
|
72
|
-
return;
|
|
73
|
-
}
|
|
74
|
-
y(), await W.markAsImprovement(e), await X.readNotification(f.notificationId), k.value = !1, E("close", f.notificationId), v.add({
|
|
75
|
-
message: "Berhasil menandai penyesuaian.",
|
|
76
|
-
severity: "success"
|
|
77
|
-
});
|
|
78
|
-
} catch (s) {
|
|
79
|
-
console.error(s), v.add({
|
|
80
|
-
message: "Gagal menandai penyesuaian.",
|
|
81
|
-
error: s
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
};
|
|
85
|
-
return J(l, y, { deep: !0 }), (s, e) => (a(), n(m, null, [
|
|
86
|
-
u(oe, {
|
|
87
|
-
visible: _.value,
|
|
88
|
-
"onUpdate:visible": e[0] || (e[0] = (t) => _.value = t),
|
|
89
|
-
"project-id": s.projectId,
|
|
90
|
-
"task-id": C.value,
|
|
91
|
-
onCreate: c,
|
|
92
|
-
onDelete: c,
|
|
93
|
-
onUpdate: c
|
|
94
|
-
}, null, 8, ["visible", "project-id", "task-id"]),
|
|
95
|
-
u(ee, {
|
|
96
|
-
visible: k.value,
|
|
97
|
-
"onUpdate:visible": e[1] || (e[1] = (t) => k.value = t),
|
|
98
|
-
"buttons-template": F.value,
|
|
99
|
-
closable: !1,
|
|
100
|
-
"close-on-submit": !1,
|
|
101
|
-
invalid: g.value,
|
|
102
|
-
"reset-after-submit": !1,
|
|
103
|
-
"validator-message": x.value,
|
|
104
|
-
onClose: y,
|
|
105
|
-
onShow: c,
|
|
106
|
-
onSubmit: q,
|
|
107
|
-
class: "w-[800px]",
|
|
108
|
-
header: "Pilih Task Untuk Penyesuaian",
|
|
109
|
-
width: "xlarge"
|
|
110
|
-
}, {
|
|
111
|
-
fields: K(() => {
|
|
112
|
-
var t;
|
|
113
|
-
return [
|
|
114
|
-
(a(!0), n(m, null, T(l.value, (i, V) => {
|
|
115
|
-
var D, S, $;
|
|
116
|
-
return a(), n("div", {
|
|
117
|
-
key: V,
|
|
118
|
-
class: "font-normal"
|
|
119
|
-
}, [
|
|
120
|
-
o("div", ne, [
|
|
121
|
-
o("div", le, [
|
|
122
|
-
e[2] || (e[2] = o("span", { class: "font-semibold" }, "Proses: ", -1)),
|
|
123
|
-
w(" " + p((D = i.process) == null ? void 0 : D.name), 1)
|
|
124
|
-
]),
|
|
125
|
-
o("div", ie, [
|
|
126
|
-
e[3] || (e[3] = o("span", { class: "font-semibold" }, "Modul: ", -1)),
|
|
127
|
-
w(" " + p((S = i.module) == null ? void 0 : S.name), 1)
|
|
128
|
-
]),
|
|
129
|
-
i.subModule ? (a(), n("div", re, [
|
|
130
|
-
e[4] || (e[4] = o("span", { class: "font-semibold" }, "Sub Modul: ", -1)),
|
|
131
|
-
w(" " + p(($ = i.subModule) == null ? void 0 : $.name), 1)
|
|
132
|
-
])) : h("", !0),
|
|
133
|
-
o("div", de, [
|
|
134
|
-
e[5] || (e[5] = o("span", { class: "text-xs font-semibold" }, "Task: ", -1)),
|
|
135
|
-
u(te, {
|
|
136
|
-
modelValue: i.tasks,
|
|
137
|
-
"onUpdate:modelValue": (r) => i.tasks = r,
|
|
138
|
-
options: M.value[V].options,
|
|
139
|
-
class: "!w-[110px]",
|
|
140
|
-
"option-label": "label",
|
|
141
|
-
"option-value": "value",
|
|
142
|
-
placeholder: "Pilih task"
|
|
143
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "options"])
|
|
144
|
-
])
|
|
145
|
-
]),
|
|
146
|
-
o("ul", ue, [
|
|
147
|
-
(a(!0), n(m, null, T(i.tasks, (r, G) => {
|
|
148
|
-
var j;
|
|
149
|
-
return a(), n("li", {
|
|
150
|
-
key: G,
|
|
151
|
-
class: "flex first:!pt-1 before:content-['•'] before:mr-2"
|
|
152
|
-
}, [
|
|
153
|
-
o("div", ce, [
|
|
154
|
-
o("span", {
|
|
155
|
-
onClick: (N) => A(r._id),
|
|
156
|
-
class: "cursor-pointer"
|
|
157
|
-
}, p(r.name), 9, me),
|
|
158
|
-
(j = r.assignedTo) != null && j.length ? (a(), n("div", pe, [
|
|
159
|
-
(a(!0), n(m, null, T(r.assignedTo, (N, L) => (a(), O(ae, {
|
|
160
|
-
key: L,
|
|
161
|
-
user: N,
|
|
162
|
-
type: "icon"
|
|
163
|
-
}, null, 8, ["user"]))), 128))
|
|
164
|
-
])) : h("", !0)
|
|
165
|
-
])
|
|
166
|
-
]);
|
|
167
|
-
}), 128))
|
|
168
|
-
])
|
|
169
|
-
]);
|
|
170
|
-
}), 128)),
|
|
171
|
-
b.value ? (a(), n("div", ve, [
|
|
172
|
-
u(se, {
|
|
173
|
-
class: "text-5xl animate-spin duration-200",
|
|
174
|
-
icon: "spinner"
|
|
175
|
-
})
|
|
176
|
-
])) : (t = l.value) != null && t.length ? h("", !0) : (a(), n("div", fe, [
|
|
177
|
-
u(Z, {
|
|
178
|
-
animation: "no-data",
|
|
179
|
-
class: "w-44 h-auto"
|
|
180
|
-
})
|
|
181
|
-
]))
|
|
182
|
-
];
|
|
183
|
-
}),
|
|
184
|
-
_: 1
|
|
185
|
-
}, 8, ["visible", "buttons-template", "invalid", "validator-message"])
|
|
186
|
-
], 64));
|
|
187
|
-
}
|
|
188
|
-
});
|
|
189
|
-
export {
|
|
190
|
-
Ie as _
|
|
191
|
-
};
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { defineComponent as v, mergeModels as g, onMounted as _, useModel as h, shallowRef as u, computed as R, createBlock as y, openBlock as A, withCtx as M, createVNode as w } from "vue";
|
|
2
|
-
import { RoleServices as x, MemberAdminServices as B } from "@fewangsit/workspace-api-services";
|
|
3
|
-
import { e as c } from "../event-bus/index.es.js";
|
|
4
|
-
import { u as I } from "../utils/toast.util.es.js";
|
|
5
|
-
import { _ as S } from "../dialogform/index.es.js";
|
|
6
|
-
import { _ as N } from "../multiselect/index.es.js";
|
|
7
|
-
const F = /* @__PURE__ */ v({
|
|
8
|
-
__name: "DialogMemberAdmin",
|
|
9
|
-
props: /* @__PURE__ */ g({
|
|
10
|
-
memberId: {},
|
|
11
|
-
memberAdmin: {}
|
|
12
|
-
}, {
|
|
13
|
-
visible: { type: Boolean, required: !0 },
|
|
14
|
-
visibleModifiers: {}
|
|
15
|
-
}),
|
|
16
|
-
emits: ["update:visible"],
|
|
17
|
-
setup(r) {
|
|
18
|
-
const n = I(), s = r;
|
|
19
|
-
_(() => {
|
|
20
|
-
f();
|
|
21
|
-
});
|
|
22
|
-
const t = h(r, "visible"), o = u(!1), i = u([]), d = R(() => {
|
|
23
|
-
var a;
|
|
24
|
-
return (a = s.memberAdmin) == null ? void 0 : a.map((e) => e.role._id);
|
|
25
|
-
}), b = async (a) => {
|
|
26
|
-
var m;
|
|
27
|
-
const e = a.formValues.role, l = (((m = s.memberAdmin) == null ? void 0 : m.length) ?? 0) <= e.length;
|
|
28
|
-
await p(e, l) && (c.emit("data-table:clear-selected-data", {
|
|
29
|
-
tableName: "member-roles"
|
|
30
|
-
}), c.emit("data-table:update", {
|
|
31
|
-
tableName: "member-roles"
|
|
32
|
-
}), t.value = !1);
|
|
33
|
-
}, p = async (a, e) => {
|
|
34
|
-
try {
|
|
35
|
-
return await B.updateMemberAdmin(s.memberId ?? "", {
|
|
36
|
-
roleId: a
|
|
37
|
-
}), n.add({
|
|
38
|
-
message: e ? "Role telah di-assign." : "Role telah di-unassign.",
|
|
39
|
-
severity: "success"
|
|
40
|
-
}), !0;
|
|
41
|
-
} catch (l) {
|
|
42
|
-
return console.error(l), n.add({
|
|
43
|
-
error: l,
|
|
44
|
-
message: e ? "Role gagal di-assign." : "Role gagal di-unassign."
|
|
45
|
-
}), !1;
|
|
46
|
-
}
|
|
47
|
-
}, f = async () => {
|
|
48
|
-
try {
|
|
49
|
-
o.value = !0;
|
|
50
|
-
const { data: a } = await x.getRoles({});
|
|
51
|
-
i.value = a.data.filter(function(e) {
|
|
52
|
-
return e.name !== "Super Admin";
|
|
53
|
-
}).map((e) => ({
|
|
54
|
-
label: e.name,
|
|
55
|
-
value: e._id
|
|
56
|
-
}));
|
|
57
|
-
} catch (a) {
|
|
58
|
-
i.value = [], console.error(a);
|
|
59
|
-
} finally {
|
|
60
|
-
o.value = !1;
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
return (a, e) => (A(), y(S, {
|
|
64
|
-
visible: t.value,
|
|
65
|
-
"onUpdate:visible": e[0] || (e[0] = (l) => t.value = l),
|
|
66
|
-
"buttons-template": ["cancel", "submit"],
|
|
67
|
-
closable: !1,
|
|
68
|
-
"close-on-submit": !1,
|
|
69
|
-
"reset-after-submit": !1,
|
|
70
|
-
onSubmit: b,
|
|
71
|
-
header: "Assign Role"
|
|
72
|
-
}, {
|
|
73
|
-
fields: M(() => [
|
|
74
|
-
w(N, {
|
|
75
|
-
"initial-value": d.value,
|
|
76
|
-
loading: o.value,
|
|
77
|
-
options: i.value,
|
|
78
|
-
"show-optional-text": !1,
|
|
79
|
-
"field-name": "role",
|
|
80
|
-
label: "Role",
|
|
81
|
-
"option-label": "label",
|
|
82
|
-
"option-value": "value",
|
|
83
|
-
placeholder: "Pilih Role",
|
|
84
|
-
"use-validator": ""
|
|
85
|
-
}, null, 8, ["initial-value", "loading", "options"])
|
|
86
|
-
]),
|
|
87
|
-
_: 1
|
|
88
|
-
}, 8, ["visible"]));
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
export {
|
|
92
|
-
F as _
|
|
93
|
-
};
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { defineComponent as k, mergeModels as p, useModel as w, shallowRef as i, createBlock as v, openBlock as b, withCtx as I, createElementVNode as f, createVNode as c } from "vue";
|
|
2
|
-
import { SprintServices as M } from "@fewangsit/workspace-api-services";
|
|
3
|
-
import { u as B } from "../utils/baseToast.util.es.js";
|
|
4
|
-
import { _ } from "../dialogform/index.es.js";
|
|
5
|
-
import { _ as u } from "../inputnumber/index.es.js";
|
|
6
|
-
const S = { class: "grid grid-cols-3 gap-3" }, C = /* @__PURE__ */ k({
|
|
7
|
-
__name: "DialogPreparePbi",
|
|
8
|
-
props: /* @__PURE__ */ p({
|
|
9
|
-
projectId: {},
|
|
10
|
-
selectedPbi: {}
|
|
11
|
-
}, {
|
|
12
|
-
visible: { type: Boolean, required: !0 },
|
|
13
|
-
visibleModifiers: {}
|
|
14
|
-
}),
|
|
15
|
-
emits: /* @__PURE__ */ p(["reloadTable"], ["update:visible"]),
|
|
16
|
-
setup(n, { emit: y }) {
|
|
17
|
-
const r = B(), m = n, V = y, o = w(n, "visible"), l = i(), t = i(), s = i(), P = () => {
|
|
18
|
-
l.value = 0, t.value = 0, s.value = void 0;
|
|
19
|
-
}, g = async (d) => {
|
|
20
|
-
var e;
|
|
21
|
-
try {
|
|
22
|
-
const a = d.formValues;
|
|
23
|
-
await M.addPbiTimer(
|
|
24
|
-
m.projectId,
|
|
25
|
-
(e = m.selectedPbi) == null ? void 0 : e._id,
|
|
26
|
-
a
|
|
27
|
-
), o.value = !1, r.add({
|
|
28
|
-
message: "Persiapan telah dimulai.",
|
|
29
|
-
severity: "success"
|
|
30
|
-
}), V("reloadTable");
|
|
31
|
-
} catch (a) {
|
|
32
|
-
console.error(a), r.add({
|
|
33
|
-
message: "Persiapan gagal dimulai.",
|
|
34
|
-
error: a
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
return (d, e) => (b(), v(_, {
|
|
39
|
-
visible: o.value,
|
|
40
|
-
"onUpdate:visible": e[3] || (e[3] = (a) => o.value = a),
|
|
41
|
-
"buttons-template": ["cancel", "submit"],
|
|
42
|
-
closable: !1,
|
|
43
|
-
"close-on-submit": !1,
|
|
44
|
-
"reset-after-submit": !1,
|
|
45
|
-
onShow: P,
|
|
46
|
-
onSubmit: g,
|
|
47
|
-
"cancel-btn-label": "Batal",
|
|
48
|
-
header: "Mulai Persiapan",
|
|
49
|
-
"submit-btn-label": "Mulai"
|
|
50
|
-
}, {
|
|
51
|
-
fields: I(() => [
|
|
52
|
-
e[4] || (e[4] = f("span", { class: "font-normal" }, " Atur waktu untuk membuat atau menambahkan task kedalam PBI. ", -1)),
|
|
53
|
-
f("div", S, [
|
|
54
|
-
c(u, {
|
|
55
|
-
modelValue: l.value,
|
|
56
|
-
"onUpdate:modelValue": e[0] || (e[0] = (a) => l.value = a),
|
|
57
|
-
"allow-empty-value": !1,
|
|
58
|
-
min: 0,
|
|
59
|
-
"field-name": "day",
|
|
60
|
-
label: "Hari",
|
|
61
|
-
mandatory: "",
|
|
62
|
-
"use-validator": ""
|
|
63
|
-
}, null, 8, ["modelValue"]),
|
|
64
|
-
c(u, {
|
|
65
|
-
modelValue: t.value,
|
|
66
|
-
"onUpdate:modelValue": e[1] || (e[1] = (a) => t.value = a),
|
|
67
|
-
"allow-empty-value": !1,
|
|
68
|
-
min: 0,
|
|
69
|
-
"field-name": "hour",
|
|
70
|
-
label: "Jam",
|
|
71
|
-
mandatory: "",
|
|
72
|
-
"use-validator": ""
|
|
73
|
-
}, null, 8, ["modelValue"]),
|
|
74
|
-
(b(), v(u, {
|
|
75
|
-
key: `${l.value}-${t.value}`,
|
|
76
|
-
modelValue: s.value,
|
|
77
|
-
"onUpdate:modelValue": e[2] || (e[2] = (a) => s.value = a),
|
|
78
|
-
"allow-empty-value": !1,
|
|
79
|
-
min: !l.value && !t.value ? 10 : 0,
|
|
80
|
-
"field-name": "minute",
|
|
81
|
-
label: "Menit",
|
|
82
|
-
mandatory: "",
|
|
83
|
-
"use-validator": ""
|
|
84
|
-
}, null, 8, ["modelValue", "min"]))
|
|
85
|
-
])
|
|
86
|
-
]),
|
|
87
|
-
_: 1
|
|
88
|
-
}, 8, ["visible"]));
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
export {
|
|
92
|
-
C as _
|
|
93
|
-
};
|