@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,117 +1,118 @@
|
|
|
1
|
-
import { U as
|
|
2
|
-
import { s as
|
|
3
|
-
import { P as
|
|
4
|
-
import { createElementBlock
|
|
5
|
-
import { s as
|
|
6
|
-
import { R as
|
|
7
|
-
import { s as
|
|
8
|
-
import { s as
|
|
9
|
-
import { s as
|
|
10
|
-
import { s as
|
|
11
|
-
import { s as
|
|
12
|
-
var
|
|
1
|
+
import { U as UniqueComponentId, D as DomHandler } from "../utils/utils.esm.es.js";
|
|
2
|
+
import { s as script$c } from "../basecomponent/basecomponent.esm.es.js";
|
|
3
|
+
import { P as PaginatorStyle } from "./style/paginatorstyle.esm.es.js";
|
|
4
|
+
import { createElementBlock, openBlock, mergeProps, toDisplayString, resolveDirective, withDirectives, createBlock, resolveDynamicComponent, resolveComponent, normalizeClass, createSlots, withCtx, Fragment, renderList, createTextVNode, createCommentVNode, normalizeProps, renderSlot } from "vue";
|
|
5
|
+
import { s as script$h } from "../icons/angledoubleleft/index.esm.es.js";
|
|
6
|
+
import { R as Ripple } from "../ripple/ripple.esm.es.js";
|
|
7
|
+
import { s as script$d } from "../dropdown/dropdown.esm.es.js";
|
|
8
|
+
import { s as script$b } from "../inputnumber/inputnumber.esm.es.js";
|
|
9
|
+
import { s as script$g } from "../icons/angledoubleright/index.esm.es.js";
|
|
10
|
+
import { s as script$f } from "../icons/angleright/index.esm.es.js";
|
|
11
|
+
import { s as script$e } from "../icons/angleleft/index.esm.es.js";
|
|
12
|
+
var script$a = {
|
|
13
13
|
name: "BasePaginator",
|
|
14
|
-
extends:
|
|
14
|
+
"extends": script$c,
|
|
15
15
|
props: {
|
|
16
16
|
totalRecords: {
|
|
17
17
|
type: Number,
|
|
18
|
-
default: 0
|
|
18
|
+
"default": 0
|
|
19
19
|
},
|
|
20
20
|
rows: {
|
|
21
21
|
type: Number,
|
|
22
|
-
default: 0
|
|
22
|
+
"default": 0
|
|
23
23
|
},
|
|
24
24
|
first: {
|
|
25
25
|
type: Number,
|
|
26
|
-
default: 0
|
|
26
|
+
"default": 0
|
|
27
27
|
},
|
|
28
28
|
pageLinkSize: {
|
|
29
29
|
type: Number,
|
|
30
|
-
default: 5
|
|
30
|
+
"default": 5
|
|
31
31
|
},
|
|
32
32
|
rowsPerPageOptions: {
|
|
33
33
|
type: Array,
|
|
34
|
-
default: null
|
|
34
|
+
"default": null
|
|
35
35
|
},
|
|
36
36
|
template: {
|
|
37
37
|
type: [Object, String],
|
|
38
|
-
default: "FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"
|
|
38
|
+
"default": "FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"
|
|
39
39
|
},
|
|
40
40
|
currentPageReportTemplate: {
|
|
41
41
|
type: null,
|
|
42
|
-
default: "({currentPage} of {totalPages})"
|
|
42
|
+
"default": "({currentPage} of {totalPages})"
|
|
43
43
|
},
|
|
44
44
|
alwaysShow: {
|
|
45
45
|
type: Boolean,
|
|
46
|
-
default:
|
|
46
|
+
"default": true
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
|
-
style:
|
|
50
|
-
provide: function() {
|
|
49
|
+
style: PaginatorStyle,
|
|
50
|
+
provide: function provide() {
|
|
51
51
|
return {
|
|
52
52
|
$parentInstance: this
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
|
-
}
|
|
55
|
+
};
|
|
56
|
+
var script$9 = {
|
|
56
57
|
name: "CurrentPageReport",
|
|
57
58
|
hostName: "Paginator",
|
|
58
|
-
extends:
|
|
59
|
+
"extends": script$c,
|
|
59
60
|
props: {
|
|
60
61
|
pageCount: {
|
|
61
62
|
type: Number,
|
|
62
|
-
default: 0
|
|
63
|
+
"default": 0
|
|
63
64
|
},
|
|
64
65
|
currentPage: {
|
|
65
66
|
type: Number,
|
|
66
|
-
default: 0
|
|
67
|
+
"default": 0
|
|
67
68
|
},
|
|
68
69
|
page: {
|
|
69
70
|
type: Number,
|
|
70
|
-
default: 0
|
|
71
|
+
"default": 0
|
|
71
72
|
},
|
|
72
73
|
first: {
|
|
73
74
|
type: Number,
|
|
74
|
-
default: 0
|
|
75
|
+
"default": 0
|
|
75
76
|
},
|
|
76
77
|
rows: {
|
|
77
78
|
type: Number,
|
|
78
|
-
default: 0
|
|
79
|
+
"default": 0
|
|
79
80
|
},
|
|
80
81
|
totalRecords: {
|
|
81
82
|
type: Number,
|
|
82
|
-
default: 0
|
|
83
|
+
"default": 0
|
|
83
84
|
},
|
|
84
85
|
template: {
|
|
85
86
|
type: String,
|
|
86
|
-
default: "({currentPage} of {totalPages})"
|
|
87
|
+
"default": "({currentPage} of {totalPages})"
|
|
87
88
|
}
|
|
88
89
|
},
|
|
89
90
|
computed: {
|
|
90
|
-
text: function() {
|
|
91
|
-
var
|
|
92
|
-
return
|
|
91
|
+
text: function text() {
|
|
92
|
+
var text2 = this.template.replace("{currentPage}", this.currentPage).replace("{totalPages}", this.pageCount).replace("{first}", this.pageCount > 0 ? this.first + 1 : 0).replace("{last}", Math.min(this.first + this.rows, this.totalRecords)).replace("{rows}", this.rows).replace("{totalRecords}", this.totalRecords);
|
|
93
|
+
return text2;
|
|
93
94
|
}
|
|
94
95
|
}
|
|
95
96
|
};
|
|
96
|
-
function
|
|
97
|
-
return
|
|
98
|
-
class:
|
|
99
|
-
},
|
|
97
|
+
function render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
98
|
+
return openBlock(), createElementBlock("span", mergeProps({
|
|
99
|
+
"class": _ctx.cx("current")
|
|
100
|
+
}, _ctx.ptm("current")), toDisplayString($options.text), 17);
|
|
100
101
|
}
|
|
101
|
-
|
|
102
|
-
var
|
|
102
|
+
script$9.render = render$9;
|
|
103
|
+
var script$8 = {
|
|
103
104
|
name: "FirstPageLink",
|
|
104
105
|
hostName: "Paginator",
|
|
105
|
-
extends:
|
|
106
|
+
"extends": script$c,
|
|
106
107
|
props: {
|
|
107
108
|
template: {
|
|
108
109
|
type: Function,
|
|
109
|
-
default: null
|
|
110
|
+
"default": null
|
|
110
111
|
}
|
|
111
112
|
},
|
|
112
113
|
methods: {
|
|
113
|
-
getPTOptions: function(
|
|
114
|
-
return this.ptm(
|
|
114
|
+
getPTOptions: function getPTOptions(key) {
|
|
115
|
+
return this.ptm(key, {
|
|
115
116
|
context: {
|
|
116
117
|
disabled: this.$attrs.disabled
|
|
117
118
|
}
|
|
@@ -119,28 +120,28 @@ var z = {
|
|
|
119
120
|
}
|
|
120
121
|
},
|
|
121
122
|
components: {
|
|
122
|
-
AngleDoubleLeftIcon:
|
|
123
|
+
AngleDoubleLeftIcon: script$h
|
|
123
124
|
},
|
|
124
125
|
directives: {
|
|
125
|
-
ripple:
|
|
126
|
+
ripple: Ripple
|
|
126
127
|
}
|
|
127
128
|
};
|
|
128
|
-
function
|
|
129
|
-
var
|
|
130
|
-
return
|
|
131
|
-
class:
|
|
129
|
+
function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
130
|
+
var _directive_ripple = resolveDirective("ripple");
|
|
131
|
+
return withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
132
|
+
"class": _ctx.cx("firstPageButton"),
|
|
132
133
|
type: "button"
|
|
133
|
-
},
|
|
134
|
+
}, $options.getPTOptions("firstPageButton"), {
|
|
134
135
|
"data-pc-group-section": "pagebutton"
|
|
135
|
-
}), [(
|
|
136
|
-
class:
|
|
137
|
-
},
|
|
136
|
+
}), [(openBlock(), createBlock(resolveDynamicComponent($props.template || "AngleDoubleLeftIcon"), mergeProps({
|
|
137
|
+
"class": _ctx.cx("firstPageIcon")
|
|
138
|
+
}, $options.getPTOptions("firstPageIcon")), null, 16, ["class"]))], 16)), [[_directive_ripple]]);
|
|
138
139
|
}
|
|
139
|
-
|
|
140
|
-
var
|
|
140
|
+
script$8.render = render$8;
|
|
141
|
+
var script$7 = {
|
|
141
142
|
name: "JumpToPageDropdown",
|
|
142
143
|
hostName: "Paginator",
|
|
143
|
-
extends:
|
|
144
|
+
"extends": script$c,
|
|
144
145
|
emits: ["page-change"],
|
|
145
146
|
props: {
|
|
146
147
|
page: Number,
|
|
@@ -149,114 +150,119 @@ var W = {
|
|
|
149
150
|
templates: null
|
|
150
151
|
},
|
|
151
152
|
methods: {
|
|
152
|
-
onChange: function(
|
|
153
|
-
this.$emit("page-change",
|
|
153
|
+
onChange: function onChange(value) {
|
|
154
|
+
this.$emit("page-change", value);
|
|
154
155
|
}
|
|
155
156
|
},
|
|
156
157
|
computed: {
|
|
157
|
-
pageOptions: function() {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
158
|
+
pageOptions: function pageOptions() {
|
|
159
|
+
var opts = [];
|
|
160
|
+
for (var i = 0; i < this.pageCount; i++) {
|
|
161
|
+
opts.push({
|
|
162
|
+
label: String(i + 1),
|
|
163
|
+
value: i
|
|
162
164
|
});
|
|
163
|
-
|
|
165
|
+
}
|
|
166
|
+
return opts;
|
|
164
167
|
}
|
|
165
168
|
},
|
|
166
169
|
components: {
|
|
167
|
-
JTPDropdown:
|
|
170
|
+
JTPDropdown: script$d
|
|
168
171
|
}
|
|
169
172
|
};
|
|
170
|
-
function
|
|
171
|
-
var
|
|
172
|
-
return
|
|
173
|
-
modelValue:
|
|
174
|
-
options:
|
|
173
|
+
function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
174
|
+
var _component_JTPDropdown = resolveComponent("JTPDropdown");
|
|
175
|
+
return openBlock(), createBlock(_component_JTPDropdown, {
|
|
176
|
+
modelValue: $props.page,
|
|
177
|
+
options: $options.pageOptions,
|
|
175
178
|
optionLabel: "label",
|
|
176
179
|
optionValue: "value",
|
|
177
|
-
"onUpdate:modelValue":
|
|
178
|
-
return
|
|
180
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = function($event) {
|
|
181
|
+
return $options.onChange($event);
|
|
179
182
|
}),
|
|
180
|
-
class:
|
|
181
|
-
disabled:
|
|
182
|
-
unstyled:
|
|
183
|
-
pt:
|
|
183
|
+
"class": normalizeClass(_ctx.cx("jumpToPageDropdown")),
|
|
184
|
+
disabled: $props.disabled,
|
|
185
|
+
unstyled: _ctx.unstyled,
|
|
186
|
+
pt: _ctx.ptm("jumpToPageDropdown"),
|
|
184
187
|
"data-pc-group-section": "pagedropdown"
|
|
185
|
-
},
|
|
188
|
+
}, createSlots({
|
|
186
189
|
_: 2
|
|
187
|
-
}, [
|
|
190
|
+
}, [$props.templates["jumptopagedropdownicon"] ? {
|
|
188
191
|
name: "dropdownicon",
|
|
189
|
-
fn:
|
|
190
|
-
return [(
|
|
191
|
-
class:
|
|
192
|
+
fn: withCtx(function(slotProps) {
|
|
193
|
+
return [(openBlock(), createBlock(resolveDynamicComponent($props.templates["jumptopagedropdownicon"]), {
|
|
194
|
+
"class": normalizeClass(slotProps["class"])
|
|
192
195
|
}, null, 8, ["class"]))];
|
|
193
196
|
}),
|
|
194
197
|
key: "0"
|
|
195
198
|
} : void 0]), 1032, ["modelValue", "options", "class", "disabled", "unstyled", "pt"]);
|
|
196
199
|
}
|
|
197
|
-
|
|
198
|
-
var $ = {
|
|
200
|
+
script$7.render = render$7;
|
|
201
|
+
var script$6 = {
|
|
199
202
|
name: "JumpToPageInput",
|
|
200
203
|
hostName: "Paginator",
|
|
201
|
-
extends:
|
|
202
|
-
inheritAttrs:
|
|
204
|
+
"extends": script$c,
|
|
205
|
+
inheritAttrs: false,
|
|
203
206
|
emits: ["page-change"],
|
|
204
207
|
props: {
|
|
205
208
|
page: Number,
|
|
206
209
|
pageCount: Number,
|
|
207
210
|
disabled: Boolean
|
|
208
211
|
},
|
|
209
|
-
data: function() {
|
|
212
|
+
data: function data() {
|
|
210
213
|
return {
|
|
211
214
|
d_page: this.page
|
|
212
215
|
};
|
|
213
216
|
},
|
|
214
217
|
watch: {
|
|
215
|
-
page: function(
|
|
216
|
-
this.d_page =
|
|
218
|
+
page: function page(newValue) {
|
|
219
|
+
this.d_page = newValue;
|
|
217
220
|
}
|
|
218
221
|
},
|
|
219
222
|
methods: {
|
|
220
|
-
onChange: function(
|
|
221
|
-
|
|
223
|
+
onChange: function onChange2(value) {
|
|
224
|
+
if (value !== this.page) {
|
|
225
|
+
this.d_page = value;
|
|
226
|
+
this.$emit("page-change", value - 1);
|
|
227
|
+
}
|
|
222
228
|
}
|
|
223
229
|
},
|
|
224
230
|
computed: {
|
|
225
|
-
inputArialabel: function() {
|
|
231
|
+
inputArialabel: function inputArialabel() {
|
|
226
232
|
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.jumpToPageInputLabel : void 0;
|
|
227
233
|
}
|
|
228
234
|
},
|
|
229
235
|
components: {
|
|
230
|
-
JTPInput:
|
|
236
|
+
JTPInput: script$b
|
|
231
237
|
}
|
|
232
238
|
};
|
|
233
|
-
function
|
|
234
|
-
var
|
|
235
|
-
return
|
|
239
|
+
function render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
240
|
+
var _component_JTPInput = resolveComponent("JTPInput");
|
|
241
|
+
return openBlock(), createBlock(_component_JTPInput, {
|
|
236
242
|
ref: "jtpInput",
|
|
237
|
-
modelValue:
|
|
238
|
-
class:
|
|
239
|
-
"aria-label":
|
|
240
|
-
disabled:
|
|
241
|
-
"onUpdate:modelValue":
|
|
242
|
-
unstyled:
|
|
243
|
-
pt:
|
|
243
|
+
modelValue: $data.d_page,
|
|
244
|
+
"class": normalizeClass(_ctx.cx("jumpToPageInput")),
|
|
245
|
+
"aria-label": $options.inputArialabel,
|
|
246
|
+
disabled: $props.disabled,
|
|
247
|
+
"onUpdate:modelValue": $options.onChange,
|
|
248
|
+
unstyled: _ctx.unstyled,
|
|
249
|
+
pt: _ctx.ptm("jumpToPageInput")
|
|
244
250
|
}, null, 8, ["modelValue", "class", "aria-label", "disabled", "onUpdate:modelValue", "unstyled", "pt"]);
|
|
245
251
|
}
|
|
246
|
-
|
|
247
|
-
var
|
|
252
|
+
script$6.render = render$6;
|
|
253
|
+
var script$5 = {
|
|
248
254
|
name: "LastPageLink",
|
|
249
255
|
hostName: "Paginator",
|
|
250
|
-
extends:
|
|
256
|
+
"extends": script$c,
|
|
251
257
|
props: {
|
|
252
258
|
template: {
|
|
253
259
|
type: Function,
|
|
254
|
-
default: null
|
|
260
|
+
"default": null
|
|
255
261
|
}
|
|
256
262
|
},
|
|
257
263
|
methods: {
|
|
258
|
-
getPTOptions: function(
|
|
259
|
-
return this.ptm(
|
|
264
|
+
getPTOptions: function getPTOptions2(key) {
|
|
265
|
+
return this.ptm(key, {
|
|
260
266
|
context: {
|
|
261
267
|
disabled: this.$attrs.disabled
|
|
262
268
|
}
|
|
@@ -264,37 +270,37 @@ var H = {
|
|
|
264
270
|
}
|
|
265
271
|
},
|
|
266
272
|
components: {
|
|
267
|
-
AngleDoubleRightIcon:
|
|
273
|
+
AngleDoubleRightIcon: script$g
|
|
268
274
|
},
|
|
269
275
|
directives: {
|
|
270
|
-
ripple:
|
|
276
|
+
ripple: Ripple
|
|
271
277
|
}
|
|
272
278
|
};
|
|
273
|
-
function
|
|
274
|
-
var
|
|
275
|
-
return
|
|
276
|
-
class:
|
|
279
|
+
function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
280
|
+
var _directive_ripple = resolveDirective("ripple");
|
|
281
|
+
return withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
282
|
+
"class": _ctx.cx("lastPageButton"),
|
|
277
283
|
type: "button"
|
|
278
|
-
},
|
|
284
|
+
}, $options.getPTOptions("lastPageButton"), {
|
|
279
285
|
"data-pc-group-section": "pagebutton"
|
|
280
|
-
}), [(
|
|
281
|
-
class:
|
|
282
|
-
},
|
|
286
|
+
}), [(openBlock(), createBlock(resolveDynamicComponent($props.template || "AngleDoubleRightIcon"), mergeProps({
|
|
287
|
+
"class": _ctx.cx("lastPageIcon")
|
|
288
|
+
}, $options.getPTOptions("lastPageIcon")), null, 16, ["class"]))], 16)), [[_directive_ripple]]);
|
|
283
289
|
}
|
|
284
|
-
|
|
285
|
-
var
|
|
290
|
+
script$5.render = render$5;
|
|
291
|
+
var script$4 = {
|
|
286
292
|
name: "NextPageLink",
|
|
287
293
|
hostName: "Paginator",
|
|
288
|
-
extends:
|
|
294
|
+
"extends": script$c,
|
|
289
295
|
props: {
|
|
290
296
|
template: {
|
|
291
297
|
type: Function,
|
|
292
|
-
default: null
|
|
298
|
+
"default": null
|
|
293
299
|
}
|
|
294
300
|
},
|
|
295
301
|
methods: {
|
|
296
|
-
getPTOptions: function(
|
|
297
|
-
return this.ptm(
|
|
302
|
+
getPTOptions: function getPTOptions3(key) {
|
|
303
|
+
return this.ptm(key, {
|
|
298
304
|
context: {
|
|
299
305
|
disabled: this.$attrs.disabled
|
|
300
306
|
}
|
|
@@ -302,91 +308,92 @@ var _ = {
|
|
|
302
308
|
}
|
|
303
309
|
},
|
|
304
310
|
components: {
|
|
305
|
-
AngleRightIcon:
|
|
311
|
+
AngleRightIcon: script$f
|
|
306
312
|
},
|
|
307
313
|
directives: {
|
|
308
|
-
ripple:
|
|
314
|
+
ripple: Ripple
|
|
309
315
|
}
|
|
310
316
|
};
|
|
311
|
-
function
|
|
312
|
-
var
|
|
313
|
-
return
|
|
314
|
-
class:
|
|
317
|
+
function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
318
|
+
var _directive_ripple = resolveDirective("ripple");
|
|
319
|
+
return withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
320
|
+
"class": _ctx.cx("nextPageButton"),
|
|
315
321
|
type: "button"
|
|
316
|
-
},
|
|
322
|
+
}, $options.getPTOptions("nextPageButton"), {
|
|
317
323
|
"data-pc-group-section": "pagebutton"
|
|
318
|
-
}), [(
|
|
319
|
-
class:
|
|
320
|
-
},
|
|
324
|
+
}), [(openBlock(), createBlock(resolveDynamicComponent($props.template || "AngleRightIcon"), mergeProps({
|
|
325
|
+
"class": _ctx.cx("nextPageIcon")
|
|
326
|
+
}, $options.getPTOptions("nextPageIcon")), null, 16, ["class"]))], 16)), [[_directive_ripple]]);
|
|
321
327
|
}
|
|
322
|
-
|
|
323
|
-
var
|
|
328
|
+
script$4.render = render$4;
|
|
329
|
+
var script$3 = {
|
|
324
330
|
name: "PageLinks",
|
|
325
331
|
hostName: "Paginator",
|
|
326
|
-
extends:
|
|
327
|
-
inheritAttrs:
|
|
332
|
+
"extends": script$c,
|
|
333
|
+
inheritAttrs: false,
|
|
328
334
|
emits: ["click"],
|
|
329
335
|
props: {
|
|
330
336
|
value: Array,
|
|
331
337
|
page: Number
|
|
332
338
|
},
|
|
333
339
|
methods: {
|
|
334
|
-
getPTOptions: function(
|
|
335
|
-
return this.ptm(
|
|
340
|
+
getPTOptions: function getPTOptions4(pageLink, key) {
|
|
341
|
+
return this.ptm(key, {
|
|
336
342
|
context: {
|
|
337
|
-
active:
|
|
343
|
+
active: pageLink === this.page
|
|
338
344
|
}
|
|
339
345
|
});
|
|
340
346
|
},
|
|
341
|
-
onPageLinkClick: function(
|
|
347
|
+
onPageLinkClick: function onPageLinkClick(event, pageLink) {
|
|
342
348
|
this.$emit("click", {
|
|
343
|
-
originalEvent:
|
|
344
|
-
value:
|
|
349
|
+
originalEvent: event,
|
|
350
|
+
value: pageLink
|
|
345
351
|
});
|
|
346
352
|
},
|
|
347
|
-
ariaPageLabel: function(
|
|
348
|
-
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g,
|
|
353
|
+
ariaPageLabel: function ariaPageLabel(value) {
|
|
354
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g, value) : void 0;
|
|
349
355
|
}
|
|
350
356
|
},
|
|
351
357
|
directives: {
|
|
352
|
-
ripple:
|
|
358
|
+
ripple: Ripple
|
|
353
359
|
}
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
360
|
+
};
|
|
361
|
+
var _hoisted_1 = ["aria-label", "aria-current", "onClick", "data-p-highlight"];
|
|
362
|
+
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
363
|
+
var _directive_ripple = resolveDirective("ripple");
|
|
364
|
+
return openBlock(), createElementBlock("span", mergeProps({
|
|
365
|
+
"class": _ctx.cx("pages")
|
|
366
|
+
}, _ctx.ptm("pages")), [(openBlock(true), createElementBlock(Fragment, null, renderList($props.value, function(pageLink) {
|
|
367
|
+
return withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
368
|
+
key: pageLink,
|
|
369
|
+
"class": _ctx.cx("pageButton", {
|
|
370
|
+
pageLink
|
|
364
371
|
}),
|
|
365
372
|
type: "button",
|
|
366
|
-
"aria-label":
|
|
367
|
-
"aria-current":
|
|
368
|
-
onClick: function(
|
|
369
|
-
return
|
|
373
|
+
"aria-label": $options.ariaPageLabel(pageLink),
|
|
374
|
+
"aria-current": pageLink - 1 === $props.page ? "page" : void 0,
|
|
375
|
+
onClick: function onClick($event) {
|
|
376
|
+
return $options.onPageLinkClick($event, pageLink);
|
|
370
377
|
}
|
|
371
|
-
},
|
|
372
|
-
"data-p-highlight":
|
|
373
|
-
}), [
|
|
378
|
+
}, $options.getPTOptions(pageLink - 1, "pageButton"), {
|
|
379
|
+
"data-p-highlight": pageLink - 1 === $props.page
|
|
380
|
+
}), [createTextVNode(toDisplayString(pageLink), 1)], 16, _hoisted_1)), [[_directive_ripple]]);
|
|
374
381
|
}), 128))], 16);
|
|
375
382
|
}
|
|
376
|
-
|
|
377
|
-
var
|
|
383
|
+
script$3.render = render$3;
|
|
384
|
+
var script$2 = {
|
|
378
385
|
name: "PrevPageLink",
|
|
379
386
|
hostName: "Paginator",
|
|
380
|
-
extends:
|
|
387
|
+
"extends": script$c,
|
|
381
388
|
props: {
|
|
382
389
|
template: {
|
|
383
390
|
type: Function,
|
|
384
|
-
default: null
|
|
391
|
+
"default": null
|
|
385
392
|
}
|
|
386
393
|
},
|
|
387
394
|
methods: {
|
|
388
|
-
getPTOptions: function(
|
|
389
|
-
return this.ptm(
|
|
395
|
+
getPTOptions: function getPTOptions5(key) {
|
|
396
|
+
return this.ptm(key, {
|
|
390
397
|
context: {
|
|
391
398
|
disabled: this.$attrs.disabled
|
|
392
399
|
}
|
|
@@ -394,28 +401,28 @@ var G = {
|
|
|
394
401
|
}
|
|
395
402
|
},
|
|
396
403
|
components: {
|
|
397
|
-
AngleLeftIcon:
|
|
404
|
+
AngleLeftIcon: script$e
|
|
398
405
|
},
|
|
399
406
|
directives: {
|
|
400
|
-
ripple:
|
|
407
|
+
ripple: Ripple
|
|
401
408
|
}
|
|
402
409
|
};
|
|
403
|
-
function
|
|
404
|
-
var
|
|
405
|
-
return
|
|
406
|
-
class:
|
|
410
|
+
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
411
|
+
var _directive_ripple = resolveDirective("ripple");
|
|
412
|
+
return withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
413
|
+
"class": _ctx.cx("previousPageButton"),
|
|
407
414
|
type: "button"
|
|
408
|
-
},
|
|
415
|
+
}, $options.getPTOptions("previousPageButton"), {
|
|
409
416
|
"data-pc-group-section": "pagebutton"
|
|
410
|
-
}), [(
|
|
411
|
-
class:
|
|
412
|
-
},
|
|
417
|
+
}), [(openBlock(), createBlock(resolveDynamicComponent($props.template || "AngleLeftIcon"), mergeProps({
|
|
418
|
+
"class": _ctx.cx("previousPageIcon")
|
|
419
|
+
}, $options.getPTOptions("previousPageIcon")), null, 16, ["class"]))], 16)), [[_directive_ripple]]);
|
|
413
420
|
}
|
|
414
|
-
|
|
415
|
-
var
|
|
421
|
+
script$2.render = render$2;
|
|
422
|
+
var script$1 = {
|
|
416
423
|
name: "RowsPerPageDropdown",
|
|
417
424
|
hostName: "Paginator",
|
|
418
|
-
extends:
|
|
425
|
+
"extends": script$c,
|
|
419
426
|
emits: ["rows-change"],
|
|
420
427
|
props: {
|
|
421
428
|
options: Array,
|
|
@@ -424,415 +431,452 @@ var K = {
|
|
|
424
431
|
templates: null
|
|
425
432
|
},
|
|
426
433
|
methods: {
|
|
427
|
-
onChange: function(
|
|
428
|
-
this.$emit("rows-change",
|
|
434
|
+
onChange: function onChange3(value) {
|
|
435
|
+
this.$emit("rows-change", value);
|
|
429
436
|
}
|
|
430
437
|
},
|
|
431
438
|
computed: {
|
|
432
|
-
rowsOptions: function() {
|
|
433
|
-
var
|
|
434
|
-
if (this.options)
|
|
435
|
-
for (var
|
|
436
|
-
|
|
437
|
-
label: String(this.options[
|
|
438
|
-
value: this.options[
|
|
439
|
+
rowsOptions: function rowsOptions() {
|
|
440
|
+
var opts = [];
|
|
441
|
+
if (this.options) {
|
|
442
|
+
for (var i = 0; i < this.options.length; i++) {
|
|
443
|
+
opts.push({
|
|
444
|
+
label: String(this.options[i]),
|
|
445
|
+
value: this.options[i]
|
|
439
446
|
});
|
|
440
|
-
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
return opts;
|
|
441
450
|
}
|
|
442
451
|
},
|
|
443
452
|
components: {
|
|
444
|
-
RPPDropdown:
|
|
453
|
+
RPPDropdown: script$d
|
|
445
454
|
}
|
|
446
455
|
};
|
|
447
|
-
function
|
|
448
|
-
var
|
|
449
|
-
return
|
|
450
|
-
modelValue:
|
|
451
|
-
options:
|
|
456
|
+
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
457
|
+
var _component_RPPDropdown = resolveComponent("RPPDropdown");
|
|
458
|
+
return openBlock(), createBlock(_component_RPPDropdown, {
|
|
459
|
+
modelValue: $props.rows,
|
|
460
|
+
options: $options.rowsOptions,
|
|
452
461
|
optionLabel: "label",
|
|
453
462
|
optionValue: "value",
|
|
454
|
-
"onUpdate:modelValue":
|
|
455
|
-
return
|
|
463
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = function($event) {
|
|
464
|
+
return $options.onChange($event);
|
|
456
465
|
}),
|
|
457
|
-
class:
|
|
458
|
-
disabled:
|
|
459
|
-
unstyled:
|
|
460
|
-
pt:
|
|
466
|
+
"class": normalizeClass(_ctx.cx("rowPerPageDropdown")),
|
|
467
|
+
disabled: $props.disabled,
|
|
468
|
+
unstyled: _ctx.unstyled,
|
|
469
|
+
pt: _ctx.ptm("rowPerPageDropdown"),
|
|
461
470
|
"data-pc-group-section": "pagedropdown"
|
|
462
|
-
},
|
|
471
|
+
}, createSlots({
|
|
463
472
|
_: 2
|
|
464
|
-
}, [
|
|
473
|
+
}, [$props.templates["rowsperpagedropdownicon"] ? {
|
|
465
474
|
name: "dropdownicon",
|
|
466
|
-
fn:
|
|
467
|
-
return [(
|
|
468
|
-
class:
|
|
475
|
+
fn: withCtx(function(slotProps) {
|
|
476
|
+
return [(openBlock(), createBlock(resolveDynamicComponent($props.templates["rowsperpagedropdownicon"]), {
|
|
477
|
+
"class": normalizeClass(slotProps["class"])
|
|
469
478
|
}, null, 8, ["class"]))];
|
|
470
479
|
}),
|
|
471
480
|
key: "0"
|
|
472
481
|
} : void 0]), 1032, ["modelValue", "options", "class", "disabled", "unstyled", "pt"]);
|
|
473
482
|
}
|
|
474
|
-
|
|
475
|
-
function
|
|
476
|
-
return
|
|
483
|
+
script$1.render = render$1;
|
|
484
|
+
function _toConsumableArray(arr) {
|
|
485
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
477
486
|
}
|
|
478
|
-
function
|
|
479
|
-
throw new TypeError(
|
|
480
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
487
|
+
function _nonIterableSpread() {
|
|
488
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
481
489
|
}
|
|
482
|
-
function
|
|
483
|
-
if (typeof Symbol
|
|
490
|
+
function _iterableToArray(iter) {
|
|
491
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
484
492
|
}
|
|
485
|
-
function
|
|
486
|
-
if (Array.isArray(
|
|
493
|
+
function _arrayWithoutHoles(arr) {
|
|
494
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
487
495
|
}
|
|
488
|
-
function
|
|
496
|
+
function _typeof(o) {
|
|
489
497
|
"@babel/helpers - typeof";
|
|
490
|
-
return
|
|
491
|
-
return typeof
|
|
492
|
-
} : function(
|
|
493
|
-
return
|
|
494
|
-
},
|
|
498
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
499
|
+
return typeof o2;
|
|
500
|
+
} : function(o2) {
|
|
501
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
502
|
+
}, _typeof(o);
|
|
495
503
|
}
|
|
496
|
-
function
|
|
497
|
-
return
|
|
504
|
+
function _slicedToArray(arr, i) {
|
|
505
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
498
506
|
}
|
|
499
|
-
function
|
|
500
|
-
throw new TypeError(
|
|
501
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
507
|
+
function _nonIterableRest() {
|
|
508
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
502
509
|
}
|
|
503
|
-
function
|
|
504
|
-
if (
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
511
|
+
if (!o) return;
|
|
512
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
513
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
514
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
515
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
516
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
510
517
|
}
|
|
511
|
-
function
|
|
512
|
-
(
|
|
513
|
-
for (var
|
|
514
|
-
return
|
|
518
|
+
function _arrayLikeToArray(arr, len) {
|
|
519
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
520
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
521
|
+
return arr2;
|
|
515
522
|
}
|
|
516
|
-
function
|
|
517
|
-
var
|
|
518
|
-
if (
|
|
519
|
-
var
|
|
523
|
+
function _iterableToArrayLimit(r, l) {
|
|
524
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
525
|
+
if (null != t) {
|
|
526
|
+
var e, n, i, u, a = [], f = true, o = false;
|
|
520
527
|
try {
|
|
521
|
-
if (
|
|
522
|
-
if (Object(
|
|
523
|
-
f =
|
|
524
|
-
} else for (; !(f = (
|
|
525
|
-
} catch (
|
|
526
|
-
|
|
528
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
|
529
|
+
if (Object(t) !== t) return;
|
|
530
|
+
f = false;
|
|
531
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = true) ;
|
|
532
|
+
} catch (r2) {
|
|
533
|
+
o = true, n = r2;
|
|
527
534
|
} finally {
|
|
528
535
|
try {
|
|
529
|
-
if (!f &&
|
|
536
|
+
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
|
530
537
|
} finally {
|
|
531
|
-
if (
|
|
538
|
+
if (o) throw n;
|
|
532
539
|
}
|
|
533
540
|
}
|
|
534
|
-
return
|
|
541
|
+
return a;
|
|
535
542
|
}
|
|
536
543
|
}
|
|
537
|
-
function
|
|
538
|
-
if (Array.isArray(
|
|
544
|
+
function _arrayWithHoles(arr) {
|
|
545
|
+
if (Array.isArray(arr)) return arr;
|
|
539
546
|
}
|
|
540
|
-
var
|
|
547
|
+
var script = {
|
|
541
548
|
name: "Paginator",
|
|
542
|
-
extends:
|
|
543
|
-
inheritAttrs:
|
|
549
|
+
"extends": script$a,
|
|
550
|
+
inheritAttrs: false,
|
|
544
551
|
emits: ["update:first", "update:rows", "page"],
|
|
545
|
-
data: function() {
|
|
552
|
+
data: function data2() {
|
|
546
553
|
return {
|
|
547
554
|
d_first: this.first,
|
|
548
555
|
d_rows: this.rows
|
|
549
556
|
};
|
|
550
557
|
},
|
|
551
558
|
watch: {
|
|
552
|
-
first: function(
|
|
553
|
-
this.d_first =
|
|
559
|
+
first: function first(newValue) {
|
|
560
|
+
this.d_first = newValue;
|
|
554
561
|
},
|
|
555
|
-
rows: function(
|
|
556
|
-
this.d_rows =
|
|
562
|
+
rows: function rows(newValue) {
|
|
563
|
+
this.d_rows = newValue;
|
|
557
564
|
},
|
|
558
|
-
totalRecords: function(
|
|
559
|
-
this.page > 0 &&
|
|
565
|
+
totalRecords: function totalRecords(newValue) {
|
|
566
|
+
if (this.page > 0 && newValue && this.d_first >= newValue) {
|
|
567
|
+
this.changePage(this.pageCount - 1);
|
|
568
|
+
}
|
|
560
569
|
}
|
|
561
570
|
},
|
|
562
|
-
mounted: function() {
|
|
563
|
-
this.setPaginatorAttribute()
|
|
571
|
+
mounted: function mounted() {
|
|
572
|
+
this.setPaginatorAttribute();
|
|
573
|
+
this.createStyle();
|
|
564
574
|
},
|
|
565
575
|
methods: {
|
|
566
|
-
changePage: function(
|
|
567
|
-
var
|
|
568
|
-
if (
|
|
569
|
-
this.d_first = this.d_rows *
|
|
570
|
-
var
|
|
571
|
-
page:
|
|
576
|
+
changePage: function changePage(p) {
|
|
577
|
+
var pc = this.pageCount;
|
|
578
|
+
if (p >= 0 && p < pc) {
|
|
579
|
+
this.d_first = this.d_rows * p;
|
|
580
|
+
var state = {
|
|
581
|
+
page: p,
|
|
572
582
|
first: this.d_first,
|
|
573
583
|
rows: this.d_rows,
|
|
574
|
-
pageCount:
|
|
584
|
+
pageCount: pc
|
|
575
585
|
};
|
|
576
|
-
this.$emit("update:first", this.d_first)
|
|
586
|
+
this.$emit("update:first", this.d_first);
|
|
587
|
+
this.$emit("update:rows", this.d_rows);
|
|
588
|
+
this.$emit("page", state);
|
|
577
589
|
}
|
|
578
590
|
},
|
|
579
|
-
changePageToFirst: function(
|
|
580
|
-
this.isFirstPage
|
|
591
|
+
changePageToFirst: function changePageToFirst(event) {
|
|
592
|
+
if (!this.isFirstPage) {
|
|
593
|
+
this.changePage(0);
|
|
594
|
+
}
|
|
595
|
+
event.preventDefault();
|
|
581
596
|
},
|
|
582
|
-
changePageToPrev: function(
|
|
583
|
-
this.changePage(this.page - 1)
|
|
597
|
+
changePageToPrev: function changePageToPrev(event) {
|
|
598
|
+
this.changePage(this.page - 1);
|
|
599
|
+
event.preventDefault();
|
|
584
600
|
},
|
|
585
|
-
changePageLink: function(
|
|
586
|
-
this.changePage(
|
|
601
|
+
changePageLink: function changePageLink(event) {
|
|
602
|
+
this.changePage(event.value - 1);
|
|
603
|
+
event.originalEvent.preventDefault();
|
|
587
604
|
},
|
|
588
|
-
changePageToNext: function(
|
|
589
|
-
this.changePage(this.page + 1)
|
|
605
|
+
changePageToNext: function changePageToNext(event) {
|
|
606
|
+
this.changePage(this.page + 1);
|
|
607
|
+
event.preventDefault();
|
|
590
608
|
},
|
|
591
|
-
changePageToLast: function(
|
|
592
|
-
|
|
609
|
+
changePageToLast: function changePageToLast(event) {
|
|
610
|
+
if (!this.isLastPage) {
|
|
611
|
+
this.changePage(this.pageCount - 1);
|
|
612
|
+
}
|
|
613
|
+
event.preventDefault();
|
|
593
614
|
},
|
|
594
|
-
onRowChange: function(
|
|
595
|
-
this.d_rows =
|
|
615
|
+
onRowChange: function onRowChange(value) {
|
|
616
|
+
this.d_rows = value;
|
|
617
|
+
this.changePage(this.page);
|
|
596
618
|
},
|
|
597
|
-
createStyle: function() {
|
|
598
|
-
var
|
|
619
|
+
createStyle: function createStyle() {
|
|
620
|
+
var _this = this;
|
|
599
621
|
if (this.hasBreakpoints() && !this.isUnstyled) {
|
|
600
|
-
var
|
|
601
|
-
this.styleElement = document.createElement("style")
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
622
|
+
var _this$$primevue;
|
|
623
|
+
this.styleElement = document.createElement("style");
|
|
624
|
+
this.styleElement.type = "text/css";
|
|
625
|
+
DomHandler.setAttribute(this.styleElement, "nonce", (_this$$primevue = this.$primevue) === null || _this$$primevue === void 0 || (_this$$primevue = _this$$primevue.config) === null || _this$$primevue === void 0 || (_this$$primevue = _this$$primevue.csp) === null || _this$$primevue === void 0 ? void 0 : _this$$primevue.nonce);
|
|
626
|
+
document.head.appendChild(this.styleElement);
|
|
627
|
+
var innerHTML = "";
|
|
628
|
+
var keys = Object.keys(this.template);
|
|
629
|
+
var sortedBreakpoints = {};
|
|
630
|
+
keys.sort(function(a, b) {
|
|
631
|
+
return parseInt(a) - parseInt(b);
|
|
632
|
+
}).forEach(function(key2) {
|
|
633
|
+
sortedBreakpoints[key2] = _this.template[key2];
|
|
607
634
|
});
|
|
608
|
-
for (var
|
|
609
|
-
var
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
}
|
|
620
|
-
@media screen
|
|
621
|
-
|
|
622
|
-
display: flex;
|
|
623
|
-
}
|
|
624
|
-
.paginator[`).concat(this.attributeSelector, `],
|
|
625
|
-
.p-paginator-default{
|
|
626
|
-
display: none;
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
`);
|
|
635
|
+
for (var _i = 0, _Object$entries = Object.entries(Object.entries(sortedBreakpoints)); _i < _Object$entries.length; _i++) {
|
|
636
|
+
var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2), index = _Object$entries$_i[0], _Object$entries$_i$ = _slicedToArray(_Object$entries$_i[1], 1), key = _Object$entries$_i$[0];
|
|
637
|
+
var minValue = void 0, calculatedMinValue = void 0;
|
|
638
|
+
if (key !== "default" && typeof Object.keys(sortedBreakpoints)[index - 1] === "string") {
|
|
639
|
+
calculatedMinValue = Number(Object.keys(sortedBreakpoints)[index - 1].slice(0, -2)) + 1 + "px";
|
|
640
|
+
} else {
|
|
641
|
+
calculatedMinValue = Object.keys(sortedBreakpoints)[index - 1];
|
|
642
|
+
}
|
|
643
|
+
minValue = Object.entries(sortedBreakpoints)[index - 1] ? "and (min-width:".concat(calculatedMinValue, ")") : "";
|
|
644
|
+
if (key === "default") {
|
|
645
|
+
innerHTML += "\n @media screen ".concat(minValue, " {\n .paginator[").concat(this.attributeSelector, "],\n display: flex;\n }\n }\n ");
|
|
646
|
+
} else {
|
|
647
|
+
innerHTML += "\n.paginator[".concat(this.attributeSelector, "], .p-paginator-").concat(key, " {\n display: none;\n}\n@media screen ").concat(minValue, " and (max-width: ").concat(key, ") {\n .paginator[").concat(this.attributeSelector, "], .p-paginator-").concat(key, " {\n display: flex;\n }\n .paginator[").concat(this.attributeSelector, "],\n .p-paginator-default{\n display: none;\n }\n}\n ");
|
|
648
|
+
}
|
|
630
649
|
}
|
|
631
|
-
this.styleElement.innerHTML =
|
|
650
|
+
this.styleElement.innerHTML = innerHTML;
|
|
632
651
|
}
|
|
633
652
|
},
|
|
634
|
-
hasBreakpoints: function() {
|
|
635
|
-
return
|
|
653
|
+
hasBreakpoints: function hasBreakpoints() {
|
|
654
|
+
return _typeof(this.template) === "object";
|
|
636
655
|
},
|
|
637
|
-
setPaginatorAttribute: function() {
|
|
638
|
-
var
|
|
639
|
-
this.$refs.paginator && this.$refs.paginator.length >= 0
|
|
640
|
-
|
|
641
|
-
|
|
656
|
+
setPaginatorAttribute: function setPaginatorAttribute() {
|
|
657
|
+
var _this2 = this;
|
|
658
|
+
if (this.$refs.paginator && this.$refs.paginator.length >= 0) {
|
|
659
|
+
_toConsumableArray(this.$refs.paginator).forEach(function(el) {
|
|
660
|
+
el.setAttribute(_this2.attributeSelector, "");
|
|
661
|
+
});
|
|
662
|
+
}
|
|
642
663
|
},
|
|
643
|
-
getAriaLabel: function(
|
|
644
|
-
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria[
|
|
664
|
+
getAriaLabel: function getAriaLabel(labelType) {
|
|
665
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria[labelType] : void 0;
|
|
645
666
|
}
|
|
646
667
|
},
|
|
647
668
|
computed: {
|
|
648
|
-
templateItems: function() {
|
|
649
|
-
var
|
|
669
|
+
templateItems: function templateItems() {
|
|
670
|
+
var keys = {};
|
|
650
671
|
if (this.hasBreakpoints()) {
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
672
|
+
keys = this.template;
|
|
673
|
+
if (!keys["default"]) {
|
|
674
|
+
keys["default"] = "FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown";
|
|
675
|
+
}
|
|
676
|
+
for (var item in keys) {
|
|
677
|
+
keys[item] = this.template[item].split(" ").map(function(value) {
|
|
678
|
+
return value.trim();
|
|
655
679
|
});
|
|
656
|
-
|
|
680
|
+
}
|
|
681
|
+
return keys;
|
|
657
682
|
}
|
|
658
|
-
|
|
659
|
-
return
|
|
660
|
-
})
|
|
683
|
+
keys["default"] = this.template.split(" ").map(function(value) {
|
|
684
|
+
return value.trim();
|
|
685
|
+
});
|
|
686
|
+
return keys;
|
|
661
687
|
},
|
|
662
|
-
page: function() {
|
|
688
|
+
page: function page2() {
|
|
663
689
|
return Math.floor(this.d_first / this.d_rows);
|
|
664
690
|
},
|
|
665
|
-
pageCount: function() {
|
|
691
|
+
pageCount: function pageCount() {
|
|
666
692
|
return Math.ceil(this.totalRecords / this.d_rows);
|
|
667
693
|
},
|
|
668
|
-
isFirstPage: function() {
|
|
694
|
+
isFirstPage: function isFirstPage() {
|
|
669
695
|
return this.page === 0;
|
|
670
696
|
},
|
|
671
|
-
isLastPage: function() {
|
|
697
|
+
isLastPage: function isLastPage() {
|
|
672
698
|
return this.page === this.pageCount - 1;
|
|
673
699
|
},
|
|
674
|
-
calculatePageLinkBoundaries: function() {
|
|
675
|
-
var
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
return
|
|
700
|
+
calculatePageLinkBoundaries: function calculatePageLinkBoundaries() {
|
|
701
|
+
var numberOfPages = this.pageCount;
|
|
702
|
+
var visiblePages = Math.min(this.pageLinkSize, numberOfPages);
|
|
703
|
+
var start = Math.max(0, Math.ceil(this.page - visiblePages / 2));
|
|
704
|
+
var end = Math.min(numberOfPages - 1, start + visiblePages - 1);
|
|
705
|
+
var delta = this.pageLinkSize - (end - start + 1);
|
|
706
|
+
start = Math.max(0, start - delta);
|
|
707
|
+
return [start, end];
|
|
708
|
+
},
|
|
709
|
+
pageLinks: function pageLinks() {
|
|
710
|
+
var pageLinks2 = [];
|
|
711
|
+
var boundaries = this.calculatePageLinkBoundaries;
|
|
712
|
+
var start = boundaries[0];
|
|
713
|
+
var end = boundaries[1];
|
|
714
|
+
for (var i = start; i <= end; i++) {
|
|
715
|
+
pageLinks2.push(i + 1);
|
|
716
|
+
}
|
|
717
|
+
return pageLinks2;
|
|
682
718
|
},
|
|
683
|
-
currentState: function() {
|
|
719
|
+
currentState: function currentState() {
|
|
684
720
|
return {
|
|
685
721
|
page: this.page,
|
|
686
722
|
first: this.d_first,
|
|
687
723
|
rows: this.d_rows
|
|
688
724
|
};
|
|
689
725
|
},
|
|
690
|
-
empty: function() {
|
|
726
|
+
empty: function empty() {
|
|
691
727
|
return this.pageCount === 0;
|
|
692
728
|
},
|
|
693
|
-
currentPage: function() {
|
|
729
|
+
currentPage: function currentPage() {
|
|
694
730
|
return this.pageCount > 0 ? this.page + 1 : 0;
|
|
695
731
|
},
|
|
696
|
-
attributeSelector: function() {
|
|
697
|
-
return
|
|
732
|
+
attributeSelector: function attributeSelector() {
|
|
733
|
+
return UniqueComponentId();
|
|
698
734
|
}
|
|
699
735
|
},
|
|
700
736
|
components: {
|
|
701
|
-
CurrentPageReport:
|
|
702
|
-
FirstPageLink:
|
|
703
|
-
LastPageLink:
|
|
704
|
-
NextPageLink:
|
|
705
|
-
PageLinks:
|
|
706
|
-
PrevPageLink:
|
|
707
|
-
RowsPerPageDropdown:
|
|
708
|
-
JumpToPageDropdown:
|
|
709
|
-
JumpToPageInput: $
|
|
737
|
+
CurrentPageReport: script$9,
|
|
738
|
+
FirstPageLink: script$8,
|
|
739
|
+
LastPageLink: script$5,
|
|
740
|
+
NextPageLink: script$4,
|
|
741
|
+
PageLinks: script$3,
|
|
742
|
+
PrevPageLink: script$2,
|
|
743
|
+
RowsPerPageDropdown: script$1,
|
|
744
|
+
JumpToPageDropdown: script$7,
|
|
745
|
+
JumpToPageInput: script$6
|
|
710
746
|
}
|
|
711
747
|
};
|
|
712
|
-
function
|
|
713
|
-
var
|
|
714
|
-
|
|
748
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
749
|
+
var _component_FirstPageLink = resolveComponent("FirstPageLink");
|
|
750
|
+
var _component_PrevPageLink = resolveComponent("PrevPageLink");
|
|
751
|
+
var _component_NextPageLink = resolveComponent("NextPageLink");
|
|
752
|
+
var _component_LastPageLink = resolveComponent("LastPageLink");
|
|
753
|
+
var _component_PageLinks = resolveComponent("PageLinks");
|
|
754
|
+
var _component_CurrentPageReport = resolveComponent("CurrentPageReport");
|
|
755
|
+
var _component_RowsPerPageDropdown = resolveComponent("RowsPerPageDropdown");
|
|
756
|
+
var _component_JumpToPageDropdown = resolveComponent("JumpToPageDropdown");
|
|
757
|
+
var _component_JumpToPageInput = resolveComponent("JumpToPageInput");
|
|
758
|
+
return (_ctx.alwaysShow ? true : $options.pageLinks && $options.pageLinks.length > 1) ? (openBlock(), createElementBlock("nav", normalizeProps(mergeProps({
|
|
715
759
|
key: 0
|
|
716
|
-
},
|
|
717
|
-
return
|
|
718
|
-
key
|
|
719
|
-
ref_for:
|
|
760
|
+
}, _ctx.ptmi("paginatorWrapper"))), [(openBlock(true), createElementBlock(Fragment, null, renderList($options.templateItems, function(value, key) {
|
|
761
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
762
|
+
key,
|
|
763
|
+
ref_for: true,
|
|
720
764
|
ref: "paginator",
|
|
721
|
-
class:
|
|
722
|
-
key
|
|
765
|
+
"class": _ctx.cx("paginator", {
|
|
766
|
+
key
|
|
723
767
|
})
|
|
724
|
-
},
|
|
768
|
+
}, _ctx.ptm("root")), [_ctx.$slots.start ? (openBlock(), createElementBlock("div", mergeProps({
|
|
725
769
|
key: 0,
|
|
726
|
-
class:
|
|
727
|
-
},
|
|
728
|
-
state:
|
|
729
|
-
})], 16)) :
|
|
730
|
-
return
|
|
731
|
-
key:
|
|
732
|
-
}, [
|
|
770
|
+
"class": _ctx.cx("start")
|
|
771
|
+
}, _ctx.ptm("start")), [renderSlot(_ctx.$slots, "start", {
|
|
772
|
+
state: $options.currentState
|
|
773
|
+
})], 16)) : createCommentVNode("", true), (openBlock(true), createElementBlock(Fragment, null, renderList(value, function(item) {
|
|
774
|
+
return openBlock(), createElementBlock(Fragment, {
|
|
775
|
+
key: item
|
|
776
|
+
}, [item === "FirstPageLink" ? (openBlock(), createBlock(_component_FirstPageLink, {
|
|
733
777
|
key: 0,
|
|
734
|
-
"aria-label":
|
|
735
|
-
template:
|
|
736
|
-
onClick:
|
|
737
|
-
return
|
|
778
|
+
"aria-label": $options.getAriaLabel("firstPageLabel"),
|
|
779
|
+
template: _ctx.$slots.firstpagelinkicon,
|
|
780
|
+
onClick: _cache[0] || (_cache[0] = function($event) {
|
|
781
|
+
return $options.changePageToFirst($event);
|
|
738
782
|
}),
|
|
739
|
-
disabled:
|
|
740
|
-
unstyled:
|
|
741
|
-
pt:
|
|
742
|
-
}, null, 8, ["aria-label", "template", "disabled", "unstyled", "pt"])) :
|
|
783
|
+
disabled: $options.isFirstPage || $options.empty,
|
|
784
|
+
unstyled: _ctx.unstyled,
|
|
785
|
+
pt: _ctx.pt
|
|
786
|
+
}, null, 8, ["aria-label", "template", "disabled", "unstyled", "pt"])) : item === "PrevPageLink" ? (openBlock(), createBlock(_component_PrevPageLink, {
|
|
743
787
|
key: 1,
|
|
744
|
-
"aria-label":
|
|
745
|
-
template:
|
|
746
|
-
onClick:
|
|
747
|
-
return
|
|
788
|
+
"aria-label": $options.getAriaLabel("prevPageLabel"),
|
|
789
|
+
template: _ctx.$slots.prevpagelinkicon,
|
|
790
|
+
onClick: _cache[1] || (_cache[1] = function($event) {
|
|
791
|
+
return $options.changePageToPrev($event);
|
|
748
792
|
}),
|
|
749
|
-
disabled:
|
|
750
|
-
unstyled:
|
|
751
|
-
pt:
|
|
752
|
-
}, null, 8, ["aria-label", "template", "disabled", "unstyled", "pt"])) :
|
|
793
|
+
disabled: $options.isFirstPage || $options.empty,
|
|
794
|
+
unstyled: _ctx.unstyled,
|
|
795
|
+
pt: _ctx.pt
|
|
796
|
+
}, null, 8, ["aria-label", "template", "disabled", "unstyled", "pt"])) : item === "NextPageLink" ? (openBlock(), createBlock(_component_NextPageLink, {
|
|
753
797
|
key: 2,
|
|
754
|
-
"aria-label":
|
|
755
|
-
template:
|
|
756
|
-
onClick:
|
|
757
|
-
return
|
|
798
|
+
"aria-label": $options.getAriaLabel("nextPageLabel"),
|
|
799
|
+
template: _ctx.$slots.nextpagelinkicon,
|
|
800
|
+
onClick: _cache[2] || (_cache[2] = function($event) {
|
|
801
|
+
return $options.changePageToNext($event);
|
|
758
802
|
}),
|
|
759
|
-
disabled:
|
|
760
|
-
unstyled:
|
|
761
|
-
pt:
|
|
762
|
-
}, null, 8, ["aria-label", "template", "disabled", "unstyled", "pt"])) :
|
|
803
|
+
disabled: $options.isLastPage || $options.empty,
|
|
804
|
+
unstyled: _ctx.unstyled,
|
|
805
|
+
pt: _ctx.pt
|
|
806
|
+
}, null, 8, ["aria-label", "template", "disabled", "unstyled", "pt"])) : item === "LastPageLink" ? (openBlock(), createBlock(_component_LastPageLink, {
|
|
763
807
|
key: 3,
|
|
764
|
-
"aria-label":
|
|
765
|
-
template:
|
|
766
|
-
onClick:
|
|
767
|
-
return
|
|
808
|
+
"aria-label": $options.getAriaLabel("lastPageLabel"),
|
|
809
|
+
template: _ctx.$slots.lastpagelinkicon,
|
|
810
|
+
onClick: _cache[3] || (_cache[3] = function($event) {
|
|
811
|
+
return $options.changePageToLast($event);
|
|
768
812
|
}),
|
|
769
|
-
disabled:
|
|
770
|
-
unstyled:
|
|
771
|
-
pt:
|
|
772
|
-
}, null, 8, ["aria-label", "template", "disabled", "unstyled", "pt"])) :
|
|
813
|
+
disabled: $options.isLastPage || $options.empty,
|
|
814
|
+
unstyled: _ctx.unstyled,
|
|
815
|
+
pt: _ctx.pt
|
|
816
|
+
}, null, 8, ["aria-label", "template", "disabled", "unstyled", "pt"])) : item === "PageLinks" ? (openBlock(), createBlock(_component_PageLinks, {
|
|
773
817
|
key: 4,
|
|
774
|
-
"aria-label":
|
|
775
|
-
value:
|
|
776
|
-
page:
|
|
777
|
-
onClick:
|
|
778
|
-
return
|
|
818
|
+
"aria-label": $options.getAriaLabel("pageLabel"),
|
|
819
|
+
value: $options.pageLinks,
|
|
820
|
+
page: $options.page,
|
|
821
|
+
onClick: _cache[4] || (_cache[4] = function($event) {
|
|
822
|
+
return $options.changePageLink($event);
|
|
779
823
|
}),
|
|
780
|
-
pt:
|
|
781
|
-
}, null, 8, ["aria-label", "value", "page", "pt"])) :
|
|
824
|
+
pt: _ctx.pt
|
|
825
|
+
}, null, 8, ["aria-label", "value", "page", "pt"])) : item === "CurrentPageReport" ? (openBlock(), createBlock(_component_CurrentPageReport, {
|
|
782
826
|
key: 5,
|
|
783
827
|
"aria-live": "polite",
|
|
784
|
-
template:
|
|
785
|
-
currentPage:
|
|
786
|
-
page:
|
|
787
|
-
pageCount:
|
|
788
|
-
first:
|
|
789
|
-
rows:
|
|
790
|
-
totalRecords:
|
|
791
|
-
unstyled:
|
|
792
|
-
pt:
|
|
793
|
-
}, null, 8, ["template", "currentPage", "page", "pageCount", "first", "rows", "totalRecords", "unstyled", "pt"])) :
|
|
828
|
+
template: _ctx.currentPageReportTemplate,
|
|
829
|
+
currentPage: $options.currentPage,
|
|
830
|
+
page: $options.page,
|
|
831
|
+
pageCount: $options.pageCount,
|
|
832
|
+
first: $data.d_first,
|
|
833
|
+
rows: $data.d_rows,
|
|
834
|
+
totalRecords: _ctx.totalRecords,
|
|
835
|
+
unstyled: _ctx.unstyled,
|
|
836
|
+
pt: _ctx.pt
|
|
837
|
+
}, null, 8, ["template", "currentPage", "page", "pageCount", "first", "rows", "totalRecords", "unstyled", "pt"])) : item === "RowsPerPageDropdown" && _ctx.rowsPerPageOptions ? (openBlock(), createBlock(_component_RowsPerPageDropdown, {
|
|
794
838
|
key: 6,
|
|
795
|
-
"aria-label":
|
|
796
|
-
rows:
|
|
797
|
-
options:
|
|
798
|
-
onRowsChange:
|
|
799
|
-
return
|
|
839
|
+
"aria-label": $options.getAriaLabel("rowsPerPageLabel"),
|
|
840
|
+
rows: $data.d_rows,
|
|
841
|
+
options: _ctx.rowsPerPageOptions,
|
|
842
|
+
onRowsChange: _cache[5] || (_cache[5] = function($event) {
|
|
843
|
+
return $options.onRowChange($event);
|
|
800
844
|
}),
|
|
801
|
-
disabled:
|
|
802
|
-
templates:
|
|
803
|
-
unstyled:
|
|
804
|
-
pt:
|
|
805
|
-
}, null, 8, ["aria-label", "rows", "options", "disabled", "templates", "unstyled", "pt"])) :
|
|
845
|
+
disabled: $options.empty,
|
|
846
|
+
templates: _ctx.$slots,
|
|
847
|
+
unstyled: _ctx.unstyled,
|
|
848
|
+
pt: _ctx.pt
|
|
849
|
+
}, null, 8, ["aria-label", "rows", "options", "disabled", "templates", "unstyled", "pt"])) : item === "JumpToPageDropdown" ? (openBlock(), createBlock(_component_JumpToPageDropdown, {
|
|
806
850
|
key: 7,
|
|
807
|
-
"aria-label":
|
|
808
|
-
page:
|
|
809
|
-
pageCount:
|
|
810
|
-
onPageChange:
|
|
811
|
-
return
|
|
851
|
+
"aria-label": $options.getAriaLabel("jumpToPageDropdownLabel"),
|
|
852
|
+
page: $options.page,
|
|
853
|
+
pageCount: $options.pageCount,
|
|
854
|
+
onPageChange: _cache[6] || (_cache[6] = function($event) {
|
|
855
|
+
return $options.changePage($event);
|
|
812
856
|
}),
|
|
813
|
-
disabled:
|
|
814
|
-
templates:
|
|
815
|
-
unstyled:
|
|
816
|
-
pt:
|
|
817
|
-
}, null, 8, ["aria-label", "page", "pageCount", "disabled", "templates", "unstyled", "pt"])) :
|
|
857
|
+
disabled: $options.empty,
|
|
858
|
+
templates: _ctx.$slots,
|
|
859
|
+
unstyled: _ctx.unstyled,
|
|
860
|
+
pt: _ctx.pt
|
|
861
|
+
}, null, 8, ["aria-label", "page", "pageCount", "disabled", "templates", "unstyled", "pt"])) : item === "JumpToPageInput" ? (openBlock(), createBlock(_component_JumpToPageInput, {
|
|
818
862
|
key: 8,
|
|
819
|
-
page:
|
|
820
|
-
onPageChange:
|
|
821
|
-
return
|
|
863
|
+
page: $options.currentPage,
|
|
864
|
+
onPageChange: _cache[7] || (_cache[7] = function($event) {
|
|
865
|
+
return $options.changePage($event);
|
|
822
866
|
}),
|
|
823
|
-
disabled:
|
|
824
|
-
unstyled:
|
|
825
|
-
pt:
|
|
826
|
-
}, null, 8, ["page", "disabled", "unstyled", "pt"])) :
|
|
827
|
-
}), 128)),
|
|
867
|
+
disabled: $options.empty,
|
|
868
|
+
unstyled: _ctx.unstyled,
|
|
869
|
+
pt: _ctx.pt
|
|
870
|
+
}, null, 8, ["page", "disabled", "unstyled", "pt"])) : createCommentVNode("", true)], 64);
|
|
871
|
+
}), 128)), _ctx.$slots.end ? (openBlock(), createElementBlock("div", mergeProps({
|
|
828
872
|
key: 1,
|
|
829
|
-
class:
|
|
830
|
-
},
|
|
831
|
-
state:
|
|
832
|
-
})], 16)) :
|
|
833
|
-
}), 128))], 16)) :
|
|
873
|
+
"class": _ctx.cx("end")
|
|
874
|
+
}, _ctx.ptm("end")), [renderSlot(_ctx.$slots, "end", {
|
|
875
|
+
state: $options.currentState
|
|
876
|
+
})], 16)) : createCommentVNode("", true)], 16);
|
|
877
|
+
}), 128))], 16)) : createCommentVNode("", true);
|
|
834
878
|
}
|
|
835
|
-
|
|
879
|
+
script.render = render;
|
|
836
880
|
export {
|
|
837
|
-
|
|
881
|
+
script as s
|
|
838
882
|
};
|