@fewangsit/wangsvue 1.5.219-alpha.2 → 1.5.219-alpha.4
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/changelog/index.d.ts +164 -0
- package/changelogpage/index.d.ts +184 -0
- package/comment/index.d.ts +187 -0
- package/components.d.ts +21 -0
- package/detailmember/index.d.ts +77 -0
- package/detailsprint/index.d.ts +86 -0
- package/inputinitialname/index.d.ts +118 -0
- package/inputrepositoryname/index.d.ts +86 -0
- package/loading-page-BrQattYE.js +1 -0
- package/loading-page-CgfbWppy.js +1 -0
- package/loading-page-CoC9UhfC.js +4 -0
- package/loading-page-CoXtqoc9.js +4 -0
- package/loading-page-DbLuqCHa.js +1 -0
- package/loading-page-f8D03l3G.js +4 -0
- package/loading-plane-CgfbWppy.js +1 -0
- package/loading-plane-CoXtqoc9.js +4 -0
- package/loading-table-Bdr9ZhtP.js +1 -0
- package/loading-table-ByUoWqUo.js +4 -0
- package/loading-table-BygEMzFM.js +4 -0
- package/loading-table-BzrSQlA0.js +1 -0
- package/loading-table-D9bw9OcI.js +4 -0
- package/loading-table-chOgXi94.js +1 -0
- package/no-data-CTKux8RI.js +4 -0
- package/no-data-Cgze_Rvp.js +1 -0
- package/no-data-DLHO1L_u.js +4 -0
- package/no-data-Dep79CBh.js +1 -0
- package/no-data-g0dJCy2p.js +4 -0
- package/no-data-y1X5WtcQ.js +1 -0
- package/notificationitem/index.d.ts +107 -0
- package/package.json +1 -1
- package/stats.html +1 -1
- package/style.css +2 -2
- package/summaryaccordion/index.d.ts +121 -0
- package/taskdetail/index.d.ts +82 -0
- package/taskdetailpbi/index.d.ts +35 -0
- package/tasktable/index.d.ts +87 -0
- package/wangsvue.es.js +66312 -170
- package/wangsvue.js +66314 -0
- package/wangsvue.system.js +234 -67600
- package/animation/index.es.js +0 -69
- package/assets/lottiejs/loading-page.es.js +0 -20
- package/assets/lottiejs/loading-plane.es.js +0 -4
- package/assets/lottiejs/loading-table.es.js +0 -20
- package/assets/lottiejs/no-data.es.js +0 -20
- package/backgroundimagecropper/index.es.js +0 -76
- package/badge/index.es.js +0 -121
- package/badgegroup/index.es.js +0 -80
- package/basecalendar/index.es.js +0 -1399
- package/basetree/index.es.js +0 -269
- package/breadcrumb/index.es.js +0 -54
- package/button/index.es.js +0 -126
- package/buttonbulkaction/index.es.js +0 -237
- package/buttoncopy/index.es.js +0 -34
- package/buttondownload/index.es.js +0 -162
- package/buttonfilter/index.es.js +0 -37
- package/buttonradio/index.es.js +0 -117
- package/buttonsearch/index.es.js +0 -86
- package/buttonselecttree/index.es.js +0 -281
- package/buttontoggle/index.es.js +0 -13
- package/calendar/index.es.js +0 -172
- package/card/index.es.js +0 -49
- package/checkbox/index.es.js +0 -166
- package/codesnippet/index.es.js +0 -138
- package/codesnippetadapter/index.es.js +0 -30
- package/columnlist/index.es.js +0 -282
- package/config/defaultProps.es.js +0 -24
- package/config/index.es.js +0 -13
- package/config/locale.es.js +0 -41
- package/customcolumn/index.es.js +0 -155
- package/datatable/index.es.js +0 -1328
- package/dialog/index.es.js +0 -121
- package/dialogconfirm/index.es.js +0 -155
- package/dialogform/index.es.js +0 -260
- package/dialogselecttree/index.es.js +0 -317
- package/directives/focus.es.js +0 -18
- package/directives/index.es.js +0 -2
- package/directives/tooltip.es.js +0 -1
- package/dropdown/index.es.js +0 -297
- package/editor/index.es.js +0 -1160
- package/editorbutton/index.es.js +0 -30
- package/event-bus/index.es.js +0 -5
- package/event-bus/mitt.es.js +0 -70
- package/fieldwrapper/index.es.js +0 -45
- package/fileupload/index.es.js +0 -266
- package/filtercontainer/index.es.js +0 -347
- package/form/index.es.js +0 -238
- package/gallerypreview/index.es.js +0 -157
- package/icon/index.es.js +0 -84
- package/image/index.es.js +0 -224
- package/imagecompressor/index.es.js +0 -701
- package/imageinputinfo/index.es.js +0 -50
- package/inlinemessage/index.es.js +0 -106
- package/inputbadge/index.es.js +0 -261
- package/inputcurrency/index.es.js +0 -186
- package/inputemail/index.es.js +0 -51
- package/inputgroup/index.es.js +0 -34
- package/inputnumber/index.es.js +0 -310
- package/inputpassword/index.es.js +0 -147
- package/inputphonenumber/index.es.js +0 -1060
- package/inputrangenumber/index.es.js +0 -165
- package/inputtext/index.es.js +0 -317
- package/inputurl/index.es.js +0 -63
- package/invisiblefield/index.es.js +0 -35
- package/litedropdown/index.es.js +0 -108
- package/loading/index.es.js +0 -26
- package/loading-page-BXZ4fLOS.js +0 -8
- package/loading-page-BuLpsb_1.js +0 -8
- package/loading-page-CNqVBg__.js +0 -4
- package/loading-page-DbhhZih2.js +0 -4
- package/loading-page-DjfWXoOy.js +0 -8
- package/loading-page-S-KRY5zm.js +0 -4
- package/loading-plane-C1mi7Whv.js +0 -4
- package/loading-plane-CWq1hz_l.js +0 -8
- package/loading-table-B7LAXzAp.js +0 -4
- package/loading-table-BLmgKUsR.js +0 -4
- package/loading-table-CG7-cuhv.js +0 -8
- package/loading-table-CUPS49ta.js +0 -4
- package/loading-table-CuWWrTbv.js +0 -8
- package/loading-table-DbBzVwaZ.js +0 -8
- package/mentionlist/index.es.js +0 -91
- package/mentionsection/index.es.js +0 -62
- package/menu/index.es.js +0 -87
- package/menuitem/index.es.js +0 -67
- package/multirow/index.es.js +0 -53
- package/multiselect/index.es.js +0 -221
- package/no-data-B781skt3.js +0 -4
- package/no-data-CAksOnDl.js +0 -4
- package/no-data-DCsjBXQR.js +0 -4
- package/no-data-Dz0QOe7Q.js +0 -8
- package/no-data-_Huxiv9q.js +0 -8
- package/no-data-ybRQontJ.js +0 -8
- package/overlaypanel/index.es.js +0 -62
- package/paginator/index.es.js +0 -53
- package/plugins/WangsVue.es.js +0 -363
- package/plugins/formValidation.es.js +0 -19
- package/progressbar/index.es.js +0 -50
- package/quickfilter/index.es.js +0 -153
- package/tabmenu/index.es.js +0 -31
- package/textarea/index.es.js +0 -130
- package/timeline/index.es.js +0 -149
- package/timelinecontentbytype/index.es.js +0 -133
- package/toast/index.es.js +0 -87
- package/toggleswitch/index.es.js +0 -107
- package/tree/index.es.js +0 -379
- package/treenode/index.es.js +0 -631
- package/treesearchinput/index.es.js +0 -62
- package/usergroup/index.es.js +0 -101
- package/username/index.es.js +0 -160
- package/utils/addAttachment.util.es.js +0 -50
- package/utils/baseToast.util.es.js +0 -52
- package/utils/convertJsonImage.util.es.js +0 -28
- package/utils/date.util.es.js +0 -253
- package/utils/exportToExcel.util.es.js +0 -89
- package/utils/filterOptions.util.es.js +0 -10
- package/utils/genPlaceholder.util.es.js +0 -51
- package/utils/getProjectPermission.util.es.js +0 -20
- package/utils/getSalesRole.util.es.js +0 -7
- package/utils/getUser.util.es.js +0 -4
- package/utils/getUserType.util.es.js +0 -18
- package/utils/index.es.js +0 -3
- package/utils/isIntersect.es.js +0 -6
- package/utils/mergePropsWithDefaults.util.es.js +0 -10
- package/utils/object.util.es.js +0 -95
- package/utils/queryParamsStringfy.util.es.js +0 -23
- package/utils/role.util.es.js +0 -8
- package/utils/statusSeverity.util.es.js +0 -36
- package/utils/textFormatter.util.es.js +0 -32
- package/utils/toast.util.es.js +0 -20
- package/utils/xlsx.util.es.js +0 -15
- package/validatormessage/index.es.js +0 -19
- package/vendor/@popperjs/core/lib/createPopper.es.js +0 -149
- package/vendor/@popperjs/core/lib/dom-utils/contains.es.js +0 -19
- package/vendor/@popperjs/core/lib/dom-utils/getBoundingClientRect.es.js +0 -38
- package/vendor/@popperjs/core/lib/dom-utils/getClippingRect.es.js +0 -61
- package/vendor/@popperjs/core/lib/dom-utils/getCompositeRect.es.js +0 -53
- package/vendor/@popperjs/core/lib/dom-utils/getComputedStyle.es.js +0 -7
- package/vendor/@popperjs/core/lib/dom-utils/getDocumentElement.es.js +0 -10
- package/vendor/@popperjs/core/lib/dom-utils/getDocumentRect.es.js +0 -27
- package/vendor/@popperjs/core/lib/dom-utils/getHTMLElementScroll.es.js +0 -9
- package/vendor/@popperjs/core/lib/dom-utils/getLayoutRect.es.js +0 -21
- package/vendor/@popperjs/core/lib/dom-utils/getNodeName.es.js +0 -6
- package/vendor/@popperjs/core/lib/dom-utils/getNodeScroll.es.js +0 -14
- package/vendor/@popperjs/core/lib/dom-utils/getOffsetParent.es.js +0 -51
- package/vendor/@popperjs/core/lib/dom-utils/getParentNode.es.js +0 -21
- package/vendor/@popperjs/core/lib/dom-utils/getScrollParent.es.js +0 -16
- package/vendor/@popperjs/core/lib/dom-utils/getViewportRect.es.js +0 -31
- package/vendor/@popperjs/core/lib/dom-utils/getWindow.es.js +0 -13
- package/vendor/@popperjs/core/lib/dom-utils/getWindowScroll.es.js +0 -13
- package/vendor/@popperjs/core/lib/dom-utils/getWindowScrollBarX.es.js +0 -9
- package/vendor/@popperjs/core/lib/dom-utils/instanceOf.es.js +0 -21
- package/vendor/@popperjs/core/lib/dom-utils/isLayoutViewport.es.js +0 -7
- package/vendor/@popperjs/core/lib/dom-utils/isScrollParent.es.js +0 -8
- package/vendor/@popperjs/core/lib/dom-utils/isTableElement.es.js +0 -7
- package/vendor/@popperjs/core/lib/dom-utils/listScrollParents.es.js +0 -22
- package/vendor/@popperjs/core/lib/enums.es.js +0 -45
- package/vendor/@popperjs/core/lib/index.es.js +0 -1
- package/vendor/@popperjs/core/lib/modifiers/applyStyles.es.js +0 -71
- package/vendor/@popperjs/core/lib/modifiers/arrow.es.js +0 -72
- package/vendor/@popperjs/core/lib/modifiers/computeStyles.es.js +0 -130
- package/vendor/@popperjs/core/lib/modifiers/eventListeners.es.js +0 -40
- package/vendor/@popperjs/core/lib/modifiers/flip.es.js +0 -113
- package/vendor/@popperjs/core/lib/modifiers/hide.es.js +0 -57
- package/vendor/@popperjs/core/lib/modifiers/index.es.js +0 -1
- package/vendor/@popperjs/core/lib/modifiers/offset.es.js +0 -42
- package/vendor/@popperjs/core/lib/modifiers/popperOffsets.es.js +0 -19
- package/vendor/@popperjs/core/lib/modifiers/preventOverflow.es.js +0 -105
- package/vendor/@popperjs/core/lib/popper-lite.es.js +0 -1
- package/vendor/@popperjs/core/lib/popper.es.js +0 -17
- package/vendor/@popperjs/core/lib/utils/computeAutoPlacement.es.js +0 -35
- package/vendor/@popperjs/core/lib/utils/computeOffsets.es.js +0 -59
- package/vendor/@popperjs/core/lib/utils/debounce.es.js +0 -17
- package/vendor/@popperjs/core/lib/utils/detectOverflow.es.js +0 -47
- package/vendor/@popperjs/core/lib/utils/expandToHashMap.es.js +0 -9
- package/vendor/@popperjs/core/lib/utils/getAltAxis.es.js +0 -6
- package/vendor/@popperjs/core/lib/utils/getBasePlacement.es.js +0 -6
- package/vendor/@popperjs/core/lib/utils/getFreshSideObject.es.js +0 -11
- package/vendor/@popperjs/core/lib/utils/getMainAxisFromPlacement.es.js +0 -6
- package/vendor/@popperjs/core/lib/utils/getOppositePlacement.es.js +0 -14
- package/vendor/@popperjs/core/lib/utils/getOppositeVariationPlacement.es.js +0 -12
- package/vendor/@popperjs/core/lib/utils/getVariation.es.js +0 -6
- package/vendor/@popperjs/core/lib/utils/math.es.js +0 -8
- package/vendor/@popperjs/core/lib/utils/mergeByName.es.js +0 -16
- package/vendor/@popperjs/core/lib/utils/mergePaddingObject.es.js +0 -7
- package/vendor/@popperjs/core/lib/utils/orderModifiers.es.js +0 -39
- package/vendor/@popperjs/core/lib/utils/rectToClientRect.es.js +0 -11
- package/vendor/@popperjs/core/lib/utils/userAgent.es.js +0 -12
- package/vendor/@popperjs/core/lib/utils/within.es.js +0 -12
- package/vendor/@tiptap/core/dist/index.es.js +0 -4362
- package/vendor/@tiptap/extension-bold/dist/index.es.js +0 -81
- package/vendor/@tiptap/extension-bubble-menu/dist/index.es.js +0 -202
- package/vendor/@tiptap/extension-bullet-list/dist/index.es.js +0 -66
- package/vendor/@tiptap/extension-code/dist/index.es.js +0 -59
- package/vendor/@tiptap/extension-document/dist/index.es.js +0 -9
- package/vendor/@tiptap/extension-floating-menu/dist/index.es.js +0 -154
- package/vendor/@tiptap/extension-heading/dist/index.es.js +0 -70
- package/vendor/@tiptap/extension-history/dist/index.es.js +0 -39
- package/vendor/@tiptap/extension-image/dist/index.es.js +0 -67
- package/vendor/@tiptap/extension-italic/dist/index.es.js +0 -80
- package/vendor/@tiptap/extension-link/dist/index.es.js +0 -351
- package/vendor/@tiptap/extension-list-item/dist/index.es.js +0 -33
- package/vendor/@tiptap/extension-mention/dist/index.es.js +0 -165
- package/vendor/@tiptap/extension-ordered-list/dist/index.es.js +0 -84
- package/vendor/@tiptap/extension-paragraph/dist/index.es.js +0 -35
- package/vendor/@tiptap/extension-placeholder/dist/index.es.js +0 -59
- package/vendor/@tiptap/extension-text/dist/index.es.js +0 -8
- package/vendor/@tiptap/extension-underline/dist/index.es.js +0 -46
- package/vendor/@tiptap/pm/commands/dist/index.es.js +0 -1
- package/vendor/@tiptap/pm/history/dist/index.es.js +0 -1
- package/vendor/@tiptap/pm/keymap/dist/index.es.js +0 -1
- package/vendor/@tiptap/pm/model/dist/index.es.js +0 -1
- package/vendor/@tiptap/pm/schema-list/dist/index.es.js +0 -1
- package/vendor/@tiptap/pm/state/dist/index.es.js +0 -1
- package/vendor/@tiptap/pm/transform/dist/index.es.js +0 -1
- package/vendor/@tiptap/pm/view/dist/index.es.js +0 -1
- package/vendor/@tiptap/suggestion/dist/index.es.js +0 -215
- package/vendor/@tiptap/vue-3/dist/index.es.js +0 -535
- package/vendor/@wangs-ui/core/components/p-BU8h34na.es.js +0 -22
- package/vendor/@wangs-ui/core/components/p-C5lMEBcj.es.js +0 -163
- package/vendor/@wangs-ui/core/components/p-CKYwZoTo.es.js +0 -61
- package/vendor/@wangs-ui/core/components/p-CsoK-EWG.es.js +0 -203
- package/vendor/@wangs-ui/core/components/p-DPHEi31J.es.js +0 -160
- package/vendor/@wangs-ui/core/components/p-DTTCzifR.es.js +0 -1447
- package/vendor/@wangs-ui/core/components/p-Duri5p90.es.js +0 -184
- package/vendor/@wangs-ui/core/components/wangs-button.es.js +0 -38
- package/vendor/@wangs-ui/core/components/wangs-icon.es.js +0 -5
- package/vendor/@wangs-ui/core/components/wangs-input-otp.es.js +0 -5
- package/vendor/@wangs-ui/core/components/wangs-tab-menu.es.js +0 -5
- package/vendor/@wangs-ui/core/dist/esm/index-DCkh3cGv.es.js +0 -340
- package/vendor/@wangs-ui/core/dist/esm/index.es.js +0 -1
- package/vendor/@wangs-ui/core/dist/index.es.js +0 -1
- package/vendor/@wangs-ui/vue/dist/index.es.js +0 -98
- package/vendor/base64toblob/base64toblob.es.js +0 -37
- package/vendor/highlight.js/es/core.es.js +0 -7
- package/vendor/highlight.js/es/languages/javascript.es.js +0 -700
- package/vendor/highlight.js/es/languages/json.es.js +0 -41
- package/vendor/highlight.js/es/languages/typescript.es.js +0 -803
- package/vendor/highlight.js/es/languages/vbscript-html.es.js +0 -16
- package/vendor/highlight.js/lib/core.es.js +0 -1541
- package/vendor/linkifyjs/dist/linkify.es.es.js +0 -1158
- package/vendor/lodash/_Symbol.es.js +0 -14
- package/vendor/lodash/_baseGetTag.es.js +0 -23
- package/vendor/lodash/_baseTrim.es.js +0 -17
- package/vendor/lodash/_freeGlobal.es.js +0 -13
- package/vendor/lodash/_getRawTag.es.js +0 -34
- package/vendor/lodash/_objectToString.es.js +0 -16
- package/vendor/lodash/_root.es.js +0 -15
- package/vendor/lodash/_trimmedEndIndex.es.js +0 -18
- package/vendor/lodash/debounce.es.js +0 -98
- package/vendor/lodash/isObject.es.js +0 -15
- package/vendor/lodash/isObjectLike.es.js +0 -14
- package/vendor/lodash/isSymbol.es.js +0 -18
- package/vendor/lodash/now.es.js +0 -16
- package/vendor/lodash/throttle.es.js +0 -30
- package/vendor/lodash/toNumber.es.js +0 -38
- package/vendor/lodash-es/_DataView.es.js +0 -6
- package/vendor/lodash-es/_Hash.es.js +0 -21
- package/vendor/lodash-es/_LazyWrapper.es.js +0 -1
- package/vendor/lodash-es/_ListCache.es.js +0 -21
- package/vendor/lodash-es/_LodashWrapper.es.js +0 -1
- package/vendor/lodash-es/_Map.es.js +0 -6
- package/vendor/lodash-es/_MapCache.es.js +0 -21
- package/vendor/lodash-es/_Promise.es.js +0 -6
- package/vendor/lodash-es/_Set.es.js +0 -6
- package/vendor/lodash-es/_SetCache.es.js +0 -15
- package/vendor/lodash-es/_Stack.es.js +0 -18
- package/vendor/lodash-es/_Symbol.es.js +0 -5
- package/vendor/lodash-es/_Uint8Array.es.js +0 -5
- package/vendor/lodash-es/_WeakMap.es.js +0 -6
- package/vendor/lodash-es/_apply.es.js +0 -1
- package/vendor/lodash-es/_arrayAggregator.es.js +0 -1
- package/vendor/lodash-es/_arrayEach.es.js +0 -12
- package/vendor/lodash-es/_arrayEachRight.es.js +0 -1
- package/vendor/lodash-es/_arrayEvery.es.js +0 -1
- package/vendor/lodash-es/_arrayFilter.es.js +0 -13
- package/vendor/lodash-es/_arrayIncludes.es.js +0 -1
- package/vendor/lodash-es/_arrayIncludesWith.es.js +0 -1
- package/vendor/lodash-es/_arrayLikeKeys.es.js +0 -24
- package/vendor/lodash-es/_arrayMap.es.js +0 -1
- package/vendor/lodash-es/_arrayPush.es.js +0 -10
- package/vendor/lodash-es/_arrayReduce.es.js +0 -1
- package/vendor/lodash-es/_arrayReduceRight.es.js +0 -1
- package/vendor/lodash-es/_arraySample.es.js +0 -1
- package/vendor/lodash-es/_arraySampleSize.es.js +0 -1
- package/vendor/lodash-es/_arrayShuffle.es.js +0 -1
- package/vendor/lodash-es/_arraySome.es.js +0 -12
- package/vendor/lodash-es/_asciiSize.es.js +0 -1
- package/vendor/lodash-es/_asciiToArray.es.js +0 -1
- package/vendor/lodash-es/_asciiWords.es.js +0 -1
- package/vendor/lodash-es/_assignMergeValue.es.js +0 -1
- package/vendor/lodash-es/_assignValue.es.js +0 -13
- package/vendor/lodash-es/_assocIndexOf.es.js +0 -13
- package/vendor/lodash-es/_baseAggregator.es.js +0 -1
- package/vendor/lodash-es/_baseAssign.es.js +0 -1
- package/vendor/lodash-es/_baseAssignIn.es.js +0 -1
- package/vendor/lodash-es/_baseAssignValue.es.js +0 -16
- package/vendor/lodash-es/_baseAt.es.js +0 -1
- package/vendor/lodash-es/_baseClamp.es.js +0 -1
- package/vendor/lodash-es/_baseClone.es.js +0 -73
- package/vendor/lodash-es/_baseConforms.es.js +0 -1
- package/vendor/lodash-es/_baseConformsTo.es.js +0 -1
- package/vendor/lodash-es/_baseCreate.es.js +0 -21
- package/vendor/lodash-es/_baseDelay.es.js +0 -1
- package/vendor/lodash-es/_baseDifference.es.js +0 -1
- package/vendor/lodash-es/_baseEach.es.js +0 -1
- package/vendor/lodash-es/_baseEachRight.es.js +0 -1
- package/vendor/lodash-es/_baseEvery.es.js +0 -1
- package/vendor/lodash-es/_baseExtremum.es.js +0 -1
- package/vendor/lodash-es/_baseFill.es.js +0 -1
- package/vendor/lodash-es/_baseFilter.es.js +0 -1
- package/vendor/lodash-es/_baseFindIndex.es.js +0 -1
- package/vendor/lodash-es/_baseFindKey.es.js +0 -1
- package/vendor/lodash-es/_baseFlatten.es.js +0 -1
- package/vendor/lodash-es/_baseFor.es.js +0 -1
- package/vendor/lodash-es/_baseForOwn.es.js +0 -1
- package/vendor/lodash-es/_baseForOwnRight.es.js +0 -1
- package/vendor/lodash-es/_baseForRight.es.js +0 -1
- package/vendor/lodash-es/_baseFunctions.es.js +0 -1
- package/vendor/lodash-es/_baseGet.es.js +0 -1
- package/vendor/lodash-es/_baseGetAllKeys.es.js +0 -9
- package/vendor/lodash-es/_baseGetTag.es.js +0 -14
- package/vendor/lodash-es/_baseGt.es.js +0 -1
- package/vendor/lodash-es/_baseHas.es.js +0 -1
- package/vendor/lodash-es/_baseHasIn.es.js +0 -1
- package/vendor/lodash-es/_baseInRange.es.js +0 -1
- package/vendor/lodash-es/_baseIndexOf.es.js +0 -1
- package/vendor/lodash-es/_baseIndexOfWith.es.js +0 -1
- package/vendor/lodash-es/_baseIntersection.es.js +0 -1
- package/vendor/lodash-es/_baseInverter.es.js +0 -1
- package/vendor/lodash-es/_baseInvoke.es.js +0 -1
- package/vendor/lodash-es/_baseIsArguments.es.js +0 -9
- package/vendor/lodash-es/_baseIsArrayBuffer.es.js +0 -1
- package/vendor/lodash-es/_baseIsDate.es.js +0 -1
- package/vendor/lodash-es/_baseIsEqual.es.js +0 -14
- package/vendor/lodash-es/_baseIsEqualDeep.es.js +0 -45
- package/vendor/lodash-es/_baseIsMap.es.js +0 -9
- package/vendor/lodash-es/_baseIsMatch.es.js +0 -1
- package/vendor/lodash-es/_baseIsNaN.es.js +0 -1
- package/vendor/lodash-es/_baseIsNative.es.js +0 -22
- package/vendor/lodash-es/_baseIsRegExp.es.js +0 -1
- package/vendor/lodash-es/_baseIsSet.es.js +0 -9
- package/vendor/lodash-es/_baseIsTypedArray.es.js +0 -14
- package/vendor/lodash-es/_baseIteratee.es.js +0 -1
- package/vendor/lodash-es/_baseKeys.es.js +0 -19
- package/vendor/lodash-es/_baseKeysIn.es.js +0 -1
- package/vendor/lodash-es/_baseLodash.es.js +0 -1
- package/vendor/lodash-es/_baseLt.es.js +0 -1
- package/vendor/lodash-es/_baseMap.es.js +0 -1
- package/vendor/lodash-es/_baseMatches.es.js +0 -1
- package/vendor/lodash-es/_baseMatchesProperty.es.js +0 -1
- package/vendor/lodash-es/_baseMean.es.js +0 -1
- package/vendor/lodash-es/_baseMerge.es.js +0 -1
- package/vendor/lodash-es/_baseMergeDeep.es.js +0 -1
- package/vendor/lodash-es/_baseNth.es.js +0 -1
- package/vendor/lodash-es/_baseOrderBy.es.js +0 -1
- package/vendor/lodash-es/_basePick.es.js +0 -1
- package/vendor/lodash-es/_basePickBy.es.js +0 -1
- package/vendor/lodash-es/_baseProperty.es.js +0 -1
- package/vendor/lodash-es/_basePropertyDeep.es.js +0 -1
- package/vendor/lodash-es/_basePropertyOf.es.js +0 -1
- package/vendor/lodash-es/_basePullAll.es.js +0 -1
- package/vendor/lodash-es/_basePullAt.es.js +0 -1
- package/vendor/lodash-es/_baseRandom.es.js +0 -1
- package/vendor/lodash-es/_baseRange.es.js +0 -1
- package/vendor/lodash-es/_baseReduce.es.js +0 -1
- package/vendor/lodash-es/_baseRepeat.es.js +0 -1
- package/vendor/lodash-es/_baseRest.es.js +0 -1
- package/vendor/lodash-es/_baseSample.es.js +0 -1
- package/vendor/lodash-es/_baseSampleSize.es.js +0 -1
- package/vendor/lodash-es/_baseSet.es.js +0 -1
- package/vendor/lodash-es/_baseSetData.es.js +0 -1
- package/vendor/lodash-es/_baseSetToString.es.js +0 -1
- package/vendor/lodash-es/_baseShuffle.es.js +0 -1
- package/vendor/lodash-es/_baseSlice.es.js +0 -1
- package/vendor/lodash-es/_baseSome.es.js +0 -1
- package/vendor/lodash-es/_baseSortBy.es.js +0 -1
- package/vendor/lodash-es/_baseSortedIndex.es.js +0 -1
- package/vendor/lodash-es/_baseSortedIndexBy.es.js +0 -1
- package/vendor/lodash-es/_baseSortedUniq.es.js +0 -1
- package/vendor/lodash-es/_baseSum.es.js +0 -1
- package/vendor/lodash-es/_baseTimes.es.js +0 -10
- package/vendor/lodash-es/_baseToNumber.es.js +0 -1
- package/vendor/lodash-es/_baseToPairs.es.js +0 -1
- package/vendor/lodash-es/_baseToString.es.js +0 -1
- package/vendor/lodash-es/_baseTrim.es.js +0 -8
- package/vendor/lodash-es/_baseUnary.es.js +0 -8
- package/vendor/lodash-es/_baseUniq.es.js +0 -1
- package/vendor/lodash-es/_baseUnset.es.js +0 -1
- package/vendor/lodash-es/_baseUpdate.es.js +0 -1
- package/vendor/lodash-es/_baseValues.es.js +0 -1
- package/vendor/lodash-es/_baseWhile.es.js +0 -1
- package/vendor/lodash-es/_baseWrapperValue.es.js +0 -1
- package/vendor/lodash-es/_baseXor.es.js +0 -1
- package/vendor/lodash-es/_baseZipObject.es.js +0 -1
- package/vendor/lodash-es/_cacheHas.es.js +0 -6
- package/vendor/lodash-es/_castArrayLikeObject.es.js +0 -1
- package/vendor/lodash-es/_castFunction.es.js +0 -1
- package/vendor/lodash-es/_castPath.es.js +0 -1
- package/vendor/lodash-es/_castRest.es.js +0 -1
- package/vendor/lodash-es/_castSlice.es.js +0 -1
- package/vendor/lodash-es/_charsEndIndex.es.js +0 -1
- package/vendor/lodash-es/_charsStartIndex.es.js +0 -1
- package/vendor/lodash-es/_cloneArrayBuffer.es.js +0 -9
- package/vendor/lodash-es/_cloneBuffer.es.js +0 -14
- package/vendor/lodash-es/_cloneDataView.es.js +0 -8
- package/vendor/lodash-es/_cloneRegExp.es.js +0 -9
- package/vendor/lodash-es/_cloneSymbol.es.js +0 -8
- package/vendor/lodash-es/_cloneTypedArray.es.js +0 -8
- package/vendor/lodash-es/_compareAscending.es.js +0 -1
- package/vendor/lodash-es/_compareMultiple.es.js +0 -1
- package/vendor/lodash-es/_composeArgs.es.js +0 -1
- package/vendor/lodash-es/_composeArgsRight.es.js +0 -1
- package/vendor/lodash-es/_copyArray.es.js +0 -1
- package/vendor/lodash-es/_copyObject.es.js +0 -1
- package/vendor/lodash-es/_copySymbols.es.js +0 -1
- package/vendor/lodash-es/_copySymbolsIn.es.js +0 -1
- package/vendor/lodash-es/_coreJsData.es.js +0 -5
- package/vendor/lodash-es/_countHolders.es.js +0 -1
- package/vendor/lodash-es/_createAggregator.es.js +0 -1
- package/vendor/lodash-es/_createAssigner.es.js +0 -1
- package/vendor/lodash-es/_createBaseEach.es.js +0 -1
- package/vendor/lodash-es/_createBaseFor.es.js +0 -1
- package/vendor/lodash-es/_createBind.es.js +0 -1
- package/vendor/lodash-es/_createCaseFirst.es.js +0 -1
- package/vendor/lodash-es/_createCompounder.es.js +0 -1
- package/vendor/lodash-es/_createCtor.es.js +0 -1
- package/vendor/lodash-es/_createCurry.es.js +0 -1
- package/vendor/lodash-es/_createFind.es.js +0 -1
- package/vendor/lodash-es/_createFlow.es.js +0 -1
- package/vendor/lodash-es/_createHybrid.es.js +0 -1
- package/vendor/lodash-es/_createInverter.es.js +0 -1
- package/vendor/lodash-es/_createMathOperation.es.js +0 -1
- package/vendor/lodash-es/_createOver.es.js +0 -1
- package/vendor/lodash-es/_createPadding.es.js +0 -1
- package/vendor/lodash-es/_createPartial.es.js +0 -1
- package/vendor/lodash-es/_createRange.es.js +0 -1
- package/vendor/lodash-es/_createRecurry.es.js +0 -1
- package/vendor/lodash-es/_createRelationalOperation.es.js +0 -1
- package/vendor/lodash-es/_createRound.es.js +0 -1
- package/vendor/lodash-es/_createSet.es.js +0 -1
- package/vendor/lodash-es/_createToPairs.es.js +0 -1
- package/vendor/lodash-es/_createWrap.es.js +0 -1
- package/vendor/lodash-es/_customDefaultsAssignIn.es.js +0 -1
- package/vendor/lodash-es/_customDefaultsMerge.es.js +0 -1
- package/vendor/lodash-es/_customOmitClone.es.js +0 -1
- package/vendor/lodash-es/_deburrLetter.es.js +0 -1
- package/vendor/lodash-es/_defineProperty.es.js +0 -12
- package/vendor/lodash-es/_equalArrays.es.js +0 -50
- package/vendor/lodash-es/_equalByTag.es.js +0 -59
- package/vendor/lodash-es/_equalObjects.es.js +0 -50
- package/vendor/lodash-es/_escapeHtmlChar.es.js +0 -1
- package/vendor/lodash-es/_escapeStringChar.es.js +0 -1
- package/vendor/lodash-es/_flatRest.es.js +0 -1
- package/vendor/lodash-es/_freeGlobal.es.js +0 -4
- package/vendor/lodash-es/_getAllKeys.es.js +0 -9
- package/vendor/lodash-es/_getAllKeysIn.es.js +0 -1
- package/vendor/lodash-es/_getData.es.js +0 -1
- package/vendor/lodash-es/_getFuncName.es.js +0 -1
- package/vendor/lodash-es/_getHolder.es.js +0 -1
- package/vendor/lodash-es/_getMapData.es.js +0 -8
- package/vendor/lodash-es/_getMatchData.es.js +0 -1
- package/vendor/lodash-es/_getNative.es.js +0 -9
- package/vendor/lodash-es/_getPrototype.es.js +0 -5
- package/vendor/lodash-es/_getRawTag.es.js +0 -25
- package/vendor/lodash-es/_getSymbols.es.js +0 -17
- package/vendor/lodash-es/_getSymbolsIn.es.js +0 -1
- package/vendor/lodash-es/_getTag.es.js +0 -34
- package/vendor/lodash-es/_getValue.es.js +0 -6
- package/vendor/lodash-es/_getView.es.js +0 -1
- package/vendor/lodash-es/_getWrapDetails.es.js +0 -1
- package/vendor/lodash-es/_hasPath.es.js +0 -1
- package/vendor/lodash-es/_hasUnicode.es.js +0 -1
- package/vendor/lodash-es/_hasUnicodeWord.es.js +0 -1
- package/vendor/lodash-es/_hashClear.es.js +0 -8
- package/vendor/lodash-es/_hashDelete.es.js +0 -8
- package/vendor/lodash-es/_hashGet.es.js +0 -15
- package/vendor/lodash-es/_hashHas.es.js +0 -10
- package/vendor/lodash-es/_hashSet.es.js +0 -11
- package/vendor/lodash-es/_initCloneArray.es.js +0 -13
- package/vendor/lodash-es/_initCloneByTag.es.js +0 -43
- package/vendor/lodash-es/_initCloneObject.es.js +0 -9
- package/vendor/lodash-es/_insertWrapDetails.es.js +0 -1
- package/vendor/lodash-es/_isFlattenable.es.js +0 -1
- package/vendor/lodash-es/_isIndex.es.js +0 -10
- package/vendor/lodash-es/_isIterateeCall.es.js +0 -1
- package/vendor/lodash-es/_isKey.es.js +0 -1
- package/vendor/lodash-es/_isKeyable.es.js +0 -7
- package/vendor/lodash-es/_isLaziable.es.js +0 -1
- package/vendor/lodash-es/_isMaskable.es.js +0 -1
- package/vendor/lodash-es/_isMasked.es.js +0 -11
- package/vendor/lodash-es/_isPrototype.es.js +0 -8
- package/vendor/lodash-es/_isStrictComparable.es.js +0 -1
- package/vendor/lodash-es/_iteratorToArray.es.js +0 -1
- package/vendor/lodash-es/_lazyClone.es.js +0 -1
- package/vendor/lodash-es/_lazyReverse.es.js +0 -1
- package/vendor/lodash-es/_lazyValue.es.js +0 -1
- package/vendor/lodash-es/_listCacheClear.es.js +0 -7
- package/vendor/lodash-es/_listCacheDelete.es.js +0 -20
- package/vendor/lodash-es/_listCacheGet.es.js +0 -8
- package/vendor/lodash-es/_listCacheHas.es.js +0 -7
- package/vendor/lodash-es/_listCacheSet.es.js +0 -14
- package/vendor/lodash-es/_mapCacheClear.es.js +0 -14
- package/vendor/lodash-es/_mapCacheDelete.es.js +0 -9
- package/vendor/lodash-es/_mapCacheGet.es.js +0 -7
- package/vendor/lodash-es/_mapCacheHas.es.js +0 -7
- package/vendor/lodash-es/_mapCacheSet.es.js +0 -10
- package/vendor/lodash-es/_mapToArray.es.js +0 -10
- package/vendor/lodash-es/_matchesStrictComparable.es.js +0 -1
- package/vendor/lodash-es/_memoizeCapped.es.js +0 -1
- package/vendor/lodash-es/_mergeData.es.js +0 -1
- package/vendor/lodash-es/_metaMap.es.js +0 -1
- package/vendor/lodash-es/_nativeCreate.es.js +0 -5
- package/vendor/lodash-es/_nativeKeys.es.js +0 -5
- package/vendor/lodash-es/_nativeKeysIn.es.js +0 -1
- package/vendor/lodash-es/_nodeUtil.es.js +0 -18
- package/vendor/lodash-es/_objectToString.es.js +0 -8
- package/vendor/lodash-es/_overArg.es.js +0 -8
- package/vendor/lodash-es/_overRest.es.js +0 -1
- package/vendor/lodash-es/_parent.es.js +0 -1
- package/vendor/lodash-es/_reEscape.es.js +0 -1
- package/vendor/lodash-es/_reEvaluate.es.js +0 -1
- package/vendor/lodash-es/_reInterpolate.es.js +0 -1
- package/vendor/lodash-es/_realNames.es.js +0 -1
- package/vendor/lodash-es/_reorder.es.js +0 -1
- package/vendor/lodash-es/_replaceHolders.es.js +0 -1
- package/vendor/lodash-es/_root.es.js +0 -6
- package/vendor/lodash-es/_safeGet.es.js +0 -1
- package/vendor/lodash-es/_setCacheAdd.es.js +0 -8
- package/vendor/lodash-es/_setCacheHas.es.js +0 -6
- package/vendor/lodash-es/_setData.es.js +0 -1
- package/vendor/lodash-es/_setToArray.es.js +0 -10
- package/vendor/lodash-es/_setToPairs.es.js +0 -1
- package/vendor/lodash-es/_setToString.es.js +0 -1
- package/vendor/lodash-es/_setWrapToString.es.js +0 -1
- package/vendor/lodash-es/_shortOut.es.js +0 -1
- package/vendor/lodash-es/_shuffleSelf.es.js +0 -1
- package/vendor/lodash-es/_stackClear.es.js +0 -8
- package/vendor/lodash-es/_stackDelete.es.js +0 -8
- package/vendor/lodash-es/_stackGet.es.js +0 -6
- package/vendor/lodash-es/_stackHas.es.js +0 -6
- package/vendor/lodash-es/_stackSet.es.js +0 -22
- package/vendor/lodash-es/_strictIndexOf.es.js +0 -1
- package/vendor/lodash-es/_strictLastIndexOf.es.js +0 -1
- package/vendor/lodash-es/_stringSize.es.js +0 -1
- package/vendor/lodash-es/_stringToArray.es.js +0 -1
- package/vendor/lodash-es/_stringToPath.es.js +0 -1
- package/vendor/lodash-es/_toKey.es.js +0 -1
- package/vendor/lodash-es/_toSource.es.js +0 -18
- package/vendor/lodash-es/_trimmedEndIndex.es.js +0 -10
- package/vendor/lodash-es/_unescapeHtmlChar.es.js +0 -1
- package/vendor/lodash-es/_unicodeSize.es.js +0 -1
- package/vendor/lodash-es/_unicodeToArray.es.js +0 -1
- package/vendor/lodash-es/_unicodeWords.es.js +0 -1
- package/vendor/lodash-es/_updateWrapDetails.es.js +0 -1
- package/vendor/lodash-es/_wrapperClone.es.js +0 -1
- package/vendor/lodash-es/add.es.js +0 -1
- package/vendor/lodash-es/after.es.js +0 -1
- package/vendor/lodash-es/array.default.es.js +0 -1
- package/vendor/lodash-es/array.es.js +0 -1
- package/vendor/lodash-es/ary.es.js +0 -1
- package/vendor/lodash-es/assign.es.js +0 -1
- package/vendor/lodash-es/assignIn.es.js +0 -1
- package/vendor/lodash-es/assignInWith.es.js +0 -1
- package/vendor/lodash-es/assignWith.es.js +0 -1
- package/vendor/lodash-es/at.es.js +0 -1
- package/vendor/lodash-es/attempt.es.js +0 -1
- package/vendor/lodash-es/before.es.js +0 -1
- package/vendor/lodash-es/bind.es.js +0 -1
- package/vendor/lodash-es/bindAll.es.js +0 -1
- package/vendor/lodash-es/bindKey.es.js +0 -1
- package/vendor/lodash-es/camelCase.es.js +0 -1
- package/vendor/lodash-es/capitalize.es.js +0 -1
- package/vendor/lodash-es/castArray.es.js +0 -1
- package/vendor/lodash-es/ceil.es.js +0 -1
- package/vendor/lodash-es/chain.es.js +0 -1
- package/vendor/lodash-es/chunk.es.js +0 -1
- package/vendor/lodash-es/clamp.es.js +0 -1
- package/vendor/lodash-es/clone.es.js +0 -1
- package/vendor/lodash-es/cloneDeep.es.js +0 -8
- package/vendor/lodash-es/cloneDeepWith.es.js +0 -1
- package/vendor/lodash-es/cloneWith.es.js +0 -1
- package/vendor/lodash-es/collection.default.es.js +0 -1
- package/vendor/lodash-es/collection.es.js +0 -1
- package/vendor/lodash-es/commit.es.js +0 -1
- package/vendor/lodash-es/compact.es.js +0 -1
- package/vendor/lodash-es/concat.es.js +0 -1
- package/vendor/lodash-es/cond.es.js +0 -1
- package/vendor/lodash-es/conforms.es.js +0 -1
- package/vendor/lodash-es/conformsTo.es.js +0 -1
- package/vendor/lodash-es/constant.es.js +0 -1
- package/vendor/lodash-es/countBy.es.js +0 -1
- package/vendor/lodash-es/create.es.js +0 -1
- package/vendor/lodash-es/curry.es.js +0 -1
- package/vendor/lodash-es/curryRight.es.js +0 -1
- package/vendor/lodash-es/date.default.es.js +0 -1
- package/vendor/lodash-es/date.es.js +0 -1
- package/vendor/lodash-es/debounce.es.js +0 -89
- package/vendor/lodash-es/deburr.es.js +0 -1
- package/vendor/lodash-es/defaultTo.es.js +0 -1
- package/vendor/lodash-es/defaults.es.js +0 -1
- package/vendor/lodash-es/defaultsDeep.es.js +0 -1
- package/vendor/lodash-es/defer.es.js +0 -1
- package/vendor/lodash-es/delay.es.js +0 -1
- package/vendor/lodash-es/difference.es.js +0 -1
- package/vendor/lodash-es/differenceBy.es.js +0 -1
- package/vendor/lodash-es/differenceWith.es.js +0 -1
- package/vendor/lodash-es/divide.es.js +0 -1
- package/vendor/lodash-es/drop.es.js +0 -1
- package/vendor/lodash-es/dropRight.es.js +0 -1
- package/vendor/lodash-es/dropRightWhile.es.js +0 -1
- package/vendor/lodash-es/dropWhile.es.js +0 -1
- package/vendor/lodash-es/each.es.js +0 -1
- package/vendor/lodash-es/eachRight.es.js +0 -1
- package/vendor/lodash-es/endsWith.es.js +0 -1
- package/vendor/lodash-es/entries.es.js +0 -1
- package/vendor/lodash-es/entriesIn.es.js +0 -1
- package/vendor/lodash-es/eq.es.js +0 -6
- package/vendor/lodash-es/escape.es.js +0 -1
- package/vendor/lodash-es/escapeRegExp.es.js +0 -1
- package/vendor/lodash-es/every.es.js +0 -1
- package/vendor/lodash-es/extend.es.js +0 -1
- package/vendor/lodash-es/extendWith.es.js +0 -1
- package/vendor/lodash-es/fill.es.js +0 -1
- package/vendor/lodash-es/filter.es.js +0 -1
- package/vendor/lodash-es/find.es.js +0 -1
- package/vendor/lodash-es/findIndex.es.js +0 -1
- package/vendor/lodash-es/findKey.es.js +0 -1
- package/vendor/lodash-es/findLast.es.js +0 -1
- package/vendor/lodash-es/findLastIndex.es.js +0 -1
- package/vendor/lodash-es/findLastKey.es.js +0 -1
- package/vendor/lodash-es/first.es.js +0 -1
- package/vendor/lodash-es/flatMap.es.js +0 -1
- package/vendor/lodash-es/flatMapDeep.es.js +0 -1
- package/vendor/lodash-es/flatMapDepth.es.js +0 -1
- package/vendor/lodash-es/flatten.es.js +0 -1
- package/vendor/lodash-es/flattenDeep.es.js +0 -1
- package/vendor/lodash-es/flattenDepth.es.js +0 -1
- package/vendor/lodash-es/flip.es.js +0 -1
- package/vendor/lodash-es/floor.es.js +0 -1
- package/vendor/lodash-es/flow.es.js +0 -1
- package/vendor/lodash-es/flowRight.es.js +0 -1
- package/vendor/lodash-es/forEach.es.js +0 -1
- package/vendor/lodash-es/forEachRight.es.js +0 -1
- package/vendor/lodash-es/forIn.es.js +0 -1
- package/vendor/lodash-es/forInRight.es.js +0 -1
- package/vendor/lodash-es/forOwn.es.js +0 -1
- package/vendor/lodash-es/forOwnRight.es.js +0 -1
- package/vendor/lodash-es/fromPairs.es.js +0 -1
- package/vendor/lodash-es/function.default.es.js +0 -1
- package/vendor/lodash-es/function.es.js +0 -1
- package/vendor/lodash-es/functions.es.js +0 -1
- package/vendor/lodash-es/functionsIn.es.js +0 -1
- package/vendor/lodash-es/get.es.js +0 -1
- package/vendor/lodash-es/groupBy.es.js +0 -1
- package/vendor/lodash-es/gt.es.js +0 -1
- package/vendor/lodash-es/gte.es.js +0 -1
- package/vendor/lodash-es/has.es.js +0 -1
- package/vendor/lodash-es/hasIn.es.js +0 -1
- package/vendor/lodash-es/head.es.js +0 -1
- package/vendor/lodash-es/identity.es.js +0 -1
- package/vendor/lodash-es/inRange.es.js +0 -1
- package/vendor/lodash-es/includes.es.js +0 -1
- package/vendor/lodash-es/indexOf.es.js +0 -1
- package/vendor/lodash-es/initial.es.js +0 -1
- package/vendor/lodash-es/intersection.es.js +0 -1
- package/vendor/lodash-es/intersectionBy.es.js +0 -1
- package/vendor/lodash-es/intersectionWith.es.js +0 -1
- package/vendor/lodash-es/invert.es.js +0 -1
- package/vendor/lodash-es/invertBy.es.js +0 -1
- package/vendor/lodash-es/invoke.es.js +0 -1
- package/vendor/lodash-es/invokeMap.es.js +0 -1
- package/vendor/lodash-es/isArguments.es.js +0 -13
- package/vendor/lodash-es/isArray.es.js +0 -4
- package/vendor/lodash-es/isArrayBuffer.es.js +0 -1
- package/vendor/lodash-es/isArrayLike.es.js +0 -8
- package/vendor/lodash-es/isArrayLikeObject.es.js +0 -1
- package/vendor/lodash-es/isBoolean.es.js +0 -1
- package/vendor/lodash-es/isBuffer.es.js +0 -11
- package/vendor/lodash-es/isDate.es.js +0 -1
- package/vendor/lodash-es/isElement.es.js +0 -1
- package/vendor/lodash-es/isEmpty.es.js +0 -1
- package/vendor/lodash-es/isEqual.es.js +0 -7
- package/vendor/lodash-es/isEqualWith.es.js +0 -1
- package/vendor/lodash-es/isError.es.js +0 -1
- package/vendor/lodash-es/isFinite.es.js +0 -1
- package/vendor/lodash-es/isFunction.es.js +0 -13
- package/vendor/lodash-es/isInteger.es.js +0 -1
- package/vendor/lodash-es/isLength.es.js +0 -7
- package/vendor/lodash-es/isMap.es.js +0 -8
- package/vendor/lodash-es/isMatch.es.js +0 -1
- package/vendor/lodash-es/isMatchWith.es.js +0 -1
- package/vendor/lodash-es/isNaN.es.js +0 -1
- package/vendor/lodash-es/isNative.es.js +0 -1
- package/vendor/lodash-es/isNil.es.js +0 -1
- package/vendor/lodash-es/isNull.es.js +0 -1
- package/vendor/lodash-es/isNumber.es.js +0 -1
- package/vendor/lodash-es/isObject.es.js +0 -7
- package/vendor/lodash-es/isObjectLike.es.js +0 -6
- package/vendor/lodash-es/isPlainObject.es.js +0 -1
- package/vendor/lodash-es/isRegExp.es.js +0 -1
- package/vendor/lodash-es/isSafeInteger.es.js +0 -1
- package/vendor/lodash-es/isSet.es.js +0 -8
- package/vendor/lodash-es/isString.es.js +0 -1
- package/vendor/lodash-es/isSymbol.es.js +0 -9
- package/vendor/lodash-es/isTypedArray.es.js +0 -8
- package/vendor/lodash-es/isUndefined.es.js +0 -1
- package/vendor/lodash-es/isWeakMap.es.js +0 -1
- package/vendor/lodash-es/isWeakSet.es.js +0 -1
- package/vendor/lodash-es/iteratee.es.js +0 -1
- package/vendor/lodash-es/join.es.js +0 -1
- package/vendor/lodash-es/kebabCase.es.js +0 -1
- package/vendor/lodash-es/keyBy.es.js +0 -1
- package/vendor/lodash-es/keys.es.js +0 -9
- package/vendor/lodash-es/keysIn.es.js +0 -1
- package/vendor/lodash-es/lang.default.es.js +0 -1
- package/vendor/lodash-es/lang.es.js +0 -1
- package/vendor/lodash-es/last.es.js +0 -1
- package/vendor/lodash-es/lastIndexOf.es.js +0 -1
- package/vendor/lodash-es/lodash.default.es.js +0 -1
- package/vendor/lodash-es/lodash.es.js +0 -1
- package/vendor/lodash-es/lowerCase.es.js +0 -1
- package/vendor/lodash-es/lowerFirst.es.js +0 -1
- package/vendor/lodash-es/lt.es.js +0 -1
- package/vendor/lodash-es/lte.es.js +0 -1
- package/vendor/lodash-es/map.es.js +0 -1
- package/vendor/lodash-es/mapKeys.es.js +0 -1
- package/vendor/lodash-es/mapValues.es.js +0 -1
- package/vendor/lodash-es/matches.es.js +0 -1
- package/vendor/lodash-es/matchesProperty.es.js +0 -1
- package/vendor/lodash-es/math.default.es.js +0 -1
- package/vendor/lodash-es/math.es.js +0 -1
- package/vendor/lodash-es/max.es.js +0 -1
- package/vendor/lodash-es/maxBy.es.js +0 -1
- package/vendor/lodash-es/mean.es.js +0 -1
- package/vendor/lodash-es/meanBy.es.js +0 -1
- package/vendor/lodash-es/memoize.es.js +0 -1
- package/vendor/lodash-es/merge.es.js +0 -1
- package/vendor/lodash-es/mergeWith.es.js +0 -1
- package/vendor/lodash-es/method.es.js +0 -1
- package/vendor/lodash-es/methodOf.es.js +0 -1
- package/vendor/lodash-es/min.es.js +0 -1
- package/vendor/lodash-es/minBy.es.js +0 -1
- package/vendor/lodash-es/mixin.es.js +0 -1
- package/vendor/lodash-es/multiply.es.js +0 -1
- package/vendor/lodash-es/negate.es.js +0 -1
- package/vendor/lodash-es/next.es.js +0 -1
- package/vendor/lodash-es/noop.es.js +0 -1
- package/vendor/lodash-es/now.es.js +0 -7
- package/vendor/lodash-es/nth.es.js +0 -1
- package/vendor/lodash-es/nthArg.es.js +0 -1
- package/vendor/lodash-es/number.default.es.js +0 -1
- package/vendor/lodash-es/number.es.js +0 -1
- package/vendor/lodash-es/object.default.es.js +0 -1
- package/vendor/lodash-es/object.es.js +0 -1
- package/vendor/lodash-es/omit.es.js +0 -1
- package/vendor/lodash-es/omitBy.es.js +0 -1
- package/vendor/lodash-es/once.es.js +0 -1
- package/vendor/lodash-es/orderBy.es.js +0 -1
- package/vendor/lodash-es/over.es.js +0 -1
- package/vendor/lodash-es/overArgs.es.js +0 -1
- package/vendor/lodash-es/overEvery.es.js +0 -1
- package/vendor/lodash-es/overSome.es.js +0 -1
- package/vendor/lodash-es/pad.es.js +0 -1
- package/vendor/lodash-es/padEnd.es.js +0 -1
- package/vendor/lodash-es/padStart.es.js +0 -1
- package/vendor/lodash-es/parseInt.es.js +0 -1
- package/vendor/lodash-es/partial.es.js +0 -1
- package/vendor/lodash-es/partialRight.es.js +0 -1
- package/vendor/lodash-es/partition.es.js +0 -1
- package/vendor/lodash-es/pick.es.js +0 -1
- package/vendor/lodash-es/pickBy.es.js +0 -1
- package/vendor/lodash-es/plant.es.js +0 -1
- package/vendor/lodash-es/property.es.js +0 -1
- package/vendor/lodash-es/propertyOf.es.js +0 -1
- package/vendor/lodash-es/pull.es.js +0 -1
- package/vendor/lodash-es/pullAll.es.js +0 -1
- package/vendor/lodash-es/pullAllBy.es.js +0 -1
- package/vendor/lodash-es/pullAllWith.es.js +0 -1
- package/vendor/lodash-es/pullAt.es.js +0 -1
- package/vendor/lodash-es/random.es.js +0 -1
- package/vendor/lodash-es/range.es.js +0 -1
- package/vendor/lodash-es/rangeRight.es.js +0 -1
- package/vendor/lodash-es/rearg.es.js +0 -1
- package/vendor/lodash-es/reduce.es.js +0 -1
- package/vendor/lodash-es/reduceRight.es.js +0 -1
- package/vendor/lodash-es/reject.es.js +0 -1
- package/vendor/lodash-es/remove.es.js +0 -1
- package/vendor/lodash-es/repeat.es.js +0 -1
- package/vendor/lodash-es/replace.es.js +0 -1
- package/vendor/lodash-es/rest.es.js +0 -1
- package/vendor/lodash-es/result.es.js +0 -1
- package/vendor/lodash-es/reverse.es.js +0 -1
- package/vendor/lodash-es/round.es.js +0 -1
- package/vendor/lodash-es/sample.es.js +0 -1
- package/vendor/lodash-es/sampleSize.es.js +0 -1
- package/vendor/lodash-es/seq.default.es.js +0 -1
- package/vendor/lodash-es/seq.es.js +0 -1
- package/vendor/lodash-es/set.es.js +0 -1
- package/vendor/lodash-es/setWith.es.js +0 -1
- package/vendor/lodash-es/shuffle.es.js +0 -1
- package/vendor/lodash-es/size.es.js +0 -1
- package/vendor/lodash-es/slice.es.js +0 -1
- package/vendor/lodash-es/snakeCase.es.js +0 -1
- package/vendor/lodash-es/some.es.js +0 -1
- package/vendor/lodash-es/sortBy.es.js +0 -1
- package/vendor/lodash-es/sortedIndex.es.js +0 -1
- package/vendor/lodash-es/sortedIndexBy.es.js +0 -1
- package/vendor/lodash-es/sortedIndexOf.es.js +0 -1
- package/vendor/lodash-es/sortedLastIndex.es.js +0 -1
- package/vendor/lodash-es/sortedLastIndexBy.es.js +0 -1
- package/vendor/lodash-es/sortedLastIndexOf.es.js +0 -1
- package/vendor/lodash-es/sortedUniq.es.js +0 -1
- package/vendor/lodash-es/sortedUniqBy.es.js +0 -1
- package/vendor/lodash-es/split.es.js +0 -1
- package/vendor/lodash-es/spread.es.js +0 -1
- package/vendor/lodash-es/startCase.es.js +0 -1
- package/vendor/lodash-es/startsWith.es.js +0 -1
- package/vendor/lodash-es/string.default.es.js +0 -1
- package/vendor/lodash-es/string.es.js +0 -1
- package/vendor/lodash-es/stubArray.es.js +0 -6
- package/vendor/lodash-es/stubFalse.es.js +0 -6
- package/vendor/lodash-es/stubObject.es.js +0 -1
- package/vendor/lodash-es/stubString.es.js +0 -1
- package/vendor/lodash-es/stubTrue.es.js +0 -1
- package/vendor/lodash-es/subtract.es.js +0 -1
- package/vendor/lodash-es/sum.es.js +0 -1
- package/vendor/lodash-es/sumBy.es.js +0 -1
- package/vendor/lodash-es/tail.es.js +0 -1
- package/vendor/lodash-es/take.es.js +0 -1
- package/vendor/lodash-es/takeRight.es.js +0 -1
- package/vendor/lodash-es/takeRightWhile.es.js +0 -1
- package/vendor/lodash-es/takeWhile.es.js +0 -1
- package/vendor/lodash-es/tap.es.js +0 -1
- package/vendor/lodash-es/template.es.js +0 -1
- package/vendor/lodash-es/templateSettings.es.js +0 -1
- package/vendor/lodash-es/throttle.es.js +0 -1
- package/vendor/lodash-es/thru.es.js +0 -1
- package/vendor/lodash-es/times.es.js +0 -1
- package/vendor/lodash-es/toArray.es.js +0 -1
- package/vendor/lodash-es/toFinite.es.js +0 -1
- package/vendor/lodash-es/toInteger.es.js +0 -1
- package/vendor/lodash-es/toIterator.es.js +0 -1
- package/vendor/lodash-es/toJSON.es.js +0 -1
- package/vendor/lodash-es/toLength.es.js +0 -1
- package/vendor/lodash-es/toLower.es.js +0 -1
- package/vendor/lodash-es/toNumber.es.js +0 -29
- package/vendor/lodash-es/toPairs.es.js +0 -1
- package/vendor/lodash-es/toPairsIn.es.js +0 -1
- package/vendor/lodash-es/toPath.es.js +0 -1
- package/vendor/lodash-es/toPlainObject.es.js +0 -1
- package/vendor/lodash-es/toSafeInteger.es.js +0 -1
- package/vendor/lodash-es/toString.es.js +0 -6
- package/vendor/lodash-es/toUpper.es.js +0 -1
- package/vendor/lodash-es/transform.es.js +0 -1
- package/vendor/lodash-es/trim.es.js +0 -1
- package/vendor/lodash-es/trimEnd.es.js +0 -1
- package/vendor/lodash-es/trimStart.es.js +0 -1
- package/vendor/lodash-es/truncate.es.js +0 -1
- package/vendor/lodash-es/unary.es.js +0 -1
- package/vendor/lodash-es/unescape.es.js +0 -1
- package/vendor/lodash-es/union.es.js +0 -1
- package/vendor/lodash-es/unionBy.es.js +0 -1
- package/vendor/lodash-es/unionWith.es.js +0 -1
- package/vendor/lodash-es/uniq.es.js +0 -1
- package/vendor/lodash-es/uniqBy.es.js +0 -1
- package/vendor/lodash-es/uniqWith.es.js +0 -1
- package/vendor/lodash-es/uniqueId.es.js +0 -9
- package/vendor/lodash-es/unset.es.js +0 -1
- package/vendor/lodash-es/unzip.es.js +0 -1
- package/vendor/lodash-es/unzipWith.es.js +0 -1
- package/vendor/lodash-es/update.es.js +0 -1
- package/vendor/lodash-es/updateWith.es.js +0 -1
- package/vendor/lodash-es/upperCase.es.js +0 -1
- package/vendor/lodash-es/upperFirst.es.js +0 -1
- package/vendor/lodash-es/util.default.es.js +0 -1
- package/vendor/lodash-es/util.es.js +0 -1
- package/vendor/lodash-es/value.es.js +0 -1
- package/vendor/lodash-es/valueOf.es.js +0 -1
- package/vendor/lodash-es/values.es.js +0 -1
- package/vendor/lodash-es/valuesIn.es.js +0 -1
- package/vendor/lodash-es/without.es.js +0 -1
- package/vendor/lodash-es/words.es.js +0 -1
- package/vendor/lodash-es/wrap.es.js +0 -1
- package/vendor/lodash-es/wrapperAt.es.js +0 -1
- package/vendor/lodash-es/wrapperChain.es.js +0 -1
- package/vendor/lodash-es/wrapperLodash.es.js +0 -1
- package/vendor/lodash-es/wrapperReverse.es.js +0 -1
- package/vendor/lodash-es/wrapperValue.es.js +0 -1
- package/vendor/lodash-es/xor.es.js +0 -1
- package/vendor/lodash-es/xorBy.es.js +0 -1
- package/vendor/lodash-es/xorWith.es.js +0 -1
- package/vendor/lodash-es/zip.es.js +0 -1
- package/vendor/lodash-es/zipObject.es.js +0 -1
- package/vendor/lodash-es/zipObjectDeep.es.js +0 -1
- package/vendor/lodash-es/zipWith.es.js +0 -1
- package/vendor/orderedmap/dist/index.es.js +0 -119
- package/vendor/primevue/api/api.esm.es.js +0 -276
- package/vendor/primevue/avatar/avatar.esm.es.js +0 -85
- package/vendor/primevue/avatar/style/avatarstyle.esm.es.js +0 -21
- package/vendor/primevue/avatargroup/avatargroup.esm.es.js +0 -27
- package/vendor/primevue/avatargroup/style/avatargroupstyle.esm.es.js +0 -11
- package/vendor/primevue/badge/badge.esm.es.js +0 -43
- package/vendor/primevue/badge/style/badgestyle.esm.es.js +0 -26
- package/vendor/primevue/base/style/basestyle.esm.es.js +0 -129
- package/vendor/primevue/basecomponent/basecomponent.esm.es.js +0 -475
- package/vendor/primevue/basedirective/basedirective.esm.es.js +0 -326
- package/vendor/primevue/baseicon/baseicon.esm.es.js +0 -87
- package/vendor/primevue/baseicon/style/baseiconstyle.esm.es.js +0 -9
- package/vendor/primevue/button/button.esm.es.js +0 -167
- package/vendor/primevue/button/style/buttonstyle.esm.es.js +0 -63
- package/vendor/primevue/card/card.esm.es.js +0 -41
- package/vendor/primevue/card/style/cardstyle.esm.es.js +0 -18
- package/vendor/primevue/checkbox/checkbox.esm.es.js +0 -197
- package/vendor/primevue/checkbox/style/checkboxstyle.esm.es.js +0 -22
- package/vendor/primevue/config/config.esm.es.js +0 -230
- package/vendor/primevue/dialog/dialog.esm.es.js +0 -641
- package/vendor/primevue/dialog/style/dialogstyle.esm.es.js +0 -59
- package/vendor/primevue/dropdown/dropdown.esm.es.js +0 -1443
- package/vendor/primevue/dropdown/style/dropdownstyle.esm.es.js +0 -67
- package/vendor/primevue/fileupload/fileupload.esm.es.js +0 -870
- package/vendor/primevue/fileupload/style/fileuploadstyle.esm.es.js +0 -37
- package/vendor/primevue/focustrap/focustrap.esm.es.js +0 -167
- package/vendor/primevue/focustrap/style/focustrapstyle.esm.es.js +0 -4
- package/vendor/primevue/icons/angledoubleleft/index.esm.es.js +0 -26
- package/vendor/primevue/icons/angledoubleright/index.esm.es.js +0 -26
- package/vendor/primevue/icons/angledown/index.esm.es.js +0 -24
- package/vendor/primevue/icons/angleleft/index.esm.es.js +0 -24
- package/vendor/primevue/icons/angleright/index.esm.es.js +0 -24
- package/vendor/primevue/icons/angleup/index.esm.es.js +0 -24
- package/vendor/primevue/icons/blank/index.esm.es.js +0 -26
- package/vendor/primevue/icons/check/index.esm.es.js +0 -24
- package/vendor/primevue/icons/chevrondown/index.esm.es.js +0 -24
- package/vendor/primevue/icons/exclamationtriangle/index.esm.es.js +0 -32
- package/vendor/primevue/icons/eye/index.esm.es.js +0 -26
- package/vendor/primevue/icons/eyeslash/index.esm.es.js +0 -26
- package/vendor/primevue/icons/infocircle/index.esm.es.js +0 -26
- package/vendor/primevue/icons/plus/index.esm.es.js +0 -24
- package/vendor/primevue/icons/refresh/index.esm.es.js +0 -26
- package/vendor/primevue/icons/search/index.esm.es.js +0 -26
- package/vendor/primevue/icons/searchminus/index.esm.es.js +0 -26
- package/vendor/primevue/icons/searchplus/index.esm.es.js +0 -26
- package/vendor/primevue/icons/spinner/index.esm.es.js +0 -24
- package/vendor/primevue/icons/times/index.esm.es.js +0 -24
- package/vendor/primevue/icons/timescircle/index.esm.es.js +0 -26
- package/vendor/primevue/icons/undo/index.esm.es.js +0 -26
- package/vendor/primevue/icons/upload/index.esm.es.js +0 -26
- package/vendor/primevue/icons/windowmaximize/index.esm.es.js +0 -26
- package/vendor/primevue/icons/windowminimize/index.esm.es.js +0 -26
- package/vendor/primevue/image/image.esm.es.js +0 -426
- package/vendor/primevue/image/style/imagestyle.esm.es.js +0 -40
- package/vendor/primevue/inputgroup/inputgroup.esm.es.js +0 -27
- package/vendor/primevue/inputgroup/style/inputgroupstyle.esm.es.js +0 -11
- package/vendor/primevue/inputgroupaddon/inputgroupaddon.esm.es.js +0 -27
- package/vendor/primevue/inputgroupaddon/style/inputgroupaddonstyle.esm.es.js +0 -11
- package/vendor/primevue/inputnumber/inputnumber.esm.es.js +0 -1205
- package/vendor/primevue/inputnumber/style/inputnumberstyle.esm.es.js +0 -40
- package/vendor/primevue/inputtext/inputtext.esm.es.js +0 -68
- package/vendor/primevue/inputtext/style/inputtextstyle.esm.es.js +0 -20
- package/vendor/primevue/menu/menu.esm.es.js +0 -606
- package/vendor/primevue/menu/style/menustyle.esm.es.js +0 -33
- package/vendor/primevue/message/message.esm.es.js +0 -215
- package/vendor/primevue/message/style/messagestyle.esm.es.js +0 -19
- package/vendor/primevue/multiselect/multiselect.esm.es.js +0 -1631
- package/vendor/primevue/multiselect/style/multiselectstyle.esm.es.js +0 -76
- package/vendor/primevue/overlayeventbus/overlayeventbus.esm.es.js +0 -5
- package/vendor/primevue/overlaypanel/overlaypanel.esm.es.js +0 -400
- package/vendor/primevue/overlaypanel/style/overlaypanelstyle.esm.es.js +0 -19
- package/vendor/primevue/paginator/paginator.esm.es.js +0 -882
- package/vendor/primevue/paginator/style/paginatorstyle.esm.es.js +0 -88
- package/vendor/primevue/password/password.esm.es.js +0 -516
- package/vendor/primevue/password/style/passwordstyle.esm.es.js +0 -47
- package/vendor/primevue/portal/portal.esm.es.js +0 -40
- package/vendor/primevue/progressbar/progressbar.esm.es.js +0 -74
- package/vendor/primevue/progressbar/style/progressbarstyle.esm.es.js +0 -20
- package/vendor/primevue/ripple/ripple.esm.es.js +0 -118
- package/vendor/primevue/ripple/style/ripplestyle.esm.es.js +0 -11
- package/vendor/primevue/selectbutton/selectbutton.esm.es.js +0 -324
- package/vendor/primevue/selectbutton/style/selectbuttonstyle.esm.es.js +0 -25
- package/vendor/primevue/skeleton/skeleton.esm.es.js +0 -69
- package/vendor/primevue/skeleton/style/skeletonstyle.esm.es.js +0 -23
- package/vendor/primevue/textarea/style/textareastyle.esm.es.js +0 -19
- package/vendor/primevue/textarea/textarea.esm.es.js +0 -86
- package/vendor/primevue/timeline/style/timelinestyle.esm.es.js +0 -20
- package/vendor/primevue/timeline/timeline.esm.es.js +0 -87
- package/vendor/primevue/toast/style/toaststyle.esm.es.js +0 -81
- package/vendor/primevue/toast/toast.esm.es.js +0 -500
- package/vendor/primevue/toasteventbus/toasteventbus.esm.es.js +0 -5
- package/vendor/primevue/toastservice/toastservice.esm.es.js +0 -25
- package/vendor/primevue/tooltip/style/tooltipstyle.esm.es.js +0 -13
- package/vendor/primevue/tooltip/tooltip.esm.es.js +0 -453
- package/vendor/primevue/usestyle/usestyle.esm.es.js +0 -115
- package/vendor/primevue/usetoast/usetoast.esm.es.js +0 -13
- package/vendor/primevue/utils/utils.esm.es.js +0 -1386
- package/vendor/primevue/virtualscroller/style/virtualscrollerstyle.esm.es.js +0 -9
- package/vendor/primevue/virtualscroller/virtualscroller.esm.es.js +0 -931
- package/vendor/prosemirror-commands/dist/index.es.js +0 -521
- package/vendor/prosemirror-history/dist/index.es.js +0 -356
- package/vendor/prosemirror-keymap/dist/index.es.js +0 -80
- package/vendor/prosemirror-model/dist/index.es.js +0 -3205
- package/vendor/prosemirror-schema-list/dist/index.es.js +0 -129
- package/vendor/prosemirror-state/dist/index.es.js +0 -934
- package/vendor/prosemirror-transform/dist/index.es.js +0 -1824
- package/vendor/prosemirror-view/dist/index.es.js +0 -5150
- package/vendor/rope-sequence/dist/index.es.js +0 -183
- package/vendor/simplebar-core/dist/index.es.js +0 -767
- package/vendor/simplebar-vue/dist/simplebar-vue.esm.es.js +0 -189
- package/vendor/single-spa/lib/es2015/esm/single-spa.min.es.js +0 -669
- package/vendor/tippy.js/dist/tippy.esm.es.js +0 -1168
- package/vendor/vee-validate/dist/vee-validate.esm.es.js +0 -2042
- package/vendor/vue-advanced-cropper/dist/index.esm-bundler.es.js +0 -1382
- package/vendor/vue-demi/lib/index.es.js +0 -1
- package/vendor/w3c-keyname/index.es.js +0 -104
- package/wangsvue.esm.browser.js +0 -67705
|
@@ -1,931 +0,0 @@
|
|
|
1
|
-
import { s as script$2 } from "../icons/spinner/index.esm.es.js";
|
|
2
|
-
import { D as DomHandler } from "../utils/utils.esm.es.js";
|
|
3
|
-
import { s as script$3 } from "../basecomponent/basecomponent.esm.es.js";
|
|
4
|
-
import { V as VirtualScrollerStyle } from "./style/virtualscrollerstyle.esm.es.js";
|
|
5
|
-
import { resolveComponent, createElementBlock, openBlock, mergeProps, renderSlot, createCommentVNode, createElementVNode, Fragment, renderList, createVNode } from "vue";
|
|
6
|
-
var script$1 = {
|
|
7
|
-
name: "BaseVirtualScroller",
|
|
8
|
-
"extends": script$3,
|
|
9
|
-
props: {
|
|
10
|
-
id: {
|
|
11
|
-
type: String,
|
|
12
|
-
"default": null
|
|
13
|
-
},
|
|
14
|
-
style: null,
|
|
15
|
-
"class": null,
|
|
16
|
-
items: {
|
|
17
|
-
type: Array,
|
|
18
|
-
"default": null
|
|
19
|
-
},
|
|
20
|
-
itemSize: {
|
|
21
|
-
type: [Number, Array],
|
|
22
|
-
"default": 0
|
|
23
|
-
},
|
|
24
|
-
scrollHeight: null,
|
|
25
|
-
scrollWidth: null,
|
|
26
|
-
orientation: {
|
|
27
|
-
type: String,
|
|
28
|
-
"default": "vertical"
|
|
29
|
-
},
|
|
30
|
-
numToleratedItems: {
|
|
31
|
-
type: Number,
|
|
32
|
-
"default": null
|
|
33
|
-
},
|
|
34
|
-
delay: {
|
|
35
|
-
type: Number,
|
|
36
|
-
"default": 0
|
|
37
|
-
},
|
|
38
|
-
resizeDelay: {
|
|
39
|
-
type: Number,
|
|
40
|
-
"default": 10
|
|
41
|
-
},
|
|
42
|
-
lazy: {
|
|
43
|
-
type: Boolean,
|
|
44
|
-
"default": false
|
|
45
|
-
},
|
|
46
|
-
disabled: {
|
|
47
|
-
type: Boolean,
|
|
48
|
-
"default": false
|
|
49
|
-
},
|
|
50
|
-
loaderDisabled: {
|
|
51
|
-
type: Boolean,
|
|
52
|
-
"default": false
|
|
53
|
-
},
|
|
54
|
-
columns: {
|
|
55
|
-
type: Array,
|
|
56
|
-
"default": null
|
|
57
|
-
},
|
|
58
|
-
loading: {
|
|
59
|
-
type: Boolean,
|
|
60
|
-
"default": false
|
|
61
|
-
},
|
|
62
|
-
showSpacer: {
|
|
63
|
-
type: Boolean,
|
|
64
|
-
"default": true
|
|
65
|
-
},
|
|
66
|
-
showLoader: {
|
|
67
|
-
type: Boolean,
|
|
68
|
-
"default": false
|
|
69
|
-
},
|
|
70
|
-
tabindex: {
|
|
71
|
-
type: Number,
|
|
72
|
-
"default": 0
|
|
73
|
-
},
|
|
74
|
-
inline: {
|
|
75
|
-
type: Boolean,
|
|
76
|
-
"default": false
|
|
77
|
-
},
|
|
78
|
-
step: {
|
|
79
|
-
type: Number,
|
|
80
|
-
"default": 0
|
|
81
|
-
},
|
|
82
|
-
appendOnly: {
|
|
83
|
-
type: Boolean,
|
|
84
|
-
"default": false
|
|
85
|
-
},
|
|
86
|
-
autoSize: {
|
|
87
|
-
type: Boolean,
|
|
88
|
-
"default": false
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
style: VirtualScrollerStyle,
|
|
92
|
-
provide: function provide() {
|
|
93
|
-
return {
|
|
94
|
-
$parentInstance: this
|
|
95
|
-
};
|
|
96
|
-
},
|
|
97
|
-
beforeMount: function beforeMount() {
|
|
98
|
-
var _this$$primevueConfig;
|
|
99
|
-
VirtualScrollerStyle.loadStyle({
|
|
100
|
-
nonce: (_this$$primevueConfig = this.$primevueConfig) === null || _this$$primevueConfig === void 0 || (_this$$primevueConfig = _this$$primevueConfig.csp) === null || _this$$primevueConfig === void 0 ? void 0 : _this$$primevueConfig.nonce
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
|
-
function _typeof(o) {
|
|
105
|
-
"@babel/helpers - typeof";
|
|
106
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
107
|
-
return typeof o2;
|
|
108
|
-
} : function(o2) {
|
|
109
|
-
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
110
|
-
}, _typeof(o);
|
|
111
|
-
}
|
|
112
|
-
function ownKeys(e, r) {
|
|
113
|
-
var t = Object.keys(e);
|
|
114
|
-
if (Object.getOwnPropertySymbols) {
|
|
115
|
-
var o = Object.getOwnPropertySymbols(e);
|
|
116
|
-
r && (o = o.filter(function(r2) {
|
|
117
|
-
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
118
|
-
})), t.push.apply(t, o);
|
|
119
|
-
}
|
|
120
|
-
return t;
|
|
121
|
-
}
|
|
122
|
-
function _objectSpread(e) {
|
|
123
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
124
|
-
var t = null != arguments[r] ? arguments[r] : {};
|
|
125
|
-
r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
|
|
126
|
-
_defineProperty(e, r2, t[r2]);
|
|
127
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
|
|
128
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
|
|
129
|
-
});
|
|
130
|
-
}
|
|
131
|
-
return e;
|
|
132
|
-
}
|
|
133
|
-
function _defineProperty(obj, key, value) {
|
|
134
|
-
key = _toPropertyKey(key);
|
|
135
|
-
if (key in obj) {
|
|
136
|
-
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
137
|
-
} else {
|
|
138
|
-
obj[key] = value;
|
|
139
|
-
}
|
|
140
|
-
return obj;
|
|
141
|
-
}
|
|
142
|
-
function _toPropertyKey(t) {
|
|
143
|
-
var i = _toPrimitive(t, "string");
|
|
144
|
-
return "symbol" == _typeof(i) ? i : String(i);
|
|
145
|
-
}
|
|
146
|
-
function _toPrimitive(t, r) {
|
|
147
|
-
if ("object" != _typeof(t) || !t) return t;
|
|
148
|
-
var e = t[Symbol.toPrimitive];
|
|
149
|
-
if (void 0 !== e) {
|
|
150
|
-
var i = e.call(t, r);
|
|
151
|
-
if ("object" != _typeof(i)) return i;
|
|
152
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
153
|
-
}
|
|
154
|
-
return ("string" === r ? String : Number)(t);
|
|
155
|
-
}
|
|
156
|
-
var script = {
|
|
157
|
-
name: "VirtualScroller",
|
|
158
|
-
"extends": script$1,
|
|
159
|
-
inheritAttrs: false,
|
|
160
|
-
emits: ["update:numToleratedItems", "scroll", "scroll-index-change", "lazy-load"],
|
|
161
|
-
data: function data() {
|
|
162
|
-
var both = this.isBoth();
|
|
163
|
-
return {
|
|
164
|
-
first: both ? {
|
|
165
|
-
rows: 0,
|
|
166
|
-
cols: 0
|
|
167
|
-
} : 0,
|
|
168
|
-
last: both ? {
|
|
169
|
-
rows: 0,
|
|
170
|
-
cols: 0
|
|
171
|
-
} : 0,
|
|
172
|
-
page: both ? {
|
|
173
|
-
rows: 0,
|
|
174
|
-
cols: 0
|
|
175
|
-
} : 0,
|
|
176
|
-
numItemsInViewport: both ? {
|
|
177
|
-
rows: 0,
|
|
178
|
-
cols: 0
|
|
179
|
-
} : 0,
|
|
180
|
-
lastScrollPos: both ? {
|
|
181
|
-
top: 0,
|
|
182
|
-
left: 0
|
|
183
|
-
} : 0,
|
|
184
|
-
d_numToleratedItems: this.numToleratedItems,
|
|
185
|
-
d_loading: this.loading,
|
|
186
|
-
loaderArr: [],
|
|
187
|
-
spacerStyle: {},
|
|
188
|
-
contentStyle: {}
|
|
189
|
-
};
|
|
190
|
-
},
|
|
191
|
-
element: null,
|
|
192
|
-
content: null,
|
|
193
|
-
lastScrollPos: null,
|
|
194
|
-
scrollTimeout: null,
|
|
195
|
-
resizeTimeout: null,
|
|
196
|
-
defaultWidth: 0,
|
|
197
|
-
defaultHeight: 0,
|
|
198
|
-
defaultContentWidth: 0,
|
|
199
|
-
defaultContentHeight: 0,
|
|
200
|
-
isRangeChanged: false,
|
|
201
|
-
lazyLoadState: {},
|
|
202
|
-
resizeListener: null,
|
|
203
|
-
initialized: false,
|
|
204
|
-
watch: {
|
|
205
|
-
numToleratedItems: function numToleratedItems(newValue) {
|
|
206
|
-
this.d_numToleratedItems = newValue;
|
|
207
|
-
},
|
|
208
|
-
loading: function loading(newValue, oldValue) {
|
|
209
|
-
if (this.lazy && newValue !== oldValue && newValue !== this.d_loading) {
|
|
210
|
-
this.d_loading = newValue;
|
|
211
|
-
}
|
|
212
|
-
},
|
|
213
|
-
items: function items(newValue, oldValue) {
|
|
214
|
-
if (!oldValue || oldValue.length !== (newValue || []).length) {
|
|
215
|
-
this.init();
|
|
216
|
-
this.calculateAutoSize();
|
|
217
|
-
}
|
|
218
|
-
},
|
|
219
|
-
itemSize: function itemSize() {
|
|
220
|
-
this.init();
|
|
221
|
-
this.calculateAutoSize();
|
|
222
|
-
},
|
|
223
|
-
orientation: function orientation() {
|
|
224
|
-
this.lastScrollPos = this.isBoth() ? {
|
|
225
|
-
top: 0,
|
|
226
|
-
left: 0
|
|
227
|
-
} : 0;
|
|
228
|
-
},
|
|
229
|
-
scrollHeight: function scrollHeight() {
|
|
230
|
-
this.init();
|
|
231
|
-
this.calculateAutoSize();
|
|
232
|
-
},
|
|
233
|
-
scrollWidth: function scrollWidth() {
|
|
234
|
-
this.init();
|
|
235
|
-
this.calculateAutoSize();
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
mounted: function mounted() {
|
|
239
|
-
this.viewInit();
|
|
240
|
-
this.lastScrollPos = this.isBoth() ? {
|
|
241
|
-
top: 0,
|
|
242
|
-
left: 0
|
|
243
|
-
} : 0;
|
|
244
|
-
this.lazyLoadState = this.lazyLoadState || {};
|
|
245
|
-
},
|
|
246
|
-
updated: function updated() {
|
|
247
|
-
!this.initialized && this.viewInit();
|
|
248
|
-
},
|
|
249
|
-
unmounted: function unmounted() {
|
|
250
|
-
this.unbindResizeListener();
|
|
251
|
-
this.initialized = false;
|
|
252
|
-
},
|
|
253
|
-
methods: {
|
|
254
|
-
viewInit: function viewInit() {
|
|
255
|
-
if (DomHandler.isVisible(this.element)) {
|
|
256
|
-
this.setContentEl(this.content);
|
|
257
|
-
this.init();
|
|
258
|
-
this.calculateAutoSize();
|
|
259
|
-
this.bindResizeListener();
|
|
260
|
-
this.defaultWidth = DomHandler.getWidth(this.element);
|
|
261
|
-
this.defaultHeight = DomHandler.getHeight(this.element);
|
|
262
|
-
this.defaultContentWidth = DomHandler.getWidth(this.content);
|
|
263
|
-
this.defaultContentHeight = DomHandler.getHeight(this.content);
|
|
264
|
-
this.initialized = true;
|
|
265
|
-
}
|
|
266
|
-
},
|
|
267
|
-
init: function init() {
|
|
268
|
-
if (!this.disabled) {
|
|
269
|
-
this.setSize();
|
|
270
|
-
this.calculateOptions();
|
|
271
|
-
this.setSpacerSize();
|
|
272
|
-
}
|
|
273
|
-
},
|
|
274
|
-
isVertical: function isVertical() {
|
|
275
|
-
return this.orientation === "vertical";
|
|
276
|
-
},
|
|
277
|
-
isHorizontal: function isHorizontal() {
|
|
278
|
-
return this.orientation === "horizontal";
|
|
279
|
-
},
|
|
280
|
-
isBoth: function isBoth() {
|
|
281
|
-
return this.orientation === "both";
|
|
282
|
-
},
|
|
283
|
-
scrollTo: function scrollTo(options) {
|
|
284
|
-
this.element && this.element.scrollTo(options);
|
|
285
|
-
},
|
|
286
|
-
scrollToIndex: function scrollToIndex(index) {
|
|
287
|
-
var _this = this;
|
|
288
|
-
var behavior = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "auto";
|
|
289
|
-
var both = this.isBoth();
|
|
290
|
-
var horizontal = this.isHorizontal();
|
|
291
|
-
var valid = both ? index.every(function(i) {
|
|
292
|
-
return i > -1;
|
|
293
|
-
}) : index > -1;
|
|
294
|
-
if (valid) {
|
|
295
|
-
var first = this.first;
|
|
296
|
-
var _this$element = this.element, _this$element$scrollT = _this$element.scrollTop, scrollTop = _this$element$scrollT === void 0 ? 0 : _this$element$scrollT, _this$element$scrollL = _this$element.scrollLeft, scrollLeft = _this$element$scrollL === void 0 ? 0 : _this$element$scrollL;
|
|
297
|
-
var _this$calculateNumIte = this.calculateNumItems(), numToleratedItems2 = _this$calculateNumIte.numToleratedItems;
|
|
298
|
-
var contentPos = this.getContentPosition();
|
|
299
|
-
var itemSize2 = this.itemSize;
|
|
300
|
-
var calculateFirst = function calculateFirst2() {
|
|
301
|
-
var _index = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
|
|
302
|
-
var _numT = arguments.length > 1 ? arguments[1] : void 0;
|
|
303
|
-
return _index <= _numT ? 0 : _index;
|
|
304
|
-
};
|
|
305
|
-
var calculateCoord = function calculateCoord2(_first, _size, _cpos) {
|
|
306
|
-
return _first * _size + _cpos;
|
|
307
|
-
};
|
|
308
|
-
var scrollTo2 = function scrollTo3() {
|
|
309
|
-
var left = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
|
|
310
|
-
var top = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
|
|
311
|
-
return _this.scrollTo({
|
|
312
|
-
left,
|
|
313
|
-
top,
|
|
314
|
-
behavior
|
|
315
|
-
});
|
|
316
|
-
};
|
|
317
|
-
var newFirst = both ? {
|
|
318
|
-
rows: 0,
|
|
319
|
-
cols: 0
|
|
320
|
-
} : 0;
|
|
321
|
-
var isRangeChanged = false, isScrollChanged = false;
|
|
322
|
-
if (both) {
|
|
323
|
-
newFirst = {
|
|
324
|
-
rows: calculateFirst(index[0], numToleratedItems2[0]),
|
|
325
|
-
cols: calculateFirst(index[1], numToleratedItems2[1])
|
|
326
|
-
};
|
|
327
|
-
scrollTo2(calculateCoord(newFirst.cols, itemSize2[1], contentPos.left), calculateCoord(newFirst.rows, itemSize2[0], contentPos.top));
|
|
328
|
-
isScrollChanged = this.lastScrollPos.top !== scrollTop || this.lastScrollPos.left !== scrollLeft;
|
|
329
|
-
isRangeChanged = newFirst.rows !== first.rows || newFirst.cols !== first.cols;
|
|
330
|
-
} else {
|
|
331
|
-
newFirst = calculateFirst(index, numToleratedItems2);
|
|
332
|
-
horizontal ? scrollTo2(calculateCoord(newFirst, itemSize2, contentPos.left), scrollTop) : scrollTo2(scrollLeft, calculateCoord(newFirst, itemSize2, contentPos.top));
|
|
333
|
-
isScrollChanged = this.lastScrollPos !== (horizontal ? scrollLeft : scrollTop);
|
|
334
|
-
isRangeChanged = newFirst !== first;
|
|
335
|
-
}
|
|
336
|
-
this.isRangeChanged = isRangeChanged;
|
|
337
|
-
isScrollChanged && (this.first = newFirst);
|
|
338
|
-
}
|
|
339
|
-
},
|
|
340
|
-
scrollInView: function scrollInView(index, to) {
|
|
341
|
-
var _this2 = this;
|
|
342
|
-
var behavior = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "auto";
|
|
343
|
-
if (to) {
|
|
344
|
-
var both = this.isBoth();
|
|
345
|
-
var horizontal = this.isHorizontal();
|
|
346
|
-
var valid = both ? index.every(function(i) {
|
|
347
|
-
return i > -1;
|
|
348
|
-
}) : index > -1;
|
|
349
|
-
if (valid) {
|
|
350
|
-
var _this$getRenderedRang = this.getRenderedRange(), first = _this$getRenderedRang.first, viewport = _this$getRenderedRang.viewport;
|
|
351
|
-
var scrollTo2 = function scrollTo3() {
|
|
352
|
-
var left = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
|
|
353
|
-
var top = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
|
|
354
|
-
return _this2.scrollTo({
|
|
355
|
-
left,
|
|
356
|
-
top,
|
|
357
|
-
behavior
|
|
358
|
-
});
|
|
359
|
-
};
|
|
360
|
-
var isToStart = to === "to-start";
|
|
361
|
-
var isToEnd = to === "to-end";
|
|
362
|
-
if (isToStart) {
|
|
363
|
-
if (both) {
|
|
364
|
-
if (viewport.first.rows - first.rows > index[0]) {
|
|
365
|
-
scrollTo2(viewport.first.cols * this.itemSize[1], (viewport.first.rows - 1) * this.itemSize[0]);
|
|
366
|
-
} else if (viewport.first.cols - first.cols > index[1]) {
|
|
367
|
-
scrollTo2((viewport.first.cols - 1) * this.itemSize[1], viewport.first.rows * this.itemSize[0]);
|
|
368
|
-
}
|
|
369
|
-
} else {
|
|
370
|
-
if (viewport.first - first > index) {
|
|
371
|
-
var pos = (viewport.first - 1) * this.itemSize;
|
|
372
|
-
horizontal ? scrollTo2(pos, 0) : scrollTo2(0, pos);
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
} else if (isToEnd) {
|
|
376
|
-
if (both) {
|
|
377
|
-
if (viewport.last.rows - first.rows <= index[0] + 1) {
|
|
378
|
-
scrollTo2(viewport.first.cols * this.itemSize[1], (viewport.first.rows + 1) * this.itemSize[0]);
|
|
379
|
-
} else if (viewport.last.cols - first.cols <= index[1] + 1) {
|
|
380
|
-
scrollTo2((viewport.first.cols + 1) * this.itemSize[1], viewport.first.rows * this.itemSize[0]);
|
|
381
|
-
}
|
|
382
|
-
} else {
|
|
383
|
-
if (viewport.last - first <= index + 1) {
|
|
384
|
-
var _pos2 = (viewport.first + 1) * this.itemSize;
|
|
385
|
-
horizontal ? scrollTo2(_pos2, 0) : scrollTo2(0, _pos2);
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
} else {
|
|
391
|
-
this.scrollToIndex(index, behavior);
|
|
392
|
-
}
|
|
393
|
-
},
|
|
394
|
-
getRenderedRange: function getRenderedRange() {
|
|
395
|
-
var calculateFirstInViewport = function calculateFirstInViewport2(_pos, _size) {
|
|
396
|
-
return Math.floor(_pos / (_size || _pos));
|
|
397
|
-
};
|
|
398
|
-
var firstInViewport = this.first;
|
|
399
|
-
var lastInViewport = 0;
|
|
400
|
-
if (this.element) {
|
|
401
|
-
var both = this.isBoth();
|
|
402
|
-
var horizontal = this.isHorizontal();
|
|
403
|
-
var _this$element2 = this.element, scrollTop = _this$element2.scrollTop, scrollLeft = _this$element2.scrollLeft;
|
|
404
|
-
if (both) {
|
|
405
|
-
firstInViewport = {
|
|
406
|
-
rows: calculateFirstInViewport(scrollTop, this.itemSize[0]),
|
|
407
|
-
cols: calculateFirstInViewport(scrollLeft, this.itemSize[1])
|
|
408
|
-
};
|
|
409
|
-
lastInViewport = {
|
|
410
|
-
rows: firstInViewport.rows + this.numItemsInViewport.rows,
|
|
411
|
-
cols: firstInViewport.cols + this.numItemsInViewport.cols
|
|
412
|
-
};
|
|
413
|
-
} else {
|
|
414
|
-
var scrollPos = horizontal ? scrollLeft : scrollTop;
|
|
415
|
-
firstInViewport = calculateFirstInViewport(scrollPos, this.itemSize);
|
|
416
|
-
lastInViewport = firstInViewport + this.numItemsInViewport;
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
return {
|
|
420
|
-
first: this.first,
|
|
421
|
-
last: this.last,
|
|
422
|
-
viewport: {
|
|
423
|
-
first: firstInViewport,
|
|
424
|
-
last: lastInViewport
|
|
425
|
-
}
|
|
426
|
-
};
|
|
427
|
-
},
|
|
428
|
-
calculateNumItems: function calculateNumItems() {
|
|
429
|
-
var both = this.isBoth();
|
|
430
|
-
var horizontal = this.isHorizontal();
|
|
431
|
-
var itemSize2 = this.itemSize;
|
|
432
|
-
var contentPos = this.getContentPosition();
|
|
433
|
-
var contentWidth = this.element ? this.element.offsetWidth - contentPos.left : 0;
|
|
434
|
-
var contentHeight = this.element ? this.element.offsetHeight - contentPos.top : 0;
|
|
435
|
-
var calculateNumItemsInViewport = function calculateNumItemsInViewport2(_contentSize, _itemSize) {
|
|
436
|
-
return Math.ceil(_contentSize / (_itemSize || _contentSize));
|
|
437
|
-
};
|
|
438
|
-
var calculateNumToleratedItems = function calculateNumToleratedItems2(_numItems) {
|
|
439
|
-
return Math.ceil(_numItems / 2);
|
|
440
|
-
};
|
|
441
|
-
var numItemsInViewport = both ? {
|
|
442
|
-
rows: calculateNumItemsInViewport(contentHeight, itemSize2[0]),
|
|
443
|
-
cols: calculateNumItemsInViewport(contentWidth, itemSize2[1])
|
|
444
|
-
} : calculateNumItemsInViewport(horizontal ? contentWidth : contentHeight, itemSize2);
|
|
445
|
-
var numToleratedItems2 = this.d_numToleratedItems || (both ? [calculateNumToleratedItems(numItemsInViewport.rows), calculateNumToleratedItems(numItemsInViewport.cols)] : calculateNumToleratedItems(numItemsInViewport));
|
|
446
|
-
return {
|
|
447
|
-
numItemsInViewport,
|
|
448
|
-
numToleratedItems: numToleratedItems2
|
|
449
|
-
};
|
|
450
|
-
},
|
|
451
|
-
calculateOptions: function calculateOptions() {
|
|
452
|
-
var _this3 = this;
|
|
453
|
-
var both = this.isBoth();
|
|
454
|
-
var first = this.first;
|
|
455
|
-
var _this$calculateNumIte2 = this.calculateNumItems(), numItemsInViewport = _this$calculateNumIte2.numItemsInViewport, numToleratedItems2 = _this$calculateNumIte2.numToleratedItems;
|
|
456
|
-
var calculateLast = function calculateLast2(_first, _num, _numT) {
|
|
457
|
-
var _isCols = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : false;
|
|
458
|
-
return _this3.getLast(_first + _num + (_first < _numT ? 2 : 3) * _numT, _isCols);
|
|
459
|
-
};
|
|
460
|
-
var last = both ? {
|
|
461
|
-
rows: calculateLast(first.rows, numItemsInViewport.rows, numToleratedItems2[0]),
|
|
462
|
-
cols: calculateLast(first.cols, numItemsInViewport.cols, numToleratedItems2[1], true)
|
|
463
|
-
} : calculateLast(first, numItemsInViewport, numToleratedItems2);
|
|
464
|
-
this.last = last;
|
|
465
|
-
this.numItemsInViewport = numItemsInViewport;
|
|
466
|
-
this.d_numToleratedItems = numToleratedItems2;
|
|
467
|
-
this.$emit("update:numToleratedItems", this.d_numToleratedItems);
|
|
468
|
-
if (this.showLoader) {
|
|
469
|
-
this.loaderArr = both ? Array.from({
|
|
470
|
-
length: numItemsInViewport.rows
|
|
471
|
-
}).map(function() {
|
|
472
|
-
return Array.from({
|
|
473
|
-
length: numItemsInViewport.cols
|
|
474
|
-
});
|
|
475
|
-
}) : Array.from({
|
|
476
|
-
length: numItemsInViewport
|
|
477
|
-
});
|
|
478
|
-
}
|
|
479
|
-
if (this.lazy) {
|
|
480
|
-
Promise.resolve().then(function() {
|
|
481
|
-
var _this3$items;
|
|
482
|
-
_this3.lazyLoadState = {
|
|
483
|
-
first: _this3.step ? both ? {
|
|
484
|
-
rows: 0,
|
|
485
|
-
cols: first.cols
|
|
486
|
-
} : 0 : first,
|
|
487
|
-
last: Math.min(_this3.step ? _this3.step : last, ((_this3$items = _this3.items) === null || _this3$items === void 0 ? void 0 : _this3$items.length) || 0)
|
|
488
|
-
};
|
|
489
|
-
_this3.$emit("lazy-load", _this3.lazyLoadState);
|
|
490
|
-
});
|
|
491
|
-
}
|
|
492
|
-
},
|
|
493
|
-
calculateAutoSize: function calculateAutoSize() {
|
|
494
|
-
var _this4 = this;
|
|
495
|
-
if (this.autoSize && !this.d_loading) {
|
|
496
|
-
Promise.resolve().then(function() {
|
|
497
|
-
if (_this4.content) {
|
|
498
|
-
var both = _this4.isBoth();
|
|
499
|
-
var horizontal = _this4.isHorizontal();
|
|
500
|
-
var vertical = _this4.isVertical();
|
|
501
|
-
_this4.content.style.minHeight = _this4.content.style.minWidth = "auto";
|
|
502
|
-
_this4.content.style.position = "relative";
|
|
503
|
-
_this4.element.style.contain = "none";
|
|
504
|
-
var _ref = [DomHandler.getWidth(_this4.element), DomHandler.getHeight(_this4.element)], width = _ref[0], height = _ref[1];
|
|
505
|
-
(both || horizontal) && (_this4.element.style.width = width < _this4.defaultWidth ? width + "px" : _this4.scrollWidth || _this4.defaultWidth + "px");
|
|
506
|
-
(both || vertical) && (_this4.element.style.height = height < _this4.defaultHeight ? height + "px" : _this4.scrollHeight || _this4.defaultHeight + "px");
|
|
507
|
-
_this4.content.style.minHeight = _this4.content.style.minWidth = "";
|
|
508
|
-
_this4.content.style.position = "";
|
|
509
|
-
_this4.element.style.contain = "";
|
|
510
|
-
}
|
|
511
|
-
});
|
|
512
|
-
}
|
|
513
|
-
},
|
|
514
|
-
getLast: function getLast() {
|
|
515
|
-
var _ref2, _this$items;
|
|
516
|
-
var last = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
|
|
517
|
-
var isCols = arguments.length > 1 ? arguments[1] : void 0;
|
|
518
|
-
return this.items ? Math.min(isCols ? ((_ref2 = this.columns || this.items[0]) === null || _ref2 === void 0 ? void 0 : _ref2.length) || 0 : ((_this$items = this.items) === null || _this$items === void 0 ? void 0 : _this$items.length) || 0, last) : 0;
|
|
519
|
-
},
|
|
520
|
-
getContentPosition: function getContentPosition() {
|
|
521
|
-
if (this.content) {
|
|
522
|
-
var style = getComputedStyle(this.content);
|
|
523
|
-
var left = parseFloat(style.paddingLeft) + Math.max(parseFloat(style.left) || 0, 0);
|
|
524
|
-
var right = parseFloat(style.paddingRight) + Math.max(parseFloat(style.right) || 0, 0);
|
|
525
|
-
var top = parseFloat(style.paddingTop) + Math.max(parseFloat(style.top) || 0, 0);
|
|
526
|
-
var bottom = parseFloat(style.paddingBottom) + Math.max(parseFloat(style.bottom) || 0, 0);
|
|
527
|
-
return {
|
|
528
|
-
left,
|
|
529
|
-
right,
|
|
530
|
-
top,
|
|
531
|
-
bottom,
|
|
532
|
-
x: left + right,
|
|
533
|
-
y: top + bottom
|
|
534
|
-
};
|
|
535
|
-
}
|
|
536
|
-
return {
|
|
537
|
-
left: 0,
|
|
538
|
-
right: 0,
|
|
539
|
-
top: 0,
|
|
540
|
-
bottom: 0,
|
|
541
|
-
x: 0,
|
|
542
|
-
y: 0
|
|
543
|
-
};
|
|
544
|
-
},
|
|
545
|
-
setSize: function setSize() {
|
|
546
|
-
var _this5 = this;
|
|
547
|
-
if (this.element) {
|
|
548
|
-
var both = this.isBoth();
|
|
549
|
-
var horizontal = this.isHorizontal();
|
|
550
|
-
var parentElement = this.element.parentElement;
|
|
551
|
-
var width = this.scrollWidth || "".concat(this.element.offsetWidth || parentElement.offsetWidth, "px");
|
|
552
|
-
var height = this.scrollHeight || "".concat(this.element.offsetHeight || parentElement.offsetHeight, "px");
|
|
553
|
-
var setProp = function setProp2(_name, _value) {
|
|
554
|
-
return _this5.element.style[_name] = _value;
|
|
555
|
-
};
|
|
556
|
-
if (both || horizontal) {
|
|
557
|
-
setProp("height", height);
|
|
558
|
-
setProp("width", width);
|
|
559
|
-
} else {
|
|
560
|
-
setProp("height", height);
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
},
|
|
564
|
-
setSpacerSize: function setSpacerSize() {
|
|
565
|
-
var _this6 = this;
|
|
566
|
-
var items2 = this.items;
|
|
567
|
-
if (items2) {
|
|
568
|
-
var both = this.isBoth();
|
|
569
|
-
var horizontal = this.isHorizontal();
|
|
570
|
-
var contentPos = this.getContentPosition();
|
|
571
|
-
var setProp = function setProp2(_name, _value, _size) {
|
|
572
|
-
var _cpos = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0;
|
|
573
|
-
return _this6.spacerStyle = _objectSpread(_objectSpread({}, _this6.spacerStyle), _defineProperty({}, "".concat(_name), (_value || []).length * _size + _cpos + "px"));
|
|
574
|
-
};
|
|
575
|
-
if (both) {
|
|
576
|
-
setProp("height", items2, this.itemSize[0], contentPos.y);
|
|
577
|
-
setProp("width", this.columns || items2[1], this.itemSize[1], contentPos.x);
|
|
578
|
-
} else {
|
|
579
|
-
horizontal ? setProp("width", this.columns || items2, this.itemSize, contentPos.x) : setProp("height", items2, this.itemSize, contentPos.y);
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
},
|
|
583
|
-
setContentPosition: function setContentPosition(pos) {
|
|
584
|
-
var _this7 = this;
|
|
585
|
-
if (this.content && !this.appendOnly) {
|
|
586
|
-
var both = this.isBoth();
|
|
587
|
-
var horizontal = this.isHorizontal();
|
|
588
|
-
var first = pos ? pos.first : this.first;
|
|
589
|
-
var calculateTranslateVal = function calculateTranslateVal2(_first, _size) {
|
|
590
|
-
return _first * _size;
|
|
591
|
-
};
|
|
592
|
-
var setTransform = function setTransform2() {
|
|
593
|
-
var _x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
|
|
594
|
-
var _y = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
|
|
595
|
-
return _this7.contentStyle = _objectSpread(_objectSpread({}, _this7.contentStyle), {
|
|
596
|
-
transform: "translate3d(".concat(_x, "px, ").concat(_y, "px, 0)")
|
|
597
|
-
});
|
|
598
|
-
};
|
|
599
|
-
if (both) {
|
|
600
|
-
setTransform(calculateTranslateVal(first.cols, this.itemSize[1]), calculateTranslateVal(first.rows, this.itemSize[0]));
|
|
601
|
-
} else {
|
|
602
|
-
var translateVal = calculateTranslateVal(first, this.itemSize);
|
|
603
|
-
horizontal ? setTransform(translateVal, 0) : setTransform(0, translateVal);
|
|
604
|
-
}
|
|
605
|
-
}
|
|
606
|
-
},
|
|
607
|
-
onScrollPositionChange: function onScrollPositionChange(event) {
|
|
608
|
-
var _this8 = this;
|
|
609
|
-
var target = event.target;
|
|
610
|
-
var both = this.isBoth();
|
|
611
|
-
var horizontal = this.isHorizontal();
|
|
612
|
-
var contentPos = this.getContentPosition();
|
|
613
|
-
var calculateScrollPos = function calculateScrollPos2(_pos, _cpos) {
|
|
614
|
-
return _pos ? _pos > _cpos ? _pos - _cpos : _pos : 0;
|
|
615
|
-
};
|
|
616
|
-
var calculateCurrentIndex = function calculateCurrentIndex2(_pos, _size) {
|
|
617
|
-
return Math.floor(_pos / (_size || _pos));
|
|
618
|
-
};
|
|
619
|
-
var calculateTriggerIndex = function calculateTriggerIndex2(_currentIndex, _first, _last, _num, _numT, _isScrollDownOrRight) {
|
|
620
|
-
return _currentIndex <= _numT ? _numT : _isScrollDownOrRight ? _last - _num - _numT : _first + _numT - 1;
|
|
621
|
-
};
|
|
622
|
-
var calculateFirst = function calculateFirst2(_currentIndex, _triggerIndex, _first, _last, _num, _numT, _isScrollDownOrRight) {
|
|
623
|
-
if (_currentIndex <= _numT) return 0;
|
|
624
|
-
else return Math.max(0, _isScrollDownOrRight ? _currentIndex < _triggerIndex ? _first : _currentIndex - _numT : _currentIndex > _triggerIndex ? _first : _currentIndex - 2 * _numT);
|
|
625
|
-
};
|
|
626
|
-
var calculateLast = function calculateLast2(_currentIndex, _first, _last, _num, _numT, _isCols) {
|
|
627
|
-
var lastValue = _first + _num + 2 * _numT;
|
|
628
|
-
if (_currentIndex >= _numT) {
|
|
629
|
-
lastValue += _numT + 1;
|
|
630
|
-
}
|
|
631
|
-
return _this8.getLast(lastValue, _isCols);
|
|
632
|
-
};
|
|
633
|
-
var scrollTop = calculateScrollPos(target.scrollTop, contentPos.top);
|
|
634
|
-
var scrollLeft = calculateScrollPos(target.scrollLeft, contentPos.left);
|
|
635
|
-
var newFirst = both ? {
|
|
636
|
-
rows: 0,
|
|
637
|
-
cols: 0
|
|
638
|
-
} : 0;
|
|
639
|
-
var newLast = this.last;
|
|
640
|
-
var isRangeChanged = false;
|
|
641
|
-
var newScrollPos = this.lastScrollPos;
|
|
642
|
-
if (both) {
|
|
643
|
-
var isScrollDown = this.lastScrollPos.top <= scrollTop;
|
|
644
|
-
var isScrollRight = this.lastScrollPos.left <= scrollLeft;
|
|
645
|
-
if (!this.appendOnly || this.appendOnly && (isScrollDown || isScrollRight)) {
|
|
646
|
-
var currentIndex = {
|
|
647
|
-
rows: calculateCurrentIndex(scrollTop, this.itemSize[0]),
|
|
648
|
-
cols: calculateCurrentIndex(scrollLeft, this.itemSize[1])
|
|
649
|
-
};
|
|
650
|
-
var triggerIndex = {
|
|
651
|
-
rows: calculateTriggerIndex(currentIndex.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], isScrollDown),
|
|
652
|
-
cols: calculateTriggerIndex(currentIndex.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], isScrollRight)
|
|
653
|
-
};
|
|
654
|
-
newFirst = {
|
|
655
|
-
rows: calculateFirst(currentIndex.rows, triggerIndex.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], isScrollDown),
|
|
656
|
-
cols: calculateFirst(currentIndex.cols, triggerIndex.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], isScrollRight)
|
|
657
|
-
};
|
|
658
|
-
newLast = {
|
|
659
|
-
rows: calculateLast(currentIndex.rows, newFirst.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0]),
|
|
660
|
-
cols: calculateLast(currentIndex.cols, newFirst.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], true)
|
|
661
|
-
};
|
|
662
|
-
isRangeChanged = newFirst.rows !== this.first.rows || newLast.rows !== this.last.rows || newFirst.cols !== this.first.cols || newLast.cols !== this.last.cols || this.isRangeChanged;
|
|
663
|
-
newScrollPos = {
|
|
664
|
-
top: scrollTop,
|
|
665
|
-
left: scrollLeft
|
|
666
|
-
};
|
|
667
|
-
}
|
|
668
|
-
} else {
|
|
669
|
-
var scrollPos = horizontal ? scrollLeft : scrollTop;
|
|
670
|
-
var isScrollDownOrRight = this.lastScrollPos <= scrollPos;
|
|
671
|
-
if (!this.appendOnly || this.appendOnly && isScrollDownOrRight) {
|
|
672
|
-
var _currentIndex2 = calculateCurrentIndex(scrollPos, this.itemSize);
|
|
673
|
-
var _triggerIndex2 = calculateTriggerIndex(_currentIndex2, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, isScrollDownOrRight);
|
|
674
|
-
newFirst = calculateFirst(_currentIndex2, _triggerIndex2, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, isScrollDownOrRight);
|
|
675
|
-
newLast = calculateLast(_currentIndex2, newFirst, this.last, this.numItemsInViewport, this.d_numToleratedItems);
|
|
676
|
-
isRangeChanged = newFirst !== this.first || newLast !== this.last || this.isRangeChanged;
|
|
677
|
-
newScrollPos = scrollPos;
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
return {
|
|
681
|
-
first: newFirst,
|
|
682
|
-
last: newLast,
|
|
683
|
-
isRangeChanged,
|
|
684
|
-
scrollPos: newScrollPos
|
|
685
|
-
};
|
|
686
|
-
},
|
|
687
|
-
onScrollChange: function onScrollChange(event) {
|
|
688
|
-
var _this$onScrollPositio = this.onScrollPositionChange(event), first = _this$onScrollPositio.first, last = _this$onScrollPositio.last, isRangeChanged = _this$onScrollPositio.isRangeChanged, scrollPos = _this$onScrollPositio.scrollPos;
|
|
689
|
-
if (isRangeChanged) {
|
|
690
|
-
var newState = {
|
|
691
|
-
first,
|
|
692
|
-
last
|
|
693
|
-
};
|
|
694
|
-
this.setContentPosition(newState);
|
|
695
|
-
this.first = first;
|
|
696
|
-
this.last = last;
|
|
697
|
-
this.lastScrollPos = scrollPos;
|
|
698
|
-
this.$emit("scroll-index-change", newState);
|
|
699
|
-
if (this.lazy && this.isPageChanged(first)) {
|
|
700
|
-
var _this$items2, _this$items3;
|
|
701
|
-
var lazyLoadState = {
|
|
702
|
-
first: this.step ? Math.min(this.getPageByFirst(first) * this.step, (((_this$items2 = this.items) === null || _this$items2 === void 0 ? void 0 : _this$items2.length) || 0) - this.step) : first,
|
|
703
|
-
last: Math.min(this.step ? (this.getPageByFirst(first) + 1) * this.step : last, ((_this$items3 = this.items) === null || _this$items3 === void 0 ? void 0 : _this$items3.length) || 0)
|
|
704
|
-
};
|
|
705
|
-
var isLazyStateChanged = this.lazyLoadState.first !== lazyLoadState.first || this.lazyLoadState.last !== lazyLoadState.last;
|
|
706
|
-
isLazyStateChanged && this.$emit("lazy-load", lazyLoadState);
|
|
707
|
-
this.lazyLoadState = lazyLoadState;
|
|
708
|
-
}
|
|
709
|
-
}
|
|
710
|
-
},
|
|
711
|
-
onScroll: function onScroll(event) {
|
|
712
|
-
var _this9 = this;
|
|
713
|
-
this.$emit("scroll", event);
|
|
714
|
-
if (this.delay) {
|
|
715
|
-
if (this.scrollTimeout) {
|
|
716
|
-
clearTimeout(this.scrollTimeout);
|
|
717
|
-
}
|
|
718
|
-
if (this.isPageChanged()) {
|
|
719
|
-
if (!this.d_loading && this.showLoader) {
|
|
720
|
-
var _this$onScrollPositio2 = this.onScrollPositionChange(event), isRangeChanged = _this$onScrollPositio2.isRangeChanged;
|
|
721
|
-
var changed = isRangeChanged || (this.step ? this.isPageChanged() : false);
|
|
722
|
-
changed && (this.d_loading = true);
|
|
723
|
-
}
|
|
724
|
-
this.scrollTimeout = setTimeout(function() {
|
|
725
|
-
_this9.onScrollChange(event);
|
|
726
|
-
if (_this9.d_loading && _this9.showLoader && (!_this9.lazy || _this9.loading === void 0)) {
|
|
727
|
-
_this9.d_loading = false;
|
|
728
|
-
_this9.page = _this9.getPageByFirst();
|
|
729
|
-
}
|
|
730
|
-
}, this.delay);
|
|
731
|
-
}
|
|
732
|
-
} else {
|
|
733
|
-
this.onScrollChange(event);
|
|
734
|
-
}
|
|
735
|
-
},
|
|
736
|
-
onResize: function onResize() {
|
|
737
|
-
var _this10 = this;
|
|
738
|
-
if (this.resizeTimeout) {
|
|
739
|
-
clearTimeout(this.resizeTimeout);
|
|
740
|
-
}
|
|
741
|
-
this.resizeTimeout = setTimeout(function() {
|
|
742
|
-
if (DomHandler.isVisible(_this10.element)) {
|
|
743
|
-
var both = _this10.isBoth();
|
|
744
|
-
var vertical = _this10.isVertical();
|
|
745
|
-
var horizontal = _this10.isHorizontal();
|
|
746
|
-
var _ref3 = [DomHandler.getWidth(_this10.element), DomHandler.getHeight(_this10.element)], width = _ref3[0], height = _ref3[1];
|
|
747
|
-
var isDiffWidth = width !== _this10.defaultWidth, isDiffHeight = height !== _this10.defaultHeight;
|
|
748
|
-
var reinit = both ? isDiffWidth || isDiffHeight : horizontal ? isDiffWidth : vertical ? isDiffHeight : false;
|
|
749
|
-
if (reinit) {
|
|
750
|
-
_this10.d_numToleratedItems = _this10.numToleratedItems;
|
|
751
|
-
_this10.defaultWidth = width;
|
|
752
|
-
_this10.defaultHeight = height;
|
|
753
|
-
_this10.defaultContentWidth = DomHandler.getWidth(_this10.content);
|
|
754
|
-
_this10.defaultContentHeight = DomHandler.getHeight(_this10.content);
|
|
755
|
-
_this10.init();
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
}, this.resizeDelay);
|
|
759
|
-
},
|
|
760
|
-
bindResizeListener: function bindResizeListener() {
|
|
761
|
-
if (!this.resizeListener) {
|
|
762
|
-
this.resizeListener = this.onResize.bind(this);
|
|
763
|
-
window.addEventListener("resize", this.resizeListener);
|
|
764
|
-
window.addEventListener("orientationchange", this.resizeListener);
|
|
765
|
-
}
|
|
766
|
-
},
|
|
767
|
-
unbindResizeListener: function unbindResizeListener() {
|
|
768
|
-
if (this.resizeListener) {
|
|
769
|
-
window.removeEventListener("resize", this.resizeListener);
|
|
770
|
-
window.removeEventListener("orientationchange", this.resizeListener);
|
|
771
|
-
this.resizeListener = null;
|
|
772
|
-
}
|
|
773
|
-
},
|
|
774
|
-
getOptions: function getOptions(renderedIndex) {
|
|
775
|
-
var count = (this.items || []).length;
|
|
776
|
-
var index = this.isBoth() ? this.first.rows + renderedIndex : this.first + renderedIndex;
|
|
777
|
-
return {
|
|
778
|
-
index,
|
|
779
|
-
count,
|
|
780
|
-
first: index === 0,
|
|
781
|
-
last: index === count - 1,
|
|
782
|
-
even: index % 2 === 0,
|
|
783
|
-
odd: index % 2 !== 0
|
|
784
|
-
};
|
|
785
|
-
},
|
|
786
|
-
getLoaderOptions: function getLoaderOptions(index, extOptions) {
|
|
787
|
-
var count = this.loaderArr.length;
|
|
788
|
-
return _objectSpread({
|
|
789
|
-
index,
|
|
790
|
-
count,
|
|
791
|
-
first: index === 0,
|
|
792
|
-
last: index === count - 1,
|
|
793
|
-
even: index % 2 === 0,
|
|
794
|
-
odd: index % 2 !== 0
|
|
795
|
-
}, extOptions);
|
|
796
|
-
},
|
|
797
|
-
getPageByFirst: function getPageByFirst(first) {
|
|
798
|
-
return Math.floor(((first !== null && first !== void 0 ? first : this.first) + this.d_numToleratedItems * 4) / (this.step || 1));
|
|
799
|
-
},
|
|
800
|
-
isPageChanged: function isPageChanged(first) {
|
|
801
|
-
return this.step ? this.page !== this.getPageByFirst(first !== null && first !== void 0 ? first : this.first) : true;
|
|
802
|
-
},
|
|
803
|
-
setContentEl: function setContentEl(el) {
|
|
804
|
-
this.content = el || this.content || DomHandler.findSingle(this.element, '[data-pc-section="content"]');
|
|
805
|
-
},
|
|
806
|
-
elementRef: function elementRef(el) {
|
|
807
|
-
this.element = el;
|
|
808
|
-
},
|
|
809
|
-
contentRef: function contentRef(el) {
|
|
810
|
-
this.content = el;
|
|
811
|
-
}
|
|
812
|
-
},
|
|
813
|
-
computed: {
|
|
814
|
-
containerClass: function containerClass() {
|
|
815
|
-
return ["p-virtualscroller", this["class"], {
|
|
816
|
-
"p-virtualscroller-inline": this.inline,
|
|
817
|
-
"p-virtualscroller-both p-both-scroll": this.isBoth(),
|
|
818
|
-
"p-virtualscroller-horizontal p-horizontal-scroll": this.isHorizontal()
|
|
819
|
-
}];
|
|
820
|
-
},
|
|
821
|
-
contentClass: function contentClass() {
|
|
822
|
-
return ["p-virtualscroller-content", {
|
|
823
|
-
"p-virtualscroller-loading": this.d_loading
|
|
824
|
-
}];
|
|
825
|
-
},
|
|
826
|
-
loaderClass: function loaderClass() {
|
|
827
|
-
return ["p-virtualscroller-loader", {
|
|
828
|
-
"p-component-overlay": !this.$slots.loader
|
|
829
|
-
}];
|
|
830
|
-
},
|
|
831
|
-
loadedItems: function loadedItems() {
|
|
832
|
-
var _this11 = this;
|
|
833
|
-
if (this.items && !this.d_loading) {
|
|
834
|
-
if (this.isBoth()) return this.items.slice(this.appendOnly ? 0 : this.first.rows, this.last.rows).map(function(item) {
|
|
835
|
-
return _this11.columns ? item : item.slice(_this11.appendOnly ? 0 : _this11.first.cols, _this11.last.cols);
|
|
836
|
-
});
|
|
837
|
-
else if (this.isHorizontal() && this.columns) return this.items;
|
|
838
|
-
else return this.items.slice(this.appendOnly ? 0 : this.first, this.last);
|
|
839
|
-
}
|
|
840
|
-
return [];
|
|
841
|
-
},
|
|
842
|
-
loadedRows: function loadedRows() {
|
|
843
|
-
return this.d_loading ? this.loaderDisabled ? this.loaderArr : [] : this.loadedItems;
|
|
844
|
-
},
|
|
845
|
-
loadedColumns: function loadedColumns() {
|
|
846
|
-
if (this.columns) {
|
|
847
|
-
var both = this.isBoth();
|
|
848
|
-
var horizontal = this.isHorizontal();
|
|
849
|
-
if (both || horizontal) {
|
|
850
|
-
return this.d_loading && this.loaderDisabled ? both ? this.loaderArr[0] : this.loaderArr : this.columns.slice(both ? this.first.cols : this.first, both ? this.last.cols : this.last);
|
|
851
|
-
}
|
|
852
|
-
}
|
|
853
|
-
return this.columns;
|
|
854
|
-
}
|
|
855
|
-
},
|
|
856
|
-
components: {
|
|
857
|
-
SpinnerIcon: script$2
|
|
858
|
-
}
|
|
859
|
-
};
|
|
860
|
-
var _hoisted_1 = ["tabindex"];
|
|
861
|
-
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
862
|
-
var _component_SpinnerIcon = resolveComponent("SpinnerIcon");
|
|
863
|
-
return !_ctx.disabled ? (openBlock(), createElementBlock("div", mergeProps({
|
|
864
|
-
key: 0,
|
|
865
|
-
ref: $options.elementRef,
|
|
866
|
-
"class": $options.containerClass,
|
|
867
|
-
tabindex: _ctx.tabindex,
|
|
868
|
-
style: _ctx.style,
|
|
869
|
-
onScroll: _cache[0] || (_cache[0] = function() {
|
|
870
|
-
return $options.onScroll && $options.onScroll.apply($options, arguments);
|
|
871
|
-
})
|
|
872
|
-
}, _ctx.ptmi("root")), [renderSlot(_ctx.$slots, "content", {
|
|
873
|
-
styleClass: $options.contentClass,
|
|
874
|
-
items: $options.loadedItems,
|
|
875
|
-
getItemOptions: $options.getOptions,
|
|
876
|
-
loading: $data.d_loading,
|
|
877
|
-
getLoaderOptions: $options.getLoaderOptions,
|
|
878
|
-
itemSize: _ctx.itemSize,
|
|
879
|
-
rows: $options.loadedRows,
|
|
880
|
-
columns: $options.loadedColumns,
|
|
881
|
-
contentRef: $options.contentRef,
|
|
882
|
-
spacerStyle: $data.spacerStyle,
|
|
883
|
-
contentStyle: $data.contentStyle,
|
|
884
|
-
vertical: $options.isVertical(),
|
|
885
|
-
horizontal: $options.isHorizontal(),
|
|
886
|
-
both: $options.isBoth()
|
|
887
|
-
}, function() {
|
|
888
|
-
return [createElementVNode("div", mergeProps({
|
|
889
|
-
ref: $options.contentRef,
|
|
890
|
-
"class": $options.contentClass,
|
|
891
|
-
style: $data.contentStyle
|
|
892
|
-
}, _ctx.ptm("content")), [(openBlock(true), createElementBlock(Fragment, null, renderList($options.loadedItems, function(item, index) {
|
|
893
|
-
return renderSlot(_ctx.$slots, "item", {
|
|
894
|
-
key: index,
|
|
895
|
-
item,
|
|
896
|
-
options: $options.getOptions(index)
|
|
897
|
-
});
|
|
898
|
-
}), 128))], 16)];
|
|
899
|
-
}), _ctx.showSpacer ? (openBlock(), createElementBlock("div", mergeProps({
|
|
900
|
-
key: 0,
|
|
901
|
-
"class": "p-virtualscroller-spacer",
|
|
902
|
-
style: $data.spacerStyle
|
|
903
|
-
}, _ctx.ptm("spacer")), null, 16)) : createCommentVNode("", true), !_ctx.loaderDisabled && _ctx.showLoader && $data.d_loading ? (openBlock(), createElementBlock("div", mergeProps({
|
|
904
|
-
key: 1,
|
|
905
|
-
"class": $options.loaderClass
|
|
906
|
-
}, _ctx.ptm("loader")), [_ctx.$slots && _ctx.$slots.loader ? (openBlock(true), createElementBlock(Fragment, {
|
|
907
|
-
key: 0
|
|
908
|
-
}, renderList($data.loaderArr, function(_, index) {
|
|
909
|
-
return renderSlot(_ctx.$slots, "loader", {
|
|
910
|
-
key: index,
|
|
911
|
-
options: $options.getLoaderOptions(index, $options.isBoth() && {
|
|
912
|
-
numCols: _ctx.d_numItemsInViewport.cols
|
|
913
|
-
})
|
|
914
|
-
});
|
|
915
|
-
}), 128)) : createCommentVNode("", true), renderSlot(_ctx.$slots, "loadingicon", {}, function() {
|
|
916
|
-
return [createVNode(_component_SpinnerIcon, mergeProps({
|
|
917
|
-
spin: "",
|
|
918
|
-
"class": "p-virtualscroller-loading-icon"
|
|
919
|
-
}, _ctx.ptm("loadingIcon")), null, 16)];
|
|
920
|
-
})], 16)) : createCommentVNode("", true)], 16, _hoisted_1)) : (openBlock(), createElementBlock(Fragment, {
|
|
921
|
-
key: 1
|
|
922
|
-
}, [renderSlot(_ctx.$slots, "default"), renderSlot(_ctx.$slots, "content", {
|
|
923
|
-
items: _ctx.items,
|
|
924
|
-
rows: _ctx.items,
|
|
925
|
-
columns: $options.loadedColumns
|
|
926
|
-
})], 64));
|
|
927
|
-
}
|
|
928
|
-
script.render = render;
|
|
929
|
-
export {
|
|
930
|
-
script as s
|
|
931
|
-
};
|