@fewangsit/wangsvue 1.5.219-alpha.2 → 1.5.219-alpha.3
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.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,1443 +0,0 @@
|
|
|
1
|
-
import { a as FilterService } from "../api/api.esm.es.js";
|
|
2
|
-
import { s as script$2 } from "../icons/blank/index.esm.es.js";
|
|
3
|
-
import { s as script$3 } from "../icons/check/index.esm.es.js";
|
|
4
|
-
import { s as script$6 } from "../icons/chevrondown/index.esm.es.js";
|
|
5
|
-
import { s as script$4 } from "../icons/search/index.esm.es.js";
|
|
6
|
-
import { s as script$5 } from "../icons/spinner/index.esm.es.js";
|
|
7
|
-
import { s as script$7 } from "../icons/times/index.esm.es.js";
|
|
8
|
-
import { O as OverlayEventBus } from "../overlayeventbus/overlayeventbus.esm.es.js";
|
|
9
|
-
import { s as script$8 } from "../portal/portal.esm.es.js";
|
|
10
|
-
import { R as Ripple } from "../ripple/ripple.esm.es.js";
|
|
11
|
-
import { O as ObjectUtils, D as DomHandler, C as ConnectedOverlayScrollHandler, Z as ZIndexUtils, U as UniqueComponentId } from "../utils/utils.esm.es.js";
|
|
12
|
-
import { s as script$9 } from "../virtualscroller/virtualscroller.esm.es.js";
|
|
13
|
-
import { s as script$a } from "../basecomponent/basecomponent.esm.es.js";
|
|
14
|
-
import { D as DropdownStyle } from "./style/dropdownstyle.esm.es.js";
|
|
15
|
-
import { resolveComponent, resolveDirective, createElementBlock, openBlock, mergeProps, renderSlot, createCommentVNode, createElementVNode, createVNode, createTextVNode, toDisplayString, normalizeClass, createBlock, resolveDynamicComponent, withCtx, Transition, createSlots, Fragment, renderList, withDirectives } from "vue";
|
|
16
|
-
var script$1 = {
|
|
17
|
-
name: "BaseDropdown",
|
|
18
|
-
"extends": script$a,
|
|
19
|
-
props: {
|
|
20
|
-
modelValue: null,
|
|
21
|
-
options: Array,
|
|
22
|
-
optionLabel: [String, Function],
|
|
23
|
-
optionValue: [String, Function],
|
|
24
|
-
optionDisabled: [String, Function],
|
|
25
|
-
optionGroupLabel: [String, Function],
|
|
26
|
-
optionGroupChildren: [String, Function],
|
|
27
|
-
scrollHeight: {
|
|
28
|
-
type: String,
|
|
29
|
-
"default": "200px"
|
|
30
|
-
},
|
|
31
|
-
filter: Boolean,
|
|
32
|
-
filterPlaceholder: String,
|
|
33
|
-
filterLocale: String,
|
|
34
|
-
filterMatchMode: {
|
|
35
|
-
type: String,
|
|
36
|
-
"default": "contains"
|
|
37
|
-
},
|
|
38
|
-
filterFields: {
|
|
39
|
-
type: Array,
|
|
40
|
-
"default": null
|
|
41
|
-
},
|
|
42
|
-
editable: Boolean,
|
|
43
|
-
placeholder: {
|
|
44
|
-
type: String,
|
|
45
|
-
"default": null
|
|
46
|
-
},
|
|
47
|
-
variant: {
|
|
48
|
-
type: String,
|
|
49
|
-
"default": null
|
|
50
|
-
},
|
|
51
|
-
invalid: {
|
|
52
|
-
type: Boolean,
|
|
53
|
-
"default": false
|
|
54
|
-
},
|
|
55
|
-
disabled: {
|
|
56
|
-
type: Boolean,
|
|
57
|
-
"default": false
|
|
58
|
-
},
|
|
59
|
-
dataKey: null,
|
|
60
|
-
showClear: {
|
|
61
|
-
type: Boolean,
|
|
62
|
-
"default": false
|
|
63
|
-
},
|
|
64
|
-
inputId: {
|
|
65
|
-
type: String,
|
|
66
|
-
"default": null
|
|
67
|
-
},
|
|
68
|
-
inputClass: {
|
|
69
|
-
type: [String, Object],
|
|
70
|
-
"default": null
|
|
71
|
-
},
|
|
72
|
-
inputStyle: {
|
|
73
|
-
type: Object,
|
|
74
|
-
"default": null
|
|
75
|
-
},
|
|
76
|
-
inputProps: {
|
|
77
|
-
type: null,
|
|
78
|
-
"default": null
|
|
79
|
-
},
|
|
80
|
-
panelClass: {
|
|
81
|
-
type: [String, Object],
|
|
82
|
-
"default": null
|
|
83
|
-
},
|
|
84
|
-
panelStyle: {
|
|
85
|
-
type: Object,
|
|
86
|
-
"default": null
|
|
87
|
-
},
|
|
88
|
-
panelProps: {
|
|
89
|
-
type: null,
|
|
90
|
-
"default": null
|
|
91
|
-
},
|
|
92
|
-
filterInputProps: {
|
|
93
|
-
type: null,
|
|
94
|
-
"default": null
|
|
95
|
-
},
|
|
96
|
-
clearIconProps: {
|
|
97
|
-
type: null,
|
|
98
|
-
"default": null
|
|
99
|
-
},
|
|
100
|
-
appendTo: {
|
|
101
|
-
type: [String, Object],
|
|
102
|
-
"default": "body"
|
|
103
|
-
},
|
|
104
|
-
loading: {
|
|
105
|
-
type: Boolean,
|
|
106
|
-
"default": false
|
|
107
|
-
},
|
|
108
|
-
clearIcon: {
|
|
109
|
-
type: String,
|
|
110
|
-
"default": void 0
|
|
111
|
-
},
|
|
112
|
-
dropdownIcon: {
|
|
113
|
-
type: String,
|
|
114
|
-
"default": void 0
|
|
115
|
-
},
|
|
116
|
-
filterIcon: {
|
|
117
|
-
type: String,
|
|
118
|
-
"default": void 0
|
|
119
|
-
},
|
|
120
|
-
loadingIcon: {
|
|
121
|
-
type: String,
|
|
122
|
-
"default": void 0
|
|
123
|
-
},
|
|
124
|
-
resetFilterOnHide: {
|
|
125
|
-
type: Boolean,
|
|
126
|
-
"default": false
|
|
127
|
-
},
|
|
128
|
-
resetFilterOnClear: {
|
|
129
|
-
type: Boolean,
|
|
130
|
-
"default": false
|
|
131
|
-
},
|
|
132
|
-
virtualScrollerOptions: {
|
|
133
|
-
type: Object,
|
|
134
|
-
"default": null
|
|
135
|
-
},
|
|
136
|
-
autoOptionFocus: {
|
|
137
|
-
type: Boolean,
|
|
138
|
-
"default": false
|
|
139
|
-
},
|
|
140
|
-
autoFilterFocus: {
|
|
141
|
-
type: Boolean,
|
|
142
|
-
"default": false
|
|
143
|
-
},
|
|
144
|
-
selectOnFocus: {
|
|
145
|
-
type: Boolean,
|
|
146
|
-
"default": false
|
|
147
|
-
},
|
|
148
|
-
focusOnHover: {
|
|
149
|
-
type: Boolean,
|
|
150
|
-
"default": true
|
|
151
|
-
},
|
|
152
|
-
highlightOnSelect: {
|
|
153
|
-
type: Boolean,
|
|
154
|
-
"default": true
|
|
155
|
-
},
|
|
156
|
-
checkmark: {
|
|
157
|
-
type: Boolean,
|
|
158
|
-
"default": false
|
|
159
|
-
},
|
|
160
|
-
filterMessage: {
|
|
161
|
-
type: String,
|
|
162
|
-
"default": null
|
|
163
|
-
},
|
|
164
|
-
selectionMessage: {
|
|
165
|
-
type: String,
|
|
166
|
-
"default": null
|
|
167
|
-
},
|
|
168
|
-
emptySelectionMessage: {
|
|
169
|
-
type: String,
|
|
170
|
-
"default": null
|
|
171
|
-
},
|
|
172
|
-
emptyFilterMessage: {
|
|
173
|
-
type: String,
|
|
174
|
-
"default": null
|
|
175
|
-
},
|
|
176
|
-
emptyMessage: {
|
|
177
|
-
type: String,
|
|
178
|
-
"default": null
|
|
179
|
-
},
|
|
180
|
-
tabindex: {
|
|
181
|
-
type: Number,
|
|
182
|
-
"default": 0
|
|
183
|
-
},
|
|
184
|
-
ariaLabel: {
|
|
185
|
-
type: String,
|
|
186
|
-
"default": null
|
|
187
|
-
},
|
|
188
|
-
ariaLabelledby: {
|
|
189
|
-
type: String,
|
|
190
|
-
"default": null
|
|
191
|
-
}
|
|
192
|
-
},
|
|
193
|
-
style: DropdownStyle,
|
|
194
|
-
provide: function provide() {
|
|
195
|
-
return {
|
|
196
|
-
$parentInstance: this
|
|
197
|
-
};
|
|
198
|
-
}
|
|
199
|
-
};
|
|
200
|
-
function _typeof$1(o) {
|
|
201
|
-
"@babel/helpers - typeof";
|
|
202
|
-
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
203
|
-
return typeof o2;
|
|
204
|
-
} : function(o2) {
|
|
205
|
-
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
206
|
-
}, _typeof$1(o);
|
|
207
|
-
}
|
|
208
|
-
function _toConsumableArray(arr) {
|
|
209
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
210
|
-
}
|
|
211
|
-
function _nonIterableSpread() {
|
|
212
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
213
|
-
}
|
|
214
|
-
function _unsupportedIterableToArray(o, minLen) {
|
|
215
|
-
if (!o) return;
|
|
216
|
-
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
217
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
218
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
219
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
220
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
221
|
-
}
|
|
222
|
-
function _iterableToArray(iter) {
|
|
223
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
224
|
-
}
|
|
225
|
-
function _arrayWithoutHoles(arr) {
|
|
226
|
-
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
227
|
-
}
|
|
228
|
-
function _arrayLikeToArray(arr, len) {
|
|
229
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
230
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
231
|
-
return arr2;
|
|
232
|
-
}
|
|
233
|
-
function ownKeys$1(e, r) {
|
|
234
|
-
var t = Object.keys(e);
|
|
235
|
-
if (Object.getOwnPropertySymbols) {
|
|
236
|
-
var o = Object.getOwnPropertySymbols(e);
|
|
237
|
-
r && (o = o.filter(function(r2) {
|
|
238
|
-
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
239
|
-
})), t.push.apply(t, o);
|
|
240
|
-
}
|
|
241
|
-
return t;
|
|
242
|
-
}
|
|
243
|
-
function _objectSpread$1(e) {
|
|
244
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
245
|
-
var t = null != arguments[r] ? arguments[r] : {};
|
|
246
|
-
r % 2 ? ownKeys$1(Object(t), true).forEach(function(r2) {
|
|
247
|
-
_defineProperty$1(e, r2, t[r2]);
|
|
248
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function(r2) {
|
|
249
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
|
|
250
|
-
});
|
|
251
|
-
}
|
|
252
|
-
return e;
|
|
253
|
-
}
|
|
254
|
-
function _defineProperty$1(obj, key, value) {
|
|
255
|
-
key = _toPropertyKey$1(key);
|
|
256
|
-
if (key in obj) {
|
|
257
|
-
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
258
|
-
} else {
|
|
259
|
-
obj[key] = value;
|
|
260
|
-
}
|
|
261
|
-
return obj;
|
|
262
|
-
}
|
|
263
|
-
function _toPropertyKey$1(t) {
|
|
264
|
-
var i = _toPrimitive$1(t, "string");
|
|
265
|
-
return "symbol" == _typeof$1(i) ? i : String(i);
|
|
266
|
-
}
|
|
267
|
-
function _toPrimitive$1(t, r) {
|
|
268
|
-
if ("object" != _typeof$1(t) || !t) return t;
|
|
269
|
-
var e = t[Symbol.toPrimitive];
|
|
270
|
-
if (void 0 !== e) {
|
|
271
|
-
var i = e.call(t, r);
|
|
272
|
-
if ("object" != _typeof$1(i)) return i;
|
|
273
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
274
|
-
}
|
|
275
|
-
return ("string" === r ? String : Number)(t);
|
|
276
|
-
}
|
|
277
|
-
var script = {
|
|
278
|
-
name: "Dropdown",
|
|
279
|
-
"extends": script$1,
|
|
280
|
-
inheritAttrs: false,
|
|
281
|
-
emits: ["update:modelValue", "change", "focus", "blur", "before-show", "before-hide", "show", "hide", "filter"],
|
|
282
|
-
outsideClickListener: null,
|
|
283
|
-
scrollHandler: null,
|
|
284
|
-
resizeListener: null,
|
|
285
|
-
labelClickListener: null,
|
|
286
|
-
overlay: null,
|
|
287
|
-
list: null,
|
|
288
|
-
virtualScroller: null,
|
|
289
|
-
searchTimeout: null,
|
|
290
|
-
searchValue: null,
|
|
291
|
-
isModelValueChanged: false,
|
|
292
|
-
data: function data() {
|
|
293
|
-
return {
|
|
294
|
-
id: this.$attrs.id,
|
|
295
|
-
clicked: false,
|
|
296
|
-
focused: false,
|
|
297
|
-
focusedOptionIndex: -1,
|
|
298
|
-
filterValue: null,
|
|
299
|
-
overlayVisible: false
|
|
300
|
-
};
|
|
301
|
-
},
|
|
302
|
-
watch: {
|
|
303
|
-
"$attrs.id": function $attrsId(newValue) {
|
|
304
|
-
this.id = newValue || UniqueComponentId();
|
|
305
|
-
},
|
|
306
|
-
modelValue: function modelValue() {
|
|
307
|
-
this.isModelValueChanged = true;
|
|
308
|
-
},
|
|
309
|
-
options: function options() {
|
|
310
|
-
this.autoUpdateModel();
|
|
311
|
-
}
|
|
312
|
-
},
|
|
313
|
-
mounted: function mounted() {
|
|
314
|
-
this.id = this.id || UniqueComponentId();
|
|
315
|
-
this.autoUpdateModel();
|
|
316
|
-
this.bindLabelClickListener();
|
|
317
|
-
},
|
|
318
|
-
updated: function updated() {
|
|
319
|
-
if (this.overlayVisible && this.isModelValueChanged) {
|
|
320
|
-
this.scrollInView(this.findSelectedOptionIndex());
|
|
321
|
-
}
|
|
322
|
-
this.isModelValueChanged = false;
|
|
323
|
-
},
|
|
324
|
-
beforeUnmount: function beforeUnmount() {
|
|
325
|
-
this.unbindOutsideClickListener();
|
|
326
|
-
this.unbindResizeListener();
|
|
327
|
-
this.unbindLabelClickListener();
|
|
328
|
-
if (this.scrollHandler) {
|
|
329
|
-
this.scrollHandler.destroy();
|
|
330
|
-
this.scrollHandler = null;
|
|
331
|
-
}
|
|
332
|
-
if (this.overlay) {
|
|
333
|
-
ZIndexUtils.clear(this.overlay);
|
|
334
|
-
this.overlay = null;
|
|
335
|
-
}
|
|
336
|
-
},
|
|
337
|
-
methods: {
|
|
338
|
-
getOptionIndex: function getOptionIndex(index, fn) {
|
|
339
|
-
return this.virtualScrollerDisabled ? index : fn && fn(index)["index"];
|
|
340
|
-
},
|
|
341
|
-
getOptionLabel: function getOptionLabel(option) {
|
|
342
|
-
return this.optionLabel ? ObjectUtils.resolveFieldData(option, this.optionLabel) : option;
|
|
343
|
-
},
|
|
344
|
-
getOptionValue: function getOptionValue(option) {
|
|
345
|
-
return this.optionValue ? ObjectUtils.resolveFieldData(option, this.optionValue) : option;
|
|
346
|
-
},
|
|
347
|
-
getOptionRenderKey: function getOptionRenderKey(option, index) {
|
|
348
|
-
return (this.dataKey ? ObjectUtils.resolveFieldData(option, this.dataKey) : this.getOptionLabel(option)) + "_" + index;
|
|
349
|
-
},
|
|
350
|
-
getPTItemOptions: function getPTItemOptions(option, itemOptions, index, key) {
|
|
351
|
-
return this.ptm(key, {
|
|
352
|
-
context: {
|
|
353
|
-
option,
|
|
354
|
-
index,
|
|
355
|
-
selected: this.isSelected(option),
|
|
356
|
-
focused: this.focusedOptionIndex === this.getOptionIndex(index, itemOptions),
|
|
357
|
-
disabled: this.isOptionDisabled(option)
|
|
358
|
-
}
|
|
359
|
-
});
|
|
360
|
-
},
|
|
361
|
-
isOptionDisabled: function isOptionDisabled(option) {
|
|
362
|
-
return this.optionDisabled ? ObjectUtils.resolveFieldData(option, this.optionDisabled) : false;
|
|
363
|
-
},
|
|
364
|
-
isOptionGroup: function isOptionGroup(option) {
|
|
365
|
-
return this.optionGroupLabel && option.optionGroup && option.group;
|
|
366
|
-
},
|
|
367
|
-
getOptionGroupLabel: function getOptionGroupLabel(optionGroup) {
|
|
368
|
-
return ObjectUtils.resolveFieldData(optionGroup, this.optionGroupLabel);
|
|
369
|
-
},
|
|
370
|
-
getOptionGroupChildren: function getOptionGroupChildren(optionGroup) {
|
|
371
|
-
return ObjectUtils.resolveFieldData(optionGroup, this.optionGroupChildren);
|
|
372
|
-
},
|
|
373
|
-
getAriaPosInset: function getAriaPosInset(index) {
|
|
374
|
-
var _this = this;
|
|
375
|
-
return (this.optionGroupLabel ? index - this.visibleOptions.slice(0, index).filter(function(option) {
|
|
376
|
-
return _this.isOptionGroup(option);
|
|
377
|
-
}).length : index) + 1;
|
|
378
|
-
},
|
|
379
|
-
show: function show(isFocus) {
|
|
380
|
-
this.$emit("before-show");
|
|
381
|
-
this.overlayVisible = true;
|
|
382
|
-
this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.editable ? -1 : this.findSelectedOptionIndex();
|
|
383
|
-
isFocus && DomHandler.focus(this.$refs.focusInput);
|
|
384
|
-
},
|
|
385
|
-
hide: function hide(isFocus) {
|
|
386
|
-
var _this2 = this;
|
|
387
|
-
var _hide = function _hide2() {
|
|
388
|
-
_this2.$emit("before-hide");
|
|
389
|
-
_this2.overlayVisible = false;
|
|
390
|
-
_this2.clicked = false;
|
|
391
|
-
_this2.focusedOptionIndex = -1;
|
|
392
|
-
_this2.searchValue = "";
|
|
393
|
-
_this2.resetFilterOnHide && (_this2.filterValue = null);
|
|
394
|
-
isFocus && DomHandler.focus(_this2.$refs.focusInput);
|
|
395
|
-
};
|
|
396
|
-
setTimeout(function() {
|
|
397
|
-
_hide();
|
|
398
|
-
}, 0);
|
|
399
|
-
},
|
|
400
|
-
onFocus: function onFocus(event) {
|
|
401
|
-
if (this.disabled) {
|
|
402
|
-
return;
|
|
403
|
-
}
|
|
404
|
-
this.focused = true;
|
|
405
|
-
if (this.overlayVisible) {
|
|
406
|
-
this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.editable ? -1 : this.findSelectedOptionIndex();
|
|
407
|
-
this.scrollInView(this.focusedOptionIndex);
|
|
408
|
-
}
|
|
409
|
-
this.$emit("focus", event);
|
|
410
|
-
},
|
|
411
|
-
onBlur: function onBlur(event) {
|
|
412
|
-
this.focused = false;
|
|
413
|
-
this.focusedOptionIndex = -1;
|
|
414
|
-
this.searchValue = "";
|
|
415
|
-
this.$emit("blur", event);
|
|
416
|
-
},
|
|
417
|
-
onKeyDown: function onKeyDown(event) {
|
|
418
|
-
if (this.disabled || DomHandler.isAndroid()) {
|
|
419
|
-
event.preventDefault();
|
|
420
|
-
return;
|
|
421
|
-
}
|
|
422
|
-
var metaKey = event.metaKey || event.ctrlKey;
|
|
423
|
-
switch (event.code) {
|
|
424
|
-
case "ArrowDown":
|
|
425
|
-
this.onArrowDownKey(event);
|
|
426
|
-
break;
|
|
427
|
-
case "ArrowUp":
|
|
428
|
-
this.onArrowUpKey(event, this.editable);
|
|
429
|
-
break;
|
|
430
|
-
case "ArrowLeft":
|
|
431
|
-
case "ArrowRight":
|
|
432
|
-
this.onArrowLeftKey(event, this.editable);
|
|
433
|
-
break;
|
|
434
|
-
case "Home":
|
|
435
|
-
this.onHomeKey(event, this.editable);
|
|
436
|
-
break;
|
|
437
|
-
case "End":
|
|
438
|
-
this.onEndKey(event, this.editable);
|
|
439
|
-
break;
|
|
440
|
-
case "PageDown":
|
|
441
|
-
this.onPageDownKey(event);
|
|
442
|
-
break;
|
|
443
|
-
case "PageUp":
|
|
444
|
-
this.onPageUpKey(event);
|
|
445
|
-
break;
|
|
446
|
-
case "Space":
|
|
447
|
-
this.onSpaceKey(event, this.editable);
|
|
448
|
-
break;
|
|
449
|
-
case "Enter":
|
|
450
|
-
case "NumpadEnter":
|
|
451
|
-
this.onEnterKey(event);
|
|
452
|
-
break;
|
|
453
|
-
case "Escape":
|
|
454
|
-
this.onEscapeKey(event);
|
|
455
|
-
break;
|
|
456
|
-
case "Tab":
|
|
457
|
-
this.onTabKey(event);
|
|
458
|
-
break;
|
|
459
|
-
case "Backspace":
|
|
460
|
-
this.onBackspaceKey(event, this.editable);
|
|
461
|
-
break;
|
|
462
|
-
case "ShiftLeft":
|
|
463
|
-
case "ShiftRight":
|
|
464
|
-
break;
|
|
465
|
-
default:
|
|
466
|
-
if (!metaKey && ObjectUtils.isPrintableCharacter(event.key)) {
|
|
467
|
-
!this.overlayVisible && this.show();
|
|
468
|
-
!this.editable && this.searchOptions(event, event.key);
|
|
469
|
-
}
|
|
470
|
-
break;
|
|
471
|
-
}
|
|
472
|
-
this.clicked = false;
|
|
473
|
-
},
|
|
474
|
-
onEditableInput: function onEditableInput(event) {
|
|
475
|
-
var value = event.target.value;
|
|
476
|
-
this.searchValue = "";
|
|
477
|
-
var matched = this.searchOptions(event, value);
|
|
478
|
-
!matched && (this.focusedOptionIndex = -1);
|
|
479
|
-
this.updateModel(event, value);
|
|
480
|
-
!this.overlayVisible && ObjectUtils.isNotEmpty(value) && this.show();
|
|
481
|
-
},
|
|
482
|
-
onContainerClick: function onContainerClick(event) {
|
|
483
|
-
if (this.disabled || this.loading) {
|
|
484
|
-
return;
|
|
485
|
-
}
|
|
486
|
-
if (event.target.tagName === "INPUT" || event.target.getAttribute("data-pc-section") === "clearicon" || event.target.closest('[data-pc-section="clearicon"]')) {
|
|
487
|
-
return;
|
|
488
|
-
} else if (!this.overlay || !this.overlay.contains(event.target)) {
|
|
489
|
-
this.overlayVisible ? this.hide(true) : this.show(true);
|
|
490
|
-
}
|
|
491
|
-
this.clicked = true;
|
|
492
|
-
},
|
|
493
|
-
onClearClick: function onClearClick(event) {
|
|
494
|
-
this.updateModel(event, null);
|
|
495
|
-
this.resetFilterOnClear && (this.filterValue = null);
|
|
496
|
-
},
|
|
497
|
-
onFirstHiddenFocus: function onFirstHiddenFocus(event) {
|
|
498
|
-
var focusableEl = event.relatedTarget === this.$refs.focusInput ? DomHandler.getFirstFocusableElement(this.overlay, ':not([data-p-hidden-focusable="true"])') : this.$refs.focusInput;
|
|
499
|
-
DomHandler.focus(focusableEl);
|
|
500
|
-
},
|
|
501
|
-
onLastHiddenFocus: function onLastHiddenFocus(event) {
|
|
502
|
-
var focusableEl = event.relatedTarget === this.$refs.focusInput ? DomHandler.getLastFocusableElement(this.overlay, ':not([data-p-hidden-focusable="true"])') : this.$refs.focusInput;
|
|
503
|
-
DomHandler.focus(focusableEl);
|
|
504
|
-
},
|
|
505
|
-
onOptionSelect: function onOptionSelect(event, option) {
|
|
506
|
-
var isHide = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : true;
|
|
507
|
-
var value = this.getOptionValue(option);
|
|
508
|
-
this.updateModel(event, value);
|
|
509
|
-
isHide && this.hide(true);
|
|
510
|
-
},
|
|
511
|
-
onOptionMouseMove: function onOptionMouseMove(event, index) {
|
|
512
|
-
if (this.focusOnHover) {
|
|
513
|
-
this.changeFocusedOptionIndex(event, index);
|
|
514
|
-
}
|
|
515
|
-
},
|
|
516
|
-
onFilterChange: function onFilterChange(event) {
|
|
517
|
-
var value = event.target.value;
|
|
518
|
-
this.filterValue = value;
|
|
519
|
-
this.focusedOptionIndex = -1;
|
|
520
|
-
this.$emit("filter", {
|
|
521
|
-
originalEvent: event,
|
|
522
|
-
value
|
|
523
|
-
});
|
|
524
|
-
!this.virtualScrollerDisabled && this.virtualScroller.scrollToIndex(0);
|
|
525
|
-
},
|
|
526
|
-
onFilterKeyDown: function onFilterKeyDown(event) {
|
|
527
|
-
switch (event.code) {
|
|
528
|
-
case "ArrowDown":
|
|
529
|
-
this.onArrowDownKey(event);
|
|
530
|
-
break;
|
|
531
|
-
case "ArrowUp":
|
|
532
|
-
this.onArrowUpKey(event, true);
|
|
533
|
-
break;
|
|
534
|
-
case "ArrowLeft":
|
|
535
|
-
case "ArrowRight":
|
|
536
|
-
this.onArrowLeftKey(event, true);
|
|
537
|
-
break;
|
|
538
|
-
case "Home":
|
|
539
|
-
this.onHomeKey(event, true);
|
|
540
|
-
break;
|
|
541
|
-
case "End":
|
|
542
|
-
this.onEndKey(event, true);
|
|
543
|
-
break;
|
|
544
|
-
case "Enter":
|
|
545
|
-
case "NumpadEnter":
|
|
546
|
-
this.onEnterKey(event);
|
|
547
|
-
break;
|
|
548
|
-
case "Escape":
|
|
549
|
-
this.onEscapeKey(event);
|
|
550
|
-
break;
|
|
551
|
-
case "Tab":
|
|
552
|
-
this.onTabKey(event, true);
|
|
553
|
-
break;
|
|
554
|
-
}
|
|
555
|
-
},
|
|
556
|
-
onFilterBlur: function onFilterBlur() {
|
|
557
|
-
this.focusedOptionIndex = -1;
|
|
558
|
-
},
|
|
559
|
-
onFilterUpdated: function onFilterUpdated() {
|
|
560
|
-
if (this.overlayVisible) {
|
|
561
|
-
this.alignOverlay();
|
|
562
|
-
}
|
|
563
|
-
},
|
|
564
|
-
onOverlayClick: function onOverlayClick(event) {
|
|
565
|
-
OverlayEventBus.emit("overlay-click", {
|
|
566
|
-
originalEvent: event,
|
|
567
|
-
target: this.$el
|
|
568
|
-
});
|
|
569
|
-
},
|
|
570
|
-
onOverlayKeyDown: function onOverlayKeyDown(event) {
|
|
571
|
-
switch (event.code) {
|
|
572
|
-
case "Escape":
|
|
573
|
-
this.onEscapeKey(event);
|
|
574
|
-
break;
|
|
575
|
-
}
|
|
576
|
-
},
|
|
577
|
-
onArrowDownKey: function onArrowDownKey(event) {
|
|
578
|
-
if (!this.overlayVisible) {
|
|
579
|
-
this.show();
|
|
580
|
-
this.editable && this.changeFocusedOptionIndex(event, this.findSelectedOptionIndex());
|
|
581
|
-
} else {
|
|
582
|
-
var optionIndex = this.focusedOptionIndex !== -1 ? this.findNextOptionIndex(this.focusedOptionIndex) : this.clicked ? this.findFirstOptionIndex() : this.findFirstFocusedOptionIndex();
|
|
583
|
-
this.changeFocusedOptionIndex(event, optionIndex);
|
|
584
|
-
}
|
|
585
|
-
event.preventDefault();
|
|
586
|
-
},
|
|
587
|
-
onArrowUpKey: function onArrowUpKey(event) {
|
|
588
|
-
var pressedInInputText = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
589
|
-
if (event.altKey && !pressedInInputText) {
|
|
590
|
-
if (this.focusedOptionIndex !== -1) {
|
|
591
|
-
this.onOptionSelect(event, this.visibleOptions[this.focusedOptionIndex]);
|
|
592
|
-
}
|
|
593
|
-
this.overlayVisible && this.hide();
|
|
594
|
-
event.preventDefault();
|
|
595
|
-
} else {
|
|
596
|
-
var optionIndex = this.focusedOptionIndex !== -1 ? this.findPrevOptionIndex(this.focusedOptionIndex) : this.clicked ? this.findLastOptionIndex() : this.findLastFocusedOptionIndex();
|
|
597
|
-
this.changeFocusedOptionIndex(event, optionIndex);
|
|
598
|
-
!this.overlayVisible && this.show();
|
|
599
|
-
event.preventDefault();
|
|
600
|
-
}
|
|
601
|
-
},
|
|
602
|
-
onArrowLeftKey: function onArrowLeftKey(event) {
|
|
603
|
-
var pressedInInputText = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
604
|
-
pressedInInputText && (this.focusedOptionIndex = -1);
|
|
605
|
-
},
|
|
606
|
-
onHomeKey: function onHomeKey(event) {
|
|
607
|
-
var pressedInInputText = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
608
|
-
if (pressedInInputText) {
|
|
609
|
-
var target = event.currentTarget;
|
|
610
|
-
if (event.shiftKey) {
|
|
611
|
-
target.setSelectionRange(0, event.target.selectionStart);
|
|
612
|
-
} else {
|
|
613
|
-
target.setSelectionRange(0, 0);
|
|
614
|
-
this.focusedOptionIndex = -1;
|
|
615
|
-
}
|
|
616
|
-
} else {
|
|
617
|
-
this.changeFocusedOptionIndex(event, this.findFirstOptionIndex());
|
|
618
|
-
!this.overlayVisible && this.show();
|
|
619
|
-
}
|
|
620
|
-
event.preventDefault();
|
|
621
|
-
},
|
|
622
|
-
onEndKey: function onEndKey(event) {
|
|
623
|
-
var pressedInInputText = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
624
|
-
if (pressedInInputText) {
|
|
625
|
-
var target = event.currentTarget;
|
|
626
|
-
if (event.shiftKey) {
|
|
627
|
-
target.setSelectionRange(event.target.selectionStart, target.value.length);
|
|
628
|
-
} else {
|
|
629
|
-
var len = target.value.length;
|
|
630
|
-
target.setSelectionRange(len, len);
|
|
631
|
-
this.focusedOptionIndex = -1;
|
|
632
|
-
}
|
|
633
|
-
} else {
|
|
634
|
-
this.changeFocusedOptionIndex(event, this.findLastOptionIndex());
|
|
635
|
-
!this.overlayVisible && this.show();
|
|
636
|
-
}
|
|
637
|
-
event.preventDefault();
|
|
638
|
-
},
|
|
639
|
-
onPageUpKey: function onPageUpKey(event) {
|
|
640
|
-
this.scrollInView(0);
|
|
641
|
-
event.preventDefault();
|
|
642
|
-
},
|
|
643
|
-
onPageDownKey: function onPageDownKey(event) {
|
|
644
|
-
this.scrollInView(this.visibleOptions.length - 1);
|
|
645
|
-
event.preventDefault();
|
|
646
|
-
},
|
|
647
|
-
onEnterKey: function onEnterKey(event) {
|
|
648
|
-
if (!this.overlayVisible) {
|
|
649
|
-
this.focusedOptionIndex = -1;
|
|
650
|
-
this.onArrowDownKey(event);
|
|
651
|
-
} else {
|
|
652
|
-
if (this.focusedOptionIndex !== -1) {
|
|
653
|
-
this.onOptionSelect(event, this.visibleOptions[this.focusedOptionIndex]);
|
|
654
|
-
}
|
|
655
|
-
this.hide();
|
|
656
|
-
}
|
|
657
|
-
event.preventDefault();
|
|
658
|
-
},
|
|
659
|
-
onSpaceKey: function onSpaceKey(event) {
|
|
660
|
-
var pressedInInputText = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
661
|
-
!pressedInInputText && this.onEnterKey(event);
|
|
662
|
-
},
|
|
663
|
-
onEscapeKey: function onEscapeKey(event) {
|
|
664
|
-
this.overlayVisible && this.hide(true);
|
|
665
|
-
event.preventDefault();
|
|
666
|
-
event.stopPropagation();
|
|
667
|
-
},
|
|
668
|
-
onTabKey: function onTabKey(event) {
|
|
669
|
-
var pressedInInputText = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
670
|
-
if (!pressedInInputText) {
|
|
671
|
-
if (this.overlayVisible && this.hasFocusableElements()) {
|
|
672
|
-
DomHandler.focus(this.$refs.firstHiddenFocusableElementOnOverlay);
|
|
673
|
-
event.preventDefault();
|
|
674
|
-
} else {
|
|
675
|
-
if (this.focusedOptionIndex !== -1) {
|
|
676
|
-
this.onOptionSelect(event, this.visibleOptions[this.focusedOptionIndex]);
|
|
677
|
-
}
|
|
678
|
-
this.overlayVisible && this.hide(this.filter);
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
},
|
|
682
|
-
onBackspaceKey: function onBackspaceKey(event) {
|
|
683
|
-
var pressedInInputText = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
684
|
-
if (pressedInInputText) {
|
|
685
|
-
!this.overlayVisible && this.show();
|
|
686
|
-
}
|
|
687
|
-
},
|
|
688
|
-
onOverlayEnter: function onOverlayEnter(el) {
|
|
689
|
-
ZIndexUtils.set("overlay", el, this.$primevue.config.zIndex.overlay);
|
|
690
|
-
DomHandler.addStyles(el, {
|
|
691
|
-
position: "absolute",
|
|
692
|
-
top: "0",
|
|
693
|
-
left: "0"
|
|
694
|
-
});
|
|
695
|
-
this.alignOverlay();
|
|
696
|
-
this.scrollInView();
|
|
697
|
-
this.autoFilterFocus && DomHandler.focus(this.$refs.filterInput);
|
|
698
|
-
},
|
|
699
|
-
onOverlayAfterEnter: function onOverlayAfterEnter() {
|
|
700
|
-
this.bindOutsideClickListener();
|
|
701
|
-
this.bindScrollListener();
|
|
702
|
-
this.bindResizeListener();
|
|
703
|
-
this.$emit("show");
|
|
704
|
-
},
|
|
705
|
-
onOverlayLeave: function onOverlayLeave() {
|
|
706
|
-
this.unbindOutsideClickListener();
|
|
707
|
-
this.unbindScrollListener();
|
|
708
|
-
this.unbindResizeListener();
|
|
709
|
-
this.$emit("hide");
|
|
710
|
-
this.overlay = null;
|
|
711
|
-
},
|
|
712
|
-
onOverlayAfterLeave: function onOverlayAfterLeave(el) {
|
|
713
|
-
ZIndexUtils.clear(el);
|
|
714
|
-
},
|
|
715
|
-
alignOverlay: function alignOverlay() {
|
|
716
|
-
if (this.appendTo === "self") {
|
|
717
|
-
DomHandler.relativePosition(this.overlay, this.$el);
|
|
718
|
-
} else {
|
|
719
|
-
this.overlay.style.minWidth = DomHandler.getOuterWidth(this.$el) + "px";
|
|
720
|
-
DomHandler.absolutePosition(this.overlay, this.$el);
|
|
721
|
-
}
|
|
722
|
-
},
|
|
723
|
-
bindOutsideClickListener: function bindOutsideClickListener() {
|
|
724
|
-
var _this3 = this;
|
|
725
|
-
if (!this.outsideClickListener) {
|
|
726
|
-
this.outsideClickListener = function(event) {
|
|
727
|
-
if (_this3.overlayVisible && _this3.overlay && !_this3.$el.contains(event.target) && !_this3.overlay.contains(event.target)) {
|
|
728
|
-
_this3.hide();
|
|
729
|
-
}
|
|
730
|
-
};
|
|
731
|
-
document.addEventListener("click", this.outsideClickListener);
|
|
732
|
-
}
|
|
733
|
-
},
|
|
734
|
-
unbindOutsideClickListener: function unbindOutsideClickListener() {
|
|
735
|
-
if (this.outsideClickListener) {
|
|
736
|
-
document.removeEventListener("click", this.outsideClickListener);
|
|
737
|
-
this.outsideClickListener = null;
|
|
738
|
-
}
|
|
739
|
-
},
|
|
740
|
-
bindScrollListener: function bindScrollListener() {
|
|
741
|
-
var _this4 = this;
|
|
742
|
-
if (!this.scrollHandler) {
|
|
743
|
-
this.scrollHandler = new ConnectedOverlayScrollHandler(this.$refs.container, function() {
|
|
744
|
-
if (_this4.overlayVisible) {
|
|
745
|
-
_this4.hide();
|
|
746
|
-
}
|
|
747
|
-
});
|
|
748
|
-
}
|
|
749
|
-
this.scrollHandler.bindScrollListener();
|
|
750
|
-
},
|
|
751
|
-
unbindScrollListener: function unbindScrollListener() {
|
|
752
|
-
if (this.scrollHandler) {
|
|
753
|
-
this.scrollHandler.unbindScrollListener();
|
|
754
|
-
}
|
|
755
|
-
},
|
|
756
|
-
bindResizeListener: function bindResizeListener() {
|
|
757
|
-
var _this5 = this;
|
|
758
|
-
if (!this.resizeListener) {
|
|
759
|
-
this.resizeListener = function() {
|
|
760
|
-
if (_this5.overlayVisible && !DomHandler.isTouchDevice()) {
|
|
761
|
-
_this5.hide();
|
|
762
|
-
}
|
|
763
|
-
};
|
|
764
|
-
window.addEventListener("resize", this.resizeListener);
|
|
765
|
-
}
|
|
766
|
-
},
|
|
767
|
-
unbindResizeListener: function unbindResizeListener() {
|
|
768
|
-
if (this.resizeListener) {
|
|
769
|
-
window.removeEventListener("resize", this.resizeListener);
|
|
770
|
-
this.resizeListener = null;
|
|
771
|
-
}
|
|
772
|
-
},
|
|
773
|
-
bindLabelClickListener: function bindLabelClickListener() {
|
|
774
|
-
var _this6 = this;
|
|
775
|
-
if (!this.editable && !this.labelClickListener) {
|
|
776
|
-
var label2 = document.querySelector('label[for="'.concat(this.inputId, '"]'));
|
|
777
|
-
if (label2 && DomHandler.isVisible(label2)) {
|
|
778
|
-
this.labelClickListener = function() {
|
|
779
|
-
DomHandler.focus(_this6.$refs.focusInput);
|
|
780
|
-
};
|
|
781
|
-
label2.addEventListener("click", this.labelClickListener);
|
|
782
|
-
}
|
|
783
|
-
}
|
|
784
|
-
},
|
|
785
|
-
unbindLabelClickListener: function unbindLabelClickListener() {
|
|
786
|
-
if (this.labelClickListener) {
|
|
787
|
-
var label2 = document.querySelector('label[for="'.concat(this.inputId, '"]'));
|
|
788
|
-
if (label2 && DomHandler.isVisible(label2)) {
|
|
789
|
-
label2.removeEventListener("click", this.labelClickListener);
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
},
|
|
793
|
-
hasFocusableElements: function hasFocusableElements() {
|
|
794
|
-
return DomHandler.getFocusableElements(this.overlay, ':not([data-p-hidden-focusable="true"])').length > 0;
|
|
795
|
-
},
|
|
796
|
-
isOptionMatched: function isOptionMatched(option) {
|
|
797
|
-
var _this$getOptionLabel;
|
|
798
|
-
return this.isValidOption(option) && ((_this$getOptionLabel = this.getOptionLabel(option)) === null || _this$getOptionLabel === void 0 ? void 0 : _this$getOptionLabel.toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale)));
|
|
799
|
-
},
|
|
800
|
-
isValidOption: function isValidOption(option) {
|
|
801
|
-
return ObjectUtils.isNotEmpty(option) && !(this.isOptionDisabled(option) || this.isOptionGroup(option));
|
|
802
|
-
},
|
|
803
|
-
isValidSelectedOption: function isValidSelectedOption(option) {
|
|
804
|
-
return this.isValidOption(option) && this.isSelected(option);
|
|
805
|
-
},
|
|
806
|
-
isSelected: function isSelected(option) {
|
|
807
|
-
return this.isValidOption(option) && ObjectUtils.equals(this.modelValue, this.getOptionValue(option), this.equalityKey);
|
|
808
|
-
},
|
|
809
|
-
findFirstOptionIndex: function findFirstOptionIndex() {
|
|
810
|
-
var _this7 = this;
|
|
811
|
-
return this.visibleOptions.findIndex(function(option) {
|
|
812
|
-
return _this7.isValidOption(option);
|
|
813
|
-
});
|
|
814
|
-
},
|
|
815
|
-
findLastOptionIndex: function findLastOptionIndex() {
|
|
816
|
-
var _this8 = this;
|
|
817
|
-
return ObjectUtils.findLastIndex(this.visibleOptions, function(option) {
|
|
818
|
-
return _this8.isValidOption(option);
|
|
819
|
-
});
|
|
820
|
-
},
|
|
821
|
-
findNextOptionIndex: function findNextOptionIndex(index) {
|
|
822
|
-
var _this9 = this;
|
|
823
|
-
var matchedOptionIndex = index < this.visibleOptions.length - 1 ? this.visibleOptions.slice(index + 1).findIndex(function(option) {
|
|
824
|
-
return _this9.isValidOption(option);
|
|
825
|
-
}) : -1;
|
|
826
|
-
return matchedOptionIndex > -1 ? matchedOptionIndex + index + 1 : index;
|
|
827
|
-
},
|
|
828
|
-
findPrevOptionIndex: function findPrevOptionIndex(index) {
|
|
829
|
-
var _this10 = this;
|
|
830
|
-
var matchedOptionIndex = index > 0 ? ObjectUtils.findLastIndex(this.visibleOptions.slice(0, index), function(option) {
|
|
831
|
-
return _this10.isValidOption(option);
|
|
832
|
-
}) : -1;
|
|
833
|
-
return matchedOptionIndex > -1 ? matchedOptionIndex : index;
|
|
834
|
-
},
|
|
835
|
-
findSelectedOptionIndex: function findSelectedOptionIndex() {
|
|
836
|
-
var _this11 = this;
|
|
837
|
-
return this.hasSelectedOption ? this.visibleOptions.findIndex(function(option) {
|
|
838
|
-
return _this11.isValidSelectedOption(option);
|
|
839
|
-
}) : -1;
|
|
840
|
-
},
|
|
841
|
-
findFirstFocusedOptionIndex: function findFirstFocusedOptionIndex() {
|
|
842
|
-
var selectedIndex = this.findSelectedOptionIndex();
|
|
843
|
-
return selectedIndex < 0 ? this.findFirstOptionIndex() : selectedIndex;
|
|
844
|
-
},
|
|
845
|
-
findLastFocusedOptionIndex: function findLastFocusedOptionIndex() {
|
|
846
|
-
var selectedIndex = this.findSelectedOptionIndex();
|
|
847
|
-
return selectedIndex < 0 ? this.findLastOptionIndex() : selectedIndex;
|
|
848
|
-
},
|
|
849
|
-
searchOptions: function searchOptions(event, _char) {
|
|
850
|
-
var _this12 = this;
|
|
851
|
-
this.searchValue = (this.searchValue || "") + _char;
|
|
852
|
-
var optionIndex = -1;
|
|
853
|
-
var matched = false;
|
|
854
|
-
if (ObjectUtils.isNotEmpty(this.searchValue)) {
|
|
855
|
-
if (this.focusedOptionIndex !== -1) {
|
|
856
|
-
optionIndex = this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function(option) {
|
|
857
|
-
return _this12.isOptionMatched(option);
|
|
858
|
-
});
|
|
859
|
-
optionIndex = optionIndex === -1 ? this.visibleOptions.slice(0, this.focusedOptionIndex).findIndex(function(option) {
|
|
860
|
-
return _this12.isOptionMatched(option);
|
|
861
|
-
}) : optionIndex + this.focusedOptionIndex;
|
|
862
|
-
} else {
|
|
863
|
-
optionIndex = this.visibleOptions.findIndex(function(option) {
|
|
864
|
-
return _this12.isOptionMatched(option);
|
|
865
|
-
});
|
|
866
|
-
}
|
|
867
|
-
if (optionIndex !== -1) {
|
|
868
|
-
matched = true;
|
|
869
|
-
}
|
|
870
|
-
if (optionIndex === -1 && this.focusedOptionIndex === -1) {
|
|
871
|
-
optionIndex = this.findFirstFocusedOptionIndex();
|
|
872
|
-
}
|
|
873
|
-
if (optionIndex !== -1) {
|
|
874
|
-
this.changeFocusedOptionIndex(event, optionIndex);
|
|
875
|
-
}
|
|
876
|
-
}
|
|
877
|
-
if (this.searchTimeout) {
|
|
878
|
-
clearTimeout(this.searchTimeout);
|
|
879
|
-
}
|
|
880
|
-
this.searchTimeout = setTimeout(function() {
|
|
881
|
-
_this12.searchValue = "";
|
|
882
|
-
_this12.searchTimeout = null;
|
|
883
|
-
}, 500);
|
|
884
|
-
return matched;
|
|
885
|
-
},
|
|
886
|
-
changeFocusedOptionIndex: function changeFocusedOptionIndex(event, index) {
|
|
887
|
-
if (this.focusedOptionIndex !== index) {
|
|
888
|
-
this.focusedOptionIndex = index;
|
|
889
|
-
this.scrollInView();
|
|
890
|
-
if (this.selectOnFocus) {
|
|
891
|
-
this.onOptionSelect(event, this.visibleOptions[index], false);
|
|
892
|
-
}
|
|
893
|
-
}
|
|
894
|
-
},
|
|
895
|
-
scrollInView: function scrollInView() {
|
|
896
|
-
var _this13 = this;
|
|
897
|
-
var index = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : -1;
|
|
898
|
-
this.$nextTick(function() {
|
|
899
|
-
var id = index !== -1 ? "".concat(_this13.id, "_").concat(index) : _this13.focusedOptionId;
|
|
900
|
-
var element = DomHandler.findSingle(_this13.list, 'li[id="'.concat(id, '"]'));
|
|
901
|
-
if (element) {
|
|
902
|
-
element.scrollIntoView && element.scrollIntoView({
|
|
903
|
-
block: "nearest"
|
|
904
|
-
});
|
|
905
|
-
} else if (!_this13.virtualScrollerDisabled) {
|
|
906
|
-
_this13.virtualScroller && _this13.virtualScroller.scrollToIndex(index !== -1 ? index : _this13.focusedOptionIndex);
|
|
907
|
-
}
|
|
908
|
-
});
|
|
909
|
-
},
|
|
910
|
-
autoUpdateModel: function autoUpdateModel() {
|
|
911
|
-
if (this.selectOnFocus && this.autoOptionFocus && !this.hasSelectedOption) {
|
|
912
|
-
this.focusedOptionIndex = this.findFirstFocusedOptionIndex();
|
|
913
|
-
this.onOptionSelect(null, this.visibleOptions[this.focusedOptionIndex], false);
|
|
914
|
-
}
|
|
915
|
-
},
|
|
916
|
-
updateModel: function updateModel(event, value) {
|
|
917
|
-
this.$emit("update:modelValue", value);
|
|
918
|
-
this.$emit("change", {
|
|
919
|
-
originalEvent: event,
|
|
920
|
-
value
|
|
921
|
-
});
|
|
922
|
-
},
|
|
923
|
-
flatOptions: function flatOptions(options2) {
|
|
924
|
-
var _this14 = this;
|
|
925
|
-
return (options2 || []).reduce(function(result, option, index) {
|
|
926
|
-
result.push({
|
|
927
|
-
optionGroup: option,
|
|
928
|
-
group: true,
|
|
929
|
-
index
|
|
930
|
-
});
|
|
931
|
-
var optionGroupChildren = _this14.getOptionGroupChildren(option);
|
|
932
|
-
optionGroupChildren && optionGroupChildren.forEach(function(o) {
|
|
933
|
-
return result.push(o);
|
|
934
|
-
});
|
|
935
|
-
return result;
|
|
936
|
-
}, []);
|
|
937
|
-
},
|
|
938
|
-
overlayRef: function overlayRef(el) {
|
|
939
|
-
this.overlay = el;
|
|
940
|
-
},
|
|
941
|
-
listRef: function listRef(el, contentRef) {
|
|
942
|
-
this.list = el;
|
|
943
|
-
contentRef && contentRef(el);
|
|
944
|
-
},
|
|
945
|
-
virtualScrollerRef: function virtualScrollerRef(el) {
|
|
946
|
-
this.virtualScroller = el;
|
|
947
|
-
}
|
|
948
|
-
},
|
|
949
|
-
computed: {
|
|
950
|
-
visibleOptions: function visibleOptions() {
|
|
951
|
-
var _this15 = this;
|
|
952
|
-
var options2 = this.optionGroupLabel ? this.flatOptions(this.options) : this.options || [];
|
|
953
|
-
if (this.filterValue) {
|
|
954
|
-
var filteredOptions = FilterService.filter(options2, this.searchFields, this.filterValue, this.filterMatchMode, this.filterLocale);
|
|
955
|
-
if (this.optionGroupLabel) {
|
|
956
|
-
var optionGroups = this.options || [];
|
|
957
|
-
var filtered = [];
|
|
958
|
-
optionGroups.forEach(function(group) {
|
|
959
|
-
var groupChildren = _this15.getOptionGroupChildren(group);
|
|
960
|
-
var filteredItems = groupChildren.filter(function(item) {
|
|
961
|
-
return filteredOptions.includes(item);
|
|
962
|
-
});
|
|
963
|
-
if (filteredItems.length > 0) filtered.push(_objectSpread$1(_objectSpread$1({}, group), {}, _defineProperty$1({}, typeof _this15.optionGroupChildren === "string" ? _this15.optionGroupChildren : "items", _toConsumableArray(filteredItems))));
|
|
964
|
-
});
|
|
965
|
-
return this.flatOptions(filtered);
|
|
966
|
-
}
|
|
967
|
-
return filteredOptions;
|
|
968
|
-
}
|
|
969
|
-
return options2;
|
|
970
|
-
},
|
|
971
|
-
hasSelectedOption: function hasSelectedOption() {
|
|
972
|
-
return ObjectUtils.isNotEmpty(this.modelValue);
|
|
973
|
-
},
|
|
974
|
-
label: function label() {
|
|
975
|
-
var selectedOptionIndex = this.findSelectedOptionIndex();
|
|
976
|
-
return selectedOptionIndex !== -1 ? this.getOptionLabel(this.visibleOptions[selectedOptionIndex]) : this.placeholder || "p-emptylabel";
|
|
977
|
-
},
|
|
978
|
-
editableInputValue: function editableInputValue() {
|
|
979
|
-
var selectedOptionIndex = this.findSelectedOptionIndex();
|
|
980
|
-
return selectedOptionIndex !== -1 ? this.getOptionLabel(this.visibleOptions[selectedOptionIndex]) : this.modelValue || "";
|
|
981
|
-
},
|
|
982
|
-
equalityKey: function equalityKey() {
|
|
983
|
-
return this.optionValue ? null : this.dataKey;
|
|
984
|
-
},
|
|
985
|
-
searchFields: function searchFields() {
|
|
986
|
-
return this.filterFields || [this.optionLabel];
|
|
987
|
-
},
|
|
988
|
-
filterResultMessageText: function filterResultMessageText() {
|
|
989
|
-
return ObjectUtils.isNotEmpty(this.visibleOptions) ? this.filterMessageText.replaceAll("{0}", this.visibleOptions.length) : this.emptyFilterMessageText;
|
|
990
|
-
},
|
|
991
|
-
filterMessageText: function filterMessageText() {
|
|
992
|
-
return this.filterMessage || this.$primevue.config.locale.searchMessage || "";
|
|
993
|
-
},
|
|
994
|
-
emptyFilterMessageText: function emptyFilterMessageText() {
|
|
995
|
-
return this.emptyFilterMessage || this.$primevue.config.locale.emptySearchMessage || this.$primevue.config.locale.emptyFilterMessage || "";
|
|
996
|
-
},
|
|
997
|
-
emptyMessageText: function emptyMessageText() {
|
|
998
|
-
return this.emptyMessage || this.$primevue.config.locale.emptyMessage || "";
|
|
999
|
-
},
|
|
1000
|
-
selectionMessageText: function selectionMessageText() {
|
|
1001
|
-
return this.selectionMessage || this.$primevue.config.locale.selectionMessage || "";
|
|
1002
|
-
},
|
|
1003
|
-
emptySelectionMessageText: function emptySelectionMessageText() {
|
|
1004
|
-
return this.emptySelectionMessage || this.$primevue.config.locale.emptySelectionMessage || "";
|
|
1005
|
-
},
|
|
1006
|
-
selectedMessageText: function selectedMessageText() {
|
|
1007
|
-
return this.hasSelectedOption ? this.selectionMessageText.replaceAll("{0}", "1") : this.emptySelectionMessageText;
|
|
1008
|
-
},
|
|
1009
|
-
listAriaLabel: function listAriaLabel() {
|
|
1010
|
-
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.listLabel : void 0;
|
|
1011
|
-
},
|
|
1012
|
-
focusedOptionId: function focusedOptionId() {
|
|
1013
|
-
return this.focusedOptionIndex !== -1 ? "".concat(this.id, "_").concat(this.focusedOptionIndex) : null;
|
|
1014
|
-
},
|
|
1015
|
-
ariaSetSize: function ariaSetSize() {
|
|
1016
|
-
var _this16 = this;
|
|
1017
|
-
return this.visibleOptions.filter(function(option) {
|
|
1018
|
-
return !_this16.isOptionGroup(option);
|
|
1019
|
-
}).length;
|
|
1020
|
-
},
|
|
1021
|
-
virtualScrollerDisabled: function virtualScrollerDisabled() {
|
|
1022
|
-
return !this.virtualScrollerOptions;
|
|
1023
|
-
}
|
|
1024
|
-
},
|
|
1025
|
-
directives: {
|
|
1026
|
-
ripple: Ripple
|
|
1027
|
-
},
|
|
1028
|
-
components: {
|
|
1029
|
-
VirtualScroller: script$9,
|
|
1030
|
-
Portal: script$8,
|
|
1031
|
-
TimesIcon: script$7,
|
|
1032
|
-
ChevronDownIcon: script$6,
|
|
1033
|
-
SpinnerIcon: script$5,
|
|
1034
|
-
SearchIcon: script$4,
|
|
1035
|
-
CheckIcon: script$3,
|
|
1036
|
-
BlankIcon: script$2
|
|
1037
|
-
}
|
|
1038
|
-
};
|
|
1039
|
-
function _typeof(o) {
|
|
1040
|
-
"@babel/helpers - typeof";
|
|
1041
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
1042
|
-
return typeof o2;
|
|
1043
|
-
} : function(o2) {
|
|
1044
|
-
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
1045
|
-
}, _typeof(o);
|
|
1046
|
-
}
|
|
1047
|
-
function ownKeys(e, r) {
|
|
1048
|
-
var t = Object.keys(e);
|
|
1049
|
-
if (Object.getOwnPropertySymbols) {
|
|
1050
|
-
var o = Object.getOwnPropertySymbols(e);
|
|
1051
|
-
r && (o = o.filter(function(r2) {
|
|
1052
|
-
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
1053
|
-
})), t.push.apply(t, o);
|
|
1054
|
-
}
|
|
1055
|
-
return t;
|
|
1056
|
-
}
|
|
1057
|
-
function _objectSpread(e) {
|
|
1058
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
1059
|
-
var t = null != arguments[r] ? arguments[r] : {};
|
|
1060
|
-
r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
|
|
1061
|
-
_defineProperty(e, r2, t[r2]);
|
|
1062
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
|
|
1063
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
|
|
1064
|
-
});
|
|
1065
|
-
}
|
|
1066
|
-
return e;
|
|
1067
|
-
}
|
|
1068
|
-
function _defineProperty(obj, key, value) {
|
|
1069
|
-
key = _toPropertyKey(key);
|
|
1070
|
-
if (key in obj) {
|
|
1071
|
-
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
1072
|
-
} else {
|
|
1073
|
-
obj[key] = value;
|
|
1074
|
-
}
|
|
1075
|
-
return obj;
|
|
1076
|
-
}
|
|
1077
|
-
function _toPropertyKey(t) {
|
|
1078
|
-
var i = _toPrimitive(t, "string");
|
|
1079
|
-
return "symbol" == _typeof(i) ? i : String(i);
|
|
1080
|
-
}
|
|
1081
|
-
function _toPrimitive(t, r) {
|
|
1082
|
-
if ("object" != _typeof(t) || !t) return t;
|
|
1083
|
-
var e = t[Symbol.toPrimitive];
|
|
1084
|
-
if (void 0 !== e) {
|
|
1085
|
-
var i = e.call(t, r);
|
|
1086
|
-
if ("object" != _typeof(i)) return i;
|
|
1087
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1088
|
-
}
|
|
1089
|
-
return ("string" === r ? String : Number)(t);
|
|
1090
|
-
}
|
|
1091
|
-
var _hoisted_1 = ["id"];
|
|
1092
|
-
var _hoisted_2 = ["id", "value", "placeholder", "tabindex", "disabled", "aria-label", "aria-labelledby", "aria-expanded", "aria-controls", "aria-activedescendant", "aria-invalid"];
|
|
1093
|
-
var _hoisted_3 = ["id", "tabindex", "aria-label", "aria-labelledby", "aria-expanded", "aria-controls", "aria-activedescendant", "aria-disabled"];
|
|
1094
|
-
var _hoisted_4 = ["value", "placeholder", "aria-owns", "aria-activedescendant"];
|
|
1095
|
-
var _hoisted_5 = ["id", "aria-label"];
|
|
1096
|
-
var _hoisted_6 = ["id"];
|
|
1097
|
-
var _hoisted_7 = ["id", "aria-label", "aria-selected", "aria-disabled", "aria-setsize", "aria-posinset", "onClick", "onMousemove", "data-p-highlight", "data-p-focused", "data-p-disabled"];
|
|
1098
|
-
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1099
|
-
var _component_SpinnerIcon = resolveComponent("SpinnerIcon");
|
|
1100
|
-
var _component_CheckIcon = resolveComponent("CheckIcon");
|
|
1101
|
-
var _component_BlankIcon = resolveComponent("BlankIcon");
|
|
1102
|
-
var _component_VirtualScroller = resolveComponent("VirtualScroller");
|
|
1103
|
-
var _component_Portal = resolveComponent("Portal");
|
|
1104
|
-
var _directive_ripple = resolveDirective("ripple");
|
|
1105
|
-
return openBlock(), createElementBlock("div", mergeProps({
|
|
1106
|
-
ref: "container",
|
|
1107
|
-
id: $data.id,
|
|
1108
|
-
"class": _ctx.cx("root"),
|
|
1109
|
-
onClick: _cache[16] || (_cache[16] = function() {
|
|
1110
|
-
return $options.onContainerClick && $options.onContainerClick.apply($options, arguments);
|
|
1111
|
-
})
|
|
1112
|
-
}, _ctx.ptmi("root")), [_ctx.editable ? (openBlock(), createElementBlock("input", mergeProps({
|
|
1113
|
-
key: 0,
|
|
1114
|
-
ref: "focusInput",
|
|
1115
|
-
id: _ctx.inputId,
|
|
1116
|
-
type: "text",
|
|
1117
|
-
"class": [_ctx.cx("input"), _ctx.inputClass],
|
|
1118
|
-
style: _ctx.inputStyle,
|
|
1119
|
-
value: $options.editableInputValue,
|
|
1120
|
-
placeholder: _ctx.placeholder,
|
|
1121
|
-
tabindex: !_ctx.disabled ? _ctx.tabindex : -1,
|
|
1122
|
-
disabled: _ctx.disabled,
|
|
1123
|
-
autocomplete: "off",
|
|
1124
|
-
role: "combobox",
|
|
1125
|
-
"aria-label": _ctx.ariaLabel,
|
|
1126
|
-
"aria-labelledby": _ctx.ariaLabelledby,
|
|
1127
|
-
"aria-haspopup": "listbox",
|
|
1128
|
-
"aria-expanded": $data.overlayVisible,
|
|
1129
|
-
"aria-controls": $data.id + "_list",
|
|
1130
|
-
"aria-activedescendant": $data.focused ? $options.focusedOptionId : void 0,
|
|
1131
|
-
"aria-invalid": _ctx.invalid || void 0,
|
|
1132
|
-
onFocus: _cache[0] || (_cache[0] = function() {
|
|
1133
|
-
return $options.onFocus && $options.onFocus.apply($options, arguments);
|
|
1134
|
-
}),
|
|
1135
|
-
onBlur: _cache[1] || (_cache[1] = function() {
|
|
1136
|
-
return $options.onBlur && $options.onBlur.apply($options, arguments);
|
|
1137
|
-
}),
|
|
1138
|
-
onKeydown: _cache[2] || (_cache[2] = function() {
|
|
1139
|
-
return $options.onKeyDown && $options.onKeyDown.apply($options, arguments);
|
|
1140
|
-
}),
|
|
1141
|
-
onInput: _cache[3] || (_cache[3] = function() {
|
|
1142
|
-
return $options.onEditableInput && $options.onEditableInput.apply($options, arguments);
|
|
1143
|
-
})
|
|
1144
|
-
}, _objectSpread(_objectSpread({}, _ctx.inputProps), _ctx.ptm("input"))), null, 16, _hoisted_2)) : (openBlock(), createElementBlock("span", mergeProps({
|
|
1145
|
-
key: 1,
|
|
1146
|
-
ref: "focusInput",
|
|
1147
|
-
id: _ctx.inputId,
|
|
1148
|
-
"class": [_ctx.cx("input"), _ctx.inputClass],
|
|
1149
|
-
style: _ctx.inputStyle,
|
|
1150
|
-
tabindex: !_ctx.disabled ? _ctx.tabindex : -1,
|
|
1151
|
-
role: "combobox",
|
|
1152
|
-
"aria-label": _ctx.ariaLabel || ($options.label === "p-emptylabel" ? void 0 : $options.label),
|
|
1153
|
-
"aria-labelledby": _ctx.ariaLabelledby,
|
|
1154
|
-
"aria-haspopup": "listbox",
|
|
1155
|
-
"aria-expanded": $data.overlayVisible,
|
|
1156
|
-
"aria-controls": $data.id + "_list",
|
|
1157
|
-
"aria-activedescendant": $data.focused ? $options.focusedOptionId : void 0,
|
|
1158
|
-
"aria-disabled": _ctx.disabled,
|
|
1159
|
-
onFocus: _cache[4] || (_cache[4] = function() {
|
|
1160
|
-
return $options.onFocus && $options.onFocus.apply($options, arguments);
|
|
1161
|
-
}),
|
|
1162
|
-
onBlur: _cache[5] || (_cache[5] = function() {
|
|
1163
|
-
return $options.onBlur && $options.onBlur.apply($options, arguments);
|
|
1164
|
-
}),
|
|
1165
|
-
onKeydown: _cache[6] || (_cache[6] = function() {
|
|
1166
|
-
return $options.onKeyDown && $options.onKeyDown.apply($options, arguments);
|
|
1167
|
-
})
|
|
1168
|
-
}, _objectSpread(_objectSpread({}, _ctx.inputProps), _ctx.ptm("input"))), [renderSlot(_ctx.$slots, "value", {
|
|
1169
|
-
value: _ctx.modelValue,
|
|
1170
|
-
placeholder: _ctx.placeholder
|
|
1171
|
-
}, function() {
|
|
1172
|
-
return [createTextVNode(toDisplayString($options.label === "p-emptylabel" ? " " : $options.label || "empty"), 1)];
|
|
1173
|
-
})], 16, _hoisted_3)), _ctx.showClear && _ctx.modelValue != null ? renderSlot(_ctx.$slots, "clearicon", {
|
|
1174
|
-
key: 2,
|
|
1175
|
-
"class": normalizeClass(_ctx.cx("clearIcon")),
|
|
1176
|
-
onClick: $options.onClearClick,
|
|
1177
|
-
clearCallback: $options.onClearClick
|
|
1178
|
-
}, function() {
|
|
1179
|
-
return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.clearIcon ? "i" : "TimesIcon"), mergeProps({
|
|
1180
|
-
ref: "clearIcon",
|
|
1181
|
-
"class": [_ctx.cx("clearIcon"), _ctx.clearIcon],
|
|
1182
|
-
onClick: $options.onClearClick
|
|
1183
|
-
}, _objectSpread(_objectSpread({}, _ctx.clearIconProps), _ctx.ptm("clearIcon")), {
|
|
1184
|
-
"data-pc-section": "clearicon"
|
|
1185
|
-
}), null, 16, ["class", "onClick"]))];
|
|
1186
|
-
}) : createCommentVNode("", true), createElementVNode("div", mergeProps({
|
|
1187
|
-
"class": _ctx.cx("trigger")
|
|
1188
|
-
}, _ctx.ptm("trigger")), [_ctx.loading ? renderSlot(_ctx.$slots, "loadingicon", {
|
|
1189
|
-
key: 0,
|
|
1190
|
-
"class": normalizeClass(_ctx.cx("loadingIcon"))
|
|
1191
|
-
}, function() {
|
|
1192
|
-
return [_ctx.loadingIcon ? (openBlock(), createElementBlock("span", mergeProps({
|
|
1193
|
-
key: 0,
|
|
1194
|
-
"class": [_ctx.cx("loadingIcon"), "pi-spin", _ctx.loadingIcon],
|
|
1195
|
-
"aria-hidden": "true"
|
|
1196
|
-
}, _ctx.ptm("loadingIcon")), null, 16)) : (openBlock(), createBlock(_component_SpinnerIcon, mergeProps({
|
|
1197
|
-
key: 1,
|
|
1198
|
-
"class": _ctx.cx("loadingIcon"),
|
|
1199
|
-
spin: "",
|
|
1200
|
-
"aria-hidden": "true"
|
|
1201
|
-
}, _ctx.ptm("loadingIcon")), null, 16, ["class"]))];
|
|
1202
|
-
}) : renderSlot(_ctx.$slots, "dropdownicon", {
|
|
1203
|
-
key: 1,
|
|
1204
|
-
"class": normalizeClass(_ctx.cx("dropdownIcon"))
|
|
1205
|
-
}, function() {
|
|
1206
|
-
return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.dropdownIcon ? "span" : "ChevronDownIcon"), mergeProps({
|
|
1207
|
-
"class": [_ctx.cx("dropdownIcon"), _ctx.dropdownIcon],
|
|
1208
|
-
"aria-hidden": "true"
|
|
1209
|
-
}, _ctx.ptm("dropdownIcon")), null, 16, ["class"]))];
|
|
1210
|
-
})], 16), createVNode(_component_Portal, {
|
|
1211
|
-
appendTo: _ctx.appendTo
|
|
1212
|
-
}, {
|
|
1213
|
-
"default": withCtx(function() {
|
|
1214
|
-
return [createVNode(Transition, mergeProps({
|
|
1215
|
-
name: "p-connected-overlay",
|
|
1216
|
-
onEnter: $options.onOverlayEnter,
|
|
1217
|
-
onAfterEnter: $options.onOverlayAfterEnter,
|
|
1218
|
-
onLeave: $options.onOverlayLeave,
|
|
1219
|
-
onAfterLeave: $options.onOverlayAfterLeave
|
|
1220
|
-
}, _ctx.ptm("transition")), {
|
|
1221
|
-
"default": withCtx(function() {
|
|
1222
|
-
return [$data.overlayVisible ? (openBlock(), createElementBlock("div", mergeProps({
|
|
1223
|
-
key: 0,
|
|
1224
|
-
ref: $options.overlayRef,
|
|
1225
|
-
"class": [_ctx.cx("panel"), _ctx.panelClass],
|
|
1226
|
-
style: _ctx.panelStyle,
|
|
1227
|
-
onClick: _cache[14] || (_cache[14] = function() {
|
|
1228
|
-
return $options.onOverlayClick && $options.onOverlayClick.apply($options, arguments);
|
|
1229
|
-
}),
|
|
1230
|
-
onKeydown: _cache[15] || (_cache[15] = function() {
|
|
1231
|
-
return $options.onOverlayKeyDown && $options.onOverlayKeyDown.apply($options, arguments);
|
|
1232
|
-
})
|
|
1233
|
-
}, _objectSpread(_objectSpread({}, _ctx.panelProps), _ctx.ptm("panel"))), [createElementVNode("span", mergeProps({
|
|
1234
|
-
ref: "firstHiddenFocusableElementOnOverlay",
|
|
1235
|
-
role: "presentation",
|
|
1236
|
-
"aria-hidden": "true",
|
|
1237
|
-
"class": "p-hidden-accessible p-hidden-focusable",
|
|
1238
|
-
tabindex: 0,
|
|
1239
|
-
onFocus: _cache[7] || (_cache[7] = function() {
|
|
1240
|
-
return $options.onFirstHiddenFocus && $options.onFirstHiddenFocus.apply($options, arguments);
|
|
1241
|
-
})
|
|
1242
|
-
}, _ctx.ptm("hiddenFirstFocusableEl"), {
|
|
1243
|
-
"data-p-hidden-accessible": true,
|
|
1244
|
-
"data-p-hidden-focusable": true
|
|
1245
|
-
}), null, 16), renderSlot(_ctx.$slots, "header", {
|
|
1246
|
-
value: _ctx.modelValue,
|
|
1247
|
-
options: $options.visibleOptions
|
|
1248
|
-
}), _ctx.filter ? (openBlock(), createElementBlock("div", mergeProps({
|
|
1249
|
-
key: 0,
|
|
1250
|
-
"class": _ctx.cx("header")
|
|
1251
|
-
}, _ctx.ptm("header")), [createElementVNode("div", mergeProps({
|
|
1252
|
-
"class": _ctx.cx("filterContainer")
|
|
1253
|
-
}, _ctx.ptm("filterContainer")), [createElementVNode("input", mergeProps({
|
|
1254
|
-
ref: "filterInput",
|
|
1255
|
-
type: "text",
|
|
1256
|
-
value: $data.filterValue,
|
|
1257
|
-
onVnodeMounted: _cache[8] || (_cache[8] = function() {
|
|
1258
|
-
return $options.onFilterUpdated && $options.onFilterUpdated.apply($options, arguments);
|
|
1259
|
-
}),
|
|
1260
|
-
onVnodeUpdated: _cache[9] || (_cache[9] = function() {
|
|
1261
|
-
return $options.onFilterUpdated && $options.onFilterUpdated.apply($options, arguments);
|
|
1262
|
-
}),
|
|
1263
|
-
"class": _ctx.cx("filterInput"),
|
|
1264
|
-
placeholder: _ctx.filterPlaceholder,
|
|
1265
|
-
role: "searchbox",
|
|
1266
|
-
autocomplete: "off",
|
|
1267
|
-
"aria-owns": $data.id + "_list",
|
|
1268
|
-
"aria-activedescendant": $options.focusedOptionId,
|
|
1269
|
-
onKeydown: _cache[10] || (_cache[10] = function() {
|
|
1270
|
-
return $options.onFilterKeyDown && $options.onFilterKeyDown.apply($options, arguments);
|
|
1271
|
-
}),
|
|
1272
|
-
onBlur: _cache[11] || (_cache[11] = function() {
|
|
1273
|
-
return $options.onFilterBlur && $options.onFilterBlur.apply($options, arguments);
|
|
1274
|
-
}),
|
|
1275
|
-
onInput: _cache[12] || (_cache[12] = function() {
|
|
1276
|
-
return $options.onFilterChange && $options.onFilterChange.apply($options, arguments);
|
|
1277
|
-
})
|
|
1278
|
-
}, _objectSpread(_objectSpread({}, _ctx.filterInputProps), _ctx.ptm("filterInput"))), null, 16, _hoisted_4), renderSlot(_ctx.$slots, "filtericon", {
|
|
1279
|
-
"class": normalizeClass(_ctx.cx("filterIcon"))
|
|
1280
|
-
}, function() {
|
|
1281
|
-
return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.filterIcon ? "span" : "SearchIcon"), mergeProps({
|
|
1282
|
-
"class": [_ctx.cx("filterIcon"), _ctx.filterIcon]
|
|
1283
|
-
}, _ctx.ptm("filterIcon")), null, 16, ["class"]))];
|
|
1284
|
-
})], 16), createElementVNode("span", mergeProps({
|
|
1285
|
-
role: "status",
|
|
1286
|
-
"aria-live": "polite",
|
|
1287
|
-
"class": "p-hidden-accessible"
|
|
1288
|
-
}, _ctx.ptm("hiddenFilterResult"), {
|
|
1289
|
-
"data-p-hidden-accessible": true
|
|
1290
|
-
}), toDisplayString($options.filterResultMessageText), 17)], 16)) : createCommentVNode("", true), createElementVNode("div", mergeProps({
|
|
1291
|
-
"class": _ctx.cx("wrapper"),
|
|
1292
|
-
style: {
|
|
1293
|
-
"max-height": $options.virtualScrollerDisabled ? _ctx.scrollHeight : ""
|
|
1294
|
-
}
|
|
1295
|
-
}, _ctx.ptm("wrapper")), [createVNode(_component_VirtualScroller, mergeProps({
|
|
1296
|
-
ref: $options.virtualScrollerRef
|
|
1297
|
-
}, _ctx.virtualScrollerOptions, {
|
|
1298
|
-
items: $options.visibleOptions,
|
|
1299
|
-
style: {
|
|
1300
|
-
height: _ctx.scrollHeight
|
|
1301
|
-
},
|
|
1302
|
-
tabindex: -1,
|
|
1303
|
-
disabled: $options.virtualScrollerDisabled,
|
|
1304
|
-
pt: _ctx.ptm("virtualScroller")
|
|
1305
|
-
}), createSlots({
|
|
1306
|
-
content: withCtx(function(_ref) {
|
|
1307
|
-
var styleClass = _ref.styleClass, contentRef = _ref.contentRef, items = _ref.items, getItemOptions = _ref.getItemOptions, contentStyle = _ref.contentStyle, itemSize = _ref.itemSize;
|
|
1308
|
-
return [createElementVNode("ul", mergeProps({
|
|
1309
|
-
ref: function ref(el) {
|
|
1310
|
-
return $options.listRef(el, contentRef);
|
|
1311
|
-
},
|
|
1312
|
-
id: $data.id + "_list",
|
|
1313
|
-
"class": [_ctx.cx("list"), styleClass],
|
|
1314
|
-
style: contentStyle,
|
|
1315
|
-
role: "listbox",
|
|
1316
|
-
"aria-label": $options.listAriaLabel
|
|
1317
|
-
}, _ctx.ptm("list")), [(openBlock(true), createElementBlock(Fragment, null, renderList(items, function(option, i) {
|
|
1318
|
-
return openBlock(), createElementBlock(Fragment, {
|
|
1319
|
-
key: $options.getOptionRenderKey(option, $options.getOptionIndex(i, getItemOptions))
|
|
1320
|
-
}, [$options.isOptionGroup(option) ? (openBlock(), createElementBlock("li", mergeProps({
|
|
1321
|
-
key: 0,
|
|
1322
|
-
id: $data.id + "_" + $options.getOptionIndex(i, getItemOptions),
|
|
1323
|
-
style: {
|
|
1324
|
-
height: itemSize ? itemSize + "px" : void 0
|
|
1325
|
-
},
|
|
1326
|
-
"class": _ctx.cx("itemGroup"),
|
|
1327
|
-
role: "option"
|
|
1328
|
-
}, _ctx.ptm("itemGroup")), [renderSlot(_ctx.$slots, "optiongroup", {
|
|
1329
|
-
option: option.optionGroup,
|
|
1330
|
-
index: $options.getOptionIndex(i, getItemOptions)
|
|
1331
|
-
}, function() {
|
|
1332
|
-
return [createElementVNode("span", mergeProps({
|
|
1333
|
-
"class": _ctx.cx("itemGroupLabel")
|
|
1334
|
-
}, _ctx.ptm("itemGroupLabel")), toDisplayString($options.getOptionGroupLabel(option.optionGroup)), 17)];
|
|
1335
|
-
})], 16, _hoisted_6)) : withDirectives((openBlock(), createElementBlock("li", mergeProps({
|
|
1336
|
-
key: 1,
|
|
1337
|
-
id: $data.id + "_" + $options.getOptionIndex(i, getItemOptions),
|
|
1338
|
-
"class": _ctx.cx("item", {
|
|
1339
|
-
option,
|
|
1340
|
-
focusedOption: $options.getOptionIndex(i, getItemOptions)
|
|
1341
|
-
}),
|
|
1342
|
-
style: {
|
|
1343
|
-
height: itemSize ? itemSize + "px" : void 0
|
|
1344
|
-
},
|
|
1345
|
-
role: "option",
|
|
1346
|
-
"aria-label": $options.getOptionLabel(option),
|
|
1347
|
-
"aria-selected": $options.isSelected(option),
|
|
1348
|
-
"aria-disabled": $options.isOptionDisabled(option),
|
|
1349
|
-
"aria-setsize": $options.ariaSetSize,
|
|
1350
|
-
"aria-posinset": $options.getAriaPosInset($options.getOptionIndex(i, getItemOptions)),
|
|
1351
|
-
onClick: function onClick($event) {
|
|
1352
|
-
return $options.onOptionSelect($event, option);
|
|
1353
|
-
},
|
|
1354
|
-
onMousemove: function onMousemove($event) {
|
|
1355
|
-
return $options.onOptionMouseMove($event, $options.getOptionIndex(i, getItemOptions));
|
|
1356
|
-
},
|
|
1357
|
-
"data-p-highlight": $options.isSelected(option),
|
|
1358
|
-
"data-p-focused": $data.focusedOptionIndex === $options.getOptionIndex(i, getItemOptions),
|
|
1359
|
-
"data-p-disabled": $options.isOptionDisabled(option)
|
|
1360
|
-
}, $options.getPTItemOptions(option, getItemOptions, i, "item")), [_ctx.checkmark ? (openBlock(), createElementBlock(Fragment, {
|
|
1361
|
-
key: 0
|
|
1362
|
-
}, [$options.isSelected(option) ? (openBlock(), createBlock(_component_CheckIcon, mergeProps({
|
|
1363
|
-
key: 0,
|
|
1364
|
-
"class": _ctx.cx("checkIcon")
|
|
1365
|
-
}, _ctx.ptm("checkIcon")), null, 16, ["class"])) : (openBlock(), createBlock(_component_BlankIcon, mergeProps({
|
|
1366
|
-
key: 1,
|
|
1367
|
-
"class": _ctx.cx("blankIcon")
|
|
1368
|
-
}, _ctx.ptm("blankIcon")), null, 16, ["class"]))], 64)) : createCommentVNode("", true), renderSlot(_ctx.$slots, "option", {
|
|
1369
|
-
option,
|
|
1370
|
-
index: $options.getOptionIndex(i, getItemOptions)
|
|
1371
|
-
}, function() {
|
|
1372
|
-
return [createElementVNode("span", mergeProps({
|
|
1373
|
-
"class": _ctx.cx("itemLabel")
|
|
1374
|
-
}, _ctx.ptm("itemLabel")), toDisplayString($options.getOptionLabel(option)), 17)];
|
|
1375
|
-
})], 16, _hoisted_7)), [[_directive_ripple]])], 64);
|
|
1376
|
-
}), 128)), $data.filterValue && (!items || items && items.length === 0) ? (openBlock(), createElementBlock("li", mergeProps({
|
|
1377
|
-
key: 0,
|
|
1378
|
-
"class": _ctx.cx("emptyMessage"),
|
|
1379
|
-
role: "option"
|
|
1380
|
-
}, _ctx.ptm("emptyMessage"), {
|
|
1381
|
-
"data-p-hidden-accessible": true
|
|
1382
|
-
}), [renderSlot(_ctx.$slots, "emptyfilter", {}, function() {
|
|
1383
|
-
return [createTextVNode(toDisplayString($options.emptyFilterMessageText), 1)];
|
|
1384
|
-
})], 16)) : !_ctx.options || _ctx.options && _ctx.options.length === 0 ? (openBlock(), createElementBlock("li", mergeProps({
|
|
1385
|
-
key: 1,
|
|
1386
|
-
"class": _ctx.cx("emptyMessage"),
|
|
1387
|
-
role: "option"
|
|
1388
|
-
}, _ctx.ptm("emptyMessage"), {
|
|
1389
|
-
"data-p-hidden-accessible": true
|
|
1390
|
-
}), [renderSlot(_ctx.$slots, "empty", {}, function() {
|
|
1391
|
-
return [createTextVNode(toDisplayString($options.emptyMessageText), 1)];
|
|
1392
|
-
})], 16)) : createCommentVNode("", true)], 16, _hoisted_5)];
|
|
1393
|
-
}),
|
|
1394
|
-
_: 2
|
|
1395
|
-
}, [_ctx.$slots.loader ? {
|
|
1396
|
-
name: "loader",
|
|
1397
|
-
fn: withCtx(function(_ref2) {
|
|
1398
|
-
var options2 = _ref2.options;
|
|
1399
|
-
return [renderSlot(_ctx.$slots, "loader", {
|
|
1400
|
-
options: options2
|
|
1401
|
-
})];
|
|
1402
|
-
}),
|
|
1403
|
-
key: "0"
|
|
1404
|
-
} : void 0]), 1040, ["items", "style", "disabled", "pt"])], 16), renderSlot(_ctx.$slots, "footer", {
|
|
1405
|
-
value: _ctx.modelValue,
|
|
1406
|
-
options: $options.visibleOptions
|
|
1407
|
-
}), !_ctx.options || _ctx.options && _ctx.options.length === 0 ? (openBlock(), createElementBlock("span", mergeProps({
|
|
1408
|
-
key: 1,
|
|
1409
|
-
role: "status",
|
|
1410
|
-
"aria-live": "polite",
|
|
1411
|
-
"class": "p-hidden-accessible"
|
|
1412
|
-
}, _ctx.ptm("hiddenEmptyMessage"), {
|
|
1413
|
-
"data-p-hidden-accessible": true
|
|
1414
|
-
}), toDisplayString($options.emptyMessageText), 17)) : createCommentVNode("", true), createElementVNode("span", mergeProps({
|
|
1415
|
-
role: "status",
|
|
1416
|
-
"aria-live": "polite",
|
|
1417
|
-
"class": "p-hidden-accessible"
|
|
1418
|
-
}, _ctx.ptm("hiddenSelectedMessage"), {
|
|
1419
|
-
"data-p-hidden-accessible": true
|
|
1420
|
-
}), toDisplayString($options.selectedMessageText), 17), createElementVNode("span", mergeProps({
|
|
1421
|
-
ref: "lastHiddenFocusableElementOnOverlay",
|
|
1422
|
-
role: "presentation",
|
|
1423
|
-
"aria-hidden": "true",
|
|
1424
|
-
"class": "p-hidden-accessible p-hidden-focusable",
|
|
1425
|
-
tabindex: 0,
|
|
1426
|
-
onFocus: _cache[13] || (_cache[13] = function() {
|
|
1427
|
-
return $options.onLastHiddenFocus && $options.onLastHiddenFocus.apply($options, arguments);
|
|
1428
|
-
})
|
|
1429
|
-
}, _ctx.ptm("hiddenLastFocusableEl"), {
|
|
1430
|
-
"data-p-hidden-accessible": true,
|
|
1431
|
-
"data-p-hidden-focusable": true
|
|
1432
|
-
}), null, 16)], 16)) : createCommentVNode("", true)];
|
|
1433
|
-
}),
|
|
1434
|
-
_: 3
|
|
1435
|
-
}, 16, ["onEnter", "onAfterEnter", "onLeave", "onAfterLeave"])];
|
|
1436
|
-
}),
|
|
1437
|
-
_: 3
|
|
1438
|
-
}, 8, ["appendTo"])], 16, _hoisted_1);
|
|
1439
|
-
}
|
|
1440
|
-
script.render = render;
|
|
1441
|
-
export {
|
|
1442
|
-
script as s
|
|
1443
|
-
};
|